[Q] Nexus 4 Help No OS Installed TWRP Wiped My Internal Data - Nexus 4 Q&A, Help & Troubleshooting

My Friend formatted my phone by accident and now i cant install any os because my phone wont connect to my computer:crying::crying:

Sovehy said:
My Friend formatted my phone by accident and now i cant install any os because my phone wont connect to my computer:crying::crying:
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showthread.php?p=48915118
Sent from my Nexus 7 (2013)

Sovehy said:
My Friend formatted my phone by accident and now i cant install any os because my phone wont connect to my computer:crying::crying:
Click to expand...
Click to collapse
hey as you said your phone is formattee and now there is no os/ rom in your internal storage..........so now you have to transfer rom/os zip file to your phone memory........for that
you have to install adb and fastboot to your laptop or pc and when it is done you can send os file from your laptop to phone storage
liks :
adb and fastbbot drivers d-h.st/iqA
usb drivers forum.xda-developers.com/showthread.php?t=1996051
step 1 :-unzip the downloaded adb and fastboot drivers in the c drive of your computer or pc..in a folder name it say "adb"
step 2 :- install the usb drivers for your phone .....this is somewhat complicated.......u can search how to install usb drivers in xda itself..
step 3 :- now copy the zip file(rom) which u want to flash or install in the folder adb which u created in step 1st along with adb and fastboot files.
step 4 :- now u have to open command prompt...for that go to adb folder where rom and adb files are....and there press shift key along with right click of mouse button..i.e shift+right click.......and u have to select "open command window here"..
step 5 :- now u have to type command to transfer that rom zip to phone memory......so the command is
adb push filename.zip /sdcard/0/filename.zip
u have to type the name of rom in place of filename and hit enter.......and then wait and watch on that command prompt....the file will get copied in few.seconds
step 6 :- now move to recovery and u can flash that rom zip and can have your os installed...

This may help to return to stock: http://forum.xda-developers.com/showthread.php?t=2010312

TWRP has an excellent Sideload feature. If all your drivers are installed, you can easily flash the ROM from the PC using adb with TWRP in sideload mode.

Related

HELP! Formatted Nexus 4

I am using TWRP and wile i was wiping to install another rom i saw the option format data because i wanted to fully wipe my apps and all but wat i did not saw was that i was gonna wipe the system too. So now i have the phone and i can enter to fastboot and to TWRP but i have no rom to install and i don't know how to transfer a zip from pc to the nexus. Or at least a return to stock so i can re root it.
Please help me.
You can use a toolkit and flash a rom that way. Very user friendly. All you need to do is plug it in and flash it through its menus.
You can use adb to push the zip from your computer to your phone while in recovery.
Sent from my Nexus 4 using xda app-developers app
How do people not read up on what to do BEFORE flashing a new ROM? Or at least search? To the OP, there is a thread in General all about returning to stock using simple fastboot commands and the factory image Google provide so best to follow that
darkdhanil said:
I am using TWRP and wile i was wiping to install another rom i saw the option format data because i wanted to fully wipe my apps and all but wat i did not saw was that i was gonna wipe the system too. So now i have the phone and i can enter to fastboot and to TWRP but i have no rom to install and i don't know how to transfer a zip from pc to the nexus. Or at least a return to stock so i can re root it.
Please help me.
Click to expand...
Click to collapse
1)Go to recovery TWRP in the N4
2)Connect the phone to your computer with the USB cable
3)Shift+Right click -> Open command prompt here (In platform-tools folder)
4)Copy all the files (ROM + Gapps) to the platform-tools folder.
5)When done,on the command prompt use the command "adb push myrom.zip /sdcard/0 " where myrom = the name of the ROM you wanna flash an wait
5.1)Do the same with the gapps "adb push gapps.zip /sdcard/0" where gapps = name of the gapps zip file.
6)When done step 5 ...go back to your phone and flash a ROM like you normally would.
PS : If you've got problems at step 5 you probably need ADB drivers..just download them from the internet.
Respect
If you want to return to stock, I found these instructions very easy to follow:
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
xtrmshadow said:
1)Go to recovery TWRP in the N4
2)Connect the phone to your computer with the USB cable
3)Shift+Right click -> Open command prompt here (In platform-tools folder)
4)Copy all the files (ROM + Gapps) to the platform-tools folder.
5)When done,on the command prompt use the command "adb push myrom.zip /sdcard/0 " where myrom = the name of the ROM you wanna flash an wait
5.1)Do the same with the gapps "adb push gapps.zip /sdcard/0" where gapps = name of the gapps zip file.
6)When done step 5 ...go back to your phone and flash a ROM like you normally would.
PS : If you've got problems at step 5 you probably need ADB drivers..just download them from the internet.
Respect
Click to expand...
Click to collapse
Finally someone that explained step by step. Thanks man. All is ok now
xtrmshadow said:
1)Go to recovery TWRP in the N4
2)Connect the phone to your computer with the USB cable
3)Shift+Right click -> Open command prompt here (In platform-tools folder)
4)Copy all the files (ROM + Gapps) to the platform-tools folder.
5)When done,on the command prompt use the command "adb push myrom.zip /sdcard/0 " where myrom = the name of the ROM you wanna flash an wait
5.1)Do the same with the gapps "adb push gapps.zip /sdcard/0" where gapps = name of the gapps zip file.
6)When done step 5 ...go back to your phone and flash a ROM like you normally would.
PS : If you've got problems at step 5 you probably need ADB drivers..just download them from the internet.
Respect
Click to expand...
Click to collapse
you are the best. for real. I didnt know what platform-tools was at first, but i got it after i googled. and i kept messing up the code, but you see on my phone, you dont need the /0, /sdcard is enough since there is no /0 directory, but i figured that out too.
thankyou so much. respect.
Yes twrp automatically knows about the 0 folder. It does exist. Just you don't need to see it. Clockwork recovery does not see it so on that recovery you have to push to /sdcard/0/ but on twrp you only push to /sdcard/
Sent from my Nexus 4 using xda app-developers app

