Related
hi,
well i have a problem with my custom script. CMW says "bad" and "aborted" and does not apply my script. Here it is.
Someone can help ? thanks.
ui_print("--------------------------------");
ui_print("By: WILMANS2M ");
ui_print("--------------------------------");
ui_print("SimplyGSRom - Version 2.0 ");
ui_print("XXJVQ Based ROM Android 2.3.4");
ui_print("--------------------------------");
ui_print("Installation ... ");
show_progress(0.200000, 10);
run_program("/sbin/mount", "/dev/block/mmcblk0p2", "/data");
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/dbdata");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
ui_print(" ");
ui_print("Saving EFS");
ui_print(" ");
package_extract_dir("updates", "/tmp");
set_perm(0, 0, 0755, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
ui_print("Detection used rom...");
set_perm(0, 0, 0755, "/tmp/sgsr.sh");
run_program("/tmp/sgsr.sh");
show_progress(0.200000, 12);
ui_print("Optimization scripts ... ");
package_extract_dir("system", "/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/S01sysctl");
set_perm(0, 0, 0777, "/system/etc/init.d/S70zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/S97ramscript");
set_perm(0, 0, 0777, "/system/etc/init.d/S99complete");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_tun");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_sm_warm");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_netfilter");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_conservative");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_cifs");
ui_print(" ");
ui_print("Copying files");
ui_print(" ");
package_extract_dir("system", "/system");
package_extract_dir("sdcard", "/sdcard");
show_progress(0.200000, 60);
ui_print(" ");
ui_print("Virtual symlinks");
ui_print(" ");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("dumpstate", "/system/bin/dumpmesg");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("/system/xbin/su", "/system/bin/su");
symlink("/system/bin/debuggerd", "/system/bin/csview");
show_progress(0.200000, 70);
ui_print(" ");
ui_print("Fixing Permissions");
ui_print(" ");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/bin/launch_gps.sh");
set_perm(0, 2000, 0755, "/system/vendor/bin/gpsd");
set_perm(0, 2000, 0755, "/system/etc/bluetooth");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 06755, "/system/xbin/busybox");
set_perm(0, 0, 755, "/tmp/redbend_ua");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(0, 0, 0755, 0755, "/system/etc");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 04755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib");
set_perm_recursive(0, 0, 0755, 0644, "/system/fonts");
set_perm(0, 0, 06755, "/system/bin/sqlite3");
set_perm(0, 0, 06755, "/system/etc/hosts");
show_progress(0.200000, 80);
ui_print(" ");
ui_print("Installing Busybox");
ui_print(" ");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
show_progress(0.200000, 90);
ui_print(" ");
ui_print("Flashing Modem");
ui_print(" ");
set_perm(0, 0, 0755, "/tmp/bmlwrite");
run_program("/tmp/bmlwrite", "/tmp/modem.bin", "/dev/block/bml12");
ui_print(" ");
ui_print("Flashing Kernel");
ui_print(" ");
run_program("/tmp/bmlwrite", "/tmp/zImage", "/dev/block/bml7");
show_progress(1.000000, 0);
ui_print("SimplyGSROM installed");
ui_print("Flash ended! Your phone will reboot...");
run_program("/sbin/cp", "/tmp/recovery.log", "/data/update.log");
run_program("/sbin/unmount", "/dev/block/stl9", "/system");
run_program("/sbin/unmount", "/dev/block/stl10", "/dbdata");
run_program("/sbin/unmount", "/dev/block/stl11", "/cache");
run_program("/sbin/unmount", "/dev/block/mmcblk0p2", "/data");
ui_print(" ");
ui_print("--now");
run_program("/xbin/reboot");
WILMANS2M said:
hi,
well i have a problem with my custom script. CMW says "bad" and "aborted" and does not apply my script. Here it is.
Someone can help ? thanks.
ui_print("--------------------------------");
ui_print("By: WILMANS2M ");
ui_print("--------------------------------");
ui_print("SimplyGSRom - Version 2.0 ");
ui_print("XXJVQ Based ROM Android 2.3.4");
ui_print("--------------------------------");
ui_print("Installation ... ");
show_progress(0.200000, 10);
run_program("/sbin/mount", "/dev/block/mmcblk0p2", "/data");
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/dbdata");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
ui_print(" ");
ui_print("Saving EFS");
ui_print(" ");
package_extract_dir("updates", "/tmp");
set_perm(0, 0, 0755, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
ui_print("Detection used rom...");
set_perm(0, 0, 0755, "/tmp/sgsr.sh");
run_program("/tmp/sgsr.sh");
show_progress(0.200000, 12);
ui_print("Optimization scripts ... ");
package_extract_dir("system", "/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/S01sysctl");
set_perm(0, 0, 0777, "/system/etc/init.d/S70zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/S97ramscript");
set_perm(0, 0, 0777, "/system/etc/init.d/S99complete");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_tun");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_sm_warm");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_netfilter");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_conservative");
set_perm(0, 0, 0777, "/system/etc/init.d/enable_cifs");
ui_print(" ");
ui_print("Copying files");
ui_print(" ");
package_extract_dir("system", "/system");
package_extract_dir("sdcard", "/sdcard");
show_progress(0.200000, 60);
ui_print(" ");
ui_print("Virtual symlinks");
ui_print(" ");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("dumpstate", "/system/bin/dumpmesg");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("/system/xbin/su", "/system/bin/su");
symlink("/system/bin/debuggerd", "/system/bin/csview");
show_progress(0.200000, 70);
ui_print(" ");
ui_print("Fixing Permissions");
ui_print(" ");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/bin/launch_gps.sh");
set_perm(0, 2000, 0755, "/system/vendor/bin/gpsd");
set_perm(0, 2000, 0755, "/system/etc/bluetooth");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 06755, "/system/xbin/busybox");
set_perm(0, 0, 755, "/tmp/redbend_ua");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(0, 0, 0755, 0755, "/system/etc");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 04755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib");
set_perm_recursive(0, 0, 0755, 0644, "/system/fonts");
set_perm(0, 0, 06755, "/system/bin/sqlite3");
set_perm(0, 0, 06755, "/system/etc/hosts");
show_progress(0.200000, 80);
ui_print(" ");
ui_print("Installing Busybox");
ui_print(" ");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
show_progress(0.200000, 90);
ui_print(" ");
ui_print("Flashing Modem");
ui_print(" ");
set_perm(0, 0, 0755, "/tmp/bmlwrite");
run_program("/tmp/bmlwrite", "/tmp/modem.bin", "/dev/block/bml12");
ui_print(" ");
ui_print("Flashing Kernel");
ui_print(" ");
run_program("/tmp/bmlwrite", "/tmp/zImage", "/dev/block/bml7");
show_progress(1.000000, 0);
ui_print("SimplyGSROM installed");
ui_print("Flash ended! Your phone will reboot...");
run_program("/sbin/cp", "/tmp/recovery.log", "/data/update.log");
run_program("/sbin/unmount", "/dev/block/stl9", "/system");
run_program("/sbin/unmount", "/dev/block/stl10", "/dbdata");
run_program("/sbin/unmount", "/dev/block/stl11", "/cache");
run_program("/sbin/unmount", "/dev/block/mmcblk0p2", "/data");
ui_print(" ");
ui_print("--now");
run_program("/xbin/reboot");
Click to expand...
Click to collapse
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
you have told the updater script to set the first permission and then the 2nd instead of just one of them!
If I'm not correct then do adb logcat and figure out what is going wrong or ask the xda community!
The purpose of this thread is to discuss the issues so far in putting out ROMs for the SGH-i957, and to see if we can work out some of the issues.
The current status of the SGH-i957
Previous Work:
CWM: http://forum.xda-developers.com/showthread.php?t=1462770
Root: http://forum.xda-developers.com/showthread.php?t=1401100
OC Kernel: http://forum.xda-developers.com/showthread.php?t=1402643
Stock Rooted Deodexed ATT ROM: http://dev-host.org/3qr <--this is near unusable and lags, we are trying to figure out why. Thank jomeister15
DEV ONLY WILL NOT BOOT ICS 4.0.3 for the LTE Tab: http://dev-host.org/5w0 DEV ONLY WILL NOT BOOT Thank jomeister15
With these in place, we should be able to start making some ROMS. We initially were having issues creating an updater script which would work correctly with CWM.
Myself and Scarchunk both attempted to make ROMs, but could not get working updater scripts. jomeister15 managed to deodex, zipalign, and root the stock ROM from sammobile.com, and then create a CWM flashable zip which flashes and boots successfully. This is the update script.
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p24", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/system");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("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");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
package_extract_file("boot.img", "/dev/block/mmcblk0p8");
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
The issue now is that any ROM that is flashed through CWM is experiencing considerable lag. Even just the stock unmodified ROM (applies to Telus as well) in a CWM flashable zip lags.
Any insight on what could be causing this would be appreciated, and as further issues may come up, we can discuss them here.
__________________
Accompanying Information
Code:
C:\Users\Ryan\ADB>adb shell mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p24 /system ext4 ro,relatime,barrier=0,data=ordered 0 0
/dev/block/mmcblk0p26 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered
,noauto_da_alloc 0 0
/dev/block/mmcblk0p25 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordere
d 0 0
/dev/block/mmcblk0p21 /efs ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered
0 0
/dev/block/mmcblk0p13 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_uti
me=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p17 /system/etc/firmware/misc_mdm vfat ro,relatime,fmask=0000,
dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,e
rrors=remount-ro 0 0
/dev/block/mmcblk0p27 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=o
rdered 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,d
efault_permissions,allow_other 0 0
Most Recent Firmwares:
ATT: I957UCKJ7 (10/26/2011)
Bell: I957MUGKK4 (11/14/2011)
Telus: I957DTLKL2 (12/9/2011)
orlandoxpolice Hi! glad to see that someone is coordinating the development of roms for the i957. I'm from Russia and i'm using i957 here. It's nice and beautiful, but it doesn't contain my native language here.
I try to deodex stock rom but my knowledge isn't so good to complite deodexing.
Can you provide links for deodexed cwm rom? I want to start translating it to Russian language.
ps i'm ready to donate 25$ for developers who will work on i957!!!
Orlando, are you using the above updater script exactly as you've posted? If so, you're not deleting out the old /system.
In the original updater script you pm'd me the other night you had a format system command listed as the first line of the script. It immediately errored out on that line. I assume that's why you removed it. I flashed my rom with the exact script above and it did boot, but I was left with a mess of my old /system and the new /system that I was attempting to flash.
I imagine thats why you're seeing the odd behavior.
Just to be clear, the Telus & Bell firmwares are okay to flash on the i957 correct?
Sent from my SAMSUNG-SGH-I777 using XDA
Scarchunk said:
Orlando, are you using the above updater script exactly as you've posted? If so, you're not deleting out the old /system.
In the original updater script you pm'd me the other night you had a format system command listed as the first line of the script. It immediately errored out on that line. I assume that's why you removed it. I flashed my rom with the exact script above and it did boot, but I was left with a mess of my old /system and the new /system that I was attempting to flash.
I imagine thats why you're seeing the odd behavior.
Click to expand...
Click to collapse
Argh, must of missed a line in the copy paste. Sorry about that. I'll fix it tonight.
EDIT: Fixed the updater script paste in OP
Sent from my SAMSUNG-SGH-I727 using xda premium
neubauej said:
Just to be clear, the Telus & Bell firmwares are okay to flash on the i957 correct?
Sent from my SAMSUNG-SGH-I777 using XDA
Click to expand...
Click to collapse
Yes I believe multiple people have flashed each on the att version. You will have some differences though.
Edit: I was thinking, do you think the lag could be a permissions issue?
Sent from my SAMSUNG-SGH-I727 using xda premium
I will donate if devs start cooking some Ics ROMS or better HC roms for the LTE connectivity.
orlandoxpolice said:
Argh, must of missed a line in the copy paste. Sorry about that. I'll fix it tonight.
EDIT: Fixed the updater script paste in OP
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
What update binary are you using? I've tried a couple different ones and they don't like the syntax that you're using on that format command.
Some roms to choose from would be nice. Hoping somebody starts whipping some up. Even something stock based tweaked/debloated/rooted would be a good start. ICS would be cool
Scarchunk said:
What update binary are you using? I've tried a couple different ones and they don't like the syntax that you're using on that format command.
Click to expand...
Click to collapse
I believe he is using the one from da-g's skyrocket kernel.
"One that Da_g used in his overclocked kernel."
http://www.ponack.net/TPC/dagnarf/dagkernel-0.42-cwm-att.zip
you'll find it in there.
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p8");
Why you choose extract file for the kernel? , why not this
Code:
package_extract_file("boot.img", "/tmp")
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8");
motley kernel zip file and overcome for example..and no lag from my experience
I'll upload my laggy, flashable build later today if anyone wants to take a more in-depth look.
Hmmm I wonder what it could be then...
Sent from my SAMSUNG-SGH-I727 using xda premium
Any Rom any where??? is it uploaded some where??
Please read the entire thread before posting. We have roms made but when flashing through cwm they become laggy and we don't know why.
Sent from my SAMSUNG-SGH-I727 using xda premium
jomeister15 said:
I'll upload my laggy, flashable build later today if anyone wants to take a more in-depth look.
Click to expand...
Click to collapse
i read all tread before ask my question. Now pls look yourself two posts earlier.
i want to use i957 with my native language. I will translate rom to russian language for i957 users from Russia. But first i need deodexed rom. I try but i cant deodex it by myself. If somebody provide deodexed stock rom i can start translation work now. And when some devs relized first working rom i will need only change original .apk files with already translated. And my localized rom will be just on time.
that's why i'm asking about stock deodexed rom even if it don't working for now.
Jomeister15 has it. Don't know if he uploaded it anywhere yet.
Sent from my SAMSUNG-SGH-I727 using xda premium
So I am thinking that the lag problem lies in either some conflict with the device having a double mounted internal sd card....or a problem when deodexing the framework or system.
maybe check out these links?
http://code.google.com/p/smali/issues/detail?id=75
http://droidangel.blogspot.com/2011/08/solution-how-to-fix-deodexed.html
orlandoxpolice said:
So I am thinking that the lag problem lies in either some conflict with the device having a double mounted internal sd card....or a problem when deodexing the framework or system.
maybe check out these links?
http://code.google.com/p/smali/issues/detail?id=75
http://droidangel.blogspot.com/2011/08/solution-how-to-fix-deodexed.html
Click to expand...
Click to collapse
Pardon my total noob-ness but do we have access to any logs from boot up or shortly after? And if I flash the root package for this might the logs become accessible?
testulous said:
Pardon my total noob-ness but do we have access to any logs from boot up or shortly after? And if I flash the root package for this might the logs become accessible?
Click to expand...
Click to collapse
isn't there logcat?
OK I was able to get a rooted rom on my LT30a for rogers and all is working.
I first had to fix why mt phone was booting to a triangle with the wrench and screwdriver. well the fix was to leave it for a while. after about 40 minutes it just started on it's own. Seems i just needed some patience.
original post was about wifi and baseband. seems their is something wrong with my rom, as starting all over worked.
here's what i did.
1. flashed o2 rom generic.
2. rooted and installed cwm.
3. installed XperimenT v1.5 with cwm
4. rebooted from cwm and flashed kernel.
5. waited for phone to boot past the triangle with the wrench and screwdriver.
6. booted fine, installed titanium and restored all my apps from a backup. backup came from my xperia s.
7. all is working great.
Thanks to everyone for the help. :good:
-------------------------------------------------------------------------------------------------------------------------------------
This question is for any dev that might have an idea as too why my rom would kill the baseband. what could be missing form my system.img.
in the kitchen when you are making a new working folder you're asked about a boot file and i let it create a fake one. could that have something to do with it?
-------------------------------------------------------------------------------------------------------------------------------------
Hi All,
I have been trying to make a rom using rogers LT30a ftf file. (made my own ftf)
The rom i made works and installs ok, let me explain where i'm having an issue and what I've tried.
Issue, no wifi, no bluetooth, no network. radio band issue. (baseband)
1. Install 303 uk firmware, un select baseband.
2. install root v17
3. install cwm latest.
4. flash my rom. once my rom is flashed i loose wifi and bluetooth. they wont turn on.
5. flashed stock kernel (made one from LT30a ftf) un-selected wipe data. i didn't do that once and lost root LOL.
Things I've tried;
1. I have tried using the wlan.ko from gregbradley and put it in system\lib\modules\prima and changed name to prima_wlan.ko :crying:
2. put wlan.ko from gregbradley in system\lib\modules and left system\lib\modules\prima\prima_wlan.ko :crying:
3. used the stock prima_wlan.ko and put it in system\lib\modules and renamed to wlan.ko :crying:
4. used gregbradley wlan.ko for both system\lib\modules & system\lib\modules\prima renamed as need for each folder :crying:
5. used the wlan.ko from a working rom and copied to my rom :crying:
6. as per TiMiN8R's help :good: made sure wlan.ko had the right permission it does (rw-r--r-- (0644) :crying:
I have flashed my rom about 30 times in the last 2 days. i have restored to factory using pc companion 6 times. I'm saying this becasue i now can not even see my 5ghz network anymore even with a restore using pc companion. when the phone was new it did see my network. plus other devices see the 5ghz network. My router is a Linksys E4200 running DD-WRT v24-sp2 (03/19/12) mega.
If anyone could help i would be very gratefull, as for everyone i have PM'd for help thanks.
If more info is needed just ask.
Thanks
P.S
if there are any other LT30a user's here running any of the roms and they are working can you please share what rom you're using?
Update
I've been reading about basebands, lib's and rils. it seems alot of other devices have similar issue's. Which is good as it means a fix might come. i found a zip for the libs to flash after you update the baseband but it's for an older sony phone so some of the libs inside are different. Just hoping a more experienced dev see's this and can help?
I also read about Spectre51 and how to get root with xperia TL and keep LTE. this is where i read to uncheck basebands while using flashtool. I'll have to ask him if it did work and what else he might have tried.
Next steps I tried
I just tried these steps.
update log
1. flashed o2 ftf unchecked baseband.
2. before flash baseband was 8960A-AAAAANAZQ-1001501919 after flash checked baseband and it's different base band 8960A-AAAAANAZQ-10015008-11 so even when unchecked it does change.
3. ROOTED AND INSTALLED CWM.
4. Changed name of my rom to 7.0.A.3.195 and flashed with cwm (read some where to change build name so baseband can update).
5.flashed my rom and flashed cwm, then on reboot held power and volume up till phone screen goes black. did not hold long enough for phone to vibrate.
6. opened flashtool and selected rogers ftf and unselected all 3 options to wipe, selected exclude system. rebooted.
7. ok phone rebooted twice, apps updated and back to baseband unknown.
8. tried to flash baseband again and still baseband unknown.
9. inserted sim card, no help. (i did all this work with no sim card).
10. last thought maybe it's an issue with my updater-script? but i doubt it as other roms do the do the same.
here's a copy of my updater-script.
HTML:
show_progress(0.500000, 40);
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * HackitZ-LT30a * |");
ui_print(" | * ====== Base_7.0.A.3.195 ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print("-- Format system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("-- Delete files");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.data");
delete_recursive("/sdcard/LOST.DIR");
ui_print("-- Installing system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("-- Setting symlinks");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/base64");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/blockdev");
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/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
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/expand");
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/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/fsync");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/groups");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/inetd");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/iostat");
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/lsattr");
symlink("busybox", "/system/xbin/lsmod");
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/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mesg");
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/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
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/mount");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mpstat");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/nanddump");
symlink("busybox", "/system/xbin/nandwrite");
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/pmap");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/pstree");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/pwdx");
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/resize");
symlink("busybox", "/system/xbin/rev");
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/rx");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setconsole");
symlink("busybox", "/system/xbin/setserial");
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/sum");
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/taskset");
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/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/ttysize");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/umount");
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/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/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat");
symlink("busybox", "/system/bin/chmod");
symlink("busybox", "/system/bin/chown");
symlink("busybox", "/system/bin/cmp");
symlink("busybox", "/system/bin/date");
symlink("busybox", "/system/bin/dd");
symlink("busybox", "/system/bin/df");
symlink("busybox", "/system/bin/dmesg");
symlink("busybox", "/system/bin/getevent");
symlink("busybox", "/system/bin/getprop");
symlink("busybox", "/system/bin/hd");
symlink("busybox", "/system/bin/id");
symlink("busybox", "/system/bin/ifconfig");
symlink("busybox", "/system/bin/iftop");
symlink("busybox", "/system/bin/insmod");
symlink("busybox", "/system/bin/ioctl");
symlink("busybox", "/system/bin/ionice");
symlink("busybox", "/system/bin/kill");
symlink("busybox", "/system/bin/ln");
symlink("busybox", "/system/bin/log");
symlink("busybox", "/system/bin/ls");
symlink("busybox", "/system/bin/lsmod");
symlink("busybox", "/system/bin/lsof");
symlink("busybox", "/system/bin/md5");
symlink("busybox", "/system/bin/mkdir");
symlink("busybox", "/system/bin/mount");
symlink("busybox", "/system/bin/mv");
symlink("busybox", "/system/bin/nandread");
symlink("busybox", "/system/bin/netstat");
symlink("busybox", "/system/bin/newfs_msdos");
symlink("busybox", "/system/bin/notify");
symlink("busybox", "/system/bin/printenv");
symlink("busybox", "/system/bin/ps");
symlink("busybox", "/system/bin/r");
symlink("busybox", "/system/bin/reboot");
symlink("busybox", "/system/bin/renice");
symlink("busybox", "/system/bin/rm");
symlink("busybox", "/system/bin/rmdir");
symlink("busybox", "/system/bin/rmmod");
symlink("busybox", "/system/bin/route");
symlink("busybox", "/system/bin/schedtop");
symlink("busybox", "/system/bin/sendevent");
symlink("busybox", "/system/bin/setconsole");
symlink("busybox", "/system/bin/setprop");
symlink("busybox", "/system/bin/sleep");
symlink("busybox", "/system/bin/smd");
symlink("busybox", "/system/bin/start");
symlink("busybox", "/system/bin/stop");
symlink("busybox", "/system/bin/sync");
symlink("busybox", "/system/bin/top");
symlink("busybox", "/system/bin/touch");
symlink("busybox", "/system/bin/umount");
symlink("busybox", "/system/bin/uptime");
symlink("busybox", "/system/bin/vmstat");
symlink("busybox", "/system/bin/watchprops");
symlink("busybox", "/system/bin/wipe");
ui_print("-- Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 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(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 0, 0644, "/system/build.prop");
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");
set_perm(0, 0, 06755, "/system/xbin/sqlite3");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 2000, 0755, "/system/bin/ric");
set_perm(0, 0, 0644, "/system/lib/modules/wlan.ko");
set_perm(0, 0, 0644, "/system/lib/modules/prima/prima_wlan.ko");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/recovery.log");
run_program("/sbin/sleep", "5");
ui_print("-- Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
ui_print("");
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * ====== Enjoy ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print(" | * Installation Complete! * |");
ui_print(" | *************************************** |");
Here's the log from flashtool when i try to update the baseband.
HTML:
23/019/2012 20:19:41 - INFO - Selected LT30_7.0.A.3.195_Rogers.ftf
23/019/2012 20:19:41 - INFO - Preparing files for flashing
23/019/2012 20:19:41 - INFO - Please connect your device into flashmode.
23/019/2012 20:19:50 - INFO - Device connected in flash mode
23/019/2012 20:19:50 - INFO - Opening device for R/W
23/019/2012 20:19:50 - INFO - Reading device information
23/019/2012 20:19:50 - INFO - Phone ready for flashmode operations.
23/019/2012 20:19:50 - INFO - Start Flashing
23/019/2012 20:19:50 - INFO - Processing loader
23/019/2012 20:19:50 - INFO - Checking header
23/019/2012 20:19:50 - INFO - Flashing data
23/019/2012 20:19:53 - INFO - Loader : S1_Root_7054 - Version : R5F001 / Bootloader status : NOT_ROOTABLE
23/019/2012 20:19:53 - INFO - Disabling final data verification check
23/019/2012 20:19:53 - INFO - Processing amss_fs_2.sin
23/019/2012 20:19:53 - INFO - Checking header
23/019/2012 20:19:53 - INFO - Flashing data
23/019/2012 20:19:53 - INFO - Processing amss_fs_1.sin
23/019/2012 20:19:53 - INFO - Checking header
23/019/2012 20:19:53 - INFO - Flashing data
23/019/2012 20:19:53 - INFO - Processing amss_fsg.sin
23/019/2012 20:19:53 - INFO - Checking header
23/019/2012 20:19:53 - INFO - Flashing data
23/019/2012 20:19:54 - INFO - Ending flash session
23/019/2012 20:19:54 - INFO - Flashing finished.
23/019/2012 20:19:54 - INFO - Please unplug and start your phone
23/019/2012 20:19:54 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
23/019/2012 20:19:54 - INFO - Device connected in flash mode
23/020/2012 20:20:01 - INFO - Device disconnected
hackit said:
Hi All,
I have been trying to make a rom using rogers LT30a ftf file. (made my own ftf)
?
Click to expand...
Click to collapse
have you tried this
EDIT
Also flash a stock kernel if you have flashed any other kernel. Use one from the all in one thread
gregbradley said:
have you tried this
EDIT
Also flash a stock kernel if you have flashed any other kernel. Use one from the all in one thread
Click to expand...
Click to collapse
Thanks gregbradley i'll try it now. should i replace both wlan.ko with this one?
or just put this one in system\lib\modules?
Yes i flashed a stock kernel, i made one from my lt30a ftf file.
hackit said:
Thanks gregbradley i'll try it now. should i replace both wlan.ko with this one?
or just put this one in system\lib\modules?
Yes i flashed a stock kernel, i made one from my lt30a ftf file.
Click to expand...
Click to collapse
Try flashing it first, it should work. If it doesnt, try it manually and change one, then both.
Then you can incorporate it in your rom.
gregbradley said:
Try flashing it first, it should work. If it doesnt, try it manually and change one, then both.
Then you can incorporate it in your rom.
Click to expand...
Click to collapse
Ok I tried flashing it, no go.
i then tried putting it in a rom, no go.
Then i was looking on the phone, i noticed my baseband say's unknown (settings about phone). I thought when i flash the uk 303 ftf and un-select baseband i would keep the original baseband. but it seems as i end up with no baseband. So i created a new kernel ftf and addded the baseband from the lt30a ftf and flashed it.
still the baseband say's unkonwn.
I'm sure this is the issue, but i need to go out for a few hours and will get back to it later.
if someone with more experience than me has an idea please share.
What happens when you use your own ftf to flash back to stock? This should get back your baseband. If it doesn't, I don't know what will.
Tapatalked from my XperimenTal LT30p using xda-developers-app
TiMiN8R said:
What happens when you use your own ftf to flash back to stock? This should get back your baseband. If it doesn't, I don't know what will.
Tapatalked from my XperimenTal LT30p using xda-developers-app
Click to expand...
Click to collapse
Yeah if i use my own ftf file i get my baseband back.
so i tried to add the baseband files from my ftf to the o2 ftf. it flashes good and wifi works.
so then i tried to flash my rom with cwm thinking the baseband would stay, but no luck.
so then i added the basebands to my kerel ftf and flashed that with flashtool and it flashes ok but the baseband still says un known.
looks like theirs an issue with either LT30a and going to LT30p back to LT30a or my personal phone.
Ok after flashing a few more times it seems that if i use cwm to flash i loose my baseband.
has anyone else with an LT30a flashed a rom and kept the baseband?
I just tried these steps.
update log
1. flashed o2 ftf unchecked baseband.
2. before flash baseband was 8960A-AAAAANAZQ-1001501919 after flash checked baseband and it's different base band 8960A-AAAAANAZQ-10015008-11 so even when unchecked it does change.
3. ROOTED AND INSTALLED CWM.
4. Changed name of my rom to 7.0.A.3.195 and flashed with cwm (read some where to change build name so baseband can update).
5.flashed my rom and flashed cwm, then on reboot held power and volume up till phone screen goes black. did not hold long enough for phone to vibrate.
6. opened flashtool and selected rogers ftf and unselected all 3 options to wipe, selected exclude system. rebooted.
7. ok phone rebooted twice, apps updated and back to baseband unknown.
8. tried to flash baseband again and still baseband unknown.
9. inserted sim card, no help. (i did all this work with no sim card).
10. last thought maybe it's an issue with my updater-script? but i doubt it as other roms do the do the same.
here's a copy of my updater-script.
Code:
show_progress(0.500000, 40);
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * HackitZ-LT30a * |");
ui_print(" | * ====== Base_7.0.A.3.195 ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print("-- Format system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("-- Delete files");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.data");
delete_recursive("/sdcard/LOST.DIR");
ui_print("-- Installing system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("-- Setting symlinks");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/base64");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/blockdev");
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/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
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/expand");
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/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/fsync");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/groups");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/inetd");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/iostat");
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/lsattr");
symlink("busybox", "/system/xbin/lsmod");
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/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mesg");
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/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
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/mount");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mpstat");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/nanddump");
symlink("busybox", "/system/xbin/nandwrite");
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/pmap");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/pstree");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/pwdx");
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/resize");
symlink("busybox", "/system/xbin/rev");
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/rx");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setconsole");
symlink("busybox", "/system/xbin/setserial");
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/sum");
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/taskset");
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/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/ttysize");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/umount");
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/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/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat");
symlink("busybox", "/system/bin/chmod");
symlink("busybox", "/system/bin/chown");
symlink("busybox", "/system/bin/cmp");
symlink("busybox", "/system/bin/date");
symlink("busybox", "/system/bin/dd");
symlink("busybox", "/system/bin/df");
symlink("busybox", "/system/bin/dmesg");
symlink("busybox", "/system/bin/getevent");
symlink("busybox", "/system/bin/getprop");
symlink("busybox", "/system/bin/hd");
symlink("busybox", "/system/bin/id");
symlink("busybox", "/system/bin/ifconfig");
symlink("busybox", "/system/bin/iftop");
symlink("busybox", "/system/bin/insmod");
symlink("busybox", "/system/bin/ioctl");
symlink("busybox", "/system/bin/ionice");
symlink("busybox", "/system/bin/kill");
symlink("busybox", "/system/bin/ln");
symlink("busybox", "/system/bin/log");
symlink("busybox", "/system/bin/ls");
symlink("busybox", "/system/bin/lsmod");
symlink("busybox", "/system/bin/lsof");
symlink("busybox", "/system/bin/md5");
symlink("busybox", "/system/bin/mkdir");
symlink("busybox", "/system/bin/mount");
symlink("busybox", "/system/bin/mv");
symlink("busybox", "/system/bin/nandread");
symlink("busybox", "/system/bin/netstat");
symlink("busybox", "/system/bin/newfs_msdos");
symlink("busybox", "/system/bin/notify");
symlink("busybox", "/system/bin/printenv");
symlink("busybox", "/system/bin/ps");
symlink("busybox", "/system/bin/r");
symlink("busybox", "/system/bin/reboot");
symlink("busybox", "/system/bin/renice");
symlink("busybox", "/system/bin/rm");
symlink("busybox", "/system/bin/rmdir");
symlink("busybox", "/system/bin/rmmod");
symlink("busybox", "/system/bin/route");
symlink("busybox", "/system/bin/schedtop");
symlink("busybox", "/system/bin/sendevent");
symlink("busybox", "/system/bin/setconsole");
symlink("busybox", "/system/bin/setprop");
symlink("busybox", "/system/bin/sleep");
symlink("busybox", "/system/bin/smd");
symlink("busybox", "/system/bin/start");
symlink("busybox", "/system/bin/stop");
symlink("busybox", "/system/bin/sync");
symlink("busybox", "/system/bin/top");
symlink("busybox", "/system/bin/touch");
symlink("busybox", "/system/bin/umount");
symlink("busybox", "/system/bin/uptime");
symlink("busybox", "/system/bin/vmstat");
symlink("busybox", "/system/bin/watchprops");
symlink("busybox", "/system/bin/wipe");
ui_print("-- Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 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(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 0, 0644, "/system/build.prop");
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");
set_perm(0, 0, 06755, "/system/xbin/sqlite3");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 2000, 0755, "/system/bin/ric");
set_perm(0, 0, 0644, "/system/lib/modules/wlan.ko");
set_perm(0, 0, 0644, "/system/lib/modules/prima/prima_wlan.ko");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/recovery.log");
run_program("/sbin/sleep", "5");
ui_print("-- Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
ui_print("");
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * ====== Enjoy ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print(" | * Installation Complete! * |");
ui_print(" | *************************************** |");
I did #3 of what you listed in your OT. Copied and renamed the primary_wlan.ko file to wlan.ko and put it in /system/lib/modules
That's all I had to do to get my wifi working again on my generic .223 based rom. Once I flashed it I flashed just the kernel for that firmware. I had originally flashed the stock generic firmware excluding baseband to keep LTE.
What changes did you make to your rom prior to packaging it?
Sent from my Sony Xperia™ TL
Spectre51 said:
What changes did you make to your rom prior to packaging it?
Sent from my Sony Xperia™ TL
Click to expand...
Click to collapse
A few but nothing to major, at least i think.
The latest rom i made i just removed the rogers apps, and added root, busy box and deoxed it.
I'm starting to obsess over this :cyclops:, you know our versions of the xperia t, LT30a and LT30at have a different chip. the lt30p uses the MSM8260A and the lt30a and lt30at use MSM8960.
Now i know that the main difference is the lte just not sure if the software is the same?
That's all I had to do to get my wifi working again on my generic .223 based rom
Click to expand...
Click to collapse
So you made a rom as well?
P.S just a thought, did you flash your phone with the sim card in it? I have not put my sim card in my phone while doing any of this.
hackit said:
I have not put my sim card in my phone while doing any of this.
Click to expand...
Click to collapse
why not?
I dont think it will make a difference but why would you take it out,
gregbradley said:
why not?
I dont think it will make a difference but why would you take it out,
Click to expand...
Click to collapse
It's not that i took it out. i left it in my Xperia S, i still needed a phone.
I mentioned that because i read a post somewhere that the sim card has info about the baseband.
Ok I started flashing with the sim card in and it appears that it's needed.(maybe).
i flashed the o2 rom, rooted, installed cwm.
I then flashed XperimenT_v1.5.zip, all was good. did not let phone reboot.
flashed .223 stock kernel from rom page.
I start phone and now i have the triangle with the screw driver and wrench.
So after 4 hours i cant get back to a stock rogers rom. urgh...
the only rom the boots is if i flash the o2 rom.
tried rogers stock in flash tool and also tried pc companion.
now im flashing rogers stock with out the sim card.
so once i get the phone booting again ill try XperimenT_v1.5 again.
My issue might be the sim card has to be installed and also my rom might be bad.
-----------
Ok flashing rogers stock rom with flash tool still gives me the triangle with the screw driver and wrench.
anyone have an idea how to get back to stock?
I don't think it has to do with the sim card. I made a rom for my ion as well and didn't put the sim card in till after I had flashed everything and it worked fine.
If you want I can upload my Lt30 rom and you can try flashing it from a stock rogers setup and see if you lose baseband again.
Sent from my Sony Xperia™ TL
Spectre51 said:
I don't think it has to do with the sim card. I made a rom for my ion as well and didn't put the sim card in till after I had flashed everything and it worked fine.
If you want I can upload my Lt30 rom and you can try flashing it from a stock rogers setup and see if you lose baseband again.
Sent from my Sony Xperia™ TL
Click to expand...
Click to collapse
sounds good. what kernel ftf did you use?
trying to get back to rogers stock seems to be an issue.
pc companion will not update.
flashtool flashes rogers stock ok but wont boot.
all i can flash and boot is the o2 ftf.
hackit said:
sounds good. what kernel ftf did you use?
trying to get back to rogers stock seems to be an issue.
pc companion will not update.
flashtool flashes rogers stock ok but wont boot.
all i can flash and boot is the o2 ftf.
Click to expand...
Click to collapse
After I flashed my .223 based rom I flashed the kernel for .223. Generic LT30p.
Sent from my Sony Xperia™ TL
How sad i'm making a post on christmas eve at 8:40 pm.
Any ways, i was able to get back to an o2 rom, still no rogers. and then flashed XperimenT v1.5. all seems ok.
when ever i flash the .223 stock kernel. i get the triangle with screw driver and wrench.
not sure what i'll do.
merry christmas to all and the rest have a great night.
Wow the only rom i can flash is the o2 303 rom. if i flash any other rom in flashtool i get the triangle. what the heck,,,,,,,,,,
Ok i was able to get back to a stock rogers. woo hoo.
Now i was about to try the process all over again, but maybe someone with experience of doing this successfully can chime in. so long as you came from a rogers branded LT30a.
I do have a question for Spectre51
Okay people now that I have been able to create a stock AT&T LT30at ftf file: https://docs.google.com/open?id=0Byr...EZpSE16bWdKV1E I went ahead with testing if I could flash a generic LT30p firmware on my LT30at EXCLUDING the baseband so I could keep LTE.
I used the LT30p firmware version 7.0.A.3.195 generic and flashed it through flashtools wiping everything but excluding the baseband. By doing this I was able to keep LTE support and have a generic unbranded firmware. I then restored all my apps using the included backup & restore app ( I had manually installed it on the LT30at firmware previously)
Everything went fine but of course I couldn't root using Bin4ry's method with the firmware I used. Also tethering works without issue. I did have to setup the AT&T LTE apn which can be found here: http://forum.xda-developers.com/show...29&postcount=4
Click to expand...
Click to collapse
As per your post above i just noticed that you are not root, you went from .195 to generic .195.
My issue seems to be going back to .303 and then going back up to .195. no matter what i've tried when i'm done and I'm at the point where i have to flash the kernel i always end up with booting to the triangle. So im thinking it's not a good thing to go back to .303 when you have a different baseband.
Can someone who has a rogers phone confirm it has worked for them, going to a .303 firmware rooting and then flashing another rom with cwm.
Thanks
I get the triangle too after flashing .195 kernel. It is normal I think because of the S1boot update. But it only stays for a few seconds then reboots to normal. I don't know if it gets overwritten when you go back to .303 but it might have something to do with this.
Sent from my ARCHOS 80G9 using xda app-developers app
hackit said:
Ok i was able to get back to a stock rogers. woo hoo.
Now i was about to try the process all over again, but maybe someone with experience of doing this successfully can chime in. so long as you came from a rogers branded LT30a.
I do have a question for Spectre51
As per your post above i just noticed that you are not root, you went from .195 to generic .195.
My issue seems to be going back to .303 and then going back up to .195. no matter what i've tried when i'm done and I'm at the point where i have to flash the kernel i always end up with booting to the triangle. So im thinking it's not a good thing to go back to .303 when you have a different baseband.
Can someone who has a rogers phone confirm it has worked for them, going to a .303 firmware rooting and then flashing another rom with cwm.
Thanks
Click to expand...
Click to collapse
That post you quoted was just for testing flashing the generic firmware excluding baseband to make sure I could keep LTE.
When I flashed my rom I went from a stock AT&T firmware & kernel. factory reset, rooted and cwm installed. Flashed my rom in cwm (I integrated the reboot fix and cwm into my rom) then flashed the stock .223 firmware through flash tools excluding everything except kernel and wiping nothing.
Had zero issues when I booted up.
Again I had made a copy of and renamed the wifi module primary_wlan.ko in the /system/lib/modules/primary folder to just wlan.ko and put it in the /system/lib/modules folder. That was the fix for wifi not working.
Sent from my Sony Xperia™ TL
i make a rom - well as written here: http://forum.xda-developers.com/showthread.php?t=2266842
all things are work. i flash the rom ... works too ... BUT: wifi not work, usb not work, phone not work!
What am I doing wrong? even if i flash "multi csc" ... nothing ...
My folderinfo:
Code:
Android OS version : 4.1.2
Device : golden
Model : GT-I8190
ROM Name : JZO54K.I8190XXAMD3
CSC version : I8190OXAAMD3
Rooted (Superuser app + su) : No
Rooted (unsecured boot.img) : No
BusyBox installed : No
BusyBox run-parts support : No
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : No
/system/framework is deodexed : NO
/system/app is deodexed : NO
radio.img found : NO
ROM will wipe all data : NO
than ... i install root, busybox and change the rom name. NOTHING more!
But doent works after flash ...
pls help me
hurricane2012 said:
i make a rom - well as written here: http://forum.xda-developers.com/showthread.php?t=2266842
all things are work. i flash the rom ... works too ... BUT: wifi not work, usb not work, phone not work!
pls help me
Click to expand...
Click to collapse
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
That line gave me same problem.
Instead I used
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system/app");
delete_recursive("/system/framework");
Can you post the updater-script?
my updater script (autogenerated)
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.2, 10);
unmount("/system");
when i create the working folder - this warning
Code:
Warning: No cache.img.ext4 found. You can unpack this file separately
by running the plugin script in the kitchen's Advanced menu options.
If your device doesn't use a CSC, then just ignore this message.
what should I do? In folderinfo
Code:
CSC version : I8190OXAAMD3
is now included or not?
after flash: "sim card not found - please insert"
Yeah. it must be that line as it gave me the same problem.
Use notepad++ to edit the script manually.
Remove that line and replace it with:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system/app");
delete_recursive("/system/framework");
delete_recursive("/system");
or maybe:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system");
tys0n said:
Yeah. it must be that line as it gave me the same problem.
Use notepad++ to edit the script manually.
Remove that line and replace it with:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system/app");
delete_recursive("/system/framework");
delete_recursive("/system");
or maybe:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system");
Click to expand...
Click to collapse
ok i test it ... take some minutes
hurricane2012 said:
when i create the working folder - this warning
Code:
Warning: No cache.img.ext4 found. You can unpack this file separately
by running the plugin script in the kitchen's Advanced menu options.
If your device doesn't use a CSC, then just ignore this message.
what should I do? In folderinfo
Code:
CSC version : I8190OXAAMD3
is now included or not?
after flash: "sim card not found - please insert"
Click to expand...
Click to collapse
I did extract the cache.img. You'll get a sec_csc.zip.
Just extract it and place the folders/files into your rom.
when i replace the line with your code ... in cwm abort install error 6
okay i used a wrong texteditor ... i replaced the errors ... flash again ... take some minutes ...
hurricane2012 said:
when i replace the line with your code ... in cwm abort install error 6
okay i used a wrong texteditor ... i replaced the errors ... flash again ... take some minutes ...
Click to expand...
Click to collapse
Yeah it have to be notepad++ if you're on a windows machine.
Also, you might have to flash official firmware in order to get your phone capabillities restored now that "/system" got formatted.
I do't know..
tys0n said:
Yeah it have to be notepad++ if you're on a windows machine.
Also, you might have to flash official firmware in order to get your phone capabillities restored now that "/system" got formatted.
I do't know..
Click to expand...
Click to collapse
must i deodex?
hurricane2012 said:
must i deodex?
Click to expand...
Click to collapse
Odexed vs Deodexed
You can use my updater script if you want tell me if it works!
Sent from my GT-I8190N using xda app-developers app
dariolob said:
You can use my updater script if you want tell me if it works!
Sent from my GT-I8190N using xda app-developers app
Click to expand...
Click to collapse
where can find it?
Take the v4 one! Not v5 because of the AROMA installer
Sent from my GT-I8190N using xda app-developers app
I do following steps:
- extract "HOME_I8190XXAMD3_I8190OXAAMD3_1154865_REV00_user_low_ship.tar"
- create a new zip with boot.img and system.img
- open Cygwin Terminal as adminsitrator
- open android kitchen
- extract cache.img (0 -> 18 -> 3)
- setup working folder
- copy the folder "system" (frome extracted cache.img) into workingfolder
Now folder information
Code:
Working folder information (v0.223)
Android OS version : 4.1.2
Device : golden
Model : GT-I8190
ROM Name : JZO54K.I8190XXAMD3
CSC version : I8190OXAAMD3
Rooted (Superuser app + su) : NO
Rooted (unsecured boot.img) : NO
BusyBox installed : NO
BusyBox run-parts support : NO
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : NO
/system/framework is deodexed : NO
/system/app is deodexed : NO
radio.img found : NO
ROM will wipe all data : NO
- add root ( 2 -> c )
- add busybox ( 3 )
- add running parts (busybox: 0 -> 14)
now my folder information
Code:
Working folder information (v0.223)
Android OS version : 4.1.2
Device : golden
Model : GT-I8190
ROM Name : JZO54K.I8190XXAMD3
CSC version : I8190OXAAMD3
Rooted (Superuser app + su) : YES
Rooted (unsecured boot.img) : YES
BusyBox installed : YES
BusyBox run-parts support : YES
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : NO
/system/framework is deodexed : NO
/system/app is deodexed : NO
radio.img found : NO
ROM will wipe all data : NO
- build rom ( 99 )
* build option 1
* optimize apk: no
* updater-script: yes
* sign your rom: yes
* rename the zip-file: no
- open zip in outputfolder
- replace the updater-script with updater-script from DMod v4
- copy on sd-card
- boot into recovery
* format data
* format system
* wipe cache
* wipe dalvyk cache
- install my rom
* data/factory reset
- reboot
Result: no phone, no wifi, no usb connection with pc ...
what is wrong?
I just only want a working cwm rom without any mods
the v4Script:
Code:
assert(getprop("ro.product.device") == "golden" || getprop("ro.build.product") == "golden" ||
getprop("ro.product.device") == "i8190N" || getprop("ro.build.product") == "i8190N" ||
getprop("ro.product.device") == "GT-I8190N" || getprop("ro.build.product") == "GT-I8190N");
show_progress(0.500000, 0);
unmount("/system");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
format("ext4", "EMMC", "/dev/block/mmcblk0p23");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete("/data/system/batterystats.bin");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/boot-cache/");
delete_recursive("/data/nos_injection/");delete_recursive("/data/resource-cache/");
delete_recursive("/data/system/usagestats");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/local");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/time");
delete_recursive("/data/user");
delete_recursive("/data/system");
package_extract_dir("data", "/data");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
unmount("/data");
package_extract_file("initd.sh", "/tmp/initd.sh");
set_perm(0, 0, 0777, "/tmp/initd.sh");
run_program("/tmp/initd.sh", "/tmp/initd.sh");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 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, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 0755, "/system/etc/be_movie");
set_perm(0, 0, 0755, "/system/etc/be_photo");
set_perm(0, 0, 04755, "/system/xbin/sysrw");
set_perm(0, 0, 04755, "/system/xbin/sysro");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 0, 0777, "/system/bin/nos_entropy");
set_perm(0, 0, 0777, "/system/bin/4cylturbo");
set_perm(0, 0, 0777, "/system/bin/sysro");
set_perm(0, 0, 0777, "/system/bin/sysrw");
set_perm(0, 0, 0777, "/system/bin/rambooster");
set_perm(0, 0, 0777, "/system/bin/zipalign_apks");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/zram");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/nos_scripts");
set_perm(0, 0, 0777, "/system/etc/nos_scripts/nos_entropy");
set_perm(0, 0, 0777, "/system/etc/init.d/nos_entropy");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/nos_scripts");
set_perm(0, 0, 0777, "/system/etc/zram/nose_zram_swap");
set_perm(0, 0, 0755, 0644, "/system/etc/resolv.conf");
set_perm(0, 0, 0755, 0644, "/system/etc/sysctl.conf");
set_perm(0, 0, 0777, "/data/nos_injection/4cylturbo/etc/cron");
set_perm(0, 0, 0644, "/data/nos_injection/4cylturbo/etc/cron/root");
set_perm(0, 2000, 0777, "/system/xbin/rngd");
set_perm(0, 2000, 0777, "/system/xbin/entro");
set_perm(0, 0, 04755, "/system/xbin/sqlite3");
set_perm(0, 0, 04755, "/system/xbin/zipalign");
show_progress(0.500000, 25);
show_progress(0.500000, 75);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.500000, 100);
unmount("/system");
unmount("/data");
unmount("/cache");
Please help
Why you don't follow my "Howto" ? .... and btw i think your problem is that youre modem.bin is from AMB3 not updated to AMD3...
Sent from my Nexus 4 using xda premium
enox.co said:
Why you don't follow my "Howto" ? .... and btw i think your problem is that youre modem.bin is from AMB3 not updated to AMD3...
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
on which position i not follow your howto?
info from settings: Basibandversion: I8190XXAMD3
-wipe data / factory reset after flashing your rom should fix the problems....
enox.co said:
-wipe data / factory reset after flashing your rom should fix the problems....
Click to expand...
Click to collapse
View my post:
- install my rom
* data/factory reset
- reboot
Click to expand...
Click to collapse
Hi
i created a sample recovery cwm update file for you guys that want to install new mods on your phone:
this is updater-script file:
Code:
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0644, "/system/build.prop");
if you want to install Kernel
create a directory beside the META-INF folder and name it to what you want.
for example is used amestris folder and i copy the boot.img [kernel file] into amestris folder.
Code:
# Installing The Kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
#finish
---------------------------------------------------------------
this is an example for installing busybox
Code:
# install Busybox
# Mounting system partition
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
# copy busybox applet to system-xbin folder
# you have to create a folder beside META-INF folder and name it to system and then you have to craete xbin folder into the system directory and name it to xbin , then copy busybox applet into xbin folder]
# finally we have " /system/xbin/busybox
# copy busybox to phone
package_extract_dir("system", "/system");
# do permission
set_perm(0, 1000, 0755, "/system/xbin/busybox");
# create a symlink for busybox into the bin folder
symlink("/system/xbin/busybox", "/system/bin/busybox");
# install busybox
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
#finish
# Author Comments
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" M Javad Nazari")
All lines that starts by sharp [ # ] , they are comments line and you can delete them.
------------------------------------------------------------------
Another Example
Code:
# AMESTRIS TEAM.
ui_print(" Amestris Team");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
show_progress(0.1, 0);
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/efs", "/efs");
ui_print(" ");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
show_progress(0.1, 3);
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
show_progress(0.1, 6);
#Symlinking Files to bin folder
symlink("/system/xbin/busybox", "/system/bin/busybox");
symlink("/system/xbin/su", "/system/bin/su");
#Installing Busybox 1.20.2
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
ui_print(" ");
show_progress(0.1, 7);
# EFS Backup
ui_print(" Creating EFS Backup");
package_extract_file("amestris/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0777, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
show_progress(0.1, 9);
# Installing The Kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.1, 10);
#finish
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" M Javad Nazari")
M_J_Nazari said:
All lines that starts by sharp [ # ] , they are comments line and you can delete them.
------------------------------------------------------------------
Another Example
Code:
# AMESTRIS TEAM.
ui_print(" Amestris Team");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
show_progress(0.1, 0);
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/efs", "/efs");
ui_print(" ");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
show_progress(0.1, 3);
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
show_progress(0.1, 6);
#Symlinking Files to bin folder
symlink("/system/xbin/busybox", "/system/bin/busybox");
symlink("/system/xbin/su", "/system/bin/su");
#Installing Busybox 1.20.2
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
ui_print(" ");
show_progress(0.1, 7);
# EFS Backup
ui_print(" Creating EFS Backup");
package_extract_file("amestris/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0777, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
show_progress(0.1, 9);
# Installing The Kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.1, 10);
#finish
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" M Javad Nazari")
Click to expand...
Click to collapse
hi, this is updater script ? i make new rom but not have update binry and updater script. please help me. thank you.
Please make updater script for i9190 sammy rom. i want make fully wiped rom. and init.d support. this wanam s4 rom script. please edit for s4 mini script. and add modem (NON-HLOS.bin) thank you. sorry for my bad english
show_progress(0.500000, 0);
ui_print("");
ui_print("********************************");
ui_print("Welcome to WanamLite UBUBMH1 V2.0");
ui_print("********************************");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
unmount("/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
delete_recursive("/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p19", "/cache");
delete_recursive("/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/data");
delete_recursive("/data/dalvik-cache");
show_progress(0.500000, 80);
ui_print("Installing System ...");
package_extract_dir("system", "/system");
package_extract_dir("wanam/data", "/data");
ui_print("Simlinking ...");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg", "/system/bin/du", "/system/bin/getenforce",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/getsebool", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/load_policy", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/playback", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restorecon", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole", "/system/bin/setenforce",
"/system/bin/setprop", "/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/touchinput", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0644, "/data/xposed");
set_perm(0, 0, 0666, "/data/xposed/modules.list");
set_perm(0, 0, 0666, "/data/xposed/modules.whitelist");
set_perm_recursive(0, 0, 0755, 0644, "/data/app");
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_pair_devlist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_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(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(0, 0, 0755, 0755, "/system/etc/init.d");
ui_print("Flashing Kernel ...");
assert(package_extract_file("wanam/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p9"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
unmount("/system");
unmount("/data");
ui_print(" ");
ui_print("Thanks for using WanamLite Rom, please reboot");
ok, i don't know about the 9190 partition, but it must be the same as 9192
so...
Code:
show_progress(0.1, 0);
unmount
# format system partition
format("ext4", "EMMC", "/dev/block/mmcblk0p21");
# mount partitions
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/efs", "/efs")
# WIPING DATA
#delete cache partition
delete_recursive("/cache");
# this will be delete all contents of data folder
delete_recursive("/data");
# Delete system partition
delete_recursive("/system");
# Copying
package_extract_dir("system", "/system");
#Symlinking
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");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
symlink("wiperiface_v02", "/system/bin/wiperiface");
# Setting permission
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(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.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(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
#Install The kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.2, 10);
unmount("/system");
init.d support is the kernel feature.
advice ; don't change the modem.
the meta-inf is attahced to this post.
if you had a problem or want more explanation , you just need to ask me here.
best regards.
Big thanks. I will try soon :silly:
Hi M_J_Nazari, how to add busybox ?
Thank you M_J_Nazari, script work perfect.
Just to make sure is it only this I need to use to backup/change settings in build.prop :
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0644, "/system/build.prop");
Click to expand...
Click to collapse
If so, do I need to change any settings?
Hi all
citymen34 said:
Hi M_J_Nazari, how to add busybox ?
Click to expand...
Click to collapse
you need to put busybox into /system/xbin folder
then add these lines to your script , exactly before the installing kernel section
Code:
# Installing Busybox
ui_print(" Instaling 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");
EwOkie said:
Just to make sure is it only this I need to use to backup/change settings in build.prop :
If so, do I need to change any settings?
Click to expand...
Click to collapse
just for build.prop ?
Step by Step
Code:
# Mount System Partition
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
Code:
# make a backup from existing build.prop and copy it to sdcard
package_extract_file("/system/build.prop", "/sdcard/0/build.prop");
it will copy the current build.prop to sdcard/build.prop
now, we will copy our new build.prop that located beside of meta-inf folder into system partition of our phone.
Code:
package_extract_file("build.prop", "/system/build.prop");
now we will set the permission for new build.prop file.
Code:
set_perm(0, 0, 0644, "/system/build.prop");
------------------------------------------------------------------------------
final result is:
to make a backup and install new file
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("/system/build.prop", "/sdcard/0/build.prop");
package_extract_file("build.prop", "/system/build.prop")
set_perm(0, 0, 0644, "/system/build.prop");
to restore a backup from last one:
if you want to restore a backup you need to use this line
package_extract_file("/sdcard/0/build.prop" , "/system/build.prop");
Code:
# Restore Script
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("/sdcard/0/build.prop" , "/system/build.prop");
set_perm(0, 0, 0644, "/system/build.prop");
[/CODE]
Best Regards
# Mount System Partition
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
Click to expand...
Click to collapse
The by-name do i leave this as is or do I change this?
Thanks for helping me
EwOkie said:
The by-name do i leave this as is or do I change this?
Thanks for helping me
Click to expand...
Click to collapse
don't change it, it seems these partition names are the same for all qualcom chipsets.
If I only wish to flash framework-res.apk what do i need to do?
Tried the build.prop script you gave and flashed with CWM then wiped cache and dalvic cache whch came up :
no sd/ext found or something
Buy says wipe complete below ...so restarted phone and build.prop still the same ?
Like its not writing to the System...
Help please
Hi M_J_Nazari, this modem updater script or not ? please help me. i'm trying to make a new fully rom. Big thanks.
ui_print("Flashing Modem ...");
package_extract_file("NON-HLOS.bin", "/dev/block/mmcblk0p1");
citymen34 said:
Hi M_J_Nazari, this modem updater script or not ? please help me. i'm trying to make a new fully rom. Big thanks.
ui_print("Flashing Modem ...");
package_extract_file("NON-HLOS.bin", "/dev/block/mmcblk0p1");
Click to expand...
Click to collapse
Not sure but I think it's better to use "by-name" reference to the block devices:
Code:
package_extract_file("NON-HLOS.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");
citymen34 said:
Hi M_J_Nazari, this modem updater script or not ? please help me. i'm trying to make a new fully rom. Big thanks.
ui_print("Flashing Modem ...");
package_extract_file("NON-HLOS.bin", "/dev/block/mmcblk0p1");
Click to expand...
Click to collapse
ladislav.heller said:
Not sure but I think it's better to use "by-name" reference to the block devices:
Code:
package_extract_file("NON-HLOS.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");
Click to expand...
Click to collapse
i didn't test the modem installing by cwm , it is very risky and maybe break your phone.
i recommend you to change modem by ODIN, just load the "NON-HLOS.bin" file into "PHONE' slot with disabling "F.Reset Time" option.
EwOkie said:
If I only wish to flash framework-res.apk what do i need to do?
Tried the build.prop script you gave and flashed with CWM then wiped cache and dalvic cache whch came up :
no sd/ext found or something
Buy says wipe complete below ...so restarted phone and build.prop still the same ?
Like its not writing to the System...
Help please
Click to expand...
Click to collapse
load system partition
copy your system dir to phone
set the 0644 permission for that.
finish.