Urgent help PLEASE! - Nexus 4 Q&A, Help & Troubleshooting

I tried to update a rom by dirty flashing but there was a problem when I tried to install the zip, now I cant get past the google logo. I have TWRP recovery and I can get into that.. What shall I do? I have a nandroid from back when I first rooted the device. Whats the best way to get everything working again while still keeping all my recent sd card data the same.

Rizy7 said:
I tried to update a rom by dirty flashing but there was a problem when I tried to install the zip, now I cant get past the google logo. I have TWRP recovery and I can get into that.. What shall I do? I have a nandroid from back when I first rooted the device. Whats the best way to get everything working again while still keeping all my recent sd card data the same.
Click to expand...
Click to collapse
if you have the previous working rom in your storage, just flash it. if not, you can push it to your device via the adb push option in twrp. you should always keep the last working rom zip in your storage just in case.

simms22 said:
if you have the previous working rom in your storage, just flash it. if not, you can push it to your device via the adb push option in twrp. you should always keep the last working rom zip in your storage just in case.
Click to expand...
Click to collapse
I wish I didnt delete the last working one when downloading the new one.. So do I just push the rom by adb? Any guides?

Rizy7 said:
I wish I didnt delete the last working one when downloading the new one.. So do I just push the rom by adb? Any guides?
Click to expand...
Click to collapse
Try a data factory reset/wipe cache in recovery and reboot. You should be able to get into recovery.

Rizy7 said:
I wish I didnt delete the last working one when downloading the new one.. So do I just push the rom by adb? Any guides?
Click to expand...
Click to collapse
type this when you are in twrp and have the fastboot cmd window open
adb push "filename.extension" /sdcard/"filename.extension"
then flash the rom
alternatively, you can use sideload.

username8611 said:
type this when you are in twrp and have the fastboot cmd window open
adb push "filename.extension" /sdcard/"filename.extension"
then flash the rom
alternatively, you can use sideload.
Click to expand...
Click to collapse
I used adb to push a file but I cant see it

thank god it worked

simms22 said:
if you have the previous working rom in your storage, just flash it. if not, you can push it to your device via the adb push option in twrp. you should always keep the last working rom zip in your storage just in case.
Click to expand...
Click to collapse
gee2012 said:
Try a data factory reset/wipe cache in recovery and reboot. You should be able to get into recovery.
Click to expand...
Click to collapse
username8611 said:
type this when you are in twrp and have the fastboot cmd window open
adb push "filename.extension" /sdcard/"filename.extension"
then flash the rom
alternatively, you can use sideload.
Click to expand...
Click to collapse
Thanks for your help guys

Related

[Q] Nexus 4 No OS. Only fastboot [SOLVED]

