How to upgrade Android version when on custom ROM - Nexus 4 Q&A, Help & Troubleshooting

So all right, I thought that when a newer version of Android came out and I am for example on CM10.1, I can update the android version and ROM by flashing a new bootloader and baseband, then flash the ROM and Gapps you want.
But today I read about someone who didn't accomplish to install a 4.2.2 ROM when he was on 4.2.1 so he installed factory image.
Can someone now please tell me what you need to do, so I am prepared when KLP arrives.
Thanks in advance!
Sent from my Nexus 4 using xda app-developers app

Please search. There are a gazillion amount of the same post laying around here. It would help you and others.
Sent from my Samsung Galaxy S3 using tapatalk 2

scream4cheese said:
Please search. There are a gazillion amount of the same post laying around here. It would help you and others.
Sent from my Samsung Galaxy S3 using tapatalk 2
Click to expand...
Click to collapse
I know but everyone says different things...
Sent from my Nexus 4 using xda app-developers app

Thibaultvw said:
I know but everyone says different things...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2145848
[INFO] Nexus OTA Help-Desk
Sent from my Nexus 4

Thibaultvw said:
So all right, I thought that when a newer version of Android came out and I am for example on CM10.1, I can update the android version and ROM by flashing a new bootloader and baseband, then flash the ROM and Gapps you want.
But today I read about someone who didn't accomplish to install a 4.2.2 ROM when he was on 4.2.1 so he installed factory image.
Can someone now please tell me what you need to do, so I am prepared when KLP arrives.
Thanks in advance!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Best advice I can give you is to learn fastboot. You can download images from Google once released and manually flash each thing that you want to update. You just unzip the files and fastboot flash them to your phone.
Sent from my Nexus 4 using Xparent Cyan Tapatalk 2

I think I am misunderstood.
I meant how to upgrade android version if going from a custom rom to another custom rom.
So for example CM10.1 Android 4.2.2 and going to Xenon HD Android 5.0
Thats possible right?
Sent from my Nexus 4 using xda app-developers app

