[Q] preparations for a script - Sony Ericsson XPERIA X10 Mini

hello ppl with lil bro-phone
i'm just curious if there is a hw led near speaker and/or between main buttons.
if yes, are they lighting when the phone is on charger? could it be annoying and/or bug you while browsing at night?
I've got a script for X10 to swith them off and I want to share it with you, too
my request is - if the answers of Qs above are yes - to enter these into a terminal emulator or adb as su and post results here, thanks
Code:
find /sys | grep brightness
busybox ls -alh / | grep sbin

find /sys | grep brightness
Code:
/sys/devices/platform/msm_pmic_misc_led.0/brightness [B]<-- keyboard light[/B]
/sys/devices/platform/msm_pmic_misc_led.0/maxx::brightness [B]<-- keyboard light max[/B]
/sys/devices/platform/msm_fb/leds/lcd-backlight/brightness [B]<-- lcd[/B]
busybox ls -alh / | grep sbin
Code:
drwxr-x--- 2 root root 0 april 14 01:13 sbin
btw we got only led near the speaker not betweet the hw buttons

@owain94
thanks for the answer
and can it ruin the experience of surfing the interwebz at night?

Adolf1994 said:
@owain94
thanks for the answer
and can it ruin the experience of surfing the interwebz at night?
Click to expand...
Click to collapse
It don't think it is annoying
But maby some people can experience it as annoying
So i would say make the script it will make some people happy
Sent from my U20i using XDA Premium App

Related

[MOD] SS4N1 - ScreenState for Nexus One (2011-05-25)

