[Q] Button backlight - LG Optimus 4X HD

Hi!
After some researching, I couldn't find a way to disable button backlights (permanently) on CM 10.1.3. How can be this done ?

Put this in a 03bl.sh in system/etc/init.d and let it run on boot as executable with script manager (smanager).
#!/system/bin/sh
sync
busybox mount -o remount,rw /system
echo 0 > /sys/class/leds/button-backlight/max_brightness
echo 0 > /sys/class/leds/button-backlight/brightness
sync
busybox mount -o remount,ro /system
It will disable the lights after boot is finished
And remember to set the right permissions.
Sent from my 4X HD via XDA Premium

just install Bklight app
Sent from LG 4X HD using Tapatalk 2

Aimbot91 said:
just install Bklight app
Sent from LG 4X HD using Tapatalk 2
Click to expand...
Click to collapse
Could you provide a link as I didn't find anything really useful when I tried this.
Sent from my 4X HD via XDA Premium

Further Questions
Omario-242 said:
Sent from my 4X HD via XDA Premium
Click to expand...
Click to collapse
Thanks.:highfive:
I don't want to open an other thread, so I'll just ask it here: Which is the best kernel for battery life? I don't play 3d games, so performance is not my main concern. (but I don't want the UI to lag) Also, my phone seems to be charging real slow. Can this be fixed?
And what about picture quality ? Can it be increased ?
I'm currently on stock CM kernel.

sprite048 said:
Thanks.:highfive:
I don't want to open an other thread, so I'll just ask it here: Which is the best kernel for battery life? I don't play 3d games, so performance is not my main concern. (but I don't want the UI to lag) Also, my phone seems to be charging real slow. Can this be fixed?
And what about picture quality ? Can it be increased ?
I'm currently on stock CM kernel.
Click to expand...
Click to collapse
"Best ..." threads are not allowed on XDA as it is all subjective and depends on the user and on exactly what you are doing. Best bet is just to download and try for yourself.
As for picture quality - there are more than enough threads alreay about this topic for you to read.

SimonTS said:
"Best ..." threads are not allowed on XDA as it is all subjective
Click to expand...
Click to collapse
Then let me rephrase it :
which kernels are regarded as battery friendly kernels ?

sprite048 said:
Then let me rephrase it :
which kernels are regarded as battery friendly kernels ?
Click to expand...
Click to collapse
This is actually the same as before.... and it still is not allowed
I usually would close this thread now, but as this thread is about something else, I'll leave it with this warning.
Now, about the lights, @Omario-242 is more-less right
but this should be enough, too:
Code:
#!/system/bin/sh
echo 0 > /sys/class/leds/button-backlight/max_brightness
echo 0 > /sys/class/leds/button-backlight/brightness
no need to mount system, as these files are not /system related
Also, there is no need for scriptManager, as init.d is getting executed automatically during boot just name it 99disableBBL or something similar, place it inside /system/ect/init.d, set permissions and you should be fine

Related

[FIX][SCRIPT] Fixed zram for franco 2.6.32.x kernels (v18,v19) plus remount speedups

