Erases operating system accident - One (M7) Q&A, Help & Troubleshooting

I was getting ready to reinstall Viper one and I accidently wiped my phone in recovery including the internal memory card that had the Viper one OS file on it. Now my phone is stuck on the HTC screen and will do nothing. Do I have any options?

slufoot69 said:
I was getting ready to reinstall Viper one and I accidently wiped my phone in recovery including the internal memory card that had the Viper one OS file on it. Now my phone is stuck on the HTC screen and will do nothing. Do I have any options?
Click to expand...
Click to collapse
adb push or adb sideload your rom from recovery
Code:
adb push name_of_rom.zip /sdcard/

alray said:
adb push or adb sideload your rom from recovery
Code:
adb push name_of_rom.zip /sdcard/
Click to expand...
Click to collapse
Is there any way to get into recovery? My phone is stuck on HTC screen. When I hold the power button down and volume down it just reboots to the HTC screen

slufoot69 said:
Is there any way to get into recovery? My phone is stuck on HTC screen. When I hold the power button down and volume down it just reboots to the HTC screen
Click to expand...
Click to collapse
hold power and volume down until your phone reboot in bootloader.

Got into recovery, Thanks... I was not holding buttons long enough....

Does anybody have link to newest ADB... Ive had so much trouble with that in the past... My pc never recognizes my phone but Im going to attempt it again...Thanks all...

alray said:
adb push or adb sideload your rom from recovery
Code:
adb push name_of_rom.zip /sdcard/
Click to expand...
Click to collapse
Is ADB easier or sideload? ADB gives me alot of fits...

slufoot69 said:
Is ADB easier or sideload? ADB gives me alot of fits...
Click to expand...
Click to collapse
I personally prefer to use adb push but both methods are easy.
http://forum.xda-developers.com/showthread.php?t=2318497

Related

[Q] nandroid via adb or fastboot

