Hello everyone ,
I`m currently working on a project called "rtl-4-android" and my main goal is to give fully RTL (Right-To-Left) support to the users ,
that is until the Android operation system will officially support RTL .
I ran across an odd problem with my update-script -
This is the simple script :
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:data DATA:
set_perm_recursive 0775 0775 0775 0775 SYSTEM:app
set_perm_recursive 0775 0775 0775 0775 DATA:app
show_progress 0.1 10
Click to expand...
Click to collapse
As you can probably see -it supposed to copy the content of the package system dir to /system , and the package data dir to /data ,
after that it changes the permissions of the /system/app and /data/app to 775 .
The error is : "E:Syntax error in update script" and it comes after the "installing update..." part.
Any thoughts ?
The first two fields in set_perm_recursive are supposed to be a uid, not octal permissions.
For example:
set_perm_recursive 0 0 0755 0644 DATA:app
thanks to those that contributed to the x10 before me;
zdzihu, androxyde, bin4ry, rendeiro2005, jerpelea @xda
and to j_r0dd @m3 for producing great modroms to try to emulate.
--
SCREENSHOTS OF NEW V3 THEME ADDON;
--
NEW THEME UPDATE, V3, FLASH AFTER ROM INSTALL+FIRST BOOT:
Code:
http://www.multiupload.com/U0ULDNB4VX
ROM DOWNLOAD:
Code:
http://www.multiupload.com/M27R828R5V
--
requirements: guaranteed to work with 58 baseband. probably works w/ 54/55 basebands.
--
screenshot;
--
rom made for my own personal use based off the latest se21rom 016 firmware for poland;
1.removed polish customizations and programs
2.slimmed down the original install from 150mb to 100mb
removed; excess sounds, wallpapers
3.improved boot time and bootanimation (by removing it)
4.removed the excessive asian keyboard inputs (20+mb)
5.installed standard improvements from flashtool;
prerooted, has busybox 1.17.2, optimized( w/ zdzihu's jit enabledv2)
new FreeXperia from J's CM7rc2
6.installed cyanogen's apn list that works great from first boot
7.choose 3rd party everyday apps to prepackage;
Android System Info - Great app for all rom details
AnReboot - reboot app
Any Cut - great for specific shortcuts to (hidden)program activities
Barnacle Wifi Tether - wifi tethering
Free Advanced Task Manager - comprehensive task manager (don't micromanage tasks)
Ghost Commander - free root file manager (press 'menu',location,change location,root:///,tap and wait. there is also a free samba/fileshare plugin browser on the market)
Google Voice - v30413 for free unlimited outbound calling w/ friends and family.
Linpack for Android - to test your rom speed out of the box
MarketAccess - to change your market location when your provider has blocked an app
OI File Manager - for simple sdcard file management when you don't want to use ghost commander.
QuickPic - free gallery alternative to sony's. sony's to be removed in future.
Rom Gripper - great game console emulator for less than 500k. front end rom downloads and emulators.
Terminal Emulator - terminal prompt for hand hacking.
Titanium Backup - for those that manage their files, inspect mine, and clean their roms.
Wifi Analyzer - for a great visual representation of wifi signals
Wifi Connector Library - connector access for wifi analyzer.
XPERIA Flashlight - the best x10 flashlight widget
Zeam - *my favorite* launcher. fullscreen, gestures, clean dock.
Zedge - great source for wallpapers and ringtones.
Please post general app questions in seperate questions or PM me.
8.chose a theme import for inclusion. my present htc sense theme import as no xml changes are required; no instability introduced from recompiling. please post themeing related responses in my theme threads.
--
rom notes;
themed:
/system/framework/framework-res.apk
/system/app/Conversations.apk
added:
/system/bin/charger - freexperia recovery
/system/recovery/model - freexperia recovery
/system/recovery/recovery.tar.bz2 - freexperia recovery
/system/recovery/sh - freexperia recovery
updated:
/system/build.prop - optimized
/system/bin/busybox - 1.17.2
/system/bin/chargemon - freexperia recovery
/system/bin/dalvikbm - zdzihu's jitv2
/system/bin/dexopt - zdzihu's jitv2
/system/bin/logcat -zdzihu's jitv2
/sysem/etc/apns-conf.xml - updated cm apn list
/system/etc/hosts - updated w current adblock file from adfree
/system/etc/vold.conf - removed like 4 mounts for cdrom and pnp media access, standard usb and sdcard mount work fine
/system/etc/customization...customer-settings - bookmarks; m3, xda, fark
/system/bin/libcutils.so - zdzihu's jitv2
/system/bin/libdl.so - zdzihu's jitv2
/system/bin/libdvm.so - zdzihu's jitv2
/system/bin/liblog.so - zdzihu's jitv2
/system/bin/libm.so - zdzihu's jitv2
/system/bin/libnativehelper.so - zdzihu's jitv2
/system/bin/libz.so - zdzihu's jitv2
file removal list
/system/app/AXN.apk
/system/app/backupandrestore.apk
/system/app/chinesetextinput.apk
/system/app/creatouch-wvga.apk
/system/app/facebook.apk
/system/app/JapaneseIME.apk
/system/app/moxiermail.apk
/system/app/NaviExpert.apk
/system/app/neoreader.apk
/system/app/officesuite.apk
/system/app/playnowappinstaller.apk
/system/app/playnowback.apk
/system/app/playnowclient.apk
/system/app/quadrapop.apk
/system/app/SEMCTouchPalKoreanQWERTY.apk
/system/app/StatusSwitch.apk
/system/app/textinput-tng.apk
/system/app/touchnote.apk
/system/app/trackid.apk
/system/app/usersupport.apk
/system/app/wisepilot.apk
/system/bin/*dead symlinks and duped executables from symlinks
/system/etc/dop.iso - the onboard cdrom/sony software suite
/system/etc/customization/content/com/sonyericsson - removed preloaded wallpapers, loaded my htc background, removed r2r data as should be unnecessary with updated apn list.
/system/etc/customization/settings - removed most settings, updated others
/system/lib/libtouchpalse.so - for the keyboard i removed
/system/media/bootanimation.zip - the internal android one is better and quicker
/system/media - all audio except for defaults
/system/usr/keychars/qwerty.kcm.bin - symlink dupe
--
this will be a continually updated rom as sony continues to produce 2.1 updates for the x10i/x10a. this is the rom i use as a fallback between theme and rom flashes.
--
please, if you derive your roms, mods or themes from something i've done (well enough to borrow from) or you just like what i did for your phone, please hit the thanks button for this post. maybe drop my name in your own works thread. thanks.
--
flashtool for update your firmware to the latest 016 w/ 58 baseband by androxyde & bin4ry @xda;
[TOOL] [UPDATE 22/03/2011] Flashtool BETA version 0.2.9.1 - xda-developers
firmware x10i 2.1.1.a.0.16 firmware provided by arkedk @xda
[Firmware] X10i 2.1.1.A.0.16 for FlashTool - xda-developers
my htc sense theme thread, for any additional details;
http://forum.xda-developers.com/showthread.php?p=12175001#post12175001
general software setup recommendations:
Zeam Launcher; please choose this for your default launcher. i haven't removed the blue from the sony launcher yet, and this launcher compliments the htc theme rather well. Additional, it can be very cm like in gesture function. here's my recommended settings;
preferences;general;fullscreen(yes), sensor rotation(yet)
preferences;action bindings; swipe up(open applications), swipe down(expand notifications),home button(open dialer),double tap(toggle fullscreen)
for my screenshot, i have sony's "power control" widget on the desktop, along w/ the sony "digital clock", and the telemarks xperia flashlight widget from market.
also, the x10 has a secret 2g/3g menu not called by market widgets;
open your apps menu, select "Any Cut", "New Shortcut", and select the FIRST instance of "GSM/UMTS Options". This will give you a user friendly menu that explains and allows the toggle of 2g/3g, as well as a convenient network selection for initiating r2r for apn settings.
note; apn settings should not be an issue as i included the latest cyanogen apn list to remove the need for r2r and apn configuration.
ewwww 2.1
jk looks good but since 2.2 roms are pretty much complete, I'll never go back! You can't make me!!!!!
Looks good!!!
Like the choice of apps you use too, very well done!!!
Best regards,
Chris
install script thread jack
i'm gonna take a moment to threadjack my rom thread, so i don't get the subject moderated out of developement, and because the subject held up the rom release for a week.
the present state of se21 modrom install scripts is the pits. here's mine so you can see and discuss anything i did correctly FOR THIS ROM (on topic);
update-script
Code:
#
# Generated by dsixda's HTC Android Kitchen
# xda-developers.com
# modified by bestialbub for x10 se21 roms
#
show_progress 0.1 0
format SYSTEM:
delete SYSTEM:xbin/busybox
delete_recursive SYSTEM:xbin
format DATA:
delete DATA:local
run_program PACKAGE:check_data_app
copy_dir PACKAGE:data DATA:
set_perm 2000 2000 0771 DATA:local
set_perm_recursive 1000 1000 0771 0644 DATA:app
format CACHE:
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
set_perm 0 3003 2755 SYSTEM:bin/netcfg
set_perm 0 3004 2755 SYSTEM:bin/ping
set_perm 0 0 0755 SYSTEM:etc/bluez
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
set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 0 4755 SYSTEM:bin/busybox
set_perm 0 0 4755 SYSTEM:bin/charger
set_perm 0 0 4755 SYSTEM:bin/chargemon
set_perm 0 0 4755 SYSTEM:recovery/sh
set_perm 0 0 0444 SYSTEM:recovery/recovery.tar.bz2
symlink dumpstate SYSTEM:bin/dumpcrash
symlink es209ra_keypad.kcm.bin SYSTEM:usr/keychars/qwerty.kcm.bin
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/kill
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
run_program PACKAGE:fix_permissions
show_progress 0.1 10
show_progress 0.2 0
show_progress 0.2 10
run_program PACKAGE:installbusybox
it would seem every example i looked at neglected to correctly remove dead links, make appropriate symlinks or get all the appropriate file permissions.
prior to this project, i knew little of linux file permissions, but i systematically went thru ALMOST every folder in adb shell and "ls -l" for all file group/user id's, and performed "stat -c %a,%U,%G,%t,%n *" to obtain all the octal permissions. some folks missed alot.
i think you can pick out the 49 toolbox symlinks, the 1 symlink for dumpstate/dumpcrash and the symlink for es209ra_keypad.kcm.bin /qwerty.kcm.bin.
i might also note that when /system/bin/su is installed by flashtool its given a octal permission of 4755 that seems to work during live install, but i learned from zdzihu's script that 6755 is required for prerooting.
alot of folks copied that same script and had missed some importing /system/bin permissions/groups such as ping and netcfg that rendered some wireless/data apps unusable (speedtest being an example).
also, folks need to look closer at the /etc/customization folders, or just remove the files entirely as these may likely explain why you have sms/mms messaging problems, as some of these roms has customized settings regulating how communication is done, if its allowed at all.
oh, and
installbusybox
Code:
#!/system/bin/sh
cd /system/bin
./busybox --install -s /system/bin
..I didn't use a kitchen for this rom. Just borrowed the same script everyone else used from one.
Today I couln't resist to update when pc companion informed me that there is an update for my phone, afterwards I was surprised to see a lot of polish programs installed, I was wondering how the hell am I going to remove all these and then I found your rom, a very nice one, stripped of all unnecessary stuff and with a detailed explanation of additional installed programs. Thank you very much.
Sent from my X10i using XDA Premium App
I've just downloaded and is installing your rom.
Hope it is good for me. I will report my experience of using this rom asap.
Thank you for your work.
There are still many stock apps in this rom. Initially, battery drained faster than usual. It became normal again after Timescape had been uninstalled.
This rom is now amazing, especially it's the first time I use the Barnacle app.
Thank you again.
PS. I had disconnection problem during using Barnacle. I have to kill the app by task killer and restart it again. Any config recommended?
@degaswong; barnacle works great for me on the x10 w any rom. the newest one i provided autodetects when you start it w wpa supplicant enabled and prompts to disable, making it easier to use than before because you dont have to configure anything. just run it twice the first time, have your wifi off on the phone, AND DONT DOWNLOAD WIFI TETHER FOR ANDROID. ive seen this app cause issues like your wifi id always being broadcasted like it was on, especially when together on a phone w barnacle.
i did choose to leave the rom as intact w the stock apps, as this is my first release and i dont want to start off w removing apps that are called from the framework and introducing instability to gain performance.
im going to look at more thurough creative ways to remove the apps, and if possible, where theyre called from in the framework for a more stable clean rom.
look in my rom thread for more roms in the future; full unthemed, this one, and maybe an experimental lite one similar to what youve seen elsewhere.
i can tell you the modrom i fixed for rendeiro has a higher linpack score teetering between 33 and 34k as he's done more cleanup to his rom than im comfortable w releasing yet.
Sent from my X10i using XDA App
[QUOTE/] i did choose to leave the rom as intact w the stock apps, as this is my first release and i dont want to start off w removing apps that are called from the framework and introducing instability to gain performance.
im going to look at more thurough creative ways to remove the apps, and if possible, where theyre called from in the framework for a more stable clean rom.
[/QUOTE]
Look forward to this rom. Thanks and regards. Currently I am using your rom and find it perfect.
Sent from my X10i using XDA Premium App
It's good to see someone taking the effort to evaluate the shortcomings of most SE rom's and improve stability, enhance performance and localize. If only this was Froyo or Gingerbread it would be perfection fm as I require Adobe Flash Player support.
Any plans for either in the future?
Best regards,
MH
yeah, i'll be doing the same thing for the freex10/froyo rom shortly. my free times just shorter than i need for the number of devices and projects i've been trying to commit myself too, after work and family.
hopin' to fix up the freex10 install the same way i did for the custom sony se21roms, then work on porting in the greenglow theme. been mentioning it a bit, but the htc sense theme has been a lil' demanding and i've been helpin' out folks w/ a7 tabs too.
check my stats out in a week for new thread.
bumped for screenshot and theme update.
Guyz i am not a noob,but this is really like a noob question... please help me...
I started using a Ext. partition's just one month after i purchased my phone on my free 2GB memory card which cum along with MINI....and there were no prob. using it though.Then i purchased 4GB SD card and again i applied Ext. 3 partition on it and used app2sd.dc2sd....and it ran over 8 months without a prob.
Then i Used MINI-CM 6.0-RC1 and deleted my ext.3 partition to make it larger than it previous condition,watever when i created it and again and when i unmounted my SD my phone said "The SD card Is Empty or Corrupt"....and thats it....it prompts me to formate it....So i did so....but when i plug the phone to USB and connected the phone to computer....it again refreshed it to 4GB and my ext. partition gone for hell.
I thought that it worths another chance so i again created ext. partition in xRecovery Mode.....And i sum how got success.....But when i tries to install App2sd.dc2sd it says
"E:Can't chown/mod /system/etc/bluez
(No such file or directory)
E:Failure at Line 7:
set_perm_recursive 1002 1002 0755 0440 ,SYSTEM:etc/bluez
installation Aborted"
I tried many times to solve it,even every method but no results.....i think my card got corrupted,but it shows and runs other media files...I am so confused....
Please Help Me Guyz!!!!
this >> set_perm_recursive 1002 1002 0755 0440 ,SYSTEM:etc/bluez should look like this set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
and if that doesn't do trick check is folder bluez exist.
Chumby_666 said:
this >> set_perm_recursive 1002 1002 0755 0440 ,SYSTEM:etc/bluez should look like this set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez
and if that doesn't do trick check is folder bluez exist.
Click to expand...
Click to collapse
Yeahh bro. there is a folder at /system /lib/bluez-plugin ........And it got two files "audio.so and "input.so"".So Basically what i have to do with this....pls explain....!!!
pratyush_gamer said:
Yeahh bro. there is a folder at /system /lib/bluez-plugin ........And it got two files "audio.so and "input.so"".So Basically what i have to do with this....pls explain....!!!
Click to expand...
Click to collapse
edit META-INF/...../update-script and fix this line set_perm_recursive 1002 1002 0755 0440 ,SYSTEM:etc/bluez. you can open update-script with notepad++
Chumby_666 said:
edit META-INF/...../update-script and fix this line set_perm_recursive 1002 1002 0755 0440 ,SYSTEM:etc/bluez. you can open update-script with notepad++
Click to expand...
Click to collapse
Thanks for concentrating on my problem(Thats so kind of you).....But bro. i just solved it before reading your post........I used SEUS and go back to original FW and from there i created my partitions again.....And WOW now i can able to use Ap2SD.Dc2SD.........BTW thanks for all your efforts......And also i am a Big FAN of you & your works(ROM)...I really Appreciate your work.
THANKS!!!!
Hello All
Here I post some instructions for getting Bravia Engine on the Amaze 4g. Credits go to our fellow XDA member XxXPachaXxX who originally made this available for several others devices.
Original thread for Desire HD is here: http://forum.xda-developers.com/showthread.php?t=1352859
1)See video http://www.sonyericsson.com/product/xperiaarc/video/mbe/
2)Download attachment.
3)Extract files on phone and put they in the directory:
Code:
/system/etc
4)Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
5)Save the file and Exit
6)Set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
7)Fully Reboot the device and enjoy BRAVIA
Test and see if it works please. If you're grateful you can buy us bears
ENJOY!!
TheRedDrake said:
Hello All
Here I post some instructions for getting Bravia Engine on the Amaze 4g. Credits go to our fellow XDA member XxXPachaXxX who originally made this available for several others devices.
Original thread for Desire HD is here: http://forum.xda-developers.com/showthread.php?t=1352859
1)See video http://www.sonyericsson.com/product/xperiaarc/video/mbe/
2)Download attachment.
3)Extract files on phone and put they in the directory:
Code:
/system/etc
4)Open /system/build.prop with a text editor (like RootExplorer)
and add these lines at the end:
Code:
#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
5)Save the file and Exit
6)Set the right permissions or open a terminal emulator and execute:
Code:
su
busybox chmod 0755 /system/etc/be_photo
busybox chmod 0755 /system/etc/be_movie
busybox chown 0.0 /system/etc/be_photo
busybox chown 0.0 /system/etc/be_movie
7)Fully Reboot the device and enjoy BRAVIA
Test and see if it works please. If you're grateful you can buy us bears
ENJOY!!
Click to expand...
Click to collapse
is bravia a screen tweak or a camera tweak?
This is a screen tweak. You won't notice a diff in photo's etc taken by the camera and viewed on a computer or another device.
This engine is just used to tweak the display brightness/contrast/sharpness etc of images and movies viewed on the device only.
Can someone post before and after pics /video
I'm running android revolution. Has someone used it in that Rom yet? I would really like to try it
Sent from my HTC_Amaze_4G using xda premium
"Buy us bears" ???? Where do we go to buy bears?
One of our strengths is our lack of direction- Eric Schmidt
super uber difficult to notice any difference..
X used in one of roms... Not much of difference
tag'd this thread
when i'll get my AMAZE 4G i'll try it!
It's been posted million's of time's .
True. But thought people here will find it usefull as well
Hey you haven't write in the thread that the patch is a my work...it works and i made a flashable zip for every rom and every phone. ENJOY
XxXPachaXxX said:
Hey you haven't write in the thread that the patch is a my work...it works and i made a flashable zip for every rom and every phone. ENJOY
Click to expand...
Click to collapse
Actualy I did. Read first post
Has anyone had any luck on disabling the soft button backlight ? I tried various dimmer and kill led scripts with no luck.
Thanks in advance!
Sent from my YP-G70 using Tapatalk 2
it is a kernel thing
Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
diazlaz said:
Has anyone had any luck on disabling the soft button backlight ? I tried various dimmer and kill led scripts with no luck.
Thanks in advance!
Sent from my YP-G70 using Tapatalk 2
Click to expand...
Click to collapse
What ROM/kernel are you on? If you have init.d support, make a script with the following code:
Code:
chown root:root /sys/devices/virtual/sec/ts/touchkey_led
echo 0 > /sys/devices/virtual/sec/ts/touchkey_led
This will prevent the lights HAL (lib/hw/lights.s5pc110.so) from accessing it to turn it on, and then turn it off. Note that it is a binary value (that file above can only contain a 1 or a 0), so dimming is not possible.
Mevordel said:
What ROM/kernel are you on? If you have init.d support, make a script with the following code:
Code:
chown root:root /sys/devices/virtual/sec/ts/touchkey_led
echo 0 > /sys/devices/virtual/sec/ts/touchkey_led
This will prevent the lights HAL (lib/hw/lights.s5pc110.so) from accessing it to turn it on, and then turn it off. Note that it is a binary value (that file above can only contain a 1 or a 0), so dimming is not possible.
Click to expand...
Click to collapse
thanks mevordel. this worked perfectly!
diazlaz said:
thanks mevordel. this worked perfectly!
Click to expand...
Click to collapse
Dumb question but how to use that script?
Try this or this
Anyway I use root explorer to change permission to this: /sys/class/sec/ts/touchkey_led
Just remove Write permission to Group and turn off once the screen.
help with back lights
hey guys can i turn on my back lights? cause i like them but im running a custom ROM and kernel and they dont want to work ;/
Evoium said:
hey guys can i turn on my back lights? cause i like them but im running a custom ROM and kernel and they dont want to work ;/
Click to expand...
Click to collapse
Which one? They don't work on any released CM9 as far as I know.
Mevordel said:
What ROM/kernel are you on? If you have init.d support, make a script with the following code:
Code:
chown root:root /sys/devices/virtual/sec/ts/touchkey_led
echo 0 > /sys/devices/virtual/sec/ts/touchkey_led
This will prevent the lights HAL (lib/hw/lights.s5pc110.so) from accessing it to turn it on, and then turn it off. Note that it is a binary value (that file above can only contain a 1 or a 0), so dimming is not possible.
Click to expand...
Click to collapse
Should it be like:
Code:
#!/system/bin/sh
chown root:root /sys/devices/virtual/sec/ts/touchkey_led
echo 0 > /sys/devices/virtual/sec/ts/touchkey_led
??
KOala888 said:
Should it be like:
Code:
#!/system/bin/sh
chown root:root /sys/devices/virtual/sec/ts/touchkey_led
echo 0 > /sys/devices/virtual/sec/ts/touchkey_led
??
Click to expand...
Click to collapse
doesn't matter
Wysyłane z mojego YP-G70 za pomocą Tapatalk 2