If you do not know what is this about and do not have any problems, leave the scripts alone and go on with your life.
Click to expand...
Click to collapse
Attached.
1a. Fixed zram.zip for franco kernels v18/v19
Fixed by removing the 00remount script from /system/etc/init.d, since it messes up with boot on phones with DT's apps2sd (and probably other similar scripts) - a2sd fails to mount sd-ext partition, phone "hangs" on LG logo.
If you are already stuck after flashing franco's original zram.zip due to this issue, then go to recovery, mount /system there, and
Code:
> adb shell
# rm -f /system/etc/init.d/00remount
# exit
> adb reboot
Alternatively, flash remove-zram.zip and reboot. This will remove ZRAM altogether.
There is no ZRAM support on franco's 2.6.35.x (v1) kernels, flashing this there is absolutely useless
Click to expand...
Click to collapse
1b. remove-zram.zip: Removes ZRAM. Deletes the following files if they exist:
Code:
/system/bin/zramconfig
/system/etc/zram.sh
/system/etc/init.d/00remount
/system/etc/init.d/00zram
2. remount-noatime.zip
Remounts all your filesystems with noatime,nodiratime options (potential I/O speedup). Taken from the original zram.zip and renamed to 98remount so that it comes after all other stuff is done.
3. remount-noatime-nobarrier.zip
Same as above, plus remounts ext4 with barrier=0 option for users with sd-ext on ext4. (potential I/O speedup)
Q: What is zram?! I do not understand what is this about!
A: Read the red warning.
Q: How can I find whether my kernel supports ZRAM?
A: Use the shell.
Code:
# zcat /proc/config.gz | grep ZRAM | grep -v ^#
CONFIG_ZRAM=y
Q: What is noatime, nodiratime, barriers?
A: Google it!
Q: I deleted the 00remount script as advised in recovery, but still have issues with A2SD not mounting my sd-ext!
A: If you are using CM7 ROM, then delete /system/etc/init.d/05mountsd as well. (Rename to _05mountsd or whatever else that does not start with digits should do as well.)
Em a newbie.... just asking ... is this improves battery life?
>>Sent from my LG-optimus One™ using XDA Premium App® Rom -void forever with franco kernel v19
samcad said:
em a newbie.... Just asking ... Is this improves battery life?
Click to expand...
Click to collapse
no!
1234567890
samcad said:
Em a newbie.... just asking ... is this improves battery life?
>>Sent from my LG-optimus One™ using XDA Premium App® Rom -void forever with franco kernel v19
Click to expand...
Click to collapse
As the doctor already mentioned... THis script is for those who get issues with boot up of their OS..!! Read the FIRST POST...!!
If your phone is working fine then this is not for you...!!!
Good one.
Prepare for 40 thousand posts asking if this script makes coffee and cleans the house for you.
imiki2421 said:
As the doctor already mentioned... THis script is for those who get issues with boot up of their OS..!! Read the FIRST POST...!!
If your phone is working fine then this is not for you...!!!
Click to expand...
Click to collapse
I have read it... but m just knowing anyway in improving in this script
>>Sent from my LG-optimus One™ using XDA Premium App® Rom -void forever with franco kernel v19
franciscofranco said:
Prepare for 40 thousand posts asking if this script makes coffee and cleans the house for you.
Click to expand...
Click to collapse
My /dev/null is ready
And does it make coffe? )
Sent from my LG-P500 using XDA App
Fresh installed 6.5.7 then fk19 then revised zram then noatime then dt a2sd (rebooting in between ofc) and got stuck again after flashing a2sd.
Got in recovery and deleted the 2 scripts from init.d via adb then reboot. It rebooted ok and I thought yeeah we're done. I did another reboot afterwards and it stuck again.
Trying to figure out what to try next. That's a way to spend my vacations lol
See adb logcat
I'll be the first. Does it make coffee and clean the house for me?
Btw glad your hissy fit is over. Good to have you back.
Sent from my LG-P500 using XDA Premium App
Testing -> remount-noatime-nobarrier.zip
I had no problems, just testing that for noatime, no barrier
franciscofranco said:
Good one.
Prepare for 40 thousand posts asking if this script makes coffee and cleans the house for you.
Click to expand...
Click to collapse
rofl, youre kinda, funny you know that?
Lawful123 said:
Btw glad your hissy fit is over. Good to have you back.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
totally out of topic!!!!
but I HAD to rotfl! ...hissy fit.... LOL!
Is there anyway to remove ZRAM after installing the original ZRAM?
I have been following franco kernel since v16.
Now i'm using V19.1.. and i have installed ZRAM for the first time after flashing 19.1
My phone has random reboots and i guess the sole cause is ZRAM.
Is there anyway to disable ZRAM? THANKS!
NOTE: I have tried to revert back to v19 but same issue.. random reboots.
kutysam said:
Is there anyway to remove ZRAM after installing the original ZRAM?
Click to expand...
Click to collapse
Delete the installed files. See the ZIP for which ones.
kutysam said:
Is there anyway to disable ZRAM? THANKS!
NOTE: I have tried to revert back to v19 but same issue.. random reboots.
Click to expand...
Click to collapse
Delete /system/etc/init.d/00zram
Finally, I very much doubt that zram is causing reboots for you. It is merely a swap.
dr. I´m using Juwe11 RamScript, as far as I can see theres no duplicate stuff between your last script and his so i can use both, but my question is if its better that your script runs after him, now yours run first because of the files name.
Roqu3 said:
dr. I´m using Juwe11 RamScript, as far as I can see theres no duplicate stuff between your last script and his so i can use both, but my question is if its better that your script runs after him, now yours run first because of the files name.
Click to expand...
Click to collapse
Does not matter at all in which order they run...
Added remove-zram.zip; self-explanatory.
dr.notor said:
Added remove-zram.zip; self-explanatory.
Click to expand...
Click to collapse
So it will increase quadrant score? (lol)

