[ROM] 4.67 - Rooted - Optimized - Sharing means caring - EVO 4G Android Development

Hello everyone! First, let me thank dean_fx for your help with classictomatoe.net!
What is this?
This is a highly optimized ROM based on 4.67 RUU with stock UI. RUU found here thanks to Tmartin.
This project is highly related to [Collection][Project] Update to 4.67 OTA - Sharing means Caring
ROM was optimized using Android-utility​
Who is this for?
Users who prefer the stock Sense 1.0 Experience who want optimizations for better RAM usage and battery life.
Devs who would like to use a base due to the optimized nature of apk, jar, and system files.​
What have I done? [In a nutshell]
Optimizations
Of all the optimizations a dev does to a ROM, these three probably make the biggest difference.
Removed Extra languages
Resources decompressed
PNG optimized using PNGOUT on max settings
Smali files debloated
Rosie slightly modified
Zipaligned apk
Zipalign /data/app/ on boot
Trimmed /system/app by over 20mb
Various build.prop tweaks
Added sqlite and other RAM optimization scripts [thanks go to juwe11, calkulin, and aamikam]
dalvik-heap size increased to 48mb
sdcard read-ahead set to 512kb
Disabled signature verification
Customizations
Moved all Sprint apps to /data/app to allow uninstallation [Sprint NFL, TV, Sprint Zone, Nascar, Adobe Reader, AppSharing, Kindle, Sprint Navigator, Teeter, Nova, HTCMobileGuide, Stocks, Wifi Hotspot]
Added Google Plus, Google Voice, Pandora [unlimited skips, thanks Rydah], Superuser, ClassicIME [thanks Stephen lin for apk and kommodoreheinz for theme], LatinIME, Launcher2
Added CRT animations
Added 7in1 power menu [thanks ca1ne and snq for original code]
Added hacked Hotspot [only on 3g]​
Downloads - classictomatoe.net 467 directory
March 05, 2012
4.67 Optimized - ODEX - recommended
md5sum - 9b44d1fc169f57e9ca2b18496e69198d
4.67 Optimized - DEODEX
md5sum - a229a6cf31ef1d86191e255ec5339f5d
February 19, 2012
4.67 Optimized - ODEX - recommended - need to fix wifi sorry!
md5sum - 006468bfe3a081b0d2e7da8bfe62b34f
4.67 Optimized - DEODEX - need to fix wifi sorry!
md5sum - ad55380455c2b2500622761ae26bac2e​
My Sharing Policy
Anything I post or share publicly, unless otherwise noted, can be used, modded, shared, and redistributed by any user, developer, and enthusiast. I just request proper credits be given and a link to the original ROM. Thank you! Sharing means caring.​
Acknowledgements
This ROM is released as is with no intent on updating until Sprint releases a new RUU.
Support will be here but please do not request mods/features, because this ROM is meant to be Stock. Feel free to use one of the myriad of custom ROMs available, EVO Classic, SOS, TN Stock, et cetera.
Your Warranty is now void.
You must be rooted to use.
I use AMON RA recovery.
This is the Stock Sense 1.0 UI found in the 4.67 release-keys update. Enjoy!
Thanks go to AOSP, Google, HTC.​

