Hi everybody,
My HTC One is no more use full, i made a mistake i format every thing because i would like to update my rom and now i can only boot in recovery or bootloader so no adb command works.
I know you can install a rom thru fastboot command but it's only with file *.img (eg: system.img)
Does anyone know where i cant find this kind of file or can i make one with systel folder in any rom in zip files (eg:Android_Revolution_HD-One_10.3.zip)
Thank's for your help. :good:
Please sorry for my poor english (I'm french)
Regards
australfr said:
Hi everybody,
My HTC One is no more use full, i made a mistake i format every thing because i would like to update my rom and now i can only boot in recovery or bootloader so no adb command works.
I know you can install a rom thru fastboot command but it's only with file *.img (eg: system.img)
Does anyone know where i cant find this kind of file or can i make one with systel folder in any rom in zip files (eg:Android_Revolution_HD-One_10.3.zip)
Thank's for your help. :good:
Please sorry for my poor english (I'm french)
Regards
Click to expand...
Click to collapse
It's not bricked.
Get this tool http://forum.xda-developers.com/showthread.php?t=2183942
install htc drivers
upload rom.zip VIA adb sideload. Make sure file path is simple. e.g C:\rom.zip. This will start the installation after uploaded.
mih3y said:
It's not bricked.
Get this tool http://forum.xda-developers.com/showthread.php?t=2183942
install htc drivers
upload rom.zip VIA adb sideload. Make sure file path is simple. e.g C:\rom.zip. This will start the installation after uploaded.
Click to expand...
Click to collapse
Hi,
Thank's for your answer.
When i do that, the process start and stop at 1% with the following message :
* failes to write data 'protocol fault (no status)' *
The command line i used is : adb sideload rom.zip
The One is unloacked and was in recovery with TWRP in which i selected adb sideload.
Regards
Go into recovery and use the command:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip data/media
and flash the rom
Guich said:
Go into recovery and use the command:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip data/media
and flash the rom
Click to expand...
Click to collapse
Thank's for your help.
Both commands return the following message : protocol failure
australfr said:
Thank's for your help.
Both commands return the following message : protocol failure
Click to expand...
Click to collapse
You wiped your internal sd.. sd isn't formatted, you can't put anything into
Just in recovery make sd formatting.. and then adb sideload procedure
tash2013 said:
You wiped your internal sd.. sd isn't formatted, you can't put anything into
Just in recovery make sd formatting.. and then adb sideload procedure
Click to expand...
Click to collapse
Ok it's work.
My One is back thank you again :good:
Regards
Thank's
I will thanks all of you three :
- mih3y
- Guich
- tash2013
For your help to bring my HTC one Back
best Regards
Eric
tash2013 said:
You wiped your internal sd.. sd isn't formatted, you can't put anything into
Just in recovery make sd formatting.. and then adb sideload procedure
Click to expand...
Click to collapse
It's not formatting, formatting just deletes files system table, partitions are still there, they only need to be mounted.
So before pushing or sideloading the easiest way is in recovery go to Mounts and Storage options and mount data partition (this will also automatically mount sdcard partition (since it is contained on data partition).
Related
Hello, I do some wipe in the ckw :
* wipe cache
* wipe data
* wipe dalvik-cache
* format data - cache - system
* format data in sdcard /data and /data/media
-> and here, my phone reboot when I want to go to "choose a zip from sd card", I can't do a backup... etc.
And like I do a format system, there isn't ROM which is installed in my HTC ONE... So I'm blocked !
And I don't do a "BIG" format, because I have some photos and videos which don't backup in my computer... I don't want to lose all my photos and videos.... :/
Please help !
EDIT :
When I want to flash a recovery other than the ckw, like twrp, it impossible to boot in this recovery...
I reflash the ckw and I can boot into this.
I think that my sd-card is "blocked" , and it impossible to write something in this sd-card...
EDIT 2 :
I use sideload, 5 times in order to reboot in this rom..
IT4ALii3EN said:
Hello, I do some wipe in the ckw :
* wipe cache
* wipe data
* wipe dalvik-cache
* format data - cache - system
* format data in sdcard /data and /data/media
-> and here, my phone reboot when I want to go to "choose a zip from sd card", I can't do a backup... etc.
And like I do a format system, there isn't ROM which is installed in my HTC ONE... So I blocked !
And I don't do a "BIG" format, because I have some photos and videos which don't backup in my computer... I don't want to lose all my photos and videos.... :/
Please help !
EDIT :
When I want to flash a recovery other than the ckw, like twrp, it impossible to boot in this recovery...
I reflash the ckw and I can boot into this.
I think that my sd-card is "blocked" , and it impossible to write something in this sd-card...
Click to expand...
Click to collapse
I've got a similar problem. I wanted to install a stock version and I said before formatting the phone just fine and I deleted the zip. Now only I have no operating system or copied zip. And I do not know how to install a copy on your phone.
You've wiped your sd, right?
However, when you will flash new rom, you don't have to do any wipe from recovery, it will wipe your sd and zip rom too.
You have to perform a full wipe in aroma.
Guich said:
You've wiped your sd, right?
However, when you will flash new rom, you don't have to do any wipe from recovery, it will wipe your sd and zip rom too.
You have to perform a full wipe in aroma.
Click to expand...
Click to collapse
yes i've wiped the sd but now how can I copy a rom into sd form recovery?
geox89 said:
yes i've wiped the sd but now how can I copy a rom into sd form recovery?
Click to expand...
Click to collapse
Are you using CWM or TWRP?
Guich said:
Are you using CWM or TWRP?
Click to expand...
Click to collapse
twrp
geox89 said:
twrp
Click to expand...
Click to collapse
You can use the
Code:
adb sideload or adb push
or use an OTG cable with rom into an usb pen
geox89 said:
twrp
Click to expand...
Click to collapse
You can either use adb sideload or adb push
Put your a rom zip and your adb file in a folder on your desktop, hold shift in the folder and right click, press open cmd in this location, then do
Code:
adb push ROM.zip /sdcard/ROM.zip
Replace ROM.zip with the zip name of your rom
Now wipe cache/dalvik in TWRP, and you will find the zip at the root of your SD Card
MacHackz said:
You can either use adb sideload or adb push
Put your a rom zip and your adb file in a folder on your desktop, hold shift in the folder and right click, press open cmd in this location, then do
Code:
adb push ROM.zip /sdcard/ROM.zip
Replace ROM.zip with the zip name of your rom
Now wipe cache/dalvik in TWRP, and you will find the zip at the root of your SD Card
Click to expand...
Click to collapse
I didn't format my sd-card, juste /data and /data/media (/sdcard) ...
And via fastboot, it's possible to push an .zip in my HTC ?
IT4ALii3EN said:
I didn't format my sd-card, juste /data and /data/media (/sdcard) ...
And via fastboot, it's possible to push an .zip in my HTC ?
Click to expand...
Click to collapse
No, you can in recovery with adb command like sideload (TWRP recovery) or push.
For example:
- Boot in recovery
- Open adb/fastboot folder
- Copy here the "rom"
open the prompt and use:
Code:
adb devices
(you can see if your device is connected, then
Code:
adb push name_of_rom.zip /sdcard
Now you can see your rom in your phone
Guich said:
No, you can in recovery with adb command like sideload (TWRP recovery) or push.
For example:
- Boot in recovery
- Open adb/fastboot folder
- Copy here the "rom"
open the prompt and use:
Code:
adb devices
(you can see if your device is connected, then
Code:
adb push name_of_rom.zip /sdcard
Now you can see your rom in your phone
Click to expand...
Click to collapse
Ok ! I test this now ! thx
IT4ALii3EN said:
Ok ! I test this now ! thx
Click to expand...
Click to collapse
I wrote the same thing
MacHackz said:
I wrote the same thing
Click to expand...
Click to collapse
Sorry, saw now
I have an error after the adb push xxxxx.zip /sdcard
error: closed
with CKW in sideload
IT4ALii3EN said:
I have an error after the adb push xxxxx.zip /sdcard
error: closed
with CKW in sideload
Click to expand...
Click to collapse
You don't need sideload if you will use adb push command
IT4ALii3EN said:
I have an error after the adb push xxxxx.zip /sdcard
error: closed
with CKW in sideload
Click to expand...
Click to collapse
Do the same thing but write
Code:
adb sideload ROMname.zip
MacHackz said:
Do the same thing but write
Code:
adb sideload ROMname.zip
Click to expand...
Click to collapse
I have :
Sideload started
Now send the package you want to apply to the device with "adb sideload <filename>...
failed to open driver control: No such file or diretory
restarting adbd...
failed to open driver control: No such file or diretory
E: can't mount /cache/recovery/last_install
E: failed to open last_install: Invalid argument
Finding update package...
Opening update package...
E: can't open /tmp/update.zip
(bad)
Installation aborted.
E: Can't mount /cache/recovery/log
E: can't open cache/recovery/log
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
I don't know what I must do... :/
Boot in recovery, open propt and write:
Code:
adb push name_of_rom.zip /sdcard
If you have error, please report it here
Try looking in /data/media/
not /sdcard/
I flashed CM just to check it out and came back to ARHD and it borked my directories. Wth. That's where I had to look as I freaked out the same.
Guich said:
Boot in recovery, open propt and write:
Code:
adb push name_of_rom.zip /sdcard
If you have error, please report it here
Click to expand...
Click to collapse
can you repeat the steps again..I don't understand something goes wrong..
I have installed android sdk as said here (http://teamw.in/ADBSideload)
I enter in recovery-advanced-sideload and turn it on
Next I open cmd from folder platform-tools found in the android-sdk folder
in the platform tools folder I put the zip rom
and then I type adb push ROM.zip /sdcard/ROM.zip and nothing happens...appear a sequence of commands adb's..
Where I'm wrong?
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
I flashed a new recovery twrp 2.6.3.3 to flash android revolution rom... I am new to this recovery so I made an error of deleting formatting the internal storage and in turn the android rev zip I wanted to flash.. so now im stuck in recovery with no rom to flash..and no backup to flash or restore.
I can access fastboot and I tried doing fastboot flash zip rom.zip said remote not allowed:failed...
this twrp wont mount the phone on my pc so I can drop the zip on the phone and flash it.
removable storage shows on my pc but it says please insert removable storage when I click it
I also went to mount on twrp and put the x throu system cache and data.. and tried without the x.. usb-otg is non selectable..but I don't even know what that is.. either way I still cant get access on my computer to drop the zip..
so is there any quick way I can get a darn zip transferred to my phone so I can flash it throu twrp.?
any help would be great
thanks
matthewstice said:
I flashed a new recovery twrp 2.6.3.3 to flash android revolution rom... I am new to this recovery so I made an error of deleting formatting the internal storage and in turn the android rev zip I wanted to flash.. so now im stuck in recovery with no rom to flash..and no backup to flash or restore.
I can access fastboot and I tried doing fastboot flash zip rom.zip said remote not allowed:failed...
this twrp wont mount the phone on my pc so I can drop the zip on the phone and flash it.
removable storage shows on my pc but it says please insert removable storage when I click it
I also went to mount on twrp and put the x throu system cache and data.. and tried without the x.. usb-otg is non selectable..but I don't even know what that is.. either way I still cant get access on my computer to drop the zip..
so is there any quick way I can get a darn zip transferred to my phone so I can flash it throu twrp.?
any help would be great
thanks
Click to expand...
Click to collapse
I think you just need an OTG cable... download and copy ROM of your choice, copy it to a USB drive, then mount the USB drive to your phone using OTG cable (available in most electronics stores for something like $2)
Once the USB is mounted, go into recovery, click install, and at the top there should be a menu that lets you choose between internal sdcard and OTG. Click OTG, and you'll be able to choose the ROM to install on the USB drive.
There's a way to "push" the files to your phone when it's hooked up through USB cable to the PC, but that's a bit more complicated. You can google or search on the forums (how to push files to HTC ONE)
Ya I googled..pushed zip over fastboot as I heard adb won't work..or is that wrong? just dont know if i did it right.. fastboot flash zip yourrom.zip..I'll give that other option a try but I guess I need a USB drive..and a cord.
Thanks
Sent from my LG-P769 using xda app-developers app
Go to recovery and adb push rom,zip /data/media
matthewstice said:
Ya I googled..pushed zip over fastboot as I heard adb won't work..or is that wrong? just dont know if i did it right.. fastboot flash zip yourrom.zip..I'll give that other option a try but I guess I need a USB drive..and a cord.
Click to expand...
Click to collapse
No, that's not right for flashing a custom ROM. That would be for flashing a ROM from HTC. They're both distributed as .zip, but are different formats. @SaHiLzZ got the right answer, but I'll explain it a little further:
- Install/configure ADB (you probably already did this if you can run fastboot).
- Boot the phone to recovery
- I would run two commands just for a little added safety:
Code:
adb shell mkdir /data/media
adb shell mkdir /data/media/0
Then the key command:
Code:
adb push name-of-ROM.zip /data/media/0/
Make sure the ROM is in the present shell directory on your computer, or type the full path to the ROM. The transfer takes a few minutes. The procedure is identical on Linux/OSX/Windows.
Now the ROM is on your phone, and you can install in TWRP.
Easiest way is 2 buy a USB OTG cable and put the ROM in the USB storage
fenstre said:
No, that's not right for flashing a custom ROM. That would be for flashing a ROM from HTC. They're both distributed as .zip, but are different formats. @SaHiLzZ got the right answer, but I'll explain it a little further:
- Install/configure ADB (you probably already did this if you can run fastboot).
- Boot the phone to recovery
- I would run two commands just for a little added safety:
Code:
adb shell mkdir /data/media
adb shell mkdir /data/media/0
Then the key command:
Code:
adb push name-of-ROM.zip /data/media/0/
Make sure the ROM is in the present shell directory on your computer, or type the full path to the ROM. The transfer takes a few minutes. The procedure is identical on Linux/OSX/Windows.
Now the ROM is on your phone, and you can install in TWRP.
Click to expand...
Click to collapse
Adb push myrom.zip /data/media/0
Waited 5 min then
Failed to copy "myrom.Zip" to /data/media/0/: Is a directory
Not working.. Want to get this work in over adb as I don't want to go out an buy a cord and USB drive
First I'll try
Adb push myrom.zip /data/media
I notice the ROM zip showing on the data/media directory on the phone..but something seems to be interrupting and failing the transfer before its completed
Second attempt worked...thank you..I'm back in business
Sent from my LG-P769 using xda app-developers app
Wonderful!
by mistake i erase all phone, system, data, etc etc
so when it boots nothing happens because there isnt no rom...
i can enter in team win recovery project v2.6.3.3., but cant do nothing
there is any way to send a rom or something to sdcard???
need help please
thanks
You can pull out you sdcard and use a card reader or adapter to copy a ROM in there. And then put it back to flash with TWRP.
dsw5775 said:
You can pull out you sdcard and use a card reader or adapter to copy a ROM in there. And then put it back to flash with TWRP.
Click to expand...
Click to collapse
htc m7 dont have sdcard i was talking about send the rom to internal sdcard or something
eheheh said:
htc m7 dont have sdcard i was talking about send the rom to internal sdcard or something
Click to expand...
Click to collapse
Sorry, I don't have M7 and didn't know that. You can try with Ubuntu Linux system and see whether it can see your partition. If so, you can copy ROM to internal sdcard.
eheheh said:
htc m7 dont have sdcard i was talking about send the rom to internal sdcard or something
Click to expand...
Click to collapse
then sideload a Rom to your phone
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
clsA said:
then sideload a Rom to your phone
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
Click to expand...
Click to collapse
install adb in windows 7 32bits but i cant find any good driver for windows 7 32bits
can you help, because im trying to install the samsung driver and its nor working
thanks for helping, just solved the problem
thanks
clsA said:
then sideload a Rom to your phone
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
Click to expand...
Click to collapse
Good to know. Thanks.
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
when I had that problem, I ended up wiping everything and then rebooted to recovery and it finally worked.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try what @JudgeFutta said. The error's most likely due to corrupt partitions.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try to get in Recovery and from mount option mount system and then try it will work or try this
Make Sure HTC Drivers are installed and ADB is already working
1. Reboot into TWRP
2. in TWRP, Hit andvanced and find Sideload
3. Swipe to start Sideload
4. Open a CMD Prompt window and Change Directories to where your adb.exe is
5. type adb devices and it should show your device conntected and say sideload
6. Your ZIP file should already be in your adb folder
7. You are now ready to push the zip.....
8. type adb sideload nameofzip.zip
9. Wait until it says 100% and reboot back into recovery to flash the ROM
10. If hitting power does not make the screen come one, type adb reboot recovery
11. if adb reboot recovery does not work, hold power and volume down until it reboots to fastboot then go to recovery
ADB Push from Recovery - If Sideload Fails For You
adb push rom.zip /data/media/0/
Be sure u r in Recovery when using ADB Push command.
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
p1mpin said:
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
Click to expand...
Click to collapse
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
User420s said:
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
Click to expand...
Click to collapse
@p1mpin Can vouch for that ROM, it's amazing. Might also want to flash Kangaroo Kernel while you're at it. It'll give you great battery life.