I recently tried to flash PA on my nexus.
Installed cwm on my phone. Then downloaded the PA ROM and moved to the device storage.
Rebooted into CWM and performed all the wipes.
I accidentally wiped the system and the internel partitions too.
when i tried to install ROM from sdcard. it says "NO FILES FOUND"
Iam stuck here. Phone wont boot into Android... any suggestions? please help!
How did you wipe system within CWM?
But since you say you wiped internal partitions too, it seems to me that you wiped your internal emulated sdcard... so I think your only option now is to flash stock images again... Read this: http://forum.xda-developers.com/showthread.php?t=2010312
If you don't want to flash the stock images you can also push a rom to your phone with adb while booted in a custom recovery
adb push nameofrom.zip /sdcard/
Thanks guys. Found a solution.
Flashed TWRP and sideloaded the ROM file. And flashed it.
Earlier the same process with CWM was not successful. Now the phone is loaded with PA ROM!
Thanks guys! and can u point me to the google stock images??
njarun said:
Thanks guys! and can u point me to the google stock images??
Click to expand...
Click to collapse
Glad you solved it
Here are the stock OTA and images from google and mirrored http://forum.xda-developers.com/showthread.php?t=1971169
My dad said he knew how to fix this, and wiped my system, thats all, and now I can't boot. Any help on this?
mrjoeltan said:
My dad said he knew how to fix this, and wiped my system, thats all, and now I can't boot. Any help on this?
Click to expand...
Click to collapse
wiped /system? have you tried simple re-flashing your ROM from the .zip ?
no worry... download the nexus 4 twrp latest img from their site, and flash it to your N4
what you needed:
twrp img file
some n4 rom
adb and fastboot
instructions:
boot to fastboot, vol key down + powerbutton when n4 is off.
on your comp, , dos/terminal - fastboot flash recovery twrp.img
reboot in recovery
select the adb side load from advanced tab in the twrp.
on your comp - adb sideload rom.zip
everything done....reboot phone.
Sent from my Nexus 4 using xda premium
I have a same problem, but when i try to flash a Rom, it`s fail and said that no partition, how can i fix it? Thanks for read.
blackcatvn said:
I have a same problem, but when i try to flash a Rom, it`s fail and said that no partition, how can i fix it? Thanks for read.
Click to expand...
Click to collapse
did you wipe using fastboot erase command? if so, you need to re-format to the android supported file system to access the partitions!
try installing the twrp recovery and perform 'FORMAT DATA' from wipe. then install ROM.
N4 no OS.
njarun said:
I recently tried to flash PA on my nexus.
Installed cwm on my phone. Then downloaded the PA ROM and moved to the device storage.
Rebooted into CWM and performed all the wipes.
I accidentally wiped the system and the internel partitions too.
when i tried to install ROM from sdcard. it says "NO FILES FOUND"
Iam stuck here. Phone wont boot into Android... any suggestions? please help!
Click to expand...
Click to collapse
I need help, having the same problem you had with my N4. Cant seem to fix it. I had PA 3.69 for 3 weeks when I rebooted my N4 i had no OS on the phone. Just my Bootloader and Twrp 2500 was recently 2600 but cant do anything else. ADB works seems to fail when writing to N4. Im trying to get it back to stock. Any Ideas
Axel
Axelben said:
I need help, having the same problem you had with my N4. Cant seem to fix it. I had PA 3.69 for 3 weeks when I rebooted my N4 i had no OS on the phone. Just my Bootloader and Twrp 2500 was recently 2600 but cant do anything else. ADB works seems to fail when writing to N4. Im trying to get it back to stock. Any Ideas
Axel
Click to expand...
Click to collapse
can u get into recovery? did u check changing your USB Cable? The original nexus usb cable sucks, try another one. If you can access the fastboot/adb then it will be pretty simple..
Same problem but...
Hi, I'm having the same problem with my Nexus 4 and I have TWRP V 2.6.3.0 but I'm not sure how to push any rom to my phone because it's not showing up under my computer in Windows. How do I push roms to my Nexus 4? I'm stuck at the Google boot screen when I try to boot (Flashed Dalvik Cache, System, Data, Internal Storage, and normal cache) and I of course don't have any roms on my phone after I wiped all of the partitons. Help me plz
El Daddy said:
If you don't want to flash the stock images you can also push a rom to your phone with adb while booted in a custom recovery
adb push nameofrom.zip /sdcard/
Click to expand...
Click to collapse
Got it working
Hi, I got it to work. No worries guys
xXDustinoXx said:
Hi, I'm having the same problem with my Nexus 4 and I have TWRP V 2.6.3.0 but I'm not sure how to push any rom to my phone because it's not showing up under my computer in Windows. How do I push roms to my Nexus 4? I'm stuck at the Google boot screen when I try to boot (Flashed Dalvik Cache, System, Data, Internal Storage, and normal cache) and I of course don't have any roms on my phone after I wiped all of the partitons. Help me plz
Click to expand...
Click to collapse
njarun said:
can u get into recovery? did u check changing your USB Cable? The original nexus usb cable sucks, try another one. If you can access the fastboot/adb then it will be pretty simple..
Click to expand...
Click to collapse
i cannot get the thing to work this bloody adb command does not seems to work on my Windows 8.1
Can u please give a detailed intruction as i have my file in D Drive so where to keep this zip file
nickboy360 said:
i cannot get the thing to work this bloody adb command does not seems to work on my Windows 8.1
Can u please give a detailed intruction as i have my file in D Drive so where to keep this zip file
Click to expand...
Click to collapse
you got it working? else pm me your mail id. ill send you the necessary files and detailed info, I once composed it for one of my friend!
njarun said:
you got it working? else pm me your mail id. ill send you the necessary files and detailed info, I once composed it for one of my friend!
Click to expand...
Click to collapse
Thanks for asking mate i got it done... :good:

[Q][SOLVED] ADB sideload does not start