I've tried a lot of performance-boosting and battery-saving mods, but none of them worked well together. It was a case of exclusive-OR, i.e. either set only for performance-boost OR only for battery-saving.
So I adapted 2 existing scripts (screenstate_scaling and battery tweak) and came up with SS4N1, which combines the best of both worlds ... performance-boost whenever I use my N1, and battery-saving whenever my N1 is idle.
SS4N1 : ScreenState for Nexus One
auto-switch the following settings based on screen-state (AWAKE/SLEEPING)
virtual memory
cpufreq governor
cpu scheduler
undervoltage
performance tweaks on startup
dialer optimization
remount partitions with noatime
storage/IO tuning
UI/homescreen optimization
network performance tuning
ability to enable/disable any or all of the above features
adapted from screenstate_scaling ([email protected]) & battery tweak ([email protected])
ROMs
Only tested for CM7 & MIUI, but should work with other AOSP ROMs that provide init.local.rc capability.
How to check ROM:
- Open adb shell or terminal session
- Type cat /init.rc | grep init.local.rc
- If no result, then your ROM is unsuitable for SS4N1
- If result is import /system/etc/init.local.rc or similar, then ROM is suitable
Click to expand...
Click to collapse
Kernels
SS4N1 has been available for a while now on IntersectRaven's kernel thread. Thanks again to IntersectRaven for letting me bum off his thread until now . Should also work with other N1 kernels by Redstar, Pershoot, Wildmonks and Cayniarb (Tiamat).
I'm using SS4N1 now with bbedward's Savaged-Zen kernel for Evo, as I compiled this awesome kernel for N1 with -0fast optimization using an experimental GCC 4.7.0 toolchain. Check below for download link.
Excerpt on overclocking from wildmonk ...
"Most users should be able to handle 1152MHz without any problems but some won't on 1190MHz. You'll know when your CPU can't handle a certain speed if you start to experience a sudden decrease in performance, lag, force closes, and spontaneous reboots."
Click to expand...
Click to collapse
How to enable SS4N1
Via adb shell or terminal session
SS4N1 is initially DISABLED by default. You must start an ADB shell or Terminal session then run the configuration script: sscfg
> Choose [1] Enable SS4N1
> Follow on-screen instructions to customize (refer to screenshots below)
> Exit with [6] *** Apply changes and exit ***
> Check logcat for SS4N1 entries
Via CKZTools SS4N1 GUI by zyr3x
CKZTools : ScreenState Gui for Nexus One
Click to expand...
Click to collapse
DOWNLOADS from my mediafire site
[MOD/SCRIPT] SS4N1
[KERNEL] Savaged-Zen for N1 (2.6.38.8, 128-1190, BFS/CFS, SWAP, NOOP, HAVS, AXI, HW3D)
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research if
* you have any concerns about features included in these ROMs, mods & kernels
* before flashing! YOU are choosing to make these modifications, and if you
* point the finger at me for messing up your device, I will laugh at you.
*/
Changelog for SS4N1
# ===============
# SS4N1 changelog
# ===============
# Initial
# + port script from Spica to N1
#
# 20110329
# + added SD Card Speed Fix in TWEAK_STORAGE section
#
# 20110403
# + changed deprecated oom_adj to oom_score_adj for MAX_PHONE function and sscfg
#
# 20110403A
# + added auto-check of kernel version for oom-killer parameter for MAX_PHONE function and sscfg
# + updated check for cpufreq up_threshold for Auto Switch function
#
# 20110404
# + changed from init.d script to init.local.rc service to fix "hung-on-X" when not running dt-a2sd
#
# 20110505
# + modified to apply UV for Hybrid-AVS (Tiamat, SavagedZen, new-IR) and Customizable-AVS (old-IR)
#
# 20110519
# + added option for new interactiveX governor
# + removed tweaks for TCP/IP redirects
#
# 20110525
# + disabled dewonkifier feature in all preset profiles (thx 2 jyxent!)
# + tuned preset profiles to more conservative undervolt values
# + added option to display HAVS Min & Max VDD levels (CPU voltage table)
# + added option to display misc information (CPU info, kernel version, etc)
Yes finally! Thank you for bringing your expertise here! The all-in-one script perfect for everything! I've been a fan of this script for a long time now!
sir*mez said:
Yes finally! Thank you for bringing your expertise here!
Click to expand...
Click to collapse
You're most welcome! Not sure if I have the time to update this thread regularly, but I'll try my best as always.
Does it work with MIUI Roms?
aakaashjois said:
Does it work with MIUI Roms?
Click to expand...
Click to collapse
The last time I tried a few months back, yes it did.
ch33kybutt said:
The last time I tried a few months back, yes it did.
Click to expand...
Click to collapse
Thanks! It works, and quite well too!
aakaashjois said:
Thanks! It works, and quite well too!
Click to expand...
Click to collapse
Thanks for letting me know. I've updated OP and added MIUI in ROMs section.
What gains have you seen with this mod?
hotweiss said:
What gains have you seen with this mod?
Click to expand...
Click to collapse
That's the thing about this mod, it's ultimately up to the user to decide what type of profile they want. I put no stock in so-called benchmarks but UI is smooth and lag-free (especially with BFS kernel) whenever I use it and I get less than 1% battery decrease per hour overnight when phone is idle (from 100% to 96% in 7 hours).
Thanks ch33kybutt, it was about time you started your own thread for this great script! I've been using it since it's first incarnation, on MIUI alone with great success. Battery life is better, phone runs very smooth and the best thing is that you can set a different CPU governor for AWAKE/SLEEP modes plus all those tweaks.
I'd like more control over the audio volume, I feel as it's not loud enough; is it possible to add a tweakable audio boost function? Something that would make the ringtones ring louder?
Audioboost is built into the kernel upon compiling. But I think there's a volume hack app floating around the dev section that you can use.
ch33kybutt said:
Audioboost is built into the kernel upon compiling. But I think there's a volume hack app floating around the dev section that you can use.
Click to expand...
Click to collapse
Thanks for answering! I know about the app, I was wondering if that tweak can also be implemented in ss4n1.
Installation instructions?
Sent from my Nexus One using XDA App
PnkPwrRngr said:
Installation instructions?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
- Download latest zip
- Save to sdcard
- Boot phone to recovery and install zip
- Check OP for "How to enable SS4N1"
Hmmm....I think I may have to look into this one!
Seems interesting. Don't know how I missed this being posted 3 days ago.
ch33ky, are the settings in picture 8 your optimal settings?
I'm not 100% confident in making my own settings yet and I'd like to use that as a guide.
I actually set mine to whatever your first picture shows but before saving I realized picture 8 had different settings and since I flashed your kernel as well I figured I'd try out your settings..
uoY_redruM said:
ch33ky, are the settings in picture 8 your optimal settings?
I'm not 100% confident in making my own settings yet and I'd like to use that as a guide.
I actually set mine to whatever your first picture shows but before saving I realized picture 8 had different settings and since I flashed your kernel as well I figured I'd try out your settings..
Click to expand...
Click to collapse
I'm actually using the settings in pic 2 right now.
ch33kybutt said:
I'm actually using the settings in pic 2 right now.
Click to expand...
Click to collapse
How are they working for you? Picture8 settings are causing a pretty bad delay when loading multiple web pages at once and when typing it is falling WAY behind me. I have to stop every few seconds and let it catch up.
uoY_redruM said:
How are they working for you? Picture8 settings are causing a pretty bad delay when loading multiple web pages at once and when typing it is falling WAY behind me. I have to stop every few seconds and let it catch up.
Click to expand...
Click to collapse
That's probably because you're using SavagedZen governor in awake-mode. SavagedZen cpu governor is more attuned to battery-savings than performance-boost. Try switching to interactive governor instead.

