How to update android version when on a custom ROM? - Nexus 4 Q&A, Help & Troubleshooting

So I am using CM10.1 with CWM recovery. What will I have to do when a new version of Android comes out? (4.2.3 or 5.0)
And will I lose my root access?
Sent from my Nexus 4 using xda app-developers app

Either flash a new ROM that's built on the new version, or go back to stock.

username8611 said:
Either flash a new ROM that's built on the new version, or go back to stock.
Click to expand...
Click to collapse
And to flash that ROM, do you have to get new bootloader and baseband or what?
And go back to stock: do you mean to flash the factory image, or can you also get OTA updates by restoring a nandroid backup of the stock rom?

once you are rooted, unlocked and with custom recovery changing ROMs is as simple as puting zip onto your devices' internal storage and flashing it through recovery. you COULD be asked to flash a newer radio version, however it is not that common.
no OTA when rooted, going back to stock only with facotry images.
anyway 5.0 will be availabale on custom ROMs shortly after or even before official google OTA so no need to unroot.

dzumagos said:
once you are rooted, unlocked and with custom recovery changing ROMs is as simple as puting zip onto your devices' internal storage and flashing it through recovery. you COULD be asked to flash a newer radio version, however it is not that common.
no OTA when rooted, going back to stock only with facotry images.
anyway 5.0 will be availabale on custom ROMs shortly after or even before official google OTA so no need to unroot.
Click to expand...
Click to collapse
So when 5.0 comes out, I just have to wait a day and flash a new CM version without flashing a new bootloader or radio?
And will it directly be stable?

Thibaultvw said:
So when 5.0 comes out, I just have to wait a day and flash a new CM version without flashing a new bootloader or radio?
And will it directly be stable?
Click to expand...
Click to collapse
Android 5.0 is far away by now, and nobody can tell you yet about stability
i´m sure it will get announced, just check the CM thread and read about (possible) bugs

Thibaultvw said:
So when 5.0 comes out, I just have to wait a day and flash a new CM version without flashing a new bootloader or radio?
And will it directly be stable?
Click to expand...
Click to collapse
As long as you read threads properly you'll know whether or not anything extra needs to be flashed. Even if there is something you need to flash in the future, it should be fairly easy. Normally a flashable .zip is released soon after the official release so you won't even need a PC. Personally I think it's useless to worry about it right now.

Thibaultvw said:
And to flash that ROM, do you have to get new bootloader and baseband or what?
And go back to stock: do you mean to flash the factory image, or can you also get OTA updates by restoring a nandroid backup of the stock rom?
Click to expand...
Click to collapse
Radios and boot loaders are completely separate from ROMs. You have to specifically flash a radio or boot loader separately. But no, you should not need to flash them but it would be worthwhile if a newer version came out

username8611 said:
Radios and boot loaders are completely separate from ROMs. You have to specifically flash a radio or boot loader separately. But no, you should not need to flash them but it would be worthwhile if a newer version came out
Click to expand...
Click to collapse
I am a bit scared of flashing bootloader and baseband, because I read someone who flashed a wrong one and his phone completely got bricked. Some other guy said in that thread why would you manually flash a bootloader..
http://forum.xda-developers.com/showthread.php?t=2108247

If I restore my Nandroid backup of 4.2.2 stock ROM, am I able to get OTA update? (I dont care if I would lose root, the question is if its possible ) or is it impossible since I am running CWM recovery?
Sent from my Nexus 4 using xda app-developers app

Guys it won't be 5.0 gmail 4.3 = android 4.3
Sent from my Nexus 4 using Tapatalk 2

Related

Stock kernel for update 4.2.2

