Problem in creating ROM MM - Android Q&A, Help & Troubleshooting

Hi, i have base rom (aosp android 6.0.1) and i want add some app to my rom. For this i extract cm13 rom.zip with winrar and unpack system.new.dat with SYSTEM EXTRACTOR v3 and add my apps and repack it and after create a zip file name " update.zip" and sign it [adapted xda University guide ]. Now i want flash that with twrp 3 and show this
Installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.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. Target: Sony/C5303/C5303:4.3/12.1.A.1.207/Nvt_nw:user/release-keys minzip: Extracted 0 file(s) about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args run_program: execv failed: No such file or directory run_program: child exited with status 1 performing update blockimg version is 1 erasing 524288 blocks BLKDISCARD ioctl failed: Invalid argument Patching system image unconditionally... failed to execute command [erase 2,0,524288 ] Verifying the updated system image... script aborted: system partition has unexpected contents after OTA update system partition has unexpected contents after OTA update Updater process ended with ERROR: 7 I:Legacy property environment disabled. Error installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.zip'
I dont know whats Problem . Please help me
sent from Xperia™ SP | Android 6.0.1

hamed24 said:
Hi, i have base rom (aosp android 6.0.1) and i want add some app to my rom. For this i extract cm13 rom.zip with winrar and unpack system.new.dat with SYSTEM EXTRACTOR v3 and add my apps and repack it and after create a zip file name " update.zip" and sign it [adapted xda University guide ]. Now i want flash that with twrp 3 and show this
Installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.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. Target: Sony/C5303/C5303:4.3/12.1.A.1.207/Nvt_nw:user/release-keys minzip: Extracted 0 file(s) about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args run_program: execv failed: No such file or directory run_program: child exited with status 1 performing update blockimg version is 1 erasing 524288 blocks BLKDISCARD ioctl failed: Invalid argument Patching system image unconditionally... failed to execute command [erase 2,0,524288 ] Verifying the updated system image... script aborted: system partition has unexpected contents after OTA update system partition has unexpected contents after OTA update Updater process ended with ERROR: 7 I:Legacy property environment disabled. Error installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.zip'
I dont know whats Problem . Please help me
sent from Xperia™ SP | Android 6.0.1
Click to expand...
Click to collapse
Any body can't help me !!
sent from Xperia™ SP | Android 6.0.1

Related

Help, please: Can't load OTApkg.zip

Moonshine rooted and s-off.
Downloaded the OTApkg.zip (verified MD5) and tried to flash in recovery. Failed.
Installed TWRP which at least allowed me to copy the log file. Relevant error message seems to be here:
---------------------------------------------------------------------------start
Installing '/sdcard/OTAPkg.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/OTAPkg.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
emmc_mount_partition: mount dev system success
checkmid: device mid = PL8320000
Verifying current system...
failed to stat "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex": No such file or directory
file "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
E:Error executing updater binary in zip '/sdcard/OTAPkg.zip'
Error flashing zip '/sdcard/OTAPkg.zip'
---------------------------------------------------------------------------------------------------fin
Any thoughts?
Thanks in advance as always.
psetnik said:
Moonshine rooted and s-off.
Downloaded the OTApkg.zip (verified MD5) and tried to flash in recovery. Failed.
Installed TWRP which at least allowed me to copy the log file. Relevant error message seems to be here:
---------------------------------------------------------------------------start
Installing '/sdcard/OTAPkg.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/OTAPkg.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
emmc_mount_partition: mount dev system success
checkmid: device mid = PL8320000
Verifying current system...
failed to stat "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex": No such file or directory
file "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
E:Error executing updater binary in zip '/sdcard/OTAPkg.zip'
Error flashing zip '/sdcard/OTAPkg.zip'
---------------------------------------------------------------------------------------------------fin
Any thoughts?
Thanks in advance as always.
Click to expand...
Click to collapse
I don't think the OTApkg.zip is meant to be flashed... If you are trying to get updated firmware check my Sig link below. If you want an updated Rom go to the android dev section for sense roms...
Sent from my dlx using XDA Premium HD app

Help MultiROM

