[Android Q&A, Help & Troubleshooting] monster_inflxu6:
Hi, am trying to update the update-script for a cm10 zip file for a google nexus s,i have already installed CWM onto my device but i unfortunately cant get fastboot to recognize my tablet i must atleast confess its a chinese/tai tablet so there is little info on its maker but attached below are the dump from mobileodin and the update script i wish to update,any help will be appreciated,the points of confusion for me are what to change the mount points to,hopefully you guys more experienced can help me out.The tablet is actually called the Bpad exteme 1 but i doubt thats the real name,i have replaced the system folder in the meta_inf folder with my own to deal with missing drivers but i feel the update-script still need changing,but i was abit confusing on what to change it to,the system/ folder is usually mounted on the nandb and it has a 1gb internal sdcard where the sytem,data,cache folders are mounted,a 5gb internal sdcard for user apps and files and a external sdcard slot which is mounted on the nandk device block.

--------- mobile odin extract ----------------

----- getprop -----

[board.has_modem]: [true]

[dalvik.vm.heapgrowthlimit]: [48m]

[dalvik.vm.heapsize]: [256m]

[dalvik.vm.heapstartsize]: [5m]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

[debug.egl.hw]: [1]

[dev.bootcomplete]: [1]

[gsm.current.phone-type]: [1]

[gsm.defaultpdpcontext.active]: [false]

[gsm.operator.alpha]: []

[gsm.operator.iso-country]: [ng]

[gsm.operator.isroaming]: [false]

[gsm.operator.numeric]: [62120]

[gsm.sim.operator.alpha]: [Airtel NG]

[gsm.sim.operator.iso-country]: [ng]

[gsm.sim.operator.numeric]: [62120]

[gsm.sim.state]: [READY]

[gsm.version.ril-impl]: [android broncho-ril 1.0]

[hwui.render_dirty_regions]: [false]

[init.svc.adbd]: [running]

[init.svc.bluetoothd]: [running]

[init.svc.bootanim]: [stopped]

[init.svc.console]: [running]

[init.svc.data-daemon]: [running]

[init.svc.dbus]: [running]

[init.svc.debuggerd]: [running]

[init.svc.drm]: [running]

[init.svc.gsmmux-daemon]: [running]

[init.svc.hciattach]: [running]

[init.svc.installd]: [running]

[init.svc.keystore]: [running]

[init.svc.media]: [running]

[init.svc.netd]: [running]

[init.svc.pppd_gprs]: [stopped]

[init.svc.preinstall]: [stopped]

[init.svc.ril-daemon]: [running]

[init.svc.servicemanager]: [running]

[init.svc.surfaceflinger]: [running]

[init.svc.u3gmonitor]: [running]

[init.svc.vold]: [running]

[init.svc.zygote]: [running]

[net.bt.name]: [Android]

[net.change]: [net.dnschange]

[net.dns1]: [192.168.175.145]

[net.dns2]: [141.1.1.1]

[net.dnschange]: [1]

[net.gprs.authtype]: [noauth]

[net.gprs.device]: [/dev/data0]

[net.gprs.number]: []

[net.gprs.password]: []

[net.gprs.ppp-exit]: []

[net.gprs.user]: []

[net.hostname]: [android-4438c5a4bae9be4a]

[net.interfaces.defaultroute]: [gprs]

[net.ppp0.dns1]: [192.168.175.145]

[net.ppp0.dns2]: [141.1.1.1]

[net.ppp0.local-ip]: [10.54.228.134]

[net.ppp0.remote-ip]: [10.54.228.135]

[net.qtaguid_enabled]: [1]

[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]

[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]

[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]

[net.tcp.buffersize.hspa]: [4094,87380,262144,4096,16384,262144]

[net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]

[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]

[net.tcp.buffersize.wifi]: [524288,1048576,2097152,262144,524288,1048576]

[persist.sampling_profiler]: [1]

[persist.sys.country]: [US]

[persist.sys.language]: [en]

[persist.sys.profiler_ms]: [0]

[persist.sys.strictmode.disable]: [1]

[persist.sys.strictmode.visual]: [0]

[persist.sys.timezone]: [Africa/Brazzaville]

[persist.sys.usb.config]: [mass_storage,adb]

[ro.allow.mock.location]: [1]

[ro.baseband]: [m1190_gsm]

[ro.board.platform]: [exDroid]

[ro.bootloader]: [unknown]

[ro.bootmode]: [unknown]

[ro.broncho.BT]: [5875y]

[ro.broncho.CAM]: [dou]

[ro.broncho.GPS]: [n]

[ro.broncho.MOT]: [y]

[ro.broncho.id]: [A088_V1.0.3_20121019_r412+4-6ffb600]

[ro.build.characteristics]: [tablet]

[ro.build.date.utc]: [1350619472]

[ro.build.description]: [A088_V1.0.3_20121019_r412+4-6ffb600]

[ro.build.display.id]: [Ubuntu-L26-20121020]

[ro.build.fingerprint]: [softwinners/crane_a088/crane-a088:4.0.4/IMM76D/20121019:eng/test-keys]