No OS but only CWM recovery

I want to flash a rom but i can't save the zip files to my storage. What do i do?
I have no os but only cwm. Please help, thanks.
dicksonjoe said:
I want to flash a rom but i can't save the zip files to my storage. What do i do?
I have no os but only cwm. Please help, thanks.
Click to expand...
Click to collapse
ADB Sideload
1. Connect your phone make sure it's actually connected. No errors in Device Manager
2. Rename the downloaded ROM you want to flash to something basic, like rom.zip (Names can get rather long)
3. Open CMD (command prompt), & navigate it to the folder you placed the ROM in. or just press shift and right click on the folder where the rom is and select open command prompt here
4. Boot to recovery on your phone and enable the ADB sideload function. Under Advanced in TWRP...not sure about CWM
5. in CMD type adb sideload rom.zip or what ever the name of the .zip is
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
You can then transfer the gapps to your internal storage and flash the normal way through your reecovery or just go through the same process for the gapps after you flash the rom.
I am having trouble installing the adb file.
I don't know what mode my phone needs to be on in order to install adb file.
dicksonjoe said:
I am having trouble installing the adb file.
I don't know what mode my phone needs to be on in order to install adb file.
Click to expand...
Click to collapse
Installing adb doesnt have to do with what mode your phone is in.

Need help pushing a ROM

So I recently just got done with a huge ordeal of being stuck in CWM recovery mode with no adb access or anything. I finally downloaded the Koush driver and it recognized my phone giving me adb access. Well my buddy who had the same problem fixed his right away using adb and he pushed a stock ROM to his phone and whaaallllaaa back to normal. He isn't available anymore and I'm not sure how to use adb to push a stock ROM to my phone. When I turn my phone on it doesn't go past the LG screen so I'm pretty sure I deleted everything while I was stuck in CWM. I already have a Stock ROM downloaded on my desktop, so any help would be much appreciated. Thank you.
If u know where adb is installed in ur PC open that folder and copy the Rom to that folder and rename it as Rom.zip, then holding shift right click mouse within the folder and select open command here, then boot ur phone into recovery and open sideload in ur phone and then connect it to ur pc and then type adb devices the command window in ur pc and it should show ur device try 2 to 3 Times as the first time it will say starting process or whatever and once ur phone shows up type adb sideload Rom.zip with 1 space between each word and make sure that there is only 1 file in the folder ur working named Rom.zip and u should be done.
Sent from my LG-D800 using xda app-developers app

Solution for softbrick D802 cause by CM nightly

I am so sorry that my writing is bad but i just want to give solutions to people that know less about ADB and stuff. And don't want to lose any data on your phone.
if someone have a hard time on the USB driver not being recognized by Windows. Please follow the all the step.
If you PC recognize your phone just skip to no.4a
1. please visit this site " http://koush.com/post/universal-adb-driver "
2. Install it.
3. Go to Device Manager on the LG D802 search for the folder where you install the universal drivers.
4. This will make your LG to be recognize as Samsung (who cares as long as it works).
4a. Go to the SDK folder > Platform-tool ( https://developer.android.com/sdk/index.html?hl=sk , for the SDK )
4b. Copy and paste the ROM zip that you want to flash (in this case mine will be CM)
5. Hold Shift and right click the mouse when you are still on the platform-tool folder , Run the command prompt.
6. In the Command Prompt
6a. enter adb devices ( this will now recognized your phone in recovery mode )
6b. enter adb sideload xxx.zip
7. NOW YOUR PHONE IS BACK ON TRACK !!!!!!!!!!!!!
I just safed by view thread on Youtube (thank you to show me how to use adb sideload) and Xda (thank you for providing the universal drives)
i'm so sorry that i can't remember your names/nick since i was in hurry and it take me 4 hours to figure it out with trial and error.

Nexus 4 Boot Problem

Hey ! I Have Google Nexus 4
My System Has Delete >> And I Cant Move Rom To Phone Because Need USB debugging
My Recovery TWRP
Please Help Me
And Sorry For Bad English !
Penguin997 said:
Hey ! I Have Google Nexus 4
My System Has Delete >> And I Cant Move Rom To Phone Because Need USB debugging
My Recovery TWRP
Please Help Me
And Sorry For Bad English !
Click to expand...
Click to collapse
You can copy the file over from TWRP. Just connect to the computer boot into TWRP, go under Mounts, and Mount USB. You can just copy and paste from your computer to the phone, then unmount, and flash the file in CWM
Otherwise,
1. Open your cmd and navigate to the folder with the adb files(the folder where you flashed your roms, kernels, or recovery).
2. Access the cwm at your phone and connect an usb cable to the computer.
3. Put the files that you wanted to send to your phone at that particular folder
4. Type "adb push (filename) /sdcard/(filename)". Example, "adb push rom.zip /sdcard/rom.zip"
4.1. Depending on your OS, you may want to add "./" at the front of the command if you're using unix based os(this is an oversimplified version)
5. Wait until it finishes its transfer(a message will appear saying the filename, file size and the speed of the transfer per sec when it finishes)
6. Wait for a while or reboot your cwm so that the filename will appear and just reflash the file.

Categories

Resources