-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for binary update with TWRP #217
base: master
Are you sure you want to change the base?
Conversation
/cache/recovery/command is AOSP's update mechanism, and is also what CM uses. TWRP doesn't support this? |
Well, seems like TWRP wants to have /cache/recovery/openrecoveryscript as described here: http://www.teamw.in/OpenRecoveryScript |
I wondered why TWRP doesn't support /cache/recovery/command when it's AOSP standard and after a quick search I found this line inside the TWRP repository. As I see this, I'd assume this should work but it does not for me. The command file is read here but only if argc contains elements.. But I don't know if it is somehow possible to start recovery with arguments.. Or am I missing something? |
That's just the regular AOSP code and it should work. Not sure why it is not working. Can you pull a log of recovery after it reboots? |
I found something interesting in the log:
and later
Obviously What's the purpose of using |
Any progress on this? I want to update, but i just cant.. (also using htc one with twrp) |
Workaround:As a workaround you could also try updating it through the app and after your phone rebooted to recovery without flashing the new version, you could manually flash '/cache/superuser.zip' |
Mmmmmmm |
When trying to update the su binary with a TeamWin Recovery installed, the phone rebooted into recovery but the binary was not updatet.
This fixes issue #216. The su binary is now also updated via TWRP.