Hi everyone can someone try this for me and let me no if it work so I can start developing for this phone!! My girlfriend has one but doesn't let me do anything to it
It is as the title says its : 3 Way Extended Power Menu
flash in cwm recovery.
there is also stock cwm .zip to revert back if you get any problems.
Please backup first and I am not responsible for anything that goes wrong :laugh::good:
NOTE!!! ITS FOR JB 4.1.2 DEODEXED
alvin551 said:
Hi everyone can someone try this for me and let me no if it work so I can start developing for this phone!! My girlfriend has one but doesn't let me do anything to it
It is as the title says its : 3 Way Extended Power Menu
flash in cwm recovery.
there is also stock cwm .zip to revert back if you get any problems.
Please backup first and I am not responsible for anything that goes wrong :laugh::good:
NOTE!!! ITS FOR JB 4.1.2
Click to expand...
Click to collapse
What this does? Power off, reboot, airplane mode?! Please be more explicit on your post.
thanks,
infected_
Installation aborted. I think the updater-script needs to be rewritten.
---------- Post added at 11:39 AM ---------- Previous post was at 11:21 AM ----------
Ok, it doesn't work. How to reboot in recovery if the system won't boot?
Need deodex Rom first if files on rom are odex and your file are deodex it not work
spawk said:
Need deodex Rom first if files on rom are odex and your file are deodex it not work
Click to expand...
Click to collapse
Oh yeah lol. Will upload deodex rom tonight . Completely slipped my mind. Im so used to deodex froms from the international s3
Sent from my GT-I9300 using xda premium
Benzonat0r said:
Installation aborted. I think the updater-script needs to be rewritten.
---------- Post added at 11:39 AM ---------- Previous post was at 11:21 AM ----------
Ok, it doesn't work. How to reboot in recovery if the system won't boot?
Click to expand...
Click to collapse
Adb method?
Sent from my GT-I9300 using xda premium
How can I deodex it? xUltimate doesn't work, can't install stock deodexed rom from recovery cause it spits out errors.
---------- Post added at 12:44 PM ---------- Previous post was at 12:41 PM ----------
alvin551 said:
Adb method?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Nope tried it, the phone can't connect to it cause it's stuck in a boot loop.
Benzonat0r said:
How can I deodex it? xUltimate doesn't work, can't install stock deodexed rom from recovery cause it spits out errors.
---------- Post added at 12:44 PM ---------- Previous post was at 12:41 PM ----------
Nope tried it, the phone can't connect to it cause it's stuck in a boot loop.
Click to expand...
Click to collapse
Where have you got stock deodexed rom from?? What errors is it giving you?
Sent from my GT-I9300 using xda premium
Also if you no how to make a .tar file add system.img inside it and flash in odin pda..that should get it back..I keep forgetting nobody apart from me can use 3 button combo to get in to recovery
Sent from my GT-I9300 using xda premium
infected_ said:
What this does? Power off, reboot, airplane mode?! Please be more explicit on your post.
thanks,
infected_
Click to expand...
Click to collapse
It should be reboot, download mode, recovery
Sent from my GT-I9300 using xda premium
alvin551 said:
Where have you got stock deodexed rom from?? What errors is it giving you?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
First, I've made it myself using dsixda's Kitchen.
Then I've rewritten the updater-script to actually get CWM to install it.
Then I've installed it via CWM and I was getting force close issues.
---------- Post added at 01:12 PM ---------- Previous post was at 01:06 PM ----------
And the updater-script
Code:
ui_print(" ");
ui_print("================================");
ui_print("= Stock deodexed ROM =");
ui_print("================================");
ui_print("= by Benz =");
ui_print("================================");
ui_print(" ");
ui_print("- Cleaning /system and userdata");
format("yaffs2", "MTD", "system");
format("yaffs2", "MTD", "userdata");
ui_print("- Mounting /system and rootfs");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/system", "/system");
run_program("/sbin/busybox", "mount", "-o", "rw,remount", "/", "/");
ui_print("- Extracting files");
package_extract_dir("system", "/system");
ui_print("- Setting permissions");
set_perm(0, 0, 0644, "/system/app/");
set_perm(0, 0, 0644, "/system/framwork/");
set_perm(0, 0, 0644, "/system/etc/permissions");
ui_print("- Unmounting /system");
unmount("/system");
ui_print("- Done !");
But I suspect this isn't enough and dsixda's Kitchen is useless because it's automated updater-script is a complete gibberish.
Benzonat0r said:
First, I've made it myself using dsixda's Kitchen.
Then I've rewritten the updater-script to actually get CWM to install it.
Then I've installed it via CWM and I was getting force close issues.
Click to expand...
Click to collapse
Thats strange mate..ill amend my updater-script tonight (so if anyone can upload the mount points it will be helpful) I will upload that and then hopefully it will work for people
Sent from my GT-I9300 using xda premium
Sure here you go, mounting points.
And yes it's driving me crazy not being able to get it working
Code:
# Mount point fs device
/system ext4 /dev/block/mmcblk0p22
/cache ext4 /dev/block/mmcblk0p23
/data ext4 /dev/block/mmcblk0p25 length=-16384
/efs ext4 /dev/block/mmcblk0p11
/sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk1p1
/boot emmc /dev/block/mmcblk0p20
/recovery emmc /dev/block/mmcblk0p21
/preload ext4 /dev/block/mmcblk0p24
Benzonat0r said:
Sure here you go, mounting points.
And yes it's driving me crazy not being able to get it working
Code:
# Mount pointfsdevice
/systemext4/dev/block/mmcblk0p22
/cacheext4/dev/block/mmcblk0p23
/dataext4/dev/block/mmcblk0p25 length=-16384
/efsext4 /dev/block/mmcblk0p11
/sdcardvfat/dev/block/mmcblk1 /dev/block/mmcblk1p1
/bootemmc/dev/block/mmcblk0p20
/recoveryemmc/dev/block/mmcblk0p21
/preloadext4/dev/block/mmcblk0p24
Click to expand...
Click to collapse
Cheers mate have you managed to get your phone back on? Are the mounts definitely yaffs2?
Sent from my GT-I9300 using xda premium
Yes I flashed it via Odin and everything's ok.
Well the mounts are ext4 except for sdcard, boot and recovery
yaffs2 is used for cleaning /system partition and not for mounting.
For example if you use
Code:
format("yaffs2", "MTD", "system");
format("yaffs2", "MTD", "userdata");
it'll clean your /system and /data partitions.
Here's my newly created updater-script, but I'm not sure if it'll actually work. ;P
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
flash_modem
unmount("/system");
Click to expand...
Click to collapse
Edit: Still doesn't work, this it just so damn frustrating.
I'll try this
Code:
format("ext4", "/dev/block/mmcblk0p22");
mount("ext4", "/dev/block/mmcblk0p22", "/system");
Without "EMMC"
recovery.log
Code:
Starting recovery on Tue Jan 22 13:02:38 2013
framebuffer: fd 4 (480 x 800)
framebuffer: fd 6 (480 x 800)
CWM-based Recovery v6.0.2.7
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /system ext4 /dev/block/mmcblk0p22 (null) 0
2 /cache ext4 /dev/block/mmcblk0p23 (null) 0
3 /data ext4 /dev/block/mmcblk0p25 (null) -16384
4 /efs ext4 /dev/block/mmcblk0p11 (null) 0
5 /boot emmc /dev/block/mmcblk0p20 (null) 0
6 /recovery emmc /dev/block/mmcblk0p21 (null) 0
7 /preload ext4 /dev/block/mmcblk0p24 (null) 0
8 /modem ext4 /dev/block/mmcblk0p12 (null) 0
9 /sdcard datamedia /dev/null (null) 0
10 /external_sd vfat /dev/block/mmcblk1p1 (null) 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.boot.emmc_checksum=3
ro.boot.debug_level=0x4f4c
ro.boot.serialno=47907255a9e4bf04
ro.serialno=47907255a9e4bf04
ro.bootmode=unknown
ro.baseband=unknown
ro.bootloader=unknown
ro.hardware=samsunggolden
ro.revision=106
ro.emmc=0
ro.boot.emmc=0
ro.factorytest=0
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=mtp,adb
ro.build.id=JZO54K
ro.build.display.id=cm_golden-eng 4.1.2 JZO54K eng.root.20130120.111027 test-keys
ro.build.version.incremental=eng.root.20130120.111027
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.2
ro.build.date=Sun Jan 20 11:10:46 CET 2013
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=root
ro.build.host=fx
ro.build.tags=test-keys
ro.product.model=GT-I8190
ro.product.brand=samsung
ro.product.name=cm_golden
ro.product.device=golden
ro.product.board=DB8520H
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=montblanc
ro.build.product=golden
ro.build.description=GT-I8190-user 4.1.2 test-keys
ro.build.fingerprint=samsung/cm_golden/golden:4.1.2/JRO03H/I8190XXALL2:user/release-keys
ro.build.characteristics=default
ro.cm.device=golden
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
ro.sf.display_rotation=0
ro.lcd_brightness=170
ro.lcd_min_brightness=30
ro.opengles.version=131072
ro.factoryresetwithoutrecovery=true
debug.sf.hw=1
debug.hwui.render_dirty_regions=false
ste.nmf.autoidle=1
ste.dbus.bus.address=unix:path=/dev/socket/dbus_ste
ro.telephony.call_ring.multiple=false
ste.video.dec.mpeg4.in.size=8192
ste.video.enc.out.buffercnt=5
ste.video.dec.recycle.delay=1
ste.special_fast_dormancy=false
ste.cam.front.orientation=270
ste.cam.back.orientation=90
ste.cam.ext.cfg.path.secondary=/system/usr/share/camera/config_file/aptina_mt9v113.dat
ste.omx.ctx=0
net.streaming.rtsp.uaprof=http://wap.samsungmobile.com/uaprof/
net.change=net.bt.name
persist.fuse_sdcard=true
ro.kernel.qemu=0
ro.com.google.clientidbase=android-samsung
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
ro.sec.fle.encryption=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.com.google.apphider=off
ro.com.google.gmsversion=4.1_r2
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=10-20130120-UNOFFICIAL-golden
ro.modversion=10-20130120-UNOFFICIAL-golden
ro.config.ringtone=Orion.ogg
ro.config.notification_sound=Deneb.ogg
ro.config.alarm_alert=Hassium.ogg
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
dalvik.vm.heaputilization=0.25
dalvik.vm.heapidealfree=8388608
dalvik.vm.heapconcurrentstart=2097152
ro.carrier=unknown
ro.kernel.android.checkjni=1
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
init.svc.ueventd=running
init.svc.recovery=running
init.svc.adbd=running
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
-- Installing: /external_sd/golden_signed_012213_135331.zip
Finding update package...
I:Update location: /external_sd/golden_signed_012213_135331.zip
Opening update package...
Installing update...
line 91 col 8: syntax error, unexpected STRING, expecting $end
1 parse errors
E:Error in /external_sd/golden_signed_012213_135331.zip
(Status 6)
Installation aborted.
I:Can't partition non-vfat: datamedia
I:Can't format unknown volume: /emmc
I:using /data/media for /sdcard.
It makes me wanna snap it in half...
Benzonat0r said:
Yes I flashed it via Odin and everything's ok.
Well the mounts are ext4 except for sdcard, boot and recovery
yaffs2 is used for cleaning /system partition and not for mounting.
For example if you use
Code:
format("yaffs2", "MTD", "system");
format("yaffs2", "MTD", "userdata");
it'll clean your /system and /data partitions.
Here's my newly created updater-script, but I'm not sure if it'll actually work. ;P
Click to expand...
Click to collapse
Mines looking similar to that..im uploading the full from now but got to leave for work in 45mins. If im able to get the link pm'ed to you will you be able to download it and test it mate?
Sent from my GT-I9300 using xda premium
Of course I will, send it.
Benzonat0r said:
Of course I will, send it.
Click to expand...
Click to collapse
Just pm'ed you the link it wont show until its uploaded probably an hour or so
Sent from my GT-I9300 using xda premium
Good good. Talk to you later.
Benzonat0r said:
Installation aborted. I think the updater-script needs to be rewritten.
---------- Post added at 11:39 AM ---------- Previous post was at 11:21 AM ----------
Ok, it doesn't work. How to reboot in recovery if the system won't boot?
Click to expand...
Click to collapse
Vol Up + HOME + POWER will work
Enviado desde mi GT-I8190 usando Tapatalk 2
Related
Hi, i have a galaxy s3.. i have cooked a custom rom using kitchen on Linux!
i have rooted, deodexed, and zipaligned the rom!
I have build my ROM and put into my phone...
Installation:
wipe data, cache, davlik
Install zip from sdcard
myrom.zip.
but i recive this error:
opening update package...
Installing update...
Amend scripting (update-script) is no longer supported
Amend script was deprecated by google in android 1.5
it was recovery to remove it when upgrading to the clockworkmod 3.0 gingerbread vbased recovery.
Please switch to edify scripting (update script and update-binary) to create working update zip packages.
Installation aborted
This is my update-script
#
# Generated by dsixda's Android Kitchen
# xda-developers.com
#
show_progress 0.1 0
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/cat
symlink mksh SYSTEM:bin/sh
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/touch
symlink toolbox SYSTEM:bin/uptime
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/route
symlink debuggerd SYSTEM:bin/csview
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/lsof
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/setprop
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm 0 3003 06755 SYSTEM:bin/ip
set_perm 0 3003 02750 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 2000 06750 SYSTEM:bin/run-as
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluetooth
set_perm 0 0 0755 SYSTEM:etc/bluetooth
set_perm 1000 1000 0640 SYSTEM:etc/bluetooth/auto_pairing.conf
set_perm 3002 3002 0444 SYSTEM:etc/bluetooth/blacklist.conf
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
set_perm 0 0 06755 SYSTEM:bin/su
symlink /system/bin/su SYSTEM:xbin/su
set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp
set_perm_recursive 0 2000 0755 0644 SYSTEM:vendor
set_perm_recursive 0 0 0755 0644 SYSTEM:vendor/firmware
set_perm 0 2000 0755 SYSTEM:vendor/firmware
set_perm 0 2000 0755 SYSTEM:vendor/lib
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
show_progress 0.1 10
show_progress 0.2 0
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Click to expand...
Click to collapse
How to solve? Thank you guys
Tell the kitchen to use the updater-script instead of the update-script. Make sure that you include the correct binary as well. You can pull that from a working ROM if the one you have does not work.
Hi, I have tryed:
Zipaligning ./system/app/YouTube.apk ...
Zipaligning ./system/framework/framework-res.apk ...
Zipaligning ./system/framework/twframework-res.apk ...
Finished zipaligning
Making update.zip ...
update.zip created
--------------------------------------------------------------------------
update-script detected in ROM
To ensure compatibility with newer custom recovery images, you have
the option of using an updater-script (Edify) instead of an
update-script (Amend) in your ROM's ZIP file.
Your working folder will remain the same and continue to have the
original update-script.
Add updater-script to ROM (y/n)? (default: n): y
--------------------------------------------------------------------------
Converting to updater-script, please wait ...
- Initial formatting ...
- copy_dir ...
- set_perm_recursive ...
- set_perm ...
- run_program ...
- package_extract_file ...
- show_progress ...
- set_progress ...
- delete/delete_recursive ...
- symlink ...
- write_raw_image ...
- format and mount ...
- unmount ...
- Final formatting ...
Device name = m0
Copying update-binary ...
"../../../../../tools/update_files/mtd-update-binary" -> "update-binary"
--------------------------------------------------------------------------
An updater-script has been created under META-INF/com/google/android of
your working folder. Please review it and make any necessary changes. An
update-binary has also been added.
DO NOT delete any of the files under META-INF/com/google/android.
Proceed with the change (y/n)?
y = Proceed; updater-script and update-binary will be moved to the ZIP
file; update-script in ZIP file will be removed but will remain in
working folder.
n = Cancel; updater-script and update-binary will be deleted and not
used.
? (default: y): y
adding: META-INF/com/google/android/updater-script (deflated 81%)
adding: META-INF/com/google/android/update-binary (deflated 39%)
deleting: META-INF/com/google/android/update-script
It is recommended that you sign your ROM.
Click to expand...
Click to collapse
This is my update-script:
Code:
how_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/cat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/route");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/setprop");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
When i flash , i recive an error:
E: /sdcard/rom_name.zip
E: [Status 0]
Why?
you can explain step by step what must I do?
This??
Code:
Convert update-script/updater-script
--------------------------------------
You should know:
- An update-script is in 'Amend' format
- An updater-script is in 'Edify' format
Enter a choice:
1 = Convert updater-script to update-script (Amend)
2 = Convert update-script to updater-script (Edify)
0 = Exit
? 2
Conversion Tool: update-script (Amend) to updater-script (Edify)
--------------------------------------------------------------------------
This script will convert your update-script into an updater-script
and will also add the update-binary file.
This option will also be given when you build your ROM, so it is
not necessary to convert your update-script now. The kitchen is NOT
compatible with updater-scripts, so only the 'Build ROM' option
should be used afterwards if you have an updater-script.
Ensure you have an update-script under META-INF/com/google/android
of your working folder.
Proceed with conversion (y/n)? (default: y):
choise??
roxdragon said:
Hi, I have tryed:
This is my update-script:
Code:
how_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/cat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/route");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/setprop");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
When i flash , i recive an error:
E: /sdcard/rom_name.zip
E: [Status 0]
Why?
you can explain step by step what must I do?
Click to expand...
Click to collapse
Did you change the binary also?
---------- Post added at 01:41 PM ---------- Previous post was at 01:40 PM ----------
roxdragon said:
This??
Code:
Convert update-script/updater-script
--------------------------------------
You should know:
- An update-script is in 'Amend' format
- An updater-script is in 'Edify' format
Enter a choice:
1 = Convert updater-script to update-script (Amend)
2 = Convert update-script to updater-script (Edify)
0 = Exit
? 2
Conversion Tool: update-script (Amend) to updater-script (Edify)
--------------------------------------------------------------------------
This script will convert your update-script into an updater-script
and will also add the update-binary file.
This option will also be given when you build your ROM, so it is
not necessary to convert your update-script now. The kitchen is NOT
compatible with updater-scripts, so only the 'Build ROM' option
should be used afterwards if you have an updater-script.
Ensure you have an update-script under META-INF/com/google/android
of your working folder.
Proceed with conversion (y/n)? (default: y):
choise??
Click to expand...
Click to collapse
No, the choice you made when you built the ROM should do it. Check my previous reply.
Code:
Enter a choice:
1 = Convert updater-script to update-script (Amend)
2 = Convert update-script to updater-script (Edify)
0 = Exit
? 2
Conversion Tool: update-script (Amend) to updater-script (Edify)
--------------------------------------------------------------------------
This script will convert your update-script into an updater-script
and will also add the update-binary file.
This option will also be given when you build your ROM, so it is
not necessary to convert your update-script now. The kitchen is NOT
compatible with updater-scripts, so only the 'Build ROM' option
should be used afterwards if you have an updater-script.
Ensure you have an update-script under META-INF/com/google/android
of your working folder.
Proceed with conversion (y/n)? (default: y):
--------------------------------------------------------------------------
Checking for final modifications to update-script before conversion ...
Checking boot.img ...
Working folder found
Kernel found at offset 2048 in boot.img
Making folder BOOT-EXTRACTED ...
Extracting kernel ...
Extracting ramdisk ...
--------------------------------------------------------------------------
Converting to updater-script, please wait ...
- Initial formatting ...
- copy_dir ...
- set_perm_recursive ...
- set_perm ...
- run_program ...
- package_extract_file ...
- show_progress ...
- set_progress ...
- delete/delete_recursive ...
- symlink ...
- write_raw_image ...
- format and mount ...
- unmount ...
- Final formatting ...
Device name = m0
Copying update-binary ...
"../../../../../tools/update_files/mtd-update-binary" -> "update-binary"
--------------------------------------------------------------------------
An updater-script has been created under META-INF/com/google/android of
your working folder. Please review it and make any necessary changes. An
update-binary has also been added.
The original update-script has been renamed to update-script.orig - it
will not be included in your completed ROM's ZIP file.
Press Enter to continue
in /META-INF-com/google/android/ i have update-binary updater-script
It's Ok?
I have execute:
1. Deodexed my rom
2. Press 0 (ADVANCED MENU) and press 23 ( Convert update-script or updater-script)
3. press 99 for build rom
Error status 0 in recovery...
I have downloaded CM9-NIGHTLY , extracted update-binary and replaced with my update-binary
This is my UPDATER-SCRIPT:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/cat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/route");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/setprop");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
Click to expand...
Click to collapse
Help please
and ready for flash?
Thank you
Try placing a known working updater-script in to this ROM and see what happens. If that works then you can modify that how you need to to get this ROM to install correctly. Also, compare a known working updater-script to this one to see if all mount points and other like items are correct for install on your device.
you can help me make a little script for my rom?
I tryed update-binary of CM9 but dosen't work!
Not to brust your bubble but the kitchen dosen't support the galaxy s3 , well untill i finish my project
Hey folks,
Need some help with flashing my own ROM using kitchen.
I have a Samsung Galaxy SII LTE (i9210t). Australian phone with Telstra.
The kitchen program works fine, I can compile the ROM to a zip file etc, but when I try and flash it, it gives me an error message:
E:Error in /sdcard/rom.zip
(Status 0)
Installation aborted.
I read about update-script and updater-script.
When I use update-script in the ROM, it tells me that I need to use updater-script and gives me an error message.
When I use updater-script in the ROM, it gives me the Error Message above (Status 0)
Anyone know how to help me?
How are you getting the script? What recovery do you have? What program are you using to pack the zip? Also, please attach the script to your post, just give it a .txt extension.
Sent from my LG-P999 using xda premium
Status 0 is due to incorrect update-binary.
Try replacing it with the one UOT kitchen uses.
Thanks for your replies guys.
Here is the updater-script:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
mount("MTD", "userdata", "/data");
delete("/data/local");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
Click to expand...
Click to collapse
I changed the binary before I went to bed last night and it gave me a status 7 error :silly:
Getting closer though, learning as I go!
Волк said:
How are you getting the script? What recovery do you have? What program are you using to pack the zip? Also, please attach the script to your post, just give it a .txt extension.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I'm getting the script from dsixda's kitchen and that's what I'm using to pack the zip.
Compare your updater-script with some other working rom of your phone... then make the necessary changes...
adiles said:
Compare your updater-script with some other working rom of your phone... then make the necessary changes...
Click to expand...
Click to collapse
Ok, thanks for the advice, I'll give that a go and let you know how I get on with it.
How do I know what changes need to be made?
Use the binary which gives status 7 error and in updater script delete 2,3,4th lines and put there these lines
Code:
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
delete_recursive("/system");
and flash
And yeah, use Notepad++ to edit updater script
varun.chitre15 said:
Use the binary which gives status 7 error and in updater script delete 2,3,4th lines and put there these lines
Code:
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
delete_recursive("/system");
and flash
And yeah, use Notepad++ to edit updater script
Click to expand...
Click to collapse
ViolentBudgie here (felt like a name change)
I'm going to give this a whirl now, I'll let you know how I get on with it. :good:
---------- Post added at 09:42 PM ---------- Previous post was at 09:02 PM ----------
:crying:
Still getting Status 7 error.
---------- Post added at 09:46 PM ---------- Previous post was at 09:42 PM ----------
Could it be something to do with busy box?
this is what the end of the error report says...
minzip: Extracted file "/system/wallpaper/drawable/SpectrumTurquoise_small.jpg"
minzip: Extracted file "/system/xbin/busybox"
minzip: Extracted file "/system/xbin/dexdump"
minzip: Extracted file "/system/xbin/ipcdump"
minzip: Extracted file "/system/xbin/ipctool"
about to run program [/tmp/installbusybox] with 1 args
script aborted: assert failed: write_raw_image("/tmp/boot.img", "boot")
assert failed: write_raw_image("/tmp/boot.img", "boot")
E:Error in /sdcard/GT-I9210T_TestRom.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
No idea what that means but it looks like the ROM was installing fine until that point.
Dallby said:
ViolentBudgie here (felt like a name change)
I'm going to give this a whirl now, I'll let you know how I get on with it. :good:
---------- Post added at 09:42 PM ---------- Previous post was at 09:02 PM ----------
:crying:
Still getting Status 7 error.
---------- Post added at 09:46 PM ---------- Previous post was at 09:42 PM ----------
Could it be something to do with busy box?
this is what the end of the error report says...
No idea what that means but it looks like the ROM was installing fine until that point.
Click to expand...
Click to collapse
Well, I had the same error when I was trying to build AOSP for my phone... But replacing the update-binary with one from cyanogenmod solved the problem..I think you should give it a try...
Yep, happened to me too. Replacing with "other working" update-binary solved the problem.
Thanks for your help guys.
I tried replacing the update-binary with Nutterpc's update-binary and that's what gave me the status 7 error.
He has a stripped version of the i9210t stock rom that flashes fine.
I used his ROM as a base and i can tweak it and flash it with no problems, however, flashing just doesn't play nice when I use the official stock firmware as a base.
I suppose I could just help him out with his ROM if he needs it, but at the minute, I'm going to try and teach myself ROM development from scratch. Got experience with Java & Python so wish me luck! :good:
Dallby said:
Thanks for your help guys.
I tried replacing the update-binary with Nutterpc's update-binary and that's what gave me the status 7 error.
He has a stripped version of the i9210t stock rom that flashes fine.
I used his ROM as a base and i can tweak it and flash it with no problems, however, flashing just doesn't play nice when I use the official stock firmware as a base.
I suppose I could just help him out with his ROM if he needs it, but at the minute, I'm going to try and teach myself ROM development from scratch. Got experience with Java & Python so wish me luck! :good:
Click to expand...
Click to collapse
Best of luck...
ViolentBudgie said:
Thanks for your replies guys.
Here is the updater-script:
I changed the binary before I went to bed last night and it gave me a status 7 error :silly:
Getting closer though, learning as I go!
Click to expand...
Click to collapse
package_extract_file("boot.img", "/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
in these lines u have comma(,) replace them wid semi-colon(; )
Greetings,
I am trying to create an update.zip for a RK29sdk based tablet. However whenever running the update.zip I get a (status 0) error. I have read the help in dsixda kitchen thread and then tried different mountings.
The orginal script calls for:
Code:
format("MTD", "system");
mount("MTD", "system", "/system");
format("MTD", "userdata");
mount("MTD", "userdata", "/data");
I saw in a update script for CWM for the device the system was mounted as such:
Code:
mount("ext4", "MTD", "system", "/system");
I have tried mounting the system and data like that and also tried the EMMC route using:
Code:
mount("ext4", "EMMC", "/dev/block/mtdblock8", "/system");
mount("ext4", "EMMC", "/dev/block/mtdblock6", "/data");
All of these always result in a status 0
This is my mtd file:
Code:
dev: size erasesize name
mtd0: 00400000 00004000 "misc"
mtd1: 00800000 00004000 "kernel"
mtd2: 01000000 00004000 "boot"
mtd3: 01000000 00004000 "recovery"
mtd4: 1e000000 00004000 "backup"
mtd5: 07400000 00004000 "cache"
mtd6: 5dc00000 00004000 "userdata"
mtd7: 00400000 00004000 "kpanic"
mtd8: 1cc00000 00004000 "system"
mtd9: 4b800000 00004000 "user"
This is my partitions file:
Code:
major minor #blocks name
31 0 4096 mtdblock0
31 1 8192 mtdblock1
31 2 16384 mtdblock2
31 3 16384 mtdblock3
31 4 491520 mtdblock4
31 5 118784 mtdblock5
31 6 1536000 mtdblock6
31 7 4096 mtdblock7
31 8 471040 mtdblock8
31 9 1236992 mtdblock9
This is the standard update script:
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
format("MTD", "userdata");
mount("MTD", "userdata", "/data");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/r");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
Can someone please point me in the right direction
Hi,
I'm creating a ROM for RK70SDK tablet and got Status 1 (I guess it happens at
Code:
format("ext4", "MTD", "/dev/block/mtdblock8");
Did you find answer to your problem?
Best regards,
Shmarkus
Do you have the same error if you remove the format? Often this is unnecessary
Sent from my Nexus 7 using Tapatalk 2
demkantor said:
Do you have the same error if you remove the format? Often this is unnecessary
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Hi,
I tried to format manually and remove format part from updater-script. It fails in another place (set permissions rec or sth). Anyway it should be the case with older CWM and kitkat rom. I am now compiling newer recovery for the device
Hello. I have tried to modify my rom on MTK6589 device but on CWM flashing it says Error, STATUS 0. I have tried edify and amend scripts but still no luck.
Here is my updater-script
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("/system/lib/modules/wlan_mt6628.ko", "/system/lib/modules/wlan.ko");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
Click to expand...
Click to collapse
and here is recovery.fstab
# mount point fstype device [device2]
/misc emmc /dev/misc
/data ext4 /dev/block/mmcblk0p7
/system ext4 /dev/block/mmcblk0p5
/cache ext4 /dev/block/mmcblk0p6
/boot emmc /dev/bootimg
/recovery emmc /dev/recovery
/emmc vfat /dev/block/mmcblk0p8
/sdcard vfat /dev/block/mmcblk1p1
/sd-ext auto /dev/block/mmcblk1p2
Click to expand...
Click to collapse
can someone help me please?
/edit
also here is recovery.log
Starting recovery on Thu Apr 11 16:30:29 2013
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (720 x 1280)
ioctl(): blank: Invalid argument
ioctl(): blank: Invalid argument
CWM automade 06.04.2013 10:47:53
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /misc emmc /dev/misc (null) 0
2 /data ext4 /dev/block/mmcblk0p7 (null) 0
3 /system ext4 /dev/block/mmcblk0p5 (null) 0
4 /cache ext4 /dev/block/mmcblk0p6 (null) 0
5 /boot emmc /dev/bootimg (null) 0
6 /recovery emmc /dev/recovery (null) 0
7 /emmc vfat /dev/block/mmcblk0p8 (null) 0
8 /sdcard vfat /dev/block/mmcblk1p1 (null) 0
9 /sd-ext auto /dev/block/mmcblk1p2 (null) 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
I:Completed outputting fstab.
Irocessing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=mass_storage,adb
ro.build.id=IMM76L
ro.build.display.id=full_MTK-eng 4.0.4 IMM76L eng.rua1.20130129.114933 test-keys
ro.build.version.incremental=eng.rua1.20130129.114933
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Вто Янв 29 11:51:46 MSK 2013
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=rua1
ro.build.host=rua1-desktop
ro.build.tags=test-keys
ro.product.model=Full Android on Emulator
ro.product.brand=Android
ro.product.name=full_MTK
ro.product.device=MTK
ro.product.board=MTK
ro.product.cpu.abi=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=MTK
ro.build.description=full_MTK-eng 4.0.4 IMM76L eng.rua1.20130129.114933 test-keys
ro.build.fingerprint=Android/full_MTK/MTK:4.0.4/IMM76L/eng.rua1.20130129.114933:eng/test-keys
ro.build.characteristics=default
ro.cm.device=MTK
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=mt6589
ro.revision=0
ro.emmc=0
sys.usb.vid=0BB4
init.svc.recovery=running
sys.usb.config=mass_storage,adb
service.adb.root=1
init.svc.adbd=restarting
sys.usb.state=mass_storage,adb
I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
SD Card mounted...
Verifying SD Card marker...
I:Running script:
I:
run_program("/sbin/cp", "-R", "/cache/recovery", "/tmp/recovery");
ui_print("ROM Manager Version 5.5.2.3");
ui_print("April 11, 2013");
ui_print("Preparing to install ROM...");
run_program("/cache/dowipedalvikcache.sh");
mount("/system");
run_program("/sbin/chmod", "+x", "/tmp/recovery/11-rommanager.sh");
run_program("/tmp/recovery/11-rommanager.sh", "place");
run_program("/sbin/umount", "/system");
assert(install_zip("/sdcard/MY_ROM.zip"));
parse returned 0; 0 errors encountered
about to run program [/sbin/cp] with 4 args
ROM Manager Version 5.5.2.3
April 11, 2013
Preparing to install ROM...
about to run program [/cache/dowipedalvikcache.sh] with 1 args
mount: mounting /dev/block/mmcblk0p6 on /cache failed: Device or resource busy
mount: mounting /dev/block/mmcblk1p2 on /sd-ext failed: No such file or directory
umount: can't umount /sd-ext: Invalid argument
run_program: child exited with status 1
about to run program [/sbin/chmod] with 3 args
about to run program [/tmp/recovery/11-rommanager.sh] with 2 args
mount: mounting /dev/block/mmcblk0p5 on /system failed: Device or resource busy
about to run program [/sbin/umount] with 2 args
-- Installing: /sdcard/MY_ROM.zip
Finding update package...
I:Update location: /sdcard/MY_ROM.zip
Opening update package...
Installing update...
E:Error in /sdcard/MY_ROM.zip
(Status 0)
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/MY_ROM.zip")
Click to expand...
Click to collapse
akim14 said:
Hello. I have tried to modify my rom on MTK6589 device but on CWM flashing it says Error, STATUS 0. I have tried edify and amend scripts but still no luck.
Here is my updater-script
and here is recovery.fstab
can someone help me please?
Click to expand...
Click to collapse
Try DIXDA kitchen and replace the update binary with some other working one
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Try DIXDA kitchen and replace the update binary with some other working one
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
i tried that but it does not work
akim14 said:
i tried that but it does not work
Click to expand...
Click to collapse
Which of the two did you try?
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Which of the two did you try?
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
both of them...
anyway, i have tried to do everything from begining and it is working, thank you
akim14 said:
i tried that but it does not work
Click to expand...
Click to collapse
I have the same problem with you.
其实我也不懂 said:
I have the same problem with you.
Click to expand...
Click to collapse
op solved his problem could you please elaborate
What issues you're facing?
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
op solved his problem could you please elaborate
What issues you're facing?
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
I have compile a recovery for a MT6589 device,but there is something wrong when i flash rom.It says install from sdcard complete,but when i enter the system,the system is not changed. Here is the last_log.thanks for your help!
其实我也不懂 said:
I have compile a recovery for a MT6589 device,but there is something wrong when i flash rom.It says install from sdcard complete,but when i enter the system,the system is not changed. Here is the last_log.thanks for your help!
Click to expand...
Click to collapse
Intersting now have a look at line 130 of log
It says
minzip: Error writing 12288 bytes from zip file from 0xbef784dc: No space left on device
Click to expand...
Click to collapse
looks like you ran out of space in
/system
And hence no further execution and processing took place
Did you format /system ?
If no.
please format it n flash again
If yes.
Search xda for resizing system partition it might help you.
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
Intersting now have a look at line 130 of log
It says
looks like you ran out of space in
/system
And hence no further execution and processing took place
Did you format /system ?
If no.
please format it n flash again
If yes.
Search xda for resizing system partition it might help you.
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
thank you very much ,i will have a try.
其实我也不懂 said:
thank you very much ,i will have a try.
Click to expand...
Click to collapse
Fell delighted to help
Sent from my GT-S5302 using Tapatalk 2
Hi folks,
I have been playing with a tablet from PCWorld. Its a cheap Rockchips variant running an RK3066 SOC sold as a product by a company called Versus.
Now I am a total Android n00b but have decided to teach myself what i can about this device so that i can get certain things to work such as Gameloft games and removing the bloat .
So far i have managed to extract the .img from the versus website, for some reason took apart the boot.img file [if anyone wants it let me know]. We have working Root, CWM, and a full adb dump. Also i have managed to create a working framework.jar this morning and Asphalt 7 works! yaay!
I am now trying to use the ROM Kitchen to make a working CWM installer and for the most part i think its done, however it will not run. It just fails with a status 0 with no changes to the device.
I think its failing at the start here:
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
According to my ROM dump the volumes are mounted as such:
## mtd table
dev: size erasesize name
mtd0: 00400000 00004000 "misc"
mtd1: 00800000 00004000 "kernel"
mtd2: 01000000 00004000 "boot"
mtd3: 01000000 00004000 "recovery"
mtd4: 18000000 00004000 "backup"
mtd5: 08000000 00004000 "cache"
mtd6: 40000000 00004000 "userdata"
mtd7: 00400000 00004000 "kpanic"
mtd8: 24000000 00004000 "system"
mtd9: 354800000 00004000 "user"
I have looked at some other updater-scripts and found another way of doing it and edited it to this:
Code:
show_progress(0.200000, 10);
unmount("/system");
unmount("/cache");
unmount("/userdata");
format("ext4", "MTD", "/dev/block/mtdblock8");
mount("ext4", "MTD", "/dev/block/mtdblock8", "/system");
format("ext4", "MTD", "/dev/block/mtdblock5");
mount("ext4", "MTD", "/dev/block/mtdblock5", "/cache");
format("ext4", "MTD", "/dev/block/mtdblock5");
mount("ext4", "MTD", "/dev/block/mtdblock6", "/userdata");
But i am not so sure this is the correct syntax, could someone please take a moment to check this is right.
Many thanks in advance
Ok i started again, this is the default updater-script that ROM Kitchen created for me:
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/r");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
But when i try to run it on the device in CWM i get the following failure:
Code:
Starting recovery on Mon May 20 18:36:19 2013
framebuffer: bpp 16 r 11 g 5 b 0
framebuffer: fd 4 (800 x 480)
CWM-based Recovery modified by androtab.info v6.0.3.1
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /boot mtd boot (null) 0
2 /cache ext4 /dev/block/mtd/by-name/cache (null) 0
3 /data ext4 /dev/block/mtd/by-name/userdata (null) 0
4 /kernel mtd kernel (null) 0
5 /misc mtd misc (null) 0
6 /recovery mtd recovery (null) 0
7 /sdcard vfat /dev/block/mtd/by-name/user (null) 0
8 /external_sd vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0 0
9 /sd-ext auto /dev/block/mmcblk0p2 (null) 0
10 /system ext4 /dev/block/mtd/by-name/system (null) 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Set boot command "boot-recovery"
I:Checking arguments.
Warning: No file_contexts
I:device_recovery_start()
Command: "/sbin/recovery"
ro.boot.console=ttyFIQ0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.bootloader=unknown
ro.hardware=rk30board
ro.revision=0
ro.emmc=0
ro.boot.emmc=0
ro.factorytest=0
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=JDQ39E
ro.build.display.id=rk3066-userdebug 4.2.2 JDQ39E eng.fun.20130427.223241 test-keys
ro.build.version.incremental=eng.fun.20130427.223241
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=Sat Apr 27 22:33:53 JST 2013
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=fun
ro.build.host=ubuntu
ro.build.tags=test-keys
ro.product.model=RK3066
ro.product.brand=rockchip
ro.product.name=rk3066
ro.product.device=rk3066
ro.product.board=rk30board
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Rockchip
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=rk30xx
ro.build.product=rk3066
ro.build.description=rk3066-userdebug 4.2.2 JDQ39E eng.fun.20130427.223241 test-keys
ro.build.fingerprint=rockchip/rk3066/rk3066:4.2.2/JDQ39E/eng.fun.20130427.223241:userdebug/test-keys
ro.build.characteristics=default
ro.cm.device=rk3066
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.carrier=unknown
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
init.svc.ueventd=running
init.svc.recovery=running
service.adb.root=1
init.svc.adbd=running
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I:Set boot command ""
-- Installing: /sdcard/rk30sdk_signed_052013_193135.zip
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/rk30sdk_signed_052013_193135.zip
Opening update package...
Installing update...
E:Error in /sdcard/rk30sdk_signed_052013_193135.zip
(Status 0)
Installation aborted.
I:Set boot command ""
I:Can't format unknown volume: /emmc
Slightly puzzled at the moment could someone point me in the right direction please