Full Panic Mode. Boot Issues + Format - One (M7) Q&A, Help & Troubleshooting

Hey guys,
I done ****ed it all up.
Was in my TWRP recovery on my One, was wiping the phone to prepare for a new rom. Unfortunately, I was stupid and didn't realize that I was formatting it instead of wiping it. Now, I have a useless chunk of beautiful metal.
I can get into TWRP, but cant really do anything from there. It wont connect to my PC ( I dont see it under My Computer ) so I cant move any roms over to flash. I feel like I'm missing something very simple here.
Any ideas?

Adb sideload from recovery, advanced option.
Sent from my HTC One using Tapatalk 4

Dont panic as pablo11 have said, you can use adb sideload to sideload a rom.
Boot into twrp go to advanced, then adb sideload and swipe then on your computer open a command line where you have your folder for rooting the htc one (where fastboot is etc) and put the ROM you want to flash in that folder and type adb sideload ROM.zip and you should be good to go!

ADB Sideload
What is ADB*sideload?
ADB*sideload is a new feature that was added to AOSP*recovery in Jelly Bean.* As of version 2.3, TWRP*now supports ADB*sideload mode.* ADB*sideload is a different ADB*mode that you can use to push and install a zip using one command from your computer.* Most likely*ADB*sideload won't be very useful for your average recovery user, but ADB*sideload can be a huge time-saver for a ROM developer.
How do I*use ADB*sideload?
Have a recovery installed on your device that supports ADB*sideload like TWRP*2.3 or higher
Have newer ADB binaries installed on your computer.* If it's been a while since you installed ADB on your computer, you may need to get the latest ADB binaries in platform-tools from*the Android*SDK.* You will need version 1.0.29 or higher.* You can find your current version by typing*"adb version" at the command line.
Set the device into ADB*sideload mode. In TWRP*you do this by going to Advanced then ADB*Sideload.
From the command line, type adb sideload /path/to/rom.zip
The file will be copied to your device to whatever the current storage location is that you have selected in the mount page.* It will always be placed in the root of that storage location and named sideload.zip (e.g. /sdcard/sideload.zip) and it will automatically delete / overwrite any existing sideload.zip you may have on your device.* As soon as the file is copied to your device, it will automatically be installed.* When the install is finished you will be presented with a reboot system button so that you can reboot to test your zip.
Note that sideload mode is a separate ADB*mode. While in sideload mode, regular ADB commands will not work. Once the zip has been copied to the device and the install starts (or if you hit the cancel button) regular ADB mode will resume.
Sent from my HTC One using Tapatalk 4

Instructions:
http://forum.xda-developers.com/showthread.php?t=2325853&highlight=sideload

All fixed last night. Thanks guys, got my phone running again! Now to fix that radio...
Sent from my Nexus 7 using XDA Premium 4 mobile app

yasha.sinitski said:
All fixed last night. Thanks guys, got my phone running again! Now to fix that radio...
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Happy to hear it and glad to help!

Related

Mounting storage in recovery

So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Awesome i'll try that. Thanks!
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
It says device not found.
What about if you go into fastboot in the bootloader screen and type
fastboot devices
Maybe you need to reinstall your adb files...
Sent from my HTC One using xda premium
then you need to install HTC drivers for your phone. If configured correctly you can do adb devices and it will show up.
If you have drivers installed correctly under device manager the phone shows up as My HTC. Make sure you aren't using a USB 3 port if your computer has one.
Reboot your computer. That worked for me. I did the same thing
Also download HTC all in one tool kit. Its a lifesaver.
Sent from my HTC One using xda app-developers app
fastboot does work. Can i use the adb command in bootloader screen?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
I had same problem nothing was working .i used twrp and from there mount storage as otg as that was only working and put a rom in external pendrive and flash your rom
Sent from my HTC One aka M7
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
no only fastboot commands.
So then where do i do the adb commands? In the recovery? I don't get why adb devices isn't giving me anything when fastboot is.
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
No, adb must be done in recovery.
Go into recovery and try
adb devices
If nothing shows up you need to re-install/update your adb files and HTC drivers.
If your devices shows up this time then do what I said earlier...
Sent from my HTC One using xda premium
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
I'm guessing you update adb files via sdk manager?
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
gunnyman said:
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
Click to expand...
Click to collapse
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
jason27131 said:
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
Click to expand...
Click to collapse
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Remove and reinstall the driver
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Reasonably hard if he doesn't have a USB OTG cable atm...
Sent from my HTC One using xda premium
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
jason27131 said:
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
Click to expand...
Click to collapse
Should be good to go
If it freezes in Aroma just force reboot and try again.
Sent from my HTC One using xda premium

[Q] Help, NO OS, How to push ROM via adb on mac?

