Best way to update JB? - Nexus 7 Q&A, Help & Troubleshooting

I am currently unlocked (TWRP v2.4.4.0) and rooted running 4.1.2. I would to update to the latest version of JB. Is there a simply way to do that without having to unroot, relock, and return to factory specs. I am just really looking to be able to keep all my data and settings. I've installed the latest version of WugFresh NRT on my desktop. Thanks so much for any help that you can provide.

Download the deodexed 4.2.2 stock rom and flash it via recovery.
http://forum.xda-developers.com/showthread.php?t=2148337
Don't forget to download the bootloader on the second post of that thread. Flash it via recovery as well.
Sent from my Nexus 4 using Tapatalk 2

You must be using an HTC device if you have to relock which you have to do to get the OTA update you cannot flash it without relocking your bootloader. You would have to flash a custom 4.2.2 ROM to keep your phone unlocked and your phone allowing it to flash properly. Otherwise you must relock then flash the ota update then unlock and root again. You will have to wipe it and reset when you flash the custom rom. Just make a nandroid before you do anything.
Sent from my SGH-I747 using Tapatalk 2

AcquiredIntellect said:
You must be using an HTC device if you have to relock which you have to do to get the OTA update you cannot flash it without relocking your bootloader. You would have to flash a custom 4.2.2 ROM to keep your phone unlocked and your phone allowing it to flash properly. Otherwise you must relock then flash the ota update then unlock and root again. You will have to wipe it and reset when you flash the custom rom. Just make a nandroid before you do anything.
Sent from my SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
99% wrong for the Nexus 7. It might well be true for HTC devices, but is not germane to this device.

scream4cheese said:
Download the deodexed 4.2.2 stock rom and flash it via recovery.
http://forum.xda-developers.com/showthread.php?t=2148337
Don't forget to download the bootloader on the second post of that thread. Flash it via recovery as well.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Thanks! I was able to upgrade my Nexus 7 using the NRT and the stock rom from that link that you provided (and didn't have to relock my device or wipe it). However, I forgot to download and install the bootloader you mentioned. Do I still need to do this and/or is it too late to do it? Everything seems to be working fine (root included) so far. Thanks again!

Related

2 quick questions..

1: will unlocking the boot loader prevent me from OTA? And let's say I do get an OTA in the future with a unlocked bootloader, will the boot loader "relock" itself ?
2: If I root, can I use OTA, and will it keep root.
Thanks !
Sent from my Nexus 4 using xda app-developers app
1. the state of the bootloader does not affect OTAs
2. don't know
I'd like to know this as well. I've rooted and am getting a nag to apply the update but it doesn't seem wise until I have the answer to your 2nd question
Sent from my Nexus 4 using Tapatalk 2
i believe neither matter. But often the phone will just get unrooted after the ota.
As long as the rom is still stock it should be fine.
*Someone confirm?
As long as you keep stock recovery you can update and keep root. Also its wise to keep a nandroid of stock ROM, that way when an OTA is released you can nandroid back and get ota. This works well if you like to run a custom ROM but be able to check out ota should you feel the need.
Also many people updated to 4.2.1 while using CWM but the rest of their system is stock including root. I nandroid back to stock, with root and cwm. I was prompted to download the ota. Then I applied it via cwm. It will ask you if you wanna keep root and cwm while going through the flash process. Pretty seamless actually
Muffin approved this message.....
worked perfectly with CWM Recovery 4.2 to 4.2.1
sincere thanks for your guidance

[Q] Help update to stock 4.2.2 from custom rom 4.2.1

