[Q] stuck at bootloader!! - One (M7) Q&A, Help & Troubleshooting

Current device status:
M7-UL
Relocked
S-OFF
CID-11111111
Stock recovery!!
before action or Problem:
Did full wipe through custom recovery TWRP. which cost me to loose everything SDcard including my OS. Now i can't reboot nor i have custom rom.zip----how stupid
Tries:
1. Tried to ADB push custom rom but was not successful cause SDcard mount. tried to unmount but unusful.
2. so i decided to get the orignal firmware 1.29 (before i was 2.17)---please don't ask why
I used mike guide. it work----Thanks mike for the guide
Now i'm back to the old firmware (1.29) with no OS to boot and stock recovery.
I hope the expert here can give me a hand on this and get my HTC one back to life!!
Thanks in advance for you supports

omvingG upon
aburobeen said:
Current device status:
M7-UL
Relocked
S-OFF
CID-11111111
Stock recovery!!
before action or Problem:
Did full wipe through custom recovery TWRP. which cost me to loose everything SDcard including my OS. Now i can't reboot nor i have custom rom.zip----how stupid
Tries:
1. Tried to ADB push custom rom but was not successful cause SDcard mount. tried to unmount but unusful.
2. so i decided to get the orignal firmware 1.29 (before i was 2.17)---please don't ask why
I used mike guide. it work----Thanks mike for the guide
Now i'm back to the old firmware (1.29) with no OS to boot and stock recovery.
I hope the expert here can give me a hand on this and get my HTC one back to life!!
Thanks in advance for you supports
Click to expand...
Click to collapse
Use twrp to sideload the rom. I think you go to Advance tab in TWRP and choose sideload rom and adb I think the command is "adb sideload <name of rom>".
I can't remember fully. I hope someonce can assist you and correct me if I'm wrong.

Rex2369 said:
Use twrp to sideload the rom. I think you go to Advance tab in TWRP and choose sideload rom and adb I think the command is "adb sideload <name of rom>".
I can't remember fully. I hope someonce can assist you and correct me if I'm wrong.
Click to expand...
Click to collapse
Thanks for the replay.
The problem is i'm on stock recovery. I got it back after updating the firmware.
Now i'm relocked and stuck with the stock recovery.
I thinks first i need to unlock and then flash the custom recovery.
But how to do it while i'm in bootloader and with no OS in place!!

When you are in bootloader, click on Fastboot. After you are in Fastboot USB mode (it will show that on the screen), unlock the bootloader using this tutorial:
http://www.redmondpie.com/how-to-unlock-htc-one-bootloader-tutorial/
After you are done with that, you'll need to download TWRP 2.5.0 and place it inside your fastboot folder on your computer, and then open a command prompt window from there (shift + right click and open command prompt window here) and then execute this command:
fastboot flash recovery recovery.img
Of course you replace recovery.img with whatever the name of your recovery is, in that case TWRP 2.5.0's zip file.

TarekElsakka said:
When you are in bootloader, click on Fastboot. After you are in Fastboot USB mode (it will show that on the screen), unlock the bootloader using this tutorial:
http://www.redmondpie.com/how-to-unlock-htc-one-bootloader-tutorial/
After you are done with that, you'll need to download TWRP 2.5.0 and place it inside your fastboot folder on your computer, and then open a command prompt window from there (shift + right click and open command prompt window here) and then execute this command:
fastboot flash recovery recovery.img
Of course you replace recovery.img with whatever the name of your recovery is, in that case TWRP 2.5.0's zip file.
Click to expand...
Click to collapse
Thanks a lot.
it helped
Now how i can get my OS back to business.
Do i need to flash the stock rom or any rom? and how can i flash it!!

So, i think is better flashing a ruu, like the stock european ruu and, via Revone tool, flash a recovery
You're s-offed, you don't need unlock your bootloader

Guich said:
So, i think is better flashing a ruu, like the stock european ruu and, via Revone tool, flash a recovery
You're s-offed, you don't need unlock your bootloader
Click to expand...
Click to collapse
Thanks for the tip.
i'm only a littlle android guy. i hardly manage to get my S-OFF.
would you be so kind to show me on how to do that:angel:

