[Q] So, I totally did something stupid to phone... please help :( - Nexus 5 Q&A, Help & Troubleshooting

so i factory wiped out everything by accident... phone is stuck on team win recovery project... and connects to the computer but only charges... i have no way of putting rom on a storage... am i ****ed? any help would be appreicated...

See if you can boot into fastboot. Then you can simply put the stock image back on.

Hello,
Use the following steps to sideload a rom:
1. Head over to TWRP and perform a data/cache/dalvic wipe.
2. Copy the rom.zip and gapps.zip to the fastboot folder in your computer.
3. In the recovery, go to advanced and select adb sideload and swipe to the right.
4. Now open cmd window from the fastboot folder and run the following:
Code:
adb sideload rom.zip
5. After it's done do the same with gapps.zip.
6. Reboot!
If you don't want to use a custom rom then you can flash the factory images from here : https://developers.google.com/android/nexus/images#hammerheadkot49h
For the steps, follow this guide: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

Related

stuck with bootloop and no alternative rom

i have a slight problem. i grabbed the ubuntu touch alpha and went in to recovery, loaded it (according to thread instructions) but ended up with a bootloop.
in the end i thought "lets just put another rom back on for now" and then realised i had deleted the other rom from the sdcard! so i'm stuck with it not booting in to ubuntu, and not able to get another rom on as it doesn't boot in.
can i connect to the internal sdcard area myself by plugging the usb in to the pc or something?
i have twrp loaded as recovery
thanks
ah, TWRP adb sideload to the rescue!
problem
my problem is stuck in boot screen after i did super wipe full what should i do? i have cwm 5.5.0.4. i try flash from sd put it says no files found
partti86 said:
my problem is stuck in boot screen after i did super wipe full what should i do? i have cwm 5.5.0.4. i try flash from sd put it says no files found
Click to expand...
Click to collapse
The issue, Superwipe wipes the internal /sdcard/ and also this is where it flashes from.
You need to boot to recovery and then use ADB to push files to the sdcard.
If you have never used ADB, it can be a bit daunting.
First, you need adb from the Android SDK. It is a big file for the few you need. I have a copy of the relevant ADB files here: https://db.tt/b9dQ6xzp
Unzip this to c:\adb folder on windows. If you are using Linux, it should already have adb in the /usr/bin/ folder.
Next, you need the Universal Naked Drivers: http://forum.xda-developers.com/attachment.php?attachmentid=1934814&d=1367674531
Unzip these to c:\universal_naked_drivers
Boot to CWM and then plug in your USB cable. It should show a new device found. It may find 2, an MTP and then there should be another either Unknown device or an Android ADB device. Right click and update the driver. Be sure to search for driver, then tell it you want to pick from a list. Hit the Have Disk button and then hit the browse button and browse to c:\universal_naked_drivers and hit OK. It should show you a driver to select and hit OK. If you are using Win 8, there is an additional step that is required to used non-signed drivers.
Once the driver is updated, download the zip file you want to flash on your PC. I assume it is a ROM.zip file for this example. Place this file in the c:\adb folder and call it ROM.zip (can be named something else, but this is what we will use for this example).
Now, open a command prompt and execute the following:
Code:
> [B]c:[/B]
c:\> [B]cd c:\adb[/B]
c:\adb> [B]adb devices[/B]
It will probably say some messages about the daemon is not running, restarting adb.
Then it should show a list. There should be some numbers followed by "recovery"
If no devices are shown, check that your ADB device is showing in the Device Manager.
Once you see it in the adb devices list, continue:
Code:
c:\adb> [B]adb push ROM.zip /sdcard/[/B]
successfully pushed xxx bytes
c:\adb>
At this point you should now see the ROM.zip file on the internal storage in CWM to allow you to install it.
Choose to install the file then reboot (not to recovery). You have to let it flash the file (progress bar will show). Once the screen goes black and the progress bar disappears, it should now boot to your ROM..
If your ROM requires a custom kernel and/or GAPPS to be flashed, use the same procedure to push your kernel.zip and GAPPS.zip to the /sdcard/ directory.
mk2media said:
ah, TWRP adb sideload to the rescue!
Click to expand...
Click to collapse
Can you explain what you did please? what is adb sideload?

[GUIDE][N00b] Flash a ROM from 100% Stock!

I am not sure if it is posted yet!!! I am sorry if it is!
1. Download's!
2. Unlock the bootloader!
3. Flash a recovery!
4. Flash a ROM!
5. Boot animation stuck!
6. Permanent SmartFlash
7. Explantion's
1. Download's !
1.1 Recovery (I recommend 4EXT touch recovery because you don't need to be S-Off and you can run the Aroma installer.)
1.2Minimal ADB
1.3 HTC Sync manager (Drivers)
2. Unlock the bootloader!
First put the ROM you want to flash already in your SDCard!
Go to http://www.htcdev.com/bootloader/ select your device register an account and follow the steps from there!
Note : For step 5 you need to install Minimal ADB the adb.exe AdbWinApi.dll and fastboot.exe should be in the folder "C:\Program Files (x86)\Minimal ADB and Fastboot" or for 32-bit "C:\Program Files\Minimal ADB and Fastboot"
Skip step 5a and b
3. Flash a recovery!
3.1 Pull out your battery! And then put it back in! Now you need to press volume up and power at the same time! (Like you did while unlocking the bootloader!)
3.2 Plugin you USB cable and then press power button (go in to fastboot) Now you should see FASTBOOT USB highlighted in red! (If not you probarly forgot to install HTC Sync manager!
3.3Go to your PC and open CMD then type "CD C:\Program Files (x86)\Minimal ADB and Fastboot" for 64-bit or "CD C:\Program Files\Minimal ADB and Fastboot" for 32-bit! Press enter! Copy the recovery.img to the minimal ADB and Fastboot folder!
3.4 Type fastboot devices in CMD (To see if your device responds!)
3.5 type "fastboot flash recovery recovery.img" in CMD and now you have a recovery!
4. Flash a ROM
4.1 Ok, So go in to your recovery by pulling out the battery and put it back in again! Press volume up and power at the same time and scroll down to recovery (with the volume keys!). Almost ready to flash your first ROM!
4.2 Make a back-up
(Back-up | Restore -- Back-up)
4.3WIPE!!!!
It is very important to wipe so go back to the menu and select Wipe | Format --> wipe data/facotory reset and press the checkmark!! (All your apps etc will be lost!)
4.4 Enable Smartflash temp.
Navigate to tools and search for enable 4EXT SmartFlash press that!
4.5Flash the ROM
Go back to the menu select install from sdcard --> choose zip from sdcard --> NAMEOFYOURROM.zip --> Checkmark (Follow the instructions from there if they have instructions)
4.6 Now you are done!
Reboot your device and wait for the rom to start up! If it stucks at the boot animation go to step 5!
5. Bootanimation stuck
Now you need to pull out your battery again and put it back in and do Vol up and power again put the USB Cable in your PC and go to fastboot!
Go to your ROM.zip on your pc open it with Winrar or anyother zip program unzip the boot.img and put it in your minimal adb folder!
Open CMD and type "cd C:\Program Files (x86)\Minimal ADB and Fastboot" for 64-bit and "cd C:\Program Files\Minimal ADB and Fastboot" for 32-bit.
then do fastboot devices to check if your device is online
then do fastboot flash boot boot.img
Reboot your device
PROFIT???
6. Permanent Smartflash
6.1 Download 4EXT Recovery Updater from the playstore and update your recovery! Once its updated you have permanent SmartFlash
7. Explenations
Smartflash - Smartflash just installs your kernel without having s-off
32-bit 64-bit - is your proccesor you can check it in Computer --> Right mouse click --> Properties
WITH VIDEO LATER ON!
Please say if I need to thank you
Please say if I need to thank you.
If you are A.E. the developer of Minimal ADB!
in step 4 (4. Flash a ROM)
change the 4.2 step to 4.3
and the 4.3 step to 4.2
also it would be better to put a step for backing up the current rom before wiping for safety reasons
rzr86 said:
in step 4 (4. Flash a ROM)
change the 4.2 step to 4.3
and the 4.3 step to 4.2
also it would be better to put a step for backing up the current rom before wiping for safety reasons
Click to expand...
Click to collapse
Thanks man will edit
Sent from my HTC Sensation using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1631861

Problem [BOOTLOADER]

Describing my problem :
Since yesterday my OPO did some random reboots. I was running Paranoid Android and it worked perfectly...
Yesterdayevening after it rebooted another time, my OPO didn't start at all... It seems that my bootloader won't load the OS.
This morning, I did a complete wipe and I've put the stock ROM from the CM site back on my OPO ( XNPH33R signed boot).
-Fastboot works
-Recovery works
-Bootloader won't load OS. ( only the One Plus logo pops up (not the bootanimation)). After that it reboots over and over...
Update 1 17:30 5/10/2014 :
I'm in a bootloop, I have no ROM. I have the TWRP recovery. And the bootloader is LOCKED.
So I tried to unlock the bootloader with the toolkit for the OnePlus one. ( I tried it also manually with cmd).
----WHAT IT DOES in CMD/ Phone-------
In CMD : " OKAY [0.012 s]
Finished. total time : 0.012 s
OPO : It opens up my TWRP recovery but it does not unlock the bootloader
Update 2 19:52 5/10/2014 :
I've been able to unlock the bootloader...
with the command " fastboot oem device-info" , I received :
Bootloader tampered : True
Bootloader unlocked : False ( because the toolkit only did " fastboot oem unlock " , I did an adb sideload with a zip "OnePlusOne-OnlyBootloaderToggle" from the thread
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912. Now my bootloader is back UNLOCKED.
I hope the bootloop will stop when I do a factory / reset.
10:40 6/10/2014 :
I tried several times to flash stock roms from the official site / from the forum. None of them 'work'.
Can someone please help me?? He still bootloops!!! How frustrating thazt is,I tried everything from threads on the forum. Nobody is ansering my thread. Any reason for that ?
My suggestion is this: grab one of the recovery flashable versions of CM11S from here, boot into your TWRP recovery and use adb to push the ROM zip to your phone, then use the install function in TWRP to flash it.
To push the zip to your phone you first need to put it in your adb/fastboot folder (wherever you have adb.exe and fastboot.exe located on your PC), make sure your phone is booted into TWRP and connected to your PC, open a command prompt from within your adb/fastboot folder (shift + right click anywhere in the folder, then select open command prompt here), and issue this command:
Code:
adb push <name of file.zip> /sdcard/
*Please note the '<' and '>' symbols are not included in the command.
From there just flash the ROM like you would flash any other ROM.
Transmitted via Bacon
Failure with E:
timmaaa said:
My suggestion is this: grab one of the recovery flashable versions of CM11S from here, boot into your TWRP recovery and use adb to push the ROM zip to your phone, then use the install function in TWRP to flash it.
To push the zip to your phone you first need to put it in your adb/fastboot folder (wherever you have adb.exe and fastboot.exe located on your PC), make sure your phone is booted into TWRP and connected to your PC, open a command prompt from within your adb/fastboot folder (shift + right click anywhere in the folder, then select open command prompt here), and issue this command:
Code:
adb push <name of file.zip> /sdcard/
*Please note the '<' and '>' symbols are not included in the command.
Transmitted via Bacon
Click to expand...
Click to collapse
Pushing the zip into sdcard :good:
Installing the zip gives a message about E:
example :
something with E: path
E: unable to wipe
E: error executing updater binary in zip 'sdcard/cm11.0... .zip
Proberly more
Are you sure you're attempting to flash one of the recovery flashable zips? What's the full filename?
Transmitted via Bacon
timmaaa said:
Are you sure you're attempting to flash one of the recovery flashable zips? What's the full filename?
Transmitted via Bacon
Click to expand...
Click to collapse
cm-11.0-XNPH33R-bacon-signed
Links
1. Recovery flashable zips of the complete ROMz:
XNPH22R
XNPH25R
XNPH33R
From your link
EDIT-----
1. I had flashed the stock recovery back.
2. Did a factory reset
3. Wiped cache
4. Wiped media
5. Flashed TWRP back
6. ADB push zip in /sdcard/
7. Flashed the zip SUCCESSFUL after these steps
I still have a bootloop
Have you tried to format your internal sd card and flash your zip. Remember if you format though you will lose everything on your sdcard. Make sure you backup everything first if you want to try this. Also if you do this you will have to push your zip back to the phone
Who can even solve this?...
playya said:
Have you tried to format your internal sd card and flash your zip. Remember if you format though you will lose everything on your sdcard. Make sure you backup everything first if you want to try this. Also if you do this you will have to push your zip back to the phone
Click to expand...
Click to collapse
My internal storage was already formatted. I just have the TWRP and the zip on my phone.
[Q] In the TWRP recovery menu in 'Advanced' what has to be between Copy Log to SD and Terminal Command? There is a blank spot ,there should be button normally?
How is it even possible i have nothing but the recovery and the zip and I still got a bootloop...
Is there somebody that knows something else that i can try?
Is it possible to flash perhaps with odin?
VictorByttebier said:
My internal storage was already formatted. I just have the TWRP and the zip on my phone.
[Q] In the TWRP recovery menu in 'Advanced' what has to be between Copy Log to SD and Terminal Command? There is a blank spot ,there should be button normally?
How is it even possible i have nothing but the recovery and the zip and I still got a bootloop...
Is there somebody that knows something else that i can try?
Is it possible to flash perhaps with odin?
Click to expand...
Click to collapse
definitely not odin thats Samsung my friend. Partition SD Card is whats missing in TWRP for you. I asked about formatting internal because a similar thing happened to my friend. We had to format internal then adb push recovery and rom and all was well again. If you have tried this recently then my bad but if you have not it wont hurt to try it again in that order
format internal
adb push recovery
adb push rom
reboot
Take a look in here as well http://forum.xda-developers.com/oneplus-one/help/fix-brickloop-audio-fx-fc-efs-corrupt-t2879061
Bootloop fixed
It finally worked!!! How weird that i already found a zip like on the thread but with XNPH33R and also with the persist and recovery.img and flash-all etc... but it didn't work.
Now i just have to update from the settings
At beginning I was convinced that a bootloop could be fixed with factory/reset would do it. Like it always worked on my previous smartphone.
Thank you playya and timmaaa for the responses!:good: You are awesome! See me sitting here with a

No OS installed! OnePlus one

Hello all.
I know there are many threads of this kind but nothing worked for me. So Please help!
I unlocked my bootloader, installed TWRP and flashed SuperSU binaries. Everything was working fine.
Then I wanted to flash cm12 nightly. So i downloaded the zip file and also the Gaaps.zip file. I transfered them to the phone and booted to recovery.
1. Then instead of wiping cache i wiped the whole system i.e factory data reset. So then i tried reboot it says NO OS INSTALLED! do you want to continue? After that "Your phone is not rooted. Install SuperSU? As i don't have the SuperSU files so it just reboots to the bootscreen and stays there. I can go to the recovery and fastboot mode.
2. then i booted to recovery and went to adb sideload. I have the ADB files on my desktop and pasted the ROM.zip file to the folder.
3. Then i tried the command adb sideload ROM.zip with my phone connected. But then a lot of coding appears in the cmd window and phone stays at adb sideload.
4. When i connect my phone to my pc in recovery It comes up as "One" in the disk drives. I open it and it has a folder named TWRP and inside thata file. Nothing else. The good thing is I have a nandroid backup of my device when it had SuperSU binaries.
*the "One disappears when I go to ADB sideload in my phone*
So can I transfer the backup to my phone in a separate folder named "Backups" and install it via restore in TWRP? Or do have to do something else?
Please help! Please! :crying:
You're already getting help for this here:
http://forum.xda-developers.com/showthread.php?t=3044924
Transmitted via Bacon

Accidentaly formatted all partions

I accidentally formatted all partition and now only have a TWRP. The TWRP only shows the start screen when i go to recovery.
Adb devices show me the device detected. I did a adb push and moved the stock rom 5.1.11 and my twrp recovery to the sdcard using the command adb push. I am struck here because i cannot get to the twrp screen which gives you option to install/wipe etc.
Can somebody please guide me if there is a way to recover or install the .zip files I have copied to sdcard. Thanks in advance
You need to fastboot flash the default stock rom, and then re root/install TWRP etc etc
Thank you for your response. Will that be adb fastboot flash stock.zip ? I am not sure if this would mess it up hence please confirm. Also, will it work if i use the fastboot to install twrp again and then flash the stock rom using its menu.
SachinGopal said:
Thank you for your response. Will that be adb fastboot flash stock.zip ? I am not sure if this would mess it up hence please confirm. Also, will it work if i use the fastboot to install twrp again and then flash the stock rom using its menu.
Click to expand...
Click to collapse
You need to go to this thread... https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
Download the version of OOS you want (5.1.11) and unzip the contents in to a folder and run the flash-all.bat file and let it install to all partitions. Just follow this instructions in the thread and you will be fine.
Thank you so much for your response, but when I run this command I am getting " Waiting for device" option. I am only able to boot into twrp. I see the teamwin loading screen and its struck there. I am able to run adb commands and adb device shows the device details. I was also able to push the stock rom.zip through adb push command to /sdcard.
D:\OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT>flash-all-partitions-fastboot.bat
Do you want to wipe all the data ( Reccomended )[Y/N]?y
< waiting for any device >
Thank you so much it worked when I tried. Grateful . Will donate the Dev for that bat script.
SachinGopal said:
Thank you so much for your response, but when I run this command I am getting " Waiting for device" option. I am only able to boot into twrp. I see the teamwin loading screen and its struck there. I am able to run adb commands and adb device shows the device details. I was also able to push the stock rom.zip through adb push command to /sdcard.
D:\OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT>flash-all-partitions-fastboot.bat
Do you want to wipe all the data ( Reccomended )[Y/N]?y
< waiting for any device >
Click to expand...
Click to collapse
You need to be in fastboot mode.
Either adb reboot bootloader from inside android or from a powered off phone, hold Volume Up and power on.

Categories

Resources