Hi
First of all, this is don't habitual for me since I used to read related post (and more if an update has just arrived) but I just could not find an specific instructions (sorry if I am being too demanding) to go from custom 4.2.1(PA) to stock and finish with rooted 4.2.2, there are a lot of several procedures or recommendations to perform the update :S
well this is what I have planed
- return to stock 4.2.1 (using nexus toolkit)
- download and flash manually the update to 4.2.2 (first try to use the ota update option)
- get root... how??? lol
- restore my apps/data
Since I will return to stock I think I will lose root, that is ok but only if i can root the nexus again, Will I be able to get root on 4.2.2? or I have to root in 4.2.1 and keep it (in some way) at the time I update to 4.2.2
Srryforbad/basicenglish:silly:
Rooting every nexus is the same. Flash/boot a custom recovery and flash supersu.zip. it doesn't matter what OS version its on.
Sent from my Nexus 7 using Tapatalk HD
Pirateghost said:
Rooting every nexus is the same. Flash/boot a custom recovery and flash supersu.zip. it doesn't matter what OS version its on.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
ok, I think I have missing that simple thing...
I don't have to worry about get the bootloader locked again therefore I just have to flash a recovery and SU when I have my N7 on 4.2.2, but...flash from... bootloader I guess, well, I will check that.
Thanks!
Learn the manual way of doing it and don't rely on toolkits. There are many tutorials walking you through the entire process
Sent from my Nexus 7 using Tapatalk HD
SLver said:
ok, I think I have missing that simple thing...
I don't have to worry about get the bootloader locked again therefore I just have to flash a recovery and SU when I have my N7 on 4.2.2, but...flash from... bootloader I guess, well, I will check that.
Thanks!
Click to expand...
Click to collapse
To elaborate on Pirateghost's points...
After flashing the 4.2.2 update... you will lose your recovery (CWM or TWRP)... but getting your recovery back is also part of how you (re)gain root.
As I have posted elsewhere...
Rooting is really simple.
(You will need an unlocked bootloader for this).
Get a custom recovery .img for your device...
Either CWM - http://www.clockworkmod.com/rommanager
...or TWRP - http://www.teamw.in/project/twrp2/103,
...it matters little which...
-----------
fastboot flash it.
-----------
Get Chainfires SU .zip package here http://download.chainfire.eu/310/SuperSU/UPDATE-SuperSU-v1.04.zip
Flash it using the custom recovery you've just fastboot flashed..
Reboot... and you're rooted.
-----------
...and that's it basically... you have root, a custom recovery from which you can flash ROMs, perform nandroid backups, etc.
But fastboot is the key... learn how to use it, and you will never need to be reliant on anybodies toolkit.
Rgrds,
Ged.

[Q] Problem with OTA 4.3

Hey guys, got a problem here.
My nexus 4 is rooted running team win recovery. running 4.2.2
just got the notification about OTA update 4.3, really excited about it and clicked install.
phone rebooted, went to teamwin, and it looked to me trying to flash something. left it there and suddenly when back to the team win recovery home page. clicked reboot to system and don't know why i'm still in 4.2.2. checked for updates but says system is up to date.
can anyone help me with the solution?
thanks a lot
You need the stock recovery, as said in a thousand other threads. If u want 4.3 flash the system image and re-root
Sent from my Nexus 4 using xda premium
EddyOS said:
You need the stock recovery, as said in a thousand other threads. If u want 4.3 flash the system image and re-root
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Or he could just get any 4.3 ROM and flash it through TWRP.
Sent from my Nexus 4 using xda app-developers app
Aaaaand i am still waiting for my update :/
My two friends with Samsung GNex got the Update, but ME with the Latest Nexus 4 still using 4.2.2 and on stock how beautiful the feeling is haha
Thibaultvw said:
Or he could just get any 4.3 ROM and flash it through TWRP.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Or CWM
If you want it that bad. Just download the factory image from Google devs and flash it.
Then you also have stock ROM running.
Send from my Nexus 4
EddyOS said:
Or CWM
Click to expand...
Click to collapse
He uses TWRP.
Sent from my Nexus 4 using xda app-developers app
Is there any way to revert back to stock recovery in order to get the update?
Further more, is there an option to do so without re-flashing stock all together?
wizardwiz said:
Is there any way to revert back to stock recovery in order to get the update?
Further more, is there an option to do so without re-flashing stock all together?
Click to expand...
Click to collapse
You can extract the stock recovery from the factory image and flash through fastboot.
Hit thanks if I helped.
Sent from my Nexus 4 using xda app-developers app
You can get the stock 4.2.2 recovery from the 4.2.2 factory image. I did have it but as I only keep the current factory image I only have the 4.3 recovery to hand
EddyOS said:
You can get the stock 4.2.2 recovery from the 4.2.2 factory image. I did have it but as I only keep the current factory image I only have the 4.3 recovery to hand
Click to expand...
Click to collapse
OK, did some further investigations and here are my findings
1. If you have it, you can use Wugfresh's toolkit (V1.6.4 for now) and it has a utility that can simply restore stock recovery and if you want it, stock kernel as well.
2. The Toolkit will download all necessary files and prompted you before each step.
3. It will revert back permissions for the stock recovery as well
I'll give it a try later on at home.
Thanks guys
Ziv
I am a bit confused. According to the “Nexus OTA Help-Desk” thread, the way to do this is as follows:
Scenario #2
You are stock, with root. Custom Recovery without any modifications or deletions.
Continue to Section B
Section B: Flashing in a custom recovery
1) Download the OTA.zip and copy to your phone.
2) Boot into recovery
3) Flash the OTA
4) Flash Su.zip: (SU is being updated often so check Chainfire's G+ for the latest) https://plus.google.com/+Chainfire/posts
NOTE: Root on 4.3 is not stable. Your mileage may vary.
5) Reboot
So, what is different about using this method to install the OTA and just running the OTA from the notification, and is this the incorrect method?
Is returning to the stock recovery the preferred and more or less foolproof method?
I'm not sure why there's people saying otherwise, but from my experience you don't need stock recovery to take on an OTA...
I've updated my N7 several times now from when I first bought it to 4.3 currently, all the time with a custom recovery. Unless you've changed some other files which causes an error during the OTA update, I don't believe there is a need to re-flash stock recovery at all.
@mlj11, lots of people have the OTA failing on them, even if they are on rooted factory image 4.2.2.
Why the OTA fails on rooted 4.2.2 is still unclear.
My N4 with rooted factory image 4.2.2 also updated like it should without error.
Maybe the unlocked bootloader is the issue letting the 4.3 OTA fail.
Send from my Nexus 4
@DecypherT
I'm not saying that rooted users will have no problems updating. My post was in response to people on this thread saying that a custom recovery will stop the OTA. This is false.
It can't be the unlocked bootloader (and it has never been) causing the problem otherwise you or I wouldn't have been able to take the OTA, for example. More likely it's something else.
If any of a user's system files have been altered, there's a good chance the OTA will fail. In the past that happened to me because the Stickmount app changed one of the system files. Once I replaced it though, I could update without any problems.
Ok, good points you're proving here.
Still, it looks like the (OTA) android 4.3 is very unstable.
I'm on rooted 4.3 and experience no big bugs or flaws though.
I do see a very large decrease of battery life when using the phone (screen on) and a big increase when in deep sleep. When the phone is off I almost use no battery.
Send from my Nexus 4

