yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] pcarenza:
Still getting #@!$! error trying to flash!

OK, this isn't the first time I've tried to flash a 4.4 rom... it all ends up the same:

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:Set page: 'flash_zip'

Installing '/external_sd/MSI/full_xt926-ota-eng.dhacker29.zip'...

Checking for MD5 file...

I:Cannot find file /external_sd/MSI/full_xt926-ota-eng.dhacker29.zip.md5

Skipping MD5 check: no MD5 file found.

Verifying zip signature...

I:read key e=3 hash=20

I:read key e=65537 hash=20

I:2 key(s) loaded from /res/keys

I:comment is 1738 bytes; signature 1720 bytes from end

I:whole-file signature verified against key 0

I:Zip contains SELinux file_contexts file in its root. Extracting to /file_conte

Creating filesystem with parameters:

Size: 1560281088

Block size: 4096

Blocks per group: 32768

Inodes per group: 7936

Inode size: 256

Journal blocks: 5952

Label:

Blocks: 380928

Block groups: 12

Reserved block group size: 95

Created filesystem with 11/95232 inodes and 12513/380928 blocks

warning: wipe_block_device: Discard failed

mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system:

minzip: Extracted 1339 file(s)

symlink(): created [/system/etc/firmware/wcd9310]

ApplyParsedPerms: removexattr of /system/xbin/tcpdump to 0 failed: Operation not

script aborted: set_metadata_recursive: some changes failed

set_metadata_recursive: some changes failed

E:Error executing updater binary in zip '/external_sd/MSI/full_xt926-ota-eng.dha

Error flashing zip '/external_sd/MSI/full_xt926-ota-eng.dhacker29.zip'

I get this each and every time with 4.4, no matter which recovery I'm on (including the latest by dhacker). It's very frustrating, and nobody seems to able to give a straight answer. Is there something hosed in my partitioning? Is it SELINUX? It only seems to be happening with 4.4, not with any 4.3 rom.

I can tell you I've been racking my brain over this.. I've been devving roms for the past year or two and haven't seen anything like it. I'd love to know why it works on some xt926's and not others....
[RAZR HD Android Development] RaR System:
Is it really necessary to use TWRP ?

CWM doesn't work for this ?
[RAZR HD Android Development] flight666:
Yeah, must be TWRP. CWM doesn´t recognize the flashing structure.

Still no go here, keep getting updater binary error.
[RAZR HD Android Development] madmonkey57:
Wiped everything before flashing anything.

But unfortunately, flashing the ROM zip file fails on my XT925: "symlink: some symlinks failed".

:(

EDIT: I don't think the issue is with TWRP. At least backups and restores are working fine.
[RAZR HD Android Development] pcarenza:
Yeah and at least I know it's not just me.

PS all of the 4.3.x roms i flash work.
[RAZR HD Android Development] koftheworld:
i know it's a crappy question, but i have to ask: did you dl the right version of the rom? did you try dl'ing on your computer and moving it over manually? did you try flashing it from your internal memory instead of your sd card?

again, sorry for the basic questions.
[RAZR HD Android Development] JoseBerga:
I flashed without errors using twrp posted by dhacker on his twitter acccount.

I have a xt925 too, maybe your file is corrupted..

Enviado desde mi XT925 mediante Tapatalk
[RAZR HD Android Development] jldr:
Wow already? That's awesome! I'll wait until SD card works to flash.
[RAZR HD Android Development] jmcdonald58:
Have you tried flashing from your internal sd-instead of external- just a shot in the dark - Or take a break try to relax you will figure it out you always do:)
[RAZR HD Android Development] SnakeHaveYou:
No problems here with TWRP..

Downloaded with a Download Manager to get a non-corrupted file (GApps, ROM and Recovery)
[RAZR HD Android Development] pcarenza:
Yes, downloaded xt926, on my computer, then adb pushed it to both /external_sd and /sdcard

I've downloaded the rom twice, just to make sure, as well as the 2.6.3 recovery.