[ro.build.host]: [brn-guohuaichao]

[ro.build.id]: [IMM76D]

[ro.build.product]: [crane-a088]

[ro.build.tags]: [test-keys]

[ro.build.type]: [eng]

[ro.build.user]: [guohuaichao]

[ro.build.version.codename]: [REL]

[ro.build.version.incremental]: [20121019]

[ro.build.version.release]: [4.0.4]

[ro.build.version.sdk]: [15]

[ro.carrier]: [unknown]

[ro.com.android.dateformat]: [MM-dd-yyyy]

[ro.config.alarm_alert]: [Alarm_Classic.ogg]

[ro.config.notification_sound]: [pixiedust.ogg]

[ro.config.ringtone]: [Ring_Synth_04.ogg]

[ro.crypto.fs_flags]: [0x00000406]

[ro.crypto.fs_mnt_point]: [/data]

[ro.crypto.fs_options]: [barrier=0]

[ro.crypto.fs_real_blkdev]: [/dev/block/nande]

[ro.crypto.fs_type]: [ext4]

[ro.crypto.state]: [unencrypted]

[ro.debuggable]: [1]

[ro.display.switch]: [1]

[ro.factorytest]: [0]

[ro.hardware]: [sun4i]

[ro.kernel.android.checkjni]: [0]

[ro.opengles.version]: [131072]

[ro.product.board]: [crane]

[ro.product.brand]: [softwinners]

[ro.product.cpu.abi2]: [armeabi]

[ro.product.cpu.abi]: [armeabi-v7a]

[ro.product.device]: [crane-a088]

[ro.product.firmware]: [1.4rc2]

[ro.product.locale.language]: [en]

[ro.product.locale.region]: [US]

[ro.product.manufacturer]: [unknown]

[ro.product.model]: [L26]

[ro.product.name]: [crane_a088]

[ro.property.tabletUI]: [true]

[ro.revision]: [0]

[ro.runtime.firstboot]: [1352282990251]

[ro.secure]: [0]

[ro.serialno]: []

[ro.setupwizard.mode]: [OPTIONAL]

[ro.udisk.lable]: [crane-L26]

[ro.wifi.channels]: []

[rw.bluetooth.status]: [0]

[sys.boot_completed]: [1]

[sys.settings_system_version]: [2]

[sys.usb.config]: [mass_storage,adb]

[sys.usb.state]: [mass_storage,adb]

[system.modem.pid]: [64]

[system.modem.vid]: [3727]

[system_init.startsurfaceflinger]: [0]

[wifi.interface]: [wlan0]

[wifi.supplicant_scan_interval]: [15]

----- env -----

_=/system/bin/env

ANDROID_BOOTLOGO=1

ANDROID_PROPERTY_WORKSPACE=8,32768

LOOP_MOUNTPOINT=/mnt/obb

EXTERNAL_STORAGE=/mnt/sdcard

ANDROID_DATA=/data

RANDOM=30923

ANDROID_SOCKET_zygote=9

ASEC_MOUNTPOINT=/mnt/asec

BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar

ANDROID_ROOT=/system

ANDROID_ASSETS=/system/app

PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

----- mount -----

rootfs / rootfs rw 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 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

/dev/block/nandd /system ext4 rw,nodev,noatime,user_xattr,barrier=0,data=ordered 0 0

/dev/block/nande /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=0,journal_checksum,data=ordered,noauto_da_alloc 0 0

/dev/block/nandh /cache ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=0,journal_checksum,data=ordered,noauto_da_alloc 0 0

/dev/block/vold/179:1 /mnt/extsd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,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=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/extsd/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

/dev/block/vold/93:81 /mnt/sdcard/93_81 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/93:81 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/93_81/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

/dev/block/vold/93:83 /mnt/sdcard/93_83 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/93:83 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/93_83/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

----- df -----

Filesystem Size Used Free Blksize

/dev 153M 44K 153M 4096

/mnt/asec 153M 0K 153M 4096

/mnt/obb 153M 0K 153M 4096

/system 377M 266M 111M 4096

/data 1007M 101M 906M 4096

/cache 251M 4M 247M 4096

/mnt/extsd 29G 17G 12G 16384

/mnt/secure/asec 1G 20K 1G 4096

/mnt/sdcard/93_81 199M 12K 199M 4096

/mnt/secure/asec 1G 20K 1G 4096

/mnt/sdcard/93_83 1G 20K 1G 4096

/mnt/secure/asec 1G 20K 1G 4096

----- df -h -----

Filesystem Size Used Free Blksize

----- /sdcard/ -----

drwxrwxrwx system sdcard_rw 1970-01-01 01:00 93_81

drwxrwxrwx system sdcard_rw 1970-01-01 01:00 93_83

drwxrwxrwx app_46 system 2012-11-07 11:22 Android

-rw-rw-rw- root root 8519 2012-11-07 12:42 mobileodin.txt

----- /sdcard/external_sd/ -----

----- /dev/block -----

brw------- root root 7, 0 2012-11-07 11:09 loop0

