[Q] Help needed to fix aroma installer rom - General Questions and Answers

Hello guys,
I made a new rom with aroma installer. I am not able to flash it. flash it.
When i flash it i get "error flashing the zip", "Error opening the zip".
Can someone pls help me asap.
Here is the log:
HTML:
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
minzip: could not determine length of file
minzip: Map of '/sdcard/Revosoft Project X Rom v3 lazy.zip' failed
E:Unable to open zip file.
Error flashing zip '/sdcard/Revosoft Project X Rom v3 lazy.zip'
Updating partition details...
I:Data backup size is 827MB, free: 3713MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'rebootcheck'
I:Root permissions appear to be lost... fixing. (This will always happen on 4.3+ ROMs with SELinux.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...

Kung Fu monkey said:
Hello guys,
I made a new rom with aroma installer. I am not able to flash it. flash it.
When i flash it i get "error flashing the zip", "Error opening the zip".
Can someone pls help me asap.
Here is the log:
HTML:
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
minzip: could not determine length of file
minzip: Map of '/sdcard/Revosoft Project X Rom v3 lazy.zip' failed
E:Unable to open zip file.
Error flashing zip '/sdcard/Revosoft Project X Rom v3 lazy.zip'
Updating partition details...
I:Data backup size is 827MB, free: 3713MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'rebootcheck'
I:Root permissions appear to be lost... fixing. (This will always happen on 4.3+ ROMs with SELinux.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...
Click to expand...
Click to collapse
Hi dear dember,
I am too interested to know the real concept what you want to set up.
can you please tell me what is aroma?

Sanskarsuman said:
Hi dear dember,
I am too interested to know the real concept what you want to set up.
can you please tell me what is aroma?
Click to expand...
Click to collapse
http://lmgtfy.com/?q=aroma+installer
check the first link.

If the error is cant open zip then i would start there, what did you use to zip it? and was compression set to store?

demkantor said:
If the error is cant open zip then i would start there, what did you use to zip it? and was compression set to store?
Click to expand...
Click to collapse
Sorry for late reply.
I made some progress now. Now everything works nice till the installation ui screen, at installation ui screen it displays nothing and also installs nothing. Do u have any idea about hw to fix that?

No errors? Possibly an issue with update-binary or file structure hard to say without seeing it, can you upload it
Sent from my Nexus 7 using XDA Premium 4 mobile app

Related

Can't Flash cm11 nightlies anymore

I kept my cm11 nightlies up to date Until it shortly stoped Working....
The output generated by twrp 2.7.0.0 and cwm is AS follows...:
Installing '/sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip.md5
Skipping MD5 check: no MD5 file found.
Verifying zip signature...
I:read key e=3 hash=20
I:1 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_contexts
script aborted: assert failed: getprop("ro.bootloader") == "HHZ11k"
assert failed: getprop("ro.bootloader") == "HHZ11k"
E:Error executing updater binary in zip '/sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip'
Error flashing zip '/sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip'
Updating partition details...
Iata backup size is 5604MB, free: 7217MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Any ideas?
Sent from my Nexus 5 using xda app-developers app
I believe the problem is that your bootloader is outdated. As seen in this commit, CM has recently made changes that may not work properly with older bootloaders. Therefore they have added a check to the updater script to make sure that you are on the latest bootloader and the rom will only install if you do. Go into fastboot mode and check what bootloader version you have. If it isn't HHZ11k, you need to install it. You can get it here.
Mr.Gosh said:
I kept my cm11 nightlies up to date Until it shortly stoped Working....
The output generated by twrp 2.7.0.0 and cwm is AS follows...:
Installing '/sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip.md5
Skipping MD5 check: no MD5 file found.
Verifying zip signature...
I:read key e=3 hash=20
I:1 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_contexts
script aborted: assert failed: getprop("ro.bootloader") == "HHZ11k"
assert failed: getprop("ro.bootloader") == "HHZ11k"
E:Error executing updater binary in zip '/sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip'
Error flashing zip '/sdcard/cmupdater/cm-11-20140322-NIGHTLY-hammerhead.zip'
Updating partition details...
Iata backup size is 5604MB, free: 7217MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Any ideas?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
If you download the latest factory image from here: https://developers.google.com/android/nexus/images#hammerhead
Then extract and flash the Radio (fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img) and Bootloader (fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img)
reboot the phone then boot into recovery and flash as usual with CWM you should be good to go.
will flashing the bootloader wipe my phone? I vaguely remember something about the bootloader that wipes your phone if you changed it. was it oem unlock that I was thinking about or flashing the bootloader?
Routaran said:
will flashing the bootloader wipe my phone? I vaguely remember something about the bootloader that wipes your phone if you changed it. was it oem unlock that I was thinking about or flashing the bootloader?
Click to expand...
Click to collapse
Flashing a new bootloader won't wipe your phone.. "fastboot oem unlock" does!
Thank you! Bootloader update here I come!

[Q]Help needed for making a rom with aroma installer

Hello guys,
I made a new rom with aroma installer. I am not able to flash it. flash it.
When i flash it i get "error flashing the zip", "Error opening the zip".
Can someone pls help me asap.
Here is the log:
HTML:
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
minzip: could not determine length of file
minzip: Map of '/sdcard/Revosoft Project X Rom v3 lazy.zip' failed
E:Unable to open zip file.
Error flashing zip '/sdcard/Revosoft Project X Rom v3 lazy.zip'
Updating partition details...
I:Data backup size is 827MB, free: 3713MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'rebootcheck'
I:Root permissions appear to be lost... fixing. (This will always happen on 4.3+ ROMs with SELinux.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...

Error message when installing the latest Exodus Rom nightly for bacon

Hello all,
Below is the error log I get while installing the latest nightly.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/e25d4fe5/2015-10-23_ExodusOS/recovery.log
I:Set page: 'action_complete'
Iperation_end - status=0
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.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.
script aborted: assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
Comparing TZ version TZ.BF.2.0-2.0.0123 to TZ.BF.2.0-2.0.0109
assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Error flashing zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Injecting boot.img with MultiROM...
I:Running cmd ""/data/media/0/multirom/trampoline" --inject="/dev/block/mmcblk0p7" --mrom_dir="/data/media/0/multirom" "
Updating partition details...
Iata backup size is 5763MB, free: 12453MB.
Can you please help with this error message and let me know how to fix this issue.
telsabram said:
Hello all,
Below is the error log I get while installing the latest nightly.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/e25d4fe5/2015-10-23_ExodusOS/recovery.log
I:Set page: 'action_complete'
Iperation_end - status=0
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.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.
script aborted: assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
Comparing TZ version TZ.BF.2.0-2.0.0123 to TZ.BF.2.0-2.0.0109
assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Error flashing zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Injecting boot.img with MultiROM...
I:Running cmd ""/data/media/0/multirom/trampoline" --inject="/dev/block/mmcblk0p7" --mrom_dir="/data/media/0/multirom" "
Updating partition details...
Iata backup size is 5763MB, free: 12453MB.
Click to expand...
Click to collapse
Your firmware is out of date. See section 9 of my guide:
http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
Heisenberg said:
Your firmware is out of date. See section 9 of my guide:
http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
Click to expand...
Click to collapse
Thank you Heisenberg. It worked. :good:

Error 7 on Samsung Galaxy S4 Mini (Int)

Getting an Error 7 on TWRP when trying to flash cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QN-serranoltexx.zip on my phone. Here's what the log says;
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set overlay: 'select_storage'
I:Backup folder set to '/external_sd/TWRP/BACKUPS/2041db7d'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/external_sd/cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QN-serranoltexx.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.
script aborted: This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is serrano3g.
This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is serrano3g.
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '/external_sd/cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QN-serranoltexx.zip'
Updating partition details...
Iata backup size is 0MB, free: 5377MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
Iperation_end
Click to expand...
Click to collapse
If anyone could help it'd be much appreciated
Thank you.

Unable to Install Magisk 22.0 in TWRP 3.5.0-0 By mahajant99

Dear XDA and POCO community!
Hope you are all doing good, please note that I just flash to a custom ROM (ARROW OS 11 Official GAPPS Surya) on my POCO X3 NFC using stock global and all the process went smoothly.
1) Unlocked the bootloader
2) Installed TWRP via adb powershell console correctly and booted in TWRP
3)wiped and format the data, cache, etc and I was able to move to Arrow OS
Now the problem is that when I enter TWRP and I tried to root the device this happened and extracted from the recovery log on TWRP
E:unable to open block device /dev/block/loop20: No such device or address
E:unable to open block device /dev/block/loop19: No such device or address
E:unable to open block device /dev/block/loop18: No such device or address
E:unable to open block device /dev/block/loop17: No such device or address
Error installing zip file '/external_sd/Magisk-22.0.zip'
Updating partition details...
I:checking for twrp app
Iata backup size is 4484MB, free: 100792MB.
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'advanced'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'copylog'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
Sometimes TWRP reboots back to the main screen of TWRP, sometimes it doesn't and I am unable to root the device, tried Fox recovery as well and having the same issues.
Do you have any workaround or solution to bypass those errors especially the error ''installing zip file magisk'' those blook loop 18,19 I have no idea what is about, I redownloaded Magisk zip like 10 times and is not corrupted.
What I am doing wrong? Ideas?
I appreciate any hand on this so I can happily root the Poco and be back on business since this is the reason I am moving into this new ROM.
Look forward to your ideas/feedback
well, you can always try newer version of TWRP, maybe that'll solve your problems with magisk...
@jeryll Thanks for the headsup, I am going to try it out and see what comes about it, in case it fails again I will provide the log and see if there is someone else facing the same issue or a solution to this.
Thanks!
Unfortunately I tried to root it again with the new TWRP 3.5.1 and tried the method add Magisk root and they all failed this is the recovery terminal logs
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
tw_get_context got selinux context: ubject_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:No custom recovery folder found. Using TWRP as default.
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:No recovery folder found. Using default folder.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/POCO_X3'
I:Mount: Unable to find partition for path '/etc'
I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 1200
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:No recovery folder found. Using default folder.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/POCO_X3'
I:Mount: Unable to find partition for path '/etc'
I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 1200
I:Copied file /cache/recovery/log.gz to /cache/recovery/last_log.gz
I:Starting Adb Backup FIFO
IageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:No recovery folder found. Using default folder.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/POCO_X3'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copied file /tmp/recovery.log to /external_sd/recovery.log
Copied recovery log to /external_sd/recovery.log.
I:Set page: 'action_complete'
Iperation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'tools_confirm_action'
I:Set page: 'action_page'
I:Set page: 'tools_flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/tools/addmag.zip'
Verifying zip signature...
I:5 key(s) loaded from /system/etc/security/otacerts.zip
I:Zip signature verification failed: 1
Zip signature verification failed!
Error installing zip file '/tools/addmag.zip'
Updating partition details...
Iata backup size is 4505MB, free: 100086MB.
I:Can't probe device /data/media/0
...done
I:Set page: 'tools_flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I remove the Verification zip and it's the same, I dunno what I am missing or could be the cause that I am unable to root my device...
Ok I managed to get it work, it seems that the version 22 is faulty on POCO X3 NFC global version, I installed 21.4 and now it installed successfully and it is rooted yay!!
I am going to see in the app of magisk to see If I can override and install the latest version #fingerscrossed.
I just did a direct recommended installation in Magisk app and it is installed flawlessly without problems. I am going to leave is a record if someone has the same issue and needs to install Magisk.
Do you guys recommend TWRP or FOX recovery to use in this device? What will be the differences?
Thank you! If needed I can create a new thread for this.
Thanks!
SebixWolf said:
Do you guys recommend TWRP or FOX recovery to use in this device? What will be the differences?
Click to expand...
Click to collapse
well, the differences between latest OFOX and latest TWRP are mostly with added extra functions (for example OFOX has advanced file management (batch operations and such), maybe better error management) and/or design, because the "engine" in both is the same (for example, you can restore backups created in OFOX in TWRP or vice versa)...
SebixWolf said:
Ok I managed to get it work, it seems that the version 22 is faulty on POCO X3 NFC global version, I installed 21.4 and now it installed successfully and it is rooted yay!!
I am going to see in the app of magisk to see If I can override and install the latest version #fingerscrossed.
Click to expand...
Click to collapse
unfortunately that is my experience as well, to a certain point in time, magisk v22 worked correctly on my Poco X3, then it suddenly started behaved very differently, and even if I did find the solution, which worked for me, the extra work with uninstalling magisk v 22 always before installing the new version of ROM was not worth it, I now too use v21.4
my suspicion is that part which magisk v22 always downloading from the internet changed and that is causing for some people the instabilities ...
Have either of you got any further with this.
Did you follow any of the install instructions for v22?
What 'recovery.img' is he referring to? The recovery image for the ROM (there isn't one as far as I know), OFOX recovery image, a different recovery image?
Then someone else in the comments of the magisk thread, said that people with POCOs can just do a normal flash the zip through the custom recovery.
I'm as confused as all get out, I've tried every way described and can't get that patched image to happen.
I can flash it, install the apk, and then I'll get notices saying that 'x wants root privileges' but there is no normal functioning within the actual magisk app.
Don't worry, changed roms, RR to Arrow, and it installs without any issue at all.

Categories

Resources