Cant flash ROM - Mi 3 Q&A, Help & Troubleshooting

Hey! I can't flash MIUI or Flyme ROM via TWRP it's stucking on
When flashing Flyme:
Code:
Installing '/sdcard/Download/Flyme-OTA-cancro-20150708.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
and when flashing MIUI:
Code:
Installing ''/sdcard/Download/xiaomi.eu_multi_cancro_5.7.16_v6-4.4.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Failed to extract dir from "recovery" to "/system".
E:Error executing updater binary in zip '/sdcard/Download/xiaomi.eu_multi_cancro_5.7.16_v6-4.4.zip'
Error flashing zip '/sdcard/Download/xiaomi.eu_multi_cancro_5.7.16_v6-4.4.zip'
Updating partition details...
...done
I'm using resized partition, 1.2GB and TWRP 2.8.5.0. (btw I can flash every CM based ROM)
Thanks!

Hmm, I actually fixed it by myself! I reverted back to stock partition sizes.

Nyqi said:
Hey! I can't flash MIUI or Flyme ROM via TWRP it's stucking on
When flashing Flyme:
Code:
Installing '/sdcard/Download/Flyme-OTA-cancro-20150708.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
and when flashing MIUI:
Code:
Installing ''/sdcard/Download/xiaomi.eu_multi_cancro_5.7.16_v6-4.4.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Failed to extract dir from "recovery" to "/system".
E:Error executing updater binary in zip '/sdcard/Download/xiaomi.eu_multi_cancro_5.7.16_v6-4.4.zip'
Error flashing zip '/sdcard/Download/xiaomi.eu_multi_cancro_5.7.16_v6-4.4.zip'
Updating partition details...
...done
I'm using resized partition, 1.2GB and TWRP 2.8.5.0. (btw I can flash every CM based ROM)
Thanks!
Click to expand...
Click to collapse
You had to revert to stock layout? Listen, if you don't use the TDB, maybe this might be helpful: http://en.miui.com/thread-99430-1-1.html

Related

[Q] how to install liquidsmooth

I have the sprint n6. I am unlocked and rooted. The phone is decrypted. I have twrp for recovery. Everytime i try to flash this through twrp, it errors out. Do i have to sideload this? Ive tried looking through the board but didnt see anything. Thanks in advance for the help
What's the error for starts
What error? Is the rom downloaded fully and not corrupted?
Sent from my Nexus 6 using Tapatalk
Installing '/sdcard/Download/LS-LP-v4.0-2014-12-21-liquid_shamu.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
about to run program [/tmp/backuptool.sh] with 2 args
Not backing up files from incompatible version: 12
run_program: child exited with status 127
about to run program [/tmp/otasigcheck.sh] with 1 args
You have an installed system that isn't signed with this build's key, aborting...
run_program: child exited with status 1
script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset
Can't install this package on top of incompatible data. Please try another package or run a factory reset
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/LS-LP-v4.0-2014-12-21-liquid_shamu.zip'
Error flashing zip '/sdcard/Download/LS-LP-v4.0-2014-12-21-liquid_shamu.zip'
Updating partition details...
Iata backup size is 1164MB, free: 21687MB.
That was the log from twrp
toast333 said:
Installing '/sdcard/Download/LS-LP-v4.0-2014-12-21-liquid_shamu.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
about to run program [/tmp/backuptool.sh] with 2 args
Not backing up files from incompatible version: 12
run_program: child exited with status 127
about to run program [/tmp/otasigcheck.sh] with 1 args
You have an installed system that isn't signed with this build's key, aborting...
run_program: child exited with status 1
script aborted: Can't install this package on top of incompatible data. Please try another package or run a factory reset
Can't install this package on top of incompatible data. Please try another package or run a factory reset
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/LS-LP-v4.0-2014-12-21-liquid_shamu.zip'
Error flashing zip '/sdcard/Download/LS-LP-v4.0-2014-12-21-liquid_shamu.zip'
Updating partition details...
Iata backup size is 1164MB, free: 21687MB.
That was the log from twrp
Click to expand...
Click to collapse
Before installing, did you wipe the system partition?
I thought I had. Lemme try that again.
There's a Q&A for LS right here http://forum.xda-developers.com/showthread.php?t=2977149