Most developers list instruction on how to install from different custom roms in the install method if they differ (example post#2 in http://forum.xda-developers.com/showthread.php?t=2075444). If not, you could post in the thread of the custom rom to see if there are any special steps for that rom. I would advise reading through the first few posts of the custom rom to make double sure they didn't explain how to first.

Most developers list instruction on how to install from different custom roms in the install method if they differ (example post#2 in http://forum.xda-developers.com/showthread.php?t=2075444). If not, you could post in the thread of the custom rom to see if there are any special steps for that rom. I would advise reading through the first few posts of the custom rom to make double sure they didn't explain how to first.
Click to expand...
Click to collapse
Yeah but not when a newer android version comes out.
Sent from my Nexus 4 using xda app-developers app

1. Download new factory image
2. Flash bootloader and radio
3. Flash new custom ROM
4. Done
It's not that hard really

EddyOS said:
1. Download new factory image
2. Flash bootloader and radio
3. Flash new custom ROM
4. Done
It's not that hard really
Click to expand...
Click to collapse
But I do have to flash factory image in fastboot? No other ways by just using CWM?
Sent from my Nexus 4 using xda app-developers app

You don't, bootloader and radio should be enough, but you WILL need fastboot to get that bit done

EddyOS said:
You don't, bootloader and radio should be enough, but you WILL need fastboot to get that bit done
Click to expand...
Click to collapse
There is a flashable zip for that. So I can just use CWM when upgrading ROMs?
Sent from my Nexus 4 using xda app-developers app

I personally prefer to use fastboot but if there is a ZIP then you could try that...

EddyOS said:
I personally prefer to use fastboot but if there is a ZIP then you could try that...
Click to expand...
Click to collapse
Why do you prefer that even of you install the same file? But the answer on my question is that I can install a 5.0 ROM if I just flash the new bootloader and baseband?
Thank you for helping me!

Yes, as I answered that earlier
As for why I prefer fastboot - I always like to do everything manually. I then know I'VE done things right as an updater-script in a CWM ZIP file could be wrong/corrupt. It's a safety thing. Plus, once it's done it's done so I wouldn't have to do it again unless I wanted to downgrade Android to 4.x

EddyOS said:
Yes, as I answered that earlier
As for why I prefer fastboot - I always like to do everything manually. I then know I'VE done things right as an updater-script in a CWM ZIP file could be wrong/corrupt. It's a safety thing. Plus, once it's done it's done so I wouldn't have to do it again unless I wanted to downgrade Android to 4.x
Click to expand...
Click to collapse
But with CWM you also have to flash once I think? Because you dont flash it on a ROM, but before a ROM so the baseband and bootloader will last untill you install another I think?
Sent from my Nexus 4 using xda app-developers app

Fastboot flashing is permanent - once flashed you don't have to do it again. A CWM ZIP can do the same but I, personally, DO NOT LIKE DOING IT THAT WAY. I don't know what else you want me to say?
Do what YOU want to do

EddyOS said:
Fastboot flashing is permanent - once flashed you don't have to do it again. A CWM ZIP can do the same but I, personally, DO NOT LIKE DOING IT THAT WAY. I don't know what else you want me to say?
Do what YOU want to do
Click to expand...
Click to collapse
All right. Thanks for the help.
Sent from my Nexus 4 using xda app-developers app

Just upgrade the ROM. The developer will update his ROMS as new android comes out
Sent from my Nexus 4 using xda app-developers app

aanonymoushuman said:
Just upgrade the ROM. The developer will update his ROMS as new android comes out
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah but CM11 (or whatever it may be called) wont be ready as yes as Android 5.0 comes out, and I may use the stock ROM the first day it comes out, which I will flash in CWM so I wanted to know if I needed to do something else.

Related

[REF][BOOTLOADER][i902x]New Bootloader I9020XXLC2 in JB OTA 4.1.1(JRO03E)

!!!This is NOT for Nexus S 4G!!!
Hi all,
Bootloader version updated to I9020XXLC2, in JB OTA(4.1.1, JRO03E)
IMO, Bootloader is important because it's optimized for OS(Dunno it's exactly true)
For someone doesn't want to flash OTA and update Bootloader version, I decided upload this here
**How to check bootloader version?
Turn off ur phone, and then, press volume up button and power button. It will show u bootloader version.
1)
Here is fastboot flashable file in attatchment.
You need to type
Code:
fastboot flash bootloader bootloader.img
FYI, http://forum.xda-developers.com/showthread.php?t=1116884
-Fastboot zip file is in this Thread. "Method 2"
2)
Flash via CWM-Zip file.
Then power-off your device(thanks to SuperSaiyan.IV, I dunno why)
Thanks to lar5, added md5check sum.
031ae14f0986dcfa26c730815f111f6e *bootloader.img
42f7a62af2231e46cab7378f9c17eddb *CWM-Bootloader.zip
No cwm version?:/
Sent from my Nexus S using xda app-developers app
CWM version is uploaded
Sent from my Nexus S using xda app-developers app
Is there a new radio too ? This is 9020 only right ?
Sent from my Nexus S using xda app-developers app
can i update on ICS too? i want to stay on ICS(don't want update to JB for now)
This new bootloader can port me some benefits on ICS?
thank you....
daniozzo83 said:
can i update on ICS too? i want to stay on ICS(don't want update to JB for now)
This new bootloader can port me some benefits on ICS?
thank you....
Click to expand...
Click to collapse
Nope, no faster phone, no better reception... it's just only the bootloader.
FloHimself said:
Nope, no faster phone, no better reception... it's just only the bootloader.
Click to expand...
Click to collapse
thx for answer.
Another question: i tried jelly bean with full image (not upgrading with ota)...
I tried then flashing from CWM recovery doing full wipe data etc.
Did i installed new bootloader in this way? i noted some battery drain and UI lag. Maybe i had old bootloader and that created some problem?
MrSmileyJr said:
Is there a new radio too ? This is 9020 only right ?
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
There is no new radio.
Sent from my Nexus S using xda app-developers app
daniozzo83 said:
thx for answer.
Another question: i tried jelly bean with full image (not upgrading with ota)...
I tried then flashing from CWM recovery doing full wipe data etc.
Did i installed new bootloader in this way? i noted some battery drain and UI lag. Maybe i had old bootloader and that created some problem?
Click to expand...
Click to collapse
I don't know what Jelly Bean "full image" you have flashed and whether the bootloader was included. But as said before: the bootloader isn't related to any battery drain or UI lag. It's just the bootloader, i.e. a piece of software bringing the phone into a state it can run the OS.
FloHimself said:
I don't know what Jelly Bean "full image" you have flashed and whether the bootloader was included. But as said before: the bootloader isn't related to any battery drain or UI lag. It's just the bootloader, i.e. a piece of software bringing the phone into a state it can run the OS.
Click to expand...
Click to collapse
is it like bios on a pc?
daniozzo83 said:
is it like bios on a pc?
Click to expand...
Click to collapse
http://www.tested.com/news/feature/1879-know-your-android-bootloaderwhat-it-is-and-why-it-matters/
Maybe this helps?
Sent from my Nexus S using xda app-developers app
ioplkj13 said:
http://www.tested.com/news/feature/1879-know-your-android-bootloaderwhat-it-is-and-why-it-matters/
Maybe this helps?
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
ty mate.... useful
ioplkj13 said:
CWM version is uploaded
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
Thanks mate
Sent from my Nexus S using xda app-developers app
You should include for which model this is.
Thanks for the info in your OP links! Still have a couple questions. I'm using the latest Jellybelly release, all is flashed, all is well, no issues at all. But still want the new bootloader, is this new bootloader the same for all nexus s's?
I have the i9020A and just want to make sure this won't cause an issue. Also, after installing the new bootloader, will it require being unlocked again? May sound silly, but I'd like to know before potentially erasing my SD.
Thanks!
Can anybody provide the MD5 sum of the 2 files?? I am not sure the downloading is exactly okay.
xdoit said:
Can anybody provide the MD5 sum of the 2 files?? I am not sure the downloading is exactly okay.
Click to expand...
Click to collapse
031ae14f0986dcfa26c730815f111f6e *bootloader.img
42f7a62af2231e46cab7378f9c17eddb *CWM-Bootloader.zip
I flashed this on my 9020A through CWM, no issues, boot loader remained unlocked.
Edit nvm
mixtapes08 said:
Edit nvm
Click to expand...
Click to collapse
What's nvm..?
Sent from my Nexus S using xda app-developers app

Upgrading Cyanogemod

Hi,
What is the correct method to upgrade Cyanogenmod ROM on Nexus 4 ? Do I need to install the new build from scratch or there is some other way also, which can save me from backup/restore process.
Param
kalerparamvir said:
Hi,
What is the correct method to upgrade Cyanogenmod ROM on Nexus 4 ? Do I need to install the new build from scratch or there is some other way also, which can save me from backup/restore process.
Param
Click to expand...
Click to collapse
Dirty flash is ok. No you dont need to wipe anything, just flash it on top of your current rom.
Sent from my Nexus 4 using Tapatalk 2
Just download cyandelta. Easiest way to flash cm nighties!! Instead of download the whole rom package, cyandelta just downloads the updated files. It's much faster!!
Try it!!
Sent from my Nexus 4 using xda app-developers app
S.H.A.D.E said:
Just download cyandelta. Easiest way to flash cm nighties!! Instead of download the whole rom package, cyandelta just downloads the updated files. It's much faster!!
Try it!!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the answer. Cyandelta did the trick for me.
kalerparamvir said:
Hi,
What is the correct method to upgrade Cyanogenmod ROM on Nexus 4 ? Do I need to install the new build from scratch or there is some other way also, which can save me from backup/restore process.
Param
Click to expand...
Click to collapse
You can update from the CM rom itself in developer options. Even sets the time cycle you wish
About phone
cyanogen mode updates download the rom and flash via CWM or TWRP easy as it gets :silly:

NEED HELP! Flashed wrong rom, and now radios don't work!

Guys I need help right away! I accidentally flash a S4 AOSP ROM on my nexus 4. I try to flash the factory images, everything goes smooth but it boots so slow now, and WiFi, signal and other radio stuff doesn't work! How is this possible if I flash the factory images? Please help!:crying::crying:
edit: also my IMEI shows unknown know, and when i connect to the pc the internal storage is faulty(?). i cant copy files there. but the phone is turn on and works! i can go to drawer, apps do things and stuff. strange..
Thats the biggest **** up wow umm im not a pro at this but clear dalvik cache reg cache factory reset then re flash stock again
Sent from my Nexus 7 using xda app-developers app
beastint said:
Thats the biggest **** up wow umm im not a pro at this but clear dalvik cache reg cache factory reset then re flash stock again
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
i tried this but doesnt work. everytime the same thing. it boots but radio stuff doest work. also my IMEI is unknown now.
johnxarma said:
Guys I need help right away! I accidentally flash a S4 AOSP ROM on my nexus 4. I try to flash the factory images, everything goes smooth but it boots so slow now, and WiFi, signal and other radio stuff doesn't work! How is this possible if I flash the factory images? Please help!:crying::crying:
edit: also my IMEI shows unknown know, and when i connect to the pc the internal storage is faulty(?). i cant copy files there. but the phone is turn on and works! i can go to drawer, apps do things and stuff. strange..
Click to expand...
Click to collapse
Well, if what you say is true and you are correctly flashing the factory images with fastboot ( including the radio )
your screwed.
trentreed said:
Well, if what you say is true and you are correctly flashing the factory images with fastboot ( including the radio )
your screwed.
Click to expand...
Click to collapse
thanks for the reply. any solution maybe? :/
anyone? please if someone knows a fix or something to try please tell me
johnxarma said:
anyone? please if someone knows a fix or something to try please tell me
Click to expand...
Click to collapse
Download a nexus 4 ROM and flash that.
Next time do not ever ever flash a rom that is not meant for the device. Is your phone a S4? No. Is it a HTC One? No. Stick with ROMs and kernels meant for your device and you'll be good.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Download a nexus 4 ROM and flash that.
Next time do not ever ever flash a rom that is not meant for the device. Is your phone a S4? No. Is it a HTC One? No. Stick with ROMs and kernels meant for your device and you'll be good.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
He said he ACCIDENTALLY flashed the ROM of a gs4. No need to rip him apart for a mistake, I think he is going to suffer enough by having to replace his defective phone.
Sent from my Nexus 4 using Tapatalk 4 Beta
scream4cheese said:
Download a nexus 4 ROM and flash that.
Next time do not ever ever flash a rom that is not meant for the device. Is your phone a S4? No. Is it a HTC One? No. Stick with ROMs and kernels meant for your device and you'll be good.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
as i said i accidentally flash a wrong rom. thanks for the reply but i can copy files to internal storage, somehow it damaged by the rom(?) :/ i dont know..
maybe can i use this way to fix it? anyone tried maybe, so can help me? http://forum.xda-developers.com/showthread.php?t=1976057
Did flash the factory images via Fastboot ?
Sent from my Nexus 4 using xda premium
Tough luck mate
I'm no expert, but obviously you've overwritten your modem/radio partition, maybe even corrupted. I don't know if you could zero that partition (with dd codes) and then flash one of our radios... Not sure if that would work...
Edit:
http://forum.xda-developers.com/showthread.php?p=43096832
Check this post, seems like he made the same thing, see if he solves it, he might help you.
Sent from my Nexus 4 using xda premium
Didn't your custom recovery stop you from flashing another's phone software
Sent from my Nexus 4 using xda app-developers app
Exodian said:
Did flash the factory images via Fastboot ?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
yes i did. same problem
mattoaida said:
Didn't your custom recovery stop you from flashing another's phone software
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
no. it was an aosp rom for galaxy s4, so maybe because of aosp(?)
johnxarma said:
yes i did. same problem
Click to expand...
Click to collapse
Did you flash all the files? System, boot loader, radio... Something like 6 files? If not I would flash all the files. If so I would flash them again.
Sent from my Nexus 4 using xda premium
johnxarma said:
no. it was an aosp rom for galaxy s4, so maybe because of aosp(?)
Click to expand...
Click to collapse
No, it's not because it's aosp. Nexus 4 uses aosp but the drivers and all are different on each device.
I'm sorry if I sounded like a total jerk before.
Sent from my Nexus 4 using Tapatalk 2
Install 4.1 via nexus toolkit. Then 4.2. This should install the nexus radio as well.
Exodian said:
Did you flash all the files? System, boot loader, radio... Something like 6 files? If not I would flash all the files. If so I would flash them again.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
yes of course, all the files. i follow efrant's how to guide step per step.
scream4cheese said:
No, it's not because it's aosp. Nexus 4 uses aosp but the drivers and all are different on each device.
I'm sorry if I sounded like a total jerk before.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
its ok mate i just need a solution because i dont want to sent it for service..

update/change custom recovery

how do i actually do this? i havent seen a guide for this yet. thanks.
Sent from my Nexus 4 using xda app-developers app
reicute789 said:
how do i actually do this? i havent seen a guide for this yet. thanks.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Please be more clear... If your are already on a custom recovery and want to change for ex currently on cwm and want to change it to twrp just flash the twrp zip and reboot, done. (Though not sure as I am still confused about your question)
You just flash a new recovery using fastboot, same as you did flashing the first custom recovery
Rohit02 said:
Please be more clear... If your are already on a custom recovery and want to change for ex currently on cwm and want to change it to twrp just flash the twrp zip and reboot, done. (Though not sure as I am still confused about your question)
Click to expand...
Click to collapse
sorry for that. what i meant was, i am on a lower version of cwm how do i upgrade it to the latest version. or change to twrp? thanks
EddyOS said:
You just flash a new recovery using fastboot, same as you did flashing the first custom recovery
Click to expand...
Click to collapse
i used mrskip's toolkit. so i guess i'll search how to manual flash a recovery, correct? thanks
Sent from my Nexus 4 using xda app-developers app
reicute789 said:
sorry for that. what i meant was, i am on a lower version of cwm how do i upgrade it to the latest version. or change to twrp? thanks
i used mrskip's toolkit. so i guess i'll search how to manual flash a recovery, correct? thanks
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
This is why you shouldn't use a toolkit as then have no idea how to do anything yourself. Learn how to use fastboot/adb and you'll be a better person for it
EddyOS said:
This is why you shouldn't use a toolkit as then have no idea how to do anything yourself. Learn how to use fastboot/adb and you'll be a better person for it
Click to expand...
Click to collapse
didnt have much free time then but i do now, that's why im asking here.
reicute789 said:
didnt have much free time then but i do now, that's why im asking here.
Click to expand...
Click to collapse
Google found this in 2 seconds...
http://forum.xda-developers.com/showthread.php?t=2277112
There are also tons of other guides on here...
i found a flashable zip. thanks
Sent from my Nexus 4 using xda app-developers app

Updating Custom ROMs

I am using Purity 4.4 + Matrix 11.5 right now.
Now my question is how do you guys update your respective ROMs instead of flashing newer versions through recovery? I tried GooManager but it didn't work for me :-|
You should ask in thread about your rom. If devs do not do OTA update you must use recovery to update rom
I think most use recovery
Sent from my Nexus 4
Download updated ROM zip file and flash through recovery (TWRP for myself).
no-skill said:
You should ask in thread about your rom. If devs do not do OTA update you must use recovery to update rom
Click to expand...
Click to collapse
Well being a new member, I am not actually allowed to ask in ROM threads, that's why I asked here.
goofball2k said:
Download updated ROM zip file and flash through recovery (TWRP for myself).
Click to expand...
Click to collapse
That's what I have been doing till now but I thought there may be some other method to update ROMs.
Sent from my Nexus 4 using XDA Premium 4 mobile app
not for Purity. You must update through custom recovery.
Sent from my Nexus 4 using XDA Premium 4 mobile app
saifulh2304 said:
not for Purity. You must update through custom recovery.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I guess that's the only option I have. Thanks
ankurk said:
I guess that's the only option I have. Thanks
Click to expand...
Click to collapse
Yes, I'm sure its not that hard to do anyway
Sent from my Nexus 4 using XDA Premium 4 mobile app
saifulh2304 said:
Yes, I'm sure its not that hard to do anyway
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's not hard but sometimes you get too lazy
Simple. Set up VM environment there are simple walkthrough video and once your set up you can pull straight out of the devs or any branch. I do my own when I feel I need to add a feature I do. There are a major variety of bases to choose from. Its much easier than many think. In my opinion its safer as I know exactly what I'm getting. Not to mention an addiction lay within too. Lol Have fun bro. Welcome to the machine. Many new devs are so stoked when the first ROM they build is complete they can't stop. Lol peace.
Sent from my Nexus 4 using xda app-developers app
Droid2drummer said:
Simple. Set up VM environment there are simple walkthrough video and once your set up you can pull straight out of the devs or any branch. I do my own when I feel I need to add a feature I do. There are a major variety of bases to choose from. Its much easier than many think. In my opinion its safer as I know exactly what I'm getting. Not to mention an addiction lay within too. Lol Have fun bro. Welcome to the machine. Many new devs are so stoked when the first ROM they build is complete they can't stop. Lol peace.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I do know stuff about Android development but I am too scared to try that kind of stuff. Can you link me to those tutorials or videos?

Categories

Resources