[KernelModule] Overclock

**** Do Not Repost! Link back to this thread! ****
*** Update: This works on Thrill/Optimus 3D. There are seperate kernel modules for Froyo/GingerBread/CyanogenMod kernels***
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
This uses SYMSEARCH by Skrilax_CZ
https://github.com/SkrilaxCZ
Inspired by Milestone Overclock by Tiago Sousa, but totally rewritten for omap kernel 2.6.35-7 and above.
http://code.google.com/p/milestone-overclock/
This is a stripped down version. I'm working on a fully featured version, that will allow you to play with voltage as well. There are some hurdles to overcome before that is ready for prime time... In the mean time, lets see what stock voltage can do... 1188 is my sweet spot on stock voltage, what is yours? I get up to 1235 without reboots, or real noticeable lags but the linkpacks are all over the place, where it stays in the 80's at 1188. And remember, the number is in hz a.k.a. cycles per second, so to get Mhz, you must add 'Six Zeroes' to the end of your desired Mhz.
* Note2Devs: Feel free to put this in your ROM, but please do credit me for the Overclock in your release, and link back to this thread. You can also post a link to your ROM here as a way to make myself and other aware of it. Thanks...
* Echts shows us how he integrate's the module into his own ROM. TY, Echts...
http://forum.xda-developers.com/showpost.php?p=19542521&postcount=52
* Thanks to greenbats for helping figure out the O3D gingerbread kernel issue!
** And don't ask to put it in an app. I won't be happy about that. I'm serious! **
Here go some of my Recording Engineer work...
http://www.youtube.com/watch?v=Je8K_hCej3s
http://www.youtube.com/watch?v=yfBfcdSL1pc
http://www.youtube.com/watch?v=iIU8DO4rdKI
http://www.youtube.com/watch?v=msavF7LIdvY
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
It's the same hardware
omgomg said:
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
Click to expand...
Click to collapse
Yes, give this a go on the O3D, the module is actually compiled against the cyanogenmod cosmo kernel, which is really for the O3D. Should work.
for test \
How do I install this on the optimus 3D?
greenbat said:
How do I install this on the optimus 3D?
Click to expand...
Click to collapse
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
tekahuna said:
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
Click to expand...
Click to collapse
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
greenbat said:
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
Click to expand...
Click to collapse
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Great invention
tekahuna said:
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Click to expand...
Click to collapse
Great invention and congratulations!
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
Type this in scriptmanager shell.
greenbat said:
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
What I'd really like is for the ROM making dev's to come to a consensus as to how to integrate this... Mainly, the best place to throw the script that does this at boot on these phones. I know how we did it on droid X, but I haven't dug deep enough into this phone just yet to be sure... I'll update the OP as methods improve and I get more feedback.
Click to expand...
Click to collapse
Or use callmearia kernel and make script for system/etc/init folder... havent tried his kernel but it should support the script at boot up. Acura roms should work that way too.
The way most roms use overclock is the init script that starts at boot...
Sent from my LG-P925 using XDA App
rdannar said:
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
Those would have been based on Milestone Overclock... Which is where I gained most of my knowledge by contributing to getting the droidx/2 side of things working. MO's method of manipulating frequency and voltage no longer works on OMAP4, or rather kernel 2.6.35+... I had to come up with a new way of doing things, which didn't fit well under the existing framework of MO. So, I started from scratch... This is just the tip of the iceberg... Basic, basic, basic...
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
I also get the same error: insmod: init_module '/system/lib/modules/symsearch.ko' failed (exec format error)
Is it because I have gingerbread?
Must I use froyo?
borelis said:
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
Click to expand...
Click to collapse
Both O3D's, huh? What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
tekahuna said:
What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
Click to expand...
Click to collapse
"LINK Boot_2.0 More RAM, No Lags, More Speed.." from acura. Think he uses stock kernel. Im on GB by the way.
Outputs is a bit over my head. Tell me how and i´ll provide it for you.

