[Q] htc one m7 "set_metadata_recursive" please help

Search This thread

luckynesooo

Member
Nov 28, 2012
9
1
i get this in the recovery while flashing android revolution hd and i restored my phone back to the stock from the backup i did.
i tried flashing one_4.19.401.11_deodexed and the same problem showed up


>>> Setting permissions
set_metadata_recursive: some changes failed
E:Error in /data/media/0/one_4.19.401.11_deodexed.zip
Installation aborted

i tried multiple times, i downloaded the files again but the same message i get at the end of the log in cwm every time

any help, please and thank you so much

I'm running stock htc rom sense 5.5 android version 4.3
software number 3.62.401.1 rooted with custom recovery s-on
 
Last edited:

nkk71

Inactive Recognized Developer / Contributor
May 26, 2010
8,741
7,571
53
Beirut
set_metadata_recursive: some changes failed

next time please use the search function, this has been covered more than enough times, and all over the place :(

you're using an outdated recovery, get TWRP from:
2.6.3.3: http://techerrata.com/browse/twrp2/m7
or 2.6.3.4: http://techerrata.com/browse/twrp2/m7ul
(make sure MD5 is correct, that site does not play nice with download managers)


in bootloader/FASTBOOT USB:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader



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

C:\ADB3>[B][COLOR="Blue"]fastboot devices[/COLOR][/B]
HT34xxxxxxxx    fastboot [I][SIZE="1"]<- you are in bootloader[/SIZE][/I]


C:\ADB3>[B][COLOR="Blue"]fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img[/COLOR][/B]
target reported max download size of 1514139648 bytes
sending 'recovery' (9184 KB)...
OKAY [  1.209s]
writing 'recovery'...
OKAY [  1.144s]
finished. total time: 2.354s

C:\ADB3>[B][COLOR="Blue"]fastboot erase cache[/COLOR][/B]
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [  0.120s]
finished. total time: 0.120s

C:\ADB3>[B][COLOR="Blue"]fastboot reboot-bootloader[/COLOR][/B]
rebooting into bootloader...
OKAY [  0.160s]
finished. total time: 0.160s

if the ROM is no longer on your phone:
-> enter RECOVERY

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_52.0.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_52.0.zip[/COLOR][/B]
2eff0d37fec5789b946c43f7da2c13bf  /sdcard/Android_Revolution_HD-One_52.0.zip
[INDENT]from the OP:
Android Revolution HD 52.0 -- MD5 sum: 2EFF0D37FEC5789B946C43F7DA2C13BF --
==> so all is good :)[/INDENT]

C:\ADB3>
-> in recovery, select "install" and install the ROM
.
 
  • Like
Reactions: luckynesooo

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    set_metadata_recursive: some changes failed

    next time please use the search function, this has been covered more than enough times, and all over the place :(

    you're using an outdated recovery, get TWRP from:
    2.6.3.3: http://techerrata.com/browse/twrp2/m7
    or 2.6.3.4: http://techerrata.com/browse/twrp2/m7ul
    (make sure MD5 is correct, that site does not play nice with download managers)


    in bootloader/FASTBOOT USB:
    fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
    fastboot erase cache
    fastboot reboot-bootloader



    Code:
    C:\ADB3>[B][COLOR="Blue"]adb version[/COLOR][/B]
    Android Debug Bridge version 1.0.31
    
    C:\ADB3>[B][COLOR="Blue"]fastboot devices[/COLOR][/B]
    HT34xxxxxxxx    fastboot [I][SIZE="1"]<- you are in bootloader[/SIZE][/I]
    
    
    C:\ADB3>[B][COLOR="Blue"]fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img[/COLOR][/B]
    target reported max download size of 1514139648 bytes
    sending 'recovery' (9184 KB)...
    OKAY [  1.209s]
    writing 'recovery'...
    OKAY [  1.144s]
    finished. total time: 2.354s
    
    C:\ADB3>[B][COLOR="Blue"]fastboot erase cache[/COLOR][/B]
    ******** Did you mean to fastboot format this partition?
    erasing 'cache'...
    OKAY [  0.120s]
    finished. total time: 0.120s
    
    C:\ADB3>[B][COLOR="Blue"]fastboot reboot-bootloader[/COLOR][/B]
    rebooting into bootloader...
    OKAY [  0.160s]
    finished. total time: 0.160s

    if the ROM is no longer on your phone:
    -> enter RECOVERY

    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_52.0.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_52.0.zip[/COLOR][/B]
    2eff0d37fec5789b946c43f7da2c13bf  /sdcard/Android_Revolution_HD-One_52.0.zip
    [INDENT]from the OP:
    Android Revolution HD 52.0 -- MD5 sum: 2EFF0D37FEC5789B946C43F7DA2C13BF --
    ==> so all is good :)[/INDENT]
    
    C:\ADB3>
    -> in recovery, select "install" and install the ROM
    .