yashsingh1/xdaforums huggingface dataset:
[HTC One X] hvihavai:
Thanks for BLN version coming so fast..

But I'm pretty sure that,

/sys/class/leds/button-backlight/button_brightness

only affects button brightness when screen is on. Because when is screen off and auto-bln turns on, button backlight is very bright.

Is this the desired function, or as I thought this should control brightness of auto-bln, because right now I think it could much dimmer.

Thanks.
[HTC One X] Xmister:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

For BLN there is "slow_blink_brightness". :)
[HTC One X] OzanSRC:
I used #252 kernel at my Viper X 3.3.3 but i can't change CPU freq at with Trickster mod or Viper's own CPU tab. CPU freqs reset itself even with Powersaver...
[HTC One X] gregsoir:
Odp: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-K

yup, totally. thanks for everything you've done. piece of art.

I'm on #266 now and it looks really good. love the backlight thingy :)

HOXed
[HTC One X] skn-xda:
Had a noon question - should I be installing the modules from recovery first or flashing the kernel from fastboot? The first post states install modules first but almost all other kernel install howtos mention the other order. So, which is the correct one?
[HTC One X] tomascus:
doesn't matter
[HTC One X] Byrana:
AW: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

Probably, thanks for mentioning it. Had a rough weekend. Will check later. Until then you can add the steps by yourself in root explorer after flashing the file.
[HTC One X] bartdeli:
I still cannot connect my hox to wifi. It cannot authenticate to my home wifi. I tried with different kernels, with and without repacking with no luck. I can only connect when I diasble al security settings. Diasbling mac filtering didn't help.

The only kernel that works for me is #106. I treid 188, 226, 235, 241, 262 :crying:
[HTC One X] loko34:
#266 For Venom 3.4.0 boot.img files please..
[HTC One X] bartdeli:
You don't need to repack
[HTC One X] Thant:
I whont OFFICIALLY APOLOGIZE to XMister for the concern with nthe problem with the ALARM.

The problem with the ALARM is NOT Kernel related. I don't have a time to test in the past week but I tested this problem this weekend. I instaled new ARHD18.4 and used ROM Cleaner 3.3 and Lyapota mod pack 4.3 and the problem exist. If it is not ROM problem because I have clean ARHD18.4 is problem with the ROM Cleaner or Lyapota mod Pack 4.3 I am not sure I will restore nandroid backup leater with ARHD18.4 and cleaned with ROM Cleaner 3.3 and I will see if I have the problem with the Alarm again. If I have the problem I will install clean ARHD 18.4 withowt clean with ROM Cleaner.
[HTC One X] drivenby:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

I've never missed an alarm, try alarm droid app
[HTC One X] Thant:
No it is not a big problem. I just whont to find where is the problem with the alarm why she stop to work after long deep sleep. I whont to find in my case what causes the problem.
[HTC One X] Vcek:
Thanks Xmister for great additions, updates and fixes.

Everything working fine for me :D

I also suggest to make a flashable zip to configure all features in 1 go
[HTC One X] loko34:
How..?

Will it be enough to just install the zip file.?
[HTC One X] dusk1911:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

How do I enter the value to enable fast charge
[HTC One X] Vcek:
Maybe you are using very aggressive minimum memory settings.

---------- Post added at 11:56 AM ---------- Previous post was at 11:56 AM ----------

the boot.img is in the zip renamed as sense_boot.img
[HTC One X] r3v0Lut10n:
same question :P currently on #241 kernel (with it's repacked boot.img). so i don't have to repack the boot img ? than use it with which boot img ? viperx 3.4 basic boot img or what ? :D
[HTC One X] Thant:
no you must flash the boot.img too. Inside in the module arhive.
[HTC One X] r3v0Lut10n:
but earlier we needed repacked boot img because of the ramdisk tweaks in viperx roms ..
[HTC One X] Vcek:
Please note that fastcharge only works when charging from a pc/laptop.

-Either download "trickster mod" app and turn it on (you cant mount storage with fastcharge)

-OR download "android terminal emulator" and type the following code (execute with root permissions)

echo '1' > /sys/devices/platform/htc_battery/fast_charge

-OR connect to your pc(usb) and type the following code in cmd prompt

adb shell

echo '1' > /sys/devices/platform/htc_battery/fast_charge

---------- Post added at 12:03 PM ---------- Previous post was at 12:01 PM ----------

The boot.img included in the zip is the main "thing" if you dont flash it, then you didn't change the kernel.

