Custom kernel and root - Nexus 4 Q&A, Help & Troubleshooting

I flashed a custom kernel and rooted my phone, still using stock rom. Will I get Lollipop on OTA update?
Thanks.

jjforums said:
I flashed a custom kernel and rooted my phone, still using stock rom. Will I get Lollipop on OTA update?
Thanks.
Click to expand...
Click to collapse
Nope you have to go back to stock and lock your bootloader
Sent from my Nexus 4 using XDA Free mobile app

phetam said:
Nope you have to go back to stock and lock your bootloader
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
That is incorrect, you can get an OTA with an unlocked bootloader, but you must have stock recovery on an official ROM. If you are already rooted it is a coin toss, depends what has been changed, it may work or it may fail, but you will lose root.
That being said, many root methods replace recovery, so it is best to not take an OTA if you have modified your system from stock if you really don't know what you are doing, either flash stock images when they come available manually, or wait and flash radios/bootloader manually and use a custom ROM... it is, after all, a Nexus device.

acejavelin said:
That is incorrect, you can get an OTA with an unlocked bootloader
Click to expand...
Click to collapse
TIL, thank you.
Sent from my Nexus 4 using XDA Free mobile app

So... How to get stock recovery/kernel/rom back? I'm running stock rom with cwm and semaphore kernel.

jjforums said:
So... How to get stock recovery/kernel/rom back? I'm running stock rom with cwm and semaphore kernel.
Click to expand...
Click to collapse
Easiest to download the lollipop factory image and flash in bootloader, then you don't need OTA. Backup your data first!
If you insist on using the OTA, you'll have to first lay your hands on flashable zips / images of Stock recovery and kernel, flash them in cwm/ bootloader, then install the OTA.
Theres also a flashable zip of lollipop (search for thread in xda) that you can flash in cwm.

Tried to use fastboot (flashed bootloader) but I got no menu in recovery options, when I chose 'Recovery mode' in bootloader, I only see that dead android with a question mark, but nothing happens when I press volume down or volume up. Any idea?

jjforums said:
Tried to use fastboot (flashed bootloader) but I got no menu in recovery options, when I chose 'Recovery mode' in bootloader, I only see that dead android with a question mark, but nothing happens when I press volume down or volume up. Any idea?
Click to expand...
Click to collapse
The dead android screen is the stock recovery, to see the menu press and hold Power button, then press volume up.

Related

I9023 recovery problem

I have a NS I9023. It was on stock 2.3.6 with locked bootloader and stock recovery.
I flashed the official ICS ROM which is working fine. But I am not able to see recovery. It's a problem many have reported but I have not come across a solution.
Can somebody please help. I would like to goback to 2.3.6 and wait for the OTA for my device.
Thanks.
You can flash the stock recovery image from 2.3.6 using fastboot and install 2.3.6 using signed update zips from google
Sent from my Nexus S using Tapatalk
Got back to 2.3.6 lock and stock. Phew....
I had to go through the same process for the same reason. After this journey through ICS on the NS, I'm really looking forward to the OTA for our i9023.
I was on the nexusbeam 3.0 rom, flashed back to stock 2.3.6, lost root and cwm, flashed the OTA via the stock recovery and then flashed cwm via fastboot and su.zip via cwm, no problems.
did anyone try that?
http://forum.xda-developers.com/showthread.php?t=1396959
I follow this guide and then install CWM by Rom Manager and it working now
After flashing ics4.03 ur recovery and boptloader are overwriten by rom itself. So if u want to access cwm u have to flash cwm everytime. Tats what im doing atm... sad
Sent from my Nexus S using XDA Premium App
tonylee83 said:
After flashing ics4.03 ur recovery and boptloader are overwriten by rom itself. So if u want to access cwm u have to flash cwm everytime. Tats what im doing atm... sad
Click to expand...
Click to collapse
AOSP roms flash recovery on reboot. To stop this (with root) use whatever explorer/editor you have available to rename/delete the /etc/install-recover.sh
Then flash CWM and it's permanent.
The recovery screen is actually there. Use a flashlight and flash it at the black screen.
wittereus said:
The recovery screen is actually there. Use a flashlight and flash it at the black screen.
Click to expand...
Click to collapse
What he said. It seems that some people with 9023 can't see the recovery because its too dark, many are remembering button sequence to go through it
athani said:
Got back to 2.3.6 lock and stock. Phew....
Click to expand...
Click to collapse
Can you explain to me how to do that? I'm not liking ICS with all the bugs and would like to revert to stock. Can you help me? I have i9023.
Aequilibrium said:
Can you explain to me how to do that? I'm not liking ICS with all the bugs and would like to revert to stock. Can you help me? I have i9023.
Click to expand...
Click to collapse
You will have to unlock boot loader. Then use fast boot to flash custom rom. Then flash stock rom using the custom rom. You may then lock the boot loader if you like.
athani said:
You will have to unlock boot loader. Then use fast boot to flash custom rom. Then flash stock rom using the custom rom. You may then lock the boot loader if you like.
Click to expand...
Click to collapse
Make that custom recovery in the previous post.
i dont se a ****!! I really need to get back to gb my wifi is not working!