For all intents and purposes, here is the build.prop from 4.67 Optimized
Code:
ro.config.ringtone=Windchimer.mp3
ro.config.notification_sound=Little.mp3
ro.com.google.clientidbase=android-sprint-us
ro.com.google.clientidbase.yt=android-sprint-us
ro.com.google.clientidbase.am=android-sprint-us
ro.com.google.clientidbase.vs=android-sprint-us
ro.com.google.clientidbase.gmm=android-sprint-us
ro.com.google.clientidbase.ms=android-sprint-us
ro.cdma.home.operator.alpha=sprint
gsm.sim.operator.alpha=sprint
gsm.operator.alpha=sprint
ro.cdma.home.operator.numeric=310120
gsm.sim.operator.numeric=310120
gsm.operator.numeric=310120
gsm.sim.operator.iso-country=us
gsm.operator.iso-country=us
# begin build properties
# autogenerated by buildinfo.sh
ro.aa.customizationid=177316
ro.aa.project=SuperSonic_GB
ro.aa.romver=4.67.651.3
ro.aa.maincid=SPCS_001
ro.aa.modelid=PC3610000
ro.aa.cidlist=SPCS_001
ro.aa.rid=142
ro.product.brand=sprint
ro.build.display.id=4.67.651.3
ro.aa.skulist=651
ro.aa.taskid=234563
ro.aa.mainsku=651
BUILD_DISPLAY_ID=4.67.651.3
ro.com.google.clientidbase=android-sprint-us
ro.aa.customizationid=177316
ro.aa.project=SuperSonic_GB
ro.aa.romver=4.67.651.3
ro.aa.maincid=SPCS_001
ro.aa.modelid=PC3610000
ro.aa.cidlist=SPCS_001
ro.aa.rid=142
ro.product.brand=sprint
ro.build.display.id=4.67.651.3
ro.aa.skulist=651
ro.aa.taskid=234563
ro.aa.mainsku=651
BUILD_DISPLAY_ID=4.67.651.3
ro.com.google.clientidbase=android-sprint-us
ro.build.id=GRJ90
ro.build.display.id=GRJ90
ro.build.version.incremental=239674.3
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.5
ro.build.date=Wed Feb 15 12:11:05 EST 2012
ro.build.date.utc=1325857122
ro.build.type=user
ro.build.user=
ro.build.host=ABM034
ro.build.tags=release-keys
ro.product.model=PC36100
ro.product.brand=sprint
ro.product.name=htc_supersonic
ro.product.device=supersonic
ro.product.board=supersonic
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=hdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=qsd8k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=supersonic
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=4.67.651.3 CL239674 release-keys
ro.build.description=4.67.651.3 CL239674 release-keys
ro.build.changelist=239674
ro.product.ua=
ro.build.fingerprint=sprint/htc_supersonic/supersonic:2.3.5/GRJ90/239674.3:user/release-keys
ro.build.project=SuperSonic_GB:234563
ro.product.version=4.67 Stock Optimized
keyguard.no_require_sim=1
# end build properties
#
# system.prop for device
#
rild.libpath=/system/lib/libhtc_ril.so
ro.ril.def.preferred.network = 4
ro.telephony.default_network = 4
wifi.interface = eth0
wifi.supplicant_scan_interval=150
ro.com.android.dataroaming = true
ro.com.google.locationfeatures = 1
# density in DPI of the LCD of this board. This is used to scale the UI
# appropriately. If this property is not defined, the default value is 160 dpi.
ro.sf.lcd_density = 240
#ro.sf.lcd_density = 160
#0 - mdp composition, 1 - gpu composition
ro.sf.hw=1
# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
ro.opengles.version = 131072
# For sprint client ID
ro.com.google.clientidbase=android-sprint-us
# For SD storage insert notification sound
persist.service.mount.playsnd = 0
# For the agps default value
ro.ril.def.agps.mode = 2
# For auto backlight default value
settings.display.autobacklight=1
# default value of brightness
settings.display.brightness=143
# This is a high density device with more memory, so larger vm heaps for it.
# Change to 32m, due to 2.3.3 GB already change to 32m
dalvik.vm.heapsize=48m
#
# This file describes the media capabilities and profiles
# using system properties.
#
# Note: The property key and value has some length
# limit as defined by PROPERTY_KEY_MAX and
# PROPERTY_VALUE_MAX, respectively
#
# WARNING: We may not use system properties for specifying
# media capabilities and profiles in the future
#
ro.media.enc.file.format = 3gp,mp4
ro.media.enc.vid.codec = m4v,h263
ro.media.enc.vid.h263.width = 176,1280
ro.media.enc.vid.h263.height = 144,720
ro.media.enc.vid.h263.bps = 64000,6000000
ro.media.enc.vid.h263.fps = 1,30
ro.media.enc.vid.m4v.width = 176,1280
ro.media.enc.vid.m4v.height = 144,720
ro.media.enc.vid.m4v.bps = 64000,8000000
ro.media.enc.vid.m4v.fps = 1,30
#
# Increase SKIA decode memory capability for progressive jpg file
#
ro.media.dec.jpeg.memcap = 20000000
# Release Bluetooth HW/SW information
ro.bt.chipset = Broadcom BCM4329-B1
ro.bt.stack = Broadcom BTL-A
ro.bt.stack.version = 2.0.50.032
#0x10000010010100100000011 represent bt profile list
ro.bt.profiles = 4270339
# Properties of BTLA stack
service.brcm.bt.activation = 0
service.brcm.bt.srv_active = 0
service.brcm.bt.hcid_active = 0
service.brcm_bt.btld = 0
service.brcm.bt.btld_pid = 0
service.brcm.bt.avrcp_pass_thru = 0
service.brcm.bt.avrcp_toggle = 1
#Welly_Fang_01/05/2010
ro.cdma.home.operator.alpha = Sprint
ro.cdma.home.operator.numeric = 310120
gsm.sim.operator.alpha = Sprint
gsm.sim.operator.numeric = 310120
gsm.sim.operator.iso-country = us
gsm.operator.alpha = Sprint
gsm.operator.numeric = 310120
gsm.operator.iso-country = us
#Welly_Fang_12/30/2010
ro.com.google.clientidbase.yt = android-sprint-us
ro.com.google.clientidbase.am = android-sprint-us
ro.com.google.clientidbase.vs = android-sprint-us
ro.com.google.clientidbase.gmm = android-sprint-us
#Modify MTU from 1500 to 1472 on 3G network
ro.ril.set.mtu1472 = 1
# For FOTA setting (leave empty value to use default)
#ro.htc.checkin.url = http://andchin.htc.com/android/checkin
#ro.htc.checkin.crashurl = http://andchin.htc.com/android/crash
ro.htc.checkin.url = http://127.0.0.1
ro.htc.checkin.crashurl = http://127.0.0.1
ro.htc.checkin.url_CN = http://127.0.0.1
ro.htc.checkin.crashurl_CN = http://127.0.0.1
ro.htc.checkin.exmsg.url = http://127.0.0.1
ro.htc.checkin.exmsg.url_CN = http://127.0.0.1
ro.htc.appupdate.url = http://127.0.0.1
ro.htc.appupdate.url_CN = http://127.0.0.1
ro.htc.appupdate.exmsg.url = http://127.0.0.1
ro.htc.appupdate.exmsg.url_CN = http://127.0.0.1
# Properties of Scalado Denoise param.
postprocess.iso_midband = 400
postprocess.denoise_level = 5
# Following property will be reference by Settings.
ro.product.processor = 1GHz
ro.product.ram = 512MB
ro.product.display_resolution = 4.3 inch WVGA resolution
ro.product.main_camera = 8M
ro.product.front_camera = 1.3M
ro.product.bluetooth = 2.1 + EDR
ro.product.wifi = 802.11 b/g
# temp add for extending key ANR timeout for Supersonic
keydispatchtimeout=15000
# Property of ANR timeout value
keydispatchtimeout = 15000
# Property of Watchdog timeout value
watchdogtimeout = 120000
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.networklocation=1
ro.setupwizard.mode=DISABLED
ro.setupwizard.mode=OPTIONAL
ro.config.ringtone=Innovation.mp3
ro.config.notification_sound=Color.mp3
ro.config.alarm_alert=Light.mp3
ro.config.cal_notification=Vector.mp3
ro.config.msg_notification=Ascend.mp3
ro.setupwizard.mode=DISABLED
ro.com.google.gmsversion=2.3_r8
media.a1026.nsForVoiceRec=0
htc.audio.alt.enable=1
htc.audio.hac.enable=1
ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=m4v
ro.media.enc.hprof.codec.aud=amrnb
ro.media.enc.hprof.vid.width=720
ro.media.enc.hprof.vid.height=480
ro.media.enc.hprof.vid.fps=24
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.aud.bps=12200
ro.media.enc.hprof.aud.hz=8000
ro.media.enc.hprof.aud.ch=1
ro.media.enc.hprof.duration=60
ro.media.enc.lprof.file.format=3gp
ro.media.enc.lprof.codec.vid=m4v
ro.media.enc.lprof.codec.aud=amrnb
ro.media.enc.lprof.vid.width=176
ro.media.enc.lprof.vid.height=144
ro.media.enc.lprof.vid.fps=15
ro.media.enc.lprof.vid.bps=256000
ro.media.enc.lprof.aud.bps=12200
ro.media.enc.lprof.aud.hz=8000
ro.media.enc.lprof.aud.ch=1
ro.media.enc.lprof.duration=30
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=m4v,h263,h264
ro.media.enc.aud.codec=amrnb
ro.media.enc.vid.h263.width=176,1280
ro.media.enc.vid.h263.height=144,720
ro.media.enc.vid.h263.bps=64000,6000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,1280
ro.media.enc.vid.m4v.height=144,720
ro.media.enc.vid.m4v.bps=64000,8000000
ro.media.enc.vid.m4v.fps=1,30
ro.media.enc.vid.h264.width=176,800
ro.media.enc.vid.h264.height=144,480
ro.media.enc.vid.h264.bps=64000,6000000
ro.media.enc.vid.h264.fps=1,30
ro.media.enc.aud.amrnb.bps=5525,12200
ro.media.enc.aud.amrnb.hz=8000,8000
ro.media.enc.aud.amrnb.ch=1,1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.dec.jpeg.memcap=80000000
ro.media.enc.jpeg.quality=100
ro.setupwizard.enterprise_mode=1
ro.media.codec_priority_for_thumb=so
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
# Disable checkin/profiling services
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# classic
windowsmgr.max_events_per_sec=150
ro.htc.framework.screencapture = true
ro.HOME_APP_ADJ=1
debug.sf.hw=1
pm.sleep_mode=1
# classic updater
ro.rommanager.developerid=tommytomatoe
ro.modversion=Classic_EVO

