[NEED HELP] - Android Kitchen ROM - Android Q&A, Help & Troubleshooting

Hello, xda!
I need a help!
I want to port stock rom via Android kitchen, so I dumped system.img and boot.img from my phone and then I have tried to cook it in the kitchen.
But when I flash it, it says "Updater process ended with signal: 11"
Is there error in my rom or in the updater-script?
How to fix that?
Could be anyone here so kind to tell me, please?
recovery log while flashing:
Code:
I:operation_start: 'Flashing'
Installing zip file '/external_sd/VF-895N_signed_040116_202039.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.
Updater process ended with signal: 11
I:Legacy property environment disabled.
Error installing zip file '/external_sd/VF-895N_signed_040116_202039.zip'
Updating partition details...
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Data backup size is 0MB, free: 3498MB.
I:sending message to remove 65537
I:Message sent, remove storage ID: 65537
mtppipe remove storage 65537
...done
I:Set page: 'flash_done'
I:operation_end - status=1
P.S. there is no stock rom (zip) for my phone yet, that's the reason I need to make it.
All we have is Sugar program that downloads the stock rom but when it downloads the rom, there are just .mbn files.
Is there any method to make the flashable stock rom from these .mbn files ?
Thank you so much for advices.

Same prop

Related

problems flashing mods/kernels etc

Hi guys i been running 4th bar ics S-on for a few months now and today i decided to change roms.
im used to running DS full wipe scripts in between flashing anything new, but for some reason this time i get error and aborting messages same with flashing kernels and radios.
I relocked bootloader and followed unlocking procedure all over again, tried TWRP and 4ext recoveries with no luck, re partitioned my sd card and still no luck.
Anyhow this is the error i keep getting hopefully someone might be able to interpret it for me. thanks in advance
Mounting '/emmc'
I:Mounting /sdcard using: 'mount /emmc /sdcard'
Error flashing zip '/sdcard/darkside-wipe-cache-only.zip'
I:Set page: 'flash_done'
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'
I:Set page: 'flash_zip'
I:Mounting '/emmc'
I:Mounting /sdcard using: 'mount /emmc /sdcard'
-- Verify md5 for /sdcard/darkside-wipe-cache-only.zip
-- No md5 file found, ignoring
-- Install /sdcard/darkside-wipe-cache-only.zip ...
I:Mounting '/emmc'
I:Mounting /sdcard using: 'mount /emmc /sdcard'
I:Unmounting /sdcard (dual storage path code)
Finding update package...
I:Update location: /tmp/sideload/package.zip
Opening update package...
Installing update...
[*] Running DARKSIDE.SUPER.WIPE on /cache only...
> Erasing & Formatting CACHE Partition
about to run program [/sbin/umount] with 2 args
umount: can't umount /cache: Invalid argument
run_program: child exited with status 1
about to run program [/sbin/erase_image] with 2 args
Creating filesystem with parameters:
Size: 4194304
Block size: 4096
Blocks per group: 32768
Inodes per group: 256
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 1024
Block groups: 1
Reserved block group size: 7
error: do_inode_allocate_extents: Failed to allocate 1025 blocks
E:Error in /tmp/sideload/package.zip
(Status 1)
* Verifying filesystems...
I:=> Let's update filesystem types via verifyFst aka blkid.
* Verifying partition sizes...
E:Unable to mount /data
Try ruu and reflash 4ext
Sent from my HTC_Amaze_4G using xda premium
dadogintown said:
Hi guys i been running 4th bar ics S-on for a few months now and today i decided to change roms.
im used to running DS full wipe scripts in between flashing anything new, but for some reason this time i get error and aborting messages same with flashing kernels and radios.
I relocked bootloader and followed unlocking procedure all over again, tried TWRP and 4ext recoveries with no luck, re partitioned my sd card and still no luck.
Anyhow this is the error i keep getting hopefully someone might be able to interpret it for me. thanks in advance
Mounting '/emmc'
I:Mounting /sdcard using: 'mount /emmc /sdcard'
Error flashing zip '/sdcard/darkside-wipe-cache-only.zip'
I:Set page: 'flash_done'
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'
I:Set page: 'flash_zip'
I:Mounting '/emmc'
I:Mounting /sdcard using: 'mount /emmc /sdcard'
-- Verify md5 for /sdcard/darkside-wipe-cache-only.zip
-- No md5 file found, ignoring
-- Install /sdcard/darkside-wipe-cache-only.zip ...
I:Mounting '/emmc'
I:Mounting /sdcard using: 'mount /emmc /sdcard'
I:Unmounting /sdcard (dual storage path code)
Finding update package...
I:Update location: /tmp/sideload/package.zip
Opening update package...
Installing update...
[*] Running DARKSIDE.SUPER.WIPE on /cache only...
> Erasing & Formatting CACHE Partition
about to run program [/sbin/umount] with 2 args
umount: can't umount /cache: Invalid argument
run_program: child exited with status 1
about to run program [/sbin/erase_image] with 2 args
Creating filesystem with parameters:
Size: 4194304
Block size: 4096
Blocks per group: 32768
Inodes per group: 256
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 1024
Block groups: 1
Reserved block group size: 7
error: do_inode_allocate_extents: Failed to allocate 1025 blocks
E:Error in /tmp/sideload/package.zip
(Status 1)
* Verifying filesystems...
I:=> Let's update filesystem types via verifyFst aka blkid.
* Verifying partition sizes...
E:Unable to mount /data
Click to expand...
Click to collapse
If I remember correctly, DarkSide wipe is only designed for Samsung Galaxy SII. It probably fails due to different partition structures. The tool may be attempting to wipe the wrong partitions, which leads to errors. There is an option in 4Ext recovery that allows you to do a full wipe, and it is recommended to use that option compared to using superwipe scripts, as such scripts are usually only designed for one device.