hi to all!! i have a doubt....
can i do a nandroid backup of my current rom using adb or fastboot parameters??
anyone can write or leave it here?
thank´s in advance!!
No. Custom recover does it. You can issue the adb reboot recover command to get into it etc....
Sent from my Nexus One using XDA App
Yea...maybe its the reason that i dont know this parameter lol
sent from my amstrad CPC powered by LOL..(premium xda)
You sure can do it from adb. I had to find this out when I cracked my AMOLED screen and had to try and back everything up without being able to use the screen of my phone.
You need to be in recovery for it (you might be able to backup with fastboot as well, but I didn't have my bootloader unlocked at the time), so if you are full booted up, reboot into recovery and follow these commands.
Code:
adb reboot recovery
adb shell
nandroid backup
Nice and simple, right?
bassmadrigal said:
You sure can do it from adb. I had to find this out when I cracked my AMOLED screen and had to try and back everything up without being able to use the screen of my phone.
You need to be in recovery for it (you might be able to backup with fastboot as well, but I didn't have my bootloader unlocked at the time), so if you are full booted up, reboot into recovery and follow these commands.
Code:
adb reboot recovery
adb shell
nandroid backup
Nice and simple, right?
Click to expand...
Click to collapse
all rigth buddy... thank´s!!! i´ve a adb fastboot command list and this does not stay in the list...
bassmadrigal said:
You sure can do it from adb. I had to find this out when I cracked my AMOLED screen and had to try and back everything up without being able to use the screen of my phone.
You need to be in recovery for it (you might be able to backup with fastboot as well, but I didn't have my bootloader unlocked at the time), so if you are full booted up, reboot into recovery and follow these commands.
Code:
adb reboot recovery
adb shell
nandroid backup
Nice and simple, right?
Click to expand...
Click to collapse
ok i did it with the commands that you gave to me... and i obtain it when i try...
E:UNKNOWN VOLUME FOR PATH [/SDCARD]
CAN´T MOUNT SD CARD
#.
any advise????? please.......
some one can help-me please?? thanks in advance for your advises!!
SERGI.3210 said:
ok i did it with the commands that you gave to me... and i obtain it when i try...
E:UNKNOWN VOLUME FOR PATH [/SDCARD]
CAN´T MOUNT SD CARD
#.
any advise????? please.......
Click to expand...
Click to collapse
Sorry, I was out of town all day...
At what point is this failing? I assume you actually have an sdcard loaded in the phone?
bassmadrigal said:
Sorry, I was out of town all day...
At what point is this failing? I assume you actually have an sdcard loaded in the phone?
Click to expand...
Click to collapse
thanks for your continuity in this thread!!
shell shows me this when i put my device into recovery and enter the code that was provided to my above...sd card is in my device... but i think that the problem is that i don´t know what´s exactly the status that the phone need to stay.. into recovery with sd card usb mounted?(i think that not)
with the phone booted and in usb debugging mode & only chargue?
If you are booted into the phone (ie. fully loaded and able to use your phone), you need to issue the adb reboot recovery command. If the phone is off, hold down the volume down button as you are booting up. This will load the bootloader. From there, it will do a little check, and then you can use the volume keys to go to Recovery. Hit the Power button to select it. The phone will load the 'X' screen and eventually be in recovery (the text should be green or orange).
Once you are in recovery, you don't need to do anything else on the phone. Just issue
Code:
adb shell
nandroid backup
(You might have to issue the 'su' command if it shows a $ instead of a # before you run the backup.)
bassmadrigal said:
If you are booted into the phone (ie. fully loaded and able to use your phone), you need to issue the adb reboot recovery command. If the phone is off, hold down the volume down button as you are booting up. This will load the bootloader. From there, it will do a little check, and then you can use the volume keys to go to Recovery. Hit the Power button to select it. The phone will load the 'X' screen and eventually be in recovery (the text should be green or orange).
Once you are in recovery, you don't need to do anything else on the phone. Just issue
Code:
adb shell
nandroid backup
(You might have to issue the 'su' command if it shows a $ instead of a # before you run the backup.)
Click to expand...
Click to collapse
when i did it i obtained:
Code:
~#nandroid backup
E:unknown volume for path [/sdcard]
can´t mount sdcard
and if i write su i obtain it:
Code:
~#su
/sbin/sh: su: not found
~#
sorry for my ignorance mate i´m open for your help
also i know that the device is in the correct mode thank´s to you... and confirmated with command:
Code:
adb status-window
-[2j-[2hANDROID debug bridge (adb mode)
status:unknown
Which recovery do you use?
What happens when you type
Code:
adb devices
?
bassmadrigal said:
What happens when you type
Code:
adb devices
?
Click to expand...
Click to collapse
shows me that the device its connected and a big number... this part its correct
danger-rat said:
Which recovery do you use?
Click to expand...
Click to collapse
CWM recovery
SERGI.3210 said:
CWM recovery
Click to expand...
Click to collapse
CWM 3.x, or 2.x?
same problem
danger-rat said:
CWM 3.x, or 2.x?
Click to expand...
Click to collapse
I'm having the same problem with my HeroC. If you have any idea what to do I would really appreciate it! I'm running AOSP 2.3.4, Firerats MTD, and CWmod 3xxx
Don't use CWM 3.x, stick to the latest 2.x
danger-rat said:
Don't use CWM 3.x, stick to the latest 2.x
Click to expand...
Click to collapse
Should I just flash the CW2xxx over the CW3xxx and then proceed with the nandroid backup? I can't use my screen at all, so will that be a problem?

[Q] ADB Commands

I currently can no longer use my power button. I was wondering if there is any way to use ADB to install the Update.zip to root my phone.
Adb reboot recovery? Dunno if that'll work
Sent from my SGH-I897 using XDA App
adb reboot recovery
Click to expand...
Click to collapse
after it reboots to the recovery,
adb push update.zip /sdcard/
Click to expand...
Click to collapse
That will work, to reboot to normal again, "adb reboot"
As of right now, I don't think /sdcard/ is the right directory. I'm going to try to find the correct one. It couldn't find the directory or .zip.
As long as your phone is on and debugging mode is on, then ADB should work.
Sent from my I897 using xda premium
In adb the sdcard partition is /mnt/sdcard...

[Q]Have formatted my intern SD-Card ...PLEASE HELP ME!!!!

Hey !
I am new to the phone and I am so stupid...I formatted my intern SD Card with CWM Recovery..
So what can I do now?? Nothing is on the phone any more..cant flash anything..
Help me please!!
so_ony said:
Hey !
I am new to the phone and I am so stupid...I formatted my intern SD Card with CWM Recovery..
So what can I do now?? Nothing is on the phone any more..cant flash anything..
Help me please!!
Click to expand...
Click to collapse
Do you have s-off ? have you tried a RUU ?
so_ony said:
Hey !
I am new to the phone and I am so stupid...I formatted my intern SD Card with CWM Recovery..
So what can I do now?? Nothing is on the phone any more..cant flash anything..
Help me please!!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2325853 - it's a sticky at the top of the Q&A page, it happens all the time, don't panic...
"just calm the fu** down", that is what I said to myself when it happened to me, because i panicked a little too...
you should follow the guide in the link that redbull123 provide
but if your fear is taking over you, there are two other and "for me" easily ways to install a rom if you fuc*... wiped your internal sd
1 - install HTC drivers as the provided link (above), then use DROID EXPLORER (look for it in google and install it) to copy a rom into your ONE, then flash!!!
2 - get a OTG cable copy the rom into usb and flash the rom using the usb memory with the OTG cable.
I remembere when i wiped my internal SD, it was because a skin for the recovery TWRP that changes the buttons, so I accidentally deleted my internal SD lol
redbull123 said:
http://forum.xda-developers.com/showthread.php?t=2325853 - it's a sticky at the top of the Q&A page, it happens all the time, don't panic...
Click to expand...
Click to collapse
i did it like there, the problem is, that i do not know where i have to go exactly with "cmd" mode...
I have the newest HBOOT 1.44.0000 so no RUU for this i think
i started the adb push but i only can go into recovery of TWRP . And what i have to do now?
i typed in adb push *rom* data/media/
but it says :"failed to copy rom to "data/media/ : is a directory
what does this mean?
so_ony said:
i did it like there, the problem is, that i do not know where i have to go exactly with "cmd" mode...
I have the newest HBOOT 1.44.0000 so no RUU for this i think
i started the adb push but i only can go into recovery of TWRP . And what i have to do now?
i typed in adb push *rom* data/media/
but it says :"failed to copy rom to "data/media/ : is a directory
what does this mean?
Click to expand...
Click to collapse
don't worry about hboot.
try selecting Advanced -> ADB Sideload in TWRP then in cmd command
adb sideload name_of_your_rom.zip
(make sure the rom is in the same folder as your adb/fastboot drivers and your running the cmd window from that folder also)
Hold shift and right click on your folder then click 'Open Command Window here' before you command anything.
redbull123 said:
don't worry about hboot.
try selecting Advanced -> ADB Sideload in TWRP then in cmd command
adb sideload name_of_your_rom.zip
(make sure the rom is in the same folder as your adb/fastboot drivers and your running the cmd window from that folder also)
Hold shift and right click on your folder then click 'Open Command Window here' before you command anything.
Click to expand...
Click to collapse
i did adb sideload but comming this failiure :ADB Sideload Complete -Failed-
so_ony said:
i did adb sideload but comming this failiure :ADB Sideload Complete -Failed-
Click to expand...
Click to collapse
Strange, I'd stay and try to help but I'm working in the morning so
make sure you have up to date drivers installed, maybe someone else can help...
good luck :good:
so_ony said:
i did adb sideload but comming this failiure :ADB Sideload Complete -Failed-
Click to expand...
Click to collapse
Does adb recognize your fone?
Cmd: "adb devices" it should display your fone, while being in recovery.
If not, try and flash latest twrp again, due to fastboot.
Sideload worked fine for me, as I formatted my sdcard..
Greetz MaW
Sent from my HTC One

[Q] Whoops

I think I soft bricked my phone.
I tried to fastboot a new rom over to my sdcard to no avail.
I have the PhilZ Touch 5 CWM Base Version : v6.0.3.7. Build 5.11.2 - HTC_One_cm_m7ul installed.
How do I copy a file via usb cable to my sd card and flash a rom again. I'm use to a phone that had a removable micro sd so this is new to me.
Thanks
Richard
krustypick said:
I think I soft bricked my phone.
I tried to fastboot a new rom over to my sdcard to no avail.
I have the PhilZ Touch 5 CWM Base Version : v6.0.3.7. Build 5.11.2 - HTC_One_cm_m7ul installed.
How do I copy a file via usb cable to my sd card and flash a rom again. I'm use to a phone that had a removable micro sd so this is new to me.
Thanks
Richard
Click to expand...
Click to collapse
using ADB, not fastboot
adb push C:\Users\User\Downloads\rom.zip /sdcard/rom.zip
(replace the C:\Users\User\Downloads with where the zip is and rom.zip to the actual zip name)
you should be able access adb through recovery, maybe in bootloader/fastboot mode too but I'm not too sure
krustypick said:
I think I soft bricked my phone.
I tried to fastboot a new rom over to my sdcard to no avail.
I have the PhilZ Touch 5 CWM Base Version : v6.0.3.7. Build 5.11.2 - HTC_One_cm_m7ul installed.
How do I copy a file via usb cable to my sd card and flash a rom again. I'm use to a phone that had a removable micro sd so this is new to me.
Thanks
Richard
Click to expand...
Click to collapse
Can you boot into recovery? If so you should be able to push a rom zip file over adb with this command: adb push name_of_rom_file.zip /sdcard/
This is of course assuming you have adb set up and that your phone shows up when you enter the 'adb devices' command.
EDIT: looks like thom109 beat me to it.
thom109 said:
using ADB, not fastboot
adb push C:\Users\User\Downloads\rom.zip /sdcard/rom.zip
(replace the C:\Users\User\Downloads with where the zip is and rom.zip to the actual zip name)
you should be able access adb through recovery, maybe in bootloader/fastboot mode too but I'm not too sure
Click to expand...
Click to collapse
I tried this guys but my computer just says 'error' and will not push the file over. No sure where to go from here. I did order an OTG cable and will see if that will work.
bluetint said:
Can you boot into recovery? If so you should be able to push a rom zip file over adb with this command: adb push name_of_rom_file.zip /sdcard/
This is of course assuming you have adb set up and that your phone shows up when you enter the 'adb devices' command.
EDIT: looks like thom109 beat me to it.
Click to expand...
Click to collapse
Sorry.
What is says is error closed.
krustypick said:
I tried this guys but my computer just says 'error' and will not push the file over. No sure where to go from here. I did order an OTG cable and will see if that will work.
Click to expand...
Click to collapse
There isn't any more information in the error? It literally just says "error"? Do you have ADB set up properly? Have you been able to use it before?
EDIT: Didn't see your second post. I've never seen that error before.
EDIT 2: With your phone in recovery mode and plugged into your computer what is the output of the command 'adb devices' ?
bluetint said:
There isn't any more information in the error? It literally just says "error"? Do you have ADB set up properly? Have you been able to use it before?
EDIT: Didn't see your second post. I've never seen that error before.
EDIT 2: With your phone in recovery mode and plugged into your computer what is the output of the command 'adb devices' ?
Click to expand...
Click to collapse
I type c:\fastboot> adb devices - it comes back as;
List of devices attached
HT35KW909302 host
krustypick said:
Sorry.
What is says is error closed.
Click to expand...
Click to collapse
make sure you also state the name of the zip file the second time.
so adb push C:\blabla\bla\rom.zip /sdcard/rom.zip
not just adb push C:\blabla\bla\rom.zip /sdcard
and what state is your device in when trying to push? It works in fastboot mode and in recovery mode
thom109 said:
make sure you also state the name of the zip file the second time.
so adb push C:\blabla\bla\rom.zip /sdcard/rom.zip
not just adb push C:\blabla\bla\rom.zip /sdcard
and what state is your device in when trying to push? It works in fastboot mode and in recovery mode
Click to expand...
Click to collapse
It shows device in both Fastboot and ADB devices command.

So i messed up

Hi , I installed ColosOS beta without installing oppo.boot.img.
And whole system froze on booting up.
Now I have TWRP recovery installed , via fastboot.
But I have no ROM on my cellphone it seems.
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
My problem now is to get ROM.zip into my phone. Damn HTC ONE dont have external sd card.....
Anyone can help ?
mrcaligula said:
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
Click to expand...
Click to collapse
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
nkk71 said:
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
Click to expand...
Click to collapse
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
mrcaligula said:
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
Click to expand...
Click to collapse
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
nkk71 said:
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
Click to expand...
Click to collapse
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
mrcaligula said:
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
Click to expand...
Click to collapse
good luck, hit the thanks button if i've helped
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
mrcaligula said:
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
Click to expand...
Click to collapse
Good
BTW, /sdcard usually point to /data/media/0, so you should have browsed to the 0 folder in CWM, and then you would have seen the rom.zip

Categories

Resources