Is there a way to get termux to process Fastboot cmds or flash a patched_boot.img with out a PC?
-
fastboot cmd is usually Fastboot flash boot --slot=all magisk_patched-24314_GyPru.img so what would i type in termux– Teflon JohnCommented Jun 2, 2022 at 10:00
-
you realize fastboot is reading file from PC though? type in termux 'su; ls -d /dev/block/*/*/*/by-name/boot*'– alecxsCommented Jun 2, 2022 at 10:12
-
forum.xda-developers.com/t/4356231– alecxsCommented Jun 2, 2022 at 10:32
-
Community bump prevention: this question was closed because the question seems to have been abandoned (OP hasn't visited the site after posting the question, and no answers have score above 0). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.– Andrew T. ♦Commented Jun 20 at 13:41
Add a comment
|
1 Answer
no, there is no way to unlock bootloader nor root your device from termux (except for nexus devices). you can however run fastboot commands from another rooted device with Magisk module, or flash partitions with dd
if termux is running on already rooted device
$ su
# ls -d /dev/block/*/*/*/by-name/boot*
# dd if=/storage/0815-4711/patched_boot.img of=/dev/block/platform/11120000.ufs/by-name/boot_a
# dd if=/storage/0815-4711/patched_boot.img of=/dev/block/platform/11120000.ufs/by-name/boot_b
-
Bootloader is Unlocked, PC crashed and must flashed patched boot.img Commented Jun 2, 2022 at 14:09