Magisk/scripts
osm0sis 2aede97754 scripts: fix find_block false positives /dev/log/kernel and /dev/BOOT
- try /dev/block first with full depth to catch all platform/soc variations to the by-name directory, and the new dynamic partition /dev/block/mapper
- next try uevent for block devices as before
- lastly try /dev with maxdepth 1 (immediate directory) to find /dev/bootimg, /dev/recovery, etc. while avoiding /dev/log/kernel
- move bootimg higher in the list than boot so /dev/bootimg gets found first and avoids /dev/BOOT
- recovery_a/_b now also exists
- minor touch-ups for readability and consistency

Fixes #2720
2020-04-24 02:24:36 -07:00
..
addon.d.sh scripts: only show addon.d error once on failures 2020-04-02 20:54:56 -07:00
boot_patch.sh scripts: make remaining header/section dividers uniform 2020-03-21 04:32:20 -07:00
emulator.sh scripts: make remaining header/section dividers uniform 2020-03-21 04:32:20 -07:00
flash_script.sh scripts: ensure system is able to be mounted rw before attempting 2020-04-24 02:24:36 -07:00
magisk_uninstaller.sh fix Magisk install on ODROID-N2/C4 2020-04-19 02:51:05 -07:00
module_installer.sh scripts: add author name back to module install banner print 2020-04-24 02:24:36 -07:00
update_binary.sh Update scripts to use BusyBox standalone mode 2020-03-08 22:25:06 -07:00
util_functions.sh scripts: fix find_block false positives /dev/log/kernel and /dev/BOOT 2020-04-24 02:24:36 -07:00