No Longer Available On XDA
jellette said:
SGH-T959 related - not I9000
So, I can successfully change the modem and kernel and get correct key mapping etc if I Odin the XXJPU BUT I can not at all seem to get it into a flashable form - it always errors out on the symlinks. Is there something about an I9000 rom I don't understand?
I had thought that the same update_script and folder set-up that I use on Vibrant roms would work. From what I have read, the symlink error is caused by running out of space during the copying..
I'm at a loss!
Click to expand...
Click to collapse
I'm not going to claim to be an expert, so perhaps other people will weigh in. But it sounds lt me that you are trying to get a JPx ROM on your vibrant. I don't know that Vibrant ROMS have that designation. I know they have JFD, JIx, JKx, and JLx. So, it is possible that you are trying to flash a ROM that is associated with another Galaxy S phone.
Good luck!
post your update script and I'll take a look at it
When I get off work ill up it. I may have pulled the bin folder wrong because there are like 160 files in it but no doubles that would cause a symlink error. Pulled the files out of factoryfs.rfs the same way I did with JL1 and deodexed the same but no good.. Driving me nuts that I can do it all through Odin but not cwm.
Sent from my SGH-T959 using Tapatalk
See if paste works.. It is just a standard script that I use all the time. It doesnt make it past the su symlink.
show_progress 0.1 0
format SYSTEM:
format CACHE:
format DATADATA:
format DATA:
delete_recursive DATA:dalvik-cache
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:updates TMP:/updates
symlink /system/xbin/su SYSTEM:bin/su
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/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/umount
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
show_progress 0.1 10
show_progress 0.2 0
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 0 0755 0755 SYSTEM:etc
set_perm_recursive 0 0 0755 0755 SYSTEM:etc/bluetooth
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluetooth
set_perm_recursive 0 0 0777 0777 SYSTEM:etc/init.d
set_perm 0 0 0755 SYSTEM:etc/bluetooth
set_perm 0 3003 02755 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
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 04755 SYSTEM:xbin/su
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 1000 1000 0771 DATA:app
show_progress 0.2 10
show_progress 0.3 0
run_program PACKAGE:installbusybox
show_progress 0.3 10
show_progress 0.4 0
set_perm 0 0 755 TMP:/updates/redbend_ua
run_program /tmp/updates/redbend_ua restore /tmp/updates/modem.bin /dev/block/bml12
run_program /tmp/updates/redbend_ua restore /tmp/updates/zImage /dev/block/bml7
show_progress 0.4 10
Sent from my SGH-T959 using Tapatalk
Hello to all.
I'm a very new chef and so i have some problems!!
I'm trying to modify a rom (i can name it as ROM A) to make it similar to another rom (ROM B)
I have made the same file structure of the ROM B in ROM A but i don't understand how generate the update-script file.
I made all changes in update script file of ROM A similar to ROM B's update script file but i have an error during rom installation.
After copying files i have error on set_perm 2000 2000 0771 DATA:local can't chown/mod /data/local and installation aborted.
Now...how can i fix it?How can i generate a good update script file for my rom??
My update-script is
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete DATA:local
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Thanks!
mattiadj said:
Hello to all.
I'm a very new chef and so i have some problems!!
I'm trying to modify a rom (i can name it as ROM A) to make it similar to another rom (ROM B)
I have made the same file structure of the ROM B in ROM A but i don't understand how generate the update-script file.
I made all changes in update script file of ROM A similar to ROM B's update script file but i have an error during rom installation.
After copying files i have error on set_perm 2000 2000 0771 DATA:local can't chown/mod /data/local and installation aborted.
Now...how can i fix it?How can i generate a good update script file for my rom??
My update-script is
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete DATA:local
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Thanks!
Click to expand...
Click to collapse
It's actually pretty simple my good man ...at the top of your script you said to "delete DATA:local" ...if it's deleted, it cant chmod/own it ...so i'd get rid of the line "delete DATA:local" and continue to venture forward in your journey
Option 1... Use this code
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Or Option 2.... Use this code...
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete DATA:local
mkdir DATA:local
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Hope that helped
BThomas22x said:
It's actually pretty simple my good man ...at the top of your script you said to "delete DATA:local" ...if it's deleted, it cant chmod/own it ...so i'd get rid of the line "delete DATA:local" and continue to venture forward in your journey
Option 1... Use this code
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Or Option 2.... Use this code...
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete DATA:local
mkdir DATA:local
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Hope that helped
Click to expand...
Click to collapse
Thanks for reply but with script 1 i have the isse again and with script two i have syntax error in update-script
My update-script now is
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete DATA:local
mkdir DATA:local
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink /data/local/downanimation.zip SYSTEM:customize/resource/downanimation.zip
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Help
My apologies I completely goofed it up... I was thinking of something else... you can't do the data local like that... take away the mkdir data local and replace delete data local with "delete_recursive DATA:data" minus the quotation marks of course
Nothing.
E:Can't chown/mod /data/local
(No such fil or directory)
E:Failure at line 64:
set_perm 2000 2000 0771 DATA:local
My update-script is
Code:
show_progress 0.1 0
format CACHE:
format SYSTEM:
delete_recursive DATA:data
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
copy_dir PACKAGE:data DATA:
copy_dir PACKAGE:system SYSTEM:
symlink /data/.systemapp SYSTEM:app
symlink /data/local/downanimation.zip SYSTEM:customize/resource/downanimation.zip
symlink dumpstate SYSTEM:bin/bugreport
symlink dumpstate SYSTEM:bin/dumpcrash
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/chownto
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/wipe
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/cat
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
set_perm_recursive 1000 1000 0771 0644 DATA:.systemapp
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_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d
set_perm 0 3003 02755 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 04755 SYSTEM:bin/bash
#symlink /system/bin/bash SYSTEM:bin/sh
symlink /data/etc/hosts SYSTEM:etc/hosts
set_perm 0 0 04755 SYSTEM:bin/sysrw
set_perm 0 0 04755 SYSTEM:bin/sysro
set_perm 0 0 04755 SYSTEM:bin/nano
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 06755 SYSTEM:xbin
set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn
set_perm 0 0 04755 SYSTEM:xbin/busybox
set_perm 0 0 04755 SYSTEM:bin/toolbox
show_progress 0.1 10
show_progress 0.2 0
run_program PACKAGE:installbusybox
format BOOT:
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10
Right. This is an easy one...
First of all, I'm going to assume that you have no data/local in your ROM, or it wouldn't be giving you that error.
So...
Get rid of the line that's setting the permissions. More often than not, common sense is all that is needed with simple errors like this. In future, if you're getting an error when flashing, find out the cause of the error through the error message, then check your directory structure against your update script.
Anyway, I'll save you a job:
set_perm 2000 2000 0771 DATA:local
Delete that.
Greetings
I have using Android Kitchen 0.179 with the Vodafone 858 Smart (Huawei u8160)
I downloaded the stock vodafone rom and imported it into the kitchen. When I check update-script for errors, I am getting the following error
8/108: format userdata2
>> WARNING: Partition not recognized
I have searched using the search tool across the entire forum (and google) but all i seem to be doing is getting up results for SD card partition problems.
Here is my entire update script
Code:
update-script has 108 lines
1/108: show_progress 0.1 0
2/108: format DATA:
3/108: delete DATA:local
4/108: delete DATA:app
5/108: copy_dir PACKAGE:data DATA:
6/108: set_perm 2000 2000 0771 DATA:local
7/108: set_perm_recursive 1000 1000 0771 0644 DATA:app
8/108: format userdata2
>> WARNING: Partition not recognized
9/108: format CACHE:
10/108: format persist
>> WARNING: Partition not recognized
11/108: show_progress 0.1 10
12/108: show_progress 0.2 0
13/108: format BOOT:
14/108: write_raw_image PACKAGE:boot.img BOOT:
15/108: show_progress 0.2 10
16/108: show_progress 0.3 0
17/108: format recovery
>> WARNING: Partition not recognized
18/108: package_extract_file PACKAGE:recovery.img TMP:recovery.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
19/108: write_raw_image TMP:recovery.img recovery
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
20/108: delete TMP:recovery.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
21/108: show_progress 0.3 10
22/108: show_progress 0.4 0
23/108: format splash
>> WARNING: Partition not recognized
24/108: package_extract_file PACKAGE:splash.img TMP:splash.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
25/108: write_raw_image TMP:splash.img splash
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
26/108: delete TMP:splash.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
27/108: show_progress 0.4 10
28/108: show_progress 0.5 0
29/108: format SYSTEM:
30/108: copy_dir PACKAGE:system SYSTEM:
31/108: show_progress 0.5 10
32/108: show_progress 0.6 0
33/108: format cust
>> WARNING: Partition not recognized
34/108: copy_dir PACKAGE:cust /cust
35/108: show_progress 0.6 10
36/108: show_progress 0.7 0
37/108: symlink toolbox SYSTEM:bin/cat
38/108: symlink toolbox SYSTEM:bin/chmod
39/108: symlink toolbox SYSTEM:bin/chown
40/108: symlink toolbox SYSTEM:bin/cmp
41/108: symlink toolbox SYSTEM:bin/date
42/108: symlink toolbox SYSTEM:bin/dd
43/108: symlink toolbox SYSTEM:bin/df
44/108: symlink toolbox SYSTEM:bin/dmesg
45/108: symlink toolbox SYSTEM:bin/getevent
46/108: symlink toolbox SYSTEM:bin/getprop
47/108: symlink toolbox SYSTEM:bin/hd
48/108: symlink toolbox SYSTEM:bin/id
49/108: symlink toolbox SYSTEM:bin/ifconfig
50/108: symlink toolbox SYSTEM:bin/iftop
51/108: symlink toolbox SYSTEM:bin/insmod
52/108: symlink toolbox SYSTEM:bin/ioctl
53/108: symlink toolbox SYSTEM:bin/ionice
54/108: symlink toolbox SYSTEM:bin/kill
55/108: symlink toolbox SYSTEM:bin/ln
56/108: symlink toolbox SYSTEM:bin/log
57/108: symlink toolbox SYSTEM:bin/ls
58/108: symlink toolbox SYSTEM:bin/lsmod
59/108: symlink toolbox SYSTEM:bin/mkdir
60/108: symlink toolbox SYSTEM:bin/mount
61/108: symlink toolbox SYSTEM:bin/netstat
62/108: symlink toolbox SYSTEM:bin/newfs_msdos
63/108: symlink toolbox SYSTEM:bin/notify
64/108: symlink toolbox SYSTEM:bin/printenv
65/108: symlink toolbox SYSTEM:bin/ps
66/108: symlink toolbox SYSTEM:bin/reboot
67/108: symlink toolbox SYSTEM:bin/renice
68/108: symlink toolbox SYSTEM:bin/rm
69/108: symlink toolbox SYSTEM:bin/rmdir
70/108: symlink toolbox SYSTEM:bin/rmmod
71/108: symlink toolbox SYSTEM:bin/route
72/108: symlink toolbox SYSTEM:bin/schedtop
73/108: symlink toolbox SYSTEM:bin/sendevent
74/108: symlink toolbox SYSTEM:bin/setconsole
75/108: symlink toolbox SYSTEM:bin/setprop
76/108: symlink toolbox SYSTEM:bin/sleep
77/108: symlink toolbox SYSTEM:bin/smd
78/108: symlink toolbox SYSTEM:bin/start
79/108: symlink toolbox SYSTEM:bin/stop
80/108: symlink toolbox SYSTEM:bin/sync
81/108: symlink toolbox SYSTEM:bin/top
82/108: symlink toolbox SYSTEM:bin/umount
83/108: symlink toolbox SYSTEM:bin/vmstat
84/108: symlink toolbox SYSTEM:bin/watchprops
85/108: symlink toolbox SYSTEM:bin/wipe
86/108: show_progress 0.7 10
87/108: show_progress 0.8 0
88/108: set_perm_recursive 0 0 0755 0644 SYSTEM:
89/108: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
90/108: set_perm 0 2000 06750 SYSTEM:bin/run-as
91/108: set_perm 0 3003 02750 SYSTEM:bin/netcfg
92/108: set_perm 0 3004 02750 SYSTEM:bin/ping
93/108: set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
94/108: set_perm 0 1000 0755 SYSTEM:xbin/busybox
95/108: symlink /system/xbin/busybox SYSTEM:bin/busybox
96/108: run_program PACKAGE:installbusybox
97/108: set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
98/108: set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
99/108: set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
100/108: set_perm 0 0 06755 SYSTEM:bin/su
101/108: symlink /system/bin/su SYSTEM:xbin/su
102/108: set_perm 3002 3002 0444 SYSTEM:etc/bluetooth/blacklist.conf
103/108: set_perm 1002 1000 0640 SYSTEM:etc/bluetooth/auto_pairing.conf
104/108: set_perm 1002 1002 0440 SYSTEM:etc/bluetooth/audio.conf
105/108: set_perm 1002 1002 0440 SYSTEM:etc/bluetooth/input.conf
106/108: set_perm 1002 1002 0440 SYSTEM:etc/bluetooth/main.conf
107/108: set_perm_recursive 0 0 0755 0644 /cust
108/108: show_progress 0.8 10
sfuk said:
Greetings
I have using Android Kitchen 0.179 with the Vodafone 858 Smart (Huawei u8160)
I downloaded the stock vodafone rom and imported it into the kitchen. When I check update-script for errors, I am getting the following error
8/108: format userdata2
>> WARNING: Partition not recognized
I have searched using the search tool across the entire forum (and google) but all i seem to be doing is getting up results for SD card partition problems.
Here is my entire update script
Code:
update-script has 108 lines
1/108: show_progress 0.1 0
2/108: format DATA:
3/108: delete DATA:local
4/108: delete DATA:app
5/108: copy_dir PACKAGE:data DATA:
6/108: set_perm 2000 2000 0771 DATA:local
7/108: set_perm_recursive 1000 1000 0771 0644 DATA:app
8/108: format userdata2
>> WARNING: Partition not recognized
9/108: format CACHE:
10/108: format persist
>> WARNING: Partition not recognized
11/108: show_progress 0.1 10
12/108: show_progress 0.2 0
13/108: format BOOT:
14/108: write_raw_image PACKAGE:boot.img BOOT:
15/108: show_progress 0.2 10
16/108: show_progress 0.3 0
17/108: format recovery
>> WARNING: Partition not recognized
18/108: package_extract_file PACKAGE:recovery.img TMP:recovery.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
19/108: write_raw_image TMP:recovery.img recovery
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
20/108: delete TMP:recovery.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
21/108: show_progress 0.3 10
22/108: show_progress 0.4 0
23/108: format splash
>> WARNING: Partition not recognized
24/108: package_extract_file PACKAGE:splash.img TMP:splash.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
25/108: write_raw_image TMP:splash.img splash
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
26/108: delete TMP:splash.img
>> WARNING: TMP partition is not supported in update-script. You must
>> convert this update-script to an updater-script.
27/108: show_progress 0.4 10
28/108: show_progress 0.5 0
29/108: format SYSTEM:
30/108: copy_dir PACKAGE:system SYSTEM:
31/108: show_progress 0.5 10
32/108: show_progress 0.6 0
33/108: format cust
>> WARNING: Partition not recognized
34/108: copy_dir PACKAGE:cust /cust
35/108: show_progress 0.6 10
36/108: show_progress 0.7 0
37/108: symlink toolbox SYSTEM:bin/cat
38/108: symlink toolbox SYSTEM:bin/chmod
39/108: symlink toolbox SYSTEM:bin/chown
40/108: symlink toolbox SYSTEM:bin/cmp
41/108: symlink toolbox SYSTEM:bin/date
42/108: symlink toolbox SYSTEM:bin/dd
43/108: symlink toolbox SYSTEM:bin/df
44/108: symlink toolbox SYSTEM:bin/dmesg
45/108: symlink toolbox SYSTEM:bin/getevent
46/108: symlink toolbox SYSTEM:bin/getprop
47/108: symlink toolbox SYSTEM:bin/hd
48/108: symlink toolbox SYSTEM:bin/id
49/108: symlink toolbox SYSTEM:bin/ifconfig
50/108: symlink toolbox SYSTEM:bin/iftop
51/108: symlink toolbox SYSTEM:bin/insmod
52/108: symlink toolbox SYSTEM:bin/ioctl
53/108: symlink toolbox SYSTEM:bin/ionice
54/108: symlink toolbox SYSTEM:bin/kill
55/108: symlink toolbox SYSTEM:bin/ln
56/108: symlink toolbox SYSTEM:bin/log
57/108: symlink toolbox SYSTEM:bin/ls
58/108: symlink toolbox SYSTEM:bin/lsmod
59/108: symlink toolbox SYSTEM:bin/mkdir
60/108: symlink toolbox SYSTEM:bin/mount
61/108: symlink toolbox SYSTEM:bin/netstat
62/108: symlink toolbox SYSTEM:bin/newfs_msdos
63/108: symlink toolbox SYSTEM:bin/notify
64/108: symlink toolbox SYSTEM:bin/printenv
65/108: symlink toolbox SYSTEM:bin/ps
66/108: symlink toolbox SYSTEM:bin/reboot
67/108: symlink toolbox SYSTEM:bin/renice
68/108: symlink toolbox SYSTEM:bin/rm
69/108: symlink toolbox SYSTEM:bin/rmdir
70/108: symlink toolbox SYSTEM:bin/rmmod
71/108: symlink toolbox SYSTEM:bin/route
72/108: symlink toolbox SYSTEM:bin/schedtop
73/108: symlink toolbox SYSTEM:bin/sendevent
74/108: symlink toolbox SYSTEM:bin/setconsole
75/108: symlink toolbox SYSTEM:bin/setprop
76/108: symlink toolbox SYSTEM:bin/sleep
77/108: symlink toolbox SYSTEM:bin/smd
78/108: symlink toolbox SYSTEM:bin/start
79/108: symlink toolbox SYSTEM:bin/stop
80/108: symlink toolbox SYSTEM:bin/sync
81/108: symlink toolbox SYSTEM:bin/top
82/108: symlink toolbox SYSTEM:bin/umount
83/108: symlink toolbox SYSTEM:bin/vmstat
84/108: symlink toolbox SYSTEM:bin/watchprops
85/108: symlink toolbox SYSTEM:bin/wipe
86/108: show_progress 0.7 10
87/108: show_progress 0.8 0
88/108: set_perm_recursive 0 0 0755 0644 SYSTEM:
89/108: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
90/108: set_perm 0 2000 06750 SYSTEM:bin/run-as
91/108: set_perm 0 3003 02750 SYSTEM:bin/netcfg
92/108: set_perm 0 3004 02750 SYSTEM:bin/ping
93/108: set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
94/108: set_perm 0 1000 0755 SYSTEM:xbin/busybox
95/108: symlink /system/xbin/busybox SYSTEM:bin/busybox
96/108: run_program PACKAGE:installbusybox
97/108: set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
98/108: set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
99/108: set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
100/108: set_perm 0 0 06755 SYSTEM:bin/su
101/108: symlink /system/bin/su SYSTEM:xbin/su
102/108: set_perm 3002 3002 0444 SYSTEM:etc/bluetooth/blacklist.conf
103/108: set_perm 1002 1000 0640 SYSTEM:etc/bluetooth/auto_pairing.conf
104/108: set_perm 1002 1002 0440 SYSTEM:etc/bluetooth/audio.conf
105/108: set_perm 1002 1002 0440 SYSTEM:etc/bluetooth/input.conf
106/108: set_perm 1002 1002 0440 SYSTEM:etc/bluetooth/main.conf
107/108: set_perm_recursive 0 0 0755 0644 /cust
108/108: show_progress 0.8 10
Click to expand...
Click to collapse
Did you ever find out a solution
So it's nothing new, but solutions like "Link2SD", "Folder Mount" seems to don't work.
When I install for example AcrobatReader, Link2SD tells me that about 100% is linked, but still internal storage was decreased about 20MB-30MB - so I think that doesn't work.
I make some tryings on my own, broke system on my phone, upload another, make another tryings and got some reboots etc...
I want to move whole data partition to SD. Maybe someone know ready to use ROM which have that? Maybe it's very bad idea, but why?
Here is some details about phone:
Xperia Neo V, cm-10-20131006-NIGHTLY-haida (but I'm not relevant to it), unlocked bootloader.
(I cant post pictures....)
mount
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock0 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock3 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mmcblk0p2 /data/sdext2 ext2 rw,relatime,errors=continue 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:1 /storage/sdcard0 vfat rw,dirsync,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
df
Code:
Filesystem Size Used Free Blksize
/dev 179.4M 48K 179.4M 4096
/mnt/asec 179.4M 0K 179.4M 4096
/mnt/obb 179.4M 0K 179.4M 4096
/system 400M 360.6M 39.4M 4096
/data 420M 132.1M 287.9M 4096
/cache 101.5M 73.7M 27.8M 4096
/data/sdext2 1.4G 135.5M 1.3G 4096
/storage/sdcard0 377.2M 93.9M 283.3M 4096
/mnt/secure/asec 377.2M 93.9M 283.3M 4096
mtd
Code:
dev: size erasesize name
mtd0: 19000000 00020000 "system"
mtd1: 00600000 00020000 "appslog"
mtd2: 06580000 00020000 "cache"
mtd3: 1a400000 00020000 "userdata"
vold.fstab
Code:
## Vold 2.0 fstab for Mogami
#
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.4/mmc_host/mmc1
init.rc
Code:
# Copyright (C) 2012 The Android Open Source Project
#
# IMPORTANT: Do not create world writable files or directories.
# This is a common source of Android security bugs.
#
import /init.${ro.hardware}.rc
import /init.usb.rc
import /init.trace.rc
on early-init
# Set init and its forked children's oom_adj.
write /proc/1/oom_adj -16
start ueventd
# create mountpoints
mkdir /mnt 0775 root system
on init
sysclktz 0
loglevel 3
# setup the global environment
export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
export LD_LIBRARY_PATH /vendor/lib:/system/lib
export ANDROID_BOOTLOGO 1
export ANDROID_ROOT /system
export ANDROID_ASSETS /system/app
export ANDROID_DATA /data
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
# Backward compatibility
symlink /system/etc /etc
symlink /sys/kernel/debug /d
# Right now vendor lives on the same filesystem as system,
# but someday that may change.
symlink /system/vendor /vendor
# Create cgroup mount point for cpu accounting
mkdir /acct
mount cgroup none /acct cpuacct
mkdir /acct/uid
mkdir /system
mkdir /data 0771 system system
mkdir /cache 0771 system cache
mkdir /config 0500 root root
# Directory for putting things only root should see.
mkdir /mnt/secure 0700 root root
# Directory for staging bindmounts
mkdir /mnt/secure/staging 0700 root root
# Directory-target for where the secure container
# imagefile directory will be bind-mounted
mkdir /mnt/secure/asec 0700 root root
# Secure container public mount points.
mkdir /mnt/asec 0700 root system
mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
# Filesystem image public mount points.
mkdir /mnt/obb 0700 root system
mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
write /proc/sys/kernel/panic_on_oops 1
write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
write /proc/sys/kernel/sched_compat_yield 1
write /proc/sys/kernel/sched_child_runs_first 0
write /proc/sys/kernel/randomize_va_space 2
write /proc/sys/kernel/kptr_restrict 2
write /proc/sys/kernel/dmesg_restrict 1
write /proc/sys/vm/mmap_min_addr 32768
write /proc/sys/kernel/sched_rt_runtime_us 950000
write /proc/sys/kernel/sched_rt_period_us 1000000
# Create cgroup mount points for process groups
mkdir /dev/cpuctl
mount cgroup none /dev/cpuctl cpu
chown system system /dev/cpuctl
chown system system /dev/cpuctl/tasks
chmod 0660 /dev/cpuctl/tasks
write /dev/cpuctl/cpu.shares 1024
write /dev/cpuctl/cpu.rt_runtime_us 950000
write /dev/cpuctl/cpu.rt_period_us 1000000
mkdir /dev/cpuctl/apps
chown system system /dev/cpuctl/apps/tasks
chmod 0666 /dev/cpuctl/apps/tasks
write /dev/cpuctl/apps/cpu.shares 1024
write /dev/cpuctl/apps/cpu.rt_runtime_us 800000
write /dev/cpuctl/apps/cpu.rt_period_us 1000000
mkdir /dev/cpuctl/apps/bg_non_interactive
chown system system /dev/cpuctl/apps/bg_non_interactive/tasks
chmod 0666 /dev/cpuctl/apps/bg_non_interactive/tasks
# 5.0 %
write /dev/cpuctl/apps/bg_non_interactive/cpu.shares 52
write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_runtime_us 700000
write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_period_us 1000000
# Allow everybody to read the xt_qtaguid resource tracking misc dev.
# This is needed by any process that uses socket tagging.
chmod 0644 /dev/xt_qtaguid
on fs
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
mount yaffs2 [email protected] /system
mount yaffs2 [email protected] /system ro remount
mount yaffs2 [email protected] /data nosuid nodev
mount yaffs2 [email protected] /cache nosuid nodev
on post-fs
# once everything is setup, no need to modify /
mount rootfs rootfs / ro remount
# We chown/chmod /cache again so because mount is run as root + defaults
chown system cache /cache
chmod 0771 /cache
# This may have been created by the recovery system with odd permissions
chown system cache /cache/recovery
chmod 0770 /cache/recovery
#change permissions on vmallocinfo so we can grab it from bugreports
chown root log /proc/vmallocinfo
chmod 0440 /proc/vmallocinfo
#change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
chown root system /proc/kmsg
chmod 0440 /proc/kmsg
chown root system /proc/sysrq-trigger
chmod 0220 /proc/sysrq-trigger
# create the lost+found directories, so as to enforce our permissions
mkdir /cache/lost+found 0770 root root
on post-fs-data
# We chown/chmod /data again so because mount is run as root + defaults
chown system system /data
chmod 0771 /data
# Create dump dir and collect dumps.
# Do this before we mount cache so eventually we can use cache for
# storing dumps on platforms which do not have a dedicated dump partition.
mkdir /data/dontpanic 0750 root log
# Collect apanic data, free resources and re-arm trigger
copy /proc/apanic_console /data/dontpanic/apanic_console
chown root log /data/dontpanic/apanic_console
chmod 0640 /data/dontpanic/apanic_console
copy /proc/apanic_threads /data/dontpanic/apanic_threads
chown root log /data/dontpanic/apanic_threads
chmod 0640 /data/dontpanic/apanic_threads
write /proc/apanic_console 1
# create basic filesystem structure
mkdir /data/misc 01771 system misc
mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
mkdir /data/misc/bluetooth 0770 system system
mkdir /data/misc/keystore 0700 keystore keystore
mkdir /data/misc/keychain 0771 system system
mkdir /data/misc/vpn 0770 system vpn
mkdir /data/misc/systemkeys 0700 system system
# give system access to wpa_supplicant.conf for backup and restore
mkdir /data/misc/wifi 0770 wifi wifi
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
mkdir /data/local 0751 root root
# For security reasons, /data/local/tmp should always be empty.
# Do not place files or directories in /data/local/tmp
mkdir /data/local/tmp 0771 shell shell
mkdir /data/data 0771 system system
mkdir /data/app-private 0771 system system
mkdir /data/app-asec 0700 root root
mkdir /data/app 0771 system system
mkdir /data/property 0700 root root
mkdir /data/ssh 0750 root shell
mkdir /data/ssh/empty 0700 root root
mkdir /data/radio 0770 radio radio
# create dalvik-cache and double-check the perms, so as to enforce our permissions
mkdir /data/dalvik-cache 0771 system system
chown system system /data/dalvik-cache
chmod 0771 /data/dalvik-cache
# create resource-cache and double-check the perms
mkdir /data/resource-cache 0771 system system
chown system system /data/resource-cache
chmod 0771 /data/resource-cache
# create the lost+found directories, so as to enforce our permissions
mkdir /data/lost+found 0770 root root
# create directory for DRM plug-ins - give drm the read/write access to
# the following directory.
mkdir /data/drm 0770 drm drm
# If there is no fs-post-data action in the init.<device>.rc file, you
# must uncomment this line, otherwise encrypted filesystems
# won't work.
# Set indication (checked by vold) that we have finished this action
#setprop vold.post_fs_data_done 1
# Include extra init file
import /init.cm.rc
on boot
# basic network init
ifup lo
hostname localhost
domainname localdomain
# set RLIMIT_NICE to allow priorities from 19 to -20
setrlimit 13 40 40
# Memory management. Basic kernel parameters, and allow the high
# level system server to be able to adjust the kernel OOM driver
# parameters to match how it is managing things.
write /proc/sys/vm/overcommit_memory 1
write /proc/sys/vm/min_free_order_shift 4
chown root system /sys/module/lowmemorykiller/parameters/adj
chmod 0664 /sys/module/lowmemorykiller/parameters/adj
chown root system /sys/module/lowmemorykiller/parameters/minfree
chmod 0664 /sys/module/lowmemorykiller/parameters/minfree
# Tweak background writeout
write /proc/sys/vm/dirty_expire_centisecs 200
write /proc/sys/vm/dirty_background_ratio 5
# Permissions for System Server and daemons.
chown radio system /sys/android_power/state
chown radio system /sys/android_power/request_state
chown radio system /sys/android_power/acquire_full_wake_lock
chown radio system /sys/android_power/acquire_partial_wake_lock
chown radio system /sys/android_power/release_wake_lock
chown system system /sys/power/state
chown system system /sys/power/wakeup_count
chown radio system /sys/power/wake_lock
chown radio system /sys/power/wake_unlock
chmod 0660 /sys/power/state
chmod 0660 /sys/power/wake_lock
chmod 0660 /sys/power/wake_unlock
chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/timer_rate
chown system system /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
chown system system /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
chown system system /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
chown system system /sys/devices/system/cpu/cpufreq/interactive/boost
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/boost
chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse
chown system system /sys/devices/system/cpu/cpufreq/interactive/input_boost
chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/input_boost
# Assume SMP uses shared cpufreq policy for all CPUs
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown system system /sys/class/timed_output/vibrator/enable
chown system system /sys/class/leds/keyboard-backlight/brightness
chown system system /sys/class/leds/lcd-backlight/brightness
chown system system /sys/class/leds/button-backlight/brightness
chown system system /sys/class/leds/jogball-backlight/brightness
chown system system /sys/class/leds/red/brightness
chown system system /sys/class/leds/green/brightness
chown system system /sys/class/leds/blue/brightness
chown system system /sys/class/leds/red/device/grpfreq
chown system system /sys/class/leds/red/device/grppwm
chown system system /sys/class/leds/red/device/blink
chown system system /sys/class/leds/red/brightness
chown system system /sys/class/leds/green/brightness
chown system system /sys/class/leds/blue/brightness
chown system system /sys/class/leds/red/device/grpfreq
chown system system /sys/class/leds/red/device/grppwm
chown system system /sys/class/leds/red/device/blink
chown system system /sys/class/timed_output/vibrator/enable
chown system system /sys/module/sco/parameters/disable_esco
chown system system /sys/kernel/ipv4/tcp_wmem_min
chown system system /sys/kernel/ipv4/tcp_wmem_def
chown system system /sys/kernel/ipv4/tcp_wmem_max
chown system system /sys/kernel/ipv4/tcp_rmem_min
chown system system /sys/kernel/ipv4/tcp_rmem_def
chown system system /sys/kernel/ipv4/tcp_rmem_max
chown root radio /proc/cmdline
# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
setprop net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208
setprop net.tcp.buffersize.wifi 524288,1048576,2097152,262144,524288,1048576
setprop net.tcp.buffersize.lte 4096,87380,1220608,4096,16384,563200
setprop net.tcp.buffersize.umts 4096,87380,563200,4096,16384,110208
setprop net.tcp.buffersize.hspa 4096,87380,704512,4096,16384,110208
setprop net.tcp.buffersize.hsupa 4096,87380,704512,4096,16384,262144
setprop net.tcp.buffersize.hsdpa 4096,87380,704512,4096,16384,262144
setprop net.tcp.buffersize.hspap 4096,87380,1220608,4096,16384,393216
setprop net.tcp.buffersize.edge 4096,26280,35040,4096,16384,35040
setprop net.tcp.buffersize.gprs 4096,8760,11680,4096,8760,11680
setprop net.tcp.buffersize.evdo 4096,87380,563200,4096,16384,262144
setprop net.tcp.buffersize.evdo_b 4096,87380,704512,4096,16384,262144
# Set this property so surfaceflinger is not started by system_init
setprop system_init.startsurfaceflinger 0
# Run sysinit
exec /system/bin/sysinit
class_start core
class_start main
on nonencrypted
class_start late_start
on charger
class_start charger
on property:vold.decrypt=trigger_reset_main
class_reset main
on property:vold.decrypt=trigger_load_persist_props
load_persist_props
on property:vold.decrypt=trigger_post_fs_data
trigger post-fs-data
on property:vold.decrypt=trigger_restart_min_framework
class_start main
on property:vold.decrypt=trigger_restart_framework
class_start main
class_start late_start
on property:vold.decrypt=trigger_shutdown_framework
class_reset late_start
class_reset main
## Daemon processes to be run by init.
##
service ueventd /sbin/ueventd
class core
critical
service console /system/bin/sh
class core
console
disabled
user shell
group log
on property:ro.debuggable=1
start console
# adbd is controlled via property triggers in init.<platform>.usb.rc
service adbd /sbin/adbd
class core
disabled
# adbd on at boot in emulator
on property:ro.kernel.qemu=1
start adbd
service servicemanager /system/bin/servicemanager
class core
user system
group system
critical
onrestart restart zygote
onrestart restart media
onrestart restart surfaceflinger
onrestart restart drm
service vold /system/bin/vold
class core
socket vold stream 0660 root mount
ioprio be 2
service netd /system/bin/netd
class main
socket netd stream 0660 root system
socket dnsproxyd stream 0660 root inet
socket mdns stream 0660 root system
service debuggerd /system/bin/debuggerd
class main
service ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_r sdcard_rw qcom_oncrpc qcom_diag log
service surfaceflinger /system/bin/surfaceflinger
class main
user system
group graphics
onrestart restart zygote
service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
class main
socket zygote stream 660 root system
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
onrestart restart media
onrestart restart netd
service drm /system/bin/drmserver
class main
user drm
group drm system inet drmrpc sdcard_r
service media /system/bin/mediaserver
class main
user media
group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc qcom_diag
ioprio rt 4
service bootanim /system/bin/bootanimation
class main
user graphics
group graphics
disabled
oneshot
service dbus /system/bin/dbus-daemon --system --nofork
class main
socket dbus stream 660 bluetooth bluetooth
user bluetooth
group bluetooth net_bt_admin
service bluetoothd /system/bin/bluetoothd -n
class main
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let bluetoothd drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled
service installd /system/bin/installd
class main
socket installd stream 600 system system
service racoon /system/bin/racoon
class main
socket racoon stream 600 system system
# IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
group vpn net_admin inet
disabled
oneshot
service mtpd /system/bin/mtpd
class main
socket mtpd stream 600 system system
user vpn
group vpn net_admin inet net_raw
disabled
oneshot
service keystore /system/bin/keystore /data/misc/keystore
class main
user keystore
group keystore drmrpc
socket keystore stream 666
service dumpstate /system/bin/dumpstate -s
class main
socket dumpstate stream 0660 shell log
disabled
oneshot
service sshd /system/bin/start-ssh
class main
disabled
service mdnsd /system/bin/mdnsd
class main
user mdnsr
group inet net_raw
socket mdnsd stream 0660 mdnsr inet
disabled
oneshot
When I mount mmcblkp02 as /data "overwriting" existing one, there was much more free space in "storage" and in built-in application manager (bar at bottom of the screen), but most of apps crashes, or moment after that phone reboots.
Code:
mount -t ext2 -o rw,nosuid,nodev /dev/block/mmcblk0p2 /data
Also when I cd /data I was only seeing data from sd, and there wasn't data from internal memory. I try to copy internal data to sd cp /data/* /cache/jarek [jarek=mmcblk0p2 mount point]. but it still doesn't work after manual mount.
I read some posts and it's appear that I must change init.rc, which is overwrite on every shutdown, so to do that I need unpack recovery (boot.img), edit and repack, then upload. But than what? Probably there will problem with app's data that was in internal storage... ?
Questions:
1. is there any ready for use ROM with this feature?
2. is someone do something like this? is this work?
3. maybe it can't work and I shouldn't lose few more days on it, so tell me why? (technically only, I know I can just go buy new phone)
4. maybe I can extend existing /data with mmcblk0p2 instead swap this?
Jarek