[Q] Problem Installing Roms

I've tried installing various custom roms (and versions) and they all seems to fail. The only successful flashes I've managed have been stock roms from this page. This is the log from when I attempted to install CM 10.2 in TWRP 2.6.6.3:
Code:
Starting ADB sideload feature...
failed to open driver control: No such file or directory
failed to open driver control: No such file or directory
sideload_service invoked
adbd exiting after successful sideload
failed to open driver control: No such file or directory
Restarting adbd...
failed to open driver control: No such file or directory
Installing '/data/media/0/sideload.zip'...
Checking for MD5 file...
I:Cannot find file /data/media/0/sideload.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
script aborted: assert failed: getprop("ro.product.device") == "m7" || getprop("ro.build.product") == "m7" || getprop("ro.product.device") == "m7ul" || getprop("ro.build.product") =="m7ul"
assert failed: getprop("ro.product.device") == "m7" || getprop("ro.build.product") == "m7" || getprop("ro.product.device") == "m7ul" || getprop("ro.build.product") == "m7ul"
E:Error executing updater binary in zip '/data/media/0/sideload.zip'
Anyone recognise these errors?
robtherobot101 said:
I've tried installing various custom roms (and versions) and they all seems to fail. The only successful flashes I've managed have been stock roms from this page. This is the log from when I attempted to install CM 10.2 in TWRP 2.6.6.3:
Code:
Starting ADB sideload feature...
failed to open driver control: No such file or directory
failed to open driver control: No such file or directory
sideload_service invoked
adbd exiting after successful sideload
failed to open driver control: No such file or directory
Restarting adbd...
failed to open driver control: No such file or directory
Installing '/data/media/0/sideload.zip'...
Anyone recognise these errors?[/QUOTE]
CM10 is really old are you sure that's what you want ? and it may require a special version of recovery .. check the developers thread
[QUOTE]First time installing CyanogenMod 10.2 to your HTC One (GSM), or coming from another ROM:
- Read the official wiki
- Unlock your device via http://www.htcdev.com
- [COLOR="Red"]Flash the latest official ClockworkMod-Recovery via Fastboot[/COLOR]
- Copy GApps and CM10.2 ZIPs to your SDCard
- Boot into Recovery
- Flash CM10.2 zip from SDCard
- Flash GApps zip from SDCard
- DO A DATA WIPE / FACTORY RESET
- Reboot
- Don't restore system data using Titanium Backup!
- Restoring Apps + Data might cause problems and is not recommended, avoid it if possible!
[/QUOTE]
Click to expand...
Click to collapse
Here's the result of flashing CM 11:
Code:
Starting ADB sideload feature...
failed to open driver control: No such file or directory
failed to open driver control: No such file or directory
sideload_service invoked
adbd exiting after successful sideload
failed to open driver control: No such file or directory
Restarting adbd...
failed to open driver control: No such file or directory
Installing '/data/media/0/sideload.zip'...
Checking for MD5 file...
I:Cannot find file /data/media/0/sideload.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
mount: failed to mount /dev/block/mmcblk0p35 at /system: Device or resource busy
about to run program [/tmp/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 11
run_program: child exited with status 127
Creating filesystem with parameters:
Size: 1946152960
Block size: 4096
Blocks per group: 32768
Inodes per group: 7920
Inode size: 256
Journal blocks: 7423
Label:
Blocks: 475135
Block groups: 15
Reserved block group size: 119
Created filesystem with 11/118800 inodes and 15607/475135 blocks
minzip: Extracted file "/system/addon.d/50-cm.sh"
minzip: Extracted file "/system/addon.d/blacklist"
minzip: Extracted file "/system/app/Apollo.apk"
...
minzip: Extracted file "/system/xbin/strace"
minzip: Extracted file "/system/xbin/su"
minzip: Extracted file "/system/xbin/vim"
about to run program [/tmp/backuptool.sh] with 2 args
/tmp/backuptool.sh: cd: line 99: can't cd to /tmp/addon.d/
md5sum: can't open '*sh': No such file or directory
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
cp: can't stat '/tmp/addon.d/*': No such file or directory
script result was [/system]
On reboot TWRP reports that no OS is installed and the phone boots to a black screen
robtherobot101 said:
On reboot TWRP reports that no OS is installed and the phone boots to a black screen
Click to expand...
Click to collapse
Here is how to flash CM on the M7
just in case...
http://wiki.cyanogenmod.org/w/Install_CM_for_m7
What would cause the stock roms flash without a problem but all custom roms install improperly?
robtherobot101 said:
What would cause the stock roms flash without a problem but all custom roms install improperly?
Click to expand...
Click to collapse
Using the wrong custom recovery
TWRP 2.6.3.3 and Philz Recovery 6.25.0 are the only recoveries I've managed to get working
robtherobot101 said:
TWRP 2.6.3.3 and Philz Recovery 6.25.0 are the only recoveries I've managed to get working
Click to expand...
Click to collapse
Yeah, I'm not sure what's up with that. But it's for sure the reason why the other roms aren't working
When I bought the phone(supposedly brand new) the bootloader was locked but it was already S-OFF and had CID:11111111. The writing on the box is in German(I live in New Zealand) so I guess whoever I bought it off had fixed that for me...
Just in case anyone ever stumbles upon this thread in the distant future, let it be known that I managed to install this rom successfully and it's got all the useful features you'd expect from Cyanogenmod (and a few more).
robtherobot101 said:
Just in case anyone ever stumbles upon this thread in the distant future, let it be known that I managed to install this rom successfully and it's got all the useful features you'd expect from Cyanogenmod (and a few more).
Click to expand...
Click to collapse
or you just install maximus HD 50.0.0. this rom is super !
robtherobot101 said:
TWRP 2.6.3.3 and Philz Recovery 6.25.0 are the only recoveries I've managed to get working
Click to expand...
Click to collapse
This is the exact same problem I have only the 2 recoveries you mentioned work for me too, I've tried updating to newer versions of TWRP but it gets stuck on the HTC Logo with "entering recovery" at the top, I have the international version I also had to replace the screen because it smashed maybe that has something to do with it.

Update error! HELP

So I'm running Scotts Clean ROM 5.1 (Tmo LMY47M)
ROM is amazing and runs perfectly. However, lately I've been getting prompted to update (OTA) to 5.1.1
I get this error in recovery.....
Installing '/cache/update.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: Package expects build fingerprint of google/shamu/shamu:5.1/LMY47M/1774234:user/release-keys; this device has google/omni_shamu/shamu:5.0.2/LRX22G/dees_troy03260016:eng/test-keys.
Source: google/shamu/shamu:5.1/LMY47M/1774234:user/release-keys
Target: google/shamu/shamu:5.1.1/LYZ28E/1914015:user/release-keys
Verifying current system...
Package expects build fingerprint of google/shamu/shamu:5.1/LMY47M/1774234:user/release-keys; this device has google/omni_shamu/shamu:5.0.2/LRX22G/dees_troy03260016:eng/test-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/cache/update.zip'
E:Error installing zip file '/cache/update.zip'
Done processing script file
I just did a clean install (wiped EVERYTHING), and still getting this error in recovery.
Does anyone know where it's looking for this because it's not in my build.prop
Thanks in advance.
ecatsab said:
So I'm running Scotts Clean ROM 5.1 (Tmo LMY47M)
ROM is amazing and runs perfectly. However, lately I've been getting prompted to update (OTA) to 5.1.1
I get this error in recovery.....
Installing '/cache/update.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: Package expects build fingerprint of google/shamu/shamu:5.1/LMY47M/1774234:user/release-keys; this device has google/omni_shamu/shamu:5.0.2/LRX22G/dees_troy03260016:eng/test-keys.
Source: google/shamu/shamu:5.1/LMY47M/1774234:user/release-keys
Target: google/shamu/shamu:5.1.1/LYZ28E/1914015:user/release-keys
Verifying current system...
Package expects build fingerprint of google/shamu/shamu:5.1/LMY47M/1774234:user/release-keys; this device has google/omni_shamu/shamu:5.0.2/LRX22G/dees_troy03260016:eng/test-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/cache/update.zip'
E:Error installing zip file '/cache/update.zip'
Done processing script file
I just did a clean install (wiped EVERYTHING), and still getting this error in recovery.
Does anyone know where it's looking for this because it's not in my build.prop
Thanks in advance.
Click to expand...
Click to collapse
You can no longer take ota's. You are already running what you want. just ignore it. otherwise you can use fastboot to update the files without fastboot flashing userdata and you are set.

[Q] [SOLVED] Error flashing rom (blkdiscard failed invalid argument)

Hi all,
I got error blkdiscard failed invalid argument while flashing [ROM][MI3/Mi4][CM-12.1][Android-5.1.1]CM-Cancro.
Many said that I had to extend partition to 1.2GB, which I already did. I can install Temasek rom with extended
partition, but failed with Bitti09 rom.
Here is what I have did before
-flash r11 cwm
-manually extend partition
-script extend partition
-flash TWRP
all step above failed to install [ROM][MI3/Mi4][CM-12.1][Android-5.1.1]CM-Cancro.
Now running with audahadi Temasek rom.
Here is my log from TWRP
PHP:
Installing '/sdcard/Custom_rom/cm-12.1-20150613-UNOFFICIAL-mi3-cancro.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
minzip: Extracted 4 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Patching system image unconditionally...blockimg version is 2
erasing 318848 blocks
script aborted: blkdiscard failed: Invalid argument
blkdiscard failed: Invalid argument
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Custom_rom/cm-12.1-20150613-UNOFFICIAL-mi3-cancro.zip'
Error flashing zip '/sdcard/Custom_rom/cm-12.1-20150613-UNOFFICIAL-mi3-cancro.zip'
Updating partition details...
Please help...
Finally I have solved this problem. Yes "blkdiscard failed: Invalid argument" is error of unsuitable partition space to install a rom.
Initially my partition was like this
system = 1242 MB (1.2GB)
system1= 100 MB
After google and reading most comment from partition thread, I found out there is three version of system partition size which is 730MB, 1242MB and 1337 MB.
I found that @audahadi partition script use
system = 1337 MB
system1= 5MB
Quote:
Originally Posted by audahadi
This Procedure May Will Brick Your Device!!!!!
Only for users who comfort with single partition layout only !!!
This is a script to partiton your system partition as like stated in OP. Tested with Clockworkmod recovery.
How to use? Just flash through recovery on either partition. Remember, this will wipe your system partition, do backup for safe or no if you like to live dangerously.
Repartition_MI3W_1_2GB.zip
Credit :
http://forum.xda-developers.com/show....php?t=2765846
http://forum.xda-developers.com/gala...-data-t2762594
Click to expand...
Click to collapse
So using that script, i have succeed install CM based rom.
sorry but could you please elaborate!! I don't get it.. how could I see my partitions?! and how can I change them?!
sorry for being noob.
Go to google play and install Disc Info app. You can see your partition
Sent from my MI 3W using XDA Forums
Can you give me the link for system = 1337 MB
system1= 5MB partition?
Here you go
http://forum.xda-developers.com/attachment.php?attachmentid=3321267&d=1432050198
Sent from my MI 3W using XDA Forums

HELP! Unable to Install Xposed.

I have the HTC One X running CM12 on it with android version 5.0.2 and I am having issues installing the Xposed framework.
I downloaded the xposed-v89-sdk21-x86.zip from /framework/sdk21/x86/ and getting this error while flashing it via TWRP (v2.8.5.1.BiG) :
Code:
Updating Partition details...
...done
Full SELinux support is present.
MTP Enabled
Installing '/sdcard/xposed-v89-sdk21-x86 (1).zip'...
Checking for MD5 file...
Skipping MD5 check: No MD5 file found
E: Error executing updater binary in zip '/sdcard/xposed-v89-sdk21-x86 (1).zip'
Error flashing zip '/sdcard/xposed-v89-sdk21-x86 (1).zip
Updating partition details...
...done
Please help!

Categories

Resources