[MODS] Useful Mods for R - LG G Watch 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...

Related

Get rid of regional volume limits ?

Does anyone knows a way to get rid of european volume limits ? those limits are imposed by France for French people. I'm Italian and live in Italy where no one limits the volume someone wants to listen to music.
So is there a way to remove such unusefull "feature" ?
may be something in servicemode>audio>headset>volume but what ?
as Rx Gain i have 0x2d34 can someone with an US or extra European version tell me what they have ?
I use audio boost, specifically designed for our phones by a forum member ! well worth the couple of dollars !
I think you'll find it over in the apps forum . . .
This guideline is not french and only for french people. It's european and it applies in all member states of the eu.
Sent from my GT-I9000 using XDA App
I use mixget widget - free and works perfect.
johoe
johoe said:
I use mixget widget - free and works perfect.
johoe
Click to expand...
Click to collapse
I'm using JPK, that solution with mixget should work in there?... What kind of ROM are you using?
Thank you dangerMUK it seems a good app but i d'like to learn how to unlock that limit modofying servicemode values (i think that app alter those values) anyone knows?
Sent from my GT-I9000 using ####
coolbomb said:
I'm using JPK, that solution with mixget should work in there?... What kind of ROM are you using?
Click to expand...
Click to collapse
I'm on JPK too. You can use the same method for rooting (flash the other kernel first ...), instead of the update.zip for root use the alsa_update.zip. Or maybe even with the method described here: http://forum.xda-developers.com/showthread.php?t=788108. Should work, because of the 2e recovery - although I did not try it myself.
I'am rooted and I prefer installing the files from the alsa_update.zip (download from mixget) with a shell script. So there's no need for rebooting the phone and executing the different update.zips.
Code:
#!/system/bin/sh
mount -o remount,rw /system
cd /sdcard/external_sd/stuff/Alsa_Update/
busybox cp alsa_amixer /system/bin/
busybox cp alsa_aplay /system/bin/
busybox cp alsa_ctl /system/bin/
busybox cp libasound.so /system/lib/
chmod 4755 /system/bin/alsa_amixer
chmod 4755 /system/bin/alsa_aplay
chmod 4755 /system/bin/alsa_ctl
chmod 4755 /system/media/audio/ringtones/roter_sand.mp3
johoe
Hi johoe
Thx you for the information, i'll test that and see how it goes.
Thx again
Sent from my GT-I9000 using XDA App
Hi All,
I tested the application and actually works, but I have a problem, the settings does not seem to stay. Example: I open my music player, open the mixget set the gain according to what I want, and the volume its ok... I close/stop the song and start it again, and the volume is again low, then I have to open again the mixget, etc etc. I bet that is a permission problem on the file system... But I'm not sure where I have to actually do the modification.
Anyway, thank you
That is the way the phone works. Already solved with audioboost
. Read the thread and buy the app.
Sent from my GT-I9000M using XDA App
Volume stuck on 53%
Hi!
Thanks for your help in advance.
I was listening music on my Sony Xperia Go and all of a sudden android ICS doesn't let me put the volume higher than 53%. With the physical volume control or the virtual one. It only happens with media.
Do you guys know why could that be happening?
Thanks once again and happy thanks giving.

