Hey guys ..
I have installed TWRP as a recovery
is there a possibility to explore and edit my phone's files by a PC through a USB cable in recovery mod ?
You can take or push some file into sd card, but i think you can't navigate...
For example, you can push into sd a file with:
Code:
adb push name_of_file.extenction /sdcard
or you can take from sd a file with:
Code:
adb pull /sdcard/folder1/image.jpg
Guich said:
You can take or push some file into sd card, but i think you can't navigate...
For example, you can push into sd a file with:
Code:
adb push name_of_file.extenction /sdcard
or you can take from sd a file with:
Code:
adb pull /sdcard/folder1/image.jpg
Click to expand...
Click to collapse
Thank you
another question ..
Can I flash another recovery directly without removing the old one ?
HSN Ali said:
Thank you
another question ..
Can I flash another recovery directly without removing the old one ?
Click to expand...
Click to collapse
Yes, with fastboot command...
Sent from One with Tapa4 Beta
Related
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).
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.
I've flashed multiple ROMs before but this is the first time I'm experiencing this issue. I download the .zip I want to my PC, connect my HTC One to my computer and copy the file to the root of the SD. I boot into recovery but the .zip doesn't show up.
Has anyone has this problem before?
Thanks for the help in advance.
Maybe is in another folder.
With adb, try to use the command:
Code:
adb push name_rom.zip /data/media/
and check if you can see the zip, if not, try
Code:
adb push name_rom.zip /sdcard/
p.s. The rom will be in the same folder of adb
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
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!