Depends on what you are looking for. Are you trying to revert your device to stock status so you can receive OTA updates? Because that would mean flashing a RUU and relocking the bootloader, as mentioned above. However if you aren't interested in OTA updates (which we don't know when will be available) then go for the easier route, a custom ROM which you flash via TWRP recovery. After you go into TWRP, go to Advanced and choose ADB sideload and then slide to start, then use your computer to adb sideload rom.zip (of course rom.zip will be replaced by whichever ROM you want to sideload).
This is to set up ADB:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
The proper drivers for your PC to recognize the device in ADB mode are obtained by installing HTC Sync Manager.

TarekElsakka said:
Depends on what you are looking for. Are you trying to revert your device to stock status so you can receive OTA updates? Because that would mean flashing a RUU and relocking the bootloader, as mentioned above. However if you aren't interested in OTA updates (which we don't know when will be available) then go for the easier route, a custom ROM which you flash via TWRP recovery. After you go into TWRP, go to Advanced and choose ADB sideload and then slide to start, then use your computer to adb sideload rom.zip (of course rom.zip will be replaced by whichever ROM you want to sideload).
This is to set up ADB:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
The proper drivers for your PC to recognize the device in ADB mode are obtained by installing HTC Sync Manager.
Click to expand...
Click to collapse
He can use the adb push command too...

Ah okay. I am new to all of this so I don't have sufficient information, I was just sharing how I got to fix my device when I was in the same situation.

I used adb push zip file as below instruction:
C:\Android>adb devices
List of devices attached
FA35VW927790 recovery
C:\Android>adb push Android_Revolution_HD-One_9.4.zip /data/media/
3100 KB/s (1017950778 bytes in 320.621s)
C:\Android>adb reboot recovery
C:\Android>
I try to look for the zip file but did not find it?? any ideas

Still stuck at this point.
I tried to adb push it many times but still no success
:crying:
Please guys tell me if im doing something wrong or you have a better way of doing it.

aburobeen said:
Still stuck at this point.
I tried to adb push it many times but still no success
:crying:
Please guys tell me if im doing something wrong or you have a better way of doing it.
Click to expand...
Click to collapse
The zip will be there somewhere, I command '/sdcard' instead of '/data/media'.
If you still can't find it just use
adb sideload Android_Revolution_HD-One_9.4.zip
Choose install zip from sideload in recovery and once it's finished transferring it will begin to install automatically so you won't have to look for the zip file
Sent from my HTC One using xda premium

aburobeen said:
I used adb push zip file as below instruction:
C:\Android>adb devices
List of devices attached
FA35VW927790 recovery
C:\Android>adb push Android_Revolution_HD-One_9.4.zip /data/media/
3100 KB/s (1017950778 bytes in 320.621s)
C:\Android>adb reboot recovery
C:\Android>
I try to look for the zip file but did not find it?? any ideas
Click to expand...
Click to collapse
because you wiped your internal storage there is no file structure there, that's why you cant find the zip file.
You'll have to sideload your rom from twrp then boot up your phone which will create the needed directories.
1) update your android sdk. Sideload only works on certain versions of the sdk.
2) Place the rom you would like to flash in the same folder as fastboot and adb.( for you it looks like C:\Android\sdk\platform-tools
3) next from twrp under the advanced tab turn on adb sideload
4) issue the command adb sideload name of rom.zip
good luck

aburobeen said:
Still stuck at this point.
I tried to adb push it many times but still no success
:crying:
Please guys tell me if im doing something wrong or you have a better way of doing it.
Click to expand...
Click to collapse
If you use /sdcard then it will work fine, I had the same issue

Victory at last :laugh:
My experience:
TWRP recovery
1.Tried to adb push /sdcard succeeded on this but failed to flash!!
2. Tried to adb sideload failed.
3. Flashed another recovery CWM.
4. adb sideload file.zip...........success
I don't why TWRP recovery was not responding correctly.
Any way got my phone back to life. and hopefully my experience could help people who made the same foolish mistake!!
Thanks to everybody who contributed to this post.
Cheers all

Maybe you had an earlier version of TWRP which had incompatibility issues with ADB. Anyway I'm glad you got through it. I sure hate being stuck like that as well.
Sent from my HTC One using Tapatalk 4 Beta