Fixed SystemUI.apk for mik's CM7

Hi,
Here's a SystemUI.apk which seems to fix the high cpu problem when charging on P500 CM7. Note: I only edited the graphical icon not the battery percentage.
How to install: remove SystemUI.apk and SystemUI.odex in /system/app/, push the new SystemUI.apk to /system/app/
Possible cause of the problem:
On receiving battery change intent, cmbatteryminiicon creates a handler which causes redraw on scheduled time, the problem is, it should only create the handler once, since the handler schedules itself for execution next time. Therefore, we got increased amount of handlers triggering redraw over time which causes the increased cpu usage over charging time.
Also attached is the edited CmBatteryMiniIcon.java
Note: a simple way to check your cpu load when charging is to install an app that shows your CPU load in the statusbar, e.g. SeePU. Charge your phone for 30 minutes and then check your CPU load. If your ROM has the bug, SeePU will continuously shows your CPU load as a 100% (full red color).
Note: requires mik_os' CM7 beta 6.5.1, wipe dalvik cache in recovery.
Note: added a new flashable zip: systemui-faster-animation for those who feel the new animation is too jumpy (aka slow) to test
28/05/2011 Anyone with empty battery could please test this new zip . I have change the animation timer based on current battery level but since my battery is still full I cannot see the animation from the beginning.
It should be made flashable.
Testing it now.
Nice work. Now go get you self 10 posts and post it in mik_os thread.
Sent from my LG-P500 using XDA Premium App with missing Thanks Button.
Please create flashable zip, there is another file CmBatteryMiniIcon.Java, do we need to push that files also.
Thanks.
It's quite simple without flashable zip:
1. reboot into recovery
2. connect phone to computer
3. adb shell
# cd /system/app
# rm SystemUI.*
# exit
4. adb push SystemUI.apk /system/app/
5. reboot phone
You only need to put the apk, the java file is only required if you want to compile android.
Yes, we need a flashable zip, plz create one soon, thanks!
Ok I already installed it but with root explorer but I don't recomend root explorer method.(Only for those who knows what they are doing)
Sent from my LG-P500 using XDA Premium App
eagledipesh said:
Please create flashable zip, there is another file CmBatteryMiniIcon.Java, do we need to push that files also.
Thanks.
Click to expand...
Click to collapse
No u don't its source code. For developers.
Sent from my LG-P500 using XDA Premium App
4silvertooth said:
No u don't its source code. For developers.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Ok thank you both
How do we know that currently we are having high CPU usage while charging?
Sent from my LG-P500 using Tapatalk
lekhwani said:
How do we know that currently we are having high CPU usage while charging?
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
Use Watchdog Lite.
Go to CPU usage in the app and you can see status bar using more than 30% CPU while charging. Sometimes it takes more than 50% as well.
Will try it now. Btw I am charging now and opened setcpu. It is showing frequencies between 320 and 600 and I am not doing anything. Does this behavior also confirm this? I am on 245/729 ondemand.
Sent from my LG-P500 using Tapatalk
Seems to have solved the high cpu. The charging animation isn't smooth anymore though, and flashes between animation frames.
A small price to pay to have the status bar use less than 1% of the cpu instead of all of it.
Thanks for this fix!
The high cpu usage doesn't start immediately but after some time of charging you can also use mini info app to check CPU usage. Setcpu just shows the clock speed and not CPU usage.
Sent from my LG-P500 using XDA Premium App
lekhwani said:
Will try it now. Btw I am charging now and opened setcpu. It is showing frequencies between 320 and 600 and I am not doing anything. Does this behavior also confirm this? I am on 245/729 ondemand.
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
Probably yes.i.would use android assistant though it gives a exact graph and it's easy to see what the usage is sometimes when I plug mine in it it will ride on 90% milk of aware of the bug have you told him about the fix will he be putting it in his next beta version???? if so I'll probably wait for the official fix
LG-P500 using XDA Premium App running CM7, ungaze data2sd, over clocked at 787 quadrant score 2100
nogav said:
Seems to have solved the high cpu. The charging animation isn't smooth anymore though, and flashes between animation frames.
Click to expand...
Click to collapse
In the original code, the charging animation frame is updated every 1 second, so I don't think it's supposed to be smooth.
Flashed the zip
Before flash:
After flash:
In short CPU usage reduced to 1% from 35-60%.
This is kind of a genius work.
But after rebooting my 3g is working but not showing the h sign.
Scrolling lag while charge also seems to be gone.
Will check further.
Sent from my LG-P500 using Tapatalk
lekhwani said:
How do we know that currently we are having high CPU usage while charging?
Click to expand...
Click to collapse
If you are running adb you could:
adb shell
vmstat
{ctrl-c to exit}
The id column is the one that shows idle percentage.
# vmstat
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
0 0 210600 51504 112456 9272 100 228 0 1 0 2 97 0 0
0 0 210600 51504 112456 9272 138 217 0 0 0 1 99 0 0
0 0 210600 51504 112456 9272 110 214 0 3 0 2 96 0 0
0 0 210600 51504 112456 9272 136 208 0 0 0 2 98 0 0
^C
In this example my OptT shows 1-4% CPU use (ie, 96-99% idle). So the charging cpu bug was not in effect during this demonstration.
I've de-emphasised the first line because traditionally the first line of vmstat output shows since-boot average or something, and the subsequent lines are snapshots. Dunno if it's that way in this shell (busybox?) or not but thought I'd mention it.
so maybe i was not supposed to do this but i just flashed the zip (didnt do the other steps) and now my notification bar is gone???? but it did fix the charging bug ... how can i fix??????? i saw the posted steps but then i saw the sighed zip and figured you can just use that
dislplin01 said:
so maybe i was not supposed to do this but i just flashed the zip (didnt do the other steps) and now my notification bar is gone???? but it did fix the charging bug ... how can i fix
Click to expand...
Click to collapse
I didn't test the flashable zip, so I don't know if it works or not. If your statusbar is gone then android cannot run your com.android.systemui process. You can either flash your ROM again or use adb to replace the systemui.apk
Here's my updater-script:
Code:
mount("yaffs2", "MTD", "system", "/system");
delete("/system/app/SystemUI.odex");
package_extract_dir("system", "/system");
unmount("/system");
Hmm, is this apk tied to a special version of mik's CM7 build? I use Beta 6.5. Installed with adb shell (removed SystemUI.apk and SystemUI.odex and then copied new SystemUI.apk to /system/app). I get constantly get FCs.
Will try to wipe dalvik cache and reboot again...