[Q] Flash Stock Recovery

Hi guys, I have my Nexus 4 with CWM + SuperSU and I want to ask about flash Stock Recovery..
When i choose reboot on CWM it says if I want to prevent the phone from flashing the Stock Recovery. I saw somewhere that we'll have Android 5.0 in September, I know I need to be Stock ROM, Stock Recovery, etc.. So can I just choose "no" and my Nexus 4 will flash automatically on the Stock Recovery?? or I need to manually flash via fastboot..
Another thing is: Do I need to unroot, or OTA will override the Root??
Thanks a lot, Sorry for bad English..
rcoliveirajr said:
Hi guys, I have my Nexus 4 with CWM + SuperSU and I want to ask about flash Stock Recovery..
When i choose reboot on CWM it says if I want to prevent the phone from flashing the Stock Recovery. I saw somewhere that we'll have Android 5.0 in September, I know I need to be Stock ROM, Stock Recovery, etc.. So can I just choose "no" and my Nexus 4 will flash automatically on the Stock Recovery?? or I need to manually flash via fastboot..
Another thing is: Do I need to unroot, or OTA will override the Root??
Thanks a lot, Sorry for bad English..
Click to expand...
Click to collapse
You are thinking too far ahead. When 5.0 will come out, there will be flashable zips available long before you get the official OTA update, so there's no need for the stock recovery.
abaaaabbbb63 said:
You are thinking too far ahead. When 5.0 will come out, there will be flashable zips available long before you get the official OTA update, so there's no need for the stock recovery.
Click to expand...
Click to collapse
Ok, but flash via Fastboot, or use the CWM option is the same or no?
rcoliveirajr said:
Ok, but flash via Fastboot, or use the CWM option is the same or no?
Click to expand...
Click to collapse
Kind of the same.
Thanks
Sent from my Nexus 4 using xda app-developers app

Recovery won't flash

