[SOLVED]I wiped all my data and can't push the rom via adb

Search This thread

tomyo.lfc

Member
Nov 24, 2013
21
2
HTC M7
I got an error on the phone then I returned to stock rom(relocked)>unlocked the device again>install TWRP 2.6.3.3
but now the problem is I can't push the file via adb or sideload

when I command "adb devices" it said
List of devices attached
HT37xxxxxxxx recovery

or I go to advanced>ADB sideload and try to swipe to start sideload it failed
---------------------------------------------------
ADB Sideload complete (white font)
Failed(red font)





Updating partition details.
----------------------------------------------------
sorry I can't post the image cause a new user condition.


Any helps, thank you :eek::eek:
 
Last edited:

yatindroid

Senior Member
Sep 23, 2009
2,103
594
Jaipur
Use USB otg cable & drive
Mount USB then install Rom
USB drive should be fat32 format

from HTC One
 
Last edited:

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
HTC M7
I got an error on the phone then I returned to stock rom(relocked)>unlocked the device again>install TWRP 2.6.3.3
but now the problem is I can't push the file via adb or sideload

when I command "adb devices" it said
List of devices attached
HT37xxxxxxxx recovery

or I go to advanced>ADB sideload and try to swipe to start sideload it failed
---------------------------------------------------
ADB Sideload complete (white font)
Failed(red font)

Sounds like a bad download, have you checked MD5?

also, have you checked the FAQ sticky thread, if it hasn't been updated/moved the info would still be in the last post; and while you're there read the first post (again?) too :)
(please remember to never post questions in the sticky, if you have more questions post back here)
 

tomyo.lfc

Member
Nov 24, 2013
21
2
Sounds like a bad download, have you checked MD5?

also, have you checked the FAQ sticky thread, if it hasn't been updated/moved the info would still be in the last post; and while you're there read the first post (again?) too :)
(please remember to never post questions in the sticky, if you have more questions post back here)

I try to flash the MAXIMUS41 and REVOLUTION HD but the point of the problem in my opinion I can't access the sideload
when at the twrp2.6.3.3page i click advanced>ADB sideload>check the wipe Dalvik Cache and Wipe cache(check both) and at the bottom it say swipe to start the sideload then I swipe it happen the failed page immediately and it just stop don't doing anything I don't even choose the sideload rom to transfer
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
I try to flash the MAXIMUS41 and REVOLUTION HD but the point of the problem in my opinion I can't access the sideload
when at the twrp2.6.3.3page i click advanced>ADB sideload>check the wipe Dalvik Cache and Wipe cache(check both) and at the bottom it say swipe to start the sideload then I swipe it happen the failed page immediately and it just stop don't doing anything I don't even choose the sideload rom to transfer

MD5 checksum is a way to check that what you downloaded is not corrupt, for example for Maximus and ARHD, you can see the correct MD5 before downloading:
e51ae10f864a4de448da8d7218389838.png


b551c85fcc891fea4ffd50b908d572f5.png


how do you check it, well you download the file, and use one of the following programs:


on Mac, Linux, and Android terminals it's already built in:
Mac: in terminal, just type md5 <name of file>
----> MD5 (<name of file>) = 12345678901234567890123456789012

Linux: in terminal, just type md5sum <name of file>
----> 12345678901234567890123456789012 <name of file>

Android: in "adb shell", just type md5sum <name of file>
----> 12345678901234567890123456789012 <name of file>


Windows (seems not built-in!?!?): you can use programs such as http://winmd5.com/ , http://implbits.com/hashtab.aspx , http://www.pc-tools.net/win32/md5sums/ or any other one of your choosing.

if the number that you get on your downloaded file, is not exactly the same as the one mentioned in the place where you downloaded, then it is a bad download, and you have to download again.
 

donkeykong1

Senior Member
Aug 6, 2012
3,900
2,133
Sesvete, Zagreb
HTC M7
I got an error on the phone then I returned to stock rom(relocked)>unlocked the device again>install TWRP 2.6.3.3
but now the problem is I can't push the file via adb or sideload

when I command "adb devices" it said
List of devices attached
HT37xxxxxxxx recovery

or I go to advanced>ADB sideload and try to swipe to start sideload it failed
---------------------------------------------------
ADB Sideload complete (white font)
Failed(red font)





Updating partition details.
----------------------------------------------------
sorry I can't post the image cause a new user condition.


Any helps, thank you :eek::eek:
Install stock recovery via fastboot, then go into bootloader and do factory reset. After that install custom recovery and you're good to go
 

tomyo.lfc

Member
Nov 24, 2013
21
2
*can't quote your message cause a new user

I think the point is not about the file is broken or not. I just can't use the sideload by twrp 2.6.3.3 and I don't know why.
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
this still need sidework to work but I can't use the sidework via my device. It appear the red font failed like I said.

can you try adb push as shown below, and copy/paste your command prompt output here:

Code:
C:\ADB3>[B][COLOR="Blue"]adb version[/COLOR][/B]
Android Debug Bridge version 1.0.31

