[Q] Help, boot issue - Nexus 4 Q&A, Help & Troubleshooting

Hi everyone,
So I have never ran across this issue before. I haven't had any problems with my device and yesterday I wanted to test out the new Jelly Bam update rom from their site. The rom would not boot pasted the "Google" spash screen so I rebooted in to recovery and did a full wipe and restored via backup to my previous rom just like normal. Well then I noticed that normally when I connect my phone to my computer I see my internal memory drive pop up which I am able to click on and then access my files, but this time when I accessed it I have a hand full or folders like 0, twrp, android, etc and I had to double click on o folder to access my memory with all my files. I thought that was weird so I went on about my day. Later I tried to do a fresh install of my current rom PACman but even after doing a fresh install the phone will not boot passed the Google spash screen, and now twrp doesn't even see my backup file because its being directed to this new partition with all the folders I was talking about. I even tried using the file manager in twrp to move the backup to that twrp folder but twrp doesn't even see it.
So as of right now I can get in to twrp but I can not boot my device pasted the google splash screen. I also can't access my memory through my pc since nexus does not allow it with twrp. What do I do? My thoughts are that something got screwed up with the partitions when I flashed the Jelly Bam rom so I will need to go back to stock, does that sound about right? I was thinking of following these instructions to go back to stock and then move on from there, any thoughts or alternatives? http://www.androidrootz.com/2012/12/how-to-unroot-nexus-4-to-stock-42-jelly.html
Thank you

Trying this method to return to stock: http://www.wugfresh.com/nrt/
If no one has any input I will assume I am following the right path.

I flashed factory images a couple weeks ago and in order for TWRP to see the nandroids I copied back to my phone I put them in the following path: /sdcard/TWRP/BACKUPS/stringofrandomnumbersandletters/
Are your TWRP backups in a similar location?
If you've decided to go back to stock, I'd suggest using the following guide by efrant... http://forum.xda-developers.com/showthread.php?p=34552123
Sent from my Nexus 4 using xda app-developers app

It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium

It looks like twrp is now looking at my twrp folder in my sd card 1 not sd card 0 where I have had my backups and all my files. After trying again, I moved the TWRP backup to the sd card 1 twrp folder, twrp recognized it and I restored from backup....but when I reboot I am still stuck on the Google screen. Not sure what to do.

Underground_XI said:
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Since I can't move anything to my memory, any suggestions?

If you've got adb and the proper drivers installed on your PC you could try:
Code:
adb push ROM.zip /sdcard/ROM.zip
from the command prompt. Obviously use the name of the actual ROM.
Edit: ignore that, just read the post where you managed to restore! D'oh!
Have you tried clearing both caches?

The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users

synergeticink said:
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
Click to expand...
Click to collapse
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app

chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
And that's were I am stuck right now. I am not a pro at using adb commands, never used it till I got my nexus 4. Right now when I launch the cmd it shows "C:\Users\My User Name\Desktop>", not sure where to go next. I guess I am not sure what I should be pushing at this point either.

Oops...it seems I was editing my post at the same time you were responding to it...take a look at my previous response again
I'm fairly new around here but I can help with the adb commands if you need. Hang in there
Sent from my Nexus 4 using xda app-developers app

chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah. I tried wiping cache/dalvik/system/factory reset and then both restoring from backup or flashing the latest PACman rom which is in my sd card. Right now I am reading the http://forum.xda-developers.com/showthread.php?t=2018179 guide to see if I can use adb to flash my rom or another recovery. Makes sense if its the recovery not letting me flash anything, but i'm not a dev. At least I am able to get in to recovery to begin with, good sign I guess.

If you can boot into bootloader and recovery there are many options to help get you up and running again. That guide by Jubakuba is really good but if wiping and restoring your backup from within TWRP didn't work I would highly suggest reading efrant's guide on returning to stock...I posted the link in an earlier reply.
Sent from my Nexus 4 using xda app-developers app

I was able to flash cwm using adb, now trying to do a fresh install

Nope, doing a fresh install didn't work. Now its time to restore to stock. ......