I had to do a complete wipe from the computer and flashed clockwork mod recovery. Since it was likely an old version I had the double 0 partition problem which I fixed by manually moving the files. I tried to update the recovery to twrp, but it won't flash using goomanager. It downloads and says it's flashed but it's not there.
I also seem to have a weird problem where I have to push the power button to get it to boot past the Google screen. If I don't push power it gets stuck there forever.
Any ideas?
Sent from my Galaxy Nexus using Tapatalk 4
Follow the sticky at the top that says flashing a factory ROM using fastboot/return to stock. Start from scratch, get it working, and then flash whatever you want.
Sent from my Nexus 7(2012) that has zero issues.
SlowCobra96 said:
Follow the sticky at the top that says flashing a factory ROM using fastboot/return to stock. Start from scratch, get it working, and then flash whatever you want.
Sent from my Nexus 7(2012) that has zero issues.
Click to expand...
Click to collapse
That's what I did, that's why I'm stuck on the old recovery.
Sent from my Nexus 7 using Tapatalk 4
T-Keith said:
That's what I did, that's why I'm stuck on the old recovery.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
This might be an odd question, but have you tried just updating CWM first, and THEN flashing TWRP? Sometimes the flash won't go smoothly with an older version of one recovery to a newer version of a different recovery- not sure why, but that's just been my experience. I would update CWM first then try flashing TWRP.
Also, if goo is not working for you, you could try Rom Manager to update CWM and then flash TWRP. It can flash either. (If you really want to flash via the device).
Otherwise, (me personally) I'd just use adb fastboot to flash a new recovery.
Hope that helps
Thanks I will try that.
Sent from my Galaxy Nexus using Tapatalk 4
T-Keith said:
Thanks I will try that.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
No problem. Let us know how it works out for you.
Tried flashing with fastboot, now it won't boot into recovery, just hangs at the Google logo.
Still needs a bump from the power button to get it to boot normally.
Sent from my Galaxy Nexus using Tapatalk 4
T-Keith said:
Tried flashing with fastboot, now it won't boot into recovery, just hangs at the Google logo.
Still needs a bump from the power button to get it to boot normally.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
Ahh, that sucks! How are you *attempting to* access recovery... via reboot menu, via adb, or via 3-button press? It shouldn't matter, but you could try all three methods to see if any way will give you recovery access. Then, if/when you manage to get in, you could reflash again straight from recovery. I'm going to do some digging to see if I can find a better solution. I KNOW I've read about the same issue before, I know there's a solution... I just have to find it again.
Worse comes to worse, you might have to reflash stock recovery then reflash custom recovery. Might be a corrupt recovery img, but I will check and try some things out and let you know what I find.
Edited to add:
Yes. there was a bug in the older bootloader that bypassed/refused access to recovery... so since you restored stock, you probably need to update your bootloader to at least to version 4.18 (via fastboot). THEN you should be able to access recovery. I can't add links, but I can give you a text link once I find just the IMG file instead of the full firmware. Honestly, I never do backups so I don't have the file on hand. However, I may do one backup at least so I can extract my boot img and give it to you.
OK, so I found the info I was looking for.
From Elsewhere:
Steps:
Install latest nexus 7 bootloader.
This fixes the boot loader bug and now you can enter recovery from the bootloader screen.
Update the bootloader to at least 3.18. Make sure NOT TO DELETE THE BOOTLOADER!!!!!!!!!!!!!
I cannot emphasize this enough!!!!!!!!!!! I bricked my first one this way.
Use
fastboot flash bootloader C:\>>>>>>\bootloader-grouper-3.18.IMG***
Click to expand...
Click to collapse
Do NOT erase bootloader before you flash the new one. And after you have flashed the new one type;
fastboot reboot bootloader
Click to expand...
Click to collapse
and check the bootloader version to make sure you succeeded.
Click to expand...
Click to collapse
***Or whatever you name the boot img file!***
https://dl.dropboxusercontent.com/u/19608328/boot.img.zip --> This is from MY Nexus 7. It's Bootloader version 4.23, and works with JB 4.2.2- it does NOT have the recovery access bug.
https://dl.dropboxusercontent.com/u/19608328/recovery.img.zip --> This is a copy of MY CWM, which I just updated to 6.0.3.6 yesterday.
I'd flash the bootloader, then flash your recovery of choice. Not being able to access recovery is a bootloader issue, not a recovery issue. The fact that you restored/reverted an older full firmware put you on an older bootloader that would not allow users to access recovery.
Try the new(er) bootloader, it should work. My device is a 16gb grouper Nexus 7 running 4.2.2. Before that, it ran 4.1.2 without any issues, so it should work to resolve the problem you're having.

Verizon 4.4 OTA

