osm0sis
6dd34aec47
scripts: refactor and major addon.d fixes
...
- remove redundant addon.d.sh script bits that were covered elsewhere ($TMPDIR in util_functions.sh, find_dtbo_image in patch_dtbo_image)
- refactor addon.d.sh and flash_script.sh for simplicity and readability, and put common flashing script in util_functions.sh (as patch_boot_image), which should greatly help avoid them getting out of sync going forward and fixes compressing ramdisk support and post-patch cleanup for addon.d
- add check_data to addon.d.sh since moving stock_boot* and stock_dtbo* backups depend on it and so weren't occuring with addon.d
- fix find_manager_apk with working fallback for recovery addon.d execution (where `magisk --sqlite` will not work for hidden Manager), Manager DynAPK hiding, and print a useful log warning if an APK can't be found
2019-11-02 00:27:56 -04:00
Chris Renshaw
1283590eeb
scripts: prepare addon.d for recovery addon.d-v2 support
...
- naturally there's no `su` in recovery
- major refactor for common actions and simplicity
2019-09-01 02:19:59 +08:00
topjohnwu
c5758b3f2d
Update scripts
2019-04-06 13:04:17 -04:00
topjohnwu
defbbdfe21
Update scripts
2019-02-24 02:11:11 -05:00
topjohnwu
96b93bd876
Add function to find manager APK
...
Close #673
2018-11-15 03:12:31 -05:00
topjohnwu
8664e9d19b
Update scripts
2018-08-28 22:03:12 -04:00
topjohnwu
a46c6252c6
Detect insufficient partition size
...
Close #388
2018-08-11 15:56:12 +08:00
topjohnwu
5c1886c8f5
Update scripts
2018-08-10 18:59:14 +08:00
topjohnwu
a63696836c
Proper addon.d-v2 support
2018-08-03 22:40:49 +08:00
topjohnwu
169c0fe4af
Stop use clashing names
2018-08-03 03:43:02 +08:00
topjohnwu
0ef026c610
Remove system root when running addon.d
2018-07-20 00:37:38 +08:00
topjohnwu
c3a6179a21
Update scripts
2018-07-05 17:29:13 +08:00
topjohnwu
4de51d93ef
Tweak info when installing
2018-07-04 23:46:16 +08:00
topjohnwu
d149af9628
Fix bootloop when upgrading from older Magisk
2018-07-01 14:58:31 +08:00
topjohnwu
14eebd582f
Source addon.d script from data
2018-06-21 11:54:21 +08:00
topjohnwu
9a8eeacee8
Fix output of addon.d, and add support for addon.d-v2
2018-06-21 10:53:49 +08:00
John Wu
c0ca99f4b4
Make sure APK exists before signing AVB 1.0
...
Check all possible APK locations before actually running the verification
2018-06-19 14:19:38 -07:00
XiNGRZ
196f15d240
Fix survival script for AVB 1.0 signed boot image
2018-06-19 14:19:38 -07:00
topjohnwu
e5c3183025
Update scripts
2018-01-01 16:46:28 +08:00
topjohnwu
8ca1e43533
Move all /data files into /data/adb
2017-12-16 04:42:16 +08:00
topjohnwu
912c188b53
Add dtbo.img patch support
2017-11-11 01:33:50 +08:00
topjohnwu
9cb1cf756f
Update scripts
2017-09-26 20:21:43 +08:00
topjohnwu
cb70eebb08
Update scripts
2017-07-31 03:03:52 +08:00
topjohnwu
a87ad35a50
Check Android version before actually doing anything
...
Close #233
2017-07-14 01:13:49 +08:00
topjohnwu
3d43c3c5bc
Update scripts
2017-07-10 00:17:34 +08:00
topjohnwu
bf42fce17e
Update boot patch method and scripts
2017-07-03 01:19:15 +08:00
topjohnwu
2a86bc8695
Update scripts
2017-06-24 23:39:24 +09:00
topjohnwu
9430ed66cd
Add addon.d survival script
2017-06-19 00:15:44 +08:00