C:\ADB3>[B][COLOR="Blue"]adb devices[/COLOR][/B]
List of devices attached
HT34xxxxxxxx    recovery [I][SIZE="1"]<- you are now in recovery[/SIZE][/I]


C:\ADB3>[B][COLOR="Blue"]adb push Android_Revolution_HD-One_71.1.zip /sdcard/[/COLOR][/B]
2990 KB/s (1172224138 bytes in 382.835s) [B][I]<- yes, it took over 5 mins,
                                            without showing any progress[/I][/B]

[I][U][SIZE="1"]Just to double-check the file is not corrupt[/SIZE][/U][/I]
C:\ADB3>[B][COLOR="Blue"]adb shell md5sum /sdcard/Android_Revolution_HD-One_71.1.zip[/COLOR][/B]
ccc848cbf2b74c5fa33fd7e2269b0499   /sdcard/Android_Revolution_HD-One_71.1.zip
[INDENT]from the OP:
Android Revolution HD 71.1 -- MD5 sum: CCC848CBF2B74C5FA33FD7E2269B0499  --
==> so all is good :)[/INDENT]

C:\ADB3>
 
  • Like
Reactions: tomyo.lfc

tomyo.lfc

Member
Nov 24, 2013
21
2
can you try adb push as shown below, and copy/paste your command prompt output here:

Code:
C:\ADB3>[B][COLOR="Blue"]adb version[/COLOR][/B]
Android Debug Bridge version 1.0.31

C:\ADB3>[B][COLOR="Blue"]adb devices[/COLOR][/B]
List of devices attached
HT34xxxxxxxx    recovery [I][SIZE="1"]<- you are now in recovery[/SIZE][/I]


C:\ADB3>[B][COLOR="Blue"]adb push Android_Revolution_HD-One_71.1.zip /sdcard/[/COLOR][/B]
2990 KB/s (1172224138 bytes in 382.835s) [B][I]<- yes, it took over 5 mins,
                                            without showing any progress[/I][/B]

[I][U][SIZE="1"]Just to double-check the file is not corrupt[/SIZE][/U][/I]
C:\ADB3>[B][COLOR="Blue"]adb shell md5sum /sdcard/Android_Revolution_HD-One_71.1.zip[/COLOR][/B]
ccc848cbf2b74c5fa33fd7e2269b0499   /sdcard/Android_Revolution_HD-One_71.1.zip
[INDENT]from the OP:
Android Revolution HD 71.1 -- MD5 sum: CCC848CBF2B74C5FA33FD7E2269B0499  --
==> so all is good :)[/INDENT]

C:\ADB3>

I just use your method and it work I think I can transfer file to my device but when I'm click install>rom file>swipe to flash. It failed again :(

it said
E:Unable to mount '/data'
Error flashing zip '/sdcard/rom.zip
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount internal storage.

-----------------------------------------------------------------------------------------------
here is command
C:\Users\_\Desktop\ADB Drivers_Updated>adb devices
List of devices attached
HT37XW904211 recovery


C:\Users\_\Desktop\ADB Drivers_Updated>adb push rom.zip /sdcard/
2899 KB/s (1172621282 bytes in 394.971s)

C:\Users\_\Desktop\ADB Drivers_Updated>adbversion
'adbversion' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\_\Desktop\ADB Drivers_Updated>adb version
Android Debug Bridge version 1.0.31

C:\Users\_\Desktop\ADB Drivers_Updated>adb shell md5sum /sdcard/rom.zip
ccc848cbf2b74c5fa33fd7e2269b0499 /sdcard/rom.zip

C:\Users\_\Desktop\ADB Drivers_Updated>
 
Last edited:

SaHiLzZ

Senior Member
Jan 19, 2011
2,000
516
YOu haven't posted a fastboot getvar all output, for all we know you have a Samsung Galaxy tab... ;)

Please post that output.
 

tomyo.lfc

Member
Nov 24, 2013
21
2
YOu haven't posted a fastboot getvar all output, for all we know you have a Samsung Galaxy tab... ;)

Please post that output.

I already said HTC ONE M7
here is getvar all

C:\Users\_\Desktop\ADB Drivers_Updated>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4A.17.3250.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT37XW904211
(bootloader) imei: 354435058086489
(bootloader) meid: 00000000000000
(bootloader) product: m7_u
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0711000
(bootloader) cidnum: HTC__044
(bootloader) battery-status: good
(bootloader) battery-voltage: 4320mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d16dc66985
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.054s
 

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
I just use your method and it work I think I can transfer file to my device but when I'm click install>rom file>swipe to flash. It failed again :(

it said
E:Unable to mount '/data'
Error flashing zip '/sdcard/rom.zip
Updating partition details...
E:Unable to mount '/data'
E:Unable to mount internal storage.

-----------------------------------------------------------------------------------------------
here is command
C:\Users\_\Desktop\ADB Drivers_Updated>adb devices
List of devices attached
HT37XW904211 recovery


C:\Users\_\Desktop\ADB Drivers_Updated>adb push rom.zip /sdcard/
2899 KB/s (1172621282 bytes in 394.971s)

