Related
Made the mistake of wiping all data on my SGS3 (AT&T), rooted, etc.
I'm in TWRP (2.3.3.1) and I want to load a new ROM .zip file via USB cable from my Macbook (OSX).
How can I do this?? Tried mounting internal storage, but nothing happened. I'm basically bricked until I can get another Zip on the phone! Help please!!
You dont have a backup on the phone you can restore or a rom you downloaded that you can flash?
If you have odin (if available for mac) you can use that to put an odin flashable rom onto the phone.
˙ıııs ʎxɐlɐb bunsɯɐs ʎɯ ɯoɹɟ ʇuəs
Odin isn't available for Mac.
I have ROMs to install, but they're on the Mac, and not on the phone..... it is wiped (except for the TWRP recovery).
Hog Milanese said:
Odin isn't available for Mac.
Click to expand...
Click to collapse
ODIN is not available for MacOS X, but you can use another software called Heimdall (http://www.glassechidna.com.au/products/heimdall/) to flash a stock ROM into your phone.
Another way to make a (custom) ROM available to flash in TWRP would be to use a microSD card. Use a microSD card reader connected to your computer, and copy your desired ROM into the microSD card. Then, place the microSD card into your phone. TWRP should be able to read the content of your microSD card, and flash the ROM.
Finally, a third way -- I never used that, though -- would be to use ADB sideload capability to sideload a ROM into your phone using ADB. More info about this in the TWRP site (http://teamw.in/ADBSideload).
I don't think you can USB mount your phone into your computer and manage the internal and external storages from your computer while in TWRP.
Or... Get adb for Mac and just do adb push <zip> /sdcard/<zip>
Then navigate to it in TWRP and install.
Sent from my SGH-I747 using xda premium
Android File Transfer. You're Welcome. :good:
BAM1789 said:
Android File Transfer. You're Welcome. :good:
Click to expand...
Click to collapse
That's not useful at all. That is one of the worst pieces of software ever.
Sent from my SGH-I747 using xda premium
d3athsd00r said:
Or... Get adb for Mac and just do adb push <zip> /sdcard/<zip>
Then navigate to it in TWRP and install.
Click to expand...
Click to collapse
BAM1789 said:
Android File Transfer. You're Welcome. :good:
Click to expand...
Click to collapse
But these two solutions need a running ROM, right? Or can you connect to your phone through ADB or through MTP while you are in TWRP?
Because Hog Milanese's problem is he wiped his ROM and does not have a ROM in his phone right now. Taking a quick look at TWRP's options, I did not find a way to MTP-connect the phone to a computer nor enable ADB (except for the ADB sideload command) while in TWRP... They work when in ROM, but not when in recovery.
Hog Milanese said:
Made the mistake of wiping all data on my SGS3 (AT&T), rooted, etc.
I'm in TWRP (2.3.3.1) and I want to load a new ROM .zip file via USB cable from my Macbook (OSX).
How can I do this?? Tried mounting internal storage, but nothing happened. I'm basically bricked until I can get another Zip on the phone! Help please!!
Click to expand...
Click to collapse
Grab an SD card, out pop it out of your phone, copy zip, plug back in, reboot recovery do it mounts your SD and flash away.
Sent from my SGH-I747 using xda premium
ADB is on by default in TWRP. I've pushed many files to it while in recovery.
Sent from my SAMSUNG-SGH-I747 using xda premium
BAM1789 said:
Android File Transfer. You're Welcome. :good:
Click to expand...
Click to collapse
Does not work in TWRP.
theineffablebob said:
Does not work in TWRP.
Click to expand...
Click to collapse
Did this problem ever get solved? I have a few roms on my Mac, but can't get them onto my device because I don't have a ROM installed but I am in TRWP recovery
I don't know the commands to push a zip to my computer through sideload
---------- Post added at 06:51 PM ---------- Previous post was at 06:48 PM ----------
Drakeskakes said:
Did this problem ever get solved? I have a few roms on my Mac, but can't get them onto my device because I don't have a ROM installed but I am in TRWP recovery
I don't know the commands to push a zip to my computer through sideload
Click to expand...
Click to collapse
Oh yeah, I can't use a microsd because I am using an HTC one, but I feel like sideload process should be the same
Same situation-MAC without microSD on an original kindle fire
Drakeskakes said:
Did this problem ever get solved? I have a few roms on my Mac, but can't get them onto my device because I don't have a ROM installed but I am in TRWP recovery
I don't know the commands to push a zip to my computer through sideload
---------- Post added at 06:51 PM ---------- Previous post was at 06:48 PM ----------
Oh yeah, I can't use a microsd because I am using an HTC one, but I feel like sideload process should be the same
Click to expand...
Click to collapse
I can't figure a way to get this to work. I'm on a macpro I have TWRP on an original Kindle fire. (TWRP was rooted with a crappy windows 7 desktop that I got rid of.) No roms are currently loaded on the kindle. I can't get the MAC to recognize the Kindle.
I have tried "Android File Transfer" <- worthless... I have also tried my wife's Win10 laptop. <-less worthless but no hope. It seems like the old ways of forcing the driver wont work on Win10.
I'm a little bummed out about how software is forcing hardware to be obsolete.
If the device has TWRP, there is an option to mount data partition?
audit13 said:
If the device has TWRP, there is an option to mount data partition?
Click to expand...
Click to collapse
It has a data partition, but there is no way to access the hard drive on the kindle. I am in the process of making a fastboot usb cable to test and see if I can access it on a Mac. I'll let you know how it goes.
FWIW - the following worked for me - downloading and running AndroidFileTransfer.app on macOS Sierra with my Nexus6 connected via USB booted into TWRP v3.1.0 - file transfer worked without issue. Not sure if newer versions fixed past problems reported by others, but this was working without any work - very grateful to the person who mentioned the androidfiletransfer app!
I was facing same issue... What I found ---
> adb doesn't work while in recovery mode
I was able to copy ROM from Mac to phone by following below steps:
1) Go to fastboot mode
2) fastboot boot recovery.img (any twrp image) -- android file transfer should be able to detect device now as twrp has adb enabled and phone is not in recovery mode
3) Copy your Rom to your phone
4) Fom TWRP : reboot>recovery
5) Install custom ROM and reboot to system
Hope this helps out.
Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Any suggestions on how I can get access back to my device so I can repair/replace the platform.xml file and restore functionality to my phone?
Thank you very much!
Deozaan said:
Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Click to expand...
Click to collapse
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
enryea123 said:
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
Click to expand...
Click to collapse
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Deozaan said:
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Click to expand...
Click to collapse
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
enryea123 said:
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
Click to expand...
Click to collapse
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Deozaan said:
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Click to expand...
Click to collapse
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
having a backup of the sdcard is always a good idea :good:, i have 2 backups of mysdcard on 2 different hard drives of my computer and the pictures i take with the camera are automatically uploaded on my dropbox .
enryea123 said:
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
Click to expand...
Click to collapse
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Deozaan said:
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Click to expand...
Click to collapse
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
enryea123 said:
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip
Click to expand...
Click to collapse
I was in CWM Recovery. I was using the zip file that I extracted from the link you gave me for Google's stock ROMs (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
enryea123 said:
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
Click to expand...
Click to collapse
Try this one
Deozaan said:
I was in CWM Recovery. I was using the zip file that I extracted from here the link you gave me (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
Click to expand...
Click to collapse
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
enryea123 said:
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
Click to expand...
Click to collapse
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
I got it working again. The ROM you gave me failed signature verification in CWM Recovery, but I told it to install anyway and it worked. Thank you.
The problem I was having with Gmail not syncing was that I used Titanium Backup to restore my data, but because all the data from my "SD card" got erased, Titanium Backup itself lots its settings, so my Device ID was different. I guess Gmail relies on the device ID for syncing.
Thank you so much for your help! I learned a lot from the experience.
Glad i helped you. well this is one of the reasons why i don't restore data with titanium (especially system data).
and by the way:
Deozaan said:
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
Click to expand...
Click to collapse
To fully reset and install a clean rom using fastboot you have to extract the bootloader-blabla.img and radio-blabla.img files from the tar.gz archive and then extract the 4 .img files inside the zip (that is inside the tar.gz) and flash this 6 .img files connetting your phone in bootloader mode to your computer and using fastboot in terminal (in fact this procedure reinstall the recovery too).
TWRP v2.6.3.0
Requirement
"Rooted phone"
"Computer" (I used Windows)
How to Install
**Download the attached zip file on your computer and extract it.
1. Turn OFF USB Debugging.
2. Connect the phone to the computer.
3. Open 'install.bat' on the extracted folder on your computer.
4. You'll see 'adb wait-for-device' in command window on your computer.
5. Now turn on USB Debugging, you'll get a promt on your phone asking to allow the computer. Tap OK.
6. Now you'll again get a prompt, this time from Superuser asking for ADB shell access. Allow it.
7. Now wait some seconds. The phone will restart.
8. Unplug USB cable from phone. Done!!
9. Once the phone is turned on, reboot your phone.
10. Keep eyes on the notification LED. When the LED is Red, keep holding VOLUME DOWN button.
Now your're in TWRP
##TWRP is a bit laggy, but works perfect
If not working
Use any Root Explorer on your phone to go to the folder "system"
and rename the file recovery-from-boot.p to recovery-from-boot.bak
or just move the file to SDcard.
Hit the Thanks button if it worked, bros.
And comment below if there's any problem.
ask
Inquiad Raad said:
TWRP v2.6.3.0
Requirement
"Rooted phone"
"Computer" (I used Windows)
How to Install
**Download the attached zip file on your computer and extract it.
1. Put phone in "USB Debugging"
2. Connect it to the computer and let the drivers be installed.
3. Keep the phone screen on.
4. Now go to the extracted folder and open "install.bat"
#. You'll see a prompt on your phone asking you to allow your computer. Allow it/ tap ok.
5. Then you'll see a Superuser prompt on your phone. Allow it.
6. The phone should reboot automatically. Remove USB cable from phone. TWRP is installed :good: :good:
7. Once the phone is turned on, then reboot your phone.
8. Keep eyes on the notification LED. When the LED is Red, keep holding VOLUME DOWN button.
9. Now your're in TWRP
10.
##TWRP is a bit laggy, but works perfect
If not working
Use any Root Explorer on your phone to go to the folder "system"
and rename the file recovery-from-boot.p to recovery-from-boot.bak
or just move the file to SDcard.
Hit the Thanks button if it worked, bros.
And comment below if there's any problem.
Click to expand...
Click to collapse
Why in my phone not prompt a dialig to allow that adb, n in command promt just stop in tke adb wait-for-device?
gumelaragum said:
Why in my phone not prompt a dialig to allow that adb, n in command promt just stop in tke adb wait-for-device?
Click to expand...
Click to collapse
Please read the how to install again, bro. It has been edited and should work fine for everyone now. Sorry for the inconvenience anyways.
Does this in any way allow us to install custom ROMS? As far as I know the Zenfone 5 does not have a custom ROM, since the bootloader is locked, right?
There is something called Asus unlock app in ww 17 firmware. I am guessing it has something to do with unlocking the bootloader. I am not on ww 17, so i cannot vouch for it.
I also saw a ROM called Sphinx for zenfone on a website.
great work. is rhere any sub-forum for asus zen5 ?
The installation is succesfull, but when I reboot it to recovery mode just display no comment, then I rename the system file to .bak, reboot it, just display no comment again bro. . . Can you fix it? Please. . .
gumelaragum said:
The installation is succesfull, but when I reboot it to recovery mode just display no comment, then I rename the system file to .bak, reboot it, just display no comment again bro. . . Can you fix it? Please. . .
Click to expand...
Click to collapse
idk what's wrong with yours. It worked for everyone else I assume and worked on mine too. So, there's nothing to fix, bro.
sorry
MRasri said:
great work. is rhere any sub-forum for asus zen5 ?
Click to expand...
Click to collapse
Nope, not any kind of forum for Zenfone 5, I'm afraid.
Is it possible to install TWRP via fastboot? Im in a bootloop now.. and my usb debugging is turned off so i can't use adb.
hristcroixqwerty said:
Is it possible to install TWRP via fastboot? Im in a bootloop now.. and my usb debugging is turned off so i can't use adb.
Click to expand...
Click to collapse
not in my knowledge at least.
but hey, nothing is impossible, play around with it. maybe you can find a way out
or maybe fix the bootloop and install it in the above mentioned way. good luck :good:
Inquiad Raad said:
not in my knowledge at least.
but hey, nothing is impossible, play around with it. maybe you can find a way out
or maybe fix the bootloop and install it in the above mentioned way. good luck :good:
Click to expand...
Click to collapse
okay after some digging, installing TWRP is possible via fastboot.. i just need the image file of it. May I know where did u get the this files and procedure? Did you make it?
hristcroixqwerty said:
okay after some digging, installing TWRP is possible via fastboot.. i just need the image file of it. May I know where did u get the this files and procedure? Did you make it?
Click to expand...
Click to collapse
extract the recovery.tar located in the attached zip and rename the extracted file named "recovery" to "recovery.img". There you go. you got your desired image file. :good::good:
Idk if this would work though. I wouldn't try it on my phone.
I've tried booting recovery.img via fastboot but it doesn't work.
Has anyone flash any MOD with a successful result?
I don't know if all that MOD are not compatible with x86 CPU or it's a problem with TWRP itself but I tried several of them and no succeed. It always say "error executing updater binary in zip"
You guys have any comment ?
itraceyou said:
Has anyone flash any MOD with a successful result?
I don't know if all that MOD are not compatible with x86 CPU or it's a problem with TWRP itself but I tried several of them and no succeed. It always say "error executing updater binary in zip"
You guys have any comment ?
Click to expand...
Click to collapse
It's pretty confusing that twrp can't install zips. Well this twrp is basically for system and data backup.
There's a CWM, with that you can install zip files only by adb sideload. But backing up isn't working there.
I can upload the CWM for Zenfone 5 if you guys want me to
Inquiad Raad said:
It's pretty confusing that twrp can't install zips. Well this twrp is basically for system and data backup.
There's a CWM, with that you can install zip files only by adb sideload. But backing up isn't working there.
I can upload the CWM for Zenfone 5 if you guys want me to
Click to expand...
Click to collapse
I did tried also CWM but no luck because it cannot mount the sdcard and i couldnt find any zip file (even if it's exist in my phone). Really has no idea what's happening ..
itraceyou said:
I did tried also CWM but no luck because it cannot mount the sdcard and i couldnt find any zip file (even if it's exist in my phone). Really has no idea what's happening ..
Click to expand...
Click to collapse
as I said, you have to use adb sideload to install zip with CWM. This is the only way you can flash zips.
SD card won't mount for some reason.
Inquiad Raad said:
as I said, you have to use adb sideload to install zip with CWM. This is the only way you can flash zips.
SD card won't mount for some reason.
Click to expand...
Click to collapse
If it's like what you mentioned, what's "install from zip file" in CWM does? Why i cant just flash directly from zip file.
Thank you.
Sent from my Nexus 7 using XDA Free mobile app
itraceyou said:
If it's like what you mentioned, what's "install from zip file" in CWM does? Why i cant just flash directly from zip file.
Thank you.
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
Come on, bro. It's because CWM isn't mounting the sd card, but when you push the zip by adb sideload method, the CWM doesn't have to mount sd card and that's why it works.
Try it. It worked for me. :fingers-crossed:
Perfectly working bro. just replaced the recovery to the latest twrp 2.7.0
Hi guys, I was changing Roms and accidentally hit wipe internal storage in TWRP.
I've tried to flash a Sinless ROM, an insert coin ROM and also looked on htcdev website to get an RUU to try and put it back to stock, yet every time I try and install a zip file through twrp it says "unable to open zip file".
I've also taken a shot at trying to add sideload the rom on there, no progress is made and eventually fails again... I've got no backups saved or anything...
Is there anything else I can try to make my phone work again? I was possibly thinking trying to get my brother to do a backup on his M8, put his SD in my phone, then restore from his back up, will this work?
Is there anything else I can try in the mean time? Really don't know what to do next...
Many thanks in advance guys
Oli
Hi,
In my ignorance, i think the failed flashes could be caused by two things:
1- the recovery you are using is not updated. Try to flash the lastest TWRP recovery or change recovery version.
2- corrupted ROM zips. Maybe there are problems while downloading the ROMS or while you copy them to your external sd card. Try to download them on another computer AND using a different browser. And maybe put the zips on a different SD card if you can. But, MOST IMPORTANT thing, check the MD5 after you've finished to download the zips.
About the nandroid backup... I think it could work BUT be sure that your brother M8 has the same brand, firmware and Android version of your M8 (before you wiped everything).
However, about this last part w8 maybe for somone else more expert the me w
oli3107 said:
Hi guys, I was changing Roms and accidentally hit wipe internal storage in TWRP.
I've tried to flash a Sinless ROM, an insert coin ROM and also looked on htcdev website to get an RUU to try and put it back to stock, yet every time I try and install a zip file through twrp it says "unable to open zip file".
I've also taken a shot at trying to add sideload the rom on there, no progress is made and eventually fails again... I've got no backups saved or anything...
Is there anything else I can try to make my phone work again? I was possibly thinking trying to get my brother to do a backup on his M8, put his SD in my phone, then restore from his back up, will this work?
Is there anything else I can try in the mean time? Really don't know what to do next...
Many thanks in advance guys
Oli
Click to expand...
Click to collapse
Get into fastboot and type in fastboot: fastboot erase cache
Than reflash your recovery with with fastboot: fastboot flash recovery recovery.img
Than make sure that your downloaded zip isn't corrupted by trying to unzip it. If its successful, place the rom into the SD card and insert it into your M8 and flash from there.
Set up everything and voila, all done!
---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------
OmniSlyfer said:
Hi,
In my ignorance, i think the failed flashes could be caused by two things:
1- the recovery you are using is not updated. Try to flash the lastest TWRP recovery or change recovery version.
2- corrupted ROM zips. Maybe there are problems while downloading the ROMS or while you copy them to your external sd card. Try to download them on another computer AND using a different browser. And maybe put the zips on a different SD card if you can. But, MOST IMPORTANT thing, check the MD5 after you've finished to download the zips.
About the nandroid backup... I think it could work BUT be sure that your brother M8 has the same brand, firmware and Android version of your M8 (before you wiped everything).
However, about this last part w8 maybe for somone else more expert the me w
Click to expand...
Click to collapse
My apologies, didn't notice your reply. If his is s-on, he can try his brother's nandroid and if it fails, nothing will happen so its possible for him to restore his brother's nandroid if they are based on the same firmware
I unlocked my boot loader by htcdev, phone is s-on though.
I've downloaded each file twice, and also downloaded the insertcoin rom on another computer, made no difference. I'm using twrp 2.7.0.2 I believe...
Where would I get a new recovery.img file from? Sorry to sound stupid but I'm not sure and don't wanna mess my phone up more. Also when you download the file do you have to have it in the same directory as adb.exe, so when you run the adb command it will get it from that directory?
Bobbi lim said:
Get into fastboot and type in fastboot: fastboot erase cache
Than reflash your recovery with with fastboot: fastboot flash recovery recovery.img
Than make sure that your downloaded zip isn't corrupted by trying to unzip it. If its successful, place the rom into the SD card and insert it into your M8 and flash from there.
Set up everything and voila, all done!
---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------
My apologies, didn't notice your reply. If his is s-on, he can try his brother's nandroid and if it fails, nothing will happen so its possible for him to restore his brother's nandroid if they are based on the same firmware
Click to expand...
Click to collapse
Just tried doing this fastboot method, I typed in adb devices to see if the phone was recognised, didn't show up, I typed in fastboot erase cache and it still did so. I then pushed the latest TWRP recovery.img file on to the phone, it's now running the latest version of TWRP, but still won't let me flash anything, still keeps saying unable to open zip...
oli3107 said:
I unlocked my boot loader by htcdev, phone is s-on though.
I've downloaded each file twice, and also downloaded the insertcoin rom on another computer, made no difference. I'm using twrp 2.7.0.2 I believe...
Where would I get a new recovery.img file from? Sorry to sound stupid but I'm not sure and don't wanna mess my phone up more. Also when you download the file do you have to have it in the same directory as adb.exe, so when you run the adb command it will get it from that directory?
Click to expand...
Click to collapse
Have you made sure the insertcoin rom that you have downloaded is compatible with your device? Your device needs to be running the lastest firmware as all the roms are updated to 4.4.4
As for the recivery, the lastest is 2.8.1.0
Here's the link to the recovery: http://forum.xda-developers.com/showthread.php?t=2717932
---------- Post added at 11:47 AM ---------- Previous post was at 11:44 AM ----------
oli3107 said:
I unlocked my boot loader by htcdev, phone is s-on though.
I've downloaded each file twice, and also downloaded the insertcoin rom on another computer, made no difference. I'm using twrp 2.7.0.2 I believe...
Where would I get a new recovery.img file from? Sorry to sound stupid but I'm not sure and don't wanna mess my phone up more. Also when you download the file do you have to have it in the same directory as adb.exe, so when you run the adb command it will get it from that directory?
Click to expand...
Click to collapse
Make sure you have HTC drivers installed. if you don't, download HTC Sync and uninstall HTC Sync leaving the drivers in your computer than type in: adb devices.
Boot into fastboot and flash the recovery: fastboot flash recovery recovery.img ( or you can just directly drag the "recovery.img" into cmd and press enter)
Load the rom into a external SD card and insert the SD card into your device and flash the rom from there
Also, do you check MD5 after downloading the ROM????
My device was running 4.4.4 prior to this happening. I did download the latest recovery and push it to the phone, it did work, but upon trying to flash a new rom, it still says failed.
The phone is being detected in adb, when it's in recovery it says so, sideload it says so, just not fast boot?
Oli
Forgive me for beimg stupid but how do I check the md5?
oli3107 said:
Forgive me for beimg stupid but how do I check the md5?
Click to expand...
Click to collapse
http://www.guidingtech.com/9800/what-is-md5-checksum-how-to-verify-it/
Compare it with the MD5 given in the ROM topic
I had the same problem where I couldn't flash anything and it wouldn't mount my storage. I had to adb flash RUU though that only works for s-off users
So if the md5 was to be fine and matched up, what would you try next?
Thanks
Oli
Try unzipping the .zip file on your pc with 7zip and then re-zipping it and try to flash again. I've also had some .zip files that can't be read and it wouldn't even open on the pc itself(giving errors) until I unzipped it with 7zip and re-zipped it.
BerndM14 said:
Try unzipping the .zip file on your pc with 7zip and then re-zipping it and try to flash again. I've also had some .zip files that can't be read and it wouldn't even open on the pc itself(giving errors) until I unzipped it with 7zip and re-zipped it.
Click to expand...
Click to collapse
Also a fail to unzip will point towards a bad download.
Hi guys.
So I tried a new SD card, matched up the md5s, tried flashing a new recovery.img file (which worked, I'm running the latest twrp now), unzipped and rezipped using 7zip, yet when I try and flash it still fails! I've tried flashing on the phone and sideloading it, both still fail.
Sideload failure says:
"installing '/external_sd/sideload.zip'
checking for md5 file
skipping md5 check:no md5 found" - that's where it gives up...
Phone flash failure says exactly the same except another line after sayi ping "error flashing zip '/external_sd/ROM.zip"
I really don't know what to try anymore... I've tried so much and I just can't see anything working now
Thanks for your help so far guys
Oli
oli3107 said:
Hi guys.
So I tried a new SD card, matched up the md5s, tried flashing a new recovery.img file (which worked, I'm running the latest twrp now), unzipped and rezipped using 7zip, yet when I try and flash it still fails! I've tried flashing on the phone and sideloading it, both still fail.
Sideload failure says:
"installing '/external_sd/sideload.zip'
checking for md5 file
skipping md5 check:no md5 found" - that's where it gives up...
Phone flash failure says exactly the same except another line after sayi ping "error flashing zip '/external_sd/ROM.zip"
I really don't know what to try anymore... I've tried so much and I just can't see anything working now
Thanks for your help so far guys
Oli
Click to expand...
Click to collapse
Did you try flashing from Internal memory instead of sdcard?
No I havent. How can I get the rom to the internal memory mate? the phone has no OS on, so it's stuck in recovery or bootloader, how can I transfer the file to internal rather than the sd card?
Twrp 2.8.1.0 has MTP working.
oli3107 said:
No I havent. How can I get the rom to the internal memory mate? the phone has no OS on, so it's stuck in recovery or bootloader, how can I transfer the file to internal rather than the sd card?
Click to expand...
Click to collapse
Since your device only boots into the bootloader menu, all you'll have to do is highlight the Recovery option using the Volume Down button and select it with the Power button. If you do not see the Recovery option, just select Bootloader with the Power button and it should pop up.
Once in TWRP, tap the Advanced option and select ADB Sideload.
From there, you will be given the option to Wipe Cache and Wipe Dalvik Cache partitions, so go ahead and do so by checking the boxes and Swipe to Start Sideload. After it starts, you will be ready to start your ROM flash.
With your device connected to your computer and your ROM file already on your desktop, you are ready to flash.
Kill ADB using the adb kill-server command, then restart it with adb usb.
Make sure your computer can identify your device with the adb devices command.
Flash your ROM with adb sideload Desktop/ROM.zip (be sure to change "desktop" to "downloads" or where ever your ROM is stored, and change "ROM.zip" to the name of your ROM file).
Sorry mate I didn't understand your previous post but I tried this method already, tried flashing Roms using sideload and they still fail, I've posted the error message in one of my previous posts if that helps?
Oli
I hope this is the correct forum to post this...
I have a rooted HTC 10 with TWRP and Magisk.
Things were working up to a point: I was trying to resolve an SD card (microSD) access issue, and carelessly wiped "system" on the phone. I also stupidly didn't get a backup of the system via TWRP before I started mucking around.
When plug in the phone to my laptop via USB, it is still recognized where the internal and SD storage comes up in Windows Explorer, but the phone will not boot. It can boot into TWRP and all of that seems to work fine.
I tried running RUU (.exe) for the stock image from HTC on my Windows 10 laptop (after loading a bunch of Visual C++ redistributables), but it doesn't connect to the phone. I tried leaving the phone in "download mode" and "recovery mode" and just booting the phone and leaving it at the point where just the red text is shown, but the RUU tool would not connect in any case.
I tried to use the "ROM.zip" file, which is extracted when running the RUU (.exe) on Windows, by copying that file to the phone but that didn't work (in TWRP). As a matter of fact, TWRP shows no files when selecting "Install", either ".zip" or ".exe". When using the TWRP file explorer, it sees everything.
I am am very inexperienced with the phone OS and manipulation and just got to root previously via a utility (with some help).
I am pretty sure I have all the correct stuff loaded on this laptop, since I used this laptop to root this phone in the first place. Again, it was seemingly working fine except for the SD card (writing) issue I was trying to resolve.
I am hoping that there is some clever way to either recover the "system" partition data (to stock or whatever) or re-load the stock firmware (which I have from HTC, though it's probably missing some OTA update I would guess). I've read a lot but many articles either assume lots of phone hacking experience or they are missing pieces (because the posters already know a lot): I've exhausted all the options I could come up with.
Thanks for any help!
[edit]
When my HTC is in download mode, it doesn't display the CID. I was going to try to copy system from a stock image elsewhere on this site, but there are several to choose from and I didn't want to do more damage.
On the screen:
*** UNLOCKED ***
*** FUSED ***
htc_pmewl PVT S-ON
LK-1.0.0.0000
[email protected]
Open-DSP-v23.0.8996.00007_1028
OS-3.16.617.2
Jan 2 2018, 18:22:58(1012001)
WintelRob said:
I hope this is the correct forum to post this...
I have a rooted HTC 10 with TWRP and Magisk.
Things were working up to a point: I was trying to resolve an SD card (microSD) access issue, and carelessly wiped "system" on the phone. I also stupidly didn't get a backup of the system via TWRP before I started mucking around.
When plug in the phone to my laptop via USB, it is still recognized where the internal and SD storage comes up in Windows Explorer, but the phone will not boot. It can boot into TWRP and all of that seems to work fine.
I tried running RUU (.exe) for the stock image from HTC on my Windows 10 laptop (after loading a bunch of Visual C++ redistributables), but it doesn't connect to the phone. I tried leaving the phone in "download mode" and "recovery mode" and just booting the phone and leaving it at the point where just the red text is shown, but the RUU tool would not connect in any case.
I tried to use the "ROM.zip" file, which is extracted when running the RUU (.exe) on Windows, by copying that file to the phone but that didn't work (in TWRP). As a matter of fact, TWRP shows no files when selecting "Install", either ".zip" or ".exe". When using the TWRP file explorer, it sees everything.
I am am very inexperienced with the phone OS and manipulation and just got to root previously via a utility (with some help).
I am pretty sure I have all the correct stuff loaded on this laptop, since I used this laptop to root this phone in the first place. Again, it was seemingly working fine except for the SD card (writing) issue I was trying to resolve.
I am hoping that there is some clever way to either recover the "system" partition data (to stock or whatever) or re-load the stock firmware (which I have from HTC, though it's probably missing some OTA update I would guess). I've read a lot but many articles either assume lots of phone hacking experience or they are missing pieces (because the posters already know a lot): I've exhausted all the options I could come up with.
Thanks for any help!
[edit]
When my HTC is in download mode, it doesn't display the CID. I was going to try to copy system from a stock image elsewhere on this site, but there are several to choose from and I didn't want to do more damage.
On the screen:
*** UNLOCKED ***
*** FUSED ***
htc_pmewl PVT S-ON
LK-1.0.0.0000
[email protected]
Open-DSP-v23.0.8996.00007_1028
OS-3.16.617.2
Jan 2 2018, 18:22:58(1012001)
Click to expand...
Click to collapse
Download the 3.16.617 ruu.zip from here, rename the file to 2PS6IMG.zip and copy it to your SDCARD, boot to download mode and flash it.
https://androidfilehost.com/?fid=962157660013070850
Mr Hofs said:
Download the 3.16.617 ruu.zip from here, rename the file to 2PS6IMG.zip and copy it to your SDCARD, boot to download mode and flash it.
Thanks! I will give that a shot today and update this thread.
Click to expand...
Click to collapse
Mr Hofs said:
Download the 3.16.617 ruu.zip from here, rename the file to 2PS6IMG.zip and copy it to your SDCARD, boot to download mode and flash it.
So, the "flash it" part is where noobs like me are not sure what to do. So I have the phone in "download" and the image is on the microSD. I assume "flash it" means to either run adb or fastboot, and either indicates that the device is not found. I thought this was likely due to me wiping the system partition on the phone, not sure if it's using the recovery or the phone itself.
So, on the flash, I have downloaded stock ROMs, like from HTC, but they are all ".exe" files. I finally found a ".zip" that is supposedly stock. I renamed it as suggested and put in on the microSD, and then I used TWRP in recovery to "Install", but it says "Invalid zip file format!".
FYI, I do not have "S-OFF" and the original file I found was named "2PS6IMG_PERFUME_WL_O80_SENSE90GP_MR_NA_Gen_Unlock_3.16.617.2.zip" which I renamed to "2PS6IMG.zip".
Click to expand...
Click to collapse
When you renamed the file properly download mode will automatically confirm to flash the file, no need to do anything other than press volume button and power button to confirm the flash, the yellow text in the bottom is what you need to follow. No need for adb or anything difficult otherwise i would have mentioned it.
Check the file, make sure you don't hide file extensions in windows because when it's named 2PS6IMG.zip.zip it doesn't work.
And put the file on the external sdcard, not internal storage. That doesn't work either. Format the sdcard in twrp if you have to first.
Don't do anything else than what i write, it doesn't work like that. Don't fiddle around with adb or fastboot, you can't flash it in recovery because the zip is an encrypted HTC ruu and NOT a custom rom which are meant to be flashed with a custom recovery.
Make sure to place the file in the *root* of the external sdcard.
branko.s67 said:
Make sure to place the file in the *root* of the external sdcard.
Click to expand...
Click to collapse
That's what i already said twice right ?
Mr Hofs said:
When you renamed the file properly download will automatically confirm to flash the file, no need to do anything other than press volume button and power button to confirm the flash, the yellow text in the bottom is what you need to follow. No need for adb or anything difficult otherwise i would have mentioned it.
Check the file, make sure you don't hide file extensions in windows because when it's names 2PS6IMG.zip.zip it doesn't work.
And put the file on the external sdcard, not internal storage. That doesn't work either. Format the sdcard in twrp if you have to first.
Don't do anything else than what i write, it doesn't work like that.
Click to expand...
Click to collapse
I believe I did everything as you explained. I work with computers and I have a basic and general understanding of this process: I renamed the only ZIP that I could find online, I put it on the microSD, renamed it to "2PS6IMG.zip", I used "Install" from the recovery, then got the zip error.
From you follow-up reply, I realize that you meant for me to put the file 2PS6IMG.zip into the "root" of the microSD (top level of the file structure), whereas I had it in a sub-directory, and then use "download" on the bootloader. So, now I "get" how the "download" option works! I thought that had something to do with downloading from a laptop or computer via adb, but it's obviously "downloading" the ROM from the external microSD card.
So, NOW it is reflashing!!
I know these kinds of noob issues lead to eye-rolling, so thanks for the patient help!
Now I am back to the stock starting point, and I can try a different rooting option to get back to fixing the external SD writing permissions issue I was trying to resolve in the first place!
Mr Hofs said:
That's what i already said twice right ?
Click to expand...
Click to collapse
Just wanted to point out that the file must be placed in the root. Not in a subdirectory.
That was not stated anywhere. That could have been the reason it didn't work for the OP.
WintelRob said:
I believe I did everything as you explained. I work with computers and I have a basic and general understanding of this process: I renamed the only ZIP that I could find online, I put it on the microSD, renamed it to "2PS6IMG.zip", I used "Install" from the recovery, then got the zip error.
From you follow-up reply, I realize that you meant for me to put the file 2PS6IMG.zip into the "root" of the microSD (top level of the file structure), whereas I had it in a sub-directory, and then use "download" on the bootloader. So, now I "get" how the "download" option works! I thought that had something to do with downloading from a laptop or computer via adb, but it's obviously "downloading" the ROM from the external microSD card.
So, NOW it is reflashing!!
I know these kinds of noob issues lead to eye-rolling, so thanks for the patient help!
Now I am back to the stock starting point, and I can try a different rooting option to get back to fixing the external SD writing permissions issue I was trying to resolve in the first place!
Click to expand...
Click to collapse
I never mentioned to put it in a folder anywhere. I write like this so the chance on errors are minimal. It's following to the letter where it goes wrong. Don't try to push it all to hard, read easy and patiently then it will be very simple.
Good thing to know it worked. Back to start.
Cheers
---------- Post added at 06:54 PM ---------- Previous post was at 06:53 PM ----------
branko.s67 said:
Just wanted to point out that the file must be placed in the root. Not in a subdirectory.
That was not stated anywhere. That could have been the reason it didn't work for the OP.
Click to expand...
Click to collapse
I never said to place it in a subfolder. It's the reading where it goes wrong. Following instructions can be difficult ....I know.
Same as going to recovery and try to flash it, flash it via adb or fastboot.....never mentioned that either. It's the haste and maybe a bit of despair that is kicking in but i do this all for a reason.
Cheers.
Mr Hofs said:
That's what i already said twice right
Click to expand...
Click to collapse
So first off, I clicked the "Thanks" button on your original reply.
So I don't seem like a total moron, your original reply just said to copy the file to the SD card: I already had a folder structure on that card and so I moved the file to where I wanted to use it, not realizing at the time how "download" worked and that the "download" would look only in the *root* of the SD card. So, that's why I stated my understanding of what you meant on my follow-up reply. Had I started with a blank SD card, I would have naturally just copied it and it would have been in the root.
Thanks again for the help!
I know this thread is a bit old, but I am in a similar situation. I wish to restore my unlocked HTC 10 to oreo stock. I have tried the tried the RUU (for NA) as listed but when the install is completed I do not have any radio capability. Do I need to completely wipe the internal memory before flashing the RUU? I noticed when I tried my backup restoral using TWRP I ended with with no radio as well. Please advise.