stuck in twrp recovery please help - Nexus 4 Q&A, Help & Troubleshooting

hey need help im stuck on twrp recovery with no backups because i was flashing new rom and ended up /wipe data factory reset/wipe cache/format system//formating data which erase all my backups plus zip files.i dont want to get out recovery because i dont know whats going to happen if i do all i know is there is a option to connect a otg cable but i dont have one.so the question here is how do i transfer files to the twrp recovery so i can flash some thing to get out of recovery

tlopez1973 said:
hey need help im stuck on twrp recovery with no backups because i was flashing new rom and ended up /wipe data factory reset/wipe cache/format system//formating data which erase all my backups plus zip files.i dont want to get out recovery because i dont know whats going to happen if i do all i know is there is a option to connect a otg cable but i dont have one.so the question here is how do i transfer files to the twrp recovery so i can flash some thing to get out of recovery
Click to expand...
Click to collapse
Do you have adb/fastboot + the Google USB drivers?
You can either push a ROM zip to your phone in adb (you can do this when you're in recovery), or you can fastboot flash the factory images.

CMNein said:
Do you have adb/fastboot + the Google USB drivers?
You can either push a ROM zip to your phone in adb (you can do this when you're in recovery), or you can fastboot flash the factory images.
Click to expand...
Click to collapse
thanks for your reply man good thing i did have adb/fasyboot ready beacuse i used nexus root toolkit and it worked great i just unroot back to full stock using adb fastboot it push factory img back and its all good now i think i dodge a bullet........

Related

[Q]Nexus 7 screwed

So I was trying to install ubuntu and my usb fell out of the nexus and It managed to delete all my files except bootloader and TWRP Recovery manager. I have no boot or anything. When I try to flash stock via fastboot with a toolkit it fails at writing system data. I'm not quite sure what to do. Any help would be appreciated.
Its a Nexus 7 32GB 4.2.1
EDIT: So my bootloader boots. I have to do a temp flash to recovery via a nexus 7 toolkit. And all my backups are gone, and when I try to click any command in TWRP, It says it cannot mount /sys, /data/, /cache, etc.. I'm not quite sure how to go about fixing all of this.
When I try to flash stock, the bootloader freezes up and doesnt flash it.
i dont know...
But your recovery is still there.
theres still hope...
Have you tried to flash Ubuntu again?
Can you boot to recovery? I assume yes from what you say, i'd wipe everything and restore the backup i'm sure you made.
ghalalb said:
Have you tried to flash Ubuntu again?
Can you boot to recovery? I assume yes from what you say, i'd wipe everything and restore the backup i'm sure you made.
Click to expand...
Click to collapse
I can boot to recovery but it deleted my backups. I dont even know how it did that.
Still need help!

[Q] How can i flash a simple .zip via fastboot?

So.... i installed paranoid android and after... there were no connections at all! no internet, no usb, nothing. So i bootet into fastboot and now i just want to flash a clean cm10 or something. Sh1t on my data and anything, everything is in my cloud what is the command to flash a simple zip via fastboot? i did not find anything related to n4 in the internet and i want to get sure i am using the right one for the nexus 4 and no old device
You dont flash zips through fastboot.
At least not the type of zips you're talking about.
You boot into recovery. Do a full wipe. Factory reset + format system. Then flash cm10.1 plus the gapps.
albundy2010 said:
You dont flash zips through fastboot.
At least not the type of zips you're talking about.
You boot into recovery. Do a full wipe. Factory reset + format system. Then flash cm10.1 plus the gapps.
Click to expand...
Click to collapse
The problem is, there is no ROM on my sd and i cant find my device via adb. so sideload also wont work.
//Edit
Got it working. It bootet. I found a mysterious backup on my sd and restored it Ô.o i never did one, but, hey, it works^^. next try to flash cm10.1^^ and first i drop it to my sd.
//Edit 2
Franco Kernel r72 + paranoid android = no USB. Simple math.
If you end up in that position again, you can flash the stock images using fastboot (*.img files on your pc, phone at bootloader).
fastboot flash system system.img
fastboot flash boot boot.img
etc.

[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] Unable to install

Hi,
I was running MAKO L Preview 9002 version and I wanted to change the version, so I download a new ROM and then to Recovery (MultiROM TWRP) and wiped all data and then tried flashing, but got an error.
In haste, I did a complete format and lost even the existing flash zip. I am able to boot into recovery but all data is lost and not able to flash. Please help as I have download a new zip, but am unable to transfer it to the phone as it is not being recognized by the computer.
Please help!!
f1dotcom said:
Hi,
I was running MAKO L Preview 9002 version and I wanted to change the version, so I download a new ROM and then to Recovery (MultiROM TWRP) and wiped all data and then tried flashing, but got an error.
In haste, I did a complete format and lost even the existing flash zip. I am able to boot into recovery but all data is lost and not able to flash. Please help as I have download a new zip, but am unable to transfer it to the phone as it is not being recognized by the computer.
Click to expand...
Click to collapse
Lots of ways. you can push files through adb, mount your phone storage in recovery or just flash stock images through adb.
Go into recovery and try adb push rom.zip /sdcard/ from the computer. Must have adb installed.
I'm pretty sure Twrp has an option to mount the sdcard to your computer as usb storage as well.
Finally, keep in mind you can always go back to stock with Google factory images.
Sent from my Nexus 7 using Tapatalk

OS wiped accidentally from TWRP recovery

I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Please help.
Thanks.
Kalaxy said:
I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Please help.
Thanks.
Click to expand...
Click to collapse
Just flash it from custom recovery, so download it into ur phone go to recovery and simply flash it and all should be good.
Sent from my Nexus 6P using Tapatalk
Exiwolfman said:
Just flash it from custom recovery, so download it into ur phone go to recovery and simply flash it and all should be good.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
How do I download it to my phone if I cannot boot into it. Is there any way I can copy a zip file (rom) onto the phone's internal memory.?
Your phone should boot into recovery, so as long as it goes on and boots all u do u is use ur pc to move file over and flash it...
Sent from my Nexus 6P using Tapatalk
Kalaxy said:
How do I download it to my phone if I cannot boot into it. Is there any way I can copy a zip file (rom) onto the phone's internal memory.?
Click to expand...
Click to collapse
Boot into bootloader (hold power and system on), flash the though recovery through adb, mount your .zip,, flash your .zip through recovery. Sorry if that doesn't make sense, I've been drinking with the roommates, lol.
Edit: if that doesn't work, send me an IM and I will help you in the morning
Sent from my Huawei Nexus 6P using XDA Labs
Which state is your phone in right now? Is it bootlooping or in recovery?
Sent from my HTC 10 using Tapatalk
The same thing happened to me also! The whole /data (incl. sdcard) partition went corrupt (showed up in TWRP as eemc instead of ext4) & the /vendor failed to mount.
First I had to repair the /data partition (unfortunately the data was lost, as it repaired to a blank partition). I ended up having to go home (was at work at the time) & hook the phone up to the PC & download the ROM & transfer it onto the sdcard. I'm not entirely sure why/how this happened, but I believe it was because a corrupt vendor IMG. Although that theory doesnt include why the /data partition corrupted, it only explains why the /vendor partition failed to mount.
Fastboot flash system system.img
?
removed
I have the same issue. The problem is, that my computer will not recognize the phone in bootloader mode or in recovery mode(MTP enabled). How can install usb drivers without being able to boot into phone OS???? I've tried Nexus Toolkit with no success. Please help?
Have a look here how to load in bootloader, flash, etc.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
dbroer91884 said:
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
Click to expand...
Click to collapse
Hi... Just boot into recovery and reflash system.img from the factory image of your choice in bootloader with fastboot. Also flash the vendor image from the same factory image. Done...
Or reflash the whole package with flash all (manually is better imho). But you'll waisted time... Let your phone reboot into Android and you'll have your internal storage back.
5.1 said:
Hi... Just boot into recovery and reflash system.img from the factory image of your choice in bootloader with fastboot. Also flash the vendor image from the same factory image. Done...
Or reflash the whole package with flash all (manually is better imho). But you'll waisted time... Let your phone reboot into Android and you'll have your internal storage back.
Click to expand...
Click to collapse
Thats what I thought. JUst wanted to make sure I could get into bootloader still
dbroer91884 said:
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
Click to expand...
Click to collapse
Yes TWRP has a reboot to bootloader option available. So you can access fastboot via bootloader to flash the necessary images. Just don't forget to re flash TWRP image again in case the stock recovery image was flashed beforehand.
The odd thing was that I did choose that option to boot to bootloader in twrp and it didn't work. I ended up having to reboot to bootloader manually. Not a big deal. All is working now, but thought that was interesting.
Kalaxy said:
I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Click to expand...
Click to collapse
Exactly which partitions did you wipe? system? data? Internal Storage (userdata)? all of the above? Hopefully you did not wipe userdata (all your stuff). Were you on a stock ROM? You should be able to d/l the Google image from the same build you were on, extract system and data and fastboot flash those. Don't flash userdata. All your stuff should be there. Follow the tutorial on how to set up fastboot and selectively flash partitions.
---------- Post added at 06:49 AM ---------- Previous post was at 06:44 AM ----------
This thread got hijacked at least 3 times. Let's hope OP can find his way back.
pocholo36 said:
I have the same issue. The problem is, that my computer will not recognize the phone in bootloader mode or in recovery mode(MTP enabled). How can install usb drivers without being able to boot into phone OS???? I've tried Nexus Toolkit with no success. Please help?
Click to expand...
Click to collapse
Try this Hope you get solution to your problem of installing adb and fastboot tools in the correct manner.
I just by mistake deleted my internal storage.
I have TWRP, how do i put the ROM on there and flash it? Someone please help.
Thanks

Categories

Resources