Making Voodoo settings stick

I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
damnmisur said:
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
Click to expand...
Click to collapse
Sweet! Do you know if there's a way to make the sound settings stick as well? (bass booster)
derekwilkinson said:
Sweet! Do you know if there's a way to make the sound settings stick as well? (bass booster)
Click to expand...
Click to collapse
I can post more script for that in a bit.
edit: damn if I can't find the files for the bass boost settings.
Sent from the bowels of hell
Those are my exact settings preference, thanks
Sent from my Nexus S
Doesn't the voodoo control app work?
Voodoo settings aren't sticking with ics based roms.
Sent from the bowels of hell
Does this work on stock cm7.101? (stock cm7.1 kernel)
This works on all roms I believe. The files are in the system folder which are common between roms. Correct me if i'm wrong.
Sent from the bowels of hell
Erm.... What the heck are Voodoo colors?
Voodoo control plus on the market if you don't know about it you better find out
sent from my Nexus NScollab
evoschecter said:
Erm.... What the heck are Voodoo colors?
Click to expand...
Click to collapse
Voodoo colors offer an adjustment to rooted phones. Its like the color adjustment on a t.v.
Sent from my Nexus S using xda premium
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Enhanced said:
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Click to expand...
Click to collapse
Didn't realize that didn't stock either lol thanks for the heads up
Sent from my Nexus S 4G using Tapatalk
Enhanced said:
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Click to expand...
Click to collapse
Wish I could. I'm a noob and figured out the voodoo colors script by looking at system files. I don't really know how to make the script for what you are asking for.
Sent from the bowels of hell
damnmisur said:
Wish I could. I'm a noob and figured out the voodoo colors script by looking at system files. I don't really know how to make the script for what you are asking for.
Sent from the bowels of hell
Click to expand...
Click to collapse
Just need to figure out where those values are stored at just like the voodoo ones
Sent from my Nexus S 4G using Tapatalk
Someone figure it out!
sweet!! gonna try this out. now i can stop using franco.Kernel 11/25 lol
Hoping a dev stumbles on this thread for an answer to process limits. This will be most likely solved when Nexus S ICS code is released.
Sent from the bowels of hell
Omg you're a god! And the options you chose actually look really nice! My screen looks juicy and bright instead of neon!
damnmisur said:
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
Click to expand...
Click to collapse
Awesome now I don't need to manually do it
Sent from my Nexus S using xda premium

Speed Tweaks for Blur ROMS