aburobeen said:
Victory at last :laugh:
My experience:
TWRP recovery
1.Tried to adb push /sdcard succeeded on this but failed to flash!!
2. Tried to adb sideload failed.
3. Flashed another recovery CWM.
4. adb sideload file.zip...........success
I don't why TWRP recovery was not responding correctly.
Any way got my phone back to life. and hopefully my experience could help people who made the same foolish mistake!!
Thanks to everybody who contributed to this post.
Cheers all
Click to expand...
Click to collapse
What version of CWM did you flash to get sideload working??

Alex740il said:
What version of CWM did you flash to get sideload working??
Click to expand...
Click to collapse
I used the latest CWM Version 6.0.3.2.

Related

Need Help Unbrick My HTC One M7

My HTC One M7 is stuck at HTC logo and will not boot further. I've tried many methods, but cannot repair the phone. It's M7 Europe HTC_001 Firmware 1.29.401.13.
With bootloader unlocked I flash cwm recovery and tried to copy custom rom to flash but phone cannot mount usb storage. I tried to flash stock RUU 1.28.401.7, it won't flash because of hboot error. I tried to flash PN07IMG_1.29.401.13.zip using fastboot flash zip. firmware.;zip, with locked or unlocked bootloader, it won't flash, giving error.
Is there any full RUU 1.29.401.17 or RUU 2.17.401.1 firmware out there for download? I think that's my only solution is to get the same or higher full and not OTA firmware. Would it be possible to ADB push custom rom to phone if it can only power and stuck at logo? Or any other solution, please help, thanks.
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
L0rdNels0n said:
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
Click to expand...
Click to collapse
Thanks for your help but I've tried all that. First phone cannot "mount USB storage" in custom recovery so I cannot copy any file to the phone. Flashing stock RUU is not possible because there is no RUU 1.29.401.13.exe or higher, only OTA. Is it possible to downgrade hboot with s-on and in fastboot mode? Any other suggestion? Thanks.
citifone said:
Thanks for your help but I've tried all that. First phone cannot "mount USB storage" in custom recovery so I cannot copy any file to the phone. Flashing stock RUU is not possible because there is no RUU 1.29.401.13.exe or higher, only OTA. Is it possible to downgrade hboot with s-on and in fastboot mode? Any other suggestion? Thanks.
Click to expand...
Click to collapse
Try ADB push/sideload: http://forum.xda-developers.com/showthread.php?t=2325853&highlight=sideload
FIX
Hi, I was having the same problem, NOTHING was working, ADB Sideload failing, etc. and the OTG cable arrives tomorrow...my way to fix it?
1.- Went to TWRP Recovery
2.- Wipe>Advance Wipe> Wiped everything
3.- Format Data (option next to Advance Wipe)
4.- Reboot into Recovery(during reboot it said "your device is not rooted, want to root?) Marked yes.
5.- Advance Adb Sideload
6.- Sent CyanogenMod ROM...BANG! worked.
Hope this helps
I've tried to use adb push method but when I put phone to recovery (phone shows red triangle) and run command adb devices, it cannot see the device. Is it because of the drivers? I've installed all drivers and do not see any drivers error in device manager...I really appreciate all the helps from everyone and I spent so much time trying to fix this phone already and I feel I'm so closed now to fix it but just need little more help..Thanks..
L0rdNels0n said:
There is far from enough info to help you
Have you looked at Hasoon's all in one?
http://forum.xda-developers.com/showthread.php?t=2183942
or mikes thread?
http://forum.xda-developers.com/showthread.php?t=2265618
It reads as though you need to read and ensure you understand before you attempt to resolve this
I like mikes method and both are proven to work
Please use the search option as it works
Click to expand...
Click to collapse
Samper27 said:
Hi, I was having the same problem, NOTHING was working, ADB Sideload failing, etc. and the OTG cable arrives tomorrow...my way to fix it?
1.- Went to TWRP Recovery
2.- Wipe>Advance Wipe> Wiped everything
3.- Format Data (option next to Advance Wipe)
4.- Reboot into Recovery(during reboot it said "your device is not rooted, want to root?) Marked yes.
5.- Advance Adb Sideload
6.- Sent CyanogenMod ROM...BANG! worked.
Hope this helps
Click to expand...
Click to collapse
Thanks for your tips and advice..After many hours of trying, my phone is NOW ALIVE. This is how I did it:
1)Find a custom rom from this forum and rename to rom.zip, of course if you use windows like me with .zip extension hidden then just simply rename it rom (to make it simple and short) and copy it to adb shell folder.
2)After unlock bootloader, flash a custom recovery, find it in this forum or here: http://clockworkmod.com/rommanager
3) Boot phone to recovery, and select Install zip from sideload and plug phone to PC. Wait until phone installs all adb drivers..
4) In adb shell type command: "adb devices" without quotes, of course..to make sure adb sees your phone..You should see your devices name.
5) In adb type commad" adb sideload rom.zip..at this point you should see "sending: sideload....1%..wait until it show 100%..some roms like the one I used, Android Revolution HD One 12 (4.2.2) need to install from the screen, just follow instruction on screen and let it finish installation and wola, it's alive again..
I hope this will help someone who have similar problem with this phone. Thanks for the help from everyone.
HTC ONE not started, only htc logo
Hi how are you? I have a one mobile Htc One M7, just not started but show only htc logo. Plase help me!
citifone said:
Thanks for your tips and advice..After many hours of trying, my phone is NOW ALIVE. This is how I did it:
1)Find a custom rom from this forum and rename to rom.zip, of course if you use windows like me with .zip extension hidden then just simply rename it rom (to make it simple and short) and copy it to adb shell folder.
2)After unlock bootloader, flash a custom recovery, find it in this forum or here: http://clockworkmod.com/rommanager
3) Boot phone to recovery, and select Install zip from sideload and plug phone to PC. Wait until phone installs all adb drivers..
4) In adb shell type command: "adb devices" without quotes, of course..to make sure adb sees your phone..You should see your devices name.
5) In adb type commad" adb sideload rom.zip..at this point you should see "sending: sideload....1%..wait until it show 100%..some roms like the one I used, Android Revolution HD One 12 (4.2.2) need to install from the screen, just follow instruction on screen and let it finish installation and wola, it's alive again..
I hope this will help someone who have similar problem with this phone. Thanks for the help from everyone.
Click to expand...
Click to collapse
epic, thank you for the useful post