One problem:
"
5) Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
6) Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;"
UPDATE; Got it, instructions were not clear.

synergeticink said:
UPDATE; Got it, instructions were not clear.
Click to expand...
Click to collapse
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app

chef_christoph said:
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Its weird adb will not work on the computer unless the files are in the platform-tools folder in androi sdk. trial and error, just finished flashing system....

should I do this command, I really don't want to lose my stuff:
10) Optional (NOT optional for n00bs) -- Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 2 below.
Well, I didn't and finished the process...did a reboot when I was done...now its on the Google screen...just waiting....I'm seeing a Nexus X splash screen!!!...
Update: Its taking a very long time, hopefully it works...going to give it another 10 mins

And we have BOOT... thank you everyone! Now I have to root this sucker!

Related

Cant boot phone just stays at "Google boot screen

i stupidly changed from CWM recovery to TWRP and forgot to make a backup.
I went to install the Revolt rom so copied it to the memory and it installs fine but when i go to reboot it just sits on the "Google" boot screen with the unlocked padlock at the bottom and never gets anywhere.
Any ideas or advice on what i can do?
Does adb work?
Wipe cache?
If you would have read through the thread, you would have seen that the ROM doesn't boot past the Google logo. The ROM doesn't work.
Sent from my Nexus 4 using xda premium
But how can I get another ROM.zip onto the device since I can't get onto it (I can access TWRP) but how can I get the zip onto it?
nexus toolkit doesn't pick it up so no ADB. My other nexus gets picked up fine
Sent from my Nexus 4 using xda premium
Roshi69 said:
But how can I get another ROM.zip onto the device since I can't get onto it (I can access TWRP) but how can I get the zip onto it?
nexus toolkit doesn't pick it up so no ADB. My other nexus gets picked up fine
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Try configuring the drivers from here. Can you mount USB Storage? Does your computer recognize fastboot?
It picks up my other nexus that is working fine but with being stuck in a boot loop i dunno what to do. with my s3 i would have just put a new rom on the external SD
just got it into download mode :s and 2 new random devices have appeared. check the links below.
all i want to be able to do it put a new .zip on the device so i can get it going.
https://www.dropbox.com/s/jux2lvkn63fjq2q/IMG_20130118_181401.jpg
https://www.dropbox.com/s/nk7rozieurd7ofg/IMG_20130118_181407.jpg
Roshi69 said:
It picks up my other nexus that is working fine but with being stuck in a boot loop i dunno what to do. with my s3 i would have just put a new rom on the external SD
just got it into download mode :s and 2 new random devices have appeared. check the links below.
all i want to be able to do it put a new .zip on the device so i can get it going.
https://www.dropbox.com/s/jux2lvkn63fjq2q/IMG_20130118_181401.jpg
https://www.dropbox.com/s/nk7rozieurd7ofg/IMG_20130118_181407.jpg
Click to expand...
Click to collapse
Can you get into fastboot?
possibly. what commands do i have to try? i know fastboot did work for my last device so its configured and working ok
Roshi69 said:
i stupidly changed from CWM recovery to TWRP and forgot to make a backup.
I went to install the Revolt rom so copied it to the memory and it installs fine but when i go to reboot it just sits on the "Google" boot screen with the unlocked padlock at the bottom and never gets anywhere.
Any ideas or advice on what i can do?
Click to expand...
Click to collapse
This happened to me 2 times yesterday. I was flashing new kernel and roms and then I keep getting the Google logo for every new rom I tried. I fixed this problem by doing these steps..
I'm using TWRP so ..
-Wipe
-Cache / Dalvik cache / factory reset / system / format data / and internal storage (Make sure u wipe internal storage and format data! This will stop the Google logo loop. NOTE: U will lost everything if you do this step)
-Then I reboot into TWRP after the wipe
-I download nexus 4 toolkit v1.3 Toolkit dl link
-mount /system/ in TWRP
-Put the below stock rooted rom into put_files_to_push_here (it's inside installed path of the nexus 4 toolkit)
-Push This stock rooted rom using #13 option in nexus 4 toolkit
-It will ask if u using a custom rom or insecure image type yes
-It will ask u where to push ur file to.. just type /system/
-wait 2-3 mins to push. If everything goes well it should say "Finished xxx secs"
-Install the Stock rooted rom using TWRP
-reboot
Roshi69 said:
possibly. what commands do i have to try? i know fastboot did work for my last device so its configured and working ok
Click to expand...
Click to collapse
I think I was wrong. You can't push/flash a ROM through fastboot. Are you absolutely sure that you can't mount your SD card to your PC in TWRP recovery? I can't mount my SD using CWM but I can using TWRP.
enyceckk said:
This happened to me 2 times yesterday. I was flashing new kernel and roms and then I keep getting the Google logo for every new rom I tried. I fixed this problem by doing these steps..
I'm using TWRP so ..
-Wipe
-Cache / Dalvik cache / factory reset / system / format data / and internal storage (Make sure u wipe internal storage and format data! This will stop the Google logo loop. NOTE: U will lost everything if you do this step)
-Then I reboot into TWRP after the wipe
-I download nexus 4 toolkit v1.3 Toolkit dl link
-mount /system/ in TWRP
-Put the below stock rooted rom into put_files_to_push_here (it's inside installed path of the nexus 4 toolkit)
-Push This stock rooted rom using #13 option in nexus 4 toolkit
-It will ask if u using a custom rom or insecure image type yes
-wait 2-3 mins to push. If everything goes well it should say "Finished xxx secs"
-Install the Stock rooted rom using TWRP
-reboot
Click to expand...
Click to collapse
got it all sorted and going. when trying to push to device i get "error: device not found" what way should i connect the phone? whilst in recovery and i've checked "mount system"?
Thanks so much for the help guys much appreciated!
Roshi69 said:
got it all sorted and going. when trying to push to device i get "error: device not found" what way should i connect the phone? whilst in recovery and i've checked "mount system"?
Thanks so much for the help guys much appreciated!
Click to expand...
Click to collapse
Do u have adb driver installed on ur pc? If you do, it should show ur device near top left of toolkit. It should say " ADB mode List of devices attached" If you can see ur device with the serial number then everything should work fine.
You can install the driver using toolkit.. it's the #1 option
When pushing the file, u should be in TWRP (where u see install.. wipe etc..) and mount /system/ should have an X on it.
enyceckk said:
do u have adb driver installed on ur pc? If you do, it should show ur device near top left of toolkit. It should say " adb mode list of devices attached" if you can see ur device with the serial number then everything should work fine.
You can install the driver using toolkit.. It's the #1 option
when pushing the file, u should be in twrp (where u see install.. Wipe etc..) and mount /system/ should have an x on it.
Click to expand...
Click to collapse
it worked!!! Thank you so much!!!

For Those Who Semi-Bricked Their Nexus 7 0MB Interal Storage

Hopefully this helps people in my situation.
So on the first day of having my nexus 7 i found a way to have no OS and 0MB internal storage showing in TWRP. Yah i suck.
I tried tons of things but knew a system image was needed.
HOW: I was about to flash the superuser root for 4.3 newly released and forgot to put it on nexus so i then proceeded to exit TWRP, however upon exiting TWRP the recovery detected i havent installed supersu and asked do i want to install superuser? I though why the hell not!
I confirmed to install superuser and then tried to reboot but for 20 minutes device could not boot. TWRP showed 0MB internal storage and pushing adb files in this state yielded nothing as there was no directory
This is how i managed to have a working tablet again
1. FORMAT DATA in TWRP - after doing this your internal storage should be back and not show 0MB
2. reboot to the bootloader
3. On your computer download this file kindly given to us by phuduong and uploaded by Nburnes
https://mega.co.nz/#!PBIiEbBJ!bKpdHxegOVlde12nsu_ulEyRq7UsANLLQab1IZjLIGc
Credit to Nburnes http://forum.xda-developers.com/member.php?u=2918596[/QUOTE]
4. Once downloaded move that system.img file to your adb directory
5. With you nexus 7 in the bootloader, adb open, and file downloaded copy and paste this command into adb terminal
fastboot flash system system.img
6. Now you have an OS but it still would loop and wouldnt start
7. Boot into recovery and Format Data again, because for me 0MB interal storage was back again
8. Then Factory Reset
FINALLY YOUR DEVICE SHOULD BE BACK TO ITS ORIGINAL STATE!!!!!
Is that the factory image? Have you tried going from unlocked bootloader & rooted back to factory using that image?
plbelanger said:
Is that the factory image? Have you tried going from unlocked bootloader & rooted back to factory using that image?
Click to expand...
Click to collapse
Google has yet to release the official factory image for the new N7. However, a kind user was gracious enough to make their own. It is likely to be almost identical to what Google will eventually release and should work the same way.
Thank you! Thank you!
good stuff OP. glad you got it working again
You all are life savers! 1000X Thanks!
I tried running through this, but it didn't work for me. I think my situation is different though because I tried to install a factory image for the 2012 nexus, and during part of that process I ran the "flash-all" script which starts by deleting boot, cache, recovery, userdata, and system.
I think deleting boot screwed me up, because even though I can go into recovery now after reinstalling twrp and I can restore my system using system.img, I still can't boot (get stuck on the google logo). Any way to fix that?
So you first tried to restore from the OLD Nexus 7 Image?????
Sent from my Nexus 7 using xda app-developers app
petersellers said:
I tried running through this, but it didn't work for me. I think my situation is different though because I tried to install a factory image for the 2012 nexus, and during part of that process I ran the "flash-all" script which starts by deleting boot, cache, recovery, userdata, and system.
I think deleting boot screwed me up, because even though I can go into recovery now after reinstalling twrp and I can restore my system using system.img, I still can't boot (get stuck on the google logo). Any way to fix that?
Click to expand...
Click to collapse
So you first tried to restore the OLD nexus 7 factory image? Probably gonna have to wait for factory image or exchange yours
Sent from my Nexus 7 using xda app-developers app
jporter396 said:
So you first tried to restore from the OLD Nexus 7 Image?????
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yes, I tried to restore from the old image. Obviously fastboot wont let you install the old image, but I didn't realize that until boot, system, cache, etc. were deleted
THANK YOU!!!
This worked perfectly! I had a wiped system folder (no ROM), and obviously no USB debugging enabled. And with the lack of a factory image, I've been counting seconds to seeing somebody post this!
Just follow the instructions carefully. Thank you guys!
petersellers said:
Yes, I tried to restore from the old image. Obviously fastboot wont let you install the old image, but I didn't realize that until boot, system, cache, etc. were deleted
Click to expand...
Click to collapse
You can flash old and new image through fastboot. I did 2 times ^_^
This is boot.img for who need
BOOT.IMG HERE
It gives me a fail when I try to wipe data.
Edit: never mind
jarjar124 said:
It gives me a fail when I try to wipe data.
Edit: never mind
Click to expand...
Click to collapse
How did you fix it? I still cant wipe data.
Balsta said:
How did you fix it? I still cant wipe data.
Click to expand...
Click to collapse
Have you formatted first?
Sent from my Nexus 7 using xda app-developers app
jporter396 said:
Have you formatted first?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I can't, get an error with that too
Sent from my SCH-I545 using Tapatalk 4 Beta
OP and nburnes saved my butt!
I did this and now it seems my device is booting and it shows up as N7 when I attach it to my PC. But the display shows nothing at all. It just goes blank after the Google screen. Any ideas?
After flashing everything I could think of and banging my head and the device against the wall for two hours, I finally got it to work. Not sure how exactly but the last thing I did was reflashing bootloader. So if anyone has the same problem, try that.
Thank you.
Note:
Give step 6 a little time be patient.
All main JSS15J .IMGS here: http://forum.xda-developers.com/showthread.php?t=2381438
Glad this helped some of you guys!

HELP Unable to Decrypt Nexus 4 4.3 rooted

I encrypted my nexus 4 a couple of months ago, and I had no issues until I wanted to flash a custom rom. I installed a custom recovery (Clockwork Recovery), and tried to wipe the cache, find the zip file, but it said that it was unable to mount sdcard. I figured that this was due to the encryption, and tried to factory reset the phone. I was unable to do so through the recovery and through the settings app. I followed instructions from the following thread to flash a stock image: http://forum.xda-developers.com/showthread.php?t=2010312 , which was unsuccessful. In the end, I still have all my data, and the encryption remains. Any ideas how to get rid of it?
When running encryption you have to side load everything. Try to side load the ROM you want. if that dose not work download factory image and fast boot it over.
illru said:
When running encryption you have to side load everything. Try to side load the ROM you want. if that dose not work download factory image and fast boot it over.
Click to expand...
Click to collapse
Could you give me directinos on how to do this? Or a link to another thread or video?
SpectralFlames said:
Could you give me directinos on how to do this? Or a link to another thread or video?
Click to expand...
Click to collapse
I believe to sideload you use adb and place the zip you want in the adb's folder, plug your phone into recovery, and use the command adb sideload (zip file name) or something or the sort and you should be good to go, have you tried
fastboot erase system
data
cahc?
Sent from my Nexus 4 using Tapatalk
IRX120 said:
I believe to sideload you use adb and place the zip you want in the adb's folder, plug your phone into recovery, and use the command adb sideload (zip file name) or something or the sort and you should be good to go, have you tried
fastboot erase system
data
cahc?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
When in recovery it says that it can't mount sdcard so it doesnt allow me to do anything through recovery. That was the main issue when trying to flash a rom

I wiped my phone without a rom

So, I wiped my phone and didn't realize that the rom I was about to install was corrupted (I think the download didn't finish) and I forgot to do a backup, what can I do to recover from this disaster?
Use Nexus toolkit.
Two easy options:
1. Use adb to push a rom to your sdcard from your recovery then install like normal
2. Use fastboot to flash a stock image your system partition
Download a ROM that's not corrupted and place it in platform tools folder (where you have your adb is located) and just go to your phones recovery and sideload
Sent from my Nexus 4 using xda app-developers app
CellPhish said:
Download a ROM that's not corrupted and place it in platform tools folder (where you have your adb is located) and just go to your phones recovery and sideload
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you to all of you, I used Wug's Toolkit (NRT) and it worked.
Similar Problem
My problem is similar but a bit different.
I flashed CWM over the top TWRP and when I re-entered custom recovery and I went in to install a zip from sd not all my folders where showing including the folder I keep all my roms in.
When I try to boot back in to system it just takes me back to recovery.
Am I being a noob or is it something gone wrong?
Thanks in advance!

I think it's a bootloop

I wanted to do factory reset on my rooted nexus 4 , using CWM. It didn;t work (all files stayed) so I went to advanced and formated everything that was there. Now my phone doesn't start (the screen with "google" is on.
I can go to recovery or fastboot but in fastboot adb or anything can't see my device.
Is there anything I can do?
Yes, you wiped your os. Either adb push a rom zip onto your sdcard and flash in recovery or adb sideload a rom zip in recovery
Sent from my Nexus 5 using XDA Free mobile app
Should I sideload zip or tgz?
I tried zip, it says: installation aborted.
I tried tgz, it says e: can't open /tmp/update.zip (bad)
I also tried pushing, but installation aborted as well
If you're trying to get back to stock then flash individual partitions using fastboot.
This guide should help you out .
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
If you want to flash a custom ROM follow the steps in the previous post.
Doesn't work, like I said, adb can't see my nexus in bootloader.
Before I started doing anything I'd made a backup. Maybe I can restore it now somehow?
EDIT: @up, it worked, tkanks a lot
szajbuz said:
Doesn't work, like I said, adb can't see my nexus in bootloader.
Before I started doing anything I'd made a backup. Maybe I can restore it now somehow?
added: wait, smoething is happening
Click to expand...
Click to collapse
If your in the boot loader you need to use fastboot devices, not adb devices
Sent from my Nexus 5 using XDA Free mobile app
@up
yeah but I realized that after my previous post
If you are on bootloader you van use nexus foot toolkit for flash stock with bricked option

Categories

Resources