This will only modify what needs to be tweak in the build.prop.
It will not modify anybody else's build.prop work.
This means it can be used after you install a custom ROM and
keep any changes your dev has made to their own build.prop.
I have screen shots of my 3 Mps DSL Line and my LTE.
If it gives any indication about how much more performance gain there is
WiFi gives me up to 2.9 Mbps normally.
LTE gives me close to 30 Mbps normally.
Revision 2:
little less aggressive on the phone itself
little bit better WiFi and LTE speeds
cleaned up TONS of code and named everything!
Also the 2nd version will save a backup so you
can restore your old build.prop if you do not like
the changes that were made from from the tweaks.
AND it should keep the original build.prop.
Mind you, the undoer will only work with version 2.
you can also make a swap file (paging file like windows)
command will be
# busybox mkswap /dev/block/zram0
# chmod 077 /dev/block/zram0
# reboot
how did you install an ULV kernel on your droid 4?
dewhashish said:
how did you install an ULV kernel on your droid 4?
Click to expand...
Click to collapse
through an inti.d script
Won't install
I can't get these to install, using safestrap 3.0. Any ideas what I am doing wrong?
zeroktal said:
I can't get these to install, using safestrap 3.0. Any ideas what I am doing wrong?
Click to expand...
Click to collapse
it has only been tested on SS211.
I believe there are differences in the way it reads
and mounts the partitions...
what does the error say?
Not to sound stupid, but will this work on Eclipse 1.3.4 for D4?
Sent from my DROID4 using xda app-developers app
panamakevin said:
Not to sound stupid, but will this work on Eclipse 1.3.4 for D4?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
the way It is set it up -should- in theory work with any ROM made for the D4.
Can we get this written for ss305?
jkieffer46 said:
Can we get this written for ss305?
Click to expand...
Click to collapse
yes give me a little while to install and reconfigure for ss3
jkieffer46 said:
Can we get this written for ss305?
Click to expand...
Click to collapse
I have tried and failed miserably! I am no means a "true" programmer BUT
I have a work around for the people with SS3. Although it does involve a
terminal emulator which is free and the Google Play Store link is BAM!
I will make a flashable fix in the morning with instructions on how to do it.
I will also have a screenshot of what to type as well. The script will still do
the same thing as the flashable BUT in the terminal (manual way)
Just ran the .sh
I just modified and ran the SH from the command line. Only had to remove one > per file. Thanks, my speed increase isn't amazing, but its solid. You are Awesome.
Is there a way to flash this in ss305 yet or what
No, I'm sorry, haven't time to work on it. right now the work around is through a shell and reboot
Sent from my DROID4 using xda premium
Ok ill wait. I dont know how to do anything other than flash zips
Does it have any tweaks for GSM/HSDPA? The 3G is really poor on Droid 4.

[MODS] Useful Mods for R

