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
Related
Hey, question for anyone who has what I feel is a mistake and used the RUU_Hero_C_Sprint_2.20.651.1_signed_test. Since I have done this I can find no way to get back to the recovery screen to load any custom roms. Several have said that since this is a test it is still rooted but there is no indication that this is true. Any help would be appreciated. Best site should be call Romipedia.
install a recovery image on it. It IS rooted. All Rooted means is you can get access to the linux commandprompt as the all powerful root user. Without a recovery image, you can't load other ROMS.http://forum.xda-developers.com/showthread.php?t=561124
I have loaded a recovery image on the sd card... When I go to power up holding the down volume and power key I get a picture of the device with a triangle and ! on the screen. I have tried everything but I can't even get into recovery mode.
You are missing a few steps. You need to flash the recovery image on your SD. However, the required command "flash_image" is missing in the 2.1 RUU leak. So....
You need to get hold of the "flash_image" executable, move it into the phone's /system/bin folder, and then flash the recovery image using the adb shell from your computer.
This worked for me:
http://forum.androidcentral.com/htc...pair-your-bootloader-after-using-2-1-ruu.html
I get the following when I try to push the flash_image to the phone... cannot stat flash_image : no file or directory found.. I need just a little more help... any would be appreciated.
markus123 said:
I get the following when I try to push the flash_image to the phone... cannot stat flash_image : no file or directory found.. I need just a little more help... any would be appreciated.
Click to expand...
Click to collapse
Make sure that the "flash_image" executable file is in the same directory of the "adb" executable - usually "c:\Android-sdk/tools" if you are just following the posted instructions.
You can use the Windows explorer's search function to see where you downloaded "flash_image".
2.1 ruu.exe left you without flash_image on your phone. You need to copy flash_image to /system/bin/flash_image.
I am attaching flash_image.zip (not really a zip). Copy the file I attach to your sdk root directory and use the commands below to push and rename it:
Code:
adb remount
adb push flash_image.zip /system/bin/flash_image
This will allow you to follow the standard guide on flashing a recovery image.
Hi,
By my mistake i delete recovery file in system directory, and now my phone doesnt start up only wait at galaxy S logo.
What can i do?
what rom was you running.
what if the full directory of the file you deleted.
As you can push it back with adb if someone else has it.
I had froyo2.2, and directory was: system/bin/ recovery
i want to change it with diferent recovery file but i see now that file was only deleted and not replaced xD
so i am without recovery option and phone doesnt start.
I can go to download mode.
denesch said:
I had froyo2.2, and directory was: system/bin/ recovery
i want to change it with diferent recovery file but i see now that file was only deleted and not replaced xD
so i am without recovery option and phone doesnt start.
I can go to download mode.
Click to expand...
Click to collapse
if you still have the recovery file you wanted to put there.
plug your phone into the computer and try
adb devices if something pops up your in luck
move the recovery file to your tools folder (in the sdk)
then use
adb push recovery /system/bin/
i have file on phone under Download folder. how can i get it and how can i copy back file.
my phone is detected by computer and i can acess it with odin.
denesch said:
i have file on phone under Download folder. how can i get it and how can i copy back file.
my phone is detected by computer and i can acess it with odin.
Click to expand...
Click to collapse
To copy a file or directory (recursively) from the emulator or device, use:
adb pull <remote> <local>
To copy a file or directory (recursively) to the emulator or device, use:
adb push <local> <remote>
example:
adb push foo.txt /sdcard/foo.txt
ttf said:
To copy a file or directory (recursively) from the emulator or device, use:
adb pull <remote> <local>
To copy a file or directory (recursively) to the emulator or device, use:
adb push <local> <remote>
example:
adb push foo.txt /sdcard/foo.txt
Click to expand...
Click to collapse
Sry but i am noob here
when i try to connect with adb says that no device found
but odin works fine.
ok we SOLVED with new firmware.
CLOSE thread.
And big thx to iammodo
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
My HTC ONE wont mount via usb so i'm trying to flash a custom rom to the phone's internal storage (as it has no sdcard slot)
I have got as far as opening the CMD and directing it to the device but i dont know the proper command to ADD a zip file to the storage
anyone pls help, i think this is fairly simple
You're supposed to be using ADB commands in order to sideload a ROM and then install it from recovery.
Is that what you are trying to do or how are you going about it? Are you trying to use fast boot commands? Because those won't work.
Here's a guide to setting up ADB:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
You'll need proper drivers for your computer to recognise your device in ADB mode, and those are automatically installed with HTC Sync Manager.
After placing the ROM file into the platform-tools folder, rename it to rom.zip and then execute the following command:
adb sideload rom.zip
Of course that's after making sure that your device is actually recognised by ADB and listed in command prompt, by using this code:
adb devices
Good luck
Ok great i think i have adb and most of the drivers already installed so i'll give this a go.
yes my ONE got stuck in bootloop with CM10.1 and my backups are on my PC not the phone so i figured i'd mount by USB but neither TWRP or CWM will mount by USB????
I have CWM touch installed so i'm thinking as long as this is in place my device isn't tottally shafted?
Use the command:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip /data/media
when you're in CWM, then flash the rom
Drag and drop it to the storage folder. Should be
/storage/sdcard0
And you can use ftp WiFi from the playstore if you don't wanna connect via usb cable.
I've resolved this now.
i'll explain what i did, it may help someone else out:
I went into CWM
Then i formatted the internal sdcard
Once i did that, an option in CWM appeared to sideload zip, i picked that, then it waited for the sideload command
went to folder on my PC containing adb.exe > hold shift > right click > open command here
then typed "adb sideload <romname>"
thanks for the help, good community here.
Yes, that's the correct way. And by the way, you cannot mount usb storage while you're in recovery anymore, neither TWRP nor CWM will do that for you. The only other option is using an OTG cable.
Hey guys, any help you could give me with my problem would be great. Basically, i tried to flash cyanogenmod 11 unofficial on my d959 g flex and it didn't work. unfortunately, i had created backups with twrp recovery, but had cwm on at the time and no cwm backup. I try to send the stock 1.5gb zip over with adb push or adb sideload, but neither is ever successful(stops after 1gb). basically need a way to flash a twrp.zip in cwm to restore my phone recovery to twrp, then I can restore my phone using my twrp backup. Any ideas? I've got the twrp.img file that the Freedom flex app downloaded before, and found a recoveryinstaller.zip that i have put it in and have thought about flashing that to my phone, but don't want to brick it further.
I lost where you replied to what I said about the otg cable but you're halfway right.
Try this.
Download Flash_img. and extract it from the zip file to a location on your computer. We extracted it to the main C drive (not in any folder) and will use that in the next steps.
Copy the recovery image for your phone to a convenient location on your computer, preferably with a short path. We will be placing it on the C Drive directly (not in any folder) and using that in the next steps.
Note: The recovery image should have .img extension. If it is in a zip file, extract the .img file from it.
Enable USB debugging mode on your device from Menu > Settings > Applications > Development.
Connect your device to your computer via USB.
Open a Command Prompt window on your computer and enter the following commands:
adb push c:\flash_image /sdcard/
adb push c:\recovery.img /sdcard/
adb shell
su
mount -o remount, rw /system
cp /sdcard/flash_image /system/bin
cd /system/bin
chmod 777 flash_image
flash_image recovery /sdcard/recovery.img
This will first transfer flash_image and recovery.img to your phone. Then it will copy flash_image to the /system/bin folder of your Android device and make it executable. Finally, it will flash the custom recovery image to your device using flash_image.
Note that we used c:\flash_image and c:\recovery.img in the first two lines as we had these files extracted at the root of our C drive. If you extracted the files elsewhere, use the appropriate paths and if your recovery image has a different name, use the appropriate name.
Reboot your device once the process is finished and you’re done. You may exit adb and the Command Prompt window on your computer by entering ‘exit’ twice.
Here is the "bumped" twrp.img
https://docs.google.com/file/d/0B2OabWtEBQcpVjZGb2ppT083OGs/edit?usp=docslist_api
Here is the flash.img that you need to extract on your PC
https://docs.google.com/file/d/0B2OabWtEBQcpcmowamtnUVY1YU0/edit?usp=docslist_api
---------- Post added at 12:13 PM ---------- Previous post was at 12:10 PM ----------
If you can get into download mode try opening cmd and
Fastboot flash recovery " then drag and drop the twrp.img that I just posted the link for here with out the quotations". It doesn't matter what you name it in this case. This is the easiest way to me.