And here is updater-script
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
mount("MTD", "userdata", "/data");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/boot-cache");
delete("/data/local");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/kill",
"/system/bin/ln", "/system/bin/log", "/system/bin/ls",
"/system/bin/lsmod", "/system/bin/mkdir", "/system/bin/mkdosfs",
"/system/bin/mount", "/system/bin/mv", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/renice", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/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, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm(0, 0, 04755, "/system/bin/bash");
symlink("/system/bin/bash", "/system/bin/sh");
set_perm(0, 0, 0777, "/system/bin/a2sd");
set_perm(0, 0, 0777, "/system/etc/init.d/00banner");
set_perm(0, 0, 0777, "/system/etc/init.d/01sysctl");
set_perm(0, 0, 0777, "/system/etc/init.d/02firstboot");
set_perm(0, 0, 0777, "/system/etc/init.d/04apps2sd");
set_perm(0, 0, 0777, "/system/etc/init.d/06tweaks");
set_perm(0, 0, 0777, "/system/etc/init.d/08sAUce");
set_perm(0, 0, 0777, "/system/etc/init.d/99complete");
set_perm(0, 0, 0777, "/system/bin/launcha2sd");
set_perm(0, 0, 0777, "/system/bin/starta2sd");
set_perm(0, 0, 0777, "/system/bin/jita2sd");
set_perm(0, 0, 0777, "/system/bin/chka2sd");
set_perm(0, 0, 0777, "/system/bin/zipalign");
set_perm(0, 0, 0777, "/system/bin/dexopt-wrapper");
set_perm(0, 0, 0777, "/system/bin/zip");
set_perm(0, 0, 0777, "/system/bin/sysinit");
set_perm(0, 0, 0777, "/system/bin/busybox.a2sd");
set_perm(0, 0, 0644, "/system/bin/apps2sd.hlp");
set_perm(0, 0, 0777, "/system/xbin/a2sd");
set_perm(0, 0, 0777, "/system/bin/dtinstall");
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("move_cache_sd", "/tmp/move_cache_sd");
set_perm(0, 0, 0777, "/tmp/move_cache_sd");
run_program("/tmp/move_cache_sd");
run_program("/data/dtinstall.launch");
delete("/system/bin/dtinstall");
delete("/data/dtinstall.launch");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
ui_print("");
ui_print("|----------------------------------------------|");
ui_print("| brought to you by tommytomatoe |");
ui_print("| enjoy the possibilities... |");
ui_print("|----------------------------------------------|");
ui_print("");