Update problem

I am trying to update my tablet to lollipop. But every time I do the OTA update it makes it halfway through and says Error. I would like to update to lollipop and then root it again. What should I do. I was rooted at one time. I even did a factory reset and can't get it to update.
Sent from my SM-N900P using XDA Free mobile app
gatoremt said:
I am trying to update my tablet to lollipop. But every time I do the OTA update it makes it halfway through and says Error. I would like to update to lollipop and then root it again. What should I do. I was rooted at one time. I even did a factory reset and can't get it to update.
Sent from my SM-N900P using XDA Free mobile app
Click to expand...
Click to collapse
Is your bootloader unlocked? Have you tried flashing the official factory image through fastboot? The most friendly utility in this situation is Nexus Root Toolkit. You can get root easily with it as well as unlock bootloader, flash kernel, rom, basically everything. I'd really suggest downloading that.
It was and it updated to 4.4.4 and I lost root. So I can use the root tool kit to update to lollipop?
Sent from under my bed.
I'm not sure, but I think you can. Search the web for that one. Your bootloader NEEDS to be unlocked in order to update to lollipop. If I were you, I'd flash the image using flash-all script provided in the factory image package. It is fully automated and I haven't experienced a problem with it.
I got it fixed thanks
Sent from my SM-N900P using XDA Free mobile app
No problem, glad to hear that!
Fobos531 said:
Is your bootloader unlocked? Have you tried flashing the official factory image through fastboot? The most friendly utility in this situation is Nexus Root Toolkit. You can get root easily with it as well as unlock bootloader, flash kernel, rom, basically everything. I'd really suggest downloading that.
Click to expand...
Click to collapse
Found this post through Google after having the same problem trying to apply the 5.1 OTA to a formerly rooted Nexus 7 Grouper. Using the Skipsoft Toolkit to unroot didn't work right, kept producing a aituation where it wouldn't boot Android and attempting to flask the stock image would fail too.
Used Nexus Root Toolkit "Flash Stock + Unroot" option to return to stock, and then applied the 5.1 factory image using the no wipe option and regain root and everything worked PERFECTLY. All my user data is even still intact.
Thanks very much for this!
That is what I did too.
Sent from under my bed.

Getting my 6p tomorrow. Suggested first steps?

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

Categories

Resources