[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.

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.

[Q] Button backlight

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

[APP]ResUI Resolution Changer

APP FOR 4.3+ ONLY
I put together this app to easily switch between 3 resolution modes. Optionally hit the backup button to copy to /sdcard/tmp
For each mode it just runs a script like this.
#!/system/bin/sh
wm size 1920x1200
wm density 240
# mounting system as rw
mount -o remount,rw /system
export DENSITY=`cat /system/build.prop|grep ro.sf.lcd_density`
sed -i s/$DENSITY/ro.sf.lcd_density=240/g /system/build.prop
mount -o remount,ro /system
its replaces the line in the build.prop so things like the keyboard scale properly. Let me know if it doesnt work. Just hit the reboot button after you change it. USE AT YOUR OWN RISK.
https://www.dropbox.com/s/mvtn50s0mrxplcu/ResUI.apk
https://github.com/YayYouFixedIt/resui
if you are not on 4.3 this will not work for you i believe.
the wm command is specifically for 4.3+. forgot what 4.1 uses i think its am command
---------- Post added at 10:35 PM ---------- Previous post was at 10:34 PM ----------
dpi doesnt change for 1280x720? swiftkey doest scale correctly on 720p.
---------- Post added at 10:49 PM ---------- Previous post was at 10:35 PM ----------
ya DPI doesnt change, it stays at 240, which will be look big for 1600P or too small for 720P
AngryDinosaur said:
if you are not on 4.3 this will not work for you i believe.
the wm command is specifically for 4.3+. forgot what 4.1 uses i think its am command
---------- Post added at 10:35 PM ---------- Previous post was at 10:34 PM ----------
dpi doesnt change for 1280x720? swiftkey doest scale correctly on 720p.
---------- Post added at 10:49 PM ---------- Previous post was at 10:35 PM ----------
ya DPI doesnt change, it stays at 240, which will be look big for 1600P or too small for 720P
Click to expand...
Click to collapse
I'm pretty sure wm ignores the build.prop DPI value. It does on mine anyway. It saves its setting to dB in /data/data somewhere. com.android.preferences/ inside that I think.
Probably I'm noob to everything :]
Sent from my SGH-T889 using XDA Premium 4 mobile app
im running cm11 4.4.2 though atm.
It might be that its targeting 4.4.2.
For me that build.prop value has to be changed. Or something else does.
There might be a problem with that apk...ill look at it again.
ill put the source up so you can fix it up and feel free to include it in your rom as a bells and whistles option haha
YayYouFixedIt said:
im running cm11 4.4.2 though atm.
It might be that its targeting 4.4.2.
For me that build.prop value has to be changed. Or something else does.
There might be a problem with that apk...ill look at it again.
ill put the source up so you can fix it up and feel free to include it in your rom as a bells and whistles option haha
Click to expand...
Click to collapse
OK it might be that certain apks use the build.prop to calculate the screen size? Let me look at the source.
Try locking the DPI to 160 once the user gets down to 1280. The way I calculate the DPI is take the length of the screen and divide by 8.
1280 is 160
1600 is 200
1920 is 240
2560 is 320
Etc
https://github.com/YayYouFixedIt/resui
can u include a reset script in the app to reset everything to stock settings, and revert build prop line.
Thanks
​
AngryDinosaur said:
can u include a reset script in the app to reset everything to stock settings, and revert build prop line.
Thanks
Click to expand...
Click to collapse
OK I added backup and restore to the app. Seems to be working.
Backup does this:
#!/system/bin/sh
mkdir -p /sdcard/tmp
cp -f /system/build.prop /sdcard/tmp
Restore does this:
#!/system/bin/sh
wm size 2560x1600
wm density 320
mount -o remount,rw /system
cp -f /sdcard/tmp/build.prop /system/
mount -o remount,ro /system
Let me know if that's not correct
YayYouFixedIt said:
​OK I added backup and restore to the app. Seems to be working.
Backup does this:
#!/system/bin/sh
mkdir -p /sdcard/tmp
cp -f /system/build.prop /sdcard/tmp
Restore does this:
#!/system/bin/sh
wm size 2560x1600
wm density 320
mount -o remount,rw /system
cp -f /sdcard/tmp/build.prop /system/
mount -o remount,ro /system
Let me know if that's not correct
Click to expand...
Click to collapse
That's great! I think restore should do this:
wm size reset
wm density reset
so dies it work with cm 11 or the only custom rom on the forum?
Motawa88 said:
so dies it work with cm 11 or the only custom rom on the forum?
Click to expand...
Click to collapse
I'm using cm11. It works well. I haven't used it with cromi but it look like it should work fine. I'm using thumb keyboard and it scales fine. The game shadowrun actually looks bigger at the lower resolution. More playable. Characters were too small.
I'm using it with Cromi-X 6.1 with no issues.
Sent from my K00C using XDA Premium HD app
Is it possible with the tf700 too`? I want to change the resolution to 1.366 x 768 for some experiments
Motawa88 said:
Is it possible with the tf700 too`? I want to change the resolution to 1.366 x 768 for some experiments
Click to expand...
Click to collapse
On the nexus 7 2012 I have, the wm command works. You can just modify the app to what you need. What. Itll do if you try to set it to 2560*1600 320 I don't know. If you want to modify the app you just need to:
1. Add a script to the raw folder like the others
2. Add a button to the xml layout
3. Set the button to launch the script it in the apps main activity.

Categories

Resources