To Do List:
Create stock System.img for restoring to stock in preparation for Lollipop.
Post batch tool to simplify everything
Work on getting busybox working to expand capabilities
Android Wear Lollipop?
MODS:
Increase Vibration Strength:
Code:
adb shell
su
echo 85 > /sys/class/timed_output/vibrator/amp
echo 120 > /sys/class/timed_output/vibrator/driving_ms
Don't set amp over 100, and don't set driving_ms over I would say 200 max. Our dory friends set it around 160ish. The higher the number the stronger the vibration, at a cost of power and perhaps decreased vibration life?
I found the best way to do this was to setup adb over bluetooth so you could feel what the setting feels like by setting a timer or something.
Increase DPI to Make Analog Keyboard Useful
For those who want to mess with it this makes the Microsoft analog watch more useful by increasing the ppi a lot. It messes up text in almost every other spot besides the keyboard area, so now you can actually hit the enter key, barely though. Just gonna post this til I have something better figured out.
Build.prop link
Analog Keyboard Download - Follow install instructions found in zip
Put build.prop where you have adb located. Stock DPI is 240 if you want to edit it back.
Code:
adb push build.prop /sdcard
adb shell
su
mount -o rw,remount /system /system
cp /sdcard/build.prop /system
reboot
tonu42 said:
MODS:
Increase Vibration Strength:
Code:
adb shell
su
echo 85 > /sys/class/timed_output/vibrator/amp
echo 120 > /sys/class/timed_output/vibrator/driving_ms
Don't set amp over 100, and don't set driving_ms over I would say 200 max. Our dory friends set it around 160ish. The higher the number the stronger the vibration, at a cost of power and perhaps decreased vibration life?
Click to expand...
Click to collapse
Can you tell me what the default/stock settings are? I used the settings you posted and it is much better but i am curious what the factory settings were.
jimmydigital00 said:
Can you tell me what the default/stock settings are? I used the settings you posted and it is much better but i am curious what the factory settings were.
Click to expand...
Click to collapse
Amp was at 80 and driving_ms was at a pitiful 20 or 30 I think......
Thinking about it I should have written them down because I don't think a system.img install will revert it.
Can someone do a cat driving_ms for us?
Untouched original:
[email protected]:/ # cat /sys/class/timed_output/vibrator/amp
80
[email protected]:/ # cat /sys/class/timed_output/vibrator/driving_ms
20
zvieratko said:
Untouched original:
[email protected]:/ # cat /sys/class/timed_output/vibrator/amp
80
ro[email protected]:/ # cat /sys/class/timed_output/vibrator/driving_ms
20
Click to expand...
Click to collapse
Thank you good sir. Boosting driving_ms a lot seems to be the best way to increase the strength.
Works
This works great! Thanks!
OP updated with another mod.
Hi all ,
are there any rooting instructions for the LG GWATCH R in order to use the adb commands ?
regards
Achim
Gesendet von meinem SM-N9005 mit Tapatalk
For sake of completeness, all the defaults:
Code:
/sys/class/timed_output/vibrator/amp
80
/sys/class/timed_output/vibrator/braking_gain
100
/sys/class/timed_output/vibrator/braking_ms
0
/sys/class/timed_output/vibrator/driving_ms
20
/sys/class/timed_output/vibrator/enable
0
/sys/class/timed_output/vibrator/n_val
127
/sys/class/timed_output/vibrator/warmup_ms
0
How can I set these parameters?
I'm not expert about this device and I don't know what I have to do.
Can you explane me step by step?
THX
cybermungo said:
Hi all ,
are there any rooting instructions for the LG GWATCH R in order to use the adb commands ?
regards
Achim
Gesendet von meinem SM-N9005 mit Tapatalk
Click to expand...
Click to collapse
The root guide is in another thread.
Sent from my A0001 using XDA Free mobile app
Work the vibration mod on new update 5.01? I think it should or?
coyote_f said:
Work the vibration mod on new update 5.01? I think it should or?
Click to expand...
Click to collapse
Yes, I need to modify this guide, TBH though I might try to create an android wear app to just do a one click and set.
tonu42 said:
Yes, I need to modify this guide, TBH though I might try to create an android wear app to just do a one click and set.
Click to expand...
Click to collapse
I tried last night, and running the commands in the OP didn't do anything. Is that why you're saying you need to modify the guide? Running lollipop btw
nickmilla15 said:
I tried last night, and running the commands in the OP didn't do anything. Is that why you're saying you need to modify the guide? Running lollipop btw
Click to expand...
Click to collapse
Yea that's why I need to change it. I'll change it maybe later tonight. But for some reason the changes don't stick after reboot. I'll look into it.
Sent from my A0001 using XDA Free mobile app
tonu42 said:
Yea that's why I need to change it. I'll change it maybe later tonight. But for some reason the changes don't stick after reboot. I'll look into it.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Wicked. I look forward to it ?
tonu42 said:
Yea that's why I need to change it. I'll change it maybe later tonight. But for some reason the changes don't stick after reboot. I'll look into it.
Click to expand...
Click to collapse
changes to anything in /sys are lost on reboot. sysfs, like procfs (/proc) is not a persistent filesystem.
you would need to add your changes to a boot script so they run on boot everytime
-fg
fg said:
changes to anything in /sys are lost on reboot. sysfs, like procfs (/proc) is not a persistent filesystem.
you would need to add your changes to a boot script so they run on boot everytime
-fg
Click to expand...
Click to collapse
Yep already on it. I'm making a proper rootboot.IMG like the original G watch. Also adding into the kernel a script to edit the files for vibration.
Sent from my A0001 using XDA Free mobile app
tonu42 said:
Yep already on it. I'm making a proper rootboot.IMG like the original G watch. Also adding into the kernel a script to edit the files for vibration.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Awesome!
Remove all LG watchfaces, I'm using facer
adb shell
su
mount -o rw,remount /system /system
cd system
cd priv-app
rm -r Lge*
Or, if you want, you can delete only any of these..
---------- Post added at 11:22 PM ---------- Previous post was at 10:28 PM ----------
Sorry admin... But my suggestion is like a mod...
It's not a question...

Categories

Resources