Hi, guys I followed all instructions after bricking my phone, it only goes into twrp recovery, i don't have an os and i cant put the rom in device via usb since it wont recognize it, But I tried to push the rom via adb and using terminal like this:
/Users/BARKIN/desktop/Android/adb push slimbean.zip /sdcard/
etc, but it wont work, i try listing devices, it says no device found..
I USE a mac btw, help me out?
Since you have twrp find adb sideload and do it that way. If you need more info Google adb side load twrp.
Sent from my Nexus 7 using XDA Premium HD app
well, I have no file on the phone, i wiped system and everything only recovery is in place.. i cant push rom through adb on mac.
there is hasoons tool which you can make use off. there are actually two out there.. in orignal android section. find the one with mac support.
There is no mac toolkit
barkmarkin said:
well, I have no file on the phone, i wiped system and everything only recovery is in place.. i cant push rom through adb on mac.
Click to expand...
Click to collapse
With adb sideload it does not matter it will work as long as you can use adb commands
Sent from my HTC One using xda premium
So, step by step:
-Boot phone into TWRP
-Select Advanced, then ADB Sideload, swipe to start it
-Connect USB to Mac
-Launch command prompt on Mac
-"adb devices" should detect the phone.
-"adb sideload slimbean.zip" should flash the zip

[Q] No OS - Please help - TWRP - 4.2.2 - Rooted

Hey everyone,
So about 1 hour ago I attempted to install a kernel onto my rooted HTC One through Team Win Recovery Project. I got onto the kernel and loaded it
Once I was finished i went to reboot my phone and it shows the HTC splash screen and does nothing. I waited but with no response.
I got back onto the recovery screen to find out i no longer had an OS.
My computer (Windows 7 64-bit) cannot detect my HTC One. I have a couple of save backups i had done through TWRP available on my computer, but not on my One.
I have attempted to boot into the HTC screen (Power + Volume down) and tried a factory reset,but it just sent my back to the TWRP.
How can i reload my OS? Im not very experienced with android so step by step instructions would be just great.
Thank you very much
Also, i forgot to mention. I was running the stock ROM.
Youssef26500 said:
Hey everyone,
So about 1 hour ago I attempted to install a kernel onto my rooted HTC One through Team Win Recovery Project. I got onto the kernel and loaded it
Once I was finished i went to reboot my phone and it shows the HTC splash screen and does nothing. I waited but with no response.
I got back onto the recovery screen to find out i no longer had an OS.
My computer (Windows 7 64-bit) cannot detect my HTC One. I have a couple of save backups i had done through TWRP available on my computer, but not on my One.
I have attempted to boot into the HTC screen (Power + Volume down) and tried a factory reset,but it just sent my back to the TWRP.
How can i reload my OS? Im not very experienced with android so step by step instructions would be just great.
Thank you very much
Click to expand...
Click to collapse
Since you can still access recovery..
1. Find a guide on how to 'adb push' or 'adb sideload' a ROM to your phone.
2. I'd recommend a ROM that doesn't require AROMA installer, it makes it a little easier. For now, CM 10.1 will be fine.
3. Once you can access your phone again, put your backups onto your phone from your computer.
4. Restore your backup in recovery.
Or you could just buy a USB-OTG cable and put the backup on a USB and restore in it TWRP.
Sent from my HTC One using XDA Premium 4 mobile app
Or, instead of redbull's approach, you can boot the phone into recovery, then (after reading about how to install and run ADB), use "adb push" to push the recovery files to the phone:
Code:
adb push /path/to/TWRP /data/media/0/TWRP
If that directory doesn't exist, you can probably push to /data/media/TWRP instead. After this, you should see your backups in TWRP and can recover them.
fenstre said:
Or, instead of redbull's approach, you can boot the phone into recovery, then (after reading about how to install and run ADB), use "adb push" to push the recovery files to the phone:
Code:
adb push /path/to/TWRP /data/media/0/TWRP
If that directory doesn't exist, you can probably push to /data/media/TWRP instead. After this, you should see your backups in TWRP and can recover them.
Click to expand...
Click to collapse
I have tried both methods now.
For redbull's approach, as i try to put my phone into ADB Sideload mode through TWRP, TWRP simply says Starting ADB Sideload Feature... but does nothing. I have left it for a little while to no avail.
I have noticed when i put in the command "adb devices" it shows my device as a "host" and i checked on another thread and i believe it should show up as "device". Any ideas?
Worst case scenario i will have to wait a few more days for my OTG Cable to arrive from eBay and then hope that it works from there.
Youssef26500 said:
I have tried both methods now.
For redbull's approach, as i try to put my phone into ADB Sideload mode through TWRP, TWRP simply says Starting ADB Sideload Feature... but does nothing. I have left it for a little while to no avail.
I have noticed when i put in the command "adb devices" it shows my device as a "host" and i checked on another thread and i believe it should show up as "device". Any ideas?
Worst case scenario i will have to wait a few more days for my OTG Cable to arrive from eBay and then hope that it works from there.
Click to expand...
Click to collapse
Once you start the sideload, that's when you command 'adb sideload name_of_rom.zip'. Make sure the rom zip is in the same folder as your adb and fastboot files. Or 'adb sideload ' then drag your zip into the cmd window.
Also, if you're using a usb 3.0 port - they have been known to cause problems.
Sent from my HTC One using XDA Premium 4 mobile app
redbull123 said:
Once you start the sideload, that's when you command 'adb sideload name_of_rom.zip'. Make sure the rom zip is in the same folder as your adb and fastboot files. Or 'adb sideload ' then drag your zip into the cmd window.
Also, if you're using a usb 3.0 port - they have been known to cause problems.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
YAY
Thanks. Finally got my phone running on CyanogenMod, and I was able to get in a factory reset to remove all the data etc from the old rom.
Just a final question though XD
On TWRP I go to the restore option but I don't find anything there. I have put the backup folder in /data/media/0/TWRP but it doesn't appear in the restore option. Any idea of where i should put the files?
Thanks
/data/media/0/TWRP/BACKUPS/
There will be another folder inside the above with a random string of alpha numeric characters. The backups are inside there.
If you perform a backup, you will see its location. Then you can place any others in there also.
Youssef26500 said:
YAY
Thanks. Finally got my phone running on CyanogenMod, and I was able to get in a factory reset to remove all the data etc from the old rom.
Just a final question though XD
On TWRP I go to the restore option but I don't find anything there. I have put the backup folder in /data/media/0/TWRP but it doesn't appear in the restore option. Any idea of where i should put the files?
Thanks
Click to expand...
Click to collapse
Good to hear.. As nobnut says - do a backup then see where it saves it to, then just put your backup in there, then restore :good:
Sent from my HTC One using XDA Premium 4 mobile app