Thank you, going to check it out now.
Sent from my lair.

volk9029 said:
Thank you, going to check it out now.
Sent from my lair.
Click to expand...
Click to collapse
Coolio. Just so you know wait like 15 more minutes. lol. Files are uploading.

Woot!
Sent from my EVO 4G using Tapatalk

both roms are uploaded and ready to go. Enjoy!

Thanks Tommy, I will be looking at this as a base for possible future releases on my ROM

Thanks Tommy!
Sent from my PC36100 using xda premium

Im getting a unexpected end of archive on the deoxed version of the ROM.

Hell yeah thanks buddy!

nolimit06 said:
Im getting a unexpected end of archive on the deoxed version of the ROM.
Click to expand...
Click to collapse
Sorry about that! Bad link

tommytomatoe said:
Sorry about that! Bad link
Click to expand...
Click to collapse
I had no problems , downloaded odexed one.
Sent from my lair.

the odexed is recommended ? why, just curious.
When you say the rosie is slightly modified, what is modified ?
screenshots would be great.
thanks for all the work !

batman722 said:
the odexed is recommended ? why, just curious.
When you say the rosie is slightly modified, what is modified ?
screenshots would be great.
thanks for all the work !
Click to expand...
Click to collapse
I guess I can post screenshots. This is stock UI so it just plain old sense
Odex = optimized dalvik executable. It is precompiled and thus dalvik-vm does not have to be built/rebuilt for system/framework and system/app. Due to this nature boot times will be increased and users will notice an overall faster UI (difference is not major but it is noticeable). And if you're looking to run stock you might as well run Odex since that is standard.
Also, theming is same for deodex and odex, with one minor exception. I should add that.
I made some reference changes in Rosie. The actual look is still the same. I redirected some images from com.htc.res directly into Rosie. In theory it should be faster because it calls from its own apk...but difference is super slight. The main gain is that Rosie is easier to theme when all pngs are located inside itself.
Sent from my PC36100 using Tapatalk

Does this have The wifi N fix included? Looking forward to SUPERMAGIC THX!
Also, Can you post a battery with percentage?

Wifi
anyone is having issue with the wifi i am getting an error when activating

Checking it out!!
Sent from my PC36100 using XDA App

hackmania said:
anyone is having issue with the wifi i am getting an error when activating
Click to expand...
Click to collapse
Did you stay with the stock kernel?

Rxpert said:
Did you stay with the stock kernel?
Click to expand...
Click to collapse
yes stock kernel

Related

[Q]My first updater-scipt can't copy file. Can you help me :(

