Commit Graph

5903 Commits

Author SHA1 Message Date
topjohnwu 6066b5cf86 Release Magisk v25.2 2022-07-20 20:13:26 -07:00
topjohnwu 5cdf95a4d0 Update v25.2 docs 2022-07-20 20:09:02 -07:00
topjohnwu 910a36fdc1 Make sepolicy.rules relative if possible 2022-07-20 19:28:38 -07:00
topjohnwu 8331206acb Clean only java projects when clean java 2022-07-20 11:20:03 -07:00
canyie 8423dc8d63 Later check persistent_properties
`daemon_entry` calls `getprop` which initializes sysprop impl and checks whether we need to load persistent property file. On FDE devices, magiskd starts before /data is actually decrypted, and the check always fails. Thus `persist_getprop("persist.sys.safemode")` will always fail.
2022-07-20 09:58:20 -07:00
Yann 6077c989a7 app: fix typo 2022-07-20 03:34:48 -07:00
topjohnwu c97d1044fa Release new canary build 2022-07-19 17:44:19 -07:00
Hen_Ry f42c089b26 Fix 2022-07-18 13:34:14 -07:00
Andrew Gunnerson 1f8c063dc6 Fix booting into recovery with Android 13 GKI kernels
With Android 13 GKI kernels, the boot partition has no ramdisk, so
Magisk constructs one from scratch. In this scenario, there's no backup
init binary at /.backup/init. For normal boot, magiskinit will symlink
/init -> /system/bin/init if needed. This commit implements the same
for booting into recovery. Before, magiskinit would just exec itself
over and over again because it couldn't restore the backup init.

Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
2022-07-18 13:33:50 -07:00
Hen_Ry 4874520d65 Update german translation 2022-07-14 12:32:55 -07:00
Nguyen Hoang The Vi 5e53639969
Add Bengali translation 2022-07-14 12:32:33 -07:00
Grammatopoulos Apostolos 83ab0ca6cd Greek translation updated 2022-07-14 12:31:47 -07:00
topjohnwu 70fd03d5fc Rearchitect logging 2022-07-06 01:16:08 -07:00
topjohnwu 2e52875b50 Move all logging into Rust 2022-07-05 21:13:09 -07:00
topjohnwu fd9b990ad7 Update to ONDK r24.2 2022-07-05 01:34:48 -07:00
LONE DEVIL 69978a9442
Update russian translation 2022-07-01 15:16:44 -07:00
残页 d155da52ce
More friendly and clear error message 2022-07-01 15:15:54 -07:00
Weslley Almeida 9c5b131913 Update Brazilian translation 2022-07-01 15:15:07 -07:00
Syuugo 9d740cec1a
Partially fixed Japanese translation 2022-07-01 15:14:18 -07:00
vvb2060 c2978eb9c3 More log for get_manager 2022-07-01 15:13:38 -07:00
vvb2060 38abad1e44 Fix app state 2022-07-01 15:12:50 -07:00
topjohnwu b4863eb51b Setup logging infra in the Rust side 2022-07-01 04:54:00 -07:00
LoveSy 3817167ba1 Correct `ro.crypto.state` check
Fix #6042

Co-authored-by: vvb2060 <vvb2060@gmail.com>
2022-06-30 19:32:43 -07:00
topjohnwu d1a35dd2ba Fix cargo builds on Windows 2022-06-30 18:12:07 -07:00
topjohnwu 26116ac414 Setup preliminary rust infrastructure 2022-06-30 14:50:21 -07:00
topjohnwu 0b26882fce Build dynamic stub resource APK at runtime
Close #6013

Co-authored-by: vvb2060 <vvb2060@gmail.com>
2022-06-22 05:19:27 -07:00
Nicolás a2495fb5fb Update spanish translations 2022-06-22 04:08:52 -07:00
vvb2060 0beb3bf16a Make CI builds reproducible 2022-06-22 04:08:18 -07:00
vvb2060 b68658e974 Rebuild manifest 2022-06-22 04:06:22 -07:00
LoveSy 3ae7344747
Create `/dev` on stub cpio 2022-06-22 04:05:50 -07:00
topjohnwu 4eb71830b3 Release new canary build 2022-06-19 03:24:36 -07:00
topjohnwu 9183a0a6ea Update README 2022-06-19 03:06:14 -07:00
topjohnwu bb64ba0ef6 Release Magisk v25.1 2022-06-19 02:54:22 -07:00
topjohnwu d89a568897 Update v25.1 docs 2022-06-19 02:35:05 -07:00
topjohnwu 9fd1f41e8b Always relaunch process after package migration 2022-06-19 02:09:14 -07:00
孟武.尼德霍格.龍 c1ab348673
Improve Traditional Chinese strings
Co-authored-by: John Wu <topjohnwu@gmail.com>
2022-06-19 01:50:43 -07:00
canyie 00247c7901 Fix meizu non-SAR 2SI compatibility again
Meizu devices using 2SI won't switch root to /system and still on rootfs, and /init is the 1st stage's, which cannot handle the 2nd stage. So we have to manually execute /system/bin/init for the 2nd stage.
2022-06-19 01:22:18 -07:00
topjohnwu 3c75f474c6 Embed version info in prop format 2022-06-19 00:43:38 -07:00
topjohnwu db1f5b0397 Reduce files relying on flags.h 2022-06-19 00:43:38 -07:00
fadlyas07 db277c3e55 app: l10n: Update Indonesian translations
* Added new strings based on the recent source.
* Fixed some words based on Indonesian National Dictionary (KBBI).

Link: https://kbbi.kemdikbud.go.id
Signed-off-by: fadlyas07 <mhmmdfdlyas@gmail.com>
2022-06-18 10:43:25 -07:00
vvb2060 b9c93c66f6 Force app version not lower than daemon 2022-06-17 11:53:16 -07:00
vvb2060 a250e2b56c Set version comment in apk 2022-06-17 11:53:16 -07:00
残页 cd96454886
Fix finding recovery image on direct install
Fix #5972, fix #5673
2022-06-17 02:53:18 -07:00
topjohnwu 741b679306 Cleanup libbase 2022-06-17 02:36:04 -07:00
topjohnwu 90013e486d Use AtomicBoolean 2022-06-17 02:03:09 -07:00
LoveSy 4e2ecdb920
Fix env overflow
Fix #5989
2022-06-17 02:02:44 -07:00
topjohnwu 6e5df1f06b Abort when unsupported dtb is detected 2022-06-16 01:47:23 -07:00
topjohnwu 9469e79e3c Proper namespacing
The IDE will get confused when #include is in a namespace
2022-06-15 02:38:56 -07:00
topjohnwu db78c20161 Add dtb test command 2022-06-15 02:26:50 -07:00
topjohnwu 1699da1754 Update help message and make behavior consistent 2022-06-14 21:19:17 -07:00