[Q] Device Brick!!! HELP!

I think I bricked my phone.... :'(
I was running Android Rev 61.1 and then my screen started to flash and then it would reboot. It kept doing it and so then I decided to try to wipe my phone and install Android Rev 6.1 GE and then it would get to the "pick a language screen" and then after 2 or so seconds it would shut the screen down and if I press the lock button then it would reboot.
I went to format my storage and then (like a complete IDIOT) I formatted the whole thing causing me to lose all my ROMs on the internal storage.
Now I can't put any ROMs on it cause the only place that I can access without it rebooting is the TWRP recovery.
I'm soooo stupid....
idk the ROM was really messed up..
Any way to load a ROM onto my phone (like CM) while I'm in recovery?
I am trying the Android Revolution method.
I have the mini-sdk downloaded and put on my c:\ drive. I download the HTC Sync Manager to get the drivers and after that I run the cmd.exe in the mini-sdk folder. When I type in adb shell it puts out the line ~ # ←[6n
What do I do then?
Bump.... Please help?
Adb push or adb sideload is your friend. Plenty of guides on such things
Sent from my GT-I9305 using xda app-developers app
nateboi81 said:
Adb push or adb sideload is your friend. Plenty of guides on such things
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
Happened to me two weeks ago, and like you I panicked best thing to do is go into TWRP, and in advanced settings turn ADB sideload. Now open the latest fastboot in cmd (you need the newest, else it wont work). and type "adb push rom.zip /sdcard/" (without the " ofcourse)
rom.zip is the rom name and should be in the fastboot folder.
adb will sideload a filename called sideload.zip to the root of your phone.. You can install this like any regular rom
Yes this is what you have to do

[Q] HTC One - Custom Recovery not mounting storage

Hi,
I've looked everywhere for a solution but couldn't find one that helped. I was trying to flash a mod via TWRP custom recovery (followed all the instructions, wiped dalvik cache etc) but when rebooting, |the phone got stuck on the HTC One logo. I can access the custom recovery but when trying to mount storage, computer -running Windows 8- doesn't seem to do anything. Also made the mistake of not making a nandroid backup beforehand, so just need to be able to flash a ROM. Tried to adb push the file, but it gives me the error 'device not found'.
Delete... Sorry, I did misread it.
A lot of people have issues with getting drivers to work on Windows 8. Probably easier if you know someone who has Windows 7 and install the drivers on that
Sent from my HTC One using XDA Premium 4 mobile app
Minimal ADB and Fastboot
Maybe you could try this one here, solved this problem for me.
http://forum.xda-developers.com/showthread.php?t=2317790
You can check if adb can find your phone with "adb devices". If there is none, you have to check your drivers again.
I then used adb sideload in TWRP. Start it when connected and type "adb sideload update.zip" (or whatever your zip is called). He will load the file to your root /data directory. You can install the zip from there then.
Thanks
Thanks for the answers! I'll try using another computer that's not running Windows 8 - I have a feeling its a problem with the drivers.
Same problem here, when i type fastboot devices the serial appeared but i cant push files like the stock odex rom, cant, i found out i cant access my internal memory, is there a solution for that?
Thanks!!
Fastboot and adb are different. You can only adb push from in a Rom or in recovery
Sent from my HTC One using XDA Premium 4 mobile app
nateboi81 said:
Fastboot and adb are different. You can only adb push from in a Rom or in recovery
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
even in settings in twrp or cwm recovery, i cant mount my memory, is there a way to remount my memory on my phone? so that i transfer stock rom to my phone

Categories

Resources