Just a quick question I am using bricked kernel on my nexus7 when I get the official update can I go back to stock kernel by flashing boot.IMG from my nandroid back up
Sent from my 32gb Nexus 7 using Bricked kernel 0.58 with 4.2.1 stock
elsworth1983 said:
Just a quick question I am using bricked kernel on my nexus7 when I get the official update can I go back to stock kernel by flashing boot.IMG from my nandroid back up
Sent from my 32gb Nexus 7 using Bricked kernel 0.58 with 4.2.1 stock
Click to expand...
Click to collapse
itd probably be best to figure out if 4.2.2 even updates the kernel
elsworth1983 said:
Just a quick question I am using bricked kernel on my nexus7 when I get the official update can I go back to stock kernel by flashing boot.IMG from my nandroid back up
Sent from my 32gb Nexus 7 using Bricked kernel 0.58 with 4.2.1 stock
Click to expand...
Click to collapse
No. No. No. You will lose root access after the update. You will have to re root. And which stock kernel do you want to flash back to? 4.2.1? Maybe I don't understand your question..
If you're saying when your device detects the update and you want to flash back to its factory stock kernel, then yes you can do that.
Sent
from my Nexus 7 using xda app-developers app
scream4cheese said:
No. No. No. You will lose root access after the update. You will have to re root. And which stock kernel do you want to flash back to? 4.2.1? Maybe I don't understand your question..
If you're saying when your device detects the update and you want to flash back to its factory stock kernel, then yes you can do that.
Sent
from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Cheers for the input
i was just curious of when the update comes to my nexus 7 that i will have to return to stock kernel so it updates with no issues because of running bricked kernel. I have also installed vodo root keeper (think its called not with my n7 at the moment) to help me keep root. Will i be able to flash the ota through cwm with verification signature turned of ? Or do i have to install stock to flash it
-PiLoT- said:
itd probably be best to figure out if 4.2.2 even updates the kernel
Click to expand...
Click to collapse
Sent from my HTC One X using xda app-developers app
scream4cheese said:
No. No. No. You will lose root access after the update. You will have to re root. And which stock kernel do you want to flash back to? 4.2.1? Maybe I don't understand your question..
Click to expand...
Click to collapse
Ummm... the OTA process performs binary patching on individual files. If a file is not a target of the patching process, nothing happens to it. So that beggars the question of why you think that Superuser.apk/su (or SuperSU/su) would be targeted, as they are never distributed by Google. More to the point, neither of them exist in the boot image, so your assertion is flat out wrong.
Also, a sanity check (checksum) is performed on each and every one of those targeted files; if it should happen that there is an update to the kernel or ram disk, then the boot image will be checked, and IF you have installed a new kernel (or even have a trivially changed boot image), the check of the boot image will fail and the entire OTA will abort.
So, the OP's question was not only perfectly valid and reasonable, but exactly the correct procedure if the boot image gets patched by the OTA.
I'm planning on doing exactly what the OP suggested; but good Dog, I'm also going to do a full Nandroid backup before I begin. How wrong can things go if you have a backup to revert to? (In fact, I'm even going to put the stock recovery on the tab for the purpose of the OTA too - if you have an unlocked boot loader you can reflash or soft-boot any recovery you want, and do whatever you want thereafter.)
Even if you were to "lose root" you can certainly just over flash a minimal kit containing Superuser.apk/su. It's not a big deal.
Put down the toolkit and the hash pipe, and pick up the command line!

Can I OTA update?

Hey I'm new to the forums but been reading them for a while and I just have a question with OTA updates. I have a nexus 4 that's been rooted and have clockwork mod. I have also flashed the .33 baseband on 4.2.2. I have stock rom but Franco kernel however I backed up the stock kernel with his updater app.
I know I can't OTA with the kernel but flashing the stock one is no big deal. Can I OTA with the rest being on there?
Also if I do the lte wifi hotspot fix will that stop the OTA update as well?
Thanks in advance.
Sent from my Nexus 4 using xda premium
As long you have clockwork mod on the rom you can not OTA...its always going to be manual way of flashing the OTA and that process will remove clockwork mod but using apps like voodoo keeps you rooted so you can easily install clockwork mod again after the update.
No Recovery+Stock ROM+Stock Kernel+Stock Latest Radio= auto OTA update.
I hope that made sense..but i could be wrong but that's what works for me.
Sent From My Beasty Nexus 4 with Awesome Beats.
ROM: Mysterious AOKP 4.2.2
Kernel: Faux 123 latest tbm.
Recovery: TWRP
Helderg1984 said:
Hey I'm new to the forums but been reading them for a while and I just have a question with OTA updates. I have a nexus 4 that's been rooted and have clockwork mod. I have also flashed the .33 baseband on 4.2.2. I have stock rom but Franco kernel however I backed up the stock kernel with his updater app.
I know I can't OTA with the kernel but flashing the stock one is no big deal. Can I OTA with the rest being on there?
Also if I do the lte wifi hotspot fix will that stop the OTA update as well?
Thanks in advance.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
You CAN ota if you have a custom recovery.
However, the WiFi hotspot fix will kill it.
I made a guide with all the info you need. http://forum.xda-developers.com/showthread.php?t=2145848
Sent from my Nexus 7 using xda premium
So if anything is modded at all except for basic root I won't be able to apply the update that arrives to my phone directly right? I will have to flash it in cwm? I assume I will have to wipe cache and such before I apply the zip right?
Do I have to revert anything back stock or can I just flash the zip directly over what I have now and just re apply the kernel and baseband?
Sent from my Nexus 4 using xda premium
Sorry one more thing with the latest SU I will stay rooted I think but I will lose cwm and have to re obtain it or will I keep it if survival mode is checked?
Sent from my Nexus 4 using xda premium
Helderg1984 said:
Sorry one more thing with the latest SU I will stay rooted I think but I will lose cwm and have to re obtain it or will I keep it if survival mode is checked?
Click to expand...
Click to collapse
If you flash it from CWM then you will keep CWM and also keep root (if you say yes when it asks you).
Sent from my Nexus 4
Sorry I am a bit confused still, when I get the update.zip and flash it in CWM do I have to wipe or no? and if I don't will everything stay the same? or will I lose my 0.33 baseband and kernel? I'm also wanting to do the lte hotspot fix so would I lose that too?
steviewevie said:
If you flash it from CWM then you will keep CWM and also keep root (if you say yes when it asks you).
Sent from my Nexus 4
Click to expand...
Click to collapse
Helderg1984 said:
Sorry I am a bit confused still, when I get the update.zip and flash it in CWM do I have to wipe or no? and if I don't will everything stay the same? or will I lose my 0.33 baseband and kernel? I'm also wanting to do the lte hotspot fix so would I lose that too?
Click to expand...
Click to collapse
You don't have to wipe.It does not matter if you wipe or not, you will still lose your base band, you'll just have to flash the old baseband again. As for the kernel if the ota comes with a new kernel your old stock kernel will be replaced with the new one in the ota.
You actually can accept a ota update with a custom recovery but you have to be stock everything else, no other mods or anything. The ota will install fine and youll see that it goes through your custom recovery when updating. After the update you will lose root and your custom recovery however unless you recovery someone holds onto it.
As I know, we need to modify something after installing custom recovery. Else, stock recovery will be installed upon reboot. So even after modifying, OTA still works ?
Rizy7 said:
You actually can accept a ota update with a custom recovery but you have to be stock everything else, no other mods or anything. The ota will install fine and youll see that it goes through your custom recovery when updating. After the update you will lose root and your custom recovery however unless you recovery someone holds onto it.
Click to expand...
Click to collapse
Sent from Mako
So bascially no matter what i have on the phone update.zip will go through fine and put on the phone what it contains and it's up to me to put everything back? Also I've heard mixed opinions if I will lose root and CWM, mostly people say it will give me an option to keep it after applyng the update.
heat361 said:
You don't have to wipe.It does not matter if you wipe or not, you will still lose your base band, you'll just have to flash the old baseband again. As for the kernel if the ota comes with a new kernel your old stock kernel will be replaced with the new one in the ota.
Click to expand...
Click to collapse
heat361 said:
You don't have to wipe.It does not matter if you wipe or not, you will still lose your base band, you'll just have to flash the old baseband again. As for the kernel if the ota comes with a new kernel your old stock kernel will be replaced with the new one in the ota.
Click to expand...
Click to collapse
Everything about this post is incorrect.
I don't mean to be a jerk but I've seen you post a lot of false info lately. I know you'd like to help, but it only confuses people when they see contradictory info.
Helderg1984 said:
So bascially no matter what i have on the phone update.zip will go through fine and put on the phone what it contains and it's up to me to put everything back? Also I've heard mixed opinions if I will lose root and CWM, mostly people say it will give me an option to keep it after applying the update.
Click to expand...
Click to collapse
Just read the thread I linked earlier. It has answers to your questions.
Sent from my Nexus 4 using xda premium
El Daddy said:
Everything about this post is incorrect.
I don't mean to be a jerk but I've seen you post a lot of false info lately. I know you'd like to help, but it only confuses people when they see contradictory info.
Just read the thread I l
Can you tell me what's wrong with what I said? I was assuming he was on stock rooted with a custom recovery. Is it not true that if you get an ota update and it contains a new baseband and new stock kernel it will overwrite the last last stock kernel and baseband.
Click to expand...
Click to collapse
heat361 said:
El Daddy said:
Everything about this post is incorrect.
I don't mean to be a jerk but I've seen you post a lot of false info lately. I know you'd like to help, but it only confuses people when they see contradictory info.
Just read the thread I l
Can you tell me what's wrong with what I said? I was assuming he was on stock rooted with a custom recovery. Is it not true that if you get an ota update and it contains a new baseband and new stock kernel it will overwrite the last last stock kernel and baseband.
Click to expand...
Click to collapse
No it doesn't overwrite anything. It just fails.
OTA's contain patches. Not complete files. If the original file isn't there it will abort.
I can see how this can be confusing because it is different from custom roms.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
But thats only if he has the lte fix right. So if he just flashes a stock kernel without that patch, the ota could work.
For example the stock boot.img
I'm rooted with cwm, custom kernel and old baseband, stock rom. I mean I can very easily revert my kernel back to stock and flash the newest baseband.
The only thing is there's a bunch of stuff I might want to do more but don't want to make it hard to update since it's important to me.
Sent from my Nexus 4 using xda premium
Sent from my Nexus 4 using xda premium
heat361 said:
But thats only if he has the lte fix right. So if he just flashes a stock kernel without that patch, the ota could work.
For example the stock boot.img
Click to expand...
Click to collapse
Yep. The phone needs to be 100% stock with the exception of the recovery to complete the OTA. If the files,kernel,radio, etc. are replaced to the original state you'd be good to go.
PS. Sorry if I came off as a jerk this morning. I had a case of the Mondays.
Helderg1984 said:
I'm rooted with cwm, custom kernel and old baseband, stock rom. I mean I can very easily revert my kernel back to stock and flash the newest baseband.
The only thing is there's a bunch of stuff I might want to do more but don't want to make it hard to update since it's important to me.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Just as I wrote above, You can do as many modifications as you want, just make sure you bring the phone back to stock before you flash the OTA.zip, otherwise it will fail.
When the new OTA comes out I will update my OTA Help-Desk thread with all the new requirements.
Helderg1984 said:
So bascially no matter what i have on the phone update.zip will go through fine and put on the phone what it contains and it's up to me to put everything back? Also I've heard mixed opinions if I will lose root and CWM, mostly people say it will give me an option to keep it after applyng the update.
Click to expand...
Click to collapse
Just watch this its eazy as 1 2 3!!!
http://www.youtube.com/watch?v=ky5miA8ilr0

Back to stock I think

I have purity ROM and kernel and love it but my 3g signal is bad in places I got signal before custom rom ??
Shame really
Sent from my Nexus 4 using xda app-developers app
that has to do with your provider and maybe your radio. it has nothing to do with your rom. even so, there are many other roms/kernels to try, or different radios.
So returning to stock won't change the radio back as I had no issues on stock ROM and kernel ???
Paul
Sent from my Nexus 4 using xda app-developers app
vphotographic said:
So returning to stock won't change the radio back as I had no issues on stock ROM and kernel ???
Paul
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
you can use whichever radio you want, grab one here http://forum.xda-developers.com/showthread.php?t=2087227
flashing roms doesnt change the radio, so whichever one you had before, you still have. unless you personally changed it. flashing the stock factory img will change your radio to whichever radio was around when that stock factory img was uploaded.
simms22 said:
you can use whichever radio you want, grab one here http://forum.xda-developers.com/showthread.php?t=2087227
flashing roms doesnt change the radio, so whichever one you had before, you still have. unless you personally changed it. flashing the stock factory img will change your radio to whichever radio was around when that stock factory img was uploaded.
Click to expand...
Click to collapse
I'm using a custom rom and i have twrp recovery, so when android 4.3 will be officially released will i be able to update keeping twrp and bootloader unlocked ?how can i do this ? could you describe me all the steps to follow ? i have a nandroid backup of 4.2.2 rom if this helps, do i need to flash via recovery rom,radio,baseband and other stuff separately or there is a single file to flash ?
Federico_96 said:
I'm using a custom rom and i have twrp recovery, so when android 4.3 will be officially released will i be able to update keeping twrp and bootloader unlocked ?how can i do this ? could you describe me all the steps to follow ? i have a nandroid backup of 4.2.2 rom if this helps, do i need to flash via recovery rom,radio,baseband and other stuff separately or there is a single file to flash ?
Click to expand...
Click to collapse
you wont get an ota. just wait until 4.3 comes out, to update to a 4.3 custom rom or a stock rooted rom. itll be available the same day that 4.3 hits officially, or the next day. then youll flash it in your twrp recovery like you would normally do.

Rooted N7 - best way to update to 4.3 ROM?

I rooted my N7 (NE370T) a few months ago but can't remember how I did it. I would now like to flash a stock 4.3 ROM to it, and was looking for the safest way of doing it while retaining root. I have CWM 6.0.1.9 installed - would it be easiest to install a flashable stock rooted ROM zip from CWM? (e.g. http://forum.xda-developers.com/showthread.php?t=2376881)
I'm currently on v4.2.1 (JOP40D)
itm said:
I rooted my N7 (NE370T) a few months ago but can't remember how I did it. I would now like to flash a stock 4.3 ROM to it, and was looking for the safest way of doing it while retaining root. I have CWM 6.0.1.9 installed - would it be easiest to install a flashable stock rooted ROM zip from CWM? (e.g. http://forum.xda-developers.com/showthread.php?t=2376881)
I'm currently on v4.2.1 (JOP40D)
Click to expand...
Click to collapse
Yes it would be easiest to flash a 4.3 ROM actually. I went the way of Clean ROM 4.0 and faux kernel and I don't regret it. It came pre rooted and optimized. Though as always you should make a nandroid before you flash anything.
Also, make sure your bootloader is up to date if you have problems flashing a 4. 3 ROM
Sent from my Nexus 7 using Tapatalk 4 Beta
TheLastSidekick said:
Yes it would be easiest to flash a 4.3 ROM actually. I went the way of Clean ROM 4.0 and faux kernel and I don't regret it. It came pre rooted and optimized. Though as always you should make a nandroid before you flash anything.
Also, make sure your bootloader is up to date if you have problems flashing a 4. 3 ROM
Sent from my Nexus 7 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Sorry for the dumb question, but how do I check and update my bootloader version??
Check the dev section for the latest bootloader. As for checking, you'd have to use commands in fastboot and I'm sorry I don't know them. Basically what I would do is just do as I said in the previous post. If things don't work, then it's obvious you'd need to either update Cwm or your bootloader or both.
Sent from my SGH-T999 using Tapatalk 4 Beta
You might want to have a look at my blog, there I described a very easy way for updating to 4.3
Boot loader version comes up in the bootloader screen ( vol down + vol up + power while tab is off ) .. And to flash the bootloader
Code:
fastboot flash bootloader bootloader.img
4.23 is the latest version for bootloader.
Sent from my Nexus 7
Thanks for all the help. I managed to successfully flash a pre-rooted 4.3 stock ROM from a zip using CWM recovery. I suspect that my bootloader may not be the latest but everything seems to be working OK so I guess it's OK to leave it.

Root after manual update?

So I finally found some time for my unlocked and rooted nexus 4. Right now it is on 4.3 stock and I want to update to 4.4.2. Now the question which I couldn't find an answer on Google: Do I loose root after manual update? I've seen some videos on that, but some say that you need stock recovery (I have TWRP), but nothing about root.
Also, I'd install Franco kernel after that.
Help and possible tutorial would be appreciated, I'm still kinda new to android.
You can have a stock experience by installing the Experience ROM in the development thread.
Make sure you are running the latest TWRP before trying to flash a 4.4 ROM.
audit13 said:
You can have a stock experience by installing the Experience ROM in the development thread.
Make sure you are running the latest TWRP before trying to flash a 4.4 ROM.
Click to expand...
Click to collapse
I want to use stock rom wirh fraco kernel. Again, do I loose root from 4.3 to 4.4?
brinmb said:
I want to use stock rom wirh fraco kernel. Again, do I loose root from 4.3 to 4.4?
Click to expand...
Click to collapse
Yes, always when you flash another stock Rom, you will lose root.
But it's a matter of seconds to reroot after flashing latest supersu.zip through TWRP.
Unleashed by my Nexus 4
RASTAVIPER said:
Yes, always when you flash another stock Rom, you will lose root.
But it's a matter of seconds to reroot after flashing latest supersu.zip through TWRP.
Unleashed by my Nexus 4
Click to expand...
Click to collapse
Alright, thanks. I guess I'll do thst.

Categories

Resources