Droid Eris OS MacRom MR8 SR1 auto rotation not working

I updated my Droid Eris to the OS MacRom MR8 SR1. The auto-rotate feature was working fine, but then stopped working. I am using supercharger, set CPU, LauncherPro, Green Glass Keyboard, Muiu Camera, and Cache2Cache. I'm not sure if it is a problem with the Rom or an Application. I've tried rebooting and turning the auto rotation on/off. When off it goes to portrait, when on landscape. Mad props to Macrodroid for the update. 3G is superfast! Allows you to customize your launcher! Any help would be appreciated. I would like to not have to wipe and re-flash the Rom if possible as I have taken a lot of time setting it up with the apps I like.
Scoobyzsnax said:
I updated my Droid Eris to the OS MacRom MR8 SR1. The auto-rotate feature was working fine, but then stopped working. I am using supercharger, set CPU, LauncherPro, Green Glass Keyboard, Muiu Camera, and Cache2Cache. I'm not sure if it is a problem with the Rom or an Application. I've tried rebooting and turning the auto rotation on/off. When off it goes to portrait, when on landscape. Mad props to Macrodroid for the update. 3G is superfast! Allows you to customize your launcher! Any help would be appreciated. I would like to not have to wipe and re-flash the Rom if possible as I have taken a lot of time setting it up with the apps I like.
Click to expand...
Click to collapse
Not sure about the auto rotate but my first suggestion would be to get rid of set CPU. Cm has the CPU and governor adjustments built in under performance in cm settings and that long with set CPU will cause conflicts.
Sent from my ADR6300 using XDA App
Scoobyzsnax said:
I updated my Droid Eris to the OS MacRom MR8 SR1. The auto-rotate feature was working fine, but then stopped working. I am using supercharger, set CPU, LauncherPro, Green Glass Keyboard, Muiu Camera, and Cache2Cache. I'm not sure if it is a problem with the Rom or an Application. I've tried rebooting and turning the auto rotation on/off. When off it goes to portrait, when on landscape. Mad props to Macrodroid for the update. 3G is superfast! Allows you to customize your launcher! Any help would be appreciated. I would like to not have to wipe and re-flash the Rom if possible as I have taken a lot of time setting it up with the apps I like.
Click to expand...
Click to collapse
Get rid of Set CPU (use the built in CM) and kill the supercharger settings (might need to just wipe the dalvik and reflash the Rom, Launcher and KB - Your settings and such will still be in-tact). MR8 has the memory settings tied in already, so supercharger is probably hanging it up. If you want to use supercharger, you can remove the hard-coded settings from the build.prop. Shoot me a PM if you need it done, I'll make up a flash-fix for you...
If it still doesn't work, send me a Pm and let me know... I tried it on my phone and SuperCharger does cause some issues when I applied it...
wow how much ram do you have?
ro.FOREGROUND_APP_MEM=40960 = 160 mb
ro.VISIBLE_APP_MEM=40960 = 160 mb
ro.SECONDARY_SERVER_MEM=40960 = 160 mb
ro.BACKUP_APP_MEM=20480 = 80 mb
ro.HOME_APP_MEM=61440 = 240 mb
ro.HIDDEN_APP_MEM=16384 = 64 mb
ro.CONTENT_PROVIDER_MEM=61440 = 240 mb
ro.EMPTY_APP_MEM=81920 = 320 mb
Why would you want foreground apps killed with 160mb free ram?
However, I think you just have extra 0s in error
edit: To clean build.prop, you can type this command in terminal:
su
sed -i '/.*_MEM/d' /system/build.prop
Macrodroid said:
Get rid of Set CPU (use the built in CM) and kill the supercharger settings (might need to just wipe the dalvik and reflash the Rom, Launcher and KB - Your settings and such will still be in-tact). MR8 has the memory settings tied in already, so supercharger is probably hanging it up. If you want to use supercharger, you can remove the hard-coded settings from the build.prop. Shoot me a PM if you need it done, I'll make up a flash-fix for you...
If it still doesn't work, send me a Pm and let me know... I tried it on my phone and SuperCharger does cause some issues when I applied it...
Click to expand...
Click to collapse
I followed your suggestions on CPU and Supercharger and everything is running super smooth. Thanks a million!
Curious about next step?
zeppelinrox said:
wow how much ram do you have?
ro.FOREGROUND_APP_MEM=40960 = 160 mb
ro.VISIBLE_APP_MEM=40960 = 160 mb
ro.SECONDARY_SERVER_MEM=40960 = 160 mb
ro.BACKUP_APP_MEM=20480 = 80 mb
ro.HOME_APP_MEM=61440 = 240 mb
ro.HIDDEN_APP_MEM=16384 = 64 mb
ro.CONTENT_PROVIDER_MEM=61440 = 240 mb
ro.EMPTY_APP_MEM=81920 = 320 mb
Why would you want foreground apps killed with 160mb free ram?
However, I think you just have extra 0s in error
edit: To clean build.prop, you can type this command in terminal:
su
sed -i '/.*_MEM/d' /system/build.prop
Click to expand...
Click to collapse
I typed this into the emulator and a list of options came up. Was I supposed to do anything else??
Doh... forgot about mounting system as r/w
su
mount -o remount,rw /system
sed -i '/.*_MEM/d' /system/build.prop
mount -o remount,ro /system
Sent from my Milestone using Tapatalk
zeppelinrox said:
Doh... forgot about mounting system as r/w
su
mount -o remount,rw /system
sed -i '/.*_MEM/d' /system/build.prop
mount -o remount,ro /system
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
I typed the above into my phone and nothing visibly happened. Was I supposed to see anything??
Thank you again for your help. About a month ago I asked my friend if he thought he could hit my droid eris with a shotgun blast. I was going to youtube it....I hated it....because of people like you, it has actually turned out to have been a good investment. I have been suffering with 2.1 for about 1 and 1/2 years before now.
Thanks
No error = good lol
But look in build.prop to see if you have any MEM entries.
After some serious downloading and reading....I now have android commander. I can now do some modding of my own I guess? Any how build.prop has no MEM entries. Was this the goal and should I install supercharger now?
yep... letter rip
For some reason the setting won't stick. I tried loading and running the supercharger99 as advised in the help file. I made sure all of the setting were correct. I even turned off the CPU settings at boot for CM7. Lock home in memory unchecked and Compcache was not used either. I really don't need it, but your thread on it is very compelling.