ROM from Android kitchen

Hello, xda!
I need a help!
I want to port stock rom via Android kitchen, so I dumped system.img and boot.img from my phone and then I have tried to cook it in the kitchen.
But when I flash it, it says "Updater process ended with signal: 11"
Is there error in my rom or in the updater-script?
How to fix that?
Could be anyone here so kind to tell me, please?
recovery log while flashing:
Code:
I:operation_start: 'Flashing'
Installing zip file '/external_sd/VF-895N_signed_040116_202039.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.
Updater process ended with signal: 11
I:Legacy property environment disabled.
Error installing zip file '/external_sd/VF-895N_signed_040116_202039.zip'
Updating partition details...
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:Data backup size is 0MB, free: 3498MB.
I:sending message to remove 65537
I:Message sent, remove storage ID: 65537
mtppipe remove storage 65537
...done
I:Set page: 'flash_done'
I:operation_end - status=1
P.S. there is no stock rom (zip) for my phone yet, that's the reason I need to make it.
All we have is Sugar program that downloads the stock rom but when it downloads the rom, there are just .mbn files.
Is there any method to make the flashable stock rom from these .mbn files ?
Thank you so much for advices.

Problem in creating ROM MM

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

Error when flashing an update.zip file

When trying to flash An update.zip file with twrp I got the following error log:
Updating partition details...
*in red* E: Unable to mount '/system'
...done
Full SELinux support is present.
MTP Enabled
Installing '/sdcard/update.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/sdcard/update.zip'
Any help?

Question Procedures to know when your about to brick a phone

I already unrooted and setup custom os on a couple of Motorola G7 play phones. But on this one, I thought I would try a different way to install twrp permanently.
which was to boot into twrp, then "install recovery ramdisk" pointing it to the recovery.img that I know works correctly with this phone.
I got these messages....
I:Switching slots to flash ramdisk to both partitions
I:Setting active slot B
Updating partition details...
Iata backup size is 867MB, free: 14022MB.
I:checking for twrp app
I:Can't probe device /dev/block/bootdevice/by-name/vendor_b
Failed to mount '/vendor' (Invalid argument)
I:Actual block device: '/dev/block/bootdevice/by-name/vendor_b', current file system: 'ext4'
I:Can't probe device /dev/block/bootdevice/by-name/modem_b
Failed to mount '/firmware' (Invalid argument)
I:Actual block device: '/dev/block/bootdevice/by-name/modem_b', current file system: 'ext4'
I:Can't probe device /dev/block/bootdevice/by-name/dsp_b
Failed to mount '/dsp' (Invalid argument)
I:Actual block device: '/dev/block/bootdevice/by-name/dsp_b', current file system: 'ext4'
...done
Backing up Boot...
I:Reading '/dev/block/bootdevice/by-name/boot_b', writing '/tmp/repackorig//boot.emmc.win'
I:Restored default metadata for /tmp/repackorig//boot.emmc.win
I:Error unpacking /tmp/repackorig/boot.img, ret: 256!
Error unpacking image.
I:Set page: 'action_complete'
Iperation_end - status=1
At this point, I realized I didn't previously flash dtbo.img. I suspected if I reboot I would brick the phone. I decided to reboot to bootloader anyway. because to start flashing over the top of this seemed like a bad idea.
Which I in fact bricked the phone.
What should I have done at this point? Gone ahead and flashed dtbo from the PC while in twrp? flashed a copy of the boot.img (from my PC?). before I rebooted?
I actually have found NO info on why I am reflashing dtbo, or whats in these modified dtbo's, or how to tell I need to flash the dtbo. Or if it's even correct "before" commiting to unpacking/repacking the boot image.
And there are multiple links to different modified dtbo's and different instructions sometimes leave out no-verity-opt-encrypt.zip For the record I didn't do this no verity step on the last couple phones and worked fine.
What is the procedure to fix the boot before I reboot out of twrp. And how do I know I have a good copy of a modified dtbo
How can I tell I have (or not) already flashed dtbo?
So since this phone seems to have borked Slot B. Can I unbrick it somehow by going to Slot A? It does not respond to anymore to VolumeDown-Power button so it really bricked for good or not?
Sorry for all the questions, but I think this would save a ton of people wrecking phones.

Categories

Resources