brw------- root root 7, 1 2012-11-07 11:09 loop1

brw------- root root 7, 2 2012-11-07 11:09 loop2

brw------- root root 7, 3 2012-11-07 11:09 loop3

brw------- root root 7, 4 2012-11-07 11:09 loop4

brw------- root root 7, 5 2012-11-07 11:09 loop5

brw------- root root 7, 6 2012-11-07 11:09 loop6

brw------- root root 7, 7 2012-11-07 11:09 loop7

brw------- root root 179, 0 2012-11-07 11:09 mmcblk0

brw------- root root 179, 1 2012-11-07 11:09 mmcblk0p1

brw------- root root 93, 0 2012-11-07 11:09 nanda

brw------- root root 93, 8 2012-11-07 11:09 nandb

brw------- root root 93, 16 2012-11-07 11:09 nandc

brw------- root root 93, 24 2012-11-07 11:09 nandd

brw------- root root 93, 32 2012-11-07 11:09 nande

brw-rw-rw- system system 93, 40 2012-11-07 11:09 nandf

brw------- root root 93, 48 2012-11-07 11:09 nandg

brw------- root root 93, 56 2012-11-07 11:09 nandh

brw------- root root 93, 64 2012-11-07 11:09 nandi

brw------- root root 93, 72 2012-11-07 11:09 nandj

brw------- root root 93, 80 2012-11-07 11:09 nandk

brw------- root root 93, 81 2012-11-07 11:09 nandk1

brw------- root root 93, 82 2012-11-07 11:09 nandk2

brw------- root root 93, 83 2012-11-07 11:09 nandk3

drwxr-xr-x root root 2012-11-07 11:09 platform

brw------- root root 1, 0 2012-11-07 11:09 ram0

brw------- root root 1, 1 2012-11-07 11:09 ram1

drwxr-xr-x root root 2012-11-07 11:09 vold

----- /dev/block/mmcblk0p -----

-------- update-script ----- from CM10 zip

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");

package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");

set_perm(0, 0, 0777, "/tmp/backuptool.sh");

set_perm(0, 0, 0644, "/tmp/backuptool.functions");

run_program("/tmp/backuptool.sh", "backup");

unmount("/system");

show_progress(0.500000, 0);

format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0", "/system");

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");

package_extract_dir("system", "/system");

symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");

symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");

symlink("busybox", "/system/xbin/[", "/system/xbin/[[",

"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",

"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",

"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",

"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",

"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",

"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",

"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",

"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",

"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",

"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",

"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",

"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",

"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",

"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",

"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",

"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",

"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",

"/system/xbin/flash_lock", "/system/xbin/flash_unlock",

"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",

"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",

"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",

"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",

"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",

"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",

"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",

"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",

"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",

"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",

"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",

"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",

"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",

"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",

"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",

"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",

"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",

"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",

"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",

"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",

"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",

"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",

"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",

"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",

"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",

"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",

"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",

"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",

"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",

"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",

"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",

"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",

"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",

"/system/xbin/sha256sum", "/system/xbin/sha512sum",

"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",

"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",

"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",

"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",

"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",

"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",

"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",

"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",

"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",

"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",

"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",

"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",

"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",

"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",

"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",

"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",

"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",

"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",

"/system/xbin/zcat");

symlink("mksh", "/system/bin/sh");

symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",

"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",

"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",

"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",

"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",

"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",

"/system/bin/kill", "/system/bin/ln", "/system/bin/log",

"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",

"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",

"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",

"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",

"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",

"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",

"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",

"/system/bin/sendevent", "/system/bin/setconsole",

"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",

"/system/bin/start", "/system/bin/stop", "/system/bin/sync",

"/system/bin/top", "/system/bin/touch", "/system/bin/umount",

"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",

"/system/bin/wipe");

set_perm_recursive(0, 0, 0755, 0644, "/system");

set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

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_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");

set_perm(0, 0, 0755, "/system/etc/init.d");

set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm(0, 2000, 0755, "/system/vendor");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");

set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");

set_perm(0, 2000, 0755, "/system/vendor/firmware");

set_perm(0, 2000, 0755, "/system/vendor/lib");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");

set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");

set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");

set_perm(0, 0, 0644, "/system/vendor/lib/hw/power.grouper.so");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

set_perm(0, 0, 06755, "/system/xbin/librank");

set_perm(0, 0, 06755, "/system/xbin/procmem");

set_perm(0, 0, 06755, "/system/xbin/procrank");

set_perm(0, 0, 06755, "/system/xbin/su");

show_progress(0.200000, 0);

show_progress(0.200000, 10);

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");

package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");

set_perm(0, 0, 0777, "/tmp/backuptool.sh");

set_perm(0, 0, 0644, "/tmp/backuptool.functions");

run_program("/tmp/backuptool.sh", "restore");

delete("/system/bin/backuptool.sh");

delete("/system/bin/backuptool.functions");

package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");

set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");

run_program("/tmp/modelid_cfg.sh", "");

show_progress(0.200000, 10);

package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX");

show_progress(0.100000, 0);

unmount("/system");