[Q] new Recovery.img

Hi all,
My HTC ONE can not use ADB sideload with new recovery.img file (which has >8MB file size) only works with 7MB file (i has use the old file to send adb sideload) and i use ARHD v30. any fix ?
Thank you for help.
minhcoi said:
Hi all,
My HTC ONE can not use ADB sideload with new recovery.img file (which has >8MB file size) only works with 7MB file (i has use the old file to send adb sideload) and i use ARHD v30. any fix ?
Thank you for help.
Click to expand...
Click to collapse
If you are using twrp, try "adb push file.zip /data/media/0"
Im not sure what you are trying to do, load a new recovery? You would do that from bootloader with "fastboot flash recovery recovery.img"
an0ther said:
If you are using twrp, try "adb push file.zip /data/media/0"
Im not sure what you are trying to do, load a new recovery? You would do that from bootloader with "fastboot flash recovery recovery.img"
Click to expand...
Click to collapse
I mean, i have three recovery file (oldest file size 7MB, the new CW file is 8.838KB and the new twrp file is 8.432KB) but i can not use 2 new recovery file ==> when I try: adb sideload rom.zip it said can not find devices.
minhcoi said:
I mean, i have three recovery file (oldest file size 7MB, the new CW file is 8.838KB and the new twrp file is 8.432KB) but i can not use 2 new recovery file ==> when I try: adb sideload rom.zip it said can not find devices.
Click to expand...
Click to collapse
you must load new recovery from bootloader, not recovery
use fastboot not adb
fastboot flash recovery whatever.img
an0ther said:
you must load new recovery from bootloader, not recovery
use fastboot not adb
fastboot flash recovery whatever.img
Click to expand...
Click to collapse
I done that already, but the problem is, when i try to install ARHD v30, with adb sideload, then they can not find any devices. I already try to install newest HTC drivers, but they dont works.
minhcoi said:
I done that already, but the problem is, when i try to install ARHD v30, with adb sideload, then they can not find any devices. I already try to install newest HTC drivers, but they dont works.
Click to expand...
Click to collapse
do you not have a working rom already? Im confused. You didn't say you were wiped?
an0ther said:
do you not have a working rom already? Im confused. You didn't say you were wiped?
Click to expand...
Click to collapse
Hi an0ther,
I am running ARHD v22 with no problems. Then I try to install V30 in recovery mode - from zipfiles. After that, it only run a cicles in HTC boot logo and recovery mode. I start over again form 1st step to relock my HTC, flash recovery.img etc.
Now, my HTC only work with old recovery.img and ARHD v22. If i try 2 other recovery.img event with ARHD v22 is still not works.
I'm not sure exactly what is going on. We might have a language barrier here. You might have a corrupt Rom file. You said relock, not sure if you are talking about the bootloader which you don't need to do. Unless you are trying to flash stock ruu and you are s-on.
an0ther said:
I'm not sure exactly what is going on. We might have a language barrier here. You might have a corrupt Rom file. You said relock, not sure if you are talking about the bootloader which you don't need to do. Unless you are trying to flash stock ruu and you are s-on.
Click to expand...
Click to collapse
Thanks an0ther,
I am done. I have to flash the right firmware which support the new ARHD V30 (4.3) then every things seem to be okay now.
Thank you for your time.

