ro.lge.ps.eco.pv=322
ro.lge.capp_ghost_finger=true
ro.lge.capp_touch_scroller=true
ro.lge.capp_touch_ldi=true
ro.lge.capp_key_exception=true
ro.lge.capp_compat=true
ro.lge.capp_wfd=true
ro.lge.capp_qctwfd=true
ro.lge.capp_optimusui=true
ro.lge.capp_core=true
ro.lge.capp_almond=true
ro.lge.capp_resource=true
ro.lge.capp_mdm=true
ro.lge.capp_nfs=true
ro.lge.capp_art=true
Related
I don't have a working build environment and I'm not sure how to do this. I want to edit the file from source. The source code path is:
msm/drivers/power/ds2784_battery.c
Which belongs in the file system:
/sys/devices/platform/ds2784-battery
I specifically want to edit one line of code and change the following line 380:
(di->status.current_uA <= 80000) &&
And change it to
(di->status.current_uA <= 10000) &&
I don't know enough, but is it possible to make a small edit like this and recompile just this individual file, and then for me to push this edited file to my phone(rooted obviously)? Is this feasible or am I just in way over my head? If anyone could guide me, or better yet make this edit for me I would be very greatful and willing to test it out on my phone. Thanks.
Hi,
I build the file for you from synced tree about 20min ago from cyanogen's repository.
Unfortunately, u can't push any files to /sys even when you have root because those files are automaticaly generated by kernel as same as files in /dev.
So i build the whole kernel for nexus one with that modification you want.
single file is there http://www.multiupload.com/WJA1GXEANV
and whole kernel is there http://www.multiupload.com/BS3YR6P2K1
Just to notice you, you wanted to lower the value from 80000 to 10000 but there is just 1024 instead of 80000 in the cyanogen's source so i raised it to 10000 as you want.
Hope this helps. Let me know if this works..
(and sorry for my english )
Thank you. I'm not sure I understand. Are you saying that the cyanogen version of this file ds2784_battery.c was not set to 80000 like the stock source code showed? You say that you had to raise that value from 1024. I don't understand why it would be different than AOSP. Thank you, I'll try it when I get home.
Yes, you understand right, cyanogen's source have that value on 1024 but don't know why.
Yes I am looking at the cyanogen code now, and It is different than AOSP file. However running cyanogen ROM the file still behaves as if 80000 was there. Hope I can find the correct value and I will post back. Thanks
I just looked at the source again and maybe i changed something else because line 380 is not same as you wrote.
Look yourself here http://github.com/CyanogenMod/cm-kernel/blob/android-msm-2.6.34/drivers/power/ds2784_battery.c
Yes the code is different, so I am looking for the Correct line to change. Thank I'll post back when I find it.
I've looked and looked thru as much as i could, and i cannot locate the identified code i found in the earlier version, where it speifies mA < 80000 (80 mA). the strange thing is that my current installation of cyanogen RC3 is still functioning as if 80 mA were set. the charger shuts off still at 80 mA. maybe someone else can guide me to see what i'm missing.
ok i have the new code i'd like to try out if you dont mind. i'm running cm rc3, and wanted to edit the ds2784_battery.c file with the following line 450:
original:
PHP:
if (di->status.status_reg & 0x80) {
di->status.battery_full = 1;
charge_mode = CHARGE_BATT_DISABLE;
} else
di->status.battery_full = 0;
new
PHP:
if ((di->status.status_reg & 0x80) && (di->status.current_uA <=20000)) {
di->status.battery_full = 1;
charge_mode = CHARGE_BATT_DISABLE;
} else
di->status.battery_full = 0;
only one change was made to line 450. could you make a flashable file? thanks so much if you have the time
Rog, just in case you were waiting for a notification here:
http://forum.xda-developers.com/showpost.php?p=7819793&postcount=261
Just say i want to change properties of something in the build.prop... now this would normally be done by setprop...
But what if i want to disable the phone function ... i cannot call setprop on a read only property (ro.) like follows:
Code:
setprop ro.phone.function 0
Is there a way around this ... or some way that i can change the like starting with "ro.phone.function=" in a sh file?
Thanks
Kris
How to modify ro.(read only) property
Hi
I've released setpropex program, which can modify value of ro. property.
http://t.co/mMtzylU7
It uses ptrace, so you need root permission to use it.
thanks.
i00 said:
Just say i want to change properties of something in the build.prop... now this would normally be done by setprop...
But what if i want to disable the phone function ... i cannot call setprop on a read only property (ro.) like follows:
Code:
setprop ro.phone.function 0
Is there a way around this ... or some way that i can change the like starting with "ro.phone.function=" in a sh file?
Thanks
Kris
Click to expand...
Click to collapse
hi can you compile it for me I need it but I don't know compiling thanks
It still works
goroh_kun said:
Hi
I've released setpropex program, which can modify value of ro. property.
[link]
It uses ptrace, so you need root permission to use it.
thanks.
Click to expand...
Click to collapse
In KitKat algorithm has changed (androidcodesearch.com/source/bionic/libc/bionic/system_properties.c). But with some modification in your code it still works. General idea and generic code are correct. Thanks!
andr_andr said:
In KitKat algorithm has changed (androidcodesearch.com/source/bionic/libc/bionic/system_properties.c). But with some modification in your code it still works. General idea and generic code are correct. Thanks!
Click to expand...
Click to collapse
Have you published the changes somewhere? Having a working setpropex for KitKat would be great.
Does this still work on Nougat?
Is there anyone know where ti find explanation about debug.composition.type on build.prop..
Because my stockrom (AOSP 4.0.3) has two lines :
debug.composition.type.7x27=mdp
debug.composition.type.7x25=mdp
debug.sf.hw=1
I've ever searched about that and found an anwer that we can't have those two lines in properties.. and the default setting for rendering is using gpu .. (debug.sf.hw=1)
I'm still confused about that..
So i mean if the rendering is set by default (by using gpu).. do i need thay line (debug.composition.type....)?
Then i also found these (gpu,cpu,mdp,c2d,c2q,hw..) for the value of debug composition type..
What is the difference of them?
any thread that i can read abot that.?
Thanks before.
Sorry, i made a wrong in writig the prop.
This this the correct one :
(From build.prop)
debug.composition.7x27A.type=c2q
debug.composition.7x25A.type=mdp
debug.sf.hw=1
I couldn't find answer to this anywhere, so i guessed XDA is best place to ask.
I have Note 3 N9005, 3GB RAMm usually about 2GB free. However some apps are crashing with "Out of memory" error. I investigated, and apparently it's limited to 512M per app in build.prop
Stock build.prop contains:
Code:
dalvik.vm.heapsize=36m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
I don't know why dalvik.vm.heapsize is written twice, but i guess the latest value is used.
I tried changing dalvik.vm.heapsize to 768m or 1024m, but anything else than default causes device to partial boot.. i can access adb shell, but boot logo never disappears (some system components now crash, saying out of memory).
Is there any way how to increase heap size at runtime with xposed or similar tools? Or just for single app?
atissss said:
I couldn't find answer to this anywhere, so i guessed XDA is best place to ask.
I have Note 3 N9005, 3GB RAMm usually about 2GB free. However some apps are crashing with "Out of memory" error. I investigated, and apparently it's limited to 512M per app in build.prop
Stock build.prop contains:
Code:
dalvik.vm.heapsize=36m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
I don't know why dalvik.vm.heapsize is written twice, but i guess the latest value is used.
I tried changing dalvik.vm.heapsize to 768m or 1024m, but anything else than default causes device to partial boot.. i can access adb shell, but boot logo never disappears (some system components now crash, saying out of memory).
Is there any way how to increase heap size at runtime with xposed or similar tools? Or just for single app?
Click to expand...
Click to collapse
That must work:
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
On my device (In /system/etc) I saw these three files.
The value of cpu_freq is greater than the maximum my CPU is running. (The Kernel Adiutor shows 1401000 Hz)
Does it mean overclocking or not ?
Can anyone explain why?
And what changes are made when an application is in the Game Activity Type in this gamedwhitelist.xml file
Files:
https://my.pcloud.com/publink/show?code=XZAUYT7Zc4C0bQKxvLFCs3Fb5EcGSyOsDIWV
someone ?