[Q] Flashing wrong kernel? - Nexus 4 Q&A, Help & Troubleshooting

Hi XDA.
After growing a pair of balls I've decided tonight is the night that I am going to unroot my phone, put it back to stock ROM and get it off of franco.Kernel. I am doing this because I want to start fresh and get it on Paranoid Android.
(I currently have a January nightly of CM 10.1, franco.Kernel r53 and unlocked bootloader whatnot)
I am looking for the stock kernel for the Nexus 4, but am worried about flashing the wrong one. I'm not saying like I'm going to flash a Samsung kernel or something stupid like that, I just mean that since I am on android 4.2.1 and if I flash a kernel that is made for android 4.2 can I screw up my Nexus 4?
Any tips?
Thanks a ton.
Edwin

As long as the kernel is for the Nexus 4 then you should be okay. You can get all the resources here.
Sent from my Nexus 4 using Tapatalk 2

scream4cheese said:
As long as the kernel is for the Nexus 4 then you should be okay. You can get all the resources here.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Will I get a softbrick/where can I get radio and whatnot?
Thanks

Make a backup if you are worried. What kernel are you going to flash?
Sent from my Nexus 4 using Tapatalk 2

eqjunkie829 said:
Make a backup if you are worried. What kernel are you going to flash?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Making a backup won't save you if you flash a kernel that's not for your phone
Sent from my Nexus 4

spaceman860 said:
Making a backup won't save you if you flash a kernel that's not for your phone
Sent from my Nexus 4
Click to expand...
Click to collapse
Just flash the stock images from Google. Contains rom, kernel, bootloader, and radio.
Sent from my iPad 4

make sure your download isn't corrupted and you downloaded for the correct device. Should be fine.

What's the point of going through all the time to unroot and flash back to stock?
Why not just do a full wipe and flash paranoid android?
Sent from my HTC Desire using xda app-developers app

chromium96 said:
What's the point of going through all the time to unroot and flash back to stock?
Why not just do a full wipe and flash paranoid android?
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
I was wondering how nobody else asked that question earlier because that's exactly what I'm thinking.

He's going from 4.1 to 4.2 he needs to flash the new bootloader and radio too
Sent from my Nexus 4

Flashing Wrong Kernel
spaceman860 said:
Making a backup won't save you if you flash a kernel that's not for your phone
Sent from my Nexus 4
Click to expand...
Click to collapse
What are the risks of flashing wrong kernel on a phone? I got a samsung s3. Just wanted to ask the risks. Couldn't i recover using nandroid backup? I saw this post of yours stating not. Why?

majidkhan said:
What are the risks of flashing wrong kernel on a phone? I got a samsung s3. Just wanted to ask the risks. Couldn't i recover using nandroid backup? I saw this post of yours stating not. Why?
Click to expand...
Click to collapse
I have heard of the digitizer blowing from flashing wrong kernels. I suggest only flashing kernels made for your specific device.
Sent from my Nexus 4 using xda app-developers app

You should add one more ball to that actually make it two more as you are at it. First you should install latest cwm recovery and root your phone. Then go to the recovery and make a backup. After that you can continue with flashing custom Roms and kernels.
Sent from my Nexus 4 using Tapatalk

Related

Update cm10.1 to 10.2 no wipe

Wanted ask if it will be possible in the future to update to the official cm10.2 with reinstall and wipe. I ask because I got friends and family all on nexus 4's cm with Franco kernel and I should them how to update but I just don't want to have to reinstall because that is too many people around the world.
I am talking about updating like thru settings how I do with the nightly.
Sent from my Nexus 4 using Tapatalk 2
Fataldesain said:
Wanted ask if it will be possible in the future to update to the official cm10.2 with reinstall and wipe. I ask because I got friends and family all on nexus 4's cm with Franco kernel and I should them how to update but I just don't want to have to reinstall because that is too many people around the world.
I am talking about updating like thru settings how I do with the nightly.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
CM10.2 uses Android 4.3, while 10.1 use 4.2.
So no, it will never be possible, too many system changes.
For the most part, will be okay. I've done it a few times without any major undesirable effects.
bringonblink said:
CM10.2 uses Android 4.3, while 10.1 use 4.2.
So no, it will never be possible, too many system changes.
Click to expand...
Click to collapse
I think it is possible if you flash bootloader and baseband! If it doesnt boot then do a clean install.
Sent from my Nexus 4 using xda app-developers app
Thibaultvw said:
I think it is possible if you flash bootloader and baseband! If it doesnt boot then do a clean install.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
you dont have to flash the bootloader/baseband, thats just an option.
you can always try dirty flashing, usually it works, sometimes it doesnt. make a nadroid backup just in case. if it doesmt work, you can either restore your nandroid or wipe everything and flash.
simms22 said:
you dont have to flash the bootloader/baseband, thats just an option.
you can always try dirty flashing, usually it works, sometimes it doesnt. make a nadroid backup just in case. if it doesmt work, you can either restore your nandroid or wipe everything and flash.
Click to expand...
Click to collapse
Doesnt it cause problems sometimes if you dont have the latest baseband and bootloader?
I never tried to dirty flash a rom, only for updating CM10.1 nightlies I did. (And I only had it on 4.2.2, now CM10.2 unoffical)
Sent from my Nexus 4 using xda app-developers app
I was able to flash CM 10.2 over CM 10.1 with no issues. Make sure to also flash the new Google Apps!