The zip you install from the recovery contains the modules that will make the kernel work properly.
[HTC One X] r3v0Lut10n:
i used the online kernel repack site (http://nibble.cc/repack/) for this, but it's not working atm :\ and tried with one x repack tool (v 2.1) but it made "bad" boot img (same size az sense_boot.img in zip file, nothing changed in size as it should) so .. if any1 can make a repacked for #266 .. help me pls :) (attached the viperx 3.4 boot image)
[HTC One X] Vcek:
Flash the 266 kernel zip , ERASE CACHE/DALVIK from recovery

flash sense_boot.img directly in fastboot (no need to repack, all viper tweaks will still work they are from framework)

restart and see if it works
[HTC One X] r3v0Lut10n:
U're right :) As far as i c, no problems popped and tweaks working (without repacking - only with flashed attached sense_boot.img) :D
[HTC One X] rajitsingh:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

You don't need to repack. I'm using #262 on 3.4.0 without repack and no issues.
[HTC One X] dyepnoodle:
Can i use the latest ver on Renovate rom without repacking?
[HTC One X] Vcek:
If it works without a repack its better than if it works with a repack. I would suggest trying it out, you can always revert with a nandroid backup(dont forget to flash old kernel)
[HTC One X] iba21:
ok wait 1 hour :D
[HTC One X] MacSeoin:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

There's a script for all options here

Sent from my variant 1 H3G One X, Renovated with XM power!
[HTC One X] Sebby:
flashed 266

i dont known what you did ,but i have better signal with this version

normaly i have 3 bars with g at home

and now full bars

big thanks:good:
[HTC One X] Sultan.Alkhuzaie:
is repacking needed for viperX 3.4.0
[HTC One X] BWA80:
OMG, take those sunglasses off and look 6 post's up...

or on every page back, almost all of them have the same question.

OR in 1st post.

:D
[HTC One X] DANOFDANGER:
rebased 188v2 vs original 188v2, whats peoples thoughts. Are there performance differences or is it purely features and stability ??????.
[HTC One X] vaykossil:
thank you xm,266 is great for me

just sometimes s2w doesn't work and I have to use power button to wake the phone up,this happened just 2 or 3 times,not always
[HTC One X] Xenova:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

Hi.

90% of my phone kernel wakelock is due to "baseband_ xmm_power". Any idea what could have cause this? I had try my best effort to search around before I post it here. Thanks a lot
[HTC One X] DeeZZ_NuuZZ:
do you have bad mobile network signal? if yes it's due to it

---------- Post added at 12:05 PM ---------- Previous post was at 12:03 PM ----------

anyone tried 188v2 and 262? if yes are there any differences or are they nearly the same? i mean battery life and performance etc...i'm using 262 and want to know if 188v2 is better for battery
[HTC One X] hoekzemaar:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

I have the same problem. Wasn't happening on sense and seems to be draining my battery. The other one that's doing my head in is wl1271_wake.

Verstuurd van mijn HTC One X met Tapatalk
[HTC One X] Xenova:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

No. My signal bar is always 4 to 5 bars. No matter I stay on GSM only or autoCDMA, the kernel wakelock still happen. Only on Wi-Fi, never turn on mobile internet since boot.

But my battery life still good due to this awesome kernel. Just wish to know what is the reason behind the wakelock. Seem like is a rare case since not many other users report this issue.
[HTC One X] fantomster:
LoL :laugh::laugh::laugh:
[HTC One X] iba21:
need some beta tester for zip aroma package MODs flash

pm me if you knows how to read the script in /system/etc/init.d

need GOOD beta testers, not childish witch wants everytime to try a new features.. why? i rewrite the most part of my code, so, have to understand if it's all good :highfive:

thankyou
[HTC One X] Vcek:
i will test, pm or contact :D
[HTC One X] LittleH79:
For baseband_xmm_power check your APN.

A lot of "issues" comes from a proxy configured.

Had the same thing but then I readded my APN settings without a proxy defined in it that wakelock got resolved.

For wl1271_wake. That's a wifi wakelock. That starts to happen when screen is off, Wifi on and things start syncing.

Perfectly normal when not too high offcourse.

Otherwise check your router settings for optimum results (if possible, because a lot of routers do not let you change settings).

Look for DTIM and beacon interval + igmp snooping settings.

If you can, try a different router (brand) a see if that behaves better.

Android is known for that.
[HTC One X] medar:
Backlight button brightness

Hi, how can I make Backlight button brightness stick after restart, I mean if I change /sys/class/leds/button-backlight/button_brightness value for ex. to 50 after hox restart those values goes to 140
[HTC One X] r3v0Lut10n:
is there any way to disable blinking buttons on notification? when i get a notif. (blinking led on top) also my buttons begin to blink .. any way to turn this off ?
[HTC One X] GuyAdams:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

See the first post for the commands required to tune both of these items.

I would suggest an init.d script make the setting each time the device boots, however you can run the command via terminal or simple edit the file manually.
[HTC One X] r3v0Lut10n:
U mean write this ?

"Auto-BLN Control:

Interface:

/sys/class/leds/button-backlight/auto_bln

Values:

0: BLN OFF/Green led ON

1: BLN ON/Green led ON

2: BLN ON/Green led OFF

Example:

Turn off Auto-BLN:

Code:

echo '0' > /sys/class/leds/button-backlight/auto_bln"

into a terminal with su login or what ? o0 and will it stick on reboot ?

> edit : seemed to work

how make it stick after reboot ? how to make/write init.d script ?
[HTC One X] BrollyG4:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

Mine too. Dont know why, i have good reception everywhere. And i think this keeps my phone awake a lot. Nevertheless decent batt life
[HTC One X] salomaoa:
The main reason I'm usin XM kernel is to improve my HOX battery life. As so, isn't Auto-BLN a battery drainer? How much of my power does the BLN consume? Is it significant or I won't notice any difference?

Thank you for your advice

Salomao
[HTC One X] Zulake:
It would seem I can no langer mount the phone to the PC as diskdrive. Not through MTP and not through UMS.

Both don't show up at all, as if it's only charging.

Afaik I haven't touched any setting regarding that.
[HTC One X] Tigerlight:
The LED's are very low power.

I believe XMister said several pages back it consumes little more than the default green LED and this implementation doesn't use wakelock?
[HTC One X] DeeZZ_NuuZZ:
AW: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

Try to install HTC sync manager again ...might be that you need to update the program ....

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] Zulake:
I never had that program on my pc, always worked like a charm. Why would I suddenly need it now? :p
[HTC One X] biojo:
could some one please tell me which is the best version to use with the problem that my rom (ARHD19.2) is version 3.18 and my Wi-Fi signal at work keeps dropping out.