Hello,
I'm trying the whole damn day now to unbrick my N4 after installing the latest CM10.1 nightly. (0907)
- No other ROM on the phone
- No backup
- USB debugging disabled
- Phone doesn't boot further than to the Google logo
- TWRP 2.5.0.0 is installed.
I tried to ADB sideload the 0906 nightly, but sideload is not working with TWRP somehow. It says "Starting ADB sideload" for about 5 minutes, then "Cancelling sideload" and Failed.
What now?
fastboot back to factory images and start from scratch with a working flashable zip of CM (or another ROM of your liking)
I recommend Carbon
Yes, that would work, but this wipes everything and I have some data on my phone I don't want to lose.
LGXX said:
Yes, that would work, but this wipes everything and I have some data on my phone I don't want to lose.
Click to expand...
Click to collapse
Well you said ADB sideload doesnt load so.... have fun with a unbootable phone then.
Just have to take the consequences and learn from your lesson so it doesn't happen again. Sorry :/ either that or figure out ADB sideload and get it to work.
Edit: try http://forum.xda-developers.com/showpost.php?p=45386225&postcount=6
LGXX said:
Yes, that would work, but this wipes everything and I have some data on my phone I don't want to lose.
Click to expand...
Click to collapse
You don`t have to flash userdate.img, (will not loose data), if it doesn`t boot after the flash than you have to do a data factory reset in recovery. Look here for how to flash a factory image https://developers.google.com/android/nexus/images.
zephiK said:
Well you said ADB sideload doesnt load so.... have fun with a unbootable phone then.
Just have to take the consequences and learn from your lesson so it doesn't happen again. Sorry :/ either that or figure out ADB sideload and get it to work.
Edit: try http://forum.xda-developers.com/showpost.php?p=45386225&postcount=6
Click to expand...
Click to collapse
Thank you so much, installed these drivers and reinstalled all N4 drivers and sideload worked
LGXX said:
Thank you so much, installed these drivers and reinstalled all N4 drivers and sideload worked
Click to expand...
Click to collapse
Yay glad to hear it worked. In the future, try and keep a archived ROM zip that you know works so you can flash back to it incase anything happens.
it worked the adb sideload just loaded like charm

[SOS] after flash new rom, bootscreen stop at Google