Thanks for being thorough...
[RAZR HD Android Development] lordvampire:
Works fine..
[RAZR HD Android Development] koftheworld:
well then, we should all just wait until dh releases an update :cyclops:
[RAZR HD Android Development] madmonkey57:
I can unzip the file with no problem... No apparent corruption.

All right, I ran md5sum on all files directly on my external SD card:

Could you please confirm hashes?

EDIT: Downloaded all files once more on my linux box this time, and checked MD5s... They do match. The files on my phone are not corrupted.
[RAZR HD Android Development] flight666:
Yeah, exactly the same hashes here. Still trying to figure out what´s happening... TWRP working flawlessly with any other function than flashing DH 4.4 ! I tried everything other mates have suggested. My situation is apparently same as PCArenza... everything where it should be but... no way to flash this file! I even tried the MZ907 TWRP... let´s keep messing around... I think I redownloaded the files about 5 times! lol
[RAZR HD Android Development] dabanhfreak:
Try pushing to /data/media/ or /data/media/0/
[RAZR HD Android Development] pcarenza:
Yeah, the strange thing is that I look at the edify script (updater-script) from the 4.3 ROM and compare it to the 4.4 ROM and the only thing different, and the thing which fails, is the set_metadata_recursive.... oh and also it always seems to find issues with /system mounting when I try to flash the 4.4 ROM.

One addendum: I have indeed built and successfully flashed the ROM when I reverted out of the builds that implemented the set_metadata_recursive, both in recovery and in build. The ROM DOES flash when I do this... but alas, I can't get past the M logo if I do this.
[RAZR HD Android Development] JoseBerga:
Only my gapps not match with your hashes..

97CDA50171D66D471C12001AFED44A83 gapps-kk-20131101.zip

The others files are the same than yours :confused:
[RAZR HD Android Development] SnakeHaveYou:
I decided to flash again, but formating /system first.. And.. Flashing failed :p

So flashed a CM10.2 nightly, and 4.4 over it, and it worked!

Don't format /system.. Only wipe /data before flashing!

BTW.. The settings button in the Launcher won't work, because it's not the Nexus 5 launcher (Google Experience Launcher, maybe copyright issues, or it's incomplete/bugged).. If you want that launcher, you'll need to download it from HERE

Anyway, i can't get the touchless voice recognition search to work..
[RAZR HD Android Development] pcarenza:
That should be part of the Google Experience Launcher, right? Because it's basically an extended Google Search app.
[RAZR HD Android Development] koftheworld:
interesting all. i hit up dh on twitter to see if he could take a look.
[RAZR HD Android Development] pcarenza:
Sadly, this didn't work either. It really does no good, because the install script automatically wipes system before flashing. I'm going to try the flash of cm-10.2 first and see what happens.

---------- Post added at 01:29 PM ---------- Previous post was at 01:24 PM ----------

Same outcome... exactly the same place as /sdcard.

I'm going to try another workaround in the code, out of necessity.
[RAZR HD Android Development] SnakeHaveYou:
Yes, i think! Swiping to the right brings Google Now (only with Google Experience Laucher from the link), but remember the copyright issues, maybe that's the reason it's not included in this build.

Touchless voice recognition it's not working for me because of my language (Español (Argentina)), because if i choose English (US), it works fine!
[RAZR HD Android Development] flight666:
Same behavior here. I was already using CM10.2 but made a clean flash, didnt work.

I think our XT925 is haunted!!! lol
[RAZR HD Android Development] pcarenza:
XT926 here btw :) So it's not just you guys.
[RAZR HD Android Development] mike253:
I'm having the issues as well. Updater binary fails, and symlink issues.

It doesn't matter what I do, ive done clean flashes, dirty flashes, it doesn't matter. I still get the issues.

What would fix these issues that we're all having? Would Dhacker29 have to do a rebuild?
[RAZR HD Android Development] pcarenza:
Something in either of 3 things:

1) the build repo

2) the recovery itself, which should be built off the same source

or 3) something in the SELINUX config