[Q] Android 4.4 OTA update and stuck in "no command" bootloop

Hi,
I installed a while ago 4.3 GE (rooted) for OTA updates. Everything seemed fine. Today i got the 4.4 OTA update so OTA does work. I rebooted the phone so it could install. The installation stopped after a while and gives the error: no command. After 30 seconds it reboots and gives this error again. Over and over again
I did not make a backup of my data on the phone. The default recovery mode is not available, this also gives the no command error. Fastboot does work.
I'm S-OFF and LOCKED.
What to do?
Someone got this working with Nexus 7 2012. But i need the OTA 4.4 file and ADB sideload needs to work...
Are you able to unlock bootloader using fastboot oem unlock ?
SaHiLzZ said:
Are you able to unlock bootloader using fastboot oem unlock ?
Click to expand...
Click to collapse
Yes, i used the unlockcode. Created a new one via htcdev. Bootloader is now unlocked. Try to reflash 4.3 recovery, flash is ok but still can't start recovery. I wanted to try to start normal recovery and use adb sideload to transfer files from sd to pc. Also tried to flash twrp and CWM but found no solution to transfer my files?
Try fastboot boot customrecovery.img
Also once you are in recovery, your device will show up under adb devices. Then you can adb push yourromname.zip /data/media/
SaHiLzZ said:
Try fastboot boot customrecovery.img
Also once you are in recovery, your device will show up under adb devices. Then you can adb push yourromname.zip /data/media/
Click to expand...
Click to collapse
Which customrecovery? Can i also transfer my data (pictures?) from sd to pc?
Use CWM if you wish.. http://forum.xda-developers.com/showthread.php?t=2173863
You have to use adb pull /data/media/DCIM/ if your pics are stored in DCIM folder.
This is DEPENDENT on your phone connecting and responding to ADB..
SaHiLzZ said:
Use CWM if you wish.. http://forum.xda-developers.com/showthread.php?t=2173863
You have to use adb pull /data/media/DCIM/ if your pics are stored in DCIM folder.
This is DEPENDENT on your phone connecting and responding to ADB..
Click to expand...
Click to collapse
OK thank you, i will try this tomorrow. I also found how to enable USB debugging through CWM . I think i will need that too.
I wouldn't do that. I have no idea what will it do to your phone. If you are not sure of ADB commands you can get in a bind. Unless you are doing a crash course on ADB&Fastboot tonight?
SaHiLzZ said:
I wouldn't do that. I have no idea what will it do to your phone. If you are not sure of ADB commands you can get in a bind. Unless you are doing a crash course on ADB&Fastboot tonight?
Click to expand...
Click to collapse
Ok, i only will try to do that when ADB not works. I think ADB only works when USB debugging is enabled in Android. But i can't start Android.
What do i have to start in CWM to use ADB?
mderksen said:
Ok, i only will try to do that when ADB not works. I think ADB only works when USB debugging is enabled in Android. But i can't start Android.
What do i have to start in CWM to use ADB?
Click to expand...
Click to collapse
Same trouble here? Have you figured it out yet?
bluestar23 said:
Same trouble here? Have you figured it out yet?
Click to expand...
Click to collapse
ADB was working, but i could not get my files off the phone. Tried to transfer files with ADB but it could not find the directories. So i gave up and i just flashed the 4.4 (non-root) RUU. The phone is working now but i lost my files
mderksen said:
ADB was working, but i could not get my files off the phone. Tried to transfer files with ADB but it could not find the directories. So i gave up and i just flashed the 4.4 (non-root) RUU. The phone is working now but i lost my files
Click to expand...
Click to collapse
You are lucky. I relocked it... So as of now, I cannot even flash TWRP for any rom...
mderksen said:
Hi,
I installed a while ago 4.3 GE (rooted) for OTA updates. Everything seemed fine. Today i got the 4.4 OTA update so OTA does work. I rebooted the phone so it could install. The installation stopped after a while and gives the error: no command. After 30 seconds it reboots and gives this error again. Over and over again
I did not make a backup of my data on the phone. The default recovery mode is not available, this also gives the no command error. Fastboot does work.
I'm S-OFF and LOCKED.
What to do?
Someone got this working with Nexus 7 2012. But i need the OTA 4.4 file and ADB sideload needs to work...
Click to expand...
Click to collapse
Paste your getvar all

[Q] Stuck in Boot Cycle With Other Problems

Hi All,
First off please forgive how much of a low level noob I am am at this. I didn't create a backup unfortunately. Now we can get to the good stuff. I have unlocked, s-off, and rooted my phone. Loaded a great GPE rom on there and it was working perfectly fine. While looking for a SU for the Rom so that I could delete some wifi bs I found a the HD rom on this site that I would rather use. Soooo I rooted the rom and used cwm to load up the HD 6.1 rom. After the install, when rebooting, it asked me if I wanted to fix the SU permissions and i clicked yes. Now it is stuck in a boot cycle. When I enter fastboot I can enter commands (no adb detection) I can even flash a different recovery on there and the corresponding logo will flash for a second at the end of each boot cycle. Trying to launch reboot or factory reset will put me into another boot cycle. I have tried using fastboot to load directly into recovery but that freezes the phone 2/3 times. Any help would be greatly appreciated so that I can just go back to the GPE rom i was using and stop screwing around with my phone.
XaBuddy said:
Hi All,
First off please forgive how much of a low level noob I am am at this. I didn't create a backup unfortunately. Now we can get to the good stuff. I have unlocked, s-off, and rooted my phone. Loaded a great GPE rom on there and it was working perfectly fine. While looking for a SU for the Rom so that I could delete some wifi bs I found a the HD rom on this site that I would rather use. Soooo I rooted the rom and used cwm to load up the HD 6.1 rom. After the install, when rebooting, it asked me if I wanted to fix the SU permissions and i clicked yes. Now it is stuck in a boot cycle. When I enter fastboot I can enter commands (no adb detection) I can even flash a different recovery on there and the corresponding logo will flash for a second at the end of each boot cycle. Trying to launch reboot or factory reset will put me into another boot cycle. I have tried using fastboot to load directly into recovery but that freezes the phone 2/3 times. Any help would be greatly appreciated so that I can just go back to the GPE rom i was using and stop screwing around with my phone.
Click to expand...
Click to collapse
fastboot erase cache
then flash the recovery again (twrp 2.6.3.3 suggested)
then from recovery wipe and adb push or sideload the rom
I was able to get twrp to work by flashing it again, probably the 7th time, and erased the cache. Now I don't think i want to load the same rom that started this but to go back to the GPE version that I had. Is there a way to get this on the internal sd card through fastboot?
XaBuddy said:
I was able to get twrp to work by flashing it again, probably the 7th time, and erased the cache. Now I don't think i want to load the same rom that started this but to go back to the GPE version that I had. Is there a way to get this on the internal sd card through fastboot?
Click to expand...
Click to collapse
Your options are:
1) adb push
2) sideload from TWRP
3) OTG cable from TWRP
Lots of threads for each of these available in Google
mb_guy said:
Your options are:
1) adb push
2) sideload from TWRP
3) OTG cable from TWRP
Lots of threads for each of these available in Google
Click to expand...
Click to collapse
I was ablt to get adb to recognize the phone however it lists it as a host. I go into the twrp and do the sideload but it opens up the debug message. adb sideload os.zip is the command I'm using as I renamed the file to os.zip so i don't have to type so much. I tried the adb push but it says error:Closed.
mb_guy said:
Your options are:
1) adb push
2) sideload from TWRP
3) OTG cable from TWRP
Lots of threads for each of these available in Google
Click to expand...
Click to collapse
so adb push finally did something but not quite what I wanted this is the message I got
failed to copy '/Users/robertlitz/Downloads/Archive/os.zip' to '/data/media/0/': Is a directory
XaBuddy said:
so adb push finally did something but not quite what I wanted this is the message I got
failed to copy '/Users/robertlitz/Downloads/Archive/os.zip' to '/data/media/0/': Is a directory
Click to expand...
Click to collapse
Try this instead
adb push os.zip /sdcard/os.zip
mb_guy said:
Try this instead
adb push os.zip /sdcard/os.zip
Click to expand...
Click to collapse
It worked!! Thank you so much. I had tried adb push os.zip /sdcard/ a while ago but it didn't take. by typing the zip name after sdcard i assume that "gives" the file an exact location to be placed?

Error flashing ROM via adb sideload/fastboot

I decided to try and flash a custom rom as a .zip into my phone without using TWRP to play around. I first went into bootloader mode, then typed:
fastboot devices
fastboot flash zip Cyanogenmod.zip
Failed, error.
I also tried to use TWRP's adb sideload, swiped to run adb sideload, then typed
adb devices
adb sideload Cyanogenmod.zip
Failed,error.
Both times, there was no OS on the phone, I wiped everything prior.
Wasn't able to get either method to work. Am I doing something wrong ? Just like playing around and trying options to flash a ROM outside of TWRP.
I know how to flash .img files individually in fastboot, just not the .zip of custom ROMs.
mikeprius said:
I decided to try and flash a custom rom as a .zip into my phone without using TWRP to play around. I first went into bootloader mode, then typed:
fastboot devices
fastboot flash zip Cyanogenmod.zip
Failed, error.
I also tried to use TWRP's adb sideload, swiped to run adb sideload, then typed
adb devices
adb sideload Cyanogenmod.zip
Failed,error.
Both times, there was no OS on the phone, I wiped everything prior.
Wasn't able to get either method to work. Am I doing something wrong ? Just like playing around and trying options to flash a ROM outside of TWRP.
I know how to flash .img files individually in fastboot, just not the .zip of custom ROMs.
Click to expand...
Click to collapse
wrong? yes, very much so. first off, you can not flash roms like cm via fastboot. you use twrp to flash those roms. fastboot is only for flashing the factory image or .img files. secondly, you dont have to use adb to transfer files to your phone. twrp recovery has a native feature letting you move files to your phone without adb.
simms22 said:
wrong? yes, very much so. first off, you can not flash roms like cm via fastboot. you use twrp to flash those roms. fastboot is only for flashing the factory image or .img files. secondly, you dont have to use adb to transfer files to your phone. twrp recovery has a native feature letting you move files to your phone without adb.
Click to expand...
Click to collapse
Oh, so you can't flash a ROM .zip via adb ? I know how to do adb push into TWRP then flash the zip if that's what you were referring to ?
Fastboot cannot flash ROM .zips like TWRP ?
mikeprius said:
Oh, so you can't flash a ROM .zip via adb ? I know how to do adb push into TWRP then flash the zip if that's what you were referring to ?
Fastboot cannot flash ROM .zips like TWRP ?
Click to expand...
Click to collapse
Nope, only .img files can be flashed in fastboot.
mikeprius said:
Fastboot cannot flash ROM .zips like TWRP ?
Click to expand...
Click to collapse
nope. or we would just be using fastboot, and not twrp. but we need twrp to do it.
simms22 said:
nope. or we would just be using fastboot, and not twrp. but we need twrp to do it.
Click to expand...
Click to collapse
What does adb sideload do ? How is that different than adb pull for moving a .zip into the storage ??
Searching for adb sideload turned up this thread that pretty much has the two questions I currently have:
simms22 said:
twrp recovery has a native feature letting you move files to your phone without adb.
Click to expand...
Click to collapse
I did some searching for how to do this but the only thing I was able to come up with was changing storage to USB OTG and installing the files from there. Is that the method you were referring to?
mikeprius said:
What does adb sideload do ? How is that different than adb pull for moving a .zip into the storage ??
Click to expand...
Click to collapse
I too am now wondering about what adb sideload does. I thought it was for flashing .zip files, including ROM's. Is that incorrect? Does adb sideload work when there isn't an OS on the phone because USB Debugging can't be enabled?

Categories

Resources