AOKP rom - Nexus 4 Q&A, Help & Troubleshooting

So i got my nexus 4 yesterday and Ive always wanted to root an android phone and install a custom rom. So i unlocked the bootloader and rooted it pretty easy. I want to flash AOKP rom. i downloaded the rom file and google apps from their website on the phone. I went into CWM recovery and installed those files from the sd card, and it says its complete. I reboot the device and it just sits on the nexus logo screen. I dont know what i did wrong. Anybody got any ideas

It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2

capcanuck said:
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
3-4 minutes

make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot

thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
yeah im pretty sure i did that all correctly, but ill try again. Also for some reason when i try to boot into recovery sometimes, instead of going into CWM, it shows the android robot open with an exclamation mark on him. Any idea what that is

^
I believe that the stock recovery...
When you first boot cmw, it does not stay permanently afterwards...
You can flash it again by downloading ROM manager??
Or somthing else..

Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app

MarcPlusTwo said:
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can't flash a ROM in fastboot, you can only flash images.
You can flash the recovery image through fastboot.
I would let it sit for more than just 3-4 minutes as well.

thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.

trillo69 said:
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
Click to expand...
Click to collapse
Unnecessary.

Surprised no one has suggested this already. This happened to me before, go back into recovery and wipe davlik cache
Sent from my Nexus 4 using xda app-developers app

Related