I have tried v226 and v266. but both seem to do same, any help would be appreciated

Thanks in advance
[HTC One X] Vcek:
I have the same problem regularly, rebooting the pc fixes it

Edit:Try accessing the sys partition through any app (like trickster mod or venom tweaks), then it works

or its just a pure coincidence and it takes around 1 min to mount
[HTC One X] Tigerlight:
@XMister

On #266, if you enable Auto-BLN AND alter button backlight brightness, the backlight gets stuck on just like in #252.

Auto-BLN on it's own functions perfectly.

EDIT: Nope, take it back...Auto-BLN sticks my backlight buttons on again a la #252.
[HTC One X] r3v0Lut10n:
well, that's one thing (power consumption) but it bothers me :P so can any1 tell me how to disable it permanently ? (sticking after reboot)
[HTC One X] Zulake:
The device shows up in device manager without any problems.

But after ~20 seconds it changes into 2 exclamation marks with the following messages:

HTC One X (MTP): Unable to initialize driver; The device cannot start.

Unknown USB Device on port #13: The device was not recognized.

Unknown USB Device on port #13: The device cannot start due to an unknown error.

And after the exclamation marks show up the whole pc suddenly starts to freeze, hang, stutter, lock up, block access to all drives, programs going weird like it's out of style and much more.

Everything suddenly stops right after I pull the plug on the phone though.

Rebooted PC, rebooted phone.

//Just noticed a buttload of warnings in the logfiles, they mostly are from the kernel and complain about the system being unable to load the driver \Driver\WUDFRd for device USB\VID_0BB4&PID_0DFB&MI_00\6&2ddb0f2d&0&0000.
[HTC One X] Sebby:
i thought it was just me , or i did something wrong that the usb is not working when i plug it in

266 version

no repack
[HTC One X] DeeZZ_NuuZZ:
for me are working only first and last core O.o ....but if it helps with battery life then it's good :D

---------- Post added at 10:47 PM ---------- Previous post was at 10:44 PM ----------

oh in games all cores are working....:D :D
[HTC One X] rkuijpers:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

You're welcome :)

But it's really iba21 you should thank though :D

That dude sure knows how to write a good script!
[HTC One X] Goku80:
so why the freaking hell i could not change cores?
[HTC One X] rkuijpers:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

Sorry dude, I'm on another kernel at the moment, and no computer nearby :o

