Open ildar opened 8 years ago
The su binary alone is useless. I will probably provide a link to http://superuser.phh.me/superuser.zip in app for that.
Why not have the app download that, reboot to recovery and flash
@xenithorb I don't think you can reboot and flash without a superuser
Ok, I thought I remembered another app doing it that way.
Perhaps then download and present clear instructions to the user that they need to install from a custom recovery the superuser.zip file in a known location like /sdcard/superuser/superuser.zip?
An app can indeed ask TWRP to apply an update.zip. Though not all users will be using an alternative recovery.
It's so great it reached the F-Droid repo. (https://github.com/phhusson/Superuser/issues/3) It's so sad that it behaves so weirdly:
su
binary should be updated. The only option is through the RecoveryRecovery
produces the error. A user is confused. He has no idea where to get the newsu
binary. Actually although I'm tracing the whole discussion here, but neither I know where I can get the su binary. Please put the su binary somewhere and make the app open that link for downloading. Thanks!