I pulled this from my phone and posted it in the other thread, and someone suggested I make a thread for it. Here it is!
http://j2cool.com/mirror/files/Blur_Version.139.15.1.ghost_verizon.Verizon.en.US.zip
To install, you will need to be on the latest OTA (camera update).
Fastboot flash the original system.img and recovery,img
You can then use the volume down key to select "Recovery"
Once in recovery, press the power button and volume buttons together to bring up the menu,and select "Install from SDcard"
You can then select the OTA, and install it. Your phone will reboot, and you will have to do this again from the new recovery. You should then be able to reboot system and have your new 4.4 Kitkat Moto X!
Sent from my XT1060 using Tapatalk
Whoops. Replied while trying to edit. Mobile forum use is a pain.
Sent from my XT1060 using Tapatalk
Chrome says this file is dangerous
km8j said:
Chrome says this file is dangerous
Click to expand...
Click to collapse
Chrome is smart, Chrome knows a Verizon update image is too good to be true :laugh:
What's the install method for VZW Dev Ed?
Flash system.img but not boot.img?
Mercutio5 said:
What's the install method for VZW Dev Ed?
Flash system.img but not boot.img?
Click to expand...
Click to collapse
You don't need boot.img in either. Now, I don't know how the dev ed works, maybe it's just the exact same with an unlocked bootloader, so let me know how installing goes.
km8j said:
Chrome says this file is dangerous
Click to expand...
Click to collapse
Because it's a large zip file from somewhere no one has downloaded before. I promise you, it's safe and clean though.
Mercutio5 said:
What's the install method for VZW Dev Ed?
Flash system.img but not boot.img?
Click to expand...
Click to collapse
Dev edition you can install like any other device. The benefit is that you can flash custom files without recovery flipping its ****.
Sent from my XT1080MDEV.
Will this work on GSM dev edition?
tesselator said:
Will this work on GSM dev edition?
Click to expand...
Click to collapse
Only if you want to break your phone.
This is for Verizon.
Whats the procedure for flashing this on a rooted verizon dev edition
Gs0230 said:
Whats the procedure for flashing this on a rooted verizon dev edition
Click to expand...
Click to collapse
Put the zip in internal storage. Go into stock recovery, install zip, choose this update zip. Because one of the first things it does it flash a new recovery, you have to go into recovery again and install zip again (the second time around it knows it doesn't have to flash the recovery).
Of course, since this way uses stock recovery, you have to be running stock.
I'm on stock just rooted with unlocked bootloader twrp 2.6.3 installed will I lose root
Sent from my XT1060 using XDA Premium 4 mobile app
Gs0230 said:
I'm on stock just rooted with unlocked bootloader twrp 2.6.3 installed will I lose root
Sent from my XT1060 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You need to use stock recovery. After the update u can install twrp and root again
Can I keep root and how do i revert to stock recovery
Gs0230 said:
I'm on stock just rooted with unlocked bootloader twrp 2.6.3 installed will I lose root
Sent from my XT1060 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, you're going to lose root (the update will wipe out System). If you have an unlocked bootloader then it isn't a big deal -- just re-root after the update.
BUT don't try to flash this update with twrp installed. 1) I'm pretty sure it won't work anyway b/c it needs to verify that your System is stock and, at the very least, installing twrp changes the install-recovery script which is in System 2) this .zip file is made to be flashed from a stock recovery, so I'm not sure it would work 3) as I said before, part of this update is a new recovery - I'm not sure how well the process would go if you started from twrp
And how would I root after its done
Gs0230 said:
And how would I root after its done
Click to expand...
Click to collapse
The same way you rooted before?
I'm sorry, I've been assuming you have a Dev edition b/c you said you had twrp -- is that not the case? If you do NOT have a dev edition and you rooted via pwn- or rock- or whatever its called myMoto then NO, you will NOT be able to root after the update until someone releases another hack
piccit said:
Put the zip in internal storage. Go into stock recovery, install zip, choose this update zip. Because one of the first things it does it flash a new recovery, you have to go into recovery again and install zip again (the second time around it knows it doesn't have to flash the recovery).
Of course, since this way uses stock recovery, you have to be running stock.
Click to expand...
Click to collapse
I got this the second time (with the new recovery):
"Install aborted"
:|
Maybe the battery level is too low, so i'm gonna charge it a little and see what happens
PS: the "normal" OTA is downloading SO slow D: that's why i'm trying the one in this thread
------EDIT----
For some reason the download speed just increased, so i'm staying with it
I cannot flash this in TWRP right?

[Q] how to flash twrp after update VFW 4.4.2

my phone is bootloader unlock, does it mean I can flash the third part recovery like TWRP, and use it?
MY guess yes..
Sent from my LT30p using Tapatalk
allen_ho said:
my phone is bootloader unlock, does it mean I can flash the third part recovery like TWRP, and use it?
Click to expand...
Click to collapse
TWRP will not work on the OTA, yet. However, there is a working CWM in the HD forum. I flashed it to my M and have zero issues with it.
RikRong said:
TWRP will not work on the OTA, yet. However, there is a working CWM in the HD forum. I flashed it to my M and have zero issues with it.
Click to expand...
Click to collapse
I flashed the CWM recovery too...it does boot to recovery
but it seems to be some problem with CM11 package, the assert check shows my device ID is empty so the recovery just abort the installation.
I want to flash CM11-m6 snapshot....any ideas?
falleny said:
I flashed the CWM recovery too...it does boot to recovery
but it seems to be some problem with CM11 package, the assert check shows my device ID is empty so the recovery just abort the installation.
I want to flash CM11-m6 snapshot....any ideas?
Click to expand...
Click to collapse
CM11 won't work if you've updated. Apparently, the boot loader is updated and the ROMs haven't been updated for it.
Sent from my HTC6525LVW using Tapatalk
RikRong said:
CM11 won't work if you've updated. Apparently, the boot loader is updated and the ROMs haven't been updated for it.
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
Bad news...Looks like i will be stucked in full bloated stock rom for sometime...thank u
falleny said:
Bad news...Looks like i will be stucked in full bloated stock rom for sometime...thank u
Click to expand...
Click to collapse
You have an unlocked BL, just flash SU to get root, and delete/freeze apps. That's pretty much what I did and used Xposed on top of that.
I haven't tried it yet, buy couldn't you just rsd back to an earlier build then flash your custom ROM?
Sent from my XT907 using Tapatalk
I fastboot flash the lastest CWM recovery, but it didn't work for the CM 4.4.2 ROM, and twrp, it didn't work again. why? does the VFW rom change something?
allen_ho said:
I fastboot flash the lastest CWM recovery, but it didn't work for the CM 4.4.2 ROM, and twrp, it didn't work again. why? does the VFW rom change something?
Click to expand...
Click to collapse
None of the ROMs have been updated to work with the new recovery. Just give it time.
RikRong said:
None of the ROMs have been updated to work with the new recovery. Just give it time.
Click to expand...
Click to collapse
what's that mean?
do you mean the third part recovery didn't work cause the VFW rom?
allen_ho said:
what's that mean?
do you mean the third part recovery didn't work cause the VFW rom?
Click to expand...
Click to collapse
It means that none of the ROMs out right now will work with the new CWM. Also, quit trying flash TWRP. TWRP is not compatible with the new KK, yet.
Got it, many thanks
Root
My xt907 Has the OTA 4.4 update and an unlocked BL. I don't have a custom recovery installed anymore. Is it possible to flash SU or superuser and get root with fastboot. If so. Please help! Thanks. I'm ok with flashing CWN if need be. I just want root to install a Xposed and remove bloatware.
Ahoalton said:
My xt907 Has the OTA 4.4 update and an unlocked BL. I don't have a custom recovery installed anymore. Is it possible to flash SU or superuser and get root with fastboot. If so. Please help! Thanks. I'm ok with flashing CWN if need be. I just want root to install a Xposed and remove bloatware.
Click to expand...
Click to collapse
I'm pretty sure you can use fastboot/ADB to sideload zips, though I'm not super familiar with the commands so I wouldn't know how to explain it to you.
I am familiar enough with the commands, but I am unable to find the zips to flash. any help would be great.
Thanks,
Egg all over the face
I was one of the people who thought it would be cool to update to the OTA immediately without waiting and reading... I got the CWM recovery going and rooted stock 4.2.2 , but I really cant wait for TWRP to get updated so I can get back to my Rom, or really any supported Rom would be better then stock. I have only myself to blame.
Eclipse00 said:
I was one of the people who thought it would be cool to update to the OTA immediately without waiting and reading... I got the CWM recovery going and rooted stock 4.2.2 , but I really cant wait for TWRP to get updated so I can get back to my Rom, or really any supported Rom would be better then stock. I have only myself to blame.
Click to expand...
Click to collapse
Looks like the new TWRP is here, but still needs one tweak. Please follow this thread for updates.
http://forum.xda-developers.com/showthread.php?p=53189684
TWRP for KitKat Bootloader
http://androidhosting.org/Devs/Dhacker29/msm8960/TWRP2710-RAZR_M-KITKAT.img

Categories

Resources