Status 6 error - HTC Sensation
trying to make my own update.zip file but it keeps giving me the status 6 error. i now its a sytax error and i need to figure out what it is . i just want to see if anyone can help me with this or else show me what to use to edit the "updater-script" file.
This is what i have so far:
ui_print("The Scoot Custom Sensation UI");
show_progress(0.500000, 0);
ui_print("Mounting Data Partition Stuff...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");
ui_print("Writing Data Stuff...");
package_extract_dir("data", "/data");
ui_print("Mounting System Partition Stuff...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
ui_print("Writing System Stuff...");
package_extract_dir("system", "/system");
ui_print("Doing Permission Stuff...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/data/com.android.providers.contacts/files");
set_perm(0, 2000, 0775, "/system/bin/iptables");
set_perm_recursive(1002, 1002, 0775, 0440, "/system/etc/bluez");
set_perm(0, 0, 0644, "/system/bin/profile");
set_perm(0, 0, 0775, "/system/etc/bluez");
set_perm(1000, 1000, 0755, "/system/bin/bash");
set_perm(1000, 1000, 0755, "/system/bin/nano");
set_perm(1000, 1000, 0755, "/system/bin/sysro");
set_perm(1000, 1000, 0755, "/system/bin/sysrw");
set_perm(1000, 1000, 0755, "/system/xbin/openvpn");
set_perm(0, 3003, 0755, "/system/bin/ip");
set_perm(0, 3003, 0755, "/system/bin/ipd");
set_perm(0, 2000, 06755, "/system/bin/reboot");
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(0, 3004, 02755, "/system/bin/ping");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(1000, 1000, 0755, "/system/xbin/openvpn");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm(0, 0, 04755, "/system/bin/sh");
set_perm_recursive(1000, 1000, 0771, 0644, "/system/mnt");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm (0, 0, 0777, "/system/etc/init.d/95modules");
set_perm (0, 0, 0777, "/system/etc/init.d/97zipalign");
set_perm (0, 0, 0777, "/system/etc/init.d/99complete");
unmount("/system");
unmount("/data");
ui_print("It is Time!!");
show_progress(0.100000, 0);
any help at all would be appreciated
PS: this update.zip is for a system UI update for sense 3.5 i dont know if that helps
Related
[Q] custom ROM won't boot
I have an Ainol Novo 7 Basic. I want to start cooking and this seems like a nice cheap device to start with! I have made an update.zip using the system folder from the original ics 4.0.3 update. The updater-script flashes fine in the modded CWM 5.0.5. After reboot, the device wont boot to android. Just returns to CWM, Not sure what the problem could be? Any advice is appreciated. I am new here and have only been on android just under a year. I believe it may be a permissions error on my part. But, I havn't been able to find any clear info on what permissions are needed. Just looked at a couple of other ROM zips updater-scripts for guidance... Or, maybe there is importance in the order of the commands in updater-script? here is the updater-script: Code: ui_print("<***************-------------------****************>"); ui_print(" Ainol Novo 7 Basic MasterROM 1.0"); ui_print("<***************-------------------****************>"); show_progress(1.000000, 0); ui_print(" Clearing System..."); format("ext4", "system", "/dev/block/mmcblk0p1", "/system"); ui_print(" Mounting SYSTEM..."); mount("ext4", "system", "/dev/block/mmcblk0p1", "/system"); set_progress(0.140000); ui_print(" Extracting files to SYSTEM..."); package_extract_dir("system", "/system"); set_progress(0.210000); ui_print(" Clearing Data..."); format("ext4", "data", "/dev/block/mmcblk0p2", "/data"); ui_print(" Mounting DATA..."); mount("ext4", "data", "/dev/block/mmcblk0p2", "/data"); set_progress(0.280000); ui_print(" Extracting files to DATA..."); package_extract_dir("data", "/data"); set_progress(0.350000); ui_print(" Setting Permissions..."); set_perm_recursive(0, 0, 0755, 0644, "/system"); set_perm_recursive(0, 2000, 0755, 0755, "/system/bin"); set_perm_recursive(0, 2000, 0755, 0644, "/system/etc"); 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(1000, 1003, 02755, "/system/bin/screenshot"); set_perm(1002, 1002, 0440, "/system/etc/dbus.conf"); set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks"); set_perm_recursive(0, 2000, 0755, 0777, "/system/etc/init.d"); set_perm(0, 0, 0755, "/system/etc/init.d"); set_perm(0, 0, 0755, "/system/etc/wifi/wpa_supplicant.conf"); set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh"); set_perm(0, 0, 0544, "/system/etc/install-recovery.sh"); set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp"); set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin"); set_perm(0, 0, 06755, "/system/xbin/hcitool"); set_perm(0, 0, 06755, "/system/xbin/librank"); set_perm(0, 0, 06755, "/system/xbin/procmem"); set_perm(0, 0, 06755, "/system/xbin/procrank"); set_perm(0, 0, 06755, "/system/xbin/tcpdump"); set_progress(0.490000); ui_print(" Unmounting DATA..."); unmount("/data"); set_progress(0.770000); ui_print(" Unmounting SYSTEM..."); unmount("/system"); set_progress(0.840000); ui_print(" Clearing Cache..."); format("ext4", "cache", "/dev/block/mmcblk0p3", "/cache"); ui_print("****************************************************"); ui_print(" Install complete. Enjoy!"); ui_print("****************************************************"); set_progress(1.000000);
masterjakeway said: The updater-script flashes fine in the modded CWM 5.0.5. After reboot, the device wont boot to android. Just returns to CWM, Not sure what the problem could be? Click to expand... Click to collapse The Novo7 version of CWM is very buggy, it's going to mess up your device. Please, don't use it. Try to reflash the last working version of firmware. You may need to do this twice, first to get native recovery image, then once again to get everything flashed properly with the native recovery. ps. Friends don't let friends to use CWM on Novo7 Basic/Paladin =)
[ROM][AOSP][JB][4.1.2][STABLE] SuperNexus - I9300 - BUILD 5 - 17.10.12
Hey Guys, i just tried to install PDroid but it doesn't work. I tried to patch the Rom but it doesnt work.. Got anyone an idea? Here is the Error Message: ROOT= /cygdrive/c/xxx/xxx/Desktop/Test/ApGPackages/ap/ TOOL= /cygdrive/c/xxx/xxxDesktop/Test/ApGPackages/ap//patch_tools.tgz ROM= /cygdrive/c/xxx/xxx/Desktop/Test/SuperNexus-I9300-BUILD5-20121017.zip ROMX= C:\Users\xxx/xxx\Test\SUPERN~1.ZIP ### verify tools ### /cygdrive/c/Users/xxx/xxx/Test/ApGPackages/cygwin/bin/patch /cygdrive/c/Users/xxx/xxx/Test/ApGPackages/cygwin/bin/tar /cygdrive/c/Users/xxx/xxx/Test/ApGPackages/Java/bin/jar /cygdrive/c/Users/xxx/xxx/Test/ApGPackages/Java/bin/java /cygdrive/c/Users/xxx/xxx/Test/ApGPackages/cygwin/bin/cpio ### verify ROM ### ### running ./auto_patcher /cygdrive/c/Users/sven/Desktop/Test/SuperNexus-I9300-BUILD5-20121017.zip pdroid jellybean PATH= /cygdrive/c/Users/sven/Desktop/Test/ApGPackages/ap/tmp20121024155356:/cygdrive/c/Users/sven/Desktop/Test/ApGPackages/Java/bin:/cygdrive/c/Users/sven/Desktop/Test/ApGPackages/cygwin/bin:/cygdrive/c/Users/sven/Desktop/Test/ApGPackages/cygwin/usr/sbin ### unzip patch tools ### ### unzip patch patches ### ... result of ROM check: RIL= Smdk4210RIL ### probe rom type ### \vergr�t: system/framework/framework2.jar \vergr�t: system/framework/framework2.jar # VER= Auto-Patcher v2.2.03 # OS= cygwin 32bit # VID= 4.1.2 # PID= pdroid # MID= JZO54K # RID= aosp-mod # ANDR= jellybean # BDID= 20121017 # DID= m0 # BID= 20121003 ### DELETE FILES= ### COPY FILES= ### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar ### APK FILES= ### IMG FILES= ### TXT FILES= ### unzip rom ### ### create updater script ### ... using Clockworkmod installer ... # generated updater-script mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system"); package_extract_dir("system", "/system"); set_perm_recursive(0, 0, 0755, 0644, "/system"); set_perm_recursive(0, 2000, 0755, 0755, "/system/bin"); set_perm(0, 3003, 02750, "/system/bin/netcfg"); set_perm(0, 3004, 02755, "/system/bin/ping"); set_perm(0, 2000, 06750, "/system/bin/run-as"); set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth"); set_perm(0, 0, 0755, "/system/etc/bluetooth"); set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf"); set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf"); set_perm(1002, 1002, 0440, "/system/etc/dbus.conf"); set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks"); set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d"); set_perm(0, 0, 0755, "/system/etc/init.d"); set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh"); set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp"); set_perm(0, 2000, 0755, "/system/vendor"); set_perm(0, 2000, 0755, "/system/vendor/firmware"); set_perm(0, 2000, 0755, "/system/vendor/lib"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm"); set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so"); set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin"); set_perm(0, 0, 06755, "/system/xbin/librank"); set_perm(0, 0, 06755, "/system/xbin/procmem"); set_perm(0, 0, 06755, "/system/xbin/procrank"); set_perm(0, 0, 06755, "/system/xbin/su"); unmount("/system"); ### create restore.zip ### ### decompile system files ### ... decompile framework.jar ... ... extract preloaded-classes ... \vergr�t: preloaded-classes ... decompile core.jar ... ... decompile services.jar ... ### jar patch pdroid/jellybean/aosp-mod/20121003 ### ... apply framework.patch ... 1 out of 1 hunk FAILED -- saving rejects to file 'smali/android/app/ContextImpl$20.smali.rej' ... apply preloaded.patch ... !!! PATCHING FAILED FOR android/app/ContextImpl$20.smali' !!! !!! patch error for android/app/ContextImpl$20.smali' !!! ************************************** **************************************
[rom flashing error] if fixed then kikiat will be realesed for p51xx
IF I GET THIS FIXED, KIKKAT FOR P51XX WILL BE RELEASED FOR THE FIRST TIME!! Can someone find the error in this code please? I can't find it. I get set_perm: some changes failed Here is my set_perm codes. I got these from SlimBean* Rom for p5110 set_perm_recursive(0, 0, 0755, 0644, "/system"); set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d"); set_perm_recursive(0, 2000, 0755, 0755, "/system/bin"); set_perm(0, 3003, 02750, "/system/bin/netcfg"); set_perm(0, 0, 0755, "/system/bin/ping"); set_perm(0, 2000, 0750, "/system/bin/run-as"); set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks"); set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d"); set_perm(0, 0, 0755, "/system/etc/init.d"); set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp"); set_perm(0, 2000, 0755, "/system/vendor"); set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc"); set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf"); set_perm(0, 0, 0644, "/system/vendor/etc/gps.xml"); set_perm(0, 2000, 0755, "/system/vendor/firmware"); set_perm(0, 2000, 0755, "/system/vendor/lib"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm"); set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/egl"); set_perm(0, 0, 0644, "/system/vendor/lib/egl/libGLES_mali.so"); set_perm(0, 2000, 0755, "/system/vendor/lib/hw"); set_perm(0, 2000, 0755, "/system/vendor/secapp"); set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin"); set_perm(0, 0, 06755, "/system/xbin/librank"); set_perm(0, 0, 06755, "/system/xbin/procmem"); set_perm(0, 0, 06755, "/system/xbin/procrank"); set_perm(0, 0, 06755, "/system/xbin/su"); *=I am using SlimBean as my base rom and PureSpeed for the nexus 10 as my port rom...
...
Check if all this files and folders exist in your rom. For Android 4.4 you may need "set_metadata_recursive" for some files... only CWM 6.0.4.4 or newer understand this... There is Omnirom Android 4.4 out for P51XX http://forum.xda-developers.com/showthread.php?t=2486166 Take a look in the updater-script there
I am using SlimBean as my base rom and PureSpeed for the nexus 10 as my port rom... not sure if nexus 10 uses the same radios though.
chick if all files exist... you can´t set perms for files and folders wich not exist. e.g. if /system/xbin/procmem not exist: don´t set perms to it. Check all files
[ROM][4.4.2][omniROM]-GT-S7500
NOT TESTE and please help to logcat and when flash aborted in set metadata edit this set_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:zygote_exec:s0"); set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:clatd_exec:s0"); set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:debuggerd_exec:s0"); set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dhcp_exec:s0"); set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dnsmasq_exec:s0"); set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:drmserver_exec:s0"); set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:hostapd_exec:s0"); set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:installd_exec:s0"); set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:keystore_exec:s0"); set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mediaserver_exec:s0"); set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:shell_exec:s0"); set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mtp_exec:s0"); set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:netd_exec:s0"); set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_ring_exec:s0"); set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_rpp_exec:s0"); set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:racoon_exec:s0"); set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:rild_exec:s0"); set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "ubject_r:runas_exec:s0"); set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:sdcardd_exec:s0"); set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:servicemanager_exec:s0"); set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:surfaceflinger_exec:s0"); set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:vold_exec:s0"); set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:wpa_exec:s0"); set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0"); set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0"); set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "ubject_rpp_system_file:s0"); set_metadata_recursive("/system/vendor", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:su_exec:s0"); TO set_perm_recursive(0, 0, 0755, 0644, "/system"); set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d"); set_perm_recursive(0, 2000, 0755, 0755, "/system/bin"); set_perm(0, 2000, 0755, "/system/bin/app_process"); set_perm(0, 2000, 0755, "/system/bin/clatd"); set_perm(0, 2000, 0755, "/system/bin/debuggerd"); set_perm(0, 2000, 0755, "/system/bin/dhcpcd"); set_perm(0, 2000, 0755, "/system/bin/dnsmasq"); set_perm(0, 2000, 0755, "/system/bin/drmserver"); set_perm(0, 2000, 0755, "/system/bin/hostapd"); set_perm(0, 2000, 0755, "/system/bin/installd"); set_perm(0, 2000, 0755, "/system/bin/keystore"); set_perm(0, 2000, 0755, "/system/bin/mediaserver"); set_perm(0, 2000, 0755, "/system/bin/mksh"); set_perm(0, 2000, 0755, "/system/bin/mtpd"); set_perm(0, 3003, 02750, "/system/bin/netcfg"); set_perm(0, 2000, 0755, "/system/bin/netd"); set_perm(0, 0, 0755, "/system/bin/ping"); set_perm(0, 2000, 0755, "/system/bin/pppd"); set_perm(0, 2000, 0755, "/system/bin/racoon"); set_perm(0, 2000, 0755, "/system/bin/rild"); set_perm(0, 2000, 0750, "/system/bin/run-as"); set_perm(0, 2000, 0755, "/system/bin/sdcard"); set_perm(0, 2000, 0755, "/system/bin/servicemanager"); set_perm(0, 2000, 0755, "/system/bin/surfaceflinger"); set_perm(0, 2000, 0755, "/system/bin/vold"); set_perm(0, 2000, 0755, "/system/bin/wpa_supplicant"); set_perm_recursive(0, 0, 0755, 0644, "/system/etc/dhcpcd"); set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks"); set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d"); set_perm(0, 0, 0755, "/system/etc/init.d"); set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor"); set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf"); set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin"); set_perm(0, 0, 06755, "/system/xbin/librank"); set_perm(0, 0, 06755, "/system/xbin/procmem"); set_perm(0, 0, 06755, "/system/xbin/procrank"); set_perm(0, 0, 06755, "/system/xbin/su"); ROM HERE I AM NOT A DEVELOPER, BUT I JUST FOR FUN
did not work
is cwm 6.0.4.5 needed? Sent from my GT-S7500 using XDA Premium 4 mobile app
I installed cwm 6.0.4.5 but ROM did not work I'm sorry for my english
hakan1906 said: I installed cwm 6.0.4.5 but ROM did not work I'm sorry for my english Click to expand... Click to collapse cwm doesn't actually help you at all
yazidkucrit said: edit this set_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:zygote_exec:s0"); set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:clatd_exec:s0"); set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:debuggerd_exec:s0"); set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dhcp_exec:s0"); set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dnsmasq_exec:s0"); set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:drmserver_exec:s0"); set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:hostapd_exec:s0"); set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:installd_exec:s0"); set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:keystore_exec:s0"); set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mediaserver_exec:s0"); set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:shell_exec:s0"); set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mtp_exec:s0"); set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:netd_exec:s0"); set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_ring_exec:s0"); set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_rpp_exec:s0"); set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:racoon_exec:s0"); set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:rild_exec:s0"); set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "ubject_r:runas_exec:s0"); set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:sdcardd_exec:s0"); set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:servicemanager_exec:s0"); set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:surfaceflinger_exec:s0"); set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:vold_exec:s0"); set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:wpa_exec:s0"); set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0"); set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0"); set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "ubject_rpp_system_file:s0"); set_metadata_recursive("/system/vendor", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0"); set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:su_exec:s0"); TO set_perm_recursive(0, 0, 0755, 0644, "/system"); set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d"); set_perm_recursive(0, 2000, 0755, 0755, "/system/bin"); set_perm(0, 2000, 0755, "/system/bin/app_process"); set_perm(0, 2000, 0755, "/system/bin/clatd"); set_perm(0, 2000, 0755, "/system/bin/debuggerd"); set_perm(0, 2000, 0755, "/system/bin/dhcpcd"); set_perm(0, 2000, 0755, "/system/bin/dnsmasq"); set_perm(0, 2000, 0755, "/system/bin/drmserver"); set_perm(0, 2000, 0755, "/system/bin/hostapd"); set_perm(0, 2000, 0755, "/system/bin/installd"); set_perm(0, 2000, 0755, "/system/bin/keystore"); set_perm(0, 2000, 0755, "/system/bin/mediaserver"); set_perm(0, 2000, 0755, "/system/bin/mksh"); set_perm(0, 2000, 0755, "/system/bin/mtpd"); set_perm(0, 3003, 02750, "/system/bin/netcfg"); set_perm(0, 2000, 0755, "/system/bin/netd"); set_perm(0, 0, 0755, "/system/bin/ping"); set_perm(0, 2000, 0755, "/system/bin/pppd"); set_perm(0, 2000, 0755, "/system/bin/racoon"); set_perm(0, 2000, 0755, "/system/bin/rild"); set_perm(0, 2000, 0750, "/system/bin/run-as"); set_perm(0, 2000, 0755, "/system/bin/sdcard"); set_perm(0, 2000, 0755, "/system/bin/servicemanager"); set_perm(0, 2000, 0755, "/system/bin/surfaceflinger"); set_perm(0, 2000, 0755, "/system/bin/vold"); set_perm(0, 2000, 0755, "/system/bin/wpa_supplicant"); set_perm_recursive(0, 0, 0755, 0644, "/system/etc/dhcpcd"); set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks"); set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d"); set_perm(0, 0, 0755, "/system/etc/init.d"); set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor"); set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf"); set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin"); set_perm(0, 0, 06755, "/system/xbin/librank"); set_perm(0, 0, 06755, "/system/xbin/procmem"); set_perm(0, 0, 06755, "/system/xbin/procrank"); set_perm(0, 0, 06755, "/system/xbin/su"); Click to expand... Click to collapse How to do this?? I tried flashing with twrp if that makes any difference. Nvm, figured it out. ---------- Post added at 08:58 PM ---------- Previous post was at 08:21 PM ---------- I managed to flash it with both twrp(2.5.0.0) and cwm(6.0.4.5) but none will boot. I get samsung logo stuff and later it's just black screen. Tried connecting it to try and take logcat, but adb reports device as offline. 30 min on later, no changes.
How to install is done
You have to edit file in META-INF/com/Google/android/updater-script. Unzip whole ROM to get to it. I used notepad++, find in file these linea starting with set_metadata and replace them with set_perm. Than zip the rom again and flash. Sent from my GT-S7500 using xda app-developers app
MegaBoyX9 said: You have to edit file in META-INF/com/Google/android/updater-script. Unzip whole ROM to get to it. I used notepad++, find in file these linea starting with set_metadata and replace them with set_perm. Than zip the rom again and flash. Sent from my GT-S7500 using xda app-developers app Click to expand... Click to collapse but it caused bootloop,isnt it??
To me it doesn't boot at all. Nothing happens after Samsung logos, just black screen. But when pressing buttons back, menu, long home press and long power press I get vibration feedback. Sent from my GT-S7500 using xda app-developers app
what version the kernel is? if its 3.4 try changing to 3.0 maybe is a kernel fault
MegaBoyX9 said: To me it doesn't boot at all. Nothing happens after Samsung logos, just black screen. But when pressing buttons back, menu, long home press and long power press I get vibration feedback. Sent from my GT-S7500 using xda app-developers app Click to expand... Click to collapse For the black screen issue would it be due to absence of a launcher in system/app? Because for cm10.2 there should be a file called trebuchet.apk in it but I've checked that there isnt one in this zip. (or maybe the launcher name is changed in cm11? Im not sure...just suggesting) I have checked other post saying that there should be sth like launcher3.apk? whereas i cannot find one in the zip.
ShadowsDie said: what version the kernel is? if its 3.4 try changing to 3.0 maybe is a kernel fault Click to expand... Click to collapse Tried same thing. Sent from my GT-S7500 using xda app-developers app ---------- Post added at 03:47 PM ---------- Previous post was at 03:45 PM ---------- LKspro said: For the black screen issue would it be due to absence of a launcher in system/app? Because for cm10.2 there should be a file called trebuchet.apk in it but I've checked that there isnt one in this zip. (or maybe the launcher name is changed in cm11? Im not sure...just suggesting) I have checked other post saying that there should be sth like launcher3.apk? whereas i cannot find one in the zip. Click to expand... Click to collapse Might be. I'm not sure as this is ombi ROM and I don't know what launcher they use. Sent from my GT-S7500 using xda app-developers app
Launcher2.apk is missing ---------- Post added at 05:01 PM ---------- Previous post was at 05:01 PM ---------- there are 13 apps missing
LKspro said: For the black screen issue would it be due to absence of a launcher in system/app? Because for cm10.2 there should be a file called trebuchet.apk in it but I've checked that there isnt one in this zip. (or maybe the launcher name is changed in cm11? Im not sure...just suggesting) I have checked other post saying that there should be sth like launcher3.apk? whereas i cannot find one in the zip. Click to expand... Click to collapse That might be it. I never checked. Sent from my GT-S7500 using xda app-developers app
MegaBoyX9 said: That might je it. I never checked. Sent from my GT-S7500 using xda app-developers app Click to expand... Click to collapse yes, it miss
Can you upload them somewhere? Sent from my GT-S7500 using xda app-developers app
installation aborted
tried to read the logs? they are helpful to get the idea on bootloop cause
see galaxy ace armv6 cm11 running in kernel 2.6.35.7 and port gpu driver from 3.x.x kernel to make booting cm11
[Q] updater-script
Can anyone give a syntx error in my updater-script Trying to flash using stock reocvery in my i9100g and give "status (6)" error ui_print("SuperSU and Busybox Installer for GT-I9100G"); ui_print("3lo0sh @ XDA 2014"); ui_print("Mounting system..."); run_program("/sbin/mount", "/system"); run_program("/sbin/mount", "/system /system"); run_program("/sbin/mount", "/"); run_program("/sbin/mount", "/ /"); ui_print("Removing old files") delete("/system/bin/su"); delete("/system/xbin/su"); delete("/system/bin/daemonsu"); delete("/system/bin/.ext/.su"); delete("/system/etc/install-recovery.sh"); delete("/system/etc/init.d/99SuperSUDaemon"); delete("/system/etc/.installed_su_daemon"); delete("/system/app/Superuser.apk"); delete("/system/app/Superuser.odex"); delete("/system/app/SuperUser.apk"); delete("/system/app/SuperUser.odex"); delete("/system/app/superuser.apk"); delete("/system/app/superuser.odex"); delete("/system/app/Supersu.apk"); delete("/system/app/Supersu.odex"); delete("/system/app/SuperSU.apk"); delete("/system/app/SuperSU.odex"); delete("/system/app/supersu.apk"); delete("/system/app/supersu.odex"); delete("/data/dalvik-cache/*com.noshufou.android.su*"); delete("/data/dalvik-cache/*com.koushikdutta.superuser*"); delete("/data/dalvik-cache/*com.mgyun.shua.su*"); delete("/data/dalvik-cache/*Superuser.apk*"); delete("/data/dalvik-cache/*SuperUser.apk*"); delete("/data/dalvik-cache/*superuser.apk*"); delete("/data/dalvik-cache/*eu.chainfire.supersu*"); delete("/data/dalvik-cache/*Supersu.apk*"); delete("/data/dalvik-cache/*SuperSU.apk*"); delete("/data/dalvik-cache/*supersu.apk*"); delete("/data/dalvik-cache/*.oat"); delete("/data/app/com.noshufou.android.su-*"); delete("/data/app/com.koushikdutta.superuser-*"); delete("/data/app/com.mgyun.shua.su-*"); delete("/data/app/eu.chainfire.supersu-*"); delete_recursive("/system/bin/.ext"); ui_print("Installing SuperSU..."); package_extract_dir("system", "/system"); ui_print("Disabling OTA survival..."); set_perm(0, 0, 0755, "/system/xbin/chattr"); run_program("/system/xbin/chattr", "-i", "/system/xbin/su"); run_program("/system/xbin/chattr", "-i", "/system/bin/.ext/.su"); run_program("/system/xbin/chattr", "-i", "/system/xbin/daemonsu"); run_program("/system/xbin/chattr", "-i", "/system/etc/install-recovery.sh"); delete("/system/xbin/chattr"); ui_print("Setting permissions..."); set_perm(0, 0, 06755, "/system/xbin/su"); set_perm(0, 0, 0644, "/system/app/Superuser.apk"); set_perm(0, 0, 0644, "/system/app/Superuserpro.apk"); set_perm(0, 0, 04755, "/system/xbin/busybox"); set_perm(0, 0, 0777, "/system/bin/.ext"); set_perm(0, 0, 06755, "/system/bin/.ext/.su"); set_perm(0, 0, 0755, "/system/xbin/daemonsu"); set_perm(0, 0, 0755, "/system/etc/init.d/99SuperSUDaemon"); set_perm(0, 0, 0755, "/system/etc/install-recovery.sh"); set_perm(0, 0, 0644, "/system/etc/.installed_su_daemon"); ui_print("Installing Busybox..."); run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin"); ui_print("Post-installation script...") run_program("/system/xbin/su", "--install") ui_print("Unmounting system..."); run_program("/sbin/umount", "/system"); run_program("/sbin/umount", "/"); ui_print("Installation complete!"); ui_print("Reboot now!"); Click to expand... Click to collapse plz hep me