but that's just my theory... I'm mostly clueless right now.
[RAZR HD Android Development] SnakeHaveYou:
Sad thing, the ART runtime crashes all the GApps :crying:
[RAZR HD Android Development] mike253:
Interesting. I've hit up dhacker about it and still waiting to hear back about it.
[RAZR HD Android Development] darktyroll:
Guys, give me an advice, i`m over 3 hours of bootloop.

I was on Slimbean 4.3.1, after that i flash the twrp 2.6.3, and install the 4.4 rom, only bootloop here.

Second, i flash others rom, bootloop again.

Third, i flash the old cwm, 6.0.2.8, tryed to restore the backup roms, nothings happen, they got bootloop on the logo of roms (any roms i tryed).

So my phone cant start in any roms, with twrp or cwm, new installls or backups.

What i can do?

PLEASE HELP ME, I`M DISPERATED!
[RAZR HD Android Development] msassounian:
do you have a stock backup? once this happened to me and the only thing i could restore was a stock backup.
[RAZR HD Android Development] madmonkey57:
Or maybe flash a stock rom with rsd lite...
[RAZR HD Android Development] darktyroll:
yes, i tryed with a backup of stock rom and no luck.

will try with rsd and a stock rom.
[RAZR HD Android Development] localceleb:
Here's the newest TWRP in flashable form. It works for me and i've flashed kit kat with no problems. This is not the dhacker twrp build so give it a shot and see if it works.
[RAZR HD Android Development] pcarenza:
got a little bit further with that one, but then again...

Created filesystem with 11/95232 inodes and 12513/380928 blocks

warning: wipe_block_device: Discard failed

mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: Invalid argument

minzip: inflate read failed (3536 vs 32768)

minzip: Can't extract entry to file.

minzip: Error extracting "/system/app/Bluetooth.apk"

minzip: Extracted 1 file(s)

symlink(): created [/system/etc]

symlink(): created [/system/etc/firmware]

symlink(): created [/system/etc/firmware/wcd9310]

symlink(): created [/system/etc/firmware/wlan]

symlink(): created [/system/etc/firmware/wlan/prima]

symlink(): created [/system/fonts]

symlink(): created [/system/lib]

ApplyParsedPerms: removexattr of /system/app/Bluetooth.apk to 0 failed: Operation not supported on transport endpoint

script aborted: set_metadata_recursive: some changes failed

set_metadata_recursive: some changes failed

E:Error executing updater binary in zip '/sdcard/full_xt926-ota-eng.zip'

Error flashing zip '/sdcard/full_xt926-ota-eng.zip'

Updating partition details...

I:Data backup size is 1506MB, size: 12081MB, used: 10842MB, free: 1121MB, in data/media: 9336MB.

I:Can't probe device /dev/block/mmcblk0p36

E:Unable to mount '/system'

