How to get back to stock kernel via adb? Wanna try Franco. - Nexus 4 Q&A, Help & Troubleshooting

I am stock and rooted and I don't want to flash a custom recovery. I'm cool with using adb if someone tells me the steps.
Can anyone give me the steps via adb to install Franco and come back to stock if I need it?
Sent from my Nexus 7 using xda app-developers app

You need fastboot. Not adb.
fastboot flash boot boot-r32.img
Sent from my Nexus 7 using xda premium

Why don't you want to flash a custom recovery? That makes no sense.
Sent from my Nexus 4 using xda premium

ksc6000 said:
I am stock and rooted and I don't want to flash a custom recovery. I'm cool with using adb if someone tells me the steps.
Can anyone give me the steps via adb to install Franco and come back to stock if I need it?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Any custom recovery will get overwritten upon reboot unless you patch the file. There are no risks to using a custom recovery to flash stuff. However, El gave you the correct fastboot command if you plan on going that route.

Alternatively, you can try fastboot boot boot.img [insert filename]
Sent from my Nexus 4 using Tapatalk 2

http://forum.xda-developers.com/announcement.php?a=81
Check out number one. That should fix you up :thumbup:

Thanks.
I'll use the fastboot command. I keep getting adb and fastboot mixed up.
So I know how to flash franco's kernel if I want to. What about going back to stock?
I remember reading it's not as easy as simply finding the stock kernel and fastboot flashing that, because Franco's kernel also changes some other things. Is it?

It's easiest just to use a custom recovery do a nandroid backup flash the kernel then if you want to go back to stock just restore the nandroid
I know you don't want to use a custom recovery but this is the easiest way.
Sent from my Nexus 7 using Tapatalk 2

ksc6000 said:
Thanks.
I'll use the fastboot command. I keep getting adb and fastboot mixed up.
So I know how to flash franco's kernel if I want to. What about going back to stock?
I remember reading it's not as easy as simply finding the stock kernel and fastboot flashing that, because Franco's kernel also changes some other things. Is it?
Click to expand...
Click to collapse
It's just as easy as flashing Franco. Just find stock kernel and fastboot flash it. Franco had its own ramdisk if that's what you mean but boot images overwrite them so no worries
Sent from my Nexus 4 using xda app-developers app

kyokeun1234 said:
It's just as easy as flashing Franco. Just find stock kernel and fastboot flash it. Franco had its own ramdisk if that's what you mean but boot images overwrite them so no worries
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you.

ksc6000 said:
Thank you.
Click to expand...
Click to collapse
Press the thanks button if he helped. Not reply

i dont see that any one has uploaded the stock rom odexed ....

ksc6000 said:
Thanks.
I'll use the fastboot command. I keep getting adb and fastboot mixed up.
So I know how to flash franco's kernel if I want to. What about going back to stock?
I remember reading it's not as easy as simply finding the stock kernel and fastboot flashing that, because Franco's kernel also changes some other things. Is it?
Click to expand...
Click to collapse
Go to faux's kernel thread and download the kernel reset zip. That way you can go back to Franco's kernel without the need for your computer.
Sent from my Nexus 4 using xda premium

Related

I think i bricked my phone flashing Faux kernel