I do have trickster mod installed though.

Was happy to see someone else answered your question :thumbup:

At least you'll be sure to have great battery life running on only 1 core :p
[HTC One X] jarein95:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

Ok, but dont hit me!! xD
[HTC One X] Goku80:
lol thats true.. man since all these kernels came out i started tweaking with governor controls...:D

i promise i will just spank you gently:D kidding:p
[HTC One X] Xmister:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

Probably it's not perfectly compatible with mpdecision, but somehow the already set limit is there. Right now I can only say to flash the previous kernel, set it to all cores, and flash this kernel back.
[HTC One X] Goku80:
ok thank you
[HTC One X] brunoavrocha:
how about performance versus battery life with this baby?
[HTC One X] drivenby:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

I'm not gettin the disable core option in trickster but all cores are definitely running Fine .

Everything smooth so far
[HTC One X] Xmister:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

If you follow the suggestions(ondemand for normal usage, interactive for gaming/performance) you won't have problems with either. :)
[HTC One X] DeeZZ_NuuZZ:
AW: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

You can also change cores with corecontrol for the hox :p but otherwise good kernel...will look tomorrow how much battery I have after 2-3 hours of listening to music with renovate and zeros soundmod and some minutes with facebook and whatsapp :p

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] drivenby:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

One question though xmister, what rom are you testing your kernel on? Liquid was it?

You know, just to get maximum compatibility. Will you moving on to carbon now?
[HTC One X] Xmister:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

I will wait a bit, as I see there are some problems with it.

But sooner or later I will eventually switch.

Maybe to carbon, maybe not. What I will see the best.

But there isn't anything specially made for the ROM I'm using, except that I'm testing on that of course. :)
[HTC One X] iba21:
R: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

???
[HTC One X] rkuijpers:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

Someone thanked me for directing him to your fastcharge script :D

Also I think your JB config script is very good :thumbup:
[HTC One X] essi_baba:
i made one cript for it and you can use it.

extract this zip file (attached) ,then :

with root explorer copy this file (01-Fast Charge) in this address :

etc/init.d/

then set permission like other file into this folder .

now reboot

push thanks :good::D
[HTC One X] iba21:
oooh, it's ok... that's what i sad you to do :p

---------- Post added at 01:18 AM ---------- Previous post was at 01:15 AM ----------

ehehe, good job, but with this

https://www.dropbox.com/s/f066s4mtu0co2gl/Iba21 FastCharge.zip

you don't have to use root explorer, not to copy in syste/etc/ini.t and sure not add permission, it automatically via recovery flash :p