Liquidsmooth (can't turn on now)

I was use a nexus4tookit v1.3.0 to root my nexus 4 , however I was download a Liquidsmooth and install from sdcard , but now the mobile cannot open , just load in liquid-smooth logo screen, what can I do now? My nexus 4 is JOP40D , Thanks a lot.
You may have a bad download. Check the md5 sum or re download it and try flashing it again.
Sent from my Nexus 4 using Tapatalk 2
Restore the backup you should have made in recovery before you flashed anything.
Hold down power for ten seconds to reboot, then hold volume down to enter boot loader. You can get to recovery from there.
First off. You shouldn't be using a toolkit, they get you from Point A to Point B. But now you are trying to backtrack because your phone won't boot. This is why people shouldn't use toolkits, you are getting to Point B without knowing what you're doing.
Is it stuck at the bootanimation screen? Did you wipe factory settings when flashing the ROM?
estallings15 said:
Restore the backup you should have made in recovery before you flashed anything.
Hold down power for ten seconds to reboot, then hold volume down to enter boot loader. You can get to recovery from there.
Click to expand...
Click to collapse
I already unlock the bootloader , but I can't enter to boot loader now , just can enter to recovery mode or restart boot loader ,power off or start.:crying:
cf017 said:
I already unlock the bootloader , but I can't enter to boot loader now , just can enter to recovery mode or restart boot loader ,power off or start.:crying:
Click to expand...
Click to collapse
If you can get into recovery, you're fine. Is this your first Android phone? Your first step after rooting is always to make a backup.
Anyway, flash Franco's kernel. It plays well with liquid smooth. That should fix you up. You will figure out how if you STOP PANICKING and try.
estallings15 said:
If you can get into recovery, you're fine. Is this your first Android phone? Your first step after rooting is always to make a backup.
Anyway, flash Franco's kernel. It plays well with liquid smooth. That should fix you up. You will figure out how if you STOP PANICKING and try.
Click to expand...
Click to collapse
and not use toolkits! take the 15-25 minutes to read whats going on and not click one button to do it all for you
that's why OP is panicing because he didnt manually do it, a toolkit did it for him.
Post sent in error apologies
bash156 said:
Hi I hope you don't mind me messaging you I just noticed your last post that we should use toolkits for our phone can you please tell me what is the best way to do it I apologise for asking this is my first android phone and I'm realising that battery life is crap and I've been reading about people making changes to make their battery life live longer
Regards
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
We should use toolkits? I never said a thing about using them. The best way is to NOT use them. If this is your first android phone, it is IMPERATIVE to know simple ADB and Fastboot methods so you won't fall into the common errors when people use toolkits getting them into things they don't understand.
http://forum.xda-developers.com/showthread.php?t=1972508 is a guide to get started after you boot up, you can then proceed to go into the Original and Android dev forums to select your ROM / Kernel that you desire. I'd recommend CM10.1 (jellybro) + Franco Kernel R20. --- so after unlocking bootloader. Put the ROM, Gapps, Kernel on your phone storage using USB cable.
Use computer --- ADB... "adb reboot bootloader"
fastboot flash recovery <nameofrecovery>.img (download TWRP or CWR and put it in same folder as fastboot /platform-tools/ most likely)
boot into recovery (use volume up/down to navigate then power to enter)
wipe factory settings,dalvik,cache
flash rom then gapps then kernel (gapps and kernel can be reversed up to you)
then reboot.
done.
Apologies I meant that we should not be using tool kits my bad
Sent from my Nexus 4 using xda app-developers app
bash156 said:
Apologies I meant that we should not be using tool kits my bad
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
He answered your question with great detail. Hit the thanks button.
bash156 said:
Apologies I meant that we should not be using tool kits my bad
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
No problem. Just read what I said above, if u have any questions, feel free to ask. It's a very straight forward guide on how to unlock your bootloader. The stuff thats not included in there would be:
- Download ROM, Gapps (optional depending what rom you use. the rom says whether its included or not, if it doesnt say assume its in there), kernel (optional but recommended u switch --- upon flashing a new version u will need to reflash the kernel)
- Flashing Custom Recovery while in Bootloader Mode (which I said in my post on how to do.. basically download TWRP or CWR [you choose, i recommend twrp] and put the .img folder in the same folder as fastboot.exe)
- Use vol up / down to go to recovery in bootloader mode (it says the text on the phone)
- Wipe factory
- Flash ROM, Gapps, Kernel (gapps and kernel order doesnt matter. ROM goes first)
- Reboot to system
..... done.
edit: yeah what estallings said thanks given.
Thank you very much for your help I'm going to try and unlock the bootloader now I'll let you know how I get on to back everything that's on my phone already can I just sync to my Google account
Sent from my Nexus 4 using xda app-developers app
sorry to bother you again thanks to you I have now unlocked bootloader but im finding it confusing on what to do next I havent managed to find the cm 10.1 and franco kernal you talked about is there a link somewhere for them
bash156 said:
sorry to bother you again thanks to you I have now unlocked bootloader but im finding it confusing on what to do next I havent managed to find the cm 10.1 and franco kernal you talked about is there a link somewhere for them
Click to expand...
Click to collapse
Original development.
bash156 said:
sorry to bother you again thanks to you I have now unlocked bootloader but im finding it confusing on what to do next I havent managed to find the cm 10.1 and franco kernal you talked about is there a link somewhere for them
Click to expand...
Click to collapse
CM10.1 Jellybro: http://forum.xda-developers.com/showthread.php?goto=newpost&t=2015081
Franco Kernel: http://forum.xda-developers.com/showthread.php?t=2002782
Download CM10.1 Jellybro + Gapps + Kernel R20.
zephiK said:
CM10.1 Jellybro: http://forum.xda-developers.com/showthread.php?goto=newpost&t=2015081
Franco Kernel: http://forum.xda-developers.com/showthread.php?t=2002782
Download CM10.1 Jellybro + Gapps + Kernel R20.
Click to expand...
Click to collapse
Hi I did everything you said I flashed the cm10 gapps and kernel now its stuck on the cynogenmod logo I went back to recovery wiped everything and tried to flash cm10 and the rest again and still stuck on the cynogen mod logo have I done something wrong because I dont have anything backed up
bash156 said:
Hi I did everything you said I flashed the cm10 gapps and kernel now its stuck on the cynogenmod logo I went back to recovery wiped everything and tried to flash cm10 and the rest again and still stuck on the cynogen mod logo have I done something wrong because I dont have anything backed up
Click to expand...
Click to collapse
When you mean wipe everything... just factory settings, dalvik, cache right?
- Wipe Factory, Dalvik, Cache
- Flash CM10
- Flash Gapps
- Flash Kernel
- Reboot.
zephiK said:
When you mean wipe everything... just factory settings, dalvik, cache right?
- Wipe Factory, Dalvik, Cache
- Flash CM10
- Flash Gapps
- Flash Kernel
- Reboot.
Click to expand...
Click to collapse
I always wipe system as well. I used to not do that, but I found less phantom issues appeared if I wiped system.
estallings15 said:
I always wipe system as well. I used to not do that, but I found less phantom issues appeared if I wiped system.
Click to expand...
Click to collapse
Interesting. First time I've heard this, I will have to try that sometime although for the last year I've been pretty content with CM + Franco set up. Maybe when a new version of Android comes out, I swap over to that AOSP ROM for a little while but once CM is set, im moving.

I think BRICKED MY PHONE

I was trying to install CM10.1 for the 10th time and again it didn't work- I was stuck at the CM10.1 boot animation (I tried wiping my whole device, the cache everything). Then I decided to wipe the ROM (using TWRP) and my phone will no longer bootup at all- it is stuck at the "Google" logo. Help
All my Nandroid backups are gone... wtf do I do- is my phone broken for good?!?!?!?! :"O
Fastboot. Flash stock images. There are tutorials if you Google.
Sent from my Nexus 4 using Tapatalk 2
so, instead of wiping data(factory reset), you actually wiped the whole phone clean. you need to install adb on your computer, boot into your recovery, connect to your computer via usb, use the adb option to move your rom/gapps to your phone, then flash them via your recovery. you lost your data btw, youre gonna start fresh. next time, be careful.
If you can get to the bootloader you can flash factory images. Just out of curiosity, if it wasn't working why did you keep trying 10 times?
Sent from my Nexus 4 using xda app-developers app
simms22 said:
so, instead of wiping data(factory reset), you actually wiped the whole phone clean. you need to install adb on your computer, boot into your recovery, connect to your computer via usb, use the adb option to move your rom/gapps to your phone, then flash them via your recovery. you lost your data btw, youre gonna start fresh. next time, be careful.
Click to expand...
Click to collapse
Use toolkit to flash factory image lol
Underground_XI said:
Use toolkit to flash factory image lol
Click to expand...
Click to collapse
you know, ive got a bit of irony for you. a bit back, i had to flash the factory image at like 3am. i was a bit intoxicated and feeling lazy, so i decided to use a toolkit. i spent about an hour on it, kept getting errors and other issues with the toolkit itself. it never flashed anything. before i fell asleep, i took the 10 minutes to flash the factory image via fastboot
at4r1 said:
If you can get to the bootloader you can flash factory images. Just out of curiosity, if it wasn't working why did you keep trying 10 times?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Because I really wanted to try CM10.1 and I was trying different ways. I cleared the cache and tried, then cleared the Devk(something) cache and tried, and factory reset my phone too, it all didn't work- so I tried this and f'ed-up my phone
Underground_XI said:
Use toolkit to flash factory image lol
Click to expand...
Click to collapse
Since I was trying to flash CM10.1 can I just flash it with the Gapps from the get-go when my phone has no OS on it? Or does it need to have jelly bean ?
michaelsp9 said:
Since I was trying to flash CM10.1 can I just flash it with the Gapps from the get-go when my phone has no OS on it? Or does it need to have jelly bean ?
Click to expand...
Click to collapse
Like others said earlier I would flash the stock images with fastboot.
Tutorial is here: http://forum.xda-developers.com/showthread.php?t=2010312
It's a good thing I made a titaniumbackup and sent it to my drive before all this- at least I won't lose all my apps

Phone won't boot after attempt to do a Nandroid Backup

I wanted to install cyanogenmod on my Nexus 4 so I installed CWM recovery through ADB and then booted to it from the phone.
Before doing anything I wanted to do a Nandroid Backup but something went wrong (I suspect storage space)
So I tried to boot the device to delete some files, but I can't get past the boot screen
I still dont have any roms on the device so I cant flash them and I can't figure out how to access the SD Card, I've read it doesnt work from CWM on Nexus devices
I would try to wipe data cache or maybe lock/unlock from fastboot and hope it gets back to normal but I wanted to hear your thoughts before messing it up even more.
What dou you think?
Thanks in advance!
You can try sideloading a rom onto it if you flash TWRP.
Sent from my Nexus 4 using xda app-developers app
andyabc said:
You can try sideloading a rom onto it if you flash TWRP.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you Wiping the cache did solve it however.
Also, if this happens to someone else and wiping the cache doesnt solve it, CWM has also got a sideload install option
josealb said:
Thank you Wiping the cache did solve it however.
Also, if this happens to someone else and wiping the cache doesnt solve it, CWM has also got a sideload install option
Click to expand...
Click to collapse
Yeah, that works too.
Sent from my Nexus 4 using xda app-developers app

[Q] Need some help please

I have a Nexus 7 wifi, It is stuck at the Google screen boot looping. It is unlocked and has TWRP 2.5 which I can access. I have tried every tool kit to no avail. Need some help please!
dont use a toolkit
get to a command line and figure out whats wrong by trying to flash a factory image, or run factory reset in recovery and see if it fixes it.
Pirateghost said:
dont use a toolkit
get to a command line and figure out whats wrong by trying to flash a factory image, or run factory reset in recovery and see if it fixes it.
Click to expand...
Click to collapse
I tried factory reset but it fails. I tried to flash a factory image through side load but it fails.
If I go to advanced wipe and do them one at a time they all work except data.
It appears to have nothing on intrenal or external storage.
One other thing is when I try to mount the system in twrp it asks for a password?
I have never setup a password so I don't understand this.
Thanks
Did you encrypt your device?
Sent from my Galaxy Nexus
No, not at all that's what's so strange.
I purchased it new and it started locking up and after an attempted factory reset here we are.
Sent from my SCH-I605 using xda app-developers app
Factory reset would wipe data partition leaving nothing in data. Makes sense that it wouldnt let you wipe that when there is nothing there.
Try flashing a factory image from fast boot. Not from recovery.
Sent from my Galaxy Nexus
Would it not have to be loaded on the device? I tried it with a tool kit and it gets to the end and fails on verification.
I don't remember what version it was so that doesn't help. I think it was 4.1.2
But not positive.
Sent from my SCH-I605 using xda app-developers app
Pirateghost said:
Factory reset would wipe data partition leaving nothing in data. Makes sense that it wouldnt let you wipe that when there is nothing there.
Try flashing a factory image from fast boot. Not from recovery.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Okay seems to be a problem with twrp 2.5 as far as the password I'm downloading 2.6 now.
Use fastboot to flash new recovery and system partition. You run fastboot commands from your computer not from recovery and your device needs to be in bootloader not recovery. It does not require you to load it onto the device prior
Sent from my Galaxy Nexus
Pirateghost said:
Use fastboot to flash new recovery and system partition. You run fastboot commands from your computer not from recovery and your device needs to be in bootloader not recovery. It does not require you to load it onto the device prior
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
After reading more I decided to go with CWM for the recovery. I flashed it in fast boot and it works fine but what now?
Thanks for your time!
ugadawg67 said:
After reading more I decided to go with CWM for the recovery. I flashed it in fast boot and it works fine but what now?
Thanks for your time!
Click to expand...
Click to collapse
personally i would flash a stock system image in fastboot, root it, and use it....or pick from the hundreds of ROMs available around here.
Pirateghost said:
personally i would flash a stock system image in fastboot, root it, and use it....or pick from the hundreds of ROMs available around here.
Click to expand...
Click to collapse
What would I use to flash the stock image in fast boot? a toolkit? I have the stock img downloaded already.
ugadawg67 said:
What would I use to flash the stock image in fast boot? a toolkit? I have the stock img downloaded already.
Click to expand...
Click to collapse
you dont need a toolkit
you use fastboot command to flash.....
Pirateghost said:
you dont need a toolkit
you use fastboot command to flash.....
Click to expand...
Click to collapse
Sorry I need a little more help with that. Are you talking about from a command prompt?
Sent from my SCH-I605 using xda app-developers app
you need to do some reading
http://forum.xda-developers.com/showthread.php?t=1907796
Pirateghost said:
you need to do some reading
http://forum.xda-developers.com/showthread.php?t=1907796
Click to expand...
Click to collapse
thanks!
okay I removed my sdk folder and started over. I followed the instructions on the link and it says failed cannot load bootloader. It performs all commands until that one.
Any ideas what I'm doing wrong?
Sent from my Galaxy Note 2 using xda app-developers app
Pirateghost said:
you need to do some reading
http://forum.xda-developers.com/showthread.php?t=1907796
Click to expand...
Click to collapse
okay I removed my sdk folder and started over. I followed the instructions on the link and it says failed cannot load bootloader. It performs all commands until that one.
Any ideas what I'm doing wrong?
Sent from my SCH-I605 using xda app-developers app

[Q] Wiping internal storage

So guys, simple as that. I'm planning to use adb sideload in twrp afterwards to flash a rom. I have a corrupt folder and I can't seem to be able to delete it + I wanna clean up the phone. So how would I go about it step by step? If there is a guide somewhere, I'm sorry, but I can't search anything in Tapatalk :/
Any help appreciated!
Sent from my Nexus 4 using Tapatalk
Why don't you flash the factory image and just start over. Wiping internal storage is going to wipe everything anyway
Sent from my Nexus 5 using XDA Free mobile app
Start fresh. Flash factory images. All you need is here.
Or you can just wipe everything in recovery, reboot to recovery (optional), and sideload the rom of your choosing.
arffrhn said:
Start fresh. Flash factory images. All you need is here.
Or you can just wipe everything in recovery, reboot to recovery (optional), and sideload the rom of your choosing.
Click to expand...
Click to collapse
Yeah I was thinking of doing this, because it seems like less hassle than flashing factory images. I did it once in the past I think, but I don't remember the exact steps. So that's what I wanted to ask
Sent from my Nexus 4 using Tapatalk
Almayce said:
Yeah I was thinking of doing this, because it seems like less hassle than flashing factory images. I did it once in the past I think, but I don't remember the exact steps. So that's what I wanted to ask
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Yeah, you can just wipe it all in recovery. It will reformat it. Good luck then. [emoji4]
Sent from my Nexus 4 using Tapatalk
Man, it was hell of a ride again. First drivers of course, i hate when they just "unnistall by themselves" I hope u know what i mean. Everytime u wanna use those things u have to install them all over again. next thing i kept getting erros while sideloading, again. For me, i cant have errorless sideload, no. So i rebooted phone, pc = rom sideloaded sucessfully. Weird.

Categories

Resources