Please help me,
My Nexus 4
after flashing PURITY ROM
reboot, the screen stop at GOOGLE forever there
Please give me you help to get away with this screen
Thank you very much,
Regards,
PS:
*don't have any other rom available on the internal disk
*cant connect to PC via bootloader
nguoidungnq said:
Please help me,
My Nexus 4
after flashing PURITY ROM
reboot, the screen stop at GOOGLE forever there
Please give me you help to get away with this screen
Thank you very much,
Regards,
PS:
*don't have any other rom available on the internal disk
*cant connect to PC via bootloader
Click to expand...
Click to collapse
Did you do a factory data reset before flashing the ROM?
Yes, I did.
I did a very clean flash (wipe & reset factory data too)
abaaaabbbb63 said:
Did you do a factory data reset before flashing the ROM?
Click to expand...
Click to collapse
nguoidungnq said:
Yes, I did.
I did a very clean flash (wipe & reset factory data too)
Click to expand...
Click to collapse
Boot in recovery, then connect your phone to your PC.
Use "adb push" to push a ROM to your phone, and then flash it with recovery.
Or
Use the "adb sideload" option from recovery.
Thank you very much for your replying,
because "USB Debugging is enabled": NOT ENABLE because of the new rom
will it work with my phone?
abaaaabbbb63 said:
Boot in recovery, then connect your phone to your PC.
Use "adb push" to push a ROM to your phone, and then flash it with recovery.
Or
Use the "adb sideload" option from recovery.
Click to expand...
Click to collapse
nguoidungnq said:
Thank you very much for your replying,
because "USB Debugging is enabled": NOT ENABLE because of the new rom
will it work with my phone?
Click to expand...
Click to collapse
No you dont need usb debugging enabled. Adb should work by default when your phone is booted into a custom recovery.
Thank you, it connects & works.
May I know where this file (new updated) is stored?
Chromium_ said:
No you dont need usb debugging enabled. Adb should work by default when your phone is booted into a custom recovery.
Click to expand...
Click to collapse
nguoidungnq said:
Thank you, it connects & works.
May I know where this file (new updated) is stored?
Click to expand...
Click to collapse
You mean the rom you just flashed? It depends on what remote path you used in the adb command.
(adb push rom.zip /path/on/phone/)
oh sorry,
I meant, when this new rom (for exemple: purity.zip) is pushed to my phone via SIDELOAD,
after 100% loaded, where this "purity.zip" will be in my phone,
so that I can flash this rom to the phone
Thank you.
Chromium_ said:
You mean the rom you just flashed? It depends on what remote path you used in the adb command.
(adb push rom.zip /path/on/phone/)
Click to expand...
Click to collapse
nguoidungnq said:
oh sorry,
I meant, when this new rom (for exemple: purity.zip) is pushed to my phone via SIDELOAD,
after 100% loaded, where this "purity.zip" will be in my phone,
so that I can flash this rom to the phone
Thank you.
Click to expand...
Click to collapse
If you use adb sideload you wont have to look for it to flash...it gets flashed automatically. (adb sideload = adb push + flash via recovery)
Nonetheless the file will be pushed to the root of your sdcard and it will be renamed to sideload.zip. (/sdcard/sideload.zip)
If you use adb push then you specify where you want to push it to.
Frist of all, Thank you Chromium for your help, it works.
Now, I can push the file to my phone.
However, it seems that there something wrong because of my flash rom from xenoHD (Android v4.2.2) to Purity (Android v4.3)?
I dont know, but after I flash "back" the OLD xenoHD, my phone is still stuck at the GOOGLE screen...
Please give me your advice.
Thank you & Regards,
Chromium_ said:
If you use adb sideload you wont have to look for it to flash...it gets flashed automatically. (adb sideload = adb push + flash via recovery)
Nonetheless the file will be pushed to the root of your sdcard and it will be renamed to sideload.zip. (/sdcard/sideload.zip)
If you use adb push then you specify where you want to push it to.
Click to expand...
Click to collapse
nguoidungnq said:
Frist of all, Thank you Chromium for your help, it works.
Now, I can push the file to my phone.
However, it seems that there something wrong because of my flash rom from xenoHD (Android v4.2.2) to Purity (Android v4.3)?
I dont know, but after I flash "back" the OLD xenoHD, my phone is still stuck at the GOOGLE screen...
Please give me your advice.
Thank you & Regards,
Click to expand...
Click to collapse
So Purity 4.3 works but xenon 4.2 doesnt work?
Are you wiping in between?
1. I was using ok with XENO HD (4.2)
2. Today, I tried PURITY 4.3
3. Stucked at GOOGLE SCREEN
4. After learn the new technique, I was able to copy the old rom XENO HD 4.2 BACK & FLASH ( I DO WIPE, FACTORY RESET..before FLASHING)
5. It still STUCKED AT THE GOOGLE SCREEN
....
Do you guess any reason why, or you have any suggestion what I should do, to get back the NORMAL PHONE
Thank you & Regards,
Chromium_ said:
So Purity 4.3 works but xenon 4.2 doesnt work?
Are you wiping in between?
Click to expand...
Click to collapse
nguoidungnq said:
1. I was using ok with XENO HD (4.2)
2. Today, I tried PURITY 4.3
3. Stucked at GOOGLE SCREEN
4. After learn the new technique, I was able to copy the old rom XENO HD 4.2 BACK & FLASH ( I DO WIPE, FACTORY RESET..before FLASHING)
5. It still STUCKED AT THE GOOGLE SCREEN
....
Do you guess any reason why, or you have any suggestion what I should do, to get back the NORMAL PHONE
Thank you & Regards,
Click to expand...
Click to collapse
Oh, i see. It seems that you're doing everything correctly. If you just want the phone back in a working condition you can flash the factory images. That should get the phone up and running again, but it'll remove your custom recovery, so you will have to reflash one after, but lets be honest....not that hard.
Chromium & abaaaabbbb63, Thank you very much!
It runs again
Thank you & Regards,
Chromium_ said:
Oh, i see. It seems that you're doing everything correctly. If you just want the phone back in a working condition you can flash the factory images. That should get the phone up and running again, but it'll remove your custom recovery, so you will have to reflash one after, but lets be honest....not that hard.
Click to expand...
Click to collapse
Factory reset isn't enough, you also need to format the /system partition sometimes. Also you need to flash a compatible 4.3 kernel with your 4.3 rom. Usually the kernel is included in the rom.zip in the form of boot.img, but you can flash your own.
As to move files from your computer to your phone, use: adb push rom.zip /sdcard/
Or you can flash the file directly, by putting the recovery into sideload mode and type: adb sideload rom.zip

