neutronscott / flip2

Utilities for rooting and sideloading APKs on TCL Flip 2
The Unlicense
33 stars 1 forks source link

Small suggestions to show progress #2

Closed lionscribe closed 1 year ago

lionscribe commented 1 year ago

You can add the -p option to the push, so that it shows progress adb push -p super.bin /dev/block/mmcblk0p41

Also, for correct Security (not sure if needed), it would be correct to reset the permissions when done, as follows; adb shell su -c chmod a-rw /dev/block/mmcblk0p41

Thank you for all the work. I wrote for myself a simple batch file using your commands, and it literally takes me minutes to flash.

lgexalter commented 1 year ago

You can add the -p option to the push, so that it shows progress adb push -p super.bin /dev/block/mmcblk0p41

Also, for correct Security (not sure if needed), it would be correct to reset the permissions when done, as follows; adb shell su -c chmod a-rw /dev/block/mmcblk0p41

Thank you for all the work. I wrote for myself a simple batch file using your commands, and it literally takes me minutes to flash. @lionscribe Are you sure you should be removing rw for all users? Wouldn't that cause super not to be read at all and not boot? (That is if setting permissions in recovery is at all permanent. If it isn't then no need to change back permissions regardless....)

neutronscott commented 1 year ago

I edited the wiki to add -p but the chmod doesn't persist and I'd think you'd reboot after that.