Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,541 Members 54,251 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Nexus 10 back to modified stock?

Tip us?
 
gratefuldroid
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Dec 2013
Question [Q] Nexus 10 back to modified stock?

N10, rooted (supersu), unlocked bootloader, TWRP Touch recovery v2.6.3.1, Omnirom 4.4.2, Franco Kernel R16, ART.

I been flashing a lot, tried many roms... Now looking to go back to stock, but still want to use TWRP, and FK. I'm torn between using xposed (for AppOps and other cherrypicked mods) and Dalvik, or no xposed and ART...

My Question is, what is the best way to get back to stock 4.4.2 KOT49H, while keeping root and custom recovery. Do I need to sideload the factory image, re-root, and re-install custom recovery? Ideally I'm looking for a zip I can just flash along with supersu while keeping the custom recovery. I've looked for a zip file for pure aosp, but all I am finding is the sideload files from google's git, or "pure" AOSP roms with mods....

Also, I feel silly asking this because it seems pretty basic and I probably should already know at this point... The bootloader needs to stay unlocked once a custom recovery is installed, or should I be re-locking? I have been leaving it unlocked, for fear of bricking (aware bricking is not a huge deal with Nexus) but as I understand it, there are security concerns leaving the BL unlocked. Or am I way off base here?

TIA
 
demkantor
Old
#2  
demkantor's Avatar
Recognized Contributor
Thanks Meter 2,764
Posts: 5,788
Join Date: Nov 2011
Location: mpls
Not much for security concerns, at least not for me. I personally always keep bootloader unlocked
As for keeping things similar but going back to stock +rooted, I would do this
Download factory image (just Google search: android factory image and grab appropriate one)
Unpack all on pc
Then boot to recovery, make a nandroid and then move all wanted files to PC (next steps involve some data loss)
Boot to bootloader
fastboot erase system -w
fastboot erase boot
fastboot flash system system.img
fastboot flash boot boot.img
Now boot to recovery and should have an option to flash su, if not sideload a su.zip here
Now reboot, you will be stock kernel and ROM, and will be rooted and have same recovery as before
Best of luck!


Sent from my Nexus 4 using XDA Premium 4 mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes