How do get the zip file over to the phone so I can install the system? (I accedentally formated everything.)
Stock rom in adb folder then either adb sideload <filename.zip>, with phone in adb sideload in recovery or adb push <filename.zip> /sdcard and flash from recovery.
dpicts said:
How do get the zip file over to the phone so I can install the system? (I accedentally formated everything.)
Click to expand...
Click to collapse
Just connect the phone to your computer while TWRP is up. It will be mounted as MTP and you can transfer any files you need
thank you... I had tried that but it would just sit there and not do anything... your answer told me I was doing it correctly, so I killed the adb task in task manger and tried again... now it is copying.
Related
So I formatted my sdcard thinking I would be able to install a new rom easily, that was not the case. The problem is that I have not found a way to transfer files to my phone.
I have TWRP 2.7.0.0 recovery installed, but mount USB does not work. I get the sound from my pc that a device has been connected but nothing happens. I tried uninstalling the drivers and reinstalling htc sync + drivers but no difference.
Fastboot commands work, but adb commands do not. So i cannot adb push. Adb doen't work in fastboot as I understand it but should work in recovery?
I was thinking of installing stock rom, because I can appearently do that via fastboot. But after extracting rom.zip from ruu install file, I find out that I have to decrypt the zip-file. And the only decryption tool available is for linux, which is a bit of a hassle as I am running windows.
So do anyone have any suggestions to how I can transfer files to my phone? The easiest would be to get mount usb to work, or adb push to work. I have not managed to get adb sideload to work either. I have struggled with this for the past two days, so any help would be greatly appreciated.
Flash this one, mount the sdcard and wait some minutes
https://www.dropbox.com/s/qp21ubo10xetcvn/Philz recovery 5.15.9.img
I tried to install a new rom and now I can only access recovery and bootloader. Ive been trying for hours. Recovery keeps saying my root has been lost. Sideloader or push wont work. Some please help!
HNKS said:
I tried to install a new rom and now I can only access recovery and bootloader. Ive been trying for hours. Recovery keeps saying my root has been lost. Sideloader or push wont work. Some please help!
Click to expand...
Click to collapse
see my sig if u have no rom installed on your phone and no rom.zip/backup on internal sd, u will need and external sd card
HNKS said:
I tried to install a new rom and now I can only access recovery and bootloader. Ive been trying for hours. Recovery keeps saying my root has been lost. Sideloader or push wont work. Some please help!
Click to expand...
Click to collapse
Install this on a Windows computer. Then download a ROM.zip file. Then copy that ROM to the ADB folder, connect your phone, and run this command while in recovery:
adb push ROM.zip /data/media/0
This will push your ROM to the internal card. Reboot back into recovery and you should be able to flash that ROM.zip file.
Hello. I need your help. I have the LG E980 with 4.4.2. I was trying to set this up as a spare phone but for some reason could not get an email program to work with my companies "Notes Traveler" program. I'm able to achieve syncing with my S4 active though. I oulled the email APK off of the S4 active and that resolved the problem temporarily. I read up and found out that the CM11 ROM would resolve this issue. Anyway, I installed a recovery program and did a nanodroid back up only to realize that my EXT_SD card was not being recognized. Si I did a factory reset now I get a boot error and can only get to the recovery program.
It will not recognize my external SD card and I'm afraid that possibly I corrupted the boot image or recovery? Any suggestions how to get out of this boot? Is there a way I can drag a Update.Zip to the internal SD card and it will completely over write boot and all files?
mikelets456 said:
Hello. I need your help. I have the LG E980 with 4.4.2. I was trying to set this up as a spare phone but for some reason could not get an email program to work with my companies "Notes Traveler" program. I'm able to achieve syncing with my S4 active though. I oulled the email APK off of the S4 active and that resolved the problem temporarily. I read up and found out that the CM11 ROM would resolve this issue. Anyway, I installed a recovery program and did a nanodroid back up only to realize that my EXT_SD card was not being recognized. Si I did a factory reset now I get a boot error and can only get to the recovery program.
It will not recognize my external SD card and I'm afraid that possibly I corrupted the boot image or recovery? Any suggestions how to get out of this boot? Is there a way I can drag a Update.Zip to the internal SD card and it will completely over write boot and all files?
Click to expand...
Click to collapse
This Fix solved my boot only to recovery bug, but if your cwm is not reading your external, you could try sideloading it through adb if your cwm version has that. Copy the fix to your adb folder, connect your phone to pc, select install zip through sideload in the recovery, open adb, type adb sideload fix.zip or if nothing works just use lgflashtool and kdz back to stock.
spirallingspiral said:
This Fix solved my boot only to recovery bug, but if your cwm is not reading your external, you could try sideloading it through adb if your cwm version has that. Copy the fix to your adb folder, connect your phone to pc, select install zip through sideload in the recovery, open adb, type adb sideload fix.zip or if nothing works just use lgflashtool and kdz back to stock.
Click to expand...
Click to collapse
Thanks for your reply. I'm not good at all with ADB would you mind telling me exactly what to type (spacing, etc)? I've tried ADB before and must have been entering the wrong sequence or spacing. On my S4 I simply used ODIN and loaded a Deodexed version.
mikelets456 said:
Thanks for your reply. I'm not good at all with ADB would you mind telling me exactly what to type (spacing, etc)? I've tried ADB before and must have been entering the wrong sequence or spacing. On my S4 I simply used ODIN and loaded a Deodexed version.
Click to expand...
Click to collapse
Click install zip by sideload on cwm, copy the zip i linked before to the your adb folder,. Open Adb, and type "adb devices" to see if your device is detected. If it isnt. click here and download the naked drivers. If your device is detected, type "adb sideload filename.zip" . Just copy the filename and paste it after "adb sideload" in the command prompt, which is "adb sideload Zero_Misc_fix_factory_data_reset_recovery.zip"
spirallingspiral said:
Click install zip by sideload on cwm, copy the zip i linked before to the your adb folder,. Open Adb, and type "adb devices" to see if your device is detected. If it isnt. click here and download the naked drivers. If your device is detected, type "adb sideload filename.zip" . Just copy the filename and paste it after "adb sideload" in the command prompt, which is "adb sideload Zero_Misc_fix_factory_data_reset_recovery.zip"
Click to expand...
Click to collapse
Worked like a charm...thank you very much!
EDIT: however mr SD card is not being shown. When I boot up it says SD card installed, but it's not showing up anywhere. Any suggestions?
mikelets456 said:
Worked like a charm...thank you very much!
EDIT: however mr SD card is not being shown. When I boot up it says SD card installed, but it's not showing up anywhere. Any suggestions?
Click to expand...
Click to collapse
Glad it worked The sd card is not getting detected atall or just recovery? if its just recovery, some recoveries wont see the sd card, you can just flash another recovery to fix that. If its not being detected once it boots up too then i have no clue what the problem is. Try flashing another rom and see if it detects it.
spirallingspiral said:
Glad it worked The sd card is not getting detected atall or just recovery? if its just recovery, some recoveries wont see the sd card, you can just flash another recovery to fix that. If its not being detected once it boots up too then i have no clue what the problem is. Try flashing another rom and see if it detects it.
Click to expand...
Click to collapse
In recovery it shows "external sd card" then when I tried to flash it says " can't mount sd card". Also, I've tried my 64 gb card that's in my samsung and that does not work either. When it boots up it says "sd card inserted".
How do I flash another recovery or go back to stock recovery? I think something is corrupted in recovery because when I did a factory reset again to clear things up I got the boot error and had to do the process all over that you posted.
This is the recovery i always use, its philz touch. You can flash it the same way u flashed the fix, copy the zip to adb folder and sideloading it using adb sideload filename.zip. I cant guarantee that everything will work but if everything goes downhill, you will have to kdz back to stock using the steps from here . If the sd card isnt getting detected after boot too, i really have no idea what the issue is.
spirallingspiral said:
This is the recovery i always use, its philz touch. You can flash it the same way u flashed the fix, copy the zip to adb folder and sideloading it using adb sideload filename.zip. I cant guarantee that everything will work but if everything goes downhill, you will have to kdz back to stock using the steps from here . If the sd card isnt getting detected after boot too, i really have no idea what the issue is.
Click to expand...
Click to collapse
Flashed "TOT" file and all is good. I believe the bootloader is either locked or was corrupted somehow. Thanks again
Hi all,
It seems I come back a n00b every few years.
I rooted my Zenfone 2 to remove some clutter and guess what I did today? I updated. Didn't know that would brick my phone but well here I am.
I followed these steps:
http://www.asus-zenfone.com/2015/06/how-to-update-ota-without-bootloop-on-rooted-zenfone2.html
Only to find that it wouldn't boot.
Went into recovery and tried to factory reset... went on for more than 15 minutes (I didn't want to stop the process....). I then had to hard reset then boot into recovery and tried to wipe cache which yielded nothing...
BTW, I think the failed wipe and reset messed up permissions as fastboot yields an error (even though the "flash recovery" bit seems to work).
I tried installing TWRP and it only boots back into fastboot. Reinstall the recovery from the link above and I can go back into recovery but can't seem to use any of the functions.
Any ideas?
p.s. I did do a few searches. Can't find anything specific about
I also tried using the adb sideload to sideload official firmware but it yields "error: device not found" and then goes back into regular recovery...
adramelch said:
I also tried using the adb sideload to sideload official firmware but it yields "error: device not found" and then goes back into regular recovery...
Click to expand...
Click to collapse
Have you installed all your drivers correctly?
In TWRP, have you gone into advanced and selected ADB Sideload? I've also had issues with sideloading, I think it's a TWRP issue though.
Here's what you can try:
Boot into TWRP and make sure the phone is detected on the PC.
open up adb
type: adb devices
hit enter
your device should be listed
type: adb push -p rom.zip /sdcard0/
-for push, it's just the command to push files to your phone. Alternatively, pull is for taking files from your phone (in the event you can't boot up and need a certain file)
-for -p, it just means show progress, so in CMD you'll see a percentage sign which is always a good thing to know
-for rom.zip you type in the location of the file
-for /sdcard0/ you can leave that, as that is the send destination and should land right in your main folder.
And once the file is transferred over, install through TWRP.
Wipe Dalvik/Cache.
Reboot system.
Profit.
If all this doesn't work, try a microsd card with the file on it.
EDIT: I just realized you meant you meant stock recovery. In that case...it should still allow you to adb sideload, but I'm not sure. As long as you can still use ADB, you can follow my instructions above.
adb push yields "error: closed"
adb sideload says it needs adb 1.0.32 to do operation...
Try using microSD, download the latest firmware on asus website, then rename the zip to MOFD_UPDATE.zip and copy it to your microSD then go to recovery mode and it'll install the update. it took sometime be patient
badaboomBURP said:
Try using microSD, download the latest firmware on asus website, then rename the zip to MOFD_UPDATE.zip and copy it to your microSD then go to recovery mode and it'll install the update. it took sometime be patient
Click to expand...
Click to collapse
Recovery doeasn't have option "Update from zip" but this time, the adb sideload command worked for some reason...
adramelch said:
Recovery doeasn't have option "Update from zip" but this time, the adb sideload command worked for some reason...
Click to expand...
Click to collapse
in my experience, it automatically install the zip if i go to recovery
Update: Sideload worked and I've been back to stock since. Didn't want to flash because I was ok with stock but didn't want the clutter. Will find another stable firmware if need be.
Thanks again for the help!
Hey guys i'm in serious trouble with my phone.
It stucks on boot screen and does nothing.
I can boot into TWRP, but i deleted the LineageOS.zip from sdcard to save space. When running TWRP, i can't see the phone in my adb prompt. I can see my phone when adb sideload is running. I tried to use adb sideload, but it fails with something like 'the zip your are trying to install is for zl0,zl1...but your device is .'
I need some way to push the LineageOS rom to sdcard without adb connection available. There is an option in TWRP to mount an USB Device, would it make sense to buy a little USB type C stick ?
I apprechiate any kind of help !
1. Check is the phone in TWRP avaiable in Windows file manager. It should be.
2. If not go in TWRP to sideload and try to "adb push FILE-IN-WINDOWS FOLDER-IN-PHONE" eq "adb push rom.zip /sdcard/0/" (if your ROM is with name "rom" in ADB file).
3. If not try to wipe all exclude OTG.
4. If not try to push trough OTG (if you have OTG then do it firstly).
marik1 said:
1. Check is the phone in TWRP avaiable in Windows file manager. It should be.
2. If not go in TWRP to sideload and try to "adb push FILE-IN-WINDOWS FOLDER-IN-PHONE" eq "adb push rom.zip /sdcard/0/" (if your ROM is with name "rom" in ADB file).
Click to expand...
Click to collapse
Unfortunately the phone isn't visible in Windows, neither in TWRP nor Sideload. I tried to push in sideload, but that doesn't work (adb: error: connect failed: closed). TWRP FAQ says that there are no adb commands available in sideload.
I just ordered an OTG stick. Let's hope i can mount him in TWRP.
Anybody other suggestions ?
Try adb commands in fastboot... ? Doesn't have to be visible with device-info
androidz.net said:
Hey guys i'm in serious trouble with my phone.
It stucks on boot screen and does nothing.
I can boot into TWRP, but i deleted the LineageOS.zip from sdcard to save space. When running TWRP, i can't see the phone in my adb prompt. I can see my phone when adb sideload is running. I tried to use adb sideload, but it fails with something like 'the zip your are trying to install is for zl0,zl1...but your device is .'
I need some way to push the LineageOS rom to sdcard without adb connection available. There is an option in TWRP to mount an USB Device, would it make sense to buy a little USB type C stick ?
I apprechiate any kind of help !
Click to expand...
Click to collapse
Okay so if you already have Twrp installed that's Great. that's your recovery, don't lose it. Be in the habit of rebooting to Twrp whenever you flash something.
The only way to resolve this issue is to format the storage.
You have an easy options.
Buy the OTG adapter...Yes get it, it will make flashing ten times faster and alot easier to quickly flash a file if you find yourself in a bootloop.
The OTG Adapter will cost about $5
You should also buy a 32 usb 3.0 drive. I bought my 3.0 usb at Walmart for $12..
After formatting the sd storage> Click select storage > choose USB drive> add your ROM> click add more zips > add Gapps, and Magisk > Flash.
Reboot to recovery> make sure to check boxes for TWRP installation recovery and system app.
Once reboot to recovery > click "select storage"
Click Wipe > select Advanced Wipe> select Cache ( only cache) > Slide to wipe
Reboot to system > Done.
First boot could take several minutes