I've just got my N4 and am thinking about rooting it to allow me to install cerebus on the system partition, when a new version of android comes out would I simply be able to delete the cerebus apk and update the software? Also once the boot loader is unlocked can I re-root (in case i loose root with the update) without loosing any data?
Cheers
Sent from my Nexus 4 using xda app-developers app
Unlock the boot loader before you do anything because it will wipe all of your data. Then root it. As long as you don't install a custom recovery, I believe that you can still get the ota updates.
Edit..Rooting does not wipe data.
Sent from my Nexus 4 using xda premium
Sweet, thanks very much.
Sent from my Nexus 4 using xda app-developers app
lyall29 said:
Unlock the boot loader before you do anything because it will wipe all of your data. Then root it. As long as you don't install a custom recovery, I believe that you can still get the ota updates.
Edit..Rooting does not wipe data.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
if i remember correctly, using a custom recovery stops OTA updates
but you can always fastboot flash a new google stock image when an update is available : https://developers.google.com/android/nexus/images
(you have to root again afterwards)
Related
as topic states....i want to flash store rom to make sure everything is deleted since settings factory reset did not do so. however, i want the bootloader to stay unlock and phone to retain root. thanks in advance!:victory:
Boot loader will stay unlocked, root will be deleted if you're wiping /system.
Sent from my A100 using xda app-developers app
There is an app that will save your root.. It is voodoo something.. Will find it and tell you..
Voodoo ota root protector - search the play store.
Sent from my Nexus 4 using xda app-developers app
If you flash factory image via fast boot you will lose root and custom kernel. Boot loader will stay open until you lock it again using toolkit or from factory image command via fast boot.
Sent from my Galaxy Nexus using xda premium
pdkenji said:
If you flash factory image via fast boot you will lose root and custom kernel. Boot loader will stay open until you lock it again using toolkit or from factory image command via fast boot.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
don't use toolkit. the command to relock bootloader is,
fastboot oem lock
zephiK said:
don't use toolkit. the command to relock bootloader is,
fastboot oem lock
Click to expand...
Click to collapse
Don't bother locking your bootloader. You'll just have to wipe everything the next time you go to root the phone or flash anything
hoponpop said:
Don't bother locking your bootloader. You'll just have to wipe everything the next time you go to root the phone or flash anything
Click to expand...
Click to collapse
Pay attention. He was responding to the post he quoted and telling that member the proper way to lock a bootloader.
I've seen some people say its a good idea to update it and others say its not needed, and doesn't offer any improvements. I'm currently stock, rooted, and unlocked and trying to decide if I should revert to stock, take the ota and have everything update or just flash one of the 4.3 stock zip. I saw you can fastboot the updated bootloader but I have like no experience with fastboot and wouldn't want to screw anything up.
So its either revert to stock and accept the ota and gain the updated bootloader, or just leave the old one there and flash 4.3. I could try fastboot but weary of that method.
Sent from my SCH-I535 using xda app-developers app
Do not be afraid of using fastboot so long as the commands you typed are correct.
Leonhan said:
Do not be afraid of using fastboot so long as the commands you typed are correct.
Click to expand...
Click to collapse
Okay thanks...I'm actually in the middle of flashing clean ROM. First ROM on my nexus. I can still go back later and update the bootloader right?
Sent from my SCH-I535 using xda app-developers app
Great. So I flashed clean ROM 4, reboot system and now it keeps automatically booting up into recovery. It shows thr google splash screen, flashes and it shows again. Then boots into recovery. What's going on here?
Sent from my SCH-I535 using xda app-developers app
Hi,
My Nexus 7 3G 2012 was rooted, stock rom 4.3 but I've deleted some APK in the system partition. Now my Nexus 7 received an OTA update for the KitKat. What is the quickest way to safely update to the 4.4 while maintain all of the installed apps and userdata?
Thanks
1. Download the official KitKat image files from Google
2. Extract system.ing and boot.img from it
3. boot into bootloader
4. fastboot flash system system.img
5. fastboot flash boot boot.img
6. reboot your system
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
1. Download the official KitKat image files from Google
2. Extract system.ing and boot.img from it
3. boot into bootloader
4. fastboot flash system system.img
5. fastboot flash boot boot.img
6. reboot your system
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Tks for your reply.
So all data and installed apps will be inact?
Sent from my Nexus 7 using Tapatalk
Yes, I am doing it always in that way, because I have a rooted system and normally there are often problems with applying the OTA. Flashing boot and system will keep your data and apps which are located on the data partition. If you want to be really sure to have a clean system, I would also flash a custom recovery, boot directly into recovery and wipe dalvik-cache, but this is not really needed.
Sent from my Nexus 7 using xda app-developers app
This is interesting and really new to me.
Could you please precise, which tools you use? A little how-to would be very helpfull to get along with the bunch of possibilities coming with TWRP and/or wugfresh´s toolkit.
I am using no tools / toolkits as I want to have full control on the flashing process. Probably you might want to have a look at my blog. Here I described the update process already some time ago (not to go to 4.4, but the steps and the mechanism are the same).
Sent from my Nexus 7 using xda app-developers app
Ok tks for your response.
However my friend confirmed that he updated successfully to 4.4 via OTA while rooted.
Sent from my Nexus 7 using Tapatalk
I have used this method every update. Only takes about 5 minutes.
It amazes me all the convoluted methods and bricked devices that you see, when if people would do a little research and had a little understanding of what they are doing it would save them a lot of grief.
All I can say is thanks to the person who wrote this simple how-to.
Now I will get off my soap box.
Hi there, I'm currently rooted with 4.2.2 and I want to upgrade to the latest which I believe is 4.4.2, after a brief check I don't see the toolkits supporting this so can someone give me a clue on what to do? Is it upgrade to 4.3 then 4.4 and finally 4.4.2 or can I just jump from my current to 4.4.2?
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
Hi there, I'm currently rooted with 4.2.2 and I want to upgrade to the latest which I believe is 4.4.2, after a brief check I don't see the toolkits supporting this so can someone give me a clue on what to do? Is it upgrade to 4.3 then 4.4 and finally 4.4.2 or can I just jump from my current to 4.4.2?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
If your on stock ROM and kernel and recovery just check for updates under about tablet system updates. If your running a custom ROM or kernel then you'll want to get to stock first. Also you can just download the factory image and adb flash it. Just search how to install 4.4,2 factory image with adb on nexus 10. There's plenty of guides.
Sent from my white LG Nexus 5
abdel12345 said:
If your on stock ROM and kernel and recovery just check for updates under about tablet system updates. If your running a custom ROM or kernel then you'll want to get to stock first. Also you can just download the factory image and adb flash it. Just search how to install 4.4,2 factory image with adb on nexus 10. There's plenty of guides.
Sent from my white LG Nexus 5
Click to expand...
Click to collapse
Adb? I think you mean fastboot ?
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
Adb? I think you mean fastboot ?
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Yes fastboot my bad. I meant use adb commands to flash like fastboot flash ...
My brain was dead from stuyding lol
Sent from my white LG Nexus 5
I want to remain rooted though, also I'm trying to use the system update but it says restarting in 10, counts down then doesn't restart.
Since I want to remain rooted but just upgrade to 4.4.2 what can I do? I can't find an appropriate video.
Sent from my Nexus 10 using xda app-developers app
Well attaining root again only takes about 1 minute....
Sent from my Nexus 10 using XDA Premium 4 mobile app
TomAshcroft said:
I want to remain rooted though, also I'm trying to use the system update but it says restarting in 10, counts down then doesn't restart.
Since I want to remain rooted but just upgrade to 4.4.2 what can I do? I can't find an appropriate video.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Just update and root again. It takes a minute using one of the toolkits. Or you can just flash the super su zip which is even quicker if you have a custom recovery. Either way it's easy and quick
Sent from my white LG Nexus 5
I can't use system updates, it won't restart after counting down from 10 it just hangs there. I also don't think the toolkits have 4.4.2, I'm pretty sure I downloaded the right files, I just don't know the commands to use in CMD.
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
I can't use system updates, it won't restart after counting down from 10 it just hangs there. I also don't think the toolkits have 4.4.2, I'm pretty sure I downloaded the right files, I just don't know the commands to use in CMD.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Wugs toolkit has it.
Extract it and put it in the correct folder with Fastboot capabilities and use the commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img (this'll give you stock recovery)
fastboot flash userdata userdata.img (only do this one if you want to completely reset and delete everything on your internal SD card. Don't do this step of you want to keep your files like pictures and music on SD card)
Sent from my white LG Nexus 5
Okay, going to try Wugs. Ah, I'm mistaken then, I just have the factory image and update superSU zip files.
See this is what I don't get, it asks me my build, which is 4.2.2. And then asks to download the image, but I want 4.4.2 so do o just change it to that?
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
Okay, going to try Wugs. Ah, I'm mistaken then, I just have the factory image and update superSU zip files.
See this is what I don't get, it asks me my build, which is 4.2.2. And then asks to download the image, but I want 4.4.2 so do o just change it to that?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Yeah. Choose 4.4.2. Asking your build is just so when you flash kernnel and recoveries it flashes a compatible one. But since your just flashing stock images. Just do that. But again remember it'll wipe everything so backup your SD card to a computer first
Sent from my white LG Nexus 5
Okay trying this now, which option would I choose as my boot loader is already unlocked and I'm already rooted
Sent from my Nexus 10 using xda app-developers app
I managed to get to the point where it boots TWRP and then just had "waiting for device"
Edit: got to this same point 3 times now, tried rebooting but I'm still on 4.2.2, could you tell me what files I need to go ahead and flash it using cmd?
Sent from my Nexus 10 using xda app-developers app
If you use Wigs toolkit you can flash the new update if you do a complete restore with in root. Then you can re root. Just go to flash stock + unroot then click the images drop down down box. Pick the mantaray-manta : android 4.4.4- build KOT49H then click the button that shows automatically download. After install re root and restore. Backup everything first it makes a quicker restore.
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
I managed to get to the point where it boots TWRP and then just had "waiting for device"
Edit: got to this same point 3 times now, tried rebooting but I'm still on 4.2.2, could you tell me what files I need to go ahead and flash it using cmd?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Gimme a sec ill type this up for ya, I just want to make sure its good and detailed.
Sent from my Nexus 10 using XDA Premium 4 mobile app
---------- Post added at 06:33 AM ---------- Previous post was at 05:43 AM ----------
First, go download the image:
https://developers.google.com/android/nexus/images
While that is downloading, make a new folder on the desktop and name it FLASH, also for extracting the file once it is downloaded I reccomend total commander:
http://www.ghisler.com/download.htm
Also head over to here to download adb and fastboot without the android sdk:
https://docs.google.com/file/d/0B1MWexkzYR_bV2VlaF9UcHVBU00/edit?usp=docslist_api
Once the zip file with adb and fastboot is downloaded extract the files into the FLASH folder. Now that we've done all this the image should be downloaded, extract the contents to the FLASH folder. Now open up command prompt. In command prompt type the following(excluding the quotation marks):
"cd C:\Users\*username*\Desktop\FLASH"
*username* Is the name of the user. Now turn off your device then boot your device into fastboot mode(hold the power+volume up+volume down buttons) once your device is in fastboot mode connect it to your computer. In command prompt type(again excluding quotations):
"fastboot devices"
After that you should see your nexus device in fastboot mode, if you have no important data and don't care about losing everything(me) you can just type this in command prompt(no quotations):
"flash-all"
But if that does not work or you do have important things, type:
"fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img”
Sent from my Nexus 10 using XDA Premium 4 mobile app
Hi guys thanks for all the help, I decided to go with Wugs toolkit, unrooted, then re rooted with 4.4.2. All worked fine just need to restore my data now
Sent from my Nexus 10 using xda app-developers app
Been looking through the root guide and of course will be unlocking and rooting. Should I first unlock, flash TWRP, load stock. Set up stock with my accounts and settings. Reboot to TWRP. Make NAND back up. Then root and then flash a rom? I'm still confused about the library IMG file. Will I need to do anything with it assuming the phone I receive was manufactured within the last 2 months?
Any other tips/suggestions would be much appreciated.
Sent from my LG-D851 using XDA Free mobile app
If you plan on unlocking bootloader, do that first. Device has to be wiped clean when doing so.
update to the March MHC19I update before modifying the system partition. It'll save you the headache of doing it via fastboot and re-rooting.
sirdizzle415 said:
update to the March MHC19I update before modifying the system partition. It'll save you the headache of doing it via fastboot and re-rooting.
Click to expand...
Click to collapse
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Don't forget to flash SuperSU
Sent from my Dope 6P using Tapatalk
Unlock Bootloader, Ota or flash by other means, then root and flash twrp
Sent from my Nexus 6P using Tapatalk
Starzboy77 said:
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
I'll give it a try. Comments from anyone?
Unlock bootloader then upgrade to latest FW by OTA (or vice versa?), then flash TWRP and nandroid. Now root.
Great. I hope the OTA will pop up as soon as possible or is there a way to manually search for updates through system settings? By the way, thank you everyone.
Sent from my LG-D851 using XDA Free mobile app
Starzboy77 said:
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
Unlock your bootloader, then take the OTA(s) to the latest build (MHC19I). You can't take an OTA with TWRP installed so don't flash that first. If for some reason the OTA doesn't appear you can just flash the factory images for the latest build in order to update. Once you're fully up to date you can flash TWRP and make a nandroid backup. Then just flash whatever ROM you want to use. Keep in mind that after flashing the ROM + gapps you also need to flash the appropriate vendor image to suit the build of the ROM you're flashing. You can flash it with fastboot, or use the "install image" option in bottom-right corner of the install menu in TWRP (TWRP can flash some images now).
I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928