hello all
I need help transferring rom TWRP but no possibility of installer.les files appears on TWRP but they are empty I think I can not flash.
what should I do,?
I could use as few more details, but try my tutorial, that tells how to push a file to the device from recovery: http://forum.xda-developers.com/showthread.php?t=2459498
Sent from my Amazon Kindle Fire HD using Tapatalk
If you have adb drivers installed, place the files you want to push in that folder. Then go to that directory on your command prompt. On your kindle go into recovery, go into advanced, and select adb sideload. Once there, type, "adb sideload [filename].zip" without quotation marks and place the name of the file in the brackets. It should push the file to your device and your set. Hope it helps.
Related
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.
I'm interested in doing a full format - I know I can do that with CWM or TWRP, but how do I do a recover - how do I push an OS back onto a completely blank Nexus 7?
Download the factory images package then extract into the ADB folder. Typing "flash-all.bat" will flash all stock images including the boot, recovery, system and data to return the device to stock.
Or move your desired ROM to your ADB folder, enable sideload then typing "adb sideload rom.zip" will install it.
I am usually too lazy to move one item a time so I prefer copying an entire folder by typing "adb push c:/users/account/desktop/recoveryinstall /sdcard/download" then I can flash up to 10 zips at once.
Be sure to have the latest Android Composite ADB Interface Driver and Naked Driver 0.72 to use ADB in recovery installed.
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
Trying to push a factory update since i have no OS installed and when i go to push the .zip file it says "no such file or directory" its clearly in the file and I just copied and pasted the name with .zip at the end.
Any other ideas? Tried getting the kindle in adb sideload and it wouldnt even start.
tried to side load and it said cannot read the .zip file i was trying to load.
anyone?
ok got this to work sorta.
abd push rom.zip /sdcard
then it says
failed to copy rom.zip to /sdcard/rom.zip: read only file system
Something odd happened, when I went to reboot from twrp, it says supsersu is not installed an my device does not appear to be rooted. I rooted it before I even started all this. Maybe update derooted it?
Is there a way to push supersu and install it that way to root my device?
You could push su to the device and then mv it to the system after you mount it. Not sure why you gotna read only error on the sdcard as that is not supposed to happen. Try pushing the ROM to /data/local/tmp or just /data/local
Sent from my Amazon Tate using Tapatalk
stunts513 said:
You could push su to the device and then mv it to the system after you mount it. Not sure why you gotna read only error on the sdcard as that is not supposed to happen. Try pushing the ROM to /data/local/tmp or just /data/local
Sent from my Amazon Tate using Tapatalk
Click to expand...
Click to collapse
Where would I DL su? any specific place to push it too?
Trying to push the rom to the other locations.
Thanks for replying also.
If you grab supersu or superuser's apk (use whichever is installed as the binary is specific to the app)and open it in a zip viewer like 7zip, you just go into the asserts folder and it should be there. It goes in /system/xbin, so double check that there is no su binary in that folder! I think you need to chmod it as well, I'm guessing to 644 but I don't remember the number offhand. It will probably bootloop with the wrong permissions.
Sent from my Amazon Tate using Tapatalk
Tried both locations and got the same "read-only file system" message.
The kindle itsn't rooted anymore, would that have anything to do with it?
There is nothing in /system/bin folder. Its has a /supersu folder but its empty also
Ok I think I got somewhere, I finally got the rom.zip file on it (factory amazon rom), and installed it. now its stuck on kindle fire boot logo....
ran KFFA and tried to do a restore on there and said I need a factory cable. So I ordered one.
Sounds like something with the data partition was messed up, even if you restore amazon os it might have issues,but you say you could write stuff to the data partition from amazon os just fine before you bricked it?
Sent from my Amazon Tate using Tapatalk
Hi all,
I have an HTC One M8. I bought it used and run a AT&T sim on Straight Talk. Previous owner had rooted it. I was trying to get the 4.4 updates and Sense 6.0.
The phone was already running HD Revolution 12.1 and Android 4.2.2 with TeamWin Recovery Partition v2.5.0.0
I downloaded and installed Android_Revolution_HD-One_71.1.zip.
I've run it several ways:
1. First w/o wiping from TWRP. (Factory reset settings)
2. Installed w/o "Wiping Userdata Partition" and then tried "Wiping Userdata Partition" from the HD Revolution installer.
3. SuperUser by Koush checked.
4. Stops at setting permissions "set_metsdata_recusrsive: some changes failed."
5. Finish
6, Zip Install details say "no MD5 file found".
7. Reboot System and it tells me "Root permissions appear to be lost. Fix root permissions now?" Yes....
Then reboots into white Bootloader screen. Anything selected here takes me to the Recovery page. Anything selected from the REBOOT menu in TWRP takes me to the Bootloader screen.
When this is done it reboots into the white bootloader screen. Any option I pick there takes me to the TWRP recovery.
I'm stumped. Any help /bread crumbs would be appreciated.
Bootloader shows:
**TAMPERED**
**UNLOCKED **
M7_UL pvt ship s-on rh
HBOOT-1.44.0000
RADIO-4A.14.3250.15
OPENDSP-v26.120.274.0202
eMMC-BOOT
May 3 2013, 20:01:28-1
Thanks
TJB
fastboot erase cache
Then flash TWRP 2.6.3.3
Then reflash the ROM.
TWRP 2.6
BenPope said:
fastboot erase cache
Then flash TWRP 2.6.3.3
Click to expand...
Click to collapse
I'm actually trying to mount the phone so I can see it from the PC update the TWRP. I downloaded openrecovery-twrp-2.7.1.1-m7.img but can't see how to load it to the phone.
PC sees the phone from Device Manager as a Disk Drive but it doesn't show up as a drive under My Computer.
I have Minimal ADB and Fastboot. Am I on the right track?
TJB
BenPope said:
fastboot erase cache
Then flash TWRP 2.6.3.3
Then reflash the ROM.
Click to expand...
Click to collapse
I tried to install openrecovery-twrp-2.7.1.1-m7.img but I can't see HTC from my PC. It shows up as in Device Manager but there's no way to write to it. I have Minimal ADB and Fastboot. Do I need a USB OTG cable. What else can I do from the PC side to see the phone?
Right now I'm just trying to get files to the phone. Am I on the right track?
THB
teebright said:
I tried to install openrecovery-twrp-2.7.1.1-m7.img but I can't see HTC from my PC. It shows up as in Device Manager but there's no way to write to it. I have Minimal ADB and Fastboot. Do I need a USB OTG cable. What else can I do from the PC side to see the phone?
Right now I'm just trying to get files to the phone. Am I on the right track?
THB
Click to expand...
Click to collapse
You cannot install like that, they have to be flashed via bootloader.
Do you have ABD installed on your PC?
If not you have two options.
OPTION 1
This guide for Windows 7 machine, this is the quickest way IMHO
Download the adb files for your respective PC from here : http://developer.android.com/sdk/index.html
Once you have downloaded the correct one for your PC (i.e. 32 or 64bit) you will be left with a zip FOLDER named something like this adt-bundle-windows-x86_64-20130522.zip (this is for 64 bit machine), Unzip it somewhere on your pc
Locate the unzipped folder and you should have/see the following inside
• Eclipse
• Sdk
• SDFK manager .exe
Open up the sdk folder and you will find 6 folders inside, cut the 'platform-tools’ folder , then double click my computer and then enter the C: drive of your PC. Paste this folder here in the C: drive and rename it Andriod-adb.
Then right mouse click my computer and go properties, then go and click Advance system settings located on left hand side this will bring up system properties box, click the Environment Variables… tab (it will open further details) and locate the Environment Variables list scroll down until you find path, highlight this then click edit.
Click mouse in here and scroll right to the end after the last entry
Type the following ;C:\Android-adb (noting only adding the first ; if not already there), if it is already there just type C:\Android-adb. Then hit Ok then OK again and your ADB should now be successfully setup.
To test this
From the windows start button, and in the search programs and files box type cmd and enter, this should bring up a command window.
Plug in your device and type adb devices, you should see it locate your phone
OPTION 2
Or try this, extract the attached file to your desk. place your recovery img in here and in a blank spot here hold the shift key down and right mouse click this should bring up list allowing you to "open command prompt here" then follow instructions below..View attachment 2850273
------------------------------------------------------------------------------------------------------------------------------------------------------
Once you have ADB working via either of the above sorted from a
1. Command prompt you should be able to type adb reboot boatloader, if you phone reboots into bootloader go to next step
2. Place the recovery image "openrecovery-twrp-2.7.1.1-m7.img " in the same adb folder as downloaded in option 2
3. Open a command prompt from within this folder and then type fastboot flash recovery openrecovery-twrp-2.7.1.1-m7.img
4. Once sent it should com back to prompt
5. Type fastboot erase cache, then when completed type fastboot reboot
Good luck
fixed!
I fixed it! Per the recommendation I was trying to upgrade TWRP to 2.6.3.3.
I plugged in the phone to the PC via USB and made sure the phone is in FASTBOOT USB mode from the bootloader menu.
I installed "Minimal ADB and Fastboot" on the PC. Running that from the command line (cmd.exe) you type "fastboot flash recovery " then drag the file in. (watch the youtube video "How to install TWRP recovery on the HTC One M8" by ROOTJUNKIE-it will make more sense). In my case it was the 2.6.3 TWRP.img file. That pushes the update to the phone. I already had the HD 71.1 zip on the phone. I installed that via the TWRP install and from there it booted up normally. Had to setup the phone again but my music/pics were still there. Thanks all for the help!