I:Actual block device: '/dev/block/mmcblk0p36', current file system: 'ext4'
[RAZR HD Android Development] localceleb:
Wth....I've had similar problems on past devices where I screwed up partition while tinkering. Had to RUU back to stock and that solved my problems.
[RAZR HD Android Development] pcarenza:
RUU? You mean RSD Lite?
[RAZR HD Android Development] flight666:
Got the same result here... :(
[RAZR HD Android Development] localceleb:
Yes, my bad, RUU is a method for HTC devices.
[RAZR HD Android Development] scoobaspeaz:
That is not accurate. I used CWM touch and it worked fine for me. My CWM touch version is 6.0.3.5
[RAZR HD Android Development] flight666:
The only thing I didn´t try yet is RSD´ng to a stock ROM. Well...let´s try it!

---------- Post added at 06:12 PM ---------- Previous post was at 06:02 PM ----------

Could you give a link, please? I just found the 6.0.3.6 thread for RazrHD. Thanks!
[RAZR HD Android Development] madmonkey57:
Tried to flash the ROM with another recovery (OUDhs CWM Touch Req0very v1.0.3.4 for XT925) and it fails with:

Warning: No file_contextsset_metadata_recursive: some changes failed
E:Erro in /external_sd/KK/full_xt925-ota-eng.dhacker29.zip
(status 7)
Installation aborted.

... very similar to what pcarenza described a few posts above...
[RAZR HD Android Development] scoobaspeaz:
There is no link..I went to the clockworkmod touch site and selected the device to make it. However here is 6.0.4.4 http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.4.4-xt926.img

http://www.clockworkmod.com/rommanager
[RAZR HD Android Development] madmonkey57:
Aarrgh... Bootloops now... Nothing works... Think I'm gonna have to go the RSD way...
[RAZR HD Android Development] pcarenza:
Same here. CWM Touch didn't worrk either. I'm waiting til I'm home and have the free time though... need my phone for now :)
[RAZR HD Android Development] flight666:
Thank you! I´ll give it a try!
[RAZR HD Android Development] darknessrise1234:
Using CWM Touch 6.0.4.4 on AHD and it installs but I am unsure about boot atm. I have only tried a dirty flash right now.

Clean flash boots and has radio!

Current bugs noticed: Screenshots show up as artifacts, but the picture itself turns out fine. No accelerometer. ART causes com.process.gapps and a few others to repeatedly force close. (I have not changed any libs. This is straight flash test on the Atrix HD.)
[RAZR HD Android Development] flight666:
I just did a fresh install with RSDLite of a stock ROM, then flashed TWRP 6.0.2.3 and had the same error on symlink/updater binary.

I flashed CWM 6.0.4.4 for XT925 and tried again, still no lucky. That´s what occurs:

symlink(): created [/system/etc/firmware/wdc9310]

applyParsedPerms: removexattr of /system/xbin/tcpdump to 0 failed: Operation not supported on transport endpoint

script aborted: set_metadata_recursive: some changes failed

I: Can´t partition non mmcblk device: /devices/platform/msm_sdcc.3/mmc_host

I think I ceased all the atempts... tried everything possible! I´ll restore my CM10.2 backup by now and see how DHacker flows the development.

FYI: My device is a brazilian XT925 from VIVO carrier.
[RAZR HD Android Development] scoobaspeaz:
Try MMS..it didnt work for me.
[RAZR HD Android Development] darknessrise1234:
Worked with an MMS to myself.
[RAZR HD Android Development] scoobaspeaz:
haha well can you try to mms a friend? Also are you using/installed any 3rd party SMS/MMS apps (not including Hangouts)?
[RAZR HD Android Development] darknessrise1234:
I am using the stock messaging app. Give me a bit.

Worked. I do have bad signal though. Not sure why.
[RAZR HD Android Development] scoobaspeaz:
I couldnt get it to work with the XT926.
[RAZR HD Android Development] darknessrise1234:
I'm using an atrix HD. 2G does not work.
[RAZR HD Android Development] scoobaspeaz:
What steps did you take to flash it? Meaning in the recovery what did you do formatting wise?
[RAZR HD Android Development] darknessrise1234:
I just formatted system and factory reset then flashed it in cwm 6.0.4.4
[RAZR HD Android Development] pcarenza:
Same here..... restored to stock. Tried flashing... NOTHING. Same as before.

*EDIT* Just had a chat with dhacker 29. Apparently there may be something wrong with 16 GB devices... a problem possibly in the kernel; am going to revert all the way back to 3.0.97 and build TWRP with the mods, to help out. Will report back.
[RAZR HD Android Development] Darbness:
Mine has been running great since yesterday.

How i flashed it;

Step one: flashed "http://androidhosting.org/Devs/Dhacker29/msm8960/twrp263.img" recovery

Step two: wipe data/factory reset

Step three: Flash Rom and Gapps

Step four: reboot.

I have the XT925.
[RAZR HD Android Development] dabanhfreak:
I agree, since posting the OP I've done some experimenting and had a few fails, for seemingly no apparent reason. It appears to be going at random

I suggest doing as many permutations as possible and report on what works, if anything. It might be a TWRP glitch or AOSP glitch, or perhaps both.

CM11 will be released in a few weeks, should be an improvement.
[RAZR HD Android Development] scoobaspeaz:
dhacker just posted on twitter that if you have the 16gb emmc XT926 then this rom wont install. Kernel bug: https://twitter.com/dhacker29/status/398946262172446720
[RAZR HD Android Development] JoseBerga:
this apply on XT925 too?
[RAZR HD Android Development] flight666:
Wow! I would never guess that! I hope Dhacker and Hashcode can figure it out and make corrections to turn this kernel compatible.

Meanwhile, I'll take a look at Epinter's CM11.0 thread! Since he's also from Brazil and has a XT925, might be the 16gb version as this is the only version sold here.

---------- Post added at 10:31 PM ---------- Previous post was at 10:25 PM ----------

I think so... As today I tried everything possible to get this AOSP version flashed without success.
[RAZR HD Android Development] JoseBerga:
But I have a xt925 with this aosp right now and i'm from Argentina.. May be this is only for xt926..

Did you try a clean install? I mean rsd, twrp, And flash this?

Enviado desde mi XT925 mediante Tapatalk
[RAZR HD Android Development] madmonkey57:
My xt925 has 16gb emmc...
[RAZR HD Android Development] TXKSSnapper:
Has anyone tried using the PA Gapps to get the Google launcher instead of the aosp launcher?
[RAZR HD Android Development] JoseBerga:
Oh that's suck dude.. :(

Dhacker post con twitter.. In shortly a new build with external sd mounts fixed.. For HD/M..

Enviado desde mi XT925 mediante Tapatalk
[RAZR HD Android Development] flight666:
Yes, tried all these... After tons of twrp and cwm, clean and dirty flashes. Redownloaded the rom many times, checked md5,nothing gets this rom flashed, as you can check on my previous posts through the pages.

I don't know what else to do... Tomorrow I'll test Epinter CM11.0 hoping to work... If it doesn't, I quit this phone! Gonna pick a G2 or GN3 on black friday.
[RAZR HD Android Development] darknessrise1234:
XT925 users, do you have bad signal with this? On my AHD, using multiple different radios, I get 2 bars on an open desk or none in my pocket.
[RAZR HD Android Development] dark_nobody:
ScreenShot?
[RAZR HD Android Development] JoseBerga:
no, I have full bar signal at the moment.. :eek:
[RAZR HD Android Development] mike253:
Dhacker says its device specific on which one flashes correctly. So what that means, if you have a certain version of the EMMC chip it won't flash.

Also means for me (and others that can't install) I'm stuck on 4.3 even though I have a Dev Edition of the HD.

I'm hopeful that maybe epinter and dhacker can sort it out for the people who can't install, but if not, it might be time to upgrade phones. Sucks.
[RAZR HD Android Development] Hashcode:
I also have the flashing issue with 4.4. I'm debugging it now.
[RAZR HD Android Development] darknessrise1234:
Any AHD users who can attest to good signal? If so, can you give me your flashing process, current radio (if you know), and your network settings? Thank you in advance. This is an odd issue for me.
[RAZR HD Android Development] tember1214:
I have a horrible signal also. I'm sure it will be fixed soon though. Hopefully
[RAZR HD Android Development] dabanhfreak:
New builds up, OP updated :)

Add: Dirty flashing is not recommended, do a full wipe.
[RAZR HD Android Development] wheels01:
What do I need to do to modify the DPI to make everything smaller like in beanstalk or pacman?

Thank you!
[RAZR HD Android Development] larsjameson:
Anyone know if the latest build fixes the 16gb HD model not flashing bug? :cowboy:
[RAZR HD Android Development] y2kbadbug:
I agree, I don't understand this cause now I can't install any of my systems.
[RAZR HD Android Development] dabanhfreak:
dhacker and Hashcode are working on fixes.
[RAZR HD Android Development] y2kbadbug:
Seriously... This entire flashing process has now bricked my phone. Even if I try to flash my old roms, it says OS not found when trying to reboot. Even though the screen says successful, it just doesn't want to actually install anything anymore... :\
[RAZR HD Android Development] killrhythm09:
If you can get into fastboot, it's not bricked. Did you try restoring to stock with RSD Lite?
[RAZR HD Android Development] y2kbadbug:
I'm usually not so pathetic about asking for help. Restoring using the Droid Razr HD util did work. Just still cannot install the 4.4 rom yet.
[RAZR HD Android Development] GhostlySnow:
I had previous problems with installing 4.3/4.4 roms. I ended up using CWM 6.0.4.4, wiping system, factory reset, mouting system, then installing the rom and gapps.
[RAZR HD Android Development] y2kbadbug:
I tried doing that, My slimbean 4.3 appears to have installed correctly, but stuck at the M screen.
[RAZR HD Android Development] madmonkey57:
I had the exact same symptom. Had to RSD a stock 4.1.2 ROM, then flashed CWM 6.0.4.4, then wiped everything and flashed latest cm10.2 official. Everything seems to be back to normal for me now, no more persisting M logo.
[RAZR HD Android Development] flight666:
Not yet... It seems the update fixed the recognition of external sdcard. Dhacker & Hashcode are working on that. Now that Hashcode is in the thread and he can replicate the incompatibility there, we can see a light at the end of the tunnel! :)