My first updater-scipt can't copy file. Can you help me
i running this script on CWM5
This is my file --> http://www.mediafire.com/?n3pit1jilrrw4w1
This is my updater-script code :
Code:
ui_print("Adobe flash player - CWM");
ui_print("***Installing Files");
run_program("/sbin/mount", "/data");
package_extract_dir("data", "/data");
ui_print("***Setting Permissions");
set_perm (0, 0, 0644, "/data/app/com.adobe.flashplayer_111102059_11.1.102.59.apk");
set_perm (0, 0, 0644, "/data/data/com.adobe.flashplayer/lib/libflashplayer.so");
set_perm (0, 0, 0644, "/data/data/com.adobe.flashplayer/lib/libstagefright_froyo.so");
set_perm (0, 0, 0644, "/data/data/com.adobe.flashplayer/lib/libstagefright_honeycomb.so");
set_perm (0, 0, 0644, "/data/data/com.adobe.flashplayer/lib/libysshared.so");
unmount("/data");
ui_print("***Completed Reboot your phone***");
(i'm noob eng)

[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' !!!
**************************************
**************************************

[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

[Q] running su got result 1(Operation not permitted)

Hi,
I've embeded su executable into a msm8974/android 4.4.4 device, but runing su under console I always got result 1.
tried SuperSU 1.93, Super SU 2.46 arm7.
here's the update-script file for your reference
Code:
(!less_than_int(1426845577, getprop("ro.build.date.utc"))) || abort("Can't install this package (Fri Mar 20 17:59:37 CST 2015) over newer build (" + getprop("ro.build.date") + ").");
getprop("ro.product.device") == "msm8974" || abort("This package is for \"msm8974\" devices; this is a \"" + getprop("ro.product.device") + "\".");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("/data/misc/audio/mbhc.bin", "/system/etc/firmware/wcd9320/wcd9320_mbhc.bin");
symlink("/data/misc/audio/wcd9320_anc.bin", "/system/etc/firmware/wcd9320/wcd9320_anc.bin");
symlink("/data/misc/audio/wcd9320_mad_audio.bin", "/system/etc/firmware/wcd9320/wcd9320_mad_audio.bin");
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/persist/WCNSS_qcom_wlan_nv.bin", "/system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
symlink("/system/etc/firmware/ath6k/AR6004/hw1.3/bdata.bin_usb", "/system/etc/firmware/ath6k/AR6004/hw1.3/bdata.bin");
symlink("/system/etc/firmware/ath6k/AR6004/hw1.3/fw.ram.bin_usb", "/system/etc/firmware/ath6k/AR6004/hw1.3/fw.ram.bin");
symlink("/system/etc/firmware/ath6k/AR6004/hw3.0/bdata.bin_usb", "/system/etc/firmware/ath6k/AR6004/hw3.0/bdata.bin");
symlink("/system/lib/modules/pronto/pronto_wlan.ko", "/system/lib/modules/wlan.ko");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
"/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
"/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/mkswap", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/readlink",
"/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/swapoff", "/system/bin/swapon", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:drmserver_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:keystore_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ping_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ppp_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "u:object_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata("/system/etc/install-recovery.sh", "uid", 0, "gid", 0, "mode", 0544, "capabilities", 0x0);
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "u:object_r:ppp_system_file:s0");
set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0);
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/etc", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/drm/libdrmprplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/hw", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/rfsa", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/rfsa/adsp", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/soundfx", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
set_metadata("/system/xbin/tcpdump", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.100000, 0);
unmount("/system");
the following 2 lines are added by my self.
Code:
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
In console I got this:
Code:
[email protected]:/ $ cd /system/xbin
[email protected]:/system/xbin $ ls -la su
-rwsr-sr-x root root 113036 2008-08-01 20:00 su
[email protected]:/system/xbin $ su
1|[email protected]:/system/xbin $
Build.prop file
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=KTU84P
ro.build.display.id=msm8974-userdebug 4.4.4 KTU84P eng.root.20150320.175541 test-keys
ro.build.version.incremental=eng.root.20150320.175541
ro.build.version.sdk=19
ro.build.version.codename=REL
ro.build.version.release=4.4.4
ro.build.date=Fri Mar 20 17:59:37 CST 2015
ro.build.date.utc=1426845577
ro.build.type=userdebug
ro.build.user=root
ro.build.host=qualcomm-server-1
ro.build.tags=test-keys
ro.product.model=Galaxy Series 9
ro.product.brand=qcom
ro.product.name=msm8974
ro.product.device=msm8974
ro.product.board=MSM8974
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=zh
ro.product.locale.region=CN
ro.wifi.channels=
ro.board.platform=msm8974
# ro.build.product is obsolete; use ro.product.device
ro.build.product=msm8974
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=msm8974-userdebug 4.4.4 KTU84P eng.root.20150320.175541 test-keys
ro.build.fingerprint=qcom/msm8974/msm8974:4.4.4/KTU84P/eng.root.20150320.175541:userdebug/test-keys
ro.build.characteristics=nosdcard
# end build properties
#
# from device/qcom/msm8974/system.prop
#
#
# system.prop for msm8974
#
rild.libpath=/vendor/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
# Start in global mode
ro.telephony.default_network=19
debug.sf.hw=1
debug.egl.hw=1
debug.composition.type=c2d
persist.hwc.mdpcomp.enable=true
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
ro.hdmi.enable=true
persist.speaker.prot.enable=false
qcom.hw.aac.encoder=true
#
# system props for the cne module
#
persist.cne.feature=1
#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
mm.enable.smoothstreaming=true
media.aac_51_output_enabled=true
#37491 is decimal sum of supported codecs in AAL
#codecs: AVI AC3 ASF AAC QCP DTS 3G2 MP2TS
mm.enable.qcom_parser=37491
# VIDC: debug_levels
# 1:ERROR 2:HIGH 4:LOW 0:NOLOGS 7:AllLOGS
vidc.debug.level=1
#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
ro.data.large_tcp_window_size=true
#system props for time-services
persist.timed.enable=true
#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
ro.opengles.version=196608
# System property for cabl
ro.qualcomm.cabl=1
#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1
#
# System props for bluetooth
# System prop to turn on hfp client
bluetooth.hfp.client=1
#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true
#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false
##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
ro.qc.sdk.sensors.gestures=true
ro.qc.sdk.gestures.camera=false
ro.qc.sdk.camera.facialproc=false
# system prop for NFC DT
ro.nfc.port=I2C
#property to enable user to access Google WFD settings.
persist.debug.wfd.enable=1
#property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0
tunnel.audio.encode = true
#use VERY_HIGH_QUALITY for audio resampler
af.resampler.quality=4
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=32
#Enable offload audio video playback by default
av.offload.enable=false
audio.offload.disable=1
#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true
#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024
#disable dsp gapless mode by default
audio.offload.gapless.enabled=false
#
# ADDITIONAL_BUILD_PROPERTIES
#
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.carrier=unknown
ro.config.alarm_alert=Alarm_Classic.ogg
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
persist.radio.apm_sim_not_pwdn=1
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
persist.sys.dalvik.vm.lib=libdvm.so
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.qc.sdk.izat.premium_enabled=1
ro.qc.sdk.izat.service_mask=0x5
persist.gps.qc_nlp_in_use=1
persist.loc.nlp_name=com.qualcomm.services.location
ro.gps.agps_provider=1
ro.pip.gated=0
Any advices would be appreciated.
nobody has any idea about this ..?
nobody has any idea about this ..?

Synatx Error in Updater-Script Aroma 3.00b

So I am trying some new code, but status 6 is really becoming a pain in the neck...can someone tell me where the problem is?
my code is-->
Code:
ui_print("-----------------------------");
ui_print("- UltraRom 6b -");
ui_print("- L9 Version! -");
ui_print("- By: -");
ui_print("- UltraRoboto -");
ui_print("-----------------------------");
package_extract_file("boot760.img", "/tmp/boot760.img");
set_perm(0, 0, 0777, "/tmp/boot760.img");
package_extract_file("boot769.img", "/tmp/boot769.img");
set_perm(0, 0, 0777, "/tmp/boot769.img");
# checking boot.img
ui_print("Verifying boot images...");
if
sha1_check(read_file("/tmp/boot760.img")) == "51d9cf62ee5dc560755262f026cd521a94cf3173";
then
ui_print("...OK...");
delete("/tmp/boot760.img");
else
ui_print("File corruption is present, aborting install..");
abort("Please download this zip again...");
endif;
if
sha1_check(read_file("/tmp/boot769.img")) == "46c5be87777034d922f995c31a3d2fcf0941cb8b";
then
ui_print("...OK...");
delete("/tmp/boot769.img");
else
ui_print("File corruption is present, aborting install..");
abort("Please download this zip again...");
endif;
package_extract_file("ice769-recovery.img", "/tmp/ice769-recovery.img");
set_perm(0, 0, 0777, "/tmp/ice769-recovery.img");
# checking ice769-recovery.img
ui_print("Verifying recovery images...");
if
sha1_check(read_file("/tmp/ice769-recovery.img")) == "8d8f0d35b7f128a2aacbc180b4e438238294d0d2";
then
ui_print("...OK...");
delete("/tmp/ice769-recovery.img");
else
ui_print("File corruption is present, aborting install..");
abort("Please download this zip again...");
endif;
ui_print("");
ui_print("Installing...");
######### system
ui_print("Wiping SYSTEM");
run_program("/sbin/busybox", "umount", "/system");
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/system", "/system");
ui_print("Extracting SYSTEM ");
ui_print("please wait...");
package_extract_dir("system", "/system");
#
ui_print("Installing Busybox & Linking Tools");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/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");
ui_print("Setting Permission...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(1000, 1005, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(0, 0, 0755, 0700, "/system/bootstrap");
set_perm(0, 0, 0755, "/system/bin/e2fsck");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 3004, 02755, "/system/bin/ping6");
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/firstboot.sh");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(1002, 1002, 0440, "/system/etc/bluetooth/audio.conf");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/block_avrcp_toggle.conf");
set_perm(1002, 1002, 0640, "/system/etc/bluetooth/did.conf");
set_perm(1002, 1002, 0440, "/system/etc/bluetooth/input.conf");
set_perm(1002, 1002, 0440, "/system/etc/bluetooth/main.conf");
set_perm(1002, 1002, 0440, "/system/etc/bluetooth/network.conf");
set_perm(1000, 1015, 0644, "/system/etc/apns-conf.xml");
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, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm_recursive(0, 0, 0711, 06755, "/system/bin/.ext");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
#Erase Data Prompt and Extract files
###########################################################################
if file_getprop("/tmp/aroma/data.prop", "selected.1") == "1" then
ui_print("Removing Data");
run_program("/sbin/busybox", "mount", "/data");
delete_recursive("/data");
else
######### clean dc
ui_print("Clearing dalvik");
run_program("/sbin/busybox", "mount", "/data");
delete_recursive("/data/dalvik-cache");
######### apps
ui_print("Installing your requested apps");
if file_getprop("/tmp/aroma/option.prop", "item.1.1") == "1" then
if file_getprop("/tmp/datacheck.prop", "holotheme") == "yes" then
run_program("/tmp/aroma/remove.sh", "HoloLightTheme");
run_program("/tmp/aroma/remove.sh", "om.gnexushd.apollo.holoCM");
endif;
package_extract_file("system/apps/bootup/com.gnexushd.apollo.holoCM.apk", "/data/app/com.gnexushd.apollo.holoCM.apk");
set_perm(1000, 1000, 0644, "/data/app/com.gnexushd.apollo.holoCM.apk");
endif;
if file_getprop("/tmp/aroma/option.prop", "item.1.2") == "1" then
if file_getprop("/tmp/datacheck.prop", "gravity") == "yes" then
delete_recursive("data/data/com.ceco.gm2.gravitybox");
run_program("/tmp/aroma/remove.sh", "ceco.gm2.gravitybox");
endif;
package_extract_file("system/apps/bootup/com.ceco.gm2.gravitybox-1.apk", "/data/app/com.ceco.gm2.gravitybox-1.apk");
set_perm(1000, 1000, 0644, "/data/app/com.ceco.gm2.gravitybox-1.apk");
endif;
if file_getprop("/tmp/aroma/option.prop", "item.1.3") == "1" then
if file_getprop("/tmp/datacheck.prop", "xposed") == "yes" then
run_program("/tmp/aroma/remove.sh", "de.robv.android.xposed.installer");
delete_recursive("data/data/de.robv.android.xposed.installer");
endif;
package_extract_file("system/apps/bootup/de.robv.android.xposed.installer-1.apk", "/data/app/de.robv.android.xposed.installer-1.apk");
set_perm(1000, 1000, 0644, "/data/app/de.robv.android.xposed.installer-1.apk");
endif;
if file_getprop("/tmp/aroma/option.prop", "item.1.4") == "1" then
if file_getprop("/tmp/datacheck.prop", "flash") == "yes" then
run_program("/tmp/aroma/remove.sh", "flash_player");
run_program("/tmp/aroma/remove.sh", "adobe.flashplayer");
endif;
package_extract_file("system/apps/bootup/com.adobe.flashplayer.apk", "/data/app/com.adobe.flashplayer.apk");
set_perm(1000, 1000, 0644, "/data/app/com.adobe.flashplayer.apk");
endif;
if file_getprop("/tmp/aroma/option.prop", "item.1.5") == "1" then
if file_getprop("/tmp/datacheck.prop", "ma.wanam") == "yes" then
run_program("/tmp/aroma/remove.sh", "wanam.youtubeadaway");
delete_recursive("data/data/ma.wanam.youtubeadaway");
endif;
package_extract_file("system/apps/bootup/ma.wanam.youtubeadaway-1.apk", "/data/app/ma.wanam.youtubeadaway-1.apk");
set_perm(1000, 1000, 0644, "/data/app/ma.wanam.youtubeadaway-1.apk");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.1.6") == "0" then
delete("/system/app/monsterui.apk");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.1.7") == "0" then
delete("/system/app/acdisplay.apk");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.1.8") == "0" then
delete("/system/app/LockScreen3.apk");
delete("/system/app/LockScreen3.odex");
endif;
##############################################################################
#Music
if file_getprop("/tmp/aroma/system-option.prop", "item.1.1") == "0" then
delete("/system/app/Apollo.apk");
delete("/system/app/Apollo.odex");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.1.2") == "0" then
delete("/system/app/MusicPlayer.apk");
delete("/system/app/MusicPlayer.odex");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.1.3") == "0" then
delete("/system/app/com.google.android.music.apk");
delete("/system/app/com.google.android.music.odex");
endif;
#############################################################################
#Launcher
if file_getprop("/tmp/aroma/system-option.prop", "item.2.1") == "0" then
delete("/system/app/com.ksmobile.launcher-1.apk");
delete("/system/app/com.ksmobile.launcher-1.odex");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.2.2") == "0" then
delete("/system/app/com.google.android.launcher.apk");
delete("/system/app/com.google.android.launcher.odex");
endif;
if file_getprop("/tmp/aroma/system-option.prop", "item.2.3") == "0" then
delete("/system/app/ginlemon.flowerfree-2.apk");
delete("/system/app/ginlemon.flowerfree-2.odex");
if file_getprop("/tmp/aroma/system-option.prop", "item.2.4") == "0" then
delete("/system/app/Action.Launcher.3.apk");
delete("/system/app/Action.Launcher.3.odex");
endif;
######################################################################
#Messaging
if file_getprop("/tmp/aroma/system-message.prop", "item.1.1") == "0" then
delete("/system/app/com.textra.apk");
endif;
if file_getprop("/tmp/aroma/system-message.prop", "item.1.2") == "0" then
delete("/system/app/com.google.android.apps.messaging.apk");
endif;
######################################################################
#Keyboard
if file_getprop("/tmp/aroma/keyboard.prop", "selected.0") == "1" then
package_extract_dir("LG_Keyboard", "/system/app");
delete("/system/app/com.google.android.inputmethod.latin.apk");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
if file_getprop("/tmp/aroma/keyboard.prop", "selected.0") == "3" then
delete("/system/app/com.google.android.inputmethod.latin.apk");
delete("/system/lib/libjni_unbundled_latinimegoogle.so");
run_program("/tmp/aroma/remove.sh", "google.android.inputmethod.latin");
package_extract_file("Shafta_Keyboard/libjni_unbundled_latinimegoogle.so", "/system/lib/libjni_unbundled_latinimegoogle.so");
package_extract_file("Shafta_Keyboard/Shafta123CreamSandwich6.0.apk", "/system/app/Shafta123CreamSandwich6.0.apk");
package_extract_file("Shafta_Keyboard/Shafta123CreamSandwich6.0.odex", "/system/app/Shafta123CreamSandwich6.0.odex");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
if file_getprop("/tmp/aroma/keyboard.prop", "selected.0") == "4" then
delete("/system/app/com.google.android.inputmethod.latin.apk");
delete("/system/lib/libjni_unbundled_latinimegoogle.so");
run_program("/tmp/aroma/remove.sh", "google.android.inputmethod.latin");
package_extract_file("Shafta_Keyboard/libjni_unbundled_latinimegoogle.so", "/system/lib/libjni_unbundled_latinimegoogle.so");
package_extract_file("Shafta_Keyboard/ShaftaAppleSauceICS6.0.apk", "/system/app/ShaftaAppleSauceICS6.0.apk");
package_extract_file("Shafta_Keyboard/ShaftaAppleSauceICS6.0.odex", "/system/app/ShaftaAppleSauceICS6.0.odex");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
if file_getprop("/tmp/aroma/keyboard.prop", "selected.0") == "5" then
delete("/system/app/com.google.android.inputmethod.latin.apk");
delete("/system/lib/libjni_unbundled_latinimegoogle.so");
run_program("/tmp/aroma/remove.sh", "google.android.inputmethod.latin");
package_extract_file("Shafta_Keyboard/libjni_unbundled_latinimegoogle.so", "/system/lib/libjni_unbundled_latinimegoogle.so");
package_extract_file("Shafta_Keyboard/ShaftaLemon6.0.apk", "/system/app/ShaftaLemon6.0.apk");
package_extract_file("Shafta_Keyboard/ShaftaLemon6.0.odex", "/system/app/ShaftaLemon6.0.odex");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
#####################################################################
#2nd-init Recovery
if file_getprop("/tmp/aroma/recovery.prop", "selected.0") == "1" then
package_extract_file("recovery/twrp/recovery.tar", "/system/bootstrap/recovery.tar");
set_perm(0, 0, 0755, "/system/bootstrap/recovery.tar");
endif;
if file_getprop("/tmp/aroma/recovery.prop", "selected.0") == "2" then
package_extract_file("recovery/cwmtouch/recovery.tar", "/system/bootstrap/recovery.tar");
set_perm(0, 0, 0755, "/system/bootstrap/recovery.tar");
endif;
if file_getprop("/tmp/aroma/recovery.prop", "selected.0") == "3" then
package_extract_file("recovery/cwmreg/recovery.tar", "/system/bootstrap/recovery.tar");
set_perm(0, 0, 0755, "/system/bootstrap/recovery.tar");
endif;
if file_getprop("/tmp/aroma/recovery.prop", "selected.0") == "4" then
package_extract_file("recovery/philzcwm/recovery.tar", "/system/bootstrap/recovery.tar");
set_perm(0, 0, 0755, "/system/bootstrap/recovery.tar");
endif;
#####################################################################
#2nd-init Rom
if file_getprop("/tmp/aroma/init.prop", "selected.1") == "2" then
if file_getprop("/tmp/aroma/swap.prop", "selected.1") == "2" then
delete("/system/etc/init.d/69swap");
endif;
# installing required files
package_extract_dir("regular", "/system");
delete("/system/bootstrap/boot.tar");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 0, 0644, "/system/etc/vold.fstab");
set_perm(0, 0, 0644, "/system/framework/framework-res.apk");
else
delete("/system/etc/init.d/69swap");
endif;
#####################################################################
#Model
if file_getprop("/tmp/aroma/model.prop", "selected.0") == "1" then
package_extract_dir("model/P760", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/build.prop");
endif;
if file_getprop("/tmp/aroma/model.prop", "selected.0") == "2" then
package_extract_dir("model/P765", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/build.prop");
endif;
if file_getprop("/tmp/aroma/model.prop", "selected.0") == "3" then
package_extract_dir("model/P768", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/build.prop");
endif;
if file_getprop("/tmp/aroma/model.prop", "selected.0") == "4" then
package_extract_dir("model/P769", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/build.prop");
delete("/system/app/FmRadio.apk");
ui_print("Uploading Boot Image...");
package_extract_file("boot769.img", "/dev/block/mmcblk0p3");
else
ui_print("Uploading Boot Image...");
package_extract_file("boot760.img", "/dev/block/mmcblk0p3");
endif;
#############################
if file_getprop("/tmp/aroma/loader.prop", "selected.1") == "2" then
ui_print("Installing ICE Recovery");
package_extract_file("ice769-recovery.img", "/dev/block/mmcblk0p4");
endif;
######################################################
if file_getprop("/tmp/aroma/init.prop", "selected.1") == "1" then
run_program("/tmp/aroma/move2sd.sh");
set_perm(0, 0, 0644, "/system/build.prop");
endif;
#############################################
ui_print(" Clearing cache");
delete_recursive("/cache");
unmount("/data");
unmount("/cache");
unmount("/system");
ui_print("Install Complete");
ui_print("");
ui_print("Enjoy!");
ui_print("");
And the error is here-->
Code:
AROMA INSTALLER version 3.00
(c) 2013-2015 by amarullz.com
ROM Name : UltraRom
ROM Version : 6b
ROM Author : UltraRoboto
Device : L9 Variants
Start at : Mon Oct 26 00:32:12 2015
installing samsung updater extensions
line 390 col 1: syntax error, unexpected $end
1 parse errors
Installer Error (Status 6)
End at : Mon Oct 26 00:32:12 2015
any help?

Categories

Resources