How to go back to stock?

Hi
I'm using a nexus 4 withe the Latest PA ROM which is android version 4.3
I want to go back to stock image how do I do that can I only flash Tue stock image anything else needs to be done?
Sent from my Nexus 4 using xda app-developers app
Did you create a Nandroid backup with either ClockworkMod Recovery or TWRP? This would be the easiest and fastest way to do it. If not, efrant wrote an awesome guide for returning the Nexus 4 back to stock
http://forum.xda-developers.com/showthread.php?t=2010312
I think I did need to look for it in my PC
But it was android 4.2.2 ...
Its not like flashing another ROM?
Sent from my Nexus 4 using xda app-developers app
GenuisPC said:
I think I did need to look for it in my PC
But it was android 4.2.2 ...
Its not like flashing another ROM?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You don't flash factory images with recovery, you use fastboot.
GenuisPC said:
I think I did need to look for it in my PC
But it was android 4.2.2 ...
Its not like flashing another ROM?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It's all in the link that Acuity posted, just read it step by step and you'll end up back to stock.

What Version ROM am I on?

How or where do I look in this phone to see what version of a ROM I have installed?
Settings, more then about device
Sent from my SPH-L720 using XDA Premium 4 mobile app
mikel719 said:
Settings, more then about device
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It doesn't show me what custom software I am running.
Sent from my Galaxy S4
It should
Sent from my SPH-L720 using XDA Premium 4 mobile app
Take a screen shot of that and we will help you.
Sent from my SPH-L720 using xda app-developers app
ROMANTiC KiD said:
Take a screen shot of that and we will help you.
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
Here you go...
What Rom did you install? Did you flash any mods after the Rom?
Sent from my SPH-L720
I flashed Sacs Custom Rom no mods.
Sent from my Galaxy S4
clone1008 said:
I flashed Sacs Custom Rom no mods.
Sent from my Galaxy S4
Click to expand...
Click to collapse
Really ???
Go Into your sd card and find the ROM zip. That will tell you. You shouldn't be flashing if you don't even know what you are flashing.
Sent from my SPH-L720 using xda premium
daniel4653 said:
Really ???
Go Into your sd card and find the ROM zip. That will tell you. You shouldn't be flashing if you don't even know what you are flashing.
Sent from my SPH-L720 using xda premium
Click to expand...
Click to collapse
I know what I am flashing bro. The problem was that I had to do a nandroid restore and I couldn't remember if that restore was on version 5 or 6 of Sacs Rom. I figured it was something simple but I guess not. It always used to show up on HTC.
Sent from my Galaxy S4
If you read the thread before flashing, you should know what version of the rom you are on. Always pay attention to what version you are on. Take a mental note of it or write it down in the future. That rom has manyyy versions. I almost wonder if you skipped a step or flashed an update without the rom, but if you did, I wonder why you aren't bricked.
P1NK13P13 said:
If you read the thread before flashing, you should know what version of the rom you are on. Always pay attention to what version you are on. Take a mental note of it or write it down in the future. That rom has manyyy versions. I almost wonder if you skipped a step or flashed an update without the rom, but if you did, I wonder why you aren't bricked.
Click to expand...
Click to collapse
The only thing I did was dirty flash from ver. 5 to ver. 6
Sent from my Galaxy S4
Regardless of knowing what rom you flashed, seriously humor us and look at your sd card. If you have to, sort the folder by date added.
Sent from my SPH-L720 using Tapatalk 4
If the build prop wasn't modified to show the custom Rom version you can't tell from about device. The only real way to know is to look at version 5 to 6 change log. Find something that was added into version 6 and test it. If it works you are on 6. If not you are 5.
Sent from my SPH-L720 using Tapatalk 4