Question re: power_supply

When typing
Code:
cat /sys/class/power_supply/battery/capacity (or voltage, etc...)
via TE or shell, does it do a passive poll of the battery, or does it force the OS to poll the battery again for the value it supplies?
Edit: damnit, thought I clicked on Q and A....

[MOD] Five different mods to adjust the brightness of Capacitive button's backlight

Here I am presenting the five different brightness mod to adjust brightness of capacitive button's backlight. Requirements, Procedure and mods are given below.
Requirement-
1 Root explorer or any similar explorer
2 Sharp mind
Procedure-
1 Open the root explorer and go to system/etc. Here you will find a script named as" hw_config.sh ".
2 Open the script or file as the text in text editor with the help of root exploprer.
3 Now scroll down to the last line and after that line add one of the required brightness mod line which one you like into it as given below. (Don't add all lines of different mods. )
4 Now reboot and done.
Five Different brightness mods-
1 Very High Brightness mod-
echo 10000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
2 High Brightness mod-
echo 7000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
3 Medium Brightness mod-
echo 4000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
4 Low Brightness mod-
echo 1000 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
5 Zero Brightness mod-
echo 1 > $dev/button-backlight/max_current
Click to expand...
Click to collapse
Important note:- If any line similar to these lines already exists in script or file then first delete that line or replace it with one of mods.
Recomended and tested successfully with stock kernel, can't say about custom kernels.
Press thanks if you thinks this post is useful to you.
Great
Is this applicable to ray
Sent from my ST18i using xda app-developers app
dheeraj.nijghal said:
Is this applicable to ray
Sent from my ST18i using xda app-developers app
Click to expand...
Click to collapse
Yes, for sure.
i'm using cm10 on my sk17. and in there is a line in the file "echo 500 > $dev/button-backlight/max_current" by default. and the brightness is very high. Tried various times and found that the minimum value that can be given is 150 on cm10. If you want more light, just increase in small steps...
shivamcheat said:
i'm using cm10 on my sk17. and in there is a line in the file "echo 500 > $dev/button-backlight/max_current" by default. and the brightness is very high. Tried various times and found that the minimum value that can be given is 150 on cm10. If you want more light, just increase in small steps...
Click to expand...
Click to collapse
ok thanks.
why this is not f**king working for me ...?!?
ok, had this problem and dont know wheres here the problem
1. i hate bbl (=buttonbacklight) so i disable it with Mini-Ultrabrightness mod and all was fine!
but after changing kernel to kappa kernel (1.6) the bbl was very bright AND NO way to disable it...?!?
---> edited hw_config file like here = no changes
---> flashed Mini-Ultrabrightness second time = no changes
---> make a script with value echo 1 > $dev/button-backlight/max_current / and also tested values for 1 button etc.. = no changes
before it was no problem changing the bbl, but after usig kappa kernel the bright backlight persist, even after flash diffrent kernels
..... MY QUESTION IS: anbody knows whats happenning there?? or haw to diable bbl with a diffrent (safe ) method??
it would be really nice.
thanks. and SFBE (=sorry for bad english)
bejunk said:
ok, had this problem and dont know wheres here the problem
1. i hate bbl (=buttonbacklight) so i disable it with Mini-Ultrabrightness mod and all was fine!
but after changing kernel to kappa kernel (1.6) the bbl was very bright AND NO way to disable it...?!?
---> edited hw_config file like here = no changes
---> flashed Mini-Ultrabrightness second time = no changes
---> make a script with value echo 1 > $dev/button-backlight/max_current / and also tested values for 1 button etc.. = no changes
before it was no problem changing the bbl, but after usig kappa kernel the bright backlight persist, even after flash diffrent kernels
..... MY QUESTION IS: anbody knows whats happenning there?? or haw to diable bbl with a diffrent (safe ) method??
it would be really nice.
thanks. and SFBE (=sorry for bad english)
Click to expand...
Click to collapse
u need to create or edit pre_hw_config.sh
Nice tutorial...
Will try when I get time...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
hey guys
wont this only apply to back button????
Not working in mine Xperia mini pro with kappa kernel 1.6
Please help me...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
rockstardeepaksharma said:
Not working in mine Xperia mini pro with kappa kernel 1.6
Please help me...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
Click to expand...
Click to collapse
Strange because kappa 1.6 is the only custom kernel with which I have tested all these mod and they all work fine with this kernel[kappa 1.6 for simultron].
Mankotialovely said:
Strange because kappa 1.6 is the only custom kernel with which I have tested all these mod and they all work fine with this kernel[kappa 1.6 for simultron].
Click to expand...
Click to collapse
i was using zero brightness trick but it doesnt helped me :'(
rockstardeepaksharma said:
i was using zero brightness trick but it doesnt helped me :'(
Click to expand...
Click to collapse
Under LMU AS3676 Configuration add these lines-
echo 1 > $dev/button-backlight/max_current
echo 0 > $dev/button-backlight/max_brightness
echo 1 > $dev/button-backlight-rgb1/max_current
echo 1 > $dev/button-backlight-rgb2/max_current
Now reboot 2-3 times and between every reboot provide some time also delete any previous lines which are similar to these or simply replace there value with these one.
Interesting thread...
Is there any way guys for the capacitive buttons to have backlight ONLY when we press them, not only every time the screen is on?
Alternative: can we change their backlight timeout?
thx
Mankotialovely said:
Here I am presenting the five different brightness mod to adjust brightness of capacitive button's backlight. Requirements, Procedure and mods are given below.
Requirement-
1 Root explorer or any similar explorer
2 Sharp mind
Procedure-
1 Open the root explorer and go to system/etc. Here you will find a script named as" hw_config.sh ".
2 Open the script or file as the text in text editor with the help of root exploprer.
3 Now scroll down to the last line and after that line add one of the required brightness mod line which one you like into it as given below. (Don't add all lines of different mods. )
4 Now reboot and done.
Five Different brightness mods-
1 Very High Brightness mod-
2 High Brightness mod-
3 Medium Brightness mod-
4 Low Brightness mod-
5 Zero Brightness mod-
Important note:- If any line similar to these lines already exists in script or file then first delete that line or replace it with one of mods.
Recomended and tested successfully with stock kernel, can't say about custom kernels.
Press thanks if you thinks this post is useful to you.
Click to expand...
Click to collapse
i have been facing a problem,i have installed "OpenSEMC-mr2-alpha2"
when i control my brightness the illumination bar light remain full
but in stock ROM when i reduce my brightness the intensity of that illumination bar light also decreases .
it is very annoying if you are doing something in night with low brightness and the illumination bar light is full.
please help
how tot enable ultrabrightest ?

Categories

Resources