i don't want to publicize my mods but, it's faster via recovery flash :p
[HTC One X] rkuijpers:
Re: [KERNEL][#88][15/02/13][3.1.10][AOSP & SENSE][HardCap][S2W][GPU@520][UV]XM-Kernel

Haha, iba21 already invented that script dude :p
[HTC One X] iba21:
invented? :silly:

it's a common juncntion of a sysfs value.. the only difference is with mine you can flash it via recovery
[HTC One X] Zulake:
I flashed the no-repack too.

Just repacked and I'm now trying to see what it does.

//GREAT. I don't have any signals anymore after repacking it.

Yes, I erased the cache. And yes, I flashed the modules. Twice.

//But hey, at least I have USB access again.
[HTC One X] gf7800:
XM 188v2 on ViperX 3.4.0

trying to enable "BLN" feature like explained in OP but there is no file named "auto_bln"

in specified directory ( /sys/class/leds/button-backlight ) .
[HTC One X] levanoza:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

Are you sure you repacked correctly? Your kernel version looks like a stock one not a XM

For me version typed
[HTC One X] Zulake:
Not really, the official repack site is down so I used another one.

Oh well. I'll stick with 188v2 for now.

On 188v2 USB works fine with both MTP and UMS.
[HTC One X] Shan89:
Hey Xmister heres the 188v2 review with PMC interactive setup

Usage:

LOTS of talking , over 4 hrs , xda app browsing for over 1hr , facebook chating etc for over 1 hr , browser around 20 mins , youtube for another 20mins or so and watching some clips via MX player over internet as well and lastly brightness 35% and for around 30 mins 50%. Overall i'd say HEAVY usage and still 9% left , i guess that'd give me another 45mins screen time or so.

Thx for the 188v2 it's great, now is time to test 266# :P

This is ONLY for those who use 188v2 i don't know how it is on 266# and above , i'll test it bit later and update!

@Guys who want to use PMC setup on 188v2 use TRICKSTER MOD APP for tunning:

ok so since 188v2 doesn't have PMC governor use SMARTMAX for tunning it.

INTERACTIVE SETUP:

​

Boost_freq 640

ideal_freq: 475

Max_Cpu_load: 75

Min_cpu_load: 40

Sampling_rate: 40000

Touch_poke_freq: 640

Cpu freqs:

Min CPu freq : 51

[*]Max Cpu freq: 1000

[*]Scheduler: RoW

Multicore power saving : 2

GPU max frequency : 416

Undervolting: At your choice and how much your variant can support:

Suggested SAFE values for all 3 variants NO GAMING for gaming use +25 more then my values under, example : if variant 1 is -100 NON GAMING , for gaming use -75.

This goes for both INTERACTIVE and BATTERY PMC setups.​

variant 0 : -75

[*]variant 1/2: - 100 ( use -75 if you experience reboot )

[*]variant 3: - 150 / -175 in my case.

PMC BATTERY SETUP:

​

Boost_freq 640

ideal_freq: 340

Max_Cpu_load: 95

Min_cpu_load: 50

Sampling_rate: 50000

Touch_poke_freq: 640

Cpu freqs:

Min CPu freq : 51

[*]Max Cpu freq: 1000

[*]Scheduler: SiO

Multicore power saving : 2

GPU max frequency : 416

Undervolting SAME AS on interactive ( look above )

NOTE:

Once again THIS IS ONLY FOR THOSE ON 188v2 ! I can't guarantee it'll work on other version ! , Tho if it uses same FREQ table IT SHOULD WORK , test it is all i can say.
[HTC One X] crescal:
how do i know if UV is effective or not? I made a -150 UV init.d script but it booted fine.... normally i would expect this to freeze my phone...
[HTC One X] iba21:
i'll send you a zip witch you could set it via aroma flash (you have to flash this as a rom)

gives mee feedback about it after the flash.. ok?

pm
[HTC One X] levanoza:
Re: [KERNEL][#266|188v2][16/03/13][3.18][AOSP & SENSE][S2W][GAMING][BATTERY][UV]XM-Ke

I have one question:

When I changing that, it's works but after restart going back to default values 140, how to stick to 50?
[HTC One X] 97_3:
Here's an init.d to completely disable the lights, not just BLN:

http://xdaforums.com/showthread.php?t=1657619
[HTC One X] SgtIcetea:
Hey Xmister,

I still have the problem that I don't get notifications in deep sleep, is this caused by kernel or rom? Have those problems since #25x.

Hope you can help me. I'm on newest Viper with #262 atm
[HTC One X] gf7800:
flashed it , chose to enable Auto-BLN in aroma , restart... still no auto_bln
[HTC One X] Byrana:
Sorry about the faulty last script. I had a long weekend with lots of seminars and workshops, I simply didn't see it. Here is the new script. I uncommented all lines by default. That will cause the least trouble if I screw up again.

- Flash zip in recovery

- reboot

- use root explorer or es file manager and go into /system/etc/init.d

- open 80all_tweaks

- delete the # sign before echo of your preferred option you want to activate

- edit your prefered values

- with your next reboot settings will be automatically applied and stick through reboots

- yes it is that simple :D

#to cause no troubles I decided to uncomment all lines
#if you want to activate a certain feature delete the # before echo

#3D GPU UC
#echo '416 416 416 416 416 416 247 247' > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
#default values '520 520 520 520 492 484 380 247'

#2D GPU UC
#echo '416 416 416 416 416 416 247 247' > /sys/devices/system/cpu/cpu0/cpufreq/two_d_oc
#default values '520 520 520 520 492 484 380 247'

#3buttons s2w
#delete line below if you want two buttons
#echo '800' > /sys/android_touch/s2w_min_distance

#EMC Tuning
#echo '667 667 667 667 408 408 408 408' > /sys/devices/system/cpu/cpu0/cpufreq/emc_oc
#default values '667 667 667 667 408 408 408 408'

#GPU Voltage
#0 OFF default
#1 ON
#echo '1' > /sys/devices/system/cpu/cpu0/cpufreq/gpu_voltage

#BLN Backlight
#0 BLN OFF/Green led ON
#1 BLN ON/Green led ON default
#2 BLN ON/Green led OFF
#echo '1' > /sys/class/leds/button-backlight/auto_bln

#Backlight button brightness
#0-255 0 is off, 255 is maximum
#echo '50' > /sys/class/leds/button-backlight/button_brightness

Edit: I changed the script in hope to make it all a bit clearer now. Also instructions in post a bit better.