Upgrading to 4.4 kit Kat

Hey guys quick question my n4 is rooted and running cm10.1.3. I never bothered to upgrade to 4.3, so my radio, kernel and bootloader are stock 4.2.2. Is it better to get the ota update and be up on things or flash stock kernel, boot loader and radio for 4.4 when ever there available? Or maybe factory image?
Sent from my Nexus 4 using xda app-developers app
Just flash the stock images for kit Kat when they are available, right now back up all your data
Sent from my Nexus 4 using xda app-developers app
sacramento458 said:
Hey guys quick question my n4 is rooted and running cm10.1.3. I never bothered to upgrade to 4.3, so my radio, kernel and bootloader are stock 4.2.2. Is it better to get the ota update and be up on things or flash stock kernel, boot loader and radio for 4.4 when ever there available? Or maybe factory image?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
my friend as this will pop up all over the forum the best thing to do is just wait for a rooted version to show up. I did not upgrade my bootloader and I have not had any issues with 4.3 which mind you is a great running OS you should try it.
I dont understand having root then unrooting to flash stock which you obviously dont like since you run cm and then wait to root it all over again to back an upgraded rooted version of cm...
aanonymoushuman said:
Just flash the stock images for kit Kat when they are available, right now back up all your data
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Alright thanks will do
Sent from my Nexus 4 using xda app-developers app
Question on the way for the custom recovery+kernel guys on 4.3 what is the best to upgrade besides wiping your entire phone and flashing the stock images entirely?.
I think i know 2 ways just not sure they are recommended, 1st is flashing stock kernel + returning recovery to stock (should get OTA)
2nd is flashing only the system.img and the bootloader me thinks.
Feel free to verify this.
:good:
playya said:
my friend as this will pop up all over the forum the best thing to do is just wait for a rooted version to show up. I did not upgrade my bootloader and I have not had any issues with 4.3 which mind you is a great running OS you should try it.
I dont understand having root then unrooting to flash stock which you obviously dont like since you run cm and then wait to root it all over again to back an upgraded rooted version of cm...
Click to expand...
Click to collapse
You make a lot of sense ,its more of curiosity and so I won't brick my nexus. So I can get away with not upgrading my bootloader for 4.4?
What about kernel, do I need to update that for 4.4 or is that judgement call?
Sent from my Nexus 4 using xda app-developers app
sacramento458 said:
You make a lot of sense ,its more of curiosity and so I won't brick my nexus. So I can get away with not upgrading my bootloader for 4.4?
What about kernel, do I need to update that for 4.4 or is that judgement call?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
you are asking questions that trial and error are going to figure out for us. Kernels of course if you are on a 4.4 rom you would use a 4.4 kernel. Upgrading your bootloader may or may not be needed but we wont know until kitkat starts popping. everyone said you needed to upgrade bootloader for 4.3 but I have never had any issue at all.... Just wait it out and read read read
Tricepz said:
Question on the way for the custom recovery+kernel guys on 4.3 what is the best to upgrade besides wiping your entire phone and flashing the stock images entirely?.
I think i know 2 ways just not sure they are recommended, 1st is flashing stock kernel + returning recovery to stock (should get OTA)
2nd is flashing only the system.img and the bootloader me thinks.
Feel free to verify this.
:good:
Click to expand...
Click to collapse
Not to sure but as long as you're on stock ROM and stock kernel you should be fine although I don't know if custom recovery keeps you from getting update.
Sent from my Nexus 4 using xda app-developers app
playya said:
you are asking questions that trial and error are going to figure out for us. Kernels of course if you are on a 4.4 rom you would use a 4.4 kernel. Upgrading your bootloader may or may not be needed but we wont know until kitkat starts popping. everyone said you needed to upgrade bootloader for 4.3 but I have never had any issue at all.... Just wait it out and read read read
Click to expand...
Click to collapse
Thanks for the clarification, appreciate the support.
Sent from my Nexus 4 using xda app-developers app
sacramento458 said:
Thanks for the clarification, appreciate the support.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
no problem hopefully you can pass it on to others like you who may be unsure of what to do...
playya said:
no problem hopefully you can pass it on to others like you who may be unsure of what to do...
Click to expand...
Click to collapse
Absolutely bro
You do have to be on stock recovery, stock bootloader for the update to go thru properly otherwise it'll fail.
Tricepz said:
Question on the way for the custom recovery+kernel guys on 4.3 what is the best to upgrade besides wiping your entire phone and flashing the stock images entirely?.
I think i know 2 ways just not sure they are recommended, 1st is flashing stock kernel + returning recovery to stock (should get OTA)
2nd is flashing only the system.img and the bootloader me thinks.
Feel free to verify this.
:good:
Click to expand...
Click to collapse
If you are still on stock rom and you just have custom kernel+recovery, U could do the following for not using any current apps or files.
- Wait till your favorite Toolkit (e.g Wug) get updated for 4.4 and then download the official factory rom.
- Extract it and keep all separate zips, like radio, bootloader,system etc.
- Unroot and flash stock kernel
- Flash all previous zips, EXCEPT user.img which will delete everything
- Reroot and U r ready to flash again custom kernel
Maybe a noob question but my n4 is rooted. Will this cause any problems withe the update?
Sent from my Nexus 4 using xda app-developers app
RASTAVIPER said:
If you are still on stock rom and you just have custom kernel+recovery, U could do the following for not using any current apps or files.
- Wait till your favorite Toolkit (e.g Wug) get updated for 4.4 and then download the official factory rom.
- Extract it and keep all separate zips, like radio, bootloader,system etc.
- Unroot and flash stock kernel
- Flash all previous zips, EXCEPT user.img which will delete everything
- Reroot and U r ready to flash again custom kernel
Click to expand...
Click to collapse
The original stock kernel of 4.3 is on the bootloader.img on the google source code aye?
Thanks, now we just need to wait for the official 4.4 on google's developers.
Tricepz said:
The original stock kernel of 4.3 is on the bootloader.img on the google source code aye?
Thanks, now we just need to wait for the official 4.4 on google's developers.
Click to expand...
Click to collapse
Here a direct link for stock kernel 0.84 from JWR66V factory image
http://d-h.st/cIJ
Hello,
My phone has already had the radio upgraded to latest so it can run 4.3. I am rooted, have TWRP 2.6.3.0, will I be ok to flash the PA 4.4 and gapps? I keep posts about folks losing their sdcard data and their custom recovery being removed (not sure how!).
Thanks.
Schur1k said:
Maybe a noob question but my n4 is rooted. Will this cause any problems withe the update?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have a custom recover?
Sent from my Nexus 4 using xda app-developers app
Schur1k said:
Maybe a noob question but my n4 is rooted. Will this cause any problems withe the update?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have a custom recovery?
Sent from my Nexus 4 using xda app-developers app
maritimesbob said:
Hello,
My phone has already had the radio upgraded to latest so it can run 4.3. I am rooted, have TWRP 2.6.3.0, will I be ok to flash the PA 4.4 and gapps? I keep posts about folks losing their sdcard data and their custom recovery being removed (not sure how!).
Thanks.
Click to expand...
Click to collapse
I'm sure that radio doesn't affect your ability to flash certain ROMs so you shouldn't have a problem flashing 4.4. As far as losing SD data not sure how that's happening.
Sent from my Nexus 4 using xda app-developers app

[Q] Rooting, CM and upcomming Android 4.4

I want to root my Nexus 4 and install newest CM. One problem is, that there is Android 4.4 update comming soon. So if I root my Nexus and install CM, can I get my phone back to stock and update Android to 4.4?
Yes. You can either flash the 4.4 images, or simply install a 4.4 based custom ROM (the more practical solution my opinion) since you will already have installed a custom recovery.
Sent using xda-developers app
If I have CM installed, can I somehow get everything to stock. Like my Nexus 4 just came out of box?
Sent from my Nexus 4 using xda app-developers app
Altti said:
If I have CM installed, can I somehow get everything to stock. Like my Nexus 4 just came out of box?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yes there is a very good guide by efrant in original section if i am not wrong.. Follow the guide and your mob is back to stock..:good:
I am following the same,because I screwed up my root.
press thanks if I helped you.

Categories

Resources