This MultiROM trying to install but I get the following error:
Log
Installing '/external_sd/multirom-20140903-v28-UNOFFICIAL-condor.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.
Installing MultiROM for condor
Extracting binaries...
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p36 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
minzip: Extracted 40 file(s)
minzip: Extracted 6 file(s)
about to run program [/tmp/extract_multirom.sh] with 1 args
mkdir: can't create directory '/data/media/0/multirom': Permission denied
chown: /data/media/0/multirom: No such file or directory
chmod: /data/media/0/multirom: No such file or directory
mkdir: can't create directory '/data/media/0/multirom/roms': No such file or directory
chown: /data/media/0/multirom/roms: No such file or directory
chmod: /data/media/0/multirom/roms: No such file or directory
touch: /data/media/0/multirom/.nomedia: No such file or directory
chown: /data/media/0/multirom/.nomedia: No such file or directory
rm: can't remove '/data/media/0/multirom/boot.img-ubuntu*': No such file or directory
rm: can't remove '/data/media/0/multirom/infos/*': No such file or directory
rm: can't remove '/data/media/0/multirom/res/*': No such file or directory
cp: can't create '/data/media/0/multirom/adbd': No such file or directory
cp: can't create '/data/media/0/multirom/busybox': No such file or directory
cp: can't create '/data/media/0/multirom/exfat-fuse': No such file or directory
cp: can't create '/data/media/0/multirom/fw_mounter': No such file or directory
cp: can't create directory '/data/media/0/multirom/icons': No such file or directory
cp: can't create '/data/media/0/multirom/kexec': No such file or directory
cp: can't create '/data/media/0/multirom/lz4': No such file or directory
cp: can't create '/data/media/0/multirom/mrom.fstab': No such file or directory
cp: can't create '/data/media/0/multirom/multirom': No such file or directory
cp: can't create '/data/media/0/multirom/ntfs-3g': No such file or directory
cp: can't create directory '/data/media/0/multirom/res': No such file or directory
cp: can't create '/data/media/0/multirom/trampoline': No such file or directory
cp: can't create directory '/data/media/0/multirom/ubuntu-init': No such file or directory
cp: can't create directory '/data/media/0/multirom/ubuntu-touch-init': No such file or directory
cp: can't create directory '/data/media/0/multirom/ubuntu-touch-sysimage-init': No such file or directory
chmod: /data/media/0/multirom/multirom: No such file or directory
chmod: /data/media/0/multirom/busybox: No such file or directory
chmod: /data/media/0/multirom/trampoline: No such file or directory
chmod: /data/media/0/multirom/kexec: No such file or directory
chmod: /data/media/0/multirom/ntfs-3g: No such file or directory
chmod: /data/media/0/multirom/exfat-fuse: No such file or directory
chmod: /data/media/0/multirom/lz4: No such file or directory
chmod: /data/media/0/multirom/ubuntu-init/init: No such file or directory
chmod: /data/media/0/multirom/ubuntu-init/local: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-init/init: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-init/scripts/touch: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-sysimage-init/init: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-sysimage-init/scripts/touch: No such file or directory
chmod: /data/media/0/multirom: No such file or directory
chown: /data/media/0/multirom: No such file or directory
run_program: child exited with status 1
script aborted: assert failed: run_program("/tmp/extract_multirom.sh") == 0
assert failed: run_program("/tmp/extract_multirom.sh") == 0
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/external_sd/multirom-20140903-v28-UNOFFICIAL-condor.zip'
Error flashing zip '/external_sd/multirom-20140903-v28-UNOFFICIAL-condor.zip
Now edit the build.prop but I get the same error also delete the first lines of updater.script and follows me out the same. I just worked with me but I want to install cm11 in stock
Sorry for my bad English
Which rom you are using as a primary rom
prajapati ravi said:
Which rom you are using as a primary rom
Click to expand...
Click to collapse
I'm using the stock
Then whats the problem add the cm11 and reboot
---------- Post added at 01:20 AM ---------- Previous post was at 01:16 AM ----------
magdeoz said:
I'm using the stock
Click to expand...
Click to collapse
If you use stock as primary rom then will not get any issue's if still get it then you doing something wrong with your hand

[Q] How do I fix a "Read-only file system" error during ROM flashing?

Hi Kitchen Experts ( What's Cookin?)
I do not seem to be able get rid of an error while flashing my phone with a ROM I built from a flashable ROM from SAMMOBILE, which I unpacked and replaced the zImage with one I compiled from opensource.samsong.com Basically the Kitchen ROM's zip file upacks fine, but then I see the following in my phone's logs: ( Below I put relevant sections:
Installing '/sdcard/DCIM/hltespr_signed_111514_202215.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/DCIM/hltespr_signed_111514_202215.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Creating filesystem with parameters:
...
minzip: Extracted file "/system/app/EasyOneHand.odex"
minzip: Error writing 32768 bytes from zip file from 0xbec0437c: Read-only file system
minzip: Process function elected to fail (in inflate)
minzip: Can't extract entry to file.
minzip: Error extracting "/system/app/EasySettings.apk"
symlink: failed to symlink /system/bin/ionice to toolbox: No such file or directory
I updated permissions of the system folder in my WORKING_DIRECTORY of Android Kitchen, and I also used an App called ES file manager to change all the mount points on my phone to R/W; here are the procedures I followed for changing the mount points to R/W . I also validated that my mount points are correct. I am not sure what else to look at. Please let me know if I should post the permissions for my system folder in Kitchen or the output of any command on my phone. I'll gladly do it to address this issue.
I did a search online and found a number of people who had a similar problem, but the solution is not documented. I searched for "zip file ROM can not write to android", and reviewed all the resulting links. I do wipe the flash data and delivic cache before, try the ROM, and wipe again and try it. There is no change. I get the same result. Am I looking at the right things? I have built my ROM twice using the interactive and quick method each time.

updater-script multiple errors. Need help !

Device : GioneeP5W
Android version : 6.0 Marshmallow
Recovery : Philz recovery cwm
A)
I can't install anything with "package_extract_file" in any partition except "/tmp".
Log -
I:Update location: /storage/sdcard/test.zip
Opening update package...
Installing update...
====== Updater-Script:
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system", "/system", "");
package_extract_file("/system/app_process", "/system/app_process");
package_extract_file("/system/app_process32", "/system/app_process32");
package_extract_file("/system/xposed.sh", "/system/xposed.sh");
run_program("/system/xposed.sh", "xposed");
unmount("/system");
is_gpt = 1
gpt prefix is /dev/block/platform/mtk-msdc.0/by-name
get_partition_path, input partition is /dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system
get_partition_path, translate partition to /dev/block/platform/mtk-msdc.0/by-name/system
get_partition_path, input partition is /system/app_process
get_partition_path, translated partition /dev/block/platform/mtk-msdc.0/by-name//system/app_process can not access (Not a directory), ignore translated result and return /system/app_process
package_extract_file: no /system/app_process in package
get_partition_path, input partition is /system/app_process32
get_partition_path, translated partition /dev/block/platform/mtk-msdc.0/by-name//system/app_process32 can not access (Not a directory), ignore translated result and return /system/app_process32
package_extract_file: no /system/app_process32 in package
get_partition_path, input partition is /system/xposed.sh
get_partition_path, translated partition /dev/block/platform/mtk-msdc.0/by-name//system/xposed.sh can not access (Not a directory), ignore translated result and return /system/xposed.sh
package_extract_file: no /system/xposed.sh in package
about to run program [/system/xposed.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
script result was [/system]
B)
Not able to use "set_perm" command in updater-script gives syntax error : command not found
C)
Not able to execute *.sh files with "run_program" command
Log -
about to run program [/system/xposed.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
Correct me on this one, but don't you run .sh files by doing ./? Example, we have an sh file called faeces.sh, to run it, I would type ./faeces.sh.
isn't a correct format "./filename.sh
@vampirefo has explained all the errors.
can't you have another name for shell file when you were explaining. "faeces.sh" isn't good at all.
A simple explaination for all the errors which i mentioned above is :
If you were using a lollipop recovery in your device you should use Meta-inf containing updater-binary & updater-script of lollipop too. Else if you have a lollipop recovery and using meta-inf of marshmallow then you will face errors which i mentioned above.
Hope this helps.

Magisk doesn't work

Flashed Magisk via TWRP, Magisk seems fine and root is working fine but whenever I try to install a module it says (!) /data/adb/magisk_merge.img mount failed... abort ! Installation failed
Copying zip to temp directory
- Installing Magisk_Manager_for_Recovery_Mode_(mm)-2018.8.1.zip
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: module.prop
update-binary: line 192: make_ext4fs: not found
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
Magisk Manager for Recovery Mode (mm) (mm) 2018.8.1
VR25 @ xda-developers
Powered by Magisk (@topjohnwu)
- Creating /data/adb/magisk_merge.img with size 64M
- Mounting /data/adb/magisk_merge.img to /dev/tmp/magisk_img
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
(!) /data/adb/magisk_merge.img mount failed... abort
! Installation failed
Couldn't hook log on mobile so I copied it
Thanks
Reflash magisk again
Nico1300 said:
Flashed Magisk via TWRP, Magisk seems fine and root is working fine but whenever I try to install a module it says (!) /data/adb/magisk_merge.img mount failed... abort ! Installation failed
Click to expand...
Click to collapse
It would be really useful if you added :
1. The rom you're on
2. Magisk version
3. Magisk manager version
4. The module you're trying to install
5. Have you tried any other modules

Categories

Resources