Can I pull files from my phone in recovery using ADB?

I can't boot into Android because my phone has no ROM in it and I can't install a ROM because of /data partition problems. I can get into recovery fine.
So I want to pull all the files from my phone. Can I do this in recovery, using ADB? If so, what is the command?
Thanks!
harro3 said:
I can't boot into Android because my phone has no ROM in it and I can't install a ROM because of /data partition problems. I can get into recovery fine.
So I want to pull all the files from my phone. Can I do this in recovery, using ADB? If so, what is the command?
Thanks!
Click to expand...
Click to collapse
have you tried sideload a rom?
zamzameir said:
have you tried sideload a rom?
Click to expand...
Click to collapse
I doubt that would work, I've tried restoring backups and flashing roms already on my phone, but it doesn't work.
harro3 said:
I doubt that would work, I've tried restoring backups and flashing roms already on my phone, but it doesn't work.
Click to expand...
Click to collapse
just try first. who knows
If you have custom recovery you can pull your files using 'adb pull /sdcard/'
DrFredPhD said:
If you have custom recovery you can pull your files using 'adb pull /sdcard/'
Click to expand...
Click to collapse
Awesome, this worked, thanks!

Wiped internal Storage... HELP :(

When i was trying to flash Chroma for nexus 6p, i accidently wiped my internal storage. I wasnt thinking and clicked everything in TWRP to wipe and now when i plug in my phone to my computer all i see is internal storage but no space specifics and i cant copy the chroma rom over. What do i do?
I also lost all my backups because of the wipe. Can someone help me please ?
LifeOfNexus said:
When i was trying to flash Chroma for nexus 6p, i accidently wiped my internal storage. I wasnt thinking and clicked everything in TWRP to wipe and now when i plug in my phone to my computer all i see is internal storage but no space specifics and i cant copy the chroma rom over. What do i do?
I also lost all my backups because of the wipe. Can someone help me please ?
Click to expand...
Click to collapse
Can you still boot in to TWRP or do you get stock recovery? I'm not sure why you can't copy Chroma over but if you can still boot in to TWRP it allows you to mount USB storage. I haven't tried this option myself but you may be able to flash Chroma from an external storage device. You can also boot in to bootloader and follow Heisenberg's guide listed in the index and fastboot the stock images which is probably your best bet.
What happens when you try to move the file over? Have you tried to adb push the file over like so:
Code:
adb push [I]file_location_on_computer[/I] /sdcard
nathanchance said:
What happens when you try to move the file over? Have you tried to adb push the file over like so:
Code:
adb push [I]file_location_on_computer[/I] /sdcard
Click to expand...
Click to collapse
do u have teamviewer by any chance
LifeOfNexus said:
do u have teamviewer by any chance
Click to expand...
Click to collapse
I do not and I prefer to keep stuff in the forum so that everyone can benefit from this
Additionally, if you can't push the Chroma file to your phone, you can flash back to stock using Heisenberg's guide here (step 11) then do step 7 to install Chroma.
nathanchance said:
I do not and I prefer to keep stuff in the forum so that everyone can benefit from this
Click to expand...
Click to collapse
because i could not get it to work
LifeOfNexus said:
because i could not get it to work
Click to expand...
Click to collapse
So what exactly happens when you try to either copy or push the file over to the phone? Does it error out? Gonna need some more information. And I edited my previous post to include some instructions to get back to stock with fastboot if that is easier for you.
nathanchance said:
So what exactly happens when you try to either copy or push the file over to the phone? Does it error out? Gonna need some more information. And I edited my previous post to include some instructions to get back to stock with fastboot if that is easier for you.
Click to expand...
Click to collapse
i actualyl started that. Im almost done oging back to stock. Does that mean i need to reflash TWRP?
LifeOfNexus said:
i actualyl started that. Im almost done oging back to stock. Does that mean i need to reflash TWRP?
Click to expand...
Click to collapse
If you flash the stock recovery image, you will need to reflash TWRP. I usually just omit that command when flashing back to stock so I don't have to reflash TWRP.

Categories

Resources