Stop AOSP "make otapackage" ZIP file from overwriting TWRP with stock recovery?

139 views
Skip to first unread message

Nate Robbins

unread,
May 5, 2017, 8:07:10 PM5/5/17
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
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 
Reply all
Reply to author
Forward
0 new messages