---------- Post added at 08:53 AM ---------- Previous post was at 08:47 AM ----------

Is Epinter working on this too? That means CM11.0 is not flashing too? I didn't try it yet, was preparing to...

We're on the same boat, and my case is worse as I'm stuck to a September build of cm10.2 because no build since October 1st works with ViPER4Android on my xt925 due to that 3 commits regarding the tunnel audio and LPA CM Team pushed early October...
[RAZR HD Android Development] MasterManson_Gunstorm:
hello guys im so curious about the ram comsumption abput in 4.4 on razr hd because the google say on 4 winds xD the requeriments reduction, someone see some reduction on system ram if compare with stock roms or Cm10.2 I.E.?

thanks 4 all
[RAZR HD Android Development] mike253:
We'll see if Hashcode can fix our issues, or maybe its just Qualcomm needing to update the EMMC firmware. I have no clue.
[RAZR HD Android Development] pcarenza:
Use RSD Lite, not the Razr Util.

Follow these instructions. Use the 2nd to last listed in the build files.

http://www.andromods.com/tips-trick...-unroot-unbrick-droid-razr-maxx-hd-xt926.html

Oops never mind... I misread that... It did work, that's good! :)
[RAZR HD Android Development] y2kbadbug:
It kind of worked. I am unable to flash new roms now. Even trying to flash a 4.3 rom is failing.
[RAZR HD Android Development] GhostlySnow:
Nothing scientific here, but in settings, apps, running it displays 539mb used and 269mb free with the typical apps i use installed. This is aosp, so i did expect more free ram. What components are you interested in?
[RAZR HD Android Development] pcarenza:
I think I may have found a workaround for devices not working. Not sure if it works 100%, because I got it to flash and boot though that's as far as it got without a whole bunch of FC's.

I'm redoing the ROM clean from dhacker's manifest and seeing how it goes.

Here's the possible workaround:

https://github.com/pcarenza/android_build/commit/f21ac46fc29a5f21b5f0cd4ced9210a780660521

Use with caution. I still don't know if it breaks anything in the ROM.
[RAZR HD Android Development] koftheworld:
Just to share my experience: I am on a razr maxx hd. I was able to flash the newest update by dling to internal, and then making sure system wasn't mounted. It was mounted by default.the update wouldn't install with it mounted. I did a clean flash, and everything has been working great.
[RAZR HD Android Development] jldr:
All radios work?
[RAZR HD Android Development] koftheworld:
For me, yes I've had no problem with Wi-Fi lte or calls.I'm on Verizon in the us. xt 926.
[RAZR HD Android Development] BESS667:
Any issues so far? Gonna flash this candy :)
[RAZR HD Android Development] koftheworld:
None for me.
[RAZR HD Android Development] TXKSSnapper:
Could someone post the md5 for the xt926 build? I have 3 different md5s from 3 different downloads.