• osm0sis's avatar
    scripts: fix find_block false positives /dev/log/kernel and /dev/BOOT · 2aede977
    osm0sis authored
    - 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
    2aede977
Name
Last commit
Last update
..
addon.d.sh Loading commit data...
boot_patch.sh Loading commit data...
emulator.sh Loading commit data...
flash_script.sh Loading commit data...
magisk_uninstaller.sh Loading commit data...
module_installer.sh Loading commit data...
update_binary.sh Loading commit data...
util_functions.sh Loading commit data...