First off, yes, I know 4.1.1 source has been released. Unfortunately for us, nobody has yet to release a built-from-source (or any release for that matter) Android 4.1.1 JellyBean. I'm running it on my Kindle Fire and I'm REALLY enjoying it and was hoping to get it up and running for our SGS3. I've been speaking to fcortes626 on and off for the last week or so as he was trying to port this when tonight I got bored and decided I'd take a stab at it.
Over the last ~4 hours, I've tried the following:
Using Android Kernel Kitchen
Code:
Extract boot.img (from latest Faux CM9 kernel)
Extract boot.img (from bigxie_maguro_OTA_JRO03C-signed **deodex SDK Dump For GNexus**)
[B]Moved from Faux ramdisk-contents to JB ramdisk-contents[/B]
init.qcom.lpm_boot.sh
init.qcom.rc
int.qcom.sh
int.qcom.usb.rc
int.qcom.usb.sh
[B]Deleted "tuna" (GNexus) Files from JB ramdisk-contents[/B]
fstab.tuna
init.tuna.rc
init.tuna.usb.rc
[B]Rebuilding boot.img[/B] [I](tried different methods)[/I]
Pack Ramdisk (produces initrd.img file which contains the ramdisk-contents)
1) Build Kernel using CM9 config file (using modified initrd.img/CM9 zImage) [B]BUILD ERROR[/B] [I]androidboot.hardware=qcom: command not found)[/I]
2)Build Kernel using CM9 config file (using modified initrd.img/JB zImage) [B]SAME ERROR AS ABOVE[/B]
3) Build Kernel using JB config file (using modified initrd.img/JB zImage) [B]NO BUILD ERROR[/B]
/system/ Modifications
Code:
[B]Using bigxie_maguro_OTA_JRO03C-signed as base/cm-9-20120713-NIGHTLY-d2tmo for proper files[/B]
Deleted /system/etc/bluetooth (folder)
-Replaced from Nightly
Deleted /system/etc/wifi (folder)
-Replaced from Nightly
Deleted /system/etc/ppp (folder)
-Replaced from Nightly
Deleted /system/etc/gps (file)
-Replaced from Nightly
Copied over /system/lib/egl (folder)
Copied over /system/lib/modules (folder)
Deleted /system/lib/hw (files) specific to GNexus (labeled Tuna)
-Replaced from nightly (all with labels msm8960)
Deleted /system/usr/keychars & keylayout (folders)
-Replaced from nightly
Changed build.prop To Match Phone
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=IMM76L
ro.build.display.id=rumBean_SDK_Port
ro.build.version.incremental=Test_4
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.1
ro.build.date=Wed Jul 4 21:29:44 UTC 2012
ro.build.date.utc=1341437384
ro.build.type=user
ro.build.user=android-build
ro.build.host=vpba14.mtv.corp.google.com
ro.build.tags=release-keys
ro.product.model=SGH-T999
ro.product.brand=samsung
ro.product.name=d2tmo
ro.product.device=d2tmo
ro.product.board=MSM8960
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=msm8960
# ro.build.product is obsolete; use ro.product.device
ro.build.product=d2tmo
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=samsung/d2tmo/d2tmo:4.0.4/IMM76D/T999UVALEM:user/release-keys
ro.build.fingerprint=d2tmo-user 4.0.4 IMM76D T999UVALEM release-keys
ro.build.characteristics=default
ro.cm.device=d2tmo
# end build properties
# system.prop for SGH-T999
#
# system.prop for maguro
#
rild.libpath=/vendor/lib/libsec-ril.so
rild.libargs=-d /dev/ttys0
telephony.lteOnCdmaDevice=0
# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
ro.telephony.call_ring.multiple=0
#
# ADDITIONAL_BUILD_PROPERTIES
#
wifi.interface=wlan0
media.aac_51_output_enabled=true
ro.opengles.version=131072
ro.sf.lcd_density=320
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
ro.config.ringtone=Themos.ogg
ro.config.notification_sound=Proxima.ogg
ro.config.alarm_alert=Cesium.ogg
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
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.google.clientidbase=android-google
ro.carrier=unknown
ro.com.android.wifi-watchlist=GoogleGuest
ro.error.receiver.system.apps=com.google.android.feedback
ro.setupwizard.enterprise_mode=1
keyguard.no_require_sim=true
drm.service.enabled=true
ro.facelock.black_timeout=1250
ro.facelock.det_timeout=1500
ro.facelock.rec_timeout=2500
ro.facelock.lively_timeout=2500
ro.facelock.est_max_time=1000
ro.facelock.use_intro_anim=true
camera.flash_off=0
ro.com.google.mcc_fallback=262
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
Updater-Script
Code:
ui_print("");
ui_print("###################################################");
ui_print("################JellyBean SDK Port##################");
ui_print("###########Brought To You By: uoY_redruM############");
ui_print("####################################################");
ui_print("");
run_program("/sbin/mount", "/cache");
show_progress(0.500000, 0);
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p14", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
show_progress(0.500000, 80);
ui_print("Installing system ...");
package_extract_dir("system", "/system");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
symlink("/system/xbin/busybox", "/system/bin/busybox");
ui_print("Simlinking ...");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/acpid");
symlink("busybox", "/system/xbin/addgroup");
symlink("busybox", "/system/xbin/adduser");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/ar");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/arping");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/beep");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/bootchartd");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/chat");
symlink("busybox", "/system/xbin/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chpasswd");
symlink("busybox", "/system/xbin/chpst");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/chrt");
symlink("busybox", "/system/xbin/chvt");
symlink("busybox", "/system/xbin/cksum");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/conspy");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
symlink("busybox", "/system/xbin/cryptpw");
symlink("busybox", "/system/xbin/cttyhack");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/deallocvt");
symlink("busybox", "/system/xbin/delgroup");
symlink("busybox", "/system/xbin/deluser");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/dhcprelay");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/dnsdomainname");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/dpkg");
symlink("busybox", "/system/xbin/dpkg-deb");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/dumpkmap");
symlink("busybox", "/system/xbin/dumpleases");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/eject");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/envdir");
symlink("busybox", "/system/xbin/envuidgid");
symlink("busybox", "/system/xbin/ether-wake");
symlink("busybox", "/system/xbin/expand");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/fakeidentd");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/fbset");
symlink("busybox", "/system/xbin/fbsplash");
symlink("busybox", "/system/xbin/fdflush");
symlink("busybox", "/system/xbin/fdformat");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/fgconsole");
symlink("busybox", "/system/xbin/fgrep");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/findfs");
symlink("busybox", "/system/xbin/flash_eraseall");
symlink("busybox", "/system/xbin/flash_lock");
symlink("busybox", "/system/xbin/flash_unlock");
symlink("busybox", "/system/xbin/flashcp");
symlink("busybox", "/system/xbin/flock");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/fsck");
symlink("busybox", "/system/xbin/fsck.minix");
symlink("busybox", "/system/xbin/fsync");
symlink("busybox", "/system/xbin/ftpd");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/getty");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/hdparm");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/hostid");
symlink("busybox", "/system/xbin/hostname");
symlink("busybox", "/system/xbin/httpd");
symlink("busybox", "/system/xbin/hush");
symlink("busybox", "/system/xbin/hwclock");
symlink("busybox", "/system/xbin/ifdown");
symlink("busybox", "/system/xbin/ifenslave");
symlink("busybox", "/system/xbin/ifplugd");
symlink("busybox", "/system/xbin/ifup");
symlink("busybox", "/system/xbin/inetd");
symlink("busybox", "/system/xbin/init");
symlink("busybox", "/system/xbin/inotifyd");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/ipaddr");
symlink("busybox", "/system/xbin/ipcalc");
symlink("busybox", "/system/xbin/ipcrm");
symlink("busybox", "/system/xbin/ipcs");
symlink("busybox", "/system/xbin/iplink");
symlink("busybox", "/system/xbin/iproute");
symlink("busybox", "/system/xbin/iprule");
symlink("busybox", "/system/xbin/iptunnel");
symlink("busybox", "/system/xbin/kbd_mode");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/klogd");
symlink("busybox", "/system/xbin/last");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/linux32");
symlink("busybox", "/system/xbin/linux64");
symlink("busybox", "/system/xbin/linuxrc");
symlink("busybox", "/system/xbin/loadfont");
symlink("busybox", "/system/xbin/loadkmap");
symlink("busybox", "/system/xbin/logger");
symlink("busybox", "/system/xbin/login");
symlink("busybox", "/system/xbin/logname");
symlink("busybox", "/system/xbin/logread");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/lpd");
symlink("busybox", "/system/xbin/lpq");
symlink("busybox", "/system/xbin/lpr");
symlink("busybox", "/system/xbin/lsattr");
symlink("busybox", "/system/xbin/lspci");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/lzcat");
symlink("busybox", "/system/xbin/lzma");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/makedevs");
symlink("busybox", "/system/xbin/makemime");
symlink("busybox", "/system/xbin/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mdev");
symlink("busybox", "/system/xbin/mesg");
symlink("busybox", "/system/xbin/microcom");
symlink("busybox", "/system/xbin/mkdosfs");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/mkfs.minix");
symlink("busybox", "/system/xbin/mkfs.reiser");
symlink("busybox", "/system/xbin/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/mkpasswd");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/modinfo");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mt");
symlink("busybox", "/system/xbin/nameif");
symlink("busybox", "/system/xbin/nc");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/nmeter");
symlink("busybox", "/system/xbin/nohup");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/openvt");
symlink("busybox", "/system/xbin/passwd");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ping6");
symlink("busybox", "/system/xbin/pipe_progress");
symlink("busybox", "/system/xbin/pivot_root");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/popmaildir");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/pscan");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/raidautorun");
symlink("busybox", "/system/xbin/rdate");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/readprofile");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/reformime");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/resize");
symlink("busybox", "/system/xbin/rev");
symlink("busybox", "/system/xbin/rpm");
symlink("busybox", "/system/xbin/rpm2cpio");
symlink("busybox", "/system/xbin/rtcwake");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/runlevel");
symlink("busybox", "/system/xbin/runsv");
symlink("busybox", "/system/xbin/runsvdir");
symlink("busybox", "/system/xbin/rx");
symlink("busybox", "/system/xbin/script");
symlink("busybox", "/system/xbin/scriptreplay");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/sendmail");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setarch");
symlink("busybox", "/system/xbin/setfont");
symlink("busybox", "/system/xbin/setkeycodes");
symlink("busybox", "/system/xbin/setlogcons");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/setuidgid");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/showkey");
symlink("busybox", "/system/xbin/slattach");
symlink("busybox", "/system/xbin/smemcap");
symlink("busybox", "/system/xbin/softlimit");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/start-stop-daemon");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/sulogin");
symlink("busybox", "/system/xbin/sum");
symlink("busybox", "/system/xbin/sv");
symlink("busybox", "/system/xbin/svlogd");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/switch_root");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/syslogd");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/taskset");
symlink("busybox", "/system/xbin/tcpsvd");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/telnetd");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/tftpd");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/timeout");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/traceroute6");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/tty");
symlink("busybox", "/system/xbin/ttysize");
symlink("busybox", "/system/xbin/tunctl");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/ubiattach");
symlink("busybox", "/system/xbin/ubidetach");
symlink("busybox", "/system/xbin/udhcpc");
symlink("busybox", "/system/xbin/udhcpd");
symlink("busybox", "/system/xbin/udpsvd");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/uncompress");
symlink("busybox", "/system/xbin/unexpand");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/unlzma");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/unxz");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/usleep");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/vconfig");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/vlock");
symlink("busybox", "/system/xbin/volname");
symlink("busybox", "/system/xbin/wall");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/watchdog");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/which");
symlink("busybox", "/system/xbin/who");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("busybox", "/system/xbin/zcip");
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("mksh", "/system/bin/sh");
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/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm(0, 2000, 0777, "/system/etc/install-recovery.sh");
set_perm(0, 2000, 0755, "/system/bin/sysinit");
set_perm(0, 2000, 0777, "/system/xbin/run-parts");
set_perm_recursive(0, 0, 0777, 0777, "system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.qcom.post_boot.sh");
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_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.100000, 0);
ui_print("Flashing kernel ...");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p7"),
delete("/tmp/boot.img"));
unmount("/system");
ui_print(" ");
The end result is a successful flash...."that's one small step for man".....reboot phone, flashes Samsung image on screen, then black screen which never goes further...."one giant face palm for wasted time"....
I tried running logcat, even though I don't know how to decipher it lol, but it says device is not running. Oddly, though, you have to hold power button down to get it to vibrate back to showing the battery charging (assuming you have USB plugged in) briefly then back to black screen. Holding Power+Home+Vol-Up will get you back to recovery (sometime have to do it a few times before it picks it up) so you can restore your Nandroid.
So....................................
If anybody is interested in lending a hand, or advice, post here or shoot me a PM. I'm uploading everything I'm using to a DropBox folder which I can invite you to so you have access to the resources directly. Can GTalk if needed too.
I'm off for the night, so if I don't answer that's why.
Lets see if we can get this bad boy booted up!!
Reserved
Wow, you did a lot in 4 hours!
Sent from my SGH-T999 using xda premium
Added the updater-script to the OP.
I was laying in bed and thought about it, and I didn't really go through the updater-script at all. A lot of those bin files that are addressed in the script might not be there now. I don't know a WHOLE lot about updater-scripts still, so I don't know if that'll effect anything to the point that it won't boot properly.
Anyway, hope to draw some interest for tomorrow.
Wife and son are going to visit grandma and I'll be sitting at home with nothing but free time!:victory:
Hi redruM,
I am eager to lend a hand, doesn't have much exp. building roms, but years of exp. with Unix, C and Java. Let me know if I can be of any help..
Hey guys. Don't mean to rain on any parades,but doesn't it make more sense to spend time working from aosp instead of SDK? In any case I am excited to see anything jelly bean related!
Markdental said:
Hey guys. Don't mean to rain on any parades,but doesn't it make more sense to spend time working from aosp instead of SDK? In any case I am excited to see anything jelly bean related!
Click to expand...
Click to collapse
I'd love to but I don't have Linux and I don't know goes to build from source..
Sent from my SGH-T999 using xda premium
uoY_redruM said:
I'd love to but I don't have Linux and I don't know goes to build from source..
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
If you check out either aokp or GNex forums, there are guides with very thorough how-to's for building from source. But you do need Linux.
(from my phone)
Jaxidian said:
If you check out either aokp or GNex forums, there are guides with very thorough how-to's for building from source. But you do need Linux.
(from my phone)
Click to expand...
Click to collapse
Cate to link? I've between installing Ubuntu and syncing the recent repose ALL day (still going). Search function on XDA app sucks and pc is bogged down by this sync.
Found a few guides but they're kind of general use..not specific to JB.
Sent from my SGH-T999 using xda premium
http://www.xda-developers.com/android/compile-android-4-1-jelly-bean-from-source/
That should help.
Just wanted to know if development is still rolling on this, just came from a HTC sensation and the day I sold it a mostly working 4.1 rom came out ;p
Sent from my SGH-T999 using xda app-developers app
cyanogendroid said:
Just wanted to know if development is still rolling on this, just came from a HTC sensation and the day I sold it a mostly working 4.1 rom came out ;p
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
I know he spent almost all day and night working on this.
Sent from my SGH-T999 using Tapatalk 2
Serious_Beans said:
http://www.xda-developers.com/android/compile-android-4-1-jelly-bean-from-source/
That should help.
Click to expand...
Click to collapse
For fun and a learning experience I've been trying to compile JB from source for our phone but every build error I fix seems to lead to another one. Hopefully persistence will pay off and ill at least get it to finish the build. Anyone else have any luck getting it to finish building?
Sent from one of my Galaxies
skyhigh2004 said:
For fun and a learning experience I've been trying to compile JB from source for our phone but every build error I fix seems to lead to another one. Hopefully persistence will pay off and ill at least get it to finish the build. Anyone else have any luck getting it to finish building?
Sent from one of my Galaxies
Click to expand...
Click to collapse
Oh HELL YES!
https://plus.google.com/117962666888533781522/posts/DPSbzH3kNfh
Ecliptical said:
Oh HELL YES!
https://plus.google.com/117962666888533781522/posts/DPSbzH3kNfh
Click to expand...
Click to collapse
Ok this really excites me.
Sent from my SGH-T999 using xda app-developers app
That's a sexy photo...
Sent from my SGH-T999 using Tapatalk 2
Cool:thumbup:
Sent from my SGH-T999 Galaxy S III using XDA Premium
Boy am I grateful to see someone else doing it.
I spent my entire weekend just trying to SET UP to build from source. It ended up being a complete waste of time.
I set up Ubuntu 12.04 (I believe it was) and the MAX disk space you can allot is 30GB. I did that and at the VERY END of my repo sync, it failed because I ran out of disk space.
So.....wasted a whole lot of time.
I really wanted to learn but it looks like I'll have to step aside and let the professionals do it.
Sorry guys
uoY_redruM said:
Boy am I grateful to see someone else doing it.
I spent my entire weekend just trying to SET UP to build from source. It ended up being a complete waste of time.
I set up Ubuntu 12.04 (I believe it was) and the MAX disk space you can allot is 30GB. I did that and at the VERY END of my repo sync, it failed because I ran out of disk space.
So.....wasted a whole lot of time.
I really wanted to learn but it looks like I'll have to step aside and let the professionals do it.
Sorry guys
Click to expand...
Click to collapse
Your efforts are appreciated, time to relax and enjoy your phone!
Sent from my SGH-T999 using Tapatalk 2
uoY_redruM said:
Boy am I grateful to see someone else doing it.
I spent my entire weekend just trying to SET UP to build from source. It ended up being a complete waste of time.
I set up Ubuntu 12.04 (I believe it was) and the MAX disk space you can allot is 30GB. I did that and at the VERY END of my repo sync, it failed because I ran out of disk space.
So.....wasted a whole lot of time.
I really wanted to learn but it looks like I'll have to step aside and let the professionals do it.
Sorry guys
Click to expand...
Click to collapse
Damn dude that sucks use ubuntu 10.04 http://source.android.com/source/initializing.html
I did the same Damn thing
Thanks for all you hard work
Sent from my SGH-T999 using xda premium
Related
Updater-Script Not Working!!! Help!
If someone with much more knowledge can look over this ROM, and let me know what looks messed up, it will be greatly appreciated.
Thanks
FreshFroyo 1.0
*Stock Froyo ROM
*All bloatware removed
*Custom Boot Animation
*Incorporated G2-Fast 1.8Ghz Kernel from flippy
This ROM is the stock, post-OTA ROM for the G2. It has been modified by removing all bloatware, incorporating a 1.8Ghz overclocking kernel, and adding a custom boot animation.
Still to come:
*Custom Splash Image
*Much More
INSTALL INSTRUCTIONS:
To flash this ROM, you will need ClockWorkMod Recovery, or any Froyo compatible recovery for the G2.
1. Download ClockworkMod Recovery.
2. Boot into recovery
5. Perform a full Data/Cache/Dalvik Cache wipe!!!
6. Install Zip from SD Card
Link: http://www.megaupload.com/?d=4M5OS4F5
Are you using the 3.0.0.5 recovery, via ROM Manager, or the old one that was floating around? Using the newest one from RM, I've had no trouble flashing 2.2 ROMs of any sort. I'll DL this and test tomorrow, but by them I'm sure someone (or yourself) will have tried it. See if it works with that new recovery though
dictionary said:
Are you using the 3.0.0.5 recovery, via ROM Manager, or the old one that was floating around? Using the newest one from RM, I've had no trouble flashing 2.2 ROMs of any sort. I'll DL this and test tomorrow, but by them I'm sure someone (or yourself) will have tried it. See if it works with that new recovery though
Click to expand...
Click to collapse
I'm using the official 3.0.0.5 from Rom Manager. I think my updater-script file may be wrong, if someone could review it and let me know, it would be greatly appreciated.
Gotcha. If nobody has checked by tomorrow (it's 1:05 am here and I'm about to called it a night), I'll check for you.
Come from Virtuous Sense Froyo ROM,then did a Full Wipe
and flashed this ROM.
But after reboot I`m still on Virtuous ROM
I have the latest 3.0.0.5 recovery too.
Sounds like the updater script. I'm definitely not going to downgrade recoveries though, lol. Maybe someone lurking around with 2.5.1.x can give it a shot for him.
Yes,think too,seems the updater-script.
Tried it manually,mount system,mount data via recovery,but now
stuck on T-Mobile G2 splash image.
Ganii said:
Yes,think too,seems the updater-script.
Tried it manually,mount system,mount data via recovery,but now
stuck on T-Mobile G2 splash image.
Click to expand...
Click to collapse
I'll look at the updater-script in the morning. I am calling it a night. Feel free to tear the ROM apart and troubleshoot if you want.
Sent from my HTC Vision using XDA App
just installed it, no problems on my end
BTW im on 2.5.1.3 recovery
How's it run? Let it settle in a little, an then can you give a real world feel? I don't care for synthetic benchmarks like Quadrant and Linpack. They may yield great numbers, and the phone is sluggish. Or, they may yield horrible results, but the phone FLIES, lol. Just want to get actual user experience, if you could. Oh, and clock speed you're set at.
Ok, this is kind of weird. I did a fresh wipe and installed the ROM, but it still had some of my old setting from my previous ROM. I was able to clear everything with a second wipe. My mod version still says SparksMod Extra HotSauce V0.2....not sure why
Because you're still on SparksMod. The build didn't flash properly, just gave the illusion of it. Guess he'll have to fix the script and reup tomorrow. Thanks for testing and reporting back!
right now im testing at 1.5 min and max...very fast and smooth
dictionary said:
Because you're still on SparksMod. The build didn't flash properly, just gave the illusion of it. Guess he'll have to fix the script and reup tomorrow. Thanks for testing and reporting back!
Click to expand...
Click to collapse
that explains it...even my boot animation was still from spark
Post your update(r) script and I will see where the problem is for you. I hope this is your own work - I notice your last ROMs were taken down for them being kanged.
One of them kanged from me personally. But hey ho, forgive and forget etc. You have to learn somewhere. Just get in the habit of crediting/thanking developers who contribute towards your work and that'll keep you from making enemies around here!
If this is your own work, I wish you all the luck with it, and would be happy to help you out.
nprussell said:
Post your update(r) script and I will see where the problem is for you. I hope this is your own work - I notice your last ROMs were taken down for them being kanged.
One of them kanged from me personally. But hey ho, forgive and forget etc. You have to learn somewhere. Just get in the habit of crediting/thanking developers who contribute towards your work and that'll keep you from making enemies around here!
If this is your own work, I wish you all the luck with it, and would be happy to help you out.
Click to expand...
Click to collapse
Ok, thanks. I will post the updater-script here later. I am at work now. Sorry for not clearly stating the sources of my last ROM by the way.
Sent from my HTC Vision using XDA App
nprussell said:
Post your update(r) script and I will see where the problem is for you. I hope this is your own work - I notice your last ROMs were taken down for them being kanged.
One of them kanged from me personally. But hey ho, forgive and forget etc. You have to learn somewhere. Just get in the habit of crediting/thanking developers who contribute towards your work and that'll keep you from making enemies around here!
If this is your own work, I wish you all the luck with it, and would be happy to help you out.
Click to expand...
Click to collapse
I'm gonna be at work till late this evening, would you be able to download the .zip, and look over the updater-script? Thanks
Sent from my HTC Vision using XDA App
Any updates about the Script?
updater-script
show_progress(0.500000, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
delete("/data/local");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
show_progress(0.500000, 40);
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/cat");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/cksum");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/date");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/dd");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/df");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/dmesg");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/fgrep");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/ip");
symlink("busybox", "/system/xbin/kill");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/ln");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/ls");
symlink("busybox", "/system/xbin/lsmod");
symlink("busybox", "/system/xbin/lspci");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mkdir");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/mount");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/netstat");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/nohup");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ping");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/renice");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/rm");
symlink("busybox", "/system/xbin/rmdir");
symlink("busybox", "/system/xbin/rmmod");
symlink("busybox", "/system/xbin/route");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/sh");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/sleep");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/sync");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/top");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/tty");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/umount");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/usleep");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/which");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig");
symlink("iwmulticall", "/system/xbin/iwgetid");
symlink("iwmulticall", "/system/xbin/iwlist");
symlink("iwmulticall", "/system/xbin/iwpriv");
symlink("iwmulticall", "/system/xbin/iwspy");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
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/log");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/mkdir");
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/renice");
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/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, 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, 0750, "/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(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
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/tcpdump");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
show_progress(0.100000, 0);
unmount("/data");
unmount("/system");
ok when i go to install my ROM CWM says error 6 installation aborted
here is my updater script:
Code:
show_progress(0.1, 0);
mount("MTD", "system", "/system");
delete_recursive("/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("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(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_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
flash_zimage
unmount("/system");
any fix?
I'm not sure I follow your script for what the purpose of the script is.
This does not look like a rom installation script is what I mean. At least not for a stock based ROM.
tdunham said:
I'm not sure I follow your script for what the purpose of the script is.
This does not look like a rom installation script is what I mean.
Click to expand...
Click to collapse
it is i use the android kitchen
Ok gotcha. First of all, I'm not an expert on scripts and I'm not sure how much you know about the installer scripts...
That being said, the mount command does not look correct for our file system. The line:
package_extract_dir("system", "/system");
is correct but if you're installing a ROM this is not the only directory that you are working with. There are others that need to be removed and replaced with the new files as well.
Is the kitchen something that creates these scripts for you and you're just wondering why they do not work?
tdunham said:
Ok gotcha. First of all, I'm not an expert on scripts and I'm not sure how much you know about the installer scripts...
That being said, the mount command does not look correct for our file system. The line:
package_extract_dir("system", "/system");
is correct but if you're installing a ROM this is not the only directory that you are working with. There are others that need to be removed and replaced with the new files as well.
Is the kitchen something that creates these scripts for you and you're just wondering why they do not work?
Click to expand...
Click to collapse
i would like to make an updater script that works to flash and test my ROM. what else could i use to make one?
oh and the kitchen thread can be found here http://forum.xda-developers.com/showthread.php?t=1227549
jamcar said:
i would like to make an updater script that works to flash and test my ROM. what else could i use to make one?
Click to expand...
Click to collapse
The best thing to do is to download all sorts of flash files. From full ROMs, kernels, modems, assorted custom installs like themes and see how the 'pros' write their own code and determine what it is designed to do. This is the easiest way to learn is by example. I am not suggesting you steal their code but many things are standard, like mounting file systems and copy/delete/symlink commands are all standard.
But you have to be very careful because if you are flashing a rom and the partition command is not correct, you can really mess up the phone too.
---------- Post added at 10:07 PM ---------- Previous post was at 09:45 PM ----------
jamcar said:
i would like to make an updater script that works to flash and test my ROM. what else could i use to make one?
oh and the kitchen thread can be found here http://forum.xda-developers.com/showthread.php?t=1227549
Click to expand...
Click to collapse
Go by example. See how the other developers code the scripts to install their ROMs and learn what the code is and how it works. The installer script can be difficult to learn at first because it looks complicated but it actually a very basic command set that takes time and practice to comprehend properly.
Like I said, start with small scripts and learn what they do. A ROM script is exactly the same but they can be overwhelming just because they are so long.
hi fellows people having 2012 wfs and cannot install custom roms now can have a smile on teir faces especially having the status 7 error ,i take no credit in this , u need ur pc and rom ,now open the rom and metainf file in that goto updater script and delete the first line, do this with notepad++ highly recommended now save this and update the archieve then install it it will work for sure
credit goes to kantry123 for the info mainly and crossfire my best buddy in the forum
if i helped u hit thanks
mahesh48 said:
hi fellows people having 2012 wfs and cannot install custom roms now can have a smile on teir faces especially having the status 7 error ,i take no credit in this , u need ur pc and rom ,now open the rom and metainf file in that goto updater script and delete the first line, do this with notepad++ highly recommended now save this and update the archieve then install it it will work for sure
credit goes to kantry123 for the info mainly and crossfire my best buddy in the forum
if i helped u hit thanks
Click to expand...
Click to collapse
Anytime..dude
Sent from my HTC Wildfire S A510e using Xparent Cyan Tapatalk 2
mahesh48 said:
hi fellows people having 2012 wfs and cannot install custom roms now can have a smile on teir faces especially having the status 7 error ,i take no credit in this , u need ur pc and rom ,now open the rom and metainf file in that goto updater script and delete the first line, do this with notepad++ highly recommended now save this and update the archieve then install it it will work for sure
credit goes to kantry123 for the info mainly and crossfire my best buddy in the forum
if i helped u hit thanks
Click to expand...
Click to collapse
Will you explain me clearly what first line should delete, i have no idea what to be delete first "ui_print" ah? explain clearly bro please im using wfs 2012
Open t ROM do not extract it goto metainf in that goto google-android-u el c like updater script and open tat delete the line tat says assert marvel.prop and then update archive and close now flash t rom and which rom r u trying?
Sent from my HTC Wildfire S A510e using xda app-developers app
Hit thanks if I helped
Sent from my HTC Wildfire S A510e using xda app-developers app
mahesh48 said:
Open t ROM do not extract it goto metainf in that goto google-android-u el c like updater script and open tat delete the line tat says assert marvel.prop and then update archive and close now flash t rom and which rom r u trying?
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
i cant find the line what u said assert marvel.prop, i have opened using notepad, and tried finding but there is no such a file found, im trying cm7, cm9, cm10.
cm10 alone i succeeded but cm7, cm9, miui are unable to install. even i tried special kernel of 2012 but none helped me
Try jelly king v2 and del tat first line using notepad++ it el work fr sure
Sent from my HTC Wildfire S A510e using xda app-developers app
And give me t errors briefly (screenshots) so tat I can help u
Sent from my HTC Wildfire S A510e using xda app-developers app
mahesh48 said:
And give me t errors briefly (screenshots) so tat I can help u
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
there is no error at all, and i cant save the edited file inside the zip i have used notpad only then also cant and will u explain me clearly i tried jellyking and successfully installed but lags like hell im trying crossfire v3 tied v2 but stuck on boot animation
R u trying cross fires v3 if so wats. T Error u get during flashing and say me t first two lines of updater script
Sent from my HTC Wildfire S A510e using xda app-developers app
Use notepad++ latest not old one
Sent from my HTC Wildfire S A510e using xda app-developers app
mahesh48 said:
R u trying cross fires v3 if so wats. T Error u get during flashing and say me t first two lines of updater script
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
i dint get any status ertror problem i can instal it but phone doesnt boot always stuck with boot animation
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ***************************** ");
ui_print(" ");
ui_print(" Crossfire_ICS_v3.0 ");
ui_print(" ");
ui_print(" BASED ON CM 9.1.0 ALPHA 9 ");
ui_print(" ");
ui_print(" BY crossfire77 @xda ");
ui_print(" ");
ui_print(" ***************************** ");
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
format("MTD", "userdata");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/r");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/hd");
symlink("busybox", "/system/bin/busybox");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/dmesg");
symlink("busybox", "/system/xbin/cat");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/mkdir");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/rmmod");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/lzma");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/mkfs.vfat");
symlink("busybox", "/system/xbin/usleep");
symlink("iwmulticall", "/system/xbin/iwspy");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/nanddump");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/lsmod");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ttysize");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ip");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/ln");
symlink("busybox", "/system/xbin/rev");
symlink("busybox", "/system/xbin/setconsole");
symlink("busybox", "/system/xbin/sleep");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/unlzma");
symlink("busybox", "/system/xbin/pmap");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/resize");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/rm");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/kill");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/chattr");
symlink("busybox", "/system/xbin/taskset");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/unexpand");
symlink("iwmulticall", "/system/xbin/iwpriv");
symlink("busybox", "/system/xbin/fsync");
symlink("busybox", "/system/xbin/modinfo");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/iostat");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/xz");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/umount");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/tftpd");
symlink("busybox", "/system/xbin/lzcat");
symlink("busybox", "/system/xbin/zcat");
symlink("busybox", "/system/xbin/flash_unlock");
symlink("busybox", "/system/xbin/route");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/pstree");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/flash_lock");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/man");
symlink("busybox", "/system/xbin/sum");
symlink("busybox", "/system/xbin/flock");
symlink("busybox", "/system/xbin/rmdir");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/crontab");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/groups");
symlink("busybox", "/system/xbin/df");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mount");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/netstat");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/ls");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/timeout");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/date");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/top");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/rx");
symlink("busybox", "/system/xbin/dd");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/inetd");
symlink("iwmulticall", "/system/xbin/iwlist");
symlink("busybox", "/system/xbin/flashcp");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/uncompress");
symlink("busybox", "/system/xbin/setserial");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/nohup");
symlink("iwmulticall", "/system/xbin/iwgetid");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/blockdev");
symlink("busybox", "/system/xbin/sh");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/which");
symlink("iwmulticall", "/system/xbin/iwconfig");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/sync");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/expand");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/pwdx");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/renice");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/base64");
symlink("busybox", "/system/xbin/unxz");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/mpstat");
symlink("busybox", "/system/xbin/nandwrite");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/lsattr");
symlink("busybox", "/system/xbin/mesg");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/telnetd");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/ping");
symlink("busybox", "/system/xbin/dmesg");
symlink("busybox", "/system/xbin/fgrep");
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, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 04755, "/system/xbin/bash");
symlink("/system/xbin/bash", "/system/bin/sh");
set_perm(0, 0, 04755, "/system/xbin/nano");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/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");
ui_print("rom flashed successfully,enjoy!");
Did u flash eogohans kernel immediately after rom
Sent from my HTC Wildfire S A510e using xda app-developers app
mahesh48 said:
Did u flash eogohans kernel immediately after rom
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
s now rom working onlything is that sd not working and super su not working will u help me
Wat did u do ?
Sent from my HTC Wildfire S A510e using xda app-developers app
mahesh48 said:
Wat did u do ?
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
after installing crossfire 3 back to back installed special kernel 2012 but sd card not working will u help me
Jus ask crossfire abt tis
Sent from my HTC Wildfire S A510e using xda app-developers app
mahesh48 said:
hi fellows people having 2012 wfs and cannot install custom roms now can have a smile on teir faces especially having the status 7 error ,i take no credit in this , u need ur pc and rom ,now open the rom and metainf file in that goto updater script and delete the first line, do this with notepad++ highly recommended now save this and update the archieve then install it it will work for sure
credit goes to kantry123 for the info mainly and crossfire my best buddy in the forum
if i helped u hit thanks
Click to expand...
Click to collapse
Worked like a charm, Thanks!
Don't just say thanks hit thanks
Sent from my Wildfire S A510e using xda premium
Hi will u pass me a backup o ur system is more easy use that
Sent from my HTC Wildfire S A510e using xda premium
Hi everybody.
I built a rom that looks just like the s4.
Now I cannot upload it because when I try to test it and flash it, it gives me ERROR 0.
I know its because I need a updater script but I do from dsixda Kitchen.
If somebody can upload for me a updater script so it will work for me or tell me what to do I will really appreciate it.
THIS IS NOT A QUESTION! I WANT AN UPDATER SCRIPT OR A TUTORIAL!
Thanks ,
SAMSUNGIVANY
Didn't mean to hit Thanks, but have one on me I guess. This should lead you to what you want. Assuming you want to do it yourself
http://forum.xda-developers.com/showthread.php?p=25136413
Sent from my SGH-T889 using xda app-developers app
Sorry for late reply, I'm busy
Didn't work.
Check This Out:
http://forum.xda-developers.com/showthread.php?p=40872871#post40872871
SAMSUNGIVANY said:
Didn't work.
Check This Out:
http://forum.xda-developers.com/showthread.php?p=40872871#post40872871
Click to expand...
Click to collapse
which deviceee you have - this updater-scrpt is for note 2 n7100
SAMSUNGIVANY said:
Hi everybody.
I built a rom that looks just like the s4.
Now I cannot upload it because when I try to test it and flash it, it gives me ERROR 0.
I know its because I need a updater script but I do from dsixda Kitchen.
If somebody can upload for me a updater script so it will work for me or tell me what to do I will really appreciate it.
THIS IS NOT A QUESTION! I WANT AN UPDATER SCRIPT OR A TUTORIAL!
Thanks ,
SAMSUNGIVANY
Click to expand...
Click to collapse
send mi your updater script....
as well the update-binary from the kitchen often don´t work....
try with this update-binary
amnodaniel said:
send mi your updater script....
as well the update-binary from the kitchen often don´t work....
try with this update-binary
Click to expand...
Click to collapse
This is the one I used from that person.
I9300
mithun46 said:
which deviceee you have - this updater-scrpt is for note 2 n7100
Click to expand...
Click to collapse
I have a I9300.
Forgot to say.
deleted
SAMSUNGIVANY said:
I have a I9300.
Forgot to say.
Click to expand...
Click to collapse
dosn´t matter they have the same mount points--- this after noon i will have a look
amnodaniel said:
dosn´t matter they have the same mount points--- this after noon i will have a look
Click to expand...
Click to collapse
No they are ediffrent
mithun46 said:
No they are ediffrent
Click to expand...
Click to collapse
Thanks-- i thougth that are the same...anyway.... that it can be checked opening the boot.img and cheking on boot.img-ramdisk/fstab the mount partitions.
i´ve seen that you already send a updater script to that guy... i´m afraid that SAMSUNGIVANY doesn,t know to much.... from what i´ve seen your updater script is a good one but you should tell to SAMSUNGIVANY that shall include the simlinks to toolbox and the fallow sequency to instal the busybox
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
Click to expand...
Click to collapse
---------- Post added at 09:19 PM ---------- Previous post was at 09:02 PM ----------
maybe this can be usefull
i just make some small changes on the mithun46 script
show_progress(1, 80);
ui_print(" ");
ui_print(" ");
ui_print("*******************************************");
ui_print("* Welcome to Sammy-to-zip ROM Installation*");
ui_print("*******************************************");
ui_print(" ");
ui_print(" ");
ui_print("Preparing Installation...");
ui_print("Mounting Partitions...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
ui_print("Cleaning...");
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
ui_print("Extracting New System...");
package_extract_dir("system", "/system");
ui_print("Setting Permissions...");
ui_print("@ Simlinking...");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
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/lsof");
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/playback");
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/touchinput");
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("dumpstate", "/system/bin/dumpcrash");
symlink("debuggerd", "/system/bin/csview");
symlink("mksh", "/system/bin/sh");
ui_print("@ Setting Permissions....");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/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, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
here is missing the mounts points to flash the modem (i don´t know them on s3)
here is missing the mounts points to flash the kernel (i don´t know them on s3)
for this i need a boot.img from s3
ui_print("Installing Extra Apps...");
package_extract_dir("data", "/data");
set_perm_recursive(0, 2000, 0755, 0666, "/data/app");
package_extract_dir("sdcard", "/sdcard");
ui_print(" ");
ui_print(" ");
ui_print("=====DONE=====");
ui_print(" ");
ui_print("Produced by Mithun46 - 2013");
unmount("/cache");
unmount("/data");
unmount("/system");
Click to expand...
Click to collapse
Thnx
Thank you all for helping.
Each one of you is going to be credited.
I used One's Updater-script and One's Update Binary.
Thank you again for making a dream come true,
SAMSUNGIVANY.
Why do you put your name under there mithun ? And call it free updater script forgot to remove the alliance stuff and link the proper scripts it calls for ??
Lol, rom never got released..
hey. I was searching how can I edit updater-script, so i found this.
I ported a ROM from s2 to my s advance, but while flashing in cwm, it shows an error:
set_perm:some changes failed
(error7)
I think this was it! Can anybody help ?
szzlgupta said:
hey. I was searching how can I edit updater-script, so i found this.
I ported a ROM from s2 to my s advance, but while flashing in cwm, it shows an error:
set_perm:some changes failed
(error7)
I think this was it! Can anybody help ?
Click to expand...
Click to collapse
Pull the recovery.log from /tmp, it'll give you more detail
Usually it's because the file doesn't exist /typo
CNexus said:
Pull the recovery.log from /tmp, it'll give you more detail
Usually it's because the file doesn't exist /typo
Click to expand...
Click to collapse
There is no such file in /tmp :s
szzlgupta said:
There is no such file in /tmp :s
Click to expand...
Click to collapse
Are you sure?
Flash this, and then navigate to /tmp. It has to be there. Or else go to the Advanced menu (in CWM) > Copy recovery.log
http://forum.xda-developers.com/showthread.php?t=1646108
CNexus said:
Are you sure?
Flash this, and then navigate to /tmp. It has to be there. Or else go to the Advanced menu (in CWM) > Copy recovery.log
http://forum.xda-developers.com/showthread.php?t=1646108
Click to expand...
Click to collapse
How does it matter whether i have that file or not in cm10 which im using and is also base of the ROM. Please explain. I cant understand :/
szzlgupta said:
How does it matter whether i have that file or not in cm10 which im using and is also base of the ROM. Please explain. I cant understand :/
Click to expand...
Click to collapse
That file is created by the recovery. It's not gonna be inside your rom, but it'll tell you more detailed info about the updater-script error so you can fix it.
Please , if you want to know the dualboot 4.1.2/4.4.2 method, go directly here , check post relative to ERROR STATUS 7....
ALL USE OF THIS IS AT YOUR OWN RISK
NO TROUBLE TO BACKUP PRELOAD PARTITION readHERE,
BACKUP/RESTORE IN RECOVERY MOD ARE REALY SAFE WITH THIS METHOD OF USING ROM BECAUSE ONLY SYSTEM AND DATA PARTITION ARE USE BY DORIMANX V8.XX and CWM doesnt know PRELOAD partition.
Hi to all.
You know i want to run all JB 4.1.2 ROM i found in 2nd ROM and for that i only use @dorimanx any version 8.XX kernel.
The only way i found for that is to bypass the use of PRELOAD partition in ZIP of ROMs i test and fortunaly V8.xx permit that sort of managment rom.
I want to give here all necessary tweaks for ppl who want to test that if interested.
I see now that we can have multiple combinations with any ROM in Dual-Boot ppl signature .
1rst rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
2nd rom : Rootbox or Resurrection Remix or CM10.X
1rst rom : Rootbox or Resurrection Remix or CM10.X
2nd rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
1rst rom : Rootbox or Resurrection Remix or CM10.X
2rst rom : Rootbox or Resurrection Remix or CM10.X
1rs rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
2nd rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
prerequis tools :
WINRAR to manipulate ZIP ROM and other ZIP
DORIMANX KERNEL any V8.XX downloaded here to replace kernel if you want to DualBoot
Notepad ++ to edit script files
In all case of flashing a 2nd rom, if it's your 1rst use, you have to flash DorimanX kernel V8.xx 1rst stage before continuing. i cant explain here all the steps to change your kernel in I9100, and how to use recovery mode to initiate 2nd ROM space for your DualBoot, many threads for that. thanks.
So, when you flash a ZIP ROM in 2nd position, you have to reflash DorimanX kernel immedialty after to validate run of new 2nd rom you went to flash.
This take many manipulation and the day i began to "thread" for 2nd ROM use on XDA forum, i decided to provide updater-script for 2nd ROM without keeping lines relevant to kernel and modem flash.
Today, as i want to make an universal I9100 updater-script for 1rst rom and 2nd rom without the use of PRELOAD partition with DorimanX V8.xx, and without modify the structure of the ZIP ROM,
i decided to keep the relevant lines to kernel flash, and change kernel image in ZIP ROM by zImage (renamed boot.img sometimes) extrated from DorimanX kernel ZIP, before my flash, in 1rst rom or 2nd rom, even in a ROOTBOX ZIP, CM10.1 ...
For this universal updater-script, i have to make the choise about the modem too, but i think relevante lines to modem can be deleted or kept, depend of user
You can delete relevant lines to Modem because you already have a rom in use which have a modem, in 1rst rom or 2nd rom.
I repeat, only if you plan to flash on 1rst position, you have to keep the relevant lines to kernel but not necessary those concern by Modem flash (red lines)
if you plan to flash in 2nd rom, relevant lines to kernel and modem can be deleted.
Sometimes, you find rom that doesnt flash any modem because DEV provider supose you already have one and doesnt impose one during flash, and he gives you the choise of modem to flash in its thread.
With the tweaks i give here, anybody can keep or delete the relevant lines to modem (and kernel, why not, only if flash will concern 2nd rom)
generaly, this kernel and modem relevant lines are located the end of updater-script, see some sample :
Base on ROOTBOX ROM No MODEM
Code:
[COLOR="Green"][B]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");[/B][/COLOR]
show_progress(0.200000, 10);
[COLOR="Red"][B]assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));[/B][/COLOR]
RESURRECTION REMIX ROM No MODEM
Code:
[COLOR="Red"][B]assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));[/B][/COLOR]
Base on CM10.2 ROM (10.1 too) No MODEM
Code:
[COLOR="Green"][B]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");[/B][/COLOR]
show_progress(0.200000, 10);
[COLOR="Red"][B]assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));[/B][/COLOR]
NeatRom Lite V4.8
Code:
[COLOR="Green"][B]ui_print("Backing up EFS");
package_extract_file("Sale/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0755, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");[/B][/COLOR]
[COLOR="Red"][B]ui_print("Flashing kernel ...");
package_extract_file("Sale/flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
assert(package_extract_file("Sale/zImage", "/tmp/zImage"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p5", "/tmp/zImage"),
delete("/tmp/zImage"));[/B][/COLOR]
[COLOR="Blue"][B]ui_print("Flashing modem ...");
assert(package_extract_file("Sale/modem.bin", "/tmp/modem.bin"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p8", "/tmp/modem.bin"),
delete("/tmp/modem.bin"));[/COLOR]
[COLOR="Red"]delete("/tmp/flash_image");[/B][/COLOR]
delete("/tmp/symlink_preload");
[COLOR="Green"][B]delete("/tmp/efs_backup.sh");[/B][/COLOR]
BIFTOR V11 ROM
Code:
[COLOR="Green"][B]ui_print("Backing up EFS");
package_extract_file("Biftor/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0755, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");[/B][/COLOR]
[COLOR="Red"][B]ui_print("Flashing kernel ...");
package_extract_file("Biftor/flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
assert(package_extract_file("Biftor/zImage", "/tmp/zImage"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p5", "/tmp/zImage"),
delete("/tmp/zImage"));[/B][/COLOR]
[COLOR="Blue"][B]ui_print("Flashing modem ...");
assert(package_extract_file("Biftor/modem.bin", "/tmp/modem.bin"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p8", "/tmp/modem.bin"),
delete("/tmp/modem.bin"));[/B][/COLOR]
delete("/tmp/symlink_preload");
[COLOR="Red"][B]delete("/tmp/flash_image");[/B][/COLOR]
[COLOR="Green"][B]delete("/tmp/efs_backup.sh");[/B][/COLOR]
when you edit updater-script you can remove the red or blue colored block lines as you want accordingly the flash you plan, 1rst rom or 2nd rom position.
And what you plan , always keep the colored green block of lines that concern Backing up EFS or backuptool.sh script.
I DONT TALK HERE ABOUT LINE BEFORE OR AFTER.
KEEP IN MIND THAT IF YOU FLASH IN 1RST ROM, YOU HAVE TO KEEP LINES RELATIVE TO KERNEL FLASH ON YOUR MODDED UPDATER-SCRIPT.
depend of your choice, you can have to replace kernel image in ZIP ROM, how to do that ?
how to change kernel image in ZIP ROM with another image extracted from CWM kernel flasher :
- for DualBoot, exclusive use of DorimanX any V8.xx only. (i never have trouble with this method and have never use ODIN)
1 - extract zImage from ZIP of DorimanX V8.xx kernel you want for your dual-boot.
2 - open ZIP ROM with WINRAR
2 - find kernel image in ROM ZIP opened where is located, sometimes it's named boot.img instead of zImage.
3 - if kernel in ROM ZIP is named boot.img, rename zImage file you have extracted in step1 to boot.img
4 - finaly WINRAR open at place where is kernel image DEV, drag and drop in your new renamed (or not) kernel image (zImage or boot.img depends of rom)
At this step, if you never plan to flash JB SAMMY 4.1.2 stock or custom ROM on 2nd ROM, you can stop here.
- For many jb sammy 4.1.2 rom, there is an symlink_preload file in structure of ZIP ROM (i wont explain here the reason of PRELOAD partition added by SAMSUNG).
Originaly, this script is use during flash to simlink APKs system files from /preload/symlink/system/app folder in PRELOAD partition to /system/app/ in SYSTEM partition.
you have to modify this file too , like i preconise because all files which are in preload folder of ZIP ROM will be installed in /data/sec_data/ folder of you rom after flash.
BEFORE
Code:
#!/system/bin/mksh
mount -o remount rw /system
cd /preload/symlink/system/app
# Can't create array with /sbin/sh, hence we use mksh
apk_list=( `ls | grep .apk` )
odex_list=( `ls | grep .odex` )
items=${apk_list[*]}" "${odex_list[*]}
for item in ${items[@]}
do
ln -s /preload/symlink/system/app/$item /system/app/$item
done
AFTER
Code:
#!/system/bin/mksh
mount -o remount rw /system
cd /data/sec_data
# Can't create array with /sbin/sh, hence we use mksh
apk_list=( `ls | grep .apk` )
odex_list=( `ls | grep .odex` )
items=${apk_list[*]}" "${odex_list[*]}
for item in ${items[@]}
do
ln -s /data/sec_data/$item /system/app/$item
done
STAGE CONCERNING KERNEL AND MODEM AND SYMLINK_PRELOAD SCRIPT DONE and now, you know why there are some obligations in this concept.
Have a look on some updater-script of <> type of CM10.x or 4.2.2 ROM :
SLIM-i9100-UNOFFICIAL-SaberMod-4.9-20130720
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("system/addon.d", "/system/addon.d");
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);
ui_print("");
ui_print("");
ui_print("Slim Roms");
ui_print("");
ui_print(" www.slimroms.net ");
ui_print("");
ui_print("");
ui_print("Format and Mount System, Mount Data...");
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
Base CM 10.x ROM
Code:
assert(getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" ||
getprop("ro.product.device") == "i9100" || getprop("ro.build.product") == "i9100" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/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);
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
Base RootBox ROM
Code:
assert(getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" ||
getprop("ro.product.device") == "i9100" || getprop("ro.build.product") == "i9100" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/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);
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
RESURRECTION REMIX
Code:
assert(getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" ||
getprop("ro.product.device") == "i9100" || getprop("ro.build.product") == "i9100" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T");
show_progress(0.500000, 0);
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
As you can see, these type of ROMs dont manage PRELOAD partition but all FORMAT SYSTEM PARTITION BEFORE FLASH, it's mostly the case on Nighty ROMs , so, nothing to modify for them, change image kernel inside ZIP ROM by DorimanX V8.xx as i explain and flash, in 1rst rom or 2nd ROM if it exist. Dont forget to wipe data if necessary, depends which rom you come from.
Let's see updater-script from 4.1.2 JB SAMMY ROM :
NEATROM LITE 4.8
Code:
unmount("/system");
unmount("/cache");
[COLOR="Red"][B]unmount("/preload");[/B][/COLOR]
run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");
run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");
run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");
[COLOR="Red"][B]run_program("/sbin/mount", "/dev/block/mmcblk0p12", "/preload");[/B][/COLOR]
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
[COLOR="Red"][B]delete_recursive("/preload");[/B][/COLOR]
delete("/data/system/batterystats.bin");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("Installing system ...");
show_progress(0.500000, 80);
package_extract_dir("system", "/system");
[COLOR="Red"][B]package_extract_dir("preload", "/preload");[/B][/COLOR]
Biftor V11
Code:
unmount("/system");
unmount("/cache");
[COLOR="Red"][B]unmount("/preload");[/B][/COLOR]
ui_print("mounting...");
ui_print("mount System");
run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");
ui_print("mount data");
run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");
ui_print("mount cache");
run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");
[COLOR="Red"][B]ui_print("mount preload");
run_program("/sbin/mount", "/dev/block/mmcblk0p12", "/preload");[/B][/COLOR]
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
[COLOR="Red"][B]delete_recursive("/preload");[/B][/COLOR]
[COLOR="Green"][B]delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.SystemUI");[/B][/COLOR]
delete("/data/system/batterystats.bin");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("Installing system ...");
show_progress(0.500000, 80);
package_extract_dir("system", "/system");
[COLOR="Red"][B]package_extract_dir("preload", "/preload");[/B][/COLOR]
In this type of ROMs, no format of system, simply some delete_recursive and extract command .
because we are in recovery during flash and we have DorimanX kernel installed,
- we can delete relevant lines to mount and unmount preload partition. (in red)
- as we plan to switch preload extracted folder destination to /data/sec_data/ folder in rom. (in red)
we have to change red lines like that :
if we came from another JB 4.1.2 2nd ROM, without wipping data, if not, write it anyway, you can have to reflash rom.
delete_recursive("/preload"); must be replaced by delete_recursive("/data/sec_data");
and in all cases
package_extract_dir("preload", "/preload"); must be replaced by package_extract_dir("preload/symlink/system/app", "/data/sec_data");
the green lines are relevant from DEV, sometimes more but can be useful and you can add some more.
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.SystemUI");
personaly i add this block of lines to flash my Best Biftor 2nd ROM :
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.Biftor.Biftorteam");
delete_recursive("/data/data/com.Biftor.Biftorteam.NavBar");
delete_recursive("/data/data/com.Biftor.BiftorTeamAppRestart");
delete_recursive("/data/data/com.Biftor.Biftorteamstatusbar");
Finaly, the two sample modified here, personaly mine :
NEATROM LITE 4.8 ROM
Code:
unmount("/system");
unmount("/cache");
run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");
run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");
run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/sec_data");
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.SystemUI");
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.Biftor.Biftorteam");
delete_recursive("/data/data/com.Biftor.Biftorteam.NavBar");
delete_recursive("/data/data/com.Biftor.BiftorTeamAppRestart");
delete_recursive("/data/data/com.Biftor.Biftorteamstatusbar");
delete("/data/system/batterystats.bin");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("Installing system ...");
show_progress(0.500000, 80);
package_extract_dir("system", "/system");
package_extract_dir("preload/symlink/system/app", "/data/sec_data");
Biftor V11 ROM
Code:
unmount("/system");
unmount("/cache");
ui_print("mounting...");
ui_print("mount System");
run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");
ui_print("mount data");
run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");
ui_print("mount cache");
run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/sec_data");
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.SystemUI");
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.Biftor.Biftorteam");
delete_recursive("/data/data/com.Biftor.Biftorteam.NavBar");
delete_recursive("/data/data/com.Biftor.BiftorTeamAppRestart");
delete_recursive("/data/data/com.Biftor.Biftorteamstatusbar");
delete("/data/system/batterystats.bin");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("Installing system ...");
show_progress(0.500000, 80);
package_extract_dir("system", "/system");
package_extract_dir("preload/symlink/system/app", "/data/sec_data");
Final PURPOSE of updater-script for Biftor V11
For my personal use, i have make some choices i expose you to flash NEW Biftor V11 in my 2nd ROM :
In /Biftor/ folder of ZIP ROM :
I replace zImage extracted from http://dorimanx.shine.sk/kernels-jb...nx-V8.35-[18-00]-[16-07]-JB-SGII-PWR-CORE.zip.
I replace symlink_preload file by one with script i detail at top of post
with this updater-script i have only 2 apks in /system/app/ : SuperSU.apk and STweaks.apk
SYSTEM partition is 458 MB large
/DATA/SEC_DATA/ folder is 222MB large with 141 apks system and placeholder file , all are symlinked in /system/app/ except placeholder file.
copy it in a text file opened in Notepad++ and compare it to original from Biftor to see the differences i mean.
Code:
show_progress(0.500000, 0);
ui_print("");
ui_print("");
ui_print("!..............................................!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!.........Welcome To Biftor Rom V11 JB..........!");
ui_print("!..............................................!");
ui_print("A R M I N");
ui_print("AA RR MM II NN");
ui_print("AAA RRR MMM III NNN");
ui_print("AAAA RRRR MMMM IIII NNNN");
unmount("/system");
unmount("/cache");
ui_print("mounting...");
ui_print("mount System");
run_program("/sbin/mount", "/dev/block/mmcblk0p9", "/system");
ui_print("mount data");
run_program("/sbin/mount", "/dev/block/mmcblk0p10", "/data");
ui_print("mount cache");
run_program("/sbin/mount", "/dev/block/mmcblk0p7", "/cache");
delete_recursive("/system");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
[COLOR="Red"][B]delete_recursive("/data/sec_data");[/B][/COLOR]
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.SystemUI");
[COLOR="Red"][B]delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.Biftor.Biftorteam");
delete_recursive("/data/data/com.Biftor.Biftorteam.NavBar");
delete_recursive("/data/data/com.Biftor.BiftorTeamAppRestart");
delete_recursive("/data/data/com.Biftor.Biftorteamstatusbar");[/B][/COLOR]
delete("/data/system/batterystats.bin");
ui_print("Installing system ...");
show_progress(0.500000, 80);
package_extract_dir("data/app", "/data/sec_data");
package_extract_dir("data/Biftor-Tweaks", "/data/Biftor-Tweaks");
package_extract_dir("system", "/system");
[COLOR="Red"][B]delete_recursive("/system/app");
package_extract_dir("system/media/video/shutdown", "/system/app");
package_extract_file("system/app/Superuser.apk", "/system/app/Superuser.apk");
delete("/system/app/shutdown.qmg");
package_extract_dir("system/app", "/data/sec_data");
delete("/data/sec_data/Superuser.apk");[/B][/COLOR]
package_extract_dir("preload/symlink/system/app", "/data/sec_data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
symlink("/system/xbin/busybox", "/system/bin/busybox");
ui_print("Simlinking ...");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/acpid");
symlink("busybox", "/system/xbin/addgroup");
symlink("busybox", "/system/xbin/adduser");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/ar");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/arping");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/beep");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/bootchartd");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/chat");
symlink("busybox", "/system/xbin/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chpasswd");
symlink("busybox", "/system/xbin/chpst");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/chrt");
symlink("busybox", "/system/xbin/chvt");
symlink("busybox", "/system/xbin/cksum");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/conspy");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
symlink("busybox", "/system/xbin/cryptpw");
symlink("busybox", "/system/xbin/cttyhack");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/deallocvt");
symlink("busybox", "/system/xbin/delgroup");
symlink("busybox", "/system/xbin/deluser");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/dhcprelay");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/dnsdomainname");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/dpkg");
symlink("busybox", "/system/xbin/dpkg-deb");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/dumpkmap");
symlink("busybox", "/system/xbin/dumpleases");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/eject");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/envdir");
symlink("busybox", "/system/xbin/envuidgid");
symlink("busybox", "/system/xbin/ether-wake");
symlink("busybox", "/system/xbin/expand");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/fakeidentd");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/fbset");
symlink("busybox", "/system/xbin/fbsplash");
symlink("busybox", "/system/xbin/fdflush");
symlink("busybox", "/system/xbin/fdformat");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/fgconsole");
symlink("busybox", "/system/xbin/fgrep");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/findfs");
symlink("busybox", "/system/xbin/flash_eraseall");
symlink("busybox", "/system/xbin/flash_lock");
symlink("busybox", "/system/xbin/flash_unlock");
symlink("busybox", "/system/xbin/flashcp");
symlink("busybox", "/system/xbin/flock");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/fsck");
symlink("busybox", "/system/xbin/fsck.minix");
symlink("busybox", "/system/xbin/fsync");
symlink("busybox", "/system/xbin/ftpd");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/getty");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/hdparm");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/hostid");
symlink("busybox", "/system/xbin/hostname");
symlink("busybox", "/system/xbin/httpd");
symlink("busybox", "/system/xbin/hush");
symlink("busybox", "/system/xbin/hwclock");
symlink("busybox", "/system/xbin/ifdown");
symlink("busybox", "/system/xbin/ifenslave");
symlink("busybox", "/system/xbin/ifplugd");
symlink("busybox", "/system/xbin/ifup");
symlink("busybox", "/system/xbin/inetd");
symlink("busybox", "/system/xbin/init");
symlink("busybox", "/system/xbin/inotifyd");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/ipaddr");
symlink("busybox", "/system/xbin/ipcalc");
symlink("busybox", "/system/xbin/ipcrm");
symlink("busybox", "/system/xbin/ipcs");
symlink("busybox", "/system/xbin/iplink");
symlink("busybox", "/system/xbin/iproute");
symlink("busybox", "/system/xbin/iprule");
symlink("busybox", "/system/xbin/iptunnel");
symlink("busybox", "/system/xbin/kbd_mode");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/klogd");
symlink("busybox", "/system/xbin/last");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/linux32");
symlink("busybox", "/system/xbin/linux64");
symlink("busybox", "/system/xbin/linuxrc");
symlink("busybox", "/system/xbin/loadfont");
symlink("busybox", "/system/xbin/loadkmap");
symlink("busybox", "/system/xbin/logger");
symlink("busybox", "/system/xbin/login");
symlink("busybox", "/system/xbin/logname");
symlink("busybox", "/system/xbin/logread");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/lpd");
symlink("busybox", "/system/xbin/lpq");
symlink("busybox", "/system/xbin/lpr");
symlink("busybox", "/system/xbin/lsattr");
symlink("busybox", "/system/xbin/lspci");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/lzcat");
symlink("busybox", "/system/xbin/lzma");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/makedevs");
symlink("busybox", "/system/xbin/makemime");
symlink("busybox", "/system/xbin/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mdev");
symlink("busybox", "/system/xbin/mesg");
symlink("busybox", "/system/xbin/microcom");
symlink("busybox", "/system/xbin/mkdosfs");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/mkfs.minix");
symlink("busybox", "/system/xbin/mkfs.reiser");
symlink("busybox", "/system/xbin/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/mkpasswd");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/modinfo");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mt");
symlink("busybox", "/system/xbin/nameif");
symlink("busybox", "/system/xbin/nc");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/nmeter");
symlink("busybox", "/system/xbin/nohup");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/openvt");
symlink("busybox", "/system/xbin/passwd");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ping6");
symlink("busybox", "/system/xbin/pipe_progress");
symlink("busybox", "/system/xbin/pivot_root");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/popmaildir");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/pscan");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/raidautorun");
symlink("busybox", "/system/xbin/rdate");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/readprofile");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/reformime");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/resize");
symlink("busybox", "/system/xbin/rev");
symlink("busybox", "/system/xbin/rpm");
symlink("busybox", "/system/xbin/rpm2cpio");
symlink("busybox", "/system/xbin/rtcwake");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/runlevel");
symlink("busybox", "/system/xbin/runsv");
symlink("busybox", "/system/xbin/runsvdir");
symlink("busybox", "/system/xbin/rx");
symlink("busybox", "/system/xbin/script");
symlink("busybox", "/system/xbin/scriptreplay");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/sendmail");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setarch");
symlink("busybox", "/system/xbin/setfont");
symlink("busybox", "/system/xbin/setkeycodes");
symlink("busybox", "/system/xbin/setlogcons");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/setuidgid");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/showkey");
symlink("busybox", "/system/xbin/slattach");
symlink("busybox", "/system/xbin/smemcap");
symlink("busybox", "/system/xbin/softlimit");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/start-stop-daemon");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/sulogin");
symlink("busybox", "/system/xbin/sum");
symlink("busybox", "/system/xbin/sv");
symlink("busybox", "/system/xbin/svlogd");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/switch_root");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/syslogd");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/taskset");
symlink("busybox", "/system/xbin/tcpsvd");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/telnetd");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/tftpd");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/timeout");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/traceroute6");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/tty");
symlink("busybox", "/system/xbin/ttysize");
symlink("busybox", "/system/xbin/tunctl");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/ubiattach");
symlink("busybox", "/system/xbin/ubidetach");
symlink("busybox", "/system/xbin/udhcpc");
symlink("busybox", "/system/xbin/udhcpd");
symlink("busybox", "/system/xbin/udpsvd");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/uncompress");
symlink("busybox", "/system/xbin/unexpand");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/unlzma");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/unxz");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/usleep");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/vconfig");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/vlock");
symlink("busybox", "/system/xbin/volname");
symlink("busybox", "/system/xbin/wall");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/watchdog");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/which");
symlink("busybox", "/system/xbin/who");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("busybox", "/system/xbin/zcip");
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("mksh", "/system/bin/sh");
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/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
ui_print("Done!");
ui_print("");
ui_print("Setting Permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/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(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_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");
show_progress(0.100000, 0);
package_extract_file("Biftor/symlink_preload", "/tmp/symlink_preload");
set_perm(0, 0, 0777, "/tmp/symlink_preload");
run_program("/tmp/symlink_preload");
ui_print("Backing up EFS");
package_extract_file("Biftor/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0755, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print("Flashing kernel ...");
package_extract_file("Biftor/flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
assert(package_extract_file("Biftor/zImage", "/tmp/zImage"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p5", "/tmp/zImage"),
delete("/tmp/zImage"));
ui_print("Flashing modem ...");
assert(package_extract_file("Biftor/modem.bin", "/tmp/modem.bin"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p8", "/tmp/modem.bin"),
delete("/tmp/modem.bin"));
delete("/tmp/symlink_preload");
delete("/tmp/flash_image");
delete("/tmp/efs_backup.sh");
run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/data");
run_program("/sbin/umount", "/cache");
ui_print("complete enjoy it");
ui_print("Thanks for using Biftor ROM");
ui_print("");
ui_print("B I F T O R");
Detailed lines here (added and changed lines in red color)
- I make the choice to clear some more datas folders
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.SystemUI");
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.Biftor.Biftorteam");
delete_recursive("/data/data/com.Biftor.Biftorteam.NavBar");
delete_recursive("/data/data/com.Biftor.BiftorTeamAppRestart");
delete_recursive("/data/data/com.Biftor.Biftorteamstatusbar");
- i want all apks system (APKs from preload and data folder in ZIP) to be extracted in DATA partition of ROM, exactly in /data/sec_data/ folder, except Superuser.apk and i want this last one to be in /system/app/
how to do that ?
During test, i realize that I must have /system/app/ folder to rest in place during flash, so i find an isolated shutdown.qmg file i use to recreate /system/app/ folder (the only wait i find but works).
relative lines for this :
package_extract_dir("system/media/video/shutdown", "/system/app");
delete("/system/app/shutdown.qmg");
Code:
delete("/data/system/batterystats.bin");
ui_print("Installing system ...");
show_progress(0.500000, 80);
package_extract_dir("data/app", "/data/sec_data"); [COLOR="Red"][B](extract biftor files in /data/sec_data/ instead of /data/app/ i prefer this way for me)[/B][/COLOR]
package_extract_dir("data/Biftor-Tweaks", "/data/Biftor-Tweaks"); (no need to change this line)
package_extract_dir("system", "/system"); [COLOR="Red"][B](extracted all system)[/B][/COLOR]
delete_recursive("/system/app"); [COLOR="Red"][B](delete folder app in system folder)[/B][/COLOR]
package_extract_dir("system/media/video/shutdown", "/system/app"); [COLOR="Red"][B](recreate app folder in system folder with one file : shutdown.qmg[/B][/COLOR]
package_extract_file("system/app/Superuser.apk", "/system/app/Superuser.apk"); [COLOR="Red"][B](extract one file from system folder zip rom : Superuser.apk)[/B][/COLOR]
delete("/system/app/shutdown.qmg"); [COLOR="Red"][B](deleting unedded file : shutdown.qmg)[/B][/COLOR]
package_extract_dir("system/app", "/data/sec_data"); [COLOR="Red"][B](extract all system/app files to /data/sec_data/ instead of /preload/....)[/B][/COLOR]
delete("/data/sec_data/Superuser.apk"); [COLOR="Red"][B](delete Superuser.apk redundant file)[/B][/COLOR]
package_extract_dir("preload/symlink/system/app", "/data/sec_data"); [COLOR="Red"][B](extract all /preload.....system/app files to /data/sec_data/ instead of /preload/..../app too)[/B][/COLOR]
set_perm(2000, 2000, 0771, "/data/local"); (no need to change this line)
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app"); (no need to change this line)
Another use of this method :
When I boot my 1rst ROM, i can see the ENTIRE SYSTEM partiton of my 2nd ROM : all partiton are auto-mounted by Magic DorimanX V8.xx kernel
/preload/ folder corresponding of SYSTEM PARTITION from 2nd ROM
/data_sec_rom/ folder which is DATA PARTITION of 2nd Rom, in fact files are in /.secondrom/ of your Internal SdCard with DorimanX v8.xx, The Magic, DATA.IMG 2Go and CACHE.IMG (more small)
with this method, actualy , if i want to change some APKs in /data/sec_data/ of 2nd rom , especialy SystemUI.apk, SecSettings.apk or anothers APKs, what do i do ?
- i boot 1rst rom.
- with an explorer file, like rootexplorer, i can go into /data_sec_rom/ folder, which countain mounted DATA partition of 2nd ROM and i can replace all apks here without symlinking them because symlink still exist in /system/app/ . (here we only replace files
- i can create a subfolder in /data/sec_data/ and move bloatware or other system apks from /data/sec_data/ in,
by this way i keep safe the symlink in /system/app/ if i decide to reactivate them later by re-imputing them in /data/sec_data/ folder.
- i go to /data_sec_rom/dalvik-cache and i delete the corresponding DEX file from apks i change , like [email protected]@[email protected] , [email protected]@[email protected] or anyother .dex file.
- if i want to remove some downloaded APKs from Store , i can go to /data/app/ and rename them instead of delete them.
- i can go to /.siyah/ folder if i want to make some change in profil of Stweaks.
- i can go /preload/framework/ and replace or add what i want too because at this step, preload represent system folder of your 2nd rom.
- if i want to add some system apks which not exist before, i copy them in /preload/app/ so no need to symlink them.
- if mod i want add has some libs, etc data ... i can put it where they have to be in any folder of /preload/
there is another method to add inexistant APKs in /data/sec_data/ folder and use a flasher to symlink them. see my sign for thread relative with that.
Dont make change in real /system/ folder at this step of modding rom in live, ifelse i prevent you that your are going in FCs or BOOTLOOP very soon.
The advantage of this method : applying mods, tweaks, and themes quickly without flash except for MOD like VRTHEME ZIP and you can find some facilities and easy ways to debug yourself too.
You have to know that when you boot your 2nd ROM, kernel doesnt automaticaly shows you SYSTEM PARTITION of 1rst ROM, you have to mount it by yourself
here is the script to put in file (fix right are 0755) and run in a terminal emulator on your rom :
personaly i called it tempsystem and put it in my /system/bin/ 2rst rom , so i can launch easily each tile i need it
how to for that here http://forum.xda-developers.com/showthread.php?t=2399615
Code:
[COLOR="Black"][B]#!/sbin/busybox sh
mkdir /temp_system
chmod -R 777 /temp_system
mount -t ext4 /dev/block/mmcblk0p9 /temp_system
[/B][/COLOR]
thanks.
Thanks
Here, my first thank go directly to Great @dorimanx again for his Magic Kernel, still in development for our amazing I9100 , without it, i never found a reason to post here.
Thanks @Biftor , @_Sale_ @corruptionfreeindia @bajee11 @wescript and other DEVs for their superb 4.1.2 ROMs.
thanks.
great work mate, bravo
Merci @_Sale_
sendé par les ondes sorties de mon s2
Great thread mate. Soon you will be rc :thumbup::thumbup: great job
a simply How to
I want to test this Revolution Build V3 ROM from @tutangigi but i want to keep my Best 2nd Rom in place with dorimanx v8.38.
Finaly have replaced zImage file in zip by those come from dorimanx v8.38 zip, moded my updater-script to use /data/sec_data/ instead of preload too even i plan to flash in 1rst rom, and obliged updater-script to flash kernel too because 1rst rom flash.
Before flash, in recovery dual-boot menu, i choose "Clone 2ndROM to 1rstROM" so after flash , no need to restore some app because all interesting apps i have are in /data/app/.
i think i can add these important lines in my updater-script too.
delete_recursive("/data/data/com.android.SystemUI");
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
1rst boot cab take long time
you can donwload and test in 1rst rom (or 2nd rom) ZIP ROM available here, even if you havent a 2nd JB Sammy 4.1.2 rom to cloned before test it.
thanks again to @wis1152 DEV-HOST
thanks.
[1rst ROM or 2nd ROM][DEFINITIVE TEST] - NeatRom EXTRA_LITE + NEATROM_AROMA :)
Here again i make some "french" touch on the one of the best ROM and MOD we can find on XDA, section I9100.
I want user interested by dualboot with @dorimanx release V8.xx only, to use habitualy zip made for 2nd rom, in 1rst rom too.
For that, i have to provide a modified zip with one kernel flashed at the end of updater-script, that's DorimanX, so if you want to use my work now, you have to know that if you flash my zip in 1rst rom, your kernel will change at next boot and will be DorimanX v8.39, so far best version for dualboot great thanks to him .
I have to put all APKs system from preload zip to data/sec_data partition folder in tel, for 2nd rom use but its works for 1rst rom flash too.
I mod neatrom lite 4.8 in this way, and i delete some apks system followinkg this post from @avirk.
For neatrom_aroma mod from @Jeetu , updater-script is touched this way too, and i have to touch installtheme.sh too, to backup initial apks to be themed from data/sec_data folder from installed by this neat rom extra_lite, but i re-imput them in data/sec_data folder at end of installtheme.sh script .
what i have done for this test :
- clone my best @Biftor 2nd rom to 1rst rom
- flash my extra_lite neatrom_lite_4.8 from @_Sale_
- re-boot my best 2nd rom
- as i can see all partition from 1rst rom ATM, i can delete all \data_pri_rom\app from @Biftor 2nd rom cloned flashed by Neat , i dont want to use when i 1rst reboot my extra_lite neatrom after. so i delete several apk from app of new 1rst rom. i let funrun, antutu and some other...
- i reboot 1rst rom
- i see how much LN symlink i have in \system\app : ~75 instead of original Sale'Rom (~145)
- i give a try to this NEATROM_AROMA from @Jeetu i mod i this sens too. 1rst test will be megamod and some other thinks , see 2nd youtube video
I can tell users here i have no FCs at all on my S2 since i use 1rst rom or 2nd rom with @dorimanx V8.39, that's all for me about this exceptional kernel in this use.
Here is a list of all apks I kept in /preload/ original folder from NeatROM Lite 4.8 :
ApplicationsProvider.apk
BackupRestoreConfirmation.apk
BadgeProvider.apk
BCService.apk
CapabilityManagerService.apk
CertInstaller.apk
ContextAwareService.apk
CSC.apk
CWMManager.apk
DefaultContainerService.apk
Divx.apk
DrmProvider.apk
FlashBarService.apk
FmRadio.apk
GoogleBackupTransport.apk
GoogleCalendarSyncAdapter.apk
GoogleContactsSyncAdapter.apk
GoogleLoginService.apk
GooglePartnerSetup.apk
GoogleServicesFramework.apk
InputDevices.apk
InputEventApp_U1_EUR_OPEN.apk
JobManager.apk
KeyChain.apk
Keystring_factory_JBUP.apk
LogsProvider.apk
MediaUploader.apk
minimode-res.apk
MtpApplication.apk
MusicFX.apk
NetworkLocation.apk
PackageInstaller.apk
PhoneErrService.apk
Phonesky.apk
Phone_Util_U1_EUR_OPEN.apk
PopupuiReceiver.apk
Preconfig.apk
PreloadInstaller.apk
SamsungCamera.apk
SamsungIME.apk
SecBluetooth.apk
SecBrowser.apk
SecContacts.apk
SecContactsProvider.apk
SecDownloadProvider.apk
SecDownloadProviderUi.apk
SecEmail.apk
SecExchange.apk
SecFactoryPhoneTest.apk
SecGallery2.apk
SecLauncher2.apk
SecMediaProvider.apk
SecMms.apk
SecOmaDownloadProvider.apk
SecPhone.apk
SecSettings.apk
SecSettingsProvider.apk
SecSetupWizard.apk
SecTelephonyProvider.apk
SecurityProvider.apk
SelfTestMode_U1_EUR_OPEN.apk
SerialNumberLabelIndicator_JBUP.apk
serviceModeApp_U1_EUR_OPEN.apk
SharedStorageBackup.apk
shutdown_JBUP.apk
SimpleAlarmClock.apk
Stk.apk
Street.apk
SystemInfo_U1_EUR_OPEN.apk
SystemUI.apk
TasksProvider.apk
UltraCoolFont.apk
UserDictionaryProvider.apk
VideoPlayer.apk
VpnDialogs.apk
1rst run of personal extra lite neatrom 4.8
All necessaries ROM ZIP AND AROMA here soon
i come back with posting some video with different result of flash test from @Jeetu neatrom aroma mod.
thanks.
NeatRom and Biftor ROM as i want
Hi dualbooter,
i have succes with my "universal updater-script for JB SAMMY 4.1.2 ROM",
i test it with last @_Sale_ NeatROM Lite 4.9 and @Biftor V12 ROM and AROMA v5 too.
these 2 ROMs i moded can be install either in 1rst or 2nd position ROM.
- In each ZIP ROM , I replace kernel zImage with @dorimanx V8.39 zImage, so kernel will be flash in all cases of flash.
- i restruct ZIP ROMs too and i only let superuser.apk in \system\app\
- updater-script will install all system APKs in \data\sec_data\ folder in DATA partition.
what i test with these restructured ZIPs :
- i have a biftor v11 in 2nd ROM following this model of ZIP i made before.
- in Recovery, i clone Biftor V11 2nd ROM to last NeatROM V4.9 1rst ROM i installed this night
- i flash my new moded Biftor V12 in 1rst rom, without any wipe.
There is no pb here while flashing to test, 1rst rom new installed Biftor V12 works perfectly fllowing this method.
i upload the 2 ZIPs ROM , in @wis1152 dev-host , thanks again to him.
1rst-2nd-ROM-Kernel-NoModem-I9100XWLSW_NeatROM_Lite_v4.9.zip
UpdNeatRomLite4.9-1rst-2nd-Rom-Jelly Bean Style Reloaded 1.07 - AROMA.zip
(i retouch restorer folder with some NeatRom Lite 4.9 files)
and
1rst-2nd-ROM-Kernel-NoModem-Biftor_Rom-V12-JB- XWLSW-No Wipe.zip
1rst-2nd-Rom-Biftor_Aroma-Mod-V5-JB-LS8-LSD-LSE-LSN-LSS-LSW.zip
just download and replace updater-script from attachment, in the V5 ZIP ("updater-script" named)
(its only correct somewhere in script \data\app\ path to \data\sec_data\ for only 2 files because i want all stuff from a MOD installed a part on the ROM,
never use \data\app\ which i concider as a personnal folder for our APPs.(its more easy to come back to restore if mod i test does not please me)
Some important lines i add in updater-script, to avoid some FCs or if users come from another base rom, lsd or other....
Make choice, before flash, you can delete some of them if you like :
Code:
delete_recursive("/data/data/com.android.SystemUI");
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.samsung.sec.android.application.csc");
delete("/data/data/com.android.providers.telephony/databases/nwk_info.db-journal");
delete("/data/data/com.android.providers.telephony/databases/telephony.db-journal");
delete("/data/data/com.android.providers.telephony/databases/nwk_info.db");
delete("/data/data/com.android.providers.telephony/databases/telephony.db");
delete("/data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml");
delete("/data/data/com.android.phone/shared_prefs/com.android.phone_preferences.xml");
Video-show of Biftor Aroma Mod V5 on NeatRom Lite 4.9 :
thanks
Ultimate TEST before i reduce activities on XDA
Hi all dualbooters , (and friends)
For this ULTRA test , i want to Thank :
_Sale_ for ROM
DorimanX for Kernel
Spannaa for Theme
ChristianNothing for Lockscreen Goodies
Lucky_sidhu (i learn from his great ROOM)
and
Zhuhang and VIPER520 for Viper , thread here
Rizal Lovins for Walkman
i can thank here Cheewaca DEV of Anorexia ROM v1.6 i found in HTCMania Forum but i learn from its ultra_slim rom too
i went to upload two zip rom in GDRIVE.
link will be only available in PM because i mix things from XDA DEVs.
the two zip flash V8.40 dorimanX kernel and MS3+ril modem, have several lib deleted, light fonts, US and FR langage only, no folder in /CSC/ new features.xml , changes in gps.conf...
if you dont want to flash modem , edit updater-script to delete lines relative to modem flash and replace it in ZIP. Do the same edit if you dont want to flash kernel too.
if you think you want some missed addons before flash, like google apps or other , look and search for some packages here , download one of CWM package and add them "structuraly" in ZIP ROM before flash.
The 1rst, without any addons :
EXTRA-1rst-2nd-ROM-Dori840Kernel-MS3_Modem-I9100XWLSW_NeatROM_Lite_v4.9.1.ZIP
213Mo (223*390*841 octets)
65 apks
the 2nd :
EXTRA-1rst-2nd-ROM-Dori840Kernel-MS3_Modem-I9100XWLSW_NeatROM_Lite_v4.9.1 - GINGER_THEMED+WALKMANXperiaZ1+VIPER+Torch+OthersGoodies.ZIP
239Mo (250*793*392 octets)
81 apks
DURING FLASH, ALL SYSTEM APKS WILL BE INSTALLED IN /DATA/SEC_DATA/ FOLDER AND SYMLINKED TO /SYSTEM/, SO, YOU CAN FLASH ZIP ROM ON 1RST OR 2ND POSITION.
BATTERY LIFE OR DRAINING IS NOT MY PURPOSE TO HELP TO.
AND MAKE NANDROID BEFORE FLASH, DONT FORGET TO BACKUP PRELOAD FOLDER IF YOU ALREADY HAVE A 4.1.2 JB SAMMY ROM.
thanks.
Troubadour666 said:
Hi dualbooter,
i have succes with my "universal updater-script for JB SAMMY 4.1.2 ROM",
i test it with last @_Sale_ NeatROM Lite 4.9 and @Biftor V12 ROM and AROMA v5 too.
these 2 ROMs i moded can be install either in 1rst or 2nd position ROM.
- In each ZIP ROM , I replace kernel zImage with @dorimanx V8.39 zImage, so kernel will be flash in all cases of flash.
- i restruct ZIP ROMs too and i only let superuser.apk in \system\app\
- updater-script will install all system APKs in \data\sec_data\ folder in DATA partition.
what i test with these restructured ZIPs :
- i have a biftor v11 in 2nd ROM following this model of ZIP i made before.
- in Recovery, i clone Biftor V11 2nd ROM to last NeatROM V4.9 1rst ROM i installed this night
- i flash my new moded Biftor V12 in 1rst rom, without any wipe.
There is no pb here while flashing to test, 1rst rom new installed Biftor V12 works perfectly fllowing this method.
i upload the 2 ZIPs ROM , in @wis1152 dev-host , thanks again to him.
1rst-2nd-ROM-Kernel-NoModem-I9100XWLSW_NeatROM_Lite_v4.9.zip
UpdNeatRomLite4.9-1rst-2nd-Rom-Jelly Bean Style Reloaded 1.07 - AROMA.zip
(i retouch restorer folder with some NeatRom Lite 4.9 files)
and
1rst-2nd-ROM-Kernel-NoModem-Biftor_Rom-V12-JB- XWLSW-No Wipe.zip
1rst-2nd-Rom-Biftor_Aroma-Mod-V5-JB-LS8-LSD-LSE-LSN-LSS-LSW.zip
just download and replace updater-script from attachment, in the V5 ZIP ("updater-script" named)
(its only correct somewhere in script \data\app\ path to \data\sec_data\ for only 2 files because i want all stuff from a MOD installed a part on the ROM,
never use \data\app\ which i concider as a personnal folder for our APPs.(its more easy to come back to restore if mod i test does not please me)
Some important lines i add in updater-script, to avoid some FCs or if users come from another base rom, lsd or other....
Make choice, before flash, you can delete some of them if you like :
Code:
delete_recursive("/data/data/com.android.SystemUI");
delete_recursive("/data/data/com.android.providers.settings");
delete_recursive("/data/data/com.android.settings");
delete_recursive("/data/data/com.android.vending");
delete_recursive("/data/data/com.android.providers.downloads");
delete_recursive("/data/data/com.google.android.gsf");
delete_recursive("/data/data/com.samsung.sec.android.application.csc");
delete("/data/data/com.android.providers.telephony/databases/nwk_info.db-journal");
delete("/data/data/com.android.providers.telephony/databases/telephony.db-journal");
delete("/data/data/com.android.providers.telephony/databases/nwk_info.db");
delete("/data/data/com.android.providers.telephony/databases/telephony.db");
delete("/data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml");
delete("/data/data/com.android.phone/shared_prefs/com.android.phone_preferences.xml");
Video-show of Biftor Aroma Mod V5 on NeatRom Lite 4.9 :
thanks
Click to expand...
Click to collapse
Hi Troubadour, you did a very very interesting work. However some step I am not very clear. Could you post, if possible, a step by step guide for proper installation of the two aromatized roms?
Very thanks
chrisXL said:
Hi Troubadour, you did a very very interesting work. However some step I am not very clear. Could you post, if possible, a step by step guide for proper installation of the two aromatized roms?
Very thanks
Click to expand...
Click to collapse
+1
chrisXL said:
Hi Troubadour, you did a very very interesting work. However some step I am not very clear. Could you post, if possible, a step by step guide for proper installation of the two aromatized roms?
Very thanks
Click to expand...
Click to collapse
sharp87 said:
+1
Click to expand...
Click to collapse
Hi,
i think as the two roms are same base, we can flash Aroma V5 from @Biftor on the two roms. have you read 1rst post tuto, i cant more be clear about command scripts i use and change. What point with flashing Aroma is not clear, its like as normal rom flash, just folders are changed in my purpose flashing rom? And you will use DorimanX kernel if you use my purpose rom in 1rst rom.
thanks
hey bro, i appreciate your work but have to say i really dont understand.. How to do it?? Can u make steps like this:
1. .....
2. .....
3. .....
I have downloaded the programs and have 2 ROMS: Biftor & CM10.2
PLZ HELP THNX ALOT!!
"...
I see now that we can have multiple combinations with any ROM in Dual-Boot ppl signature .
1rst rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
2nd rom : Rootbox or Resurrection Remix or CM10.X
1rst rom : Rootbox or Resurrection Remix or CM10.X
2nd rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
1rst rom : Rootbox or Resurrection Remix or CM10.X
2rst rom : Rootbox or Resurrection Remix or CM10.X
1rs rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
2nd rom : NeatROM, Biftor, VIVEK and many other JB SAMMY 4.1.2
... "
Many thx for this nice usefull guide/explanation!
Where can I find the same info for JB 4.3 ROM's ?
And the subject is a lttle too complex for me to understand on the fly, so I'd rather ask you straight away...
What ROM's can you dual-boot with Paranoid Android ? I did dualboot PA 3.99 RC2 and PACMAN ROM, but after a little time, I experienced some crashes...
And what about Gapps ? Do you have to install them for both ROM's ?
Thx for your help...
here the links to download DUALBOOT versions from @Christian Nothing great JellySnap V5 and @rrgrrg great WizzedRom v2 Roms
little changelog (dualboot) this is original ZIP ROM modded for dualboot with :
- updater-script and symlink_preload scrip has been touched
- dorimanX 8.43 zImage kernel file instead of original zImage
DualBoot JellySnap V5 : https://drive.google.com/file/d/0Bw4xquvHPdi_bGFvM0p5UXA5d2s/edit?usp=sharing
DualBoot WizzedRom v2 : https://drive.google.com/file/d/0Bw4xquvHPdi_VnpvV3pHWThYYnM/edit?usp=sharing
and my Real personal "universal" version with all APKs from ZIP managed in /preload/symlink/system/app/
(data/app/*.* and /system/app/*.* except superuser.apk)
universal-Dualboot-I9100XWMS1_JellySNAP_v5.0-DorimanX843.zip - 419.37 MB
thanks
Troubadour666 said:
here the....little changelog (dualboot) this is original ZIP ROM modded for dualboot with :
- updater-script and symlink_preload scrip has been touched
- dorimanX 8.43 zImage kernel file instead of original zImage
Click to expand...
Click to collapse
oh man I read all ur dual boot threads bt I can't understand how 2do it, m I use terminal or something!!? U only explain ur script!!
u can't post step by step.
What can I do updater-script.pdf and symlink_preload scrip.pdf.
U only say rename these without .pdf extension, release zip with overwight dori 8.xx kernel.
Can u plz write step by step how can I dual boot jb neat rom super light with kk omni.
cdaarif said:
oh man I read all ur dual boot threads bt I can't understand how 2do it, m I use terminal or something!!? U only explain ur script!!
u can't post step by step.
What can I do updater-script.pdf and symlink_preload scrip.pdf.
U only say rename these without .pdf extension, release zip with overwight dori 8.xx kernel.
Can u plz write step by step how can I dual boot jb neat rom super light with kk omni.
Click to expand...
Click to collapse
HI
1rst , you can't dualboot 4.1.2 / 4.4.2 roms with @dorimanx kernel for now but its needed , just one version for this specific dualboot (but not easy, mali driver are <>)
AFAIK, little explain dorimanx kernel :
- 8.43vxx dualboot 4.1.2 (maliv2)stock jb sammy like neatrom from @sale
- 10.43vxx dualboot 4.4.2 (maliv3) roms but you have to know how to install 4.4.2 rom and then use dorimanx kernel 10.43vxx version after
so, how to use my script *.pdf and how to change zImage kernel in XWMS2_NeatROM_SuperLite_v2.6.zip from @lucky_sidhu .
you will need :
- winrar on PC
- 8.43 dorimanx kernel downloaded from here :
http://dorimanx.shine.sk/kernels-jb...nx-V8.43-[12-21]-[24-10]-JB-SGII-PWR-CORE.zip
1-donwload updater-script.pdf and symlink_preload.pdf from @lucky_sidhu thread. rename the two without ".pdf" and no need to open them with editor (if you do it , dont save them in editor)
2-decompress Kernel_Dorimanx-V8.43-[12-21]-[24-10]-JB-SGII-PWR-CORE.zip downloaded in a folder , find zImage file in Kernel_Dorimanx-V8.43-[12-21]-[24-10]-JB-SGII-PWR-CORE.zip\boot
3-open XWMS2_NeatROM_SuperLite_v2.6.zip.
4-scratch some files in XWMS2_NeatROM_SuperLite_v2.6.zip : (drag and drop with Windows in Winrar opened on folder from XWMS2_NeatROM_SuperLite_v2.6.zip
zImage from Dorimanx zip you decompress in XWMS2_NeatROM_SuperLite_v2.6.zip\Sale folder
my symlink_preload in XWMS2_NeatROM_SuperLite_v2.6.zip\Sale folder
my updater-script in XWMS2_NeatROM_SuperLite_v2.6.zip\META-INF\com\google\android folder
5-close normaly winrar.
6-copy this new XWMS2_NeatROM_SuperLite_v2.6.zip in you sdcard.
if you already have a 2nd rom , you know how to flash this in 2nd rom , if not, my explain stop here, try to ask how to initiate 2nd rom with dorimanx in others forums
anw if you have dorimanx 8.43vxx installed on tel and dualboot two 4.1.2 rom, you can install this in your 1rst rom too and conserve you 2nd rom active too.
thanks, hope explains help you and maybe some others guys
Troubadour666 said:
HI
1rst , you can't dualboot 4.1.2 / 4.4.2 roms with @dorimanx kernel for now but its needed , just one version for this specific dualboot (but not easy, mali driver are <>)
AFAIK, little explain dorimanx kernel :
- 8.43vxx dualboot 4.1.2 (maliv2)stock jb sammy like neatrom from @sale
- 10.43vxx dualboot 4.4.2 (maliv3) roms but you have to know how to install 4.4.2 rom and then use dorimanx kernel 10.43vxx version after
so, how to use my script *.pdf and how to change zImage kernel in XWMS2_NeatROM_SuperLite_v2.6.zip from @lucky_sidhu .
you will need :
- winrar on PC
- 8.43 dorimanx kernel downloaded from here :
http://dorimanx.shine.sk/kernels-jb...nx-V8.43-[12-21]-[24-10]-JB-SGII-PWR-CORE.zip
1-donwload updater-script.pdf and symlink_preload.pdf from @lucky_sidhu thread. rename the two without ".pdf" and no need to open them with editor (if you do it , dont save them in editor)
2-decompress Kernel_Dorimanx-V8.43-[12-21]-[24-10]-JB-SGII-PWR-CORE.zip downloaded in a folder , find zImage file in Kernel_Dorimanx-V8.43-[12-21]-[24-10]-JB-SGII-PWR-CORE.zip\boot
3-open XWMS2_NeatROM_SuperLite_v2.6.zip.
4-scratch some files in XWMS2_NeatROM_SuperLite_v2.6.zip : (drag and drop with Windows in Winrar opened on folder from XWMS2_NeatROM_SuperLite_v2.6.zip
zImage from Dorimanx zip you decompress in XWMS2_NeatROM_SuperLite_v2.6.zip\Sale folder
my symlink_preload in XWMS2_NeatROM_SuperLite_v2.6.zip\Sale folder
my updater-script in XWMS2_NeatROM_SuperLite_v2.6.zip\META-INF\com\google\android folder
5-close normaly winrar.
6-copy this new XWMS2_NeatROM_SuperLite_v2.6.zip in you sdcard.
if you already have a 2nd rom , you know how to flash this in 2nd rom , if not, my explain stop here, try to ask how to initiate 2nd rom with dorimanx in others forums
anw if you have dorimanx 8.43vxx installed on tel and dualboot two 4.1.2 rom, you can install this in your 1rst rom too and conserve you 2nd rom active too.
thanks, hope explains help you and maybe some others guys
Click to expand...
Click to collapse
Very Well Explained :good:
lucky_sidhu said:
Very Well Explained :good:
Click to expand...
Click to collapse
thanks m8