Stop AOSP "make otapackage" ZIP file from overwriting TWRP with stock recovery?
171 views
Skip to first unread message
Nate Robbins
unread,
May 5, 2017, 8:07:10 PM5/5/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
Hi! When I build AOSP for my Nexus5X, I want a flashable ZIP file, so I run "make otapackage -j6". However, when I flash this, it overwrites my custom recovery (TWRP) with the stock recovery. How can I prevent this from happening?
Thanks,
Nate.
Ashutosh Sathe
unread,
May 31, 2017, 11:12:31 AM5/31/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
Before flashing the zip in twrp .. try to pull the recovery.img from the zip out of the zip .In simple words, make sure that flashable zip does not contain recovery.img . Hope this helps