I need help.
Today i tried flashing the faux kernel using CWM and when my phone rebooted got stuck at boot (google screen)
I rebooted in recovery and tried flashing again but the same problem happen.
Now im stuck,
I can't load any file because on the computer i am using the drivers are not installed.
What shall I do?
sampy14 said:
I need help.
Today i tried flashing the faux kernel using CWM and when my phone rebooted got stuck at boot (google screen)
I rebooted in recovery and tried flashing again but the same problem happen.
Now im stuck,
I can't load any file because on the computer i am using the drivers are not installed.
What shall I do?
Click to expand...
Click to collapse
So you have no backup or another file you can flash? If not, install drivers...
This also belongs in QA.
Sent from my Nexus 4 using Tapatalk 2
Install correct drivers and flash stock rom with adb. Else use the toolkit.
CMNein said:
So you have no backup or another file you can flash? If not, install drivers...
This also belongs in QA.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Sorry i tought i posted it in QA.
I can't get to install drivers with the phone turned on in fastboot.
sampy14 said:
Sorry i tought i posted it in QA.
I can't get to install drivers with the phone turned on in fastboot.
Click to expand...
Click to collapse
Are you running Windows?
Sent from my Nexus 4 using xda app-developers app
Ace42 said:
Are you running Windows?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
yes I am
We can't debug your windows pc... Fast boot drivers can/will install fine. Try another computer and see if the toolkit will get you going.
Edit: all you need to do is read, read the stickies and read tutorials on how to return to stock. The drivers will install without being inside Android
Sent from my Nexus 4 using xda premium
sampy14 said:
yes I am
Click to expand...
Click to collapse
Remove the current n4 drivers with device manager in windows. Then find the proper drivers here on xda in the n4 general section. After that you should be able to use the toolkit to boot to recovery or flash a stock build.
Sent from my Nexus 4 using xda app-developers app
Haha
i managed to install the drivers. Now im downloading the stock image and i'll flash it with the toolkit
sampy14 said:
i managed to install the drivers. Now im downloading the stock image and i'll flash it with the toolkit
Click to expand...
Click to collapse
Btw when you used cwm did you use the clockwork app or the actual recovery?
Sent from my Nexus 4 using xda app-developers app
Why not just flash the ROM your on ?
Sent from my Nexus 4 using Tapatalk 2
Ace42 said:
Btw when you used cwm did you use the clockwork app or the actual recovery?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
the actual recovery.
anyway i fixed it.
I just flashed the franco kernel and it worked.
sampy14 said:
the actual recovery.
anyway i fixed it.
I just flashed the franco kernel and it worked.
Click to expand...
Click to collapse
I know why it went into bootloop. To flash other kernals aside frmo Francos...you need to flash stock boot image. Francos kernal has you flash his boot image in order to flash his kernal. I dont know why this is the case on the nexus 4, maybe because he is building blindly without a nexus 4 present with him.
The Gnexus wasnt like this but.....thats why you went into boot loop. I just skimmed his thread and found out your case was due to the above.
kioshi said:
I know why it went into bootloop. To flash other kernals aside frmo Francos...you need to flash stock boot image. Francos kernal has you flash his boot image in order to flash his kernal. I dont know why this is the case on the nexus 4, maybe because he is building blindly without a nexus 4 present with him.
The Gnexus wasnt like this but.....thats why you went into boot loop. I just skimmed his thread and found out your case was due to the above.
Click to expand...
Click to collapse
yes you are totally right. I have never had any problem with my galaxy nexus, thats why i didn't think twice before doing it.
Think the op should change the title of the 3d as it is misleading and blame faux for nothing
Sent from my Nexus 4 using Tapatalk 2
kaiowas82 said:
Think the op should change the title of the 3d as it is misleading and blame faux for nothing
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
3d? Funny way to spell thread
you were supposed to flash reset kernel first then faux kernel!! read the op!!! >.<
You can't brick a Nexus LOLs. Just download the toolkit. Easy way to fix your phone.
Sent from my Nexus 4 using Tapatalk 2
kioshi said:
I know why it went into bootloop. To flash other kernals aside frmo Francos...you need to flash stock boot image. Francos kernal has you flash his boot image in order to flash his kernal. I dont know why this is the case on the nexus 4, maybe because he is building blindly without a nexus 4 present with him.
The Gnexus wasnt like this but.....thats why you went into boot loop. I just skimmed his thread and found out your case was due to the above.
Click to expand...
Click to collapse
Franco uses his own ram disk. Other kernels do not. This is why you need to flash back to stock first.
Sent from my Nexus 4 using Tapatalk 2

[Q] Stock kernel

I'm searching for a flashable stock kernel 3.4.0-perf-g7ce11cd.... for 4.2.2 JDQ39, but without any luck. It can be also boot.img with flashable modules if they're needed. Maybe I don't use right terms in search, don't know Handicap for non-english speakers
Can someone point me to the right direction please?
Thanks
Edit: Never mind...done
Get it from the stock JDQ39 factory image from Google and flash it via fastboot - nice and easy!
Are here modules also needed? If I want to change kernel on Htc One X I have to flash modules in recovery after boot.img.
Sent from my Nexus⁴
rawdealer said:
Are here modules also needed? If I want to change kernel on Htc One X I have to flash modules in recovery after boot.img.
Sent from my Nexus⁴
Click to expand...
Click to collapse
Nope, just flash and go
Only think to make sure of is that it's a Nexus 4 (Mako) kernel. There's too many threads on here with people that have bricked theirs by using a Nexus 7 kernel :crying:
Check it before flashing, then check it again. And just before flashing check it one more time...
That happens because they're superficial
Sent from my Nexus⁴
Here you go!
http://db.tt/8VLAtuuO
Sent from my Nexus 4 using Tapatalk 2
Thanks
Sent from my Nexus⁴

How to upgrade Android version when on custom ROM

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.

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

[Q] lost touch on twrp

I had a theme installed on tarp recovery I ran the zip to remove the theme now tarp recovery starts fine but I have no touch so I can't do anything even.if I reflash the recovery still nothing can anyone help?
Try to erase twrp, download a fresh copy and flash it... Via fastboot you can find the commands here post #3 make sure you grab the right one.. If your on kk grab the kk one on jb grab a jb one
Sent from my XT907 using XDA Premium 4 mobile app
ezknives said:
Try to erase twrp, download a fresh copy and flash it... Via fastboot you can find the commands here post #3 make sure you grab the right one.. If your on kk grab the kk one on jb grab a jb one
Sent from my XT907 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks but I got it I just used the twrp manager to flash the flashback2JBbootloader.zip and it did it all for me
kehres83 said:
Thanks but I got it I just used the twrp manager to flash the flashback2JBbootloader.zip and it did it all for me
Click to expand...
Click to collapse
Had the same problem. Where did you find the flashback--.zip?
http://www.droidrzr.com/index.php/topic/50096-how-tomobile-downgrader-flash-back-10-0
http://www.droidrzr.com/index.php/t...owngrader-flash-back-10-07-15-14/#entry449009
kehres83 said:
http://www.droidrzr.com/index.php/t...owngrader-flash-back-10-07-15-14/#entry449009
Click to expand...
Click to collapse
Works great for flashing back and forth from kk to jb also
I have done it a few times
kehres83 said:
Works great for flashing back and forth from kk to jb also
I have done it a few times
Click to expand...
Click to collapse
Thanks for the link.
I'll give it a try. This should be just what I need to try out the roms that need the older bootloader.
Sure is
Sent from my DROID RAZR M using Tapatalk

Categories

Resources