C:\Users\_\Desktop\ADB Drivers_Updated>adbversion
'adbversion' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\_\Desktop\ADB Drivers_Updated>adb version
Android Debug Bridge version 1.0.31

C:\Users\_\Desktop\ADB Drivers_Updated>adb shell md5sum /sdcard/rom.zip
ccc848cbf2b74c5fa33fd7e2269b0499 /sdcard/rom.zip

C:\Users\_\Desktop\ADB Drivers_Updated>

In TWRP go to the wipe menu, and select "Format Data". You'll have to confirm that by typing 'yes'.
After format is completed, reboot back to recovery, and do the adb push again

Sent from my HTC One using Tapatalk
 
  • Like
Reactions: tomyo.lfc

tomyo.lfc

Member
Nov 24, 2013
21
2
In TWRP go to the wipe menu, and select "Format Data". You'll have to confirm that by typing 'yes'.
After format is completed, reboot back to recovery, and do the adb push again

Sent from my HTC One using Tapatalk

ืI can flash the rom now. I want to thank you really, I love you thank you so much. :victory::victory:
love xda.
 
  • Like
Reactions: nkk71

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
ืI can flash the rom now. I want to thank you really, I love you thank you so much. :victory::victory:
love xda.

:D:D

Welcome to xda :good::good:

and if all is good now, can you also edit main thread title to include [SOLVED], thanks
edit the first post -> at the bottom of the edit window, click Go Advanced, and then you can edit main title :)
 
  • Like
Reactions: tomyo.lfc

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    this still need sidework to work but I can't use the sidework via my device. It appear the red font failed like I said.

    can you try adb push as shown below, and copy/paste your command prompt output here:

    Code:
    C:\ADB3>[B][COLOR="Blue"]adb version[/COLOR][/B]
    Android Debug Bridge version 1.0.31
    
    C:\ADB3>[B][COLOR="Blue"]adb devices[/COLOR][/B]
    List of devices attached
    HT34xxxxxxxx    recovery [I][SIZE="1"]<- you are now in recovery[/SIZE][/I]
    
    
    C:\ADB3>[B][COLOR="Blue"]adb push Android_Revolution_HD-One_71.1.zip /sdcard/[/COLOR][/B]
    2990 KB/s (1172224138 bytes in 382.835s) [B][I]<- yes, it took over 5 mins,
                                                without showing any progress[/I][/B]
    
    [I][U][SIZE="1"]Just to double-check the file is not corrupt[/SIZE][/U][/I]
    C:\ADB3>[B][COLOR="Blue"]adb shell md5sum /sdcard/Android_Revolution_HD-One_71.1.zip[/COLOR][/B]
    ccc848cbf2b74c5fa33fd7e2269b0499   /sdcard/Android_Revolution_HD-One_71.1.zip
    [INDENT]from the OP:
    Android Revolution HD 71.1 -- MD5 sum: CCC848CBF2B74C5FA33FD7E2269B0499  --
    ==> so all is good :)[/INDENT]
    
    C:\ADB3>
    1
    I just use your method and it work I think I can transfer file to my device but when I'm click install>rom file>swipe to flash. It failed again :(

    it said
    E:Unable to mount '/data'
    Error flashing zip '/sdcard/rom.zip
    Updating partition details...
    E:Unable to mount '/data'
    E:Unable to mount internal storage.

    -----------------------------------------------------------------------------------------------
    here is command
    C:\Users\_\Desktop\ADB Drivers_Updated>adb devices
    List of devices attached
    HT37XW904211 recovery


    C:\Users\_\Desktop\ADB Drivers_Updated>adb push rom.zip /sdcard/
    2899 KB/s (1172621282 bytes in 394.971s)

    C:\Users\_\Desktop\ADB Drivers_Updated>adbversion
    'adbversion' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\_\Desktop\ADB Drivers_Updated>adb version
    Android Debug Bridge version 1.0.31

    C:\Users\_\Desktop\ADB Drivers_Updated>adb shell md5sum /sdcard/rom.zip
    ccc848cbf2b74c5fa33fd7e2269b0499 /sdcard/rom.zip

    C:\Users\_\Desktop\ADB Drivers_Updated>

    In TWRP go to the wipe menu, and select "Format Data". You'll have to confirm that by typing 'yes'.
    After format is completed, reboot back to recovery, and do the adb push again

    Sent from my HTC One using Tapatalk
    1
    In TWRP go to the wipe menu, and select "Format Data". You'll have to confirm that by typing 'yes'.
    After format is completed, reboot back to recovery, and do the adb push again

    Sent from my HTC One using Tapatalk

    ืI can flash the rom now. I want to thank you really, I love you thank you so much. :victory::victory:
    love xda.
    1
    ืI can flash the rom now. I want to thank you really, I love you thank you so much. :victory::victory:
    love xda.

    :D:D

    Welcome to xda :good::good:

    and if all is good now, can you also edit main thread title to include [SOLVED], thanks
    edit the first post -> at the bottom of the edit window, click Go Advanced, and then you can edit main title :)