[TESTING] fix for battery vol % in display - Touch HD Android Development

hi, i did a lot of research for the battery consume, shutdown, correct current % on battery.
TESTING KERNEL
1.) battery fixes (credits to crazyvirus) - i tried only to make differnt algos
2.) incall volume (credits to jonpry, wozzer, acl, etc ..)
2a) small fix for incall volume to support also for blackstone (credits to OliWe)
3.) AC + USB loader recognition (credits to OliWe)
this kernel (speically the battery fix -i only compiled for blackstone yet ...)
-----------------------------------------------------------------------
here i will provide a blackstone implementation - based on *viruscrazy* battery fix which is under testing for topaz, rhod, diamond, raphael, etc ..
in this version i made a lot of debug messages in kernel logging (dmesg).
! This kernel is under develment and based on latest kernel of 9.9.2010 + battery patch from *viruscrazy* (all honor to him) + blackstone support !
If someone wants to test - i would be happy to get infos about this kernel.
@all
if you want help me:
what i need: i would need to load the device fully ex: on WM or switched off. then boot to android and then use the tool: *BatMan* Logger (get it from market) and activate logging to sdcard.
! then i would need to let the phone on (display on) - and take care that the phone is all the time using contant battery . it is not necc. to save as much battery as possible. the most important is - HOLD THE BATTERY CONSUME SO CONSTANT AS POSSIBLE, and let run out the battery - til it switch off.
Then recharge the phone - and please send me the log from *BatMan* logger
cu camel
attached the kernel
PLS: you can log all details: via: cat /proc/kmsg | grep battlog > /sdcard/battery.log &
there are a lot of informations now in the kernel,which i need to check it better ...on future version - i will remove this debug logs from kernel.
EDIT:
sorry, forgot to add the new kernel ...will be online in few seconds ..
EDIT1: made a new version - (no wlan for now, because GIT is down ..)
EDIT2: my first tests arelooking good ...
normally if you measure the time in WM ... WM is also not a good algo - i mean ....
for me: ex: if i use my phone with a constant discharge of battery i want a linear BATTERY-LEVEL ...
as you can see in this picture - i reach it now forblackstone ...
(BLACK is the calculated % - which is now also logged to kmesg - the system can show different things ...)
(YELLOW is my algo to reach the battery drain curves ..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(PLS: the values which you can see in android - are only ok now if not connected to AC or USB ! - algo on charging i must test more ...
EDIT2: add new kernel for testing:
EDIT3: replaced the kernel + modules -> with a newer fixed version. now the charging process should also be ok (not fully tested, but should much much better ...
fixed now: charging and dischargoing recalc + included in modules the wlan driver
EDIT4
NEW KERNEL: fix for:
.) INCALL VOLUME - working
.) BATTERY volume display - working (maybe we must adjust it)
.) BATTERY type charger recognition (USB or AC)
EDIT5:
new kernel - new calc algo, better logic + made kernel for all systems (rhod, topaz, diamond, raph, blackstone)
optimzation of battery values only checked for blackstone 1350mAh, but now it is possible to use the kernel for all system + then logging is necc. to adjust the other battery tyes.
EDIT6:
.) rewrite the algo for discharge and charging ...
.) fix for invalid values (sometimes only display 100% fixed)
.) power consume should be better now
.) difference from charging to discharging now should also be ok
.) poweroff patch
see attached ... 3_*

i dont mind helping out since blackstone is my spare phone now do let me know if u are interested to let me test this out!

camro said:
hi, i did a lot of research for the battery consume, shutdown, correct current % on battery.
TESTING KERNEL for battery fixes
here i will provide a blackstone implementation - based on *viruscrazy* battery fix which is under testing for topaz, rhod, diamond, raphael, etc ..
in this version i made a lot of debug messages in kernel logging (dmesg).
! This kernel is under develment and based on latest kernel of 9.9.2010 + battery patch from *viruscrazy* (all honor to him) + blackstone support !
If someone wants to test - i would be happy to get infos about this kernel.
@all
if you want help me:
what i need: i would need to load the device fully ex: on WM or switched off. then boot to android and then use the tool: *BatMan* Logger (get it from market) and activate logging to sdcard.
! then i would need to let the phone on (display on) - and take care that the phone is all the time using contant battery . it is not necc. to save as much battery as possible. the most important is - HOLD THE BATTERY CONSUME SO CONSTANT AS POSSIBLE, and let run out the battery - til it switch off.
Then recharge the phone - and please send me the log from *BatMan* logger
cu camel
attached the kernel
PLS: you can log all details: via: cat /proc/kmsg | grep battlog > /sdcard/battery.log &
there are a lot of informations now in the kernel,which i need to check it better ...on future version - i will remove this debug logs from kernel.
EDIT:
sorry, forgot to add the new kernel ...will be online in few seconds ..
Click to expand...
Click to collapse
where is the kernel?

sorry, there was a problem un uploading - now it is UP

the modules seems like missing ramzswap.ko and wifi modules i guess.Perhaps u can write an instruction on how to update the kernel and modules

Battery seems to last longer but when it's about activating wifi shows error . Still I got to say you're on the right track with the battery . Good work !!!

Hi
I put a charged battery (100%) and the system told me 83%
After 30 minutes I reactivated Wimo and the percentage was 93%

i had 24% on WM and on Android it showed 8%.
Wifi does not work in this release. Wifi shows 'error' so i couldnt download the batt man logger.
otherwise goodluck devs and happy to see you guys are working on this battery fix. it would be great to have android running for longer.

I guess the author is trying to focus on the battery fix and remember this is a testing kernel. Once it was proved to work, wifi things could be added easily.
I will try your kernel but I need to spare one day time for it.
Better to disable all radio and just play mp3 for battery consumption.

i tried chqrging the phone with this android kernel. the battery show that it is charging and does not show that it is fully charged after a few sec. i found that the battery life is getting drained instead. anyone having this problem?

as i treid to tell you:
it is complete nonsense to think, that this kernel fix the battery problem.
for now i'm trying to find the real measuring ....
i would need logs ... see first posting.
but not sure, if i cancel this project, because it consume a lot of time ...and also lost all my changes from 1 day (problem with my linux) .....

It would be awesome if the % would be correct, however as I use my Blackstone as main phone I can't risk testing this.
I think the camera / battery drainage is more important though, and if you, in contrast to me, know how to actually try to fix this stuff, I think more people would donate/test/give feedback. At least I would.
But still a great job you are doing, if you got further, please continu, (if the kernel doesn't break anything like wi-fi etc, I will give it a go.)

casefan7 said:
It would be awesome if the % would be correct, however as I use my Blackstone as main phone I can't risk testing this.
I think the camera / battery drainage is more important though, and if you, in contrast to me, know how to actually try to fix this stuff, I think more people would donate/test/give feedback. At least I would.
But still a great job you are doing, if you got further, please continu, (if the kernel doesn't break anything like wi-fi etc, I will give it a go.)
Click to expand...
Click to collapse
well, then i will wait til users are wanting helping tsting ...
ex: as told x-times. ...
if i can get a constant drain of battery on life system (with battery log from battlog in win) ... would help
but seems to be - battery is not so important ...
if anyone want the wlan -> then take the modules from original kernel - does also work.
cu camel

@camro
could serve a table comparing the percentage WM and Android (step by step of 10%) ?????

PANCIO said:
@camro
could serve a table comparing the percentage WM and Android (step by step of 10%) ?????
Click to expand...
Click to collapse
just relax - i'm working on it ...

another though, I think the Android DO mess up the battery meter even under windows mobile (Assuming that the winmo battery level reports correctly).
For example, once booting in Andorid and move back to winmo, it would not jumping up or down but it will drain real fast even after charged.
I am not familiar with Li-Ion bettery circuit but there is certainly something to control the battery behavior so making it abnormal after resetting to winmo.
An example in real life, 30% in android -> 65% in winmo but it definitely drain much faster than 65% without using android.

mcdull said:
another though, I think the Android DO mess up the battery meter even under windows mobile (Assuming that the winmo battery level reports correctly).
For example, once booting in Andorid and move back to winmo, it would not jumping up or down but it will drain real fast even after charged.
I am not familiar with Li-Ion bettery circuit but there is certainly something to control the battery behavior so making it abnormal after resetting to winmo.
An example in real life, 30% in android -> 65% in winmo but it definitely drain much faster than 65% without using android.
Click to expand...
Click to collapse
some small infos ....about LI batt -> http://www.ibt-power.com/Battery_packs/Li_Ion/Lithium_ion_tech.html
the wm batery level is not bad ..., but it is not what i want from my device:
the curve from wm - you can see -> http://forum.xda-developers.com/attachment.php?attachmentid=396196&d=1283798187
of course the battery handling is not so easy as it seems to be ...but in my mind ... logical i want a linear level meter of battery (if the consume is normally)
example:
1.) i start with 100% and play mp3 (constant all the time ..)
after 2hrs i should see: 50% -> so i know, that if the battery consume is the same as the last 1hour it should be enough for 2 hours more ...
this is in wm not and also it wasn't for me on android ...
(see some posting above the diagram with the BLACK LINE - this is now the +- 0,5% linear battery level calc - so this is exactly what i want ...
what i haven't test now, is with different batteries, (there is also cheap-china batteries, or 1500mAh, etc ...
also, i will upload in next 30min a new kernel + module - incl. wlan

camro said:
some small infos ....about LI batt -> http://www.ibt-power.com/Battery_packs/Li_Ion/Lithium_ion_tech.html
the wm batery level is not bad ..., but it is not what i want from my device:
the curve from wm - you can see -> http://forum.xda-developers.com/attachment.php?attachmentid=396196&d=1283798187
of course the battery handling is not so easy as it seems to be ...but in my mind ... logical i want a linear level meter of battery (if the consume is normally)
example:
1.) i start with 100% and play mp3 (constant all the time ..)
after 2hrs i should see: 50% -> so i know, that if the battery consume is the same as the last 1hour it should be enough for 2 hours more ...
this is in wm not and also it wasn't for me on android ...
(see some posting above the diagram with the BLACK LINE - this is now the +- 0,5% linear battery level calc - so this is exactly what i want ...
what i haven't test now, is with different batteries, (there is also cheap-china batteries, or 1500mAh, etc ...
also, i will upload in next 30min a new kernel + module - incl. wlan
Click to expand...
Click to collapse
I am no expert but I appreciate the work that you and others are doing for this project, keep it up

thanks for your clarification. I remembered in the old age of using winmo, each battery is different in calibration. i.e. for different piece of battery, it will discharged differently in respect to the reporting life. (I used to cover a pin on the battery to make it usable in my atom life). Would it be possible that you can never get a device specific kernel which shows linear discharge rate?

see the new kernel on 1st posting. (incl. wlan)
cu camel

Related

[TUTORIAL]Battery Saving Tips !!!UPDATE!!!

So i decided to make a thread for all those of us who have a huge battery leakage... After putting Unofficial CM7.2 from alquez...
I was draining battery on my phone for about 4.5 to 5 hours to 5 % ... from 100%... so just lets get this moving ...
I
The first thing i did, was calibrating battery ofc... and i tought it will help ... but the battery didn`t last any longer.. This step is unnecessary. Okay, not unnecessary, IT'S USELESS.
[edit] Now when we know the truth, here is why it didnt work : http://forum.xda-developers.com/showthread.php?t=1445643, because it was just a myth
To make sure, you are making any change to your battery, i would reccomend you guys download, the app from user profete162.
It analyses your battery and gives you average battery drain in % per hour ...
Here is the xda link to it : http://forum.xda-developers.com/showthread.php?t=1483448
And a market link : https://market.android.com/details?id=com.WazaBe.android.BatteryDrain
I was using Battery Callibration , it`s free.
Link : https://market.android.com/details?...xLDEsImNvbS5uZW1hLmJhdHRlcnljYWxpYnJhdGlvbiJd
II
After this, I installed Juice Defender, i think its a GREAT app, and a MUST HAVE...I would recommend upgrading to Ultimate...
So next app is Juice Defender Ultimate
Link : https://market.android.com/details?...xLDEsImNvbS5sYXRlZHJvaWQuanVpY2VkZWZlbmRlciJd
III
Next thing was a little battery saving tip that I loved by user amraving ...
It can be found here : http://forum.xda-developers.com/showthread.php?t=1135301
[edit] User that i mentioned down, said that this just helps ppl in area where 3g is not availbe to save battery, so the phone would stop hunting for 3g networks... but i think when you put i to preffered it will just not search for 3g all the time, it will put it to gsm, and i guess it wont make any worse for members in 3g area with low signal... i hope i will get some feedback.
IV
If you are not having a data plan with your carrier, you can disable data acces over mobile network.
It can be done by going Menu/Settings/Wireless&Networks/Mobile Networks/Data enabled , untick ...
Or if you have a data plan with your carrier, you can use an app to control internet... With Juice Defender Ultimate you can set a lot off stuff and there is another app called LBE Privacy Guard. You will find a lot of usefull stuff in settings.
Link : https://market.android.com/details?id=com.lbe.security.lite
V
Next one was most annoying to me, its the LED in CM7.2 that turns on and flashes when u are on last 5% of battery, it kinda pissed me off and i think it also wasted my battery in critical moments for no reason.
So i got to an app called Light Flow, here you can disable all the stuff you want... I removed blinking on low battery, just left on sms and missed call... You can remove that too... So it doesn`t use LED at all...
Here is a ling to Lite version: https://market.android.com/details?...uc3VsdGluZy5hbmRyb2lkLmxpZ2h0Zmxvd2xpdGUiXQ..
There is also a paid version which i personally use.
[edit] This is what i didn't write, the best thing for your phone is not to discharge your phone totally at all. Because LithiumIon batteries are just made that way. Though I still think removing some leds will help, and if you really CAN'T charge your phone, that blinking led on <5% won't help anyway.
VI
And a last but not the least important, a little messing with cpu clocks...
You will need an app called SetCpu.
Here is link on market : https://market.android.com/details?id=com.mhuang.overclocking
It`s paid app.
So now when you have it i used advice from user playagiron. When you enter app, you set default cpu to 122 min/ 768 max, and set default governor to smartass. Then you go to profiles, and make profile for screen off, there u put smartass governor also, and clock 122 min / 245 max.
I also made third profile just in case, when temperature raises too much, to restore clock to 245 min / 600 max as it was by default, once again smartass governor.
So that would be it, i hope this stuff helps someone, if you have any further suggestions, or something is not ok here just send me a pm to change.
For me it worked, and i increased battery life to something like 16 hours moderate to high usage(including gaming wifi and so on..)...
[Update]:
Okay, i got what was sucking also battery out of my cm ... I couldnt beleive I didn't check that ....
In CM there is in Settings/Display settings/Automatic backlight, I used to keep it enabled, and also the 'Allow Light Decrease' was ticked. So, what i did is just disable all of it -
Disable Light sensor filter totally
Untick Use custom
Untick 'Allow light decrease'
when you do that you can go settings/display and set to automatic, OR simply leave it on 30% as someone suggested, i guess it's just the way you like it ...
Good luck with this one added
And a disclaimer, idk if i need it but, what the hell. (copied from somewhere around the forum )
THIS TUTORIAL IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS, SPONTANEOUS COMBUSTION, DEATH OF YOUR PET, WRATH OF GOD; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
b02 said:
i was draining battery on my phone for about 4.5 to 5 hours to 5 % ... from 100%..
Click to expand...
Click to collapse
And results ?
as i wrote up, like 16 hours or so... and im using a phone moderately... i disconected a charger in morning, 10 o'clock and used a phone, internet, wifi, and played angry birds on purpose for 2 hours ... now im at 60 percent battery... so i can say it all works ... for me at least
[edit] : now its 24 hours, battery is 5%... and i was using phone moderately to high ...
Next thing is, i got a suggesstion from a member CafeKampuchia, and I will be editing first post.
I will test this, i hope it works.. Thank you..
Thanks mate
I'm glad i helped, now the only thing that is wasting my battery remaining is games i think, that must be CM related, or kernel or drivers or w/e .... i hope next builds from alquez will fix it ...
refresh... though im glad i fixed the battery life, i didnt make it last enought ... i want MORE . anyone with some usefull suggestions to add here ?
What could u suggest , which options is best in justice defender?
or which would be the best way to use it?
szuladam said:
What could u suggest , which options is best in justice defender?
or which would be the best way to use it?
Click to expand...
Click to collapse
i use advanced, then set it as u wish, and as its best for you , depends how you use your phone i can send u my settings if u want but, its all individual ...
Hmm...
b02 said:
refresh... though im glad i fixed the battery life, i didnt make it last enought ... i want MORE . anyone with some usefull suggestions to add here ?
Click to expand...
Click to collapse
Don't overclock when running games as it runs ba||'s out while you are running them...Dim your brightness when playing games...Don't play games...
Get one of these and some anchor chain to go with it...
d33ps1x said:
Don't overclock when running games as it runs ba||'s out while you are running them...Dim your brightness when playing games...Don't play games...
Get one of these and some anchor chain to go with it...
Click to expand...
Click to collapse
If i wanted to kill someone with my phone, i would certainly get that battery... WTH its HUGE ...
i dim my brightness, it acts better now ... though... there is problem in cm for sure, since on stock it was running for more time.... i guess someone will find where is that thingy that sucks my battery
here are the proofs
i used the phone moderate, talking/texting, some wifi+internet surfing, had some bluetooth pictures sent, and after the screenshot it lasted like few hours more idk how much exactly... I think it was like 1 o'clock ... means 6 more more, so its like 35 hours...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Okay, i refreshed the thread, and added an update, which also helped a lot with saving the battery ...
I'm formatting the phone now. When the phone is ready, I'll try all the points and I will tell you my results.
DanHidalgo said:
I'm formatting the phone now. When the phone is ready, I'll try all the points and I will tell you my results.
Click to expand...
Click to collapse
long time no hear from you mate ?
I think disabling Background Data in Settings/Accounts & sync helps a bit too.
Thanks for your post
Thanks,
My mother use this phone, and she can use it more than a day now.
OnlyRinaldo said:
Thanks,
My mother use this phone, and she can use it more than a day now.
Click to expand...
Click to collapse
im glad it helped, i managed to use it more than 40 hours, though playing games will still kill it very fast

[GUIDE] Maximize your Battery life

"Battery life " one of the most important aspect of a great overall android experience..This guide is to help you get the max out of your battery and getting that little extra performance out of your S4 pro (yes,,no performance degradation here )
This guide is compiled over a duration of time and have been tried and tested by me
Following are the steps for that lil extra juice :
1)Root(obvious )
2) download greenify (a must-have by oasis feng)and greenify almost all apps(including games) expect some messaging apps(apps shown with gcm logo in greenify) ,,,and if you want to get that lil extra minutes then go for the donation version of greenify, it lets you greenify some system apps to....also don't kill apps with appkillers(real battery hog)
3) Switching Stamina mode On(especially after the 4.2.2 update)...and carefully selecting only "most needed" apps to be excluded (if you don't want to break notifications)
4)download startup manager..and disable all unwanted apps at startup
5)remove all unwanted bloatware and battery saving apps(they usually do nothing to save your battery,instead they run in background and eatup your battery)
6) no under-clocking, no over-clocking
7) maintain a healthy battery charge history ( don't charge unless battery is less then 20%.,,then charge without interrupting to 100%(don't keep it charging for to long if it reaches 100%,,this will over-charge the battery)
8 ) If you're on 4.2.2 ,,surely you're facing the battery bug,which is really dangerous for the battery (because it bring the battery % down to zero ,without giving you a chance to reach your charger)....So to fix this you'll need to recalibrate your battery by downloading easy battery calibration from playstore (I've calibrated my battery and fixed the bug )...the app will guide you how to calibrate the battery(easy)
9 ) Don't use the "trickle charging" method recommended by some battery saver apps...I've used that method and it shows no improvement in battery life instead it'll drain the battery in a very strange manner ("modern"Li-on batteries should not be trickle charged Google it if you need more info on this subject)
10) some suggest under-volting...it'll surely get you that extra "precious minutes" but you must be brave enough to try that out..
Use this tricks and you'll definitely notice improved juice
If you'll like to add more "tested tweaks" to this guide let me know...
More tweaks and tricks for a better battery going to be updated soon(as soon as I'll test and confirm them)...
If you feel that I've helped you in any way,,please hit the thanks button
Sent from my Xperia ZL (C6502) using Tapatalk 4 Beta
Rumman Shaikh said:
"Battery life " one of the most important aspect of a great overall android experience..This guide is to help you get the max out of your battery and getting that little extra performance out of your S4 pro (yes,,no performance degradation here )
This guide is compiled over a duration of time and have been tried and tested by me
Following are the steps for that lil extra juice :
1)Root(obvious )
2) download greenify (a must-have by oasis feng)and greenify almost all apps(including games) expect some messaging apps(apps shown with gcm logo in greenify) ,,,and if you want to get that lil extra minutes then go for the donation version of greenify, it lets you greenify some system apps to....also don't kill apps with appkillers(real battery hog)
3) Switching Stamina mode On(especially after the 4.2.2 update)...and carefully selecting only "most needed" apps to be excluded (if you don't want to break notifications)
4)download startup manager..and disable all unwanted apps at startup
5)remove all unwanted bloatware and battery saving apps(they usually do nothing to save your battery,instead they run in background and eatup your battery)
6) no under-clocking, no over-clocking
7) maintain a healthy battery charge history ( don't charge unless battery is less then 20%.,,then charge without interrupting to 100%(don't keep it charging for to long if it reaches 100%,,this will over-charge the battery)
8 ) If you're on 4.2.2 ,,surely you're facing the battery bug,which is really dangerous for the battery (because it bring the battery % down to zero ,without giving you a chance to reach your charger)....So to fix this you'll need to recalibrate your battery by downloading easy battery calibration from playstore (I've calibrated my battery and fixed the bug )...the app will guide you how to calibrate the battery(easy)
9 ) Don't use the "trickle charging" method recommended by some battery saver apps...I've used that method and it shows no improvement in battery life instead it'll drain the battery in a very strange manner ("modern"Li-on batteries should not be trickle charged Google it if you need more info on this subject)
10) some suggest under-volting...it'll surely get you that extra "precious minutes" but you must be brave enough to try that out..
Use this tricks and you'll definitely notice improved juice
If you'll like to add more "tested tweaks" to this guide let me know...
More tweaks and tricks for a better battery going to be updated soon(as soon as I'll test and confirm them)...
If you feel that I've helped you in any way,,please hit the thanks button
Sent from my Xperia ZL (C6502) using Tapatalk 4 Beta
Click to expand...
Click to collapse
Undervolting is effortless and harmless, so is underclocking.
Sent from my HTC One
Rumman Shaikh said:
"Battery life " one of the most important aspect of a great overall android experience..This guide is to help you get the max out of your battery and getting that little extra performance out of your S4 pro (yes,,no performance degradation here )
This guide is compiled over a duration of time and have been tried and tested by me
Following are the steps for that lil extra juice :
1)Root(obvious )
2) download greenify (a must-have by oasis feng)and greenify almost all apps(including games) expect some messaging apps(apps shown with gcm logo in greenify) ,,,and if you want to get that lil extra minutes then go for the donation version of greenify, it lets you greenify some system apps to....also don't kill apps with appkillers(real battery hog)
3) Switching Stamina mode On(especially after the 4.2.2 update)...and carefully selecting only "most needed" apps to be excluded (if you don't want to break notifications)
4)download startup manager..and disable all unwanted apps at startup
5)remove all unwanted bloatware and battery saving apps(they usually do nothing to save your battery,instead they run in background and eatup your battery)
6) no under-clocking, no over-clocking
7) maintain a healthy battery charge history ( don't charge unless battery is less then 20%.,,then charge without interrupting to 100%(don't keep it charging for to long if it reaches 100%,,this will over-charge the battery)
8 ) If you're on 4.2.2 ,,surely you're facing the battery bug,which is really dangerous for the battery (because it bring the battery % down to zero ,without giving you a chance to reach your charger)....So to fix this you'll need to recalibrate your battery by downloading easy battery calibration from playstore (I've calibrated my battery and fixed the bug )...the app will guide you how to calibrate the battery(easy)
9 ) Don't use the "trickle charging" method recommended by some battery saver apps...I've used that method and it shows no improvement in battery life instead it'll drain the battery in a very strange manner ("modern"Li-on batteries should not be trickle charged Google it if you need more info on this subject)
10) some suggest under-volting...it'll surely get you that extra "precious minutes" but you must be brave enough to try that out..
Use this tricks and you'll definitely notice improved juice
If you'll like to add more "tested tweaks" to this guide let me know...
More tweaks and tricks for a better battery going to be updated soon(as soon as I'll test and confirm them)...
If you feel that I've helped you in any way,,please hit the thanks button
Sent from my Xperia ZL (C6502) using Tapatalk 4 Beta
Click to expand...
Click to collapse
Very nice and welcome tips. Thanks a lot mate.
Thanks. Lower the number of widgets you use helps a bit too.
What does the stamina mode do exactly ? I like to to toggle everything myself to be sure nothing is left behind (Data, Wifi, Gps, NFC, Syncing (apps/widgets/accounts), Bravia engine, Brightness...)
VERY happy with my great battery life ! Rooted, battery calibrated and never use stamina since I control manually. But if stamina does everything I do mamually then ill use.
--->> Tapped with my rooted Xperia ZL (C6506 Stock .244) via Hit'N'Yak 4
I don't know if anybody has noticed this but there's no hibernate now widget for greenify I'm wondering why the xperia home launcher won't allow it but nova and others recognize it :/ I also complained on the app market to the developer in hopes that they notice and fix it by some chance.
Sent from my C6506 using xda premium
Thanks for the tips. Applied most of em mentioned. Just wondering if sony used batteries similar to the note 2. We could use our phones much efficiently upto a couple of days
Javascript
Hey you might like this, I noticed that using the browser uses loads of power. Apparently javascript in the browser uses a lot of battery (search google for "Who Killed My Battery: Analyzing Mobile Browser Energy Consumption"). I've turned off js by going to Chrome, Menu, Settings, Content Settings. Hopefully this will eke out the battery a little bit more!
Hope this helps
Edit: After just a day of js turned off, I'm already finding some websites insist on it being turned on, which is annoying. I had hoped js would be more optional, but for some web designers it seems to be required. Oh well.
Nice try... Do you know if other browsers can be a way around ?
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4

[Q&A][UNOFFICIAL] CyanogenMod/LineageOS

Q&A for CyanogenMod/LineageOS for Celox Devices (Hercules & Skyrocket)​
As requested I created a Q&A thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by me.
Before posting, please use the forum search and read through the discussion thread above for your device. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Frequently Asked Questions​
Q: My device reboots when I receive or make a phone call. Why?
If your using OpenGapps read this: https://github.com/opengapps/openga...boots-when-i-receive-or-make-a-phone-call-why
Click to expand...
Click to collapse
Q: Formatting my SD Card as Internal Storage doesn't work. How to fix it?
Goto Settings > Storage. Click on your external sdcard
Tap the Menu button in the top right and select Settings.
Then choose Format as internal. (This erases all the data on the sdcard so backup if necessary)
Once you click Erase & Format, the device will format your card.
The process may get stuck at 20% and timeout after about 2mins. If it does reboot into recovery after it times out.
In TWRP, select Wipe then Advanced Wipe. Select "MicroSD Card - Data" and click "Repair or Change File System".
Choose, "Change File System" and select FAT. Then swipe to change.
Reboot, then goto Settings > Storage. Your sdcard should appear as corrupted.
Continue and format as internal storage. It should then get past 20%. If it does, continue with the steps shown to you.
Click to expand...
Click to collapse
[FONT=Arial,Roboto,Helvetica Neue,Helvetica,Verdana,sans-serif]Frequently Asked Questions[/FONT]​
Since this is a unified thread, I will use Celox to refer to both the Hercules and the Skyrocket. This was their planned codename for the LTE S2, and both use the celox-common branch in source code.
Q: How do I root my Celox? I flashed SuperSU, and my phone won't boot!
A: You don't need SuperSU. Root access is baked into the ROM.
Wipe everything and install the ROM without SuperSU. Now, in Developer options, set Root access to Apps and ADB. If you really, really, want SuperSU, install it from the Play Store and have it install it directly without recovery. (not confirmed working, but should work.)
Q: Do I install this like any other ROM? Why can't I install Gapps?
A: No. This is a virtually partitioned ROM, common in today's Celox ROMs. The different partition layout is necessary to take full advantage of your phone.
Q: Clean flash or dirty flash?
A: I always dirty flash. I never wipe unless I am switching ROMs. You may want to wipe, your choice.
Q: Virtual repartition? Whaaaaaat? Do I need a PIT file? Will this damage my device?
A: The classic issues with the S2 are:
Not having enough room to install apps
Being forced to use tiny Gapps packages
having waaaaaay too much internal sd card free space, even when you have a real SD card that you haven't filled up either.
Virtual repartitioning changes the way the system sees the partitions ("sections" of the 16GB of storage), making it similar to the 16GB Samsung Galaxy S3. This fixes all of those problems!
Here is what happens:
To make more room for apps and data, we made that SD card partition multitask as apps, data, and the internal SD card storage, emulated at /data/media/0, like modern devices. This will wipe those files on the internal SD card partition, though! You now get 11.2GB freely usable by the system.
Since Lollipop, ROMs have been increasing in size greatly. They even use a different installation method. Our measly 598MB /system partition, which couldn't even hold all of 4.1.2 TouchWiz, has been moved to what /data was before. That means 2GB for the ROM, Gapps (yes, you can even flash STOCK!), BusyBox, root stuff, extensions, you name it!
And that 598MB /system partition becomes /cache, because you can always have more cache!
No PIT is needed, and, if you flashed a PIT (like the one that gives you 6GB for data), flash it back to stock! You will end up with 7GB shared for the internal SD card and app data and 6GB for /system, which is ridiculous.
And the best part is: Nothing is damaged. It is 100% safe! It is just a renaming scheme, and you can always flash to stock in Odin.
Q: Which Gapps should I use?
A: Well, as always, it is your decision, so so as you wish. I personally use Nano, which I also recommend. However, you need to install keyboard_patch.zip (attached to this post) after a Full or smaller Gapps or you will get spammed by "Unfortunately, Android Keyboard (AOSP) has stopped.", making it impossible to set up your device.
Stock fixes this issue, but it also adds crapware that I bet you don't need, like Google Sheets, Google Maps, Google+, and especially Chrome.
Q: HALP!! I'm getting "Unfortunately, Android Keyboard (AOSP) has stopped.", I can't set up my phone, and I am about ready to throw this thing at the wall!!!!!1!
A: Calm down. Breathe. I know it is annoying and gives you headaches.
Just reboot into recovery (using the key combo), and flash keyboard_patch.zip, attached to this post.
Q: Whenever I browse the web in Chrome, my phone goes berserk! It slows down, shows me black screens then the lockscreen, etc.
A: Don't use Chrome. The stock browser is about as good and doesn't wreak havoc to our device. However, this is replaced when you flash a larger Gapps package. I recommend using Nano and installing what you want instead. Just wipe system, flash ROM, Nano, keyboard_patch.zip, and reboot. Alternatively, you can use Opera, which has everything Chrome has except Google account bookmark sync and bloat.
Q: I have one of the following issues:
Calls don't work. They reboot or say "Cellular network not available."
When I turn on my device, I don't have a data connection.
A: You flashed the wrong build. Flash anything after 20160126 and those issues are fixed!
Q: My battery life is bad.
A: Here are some general tips I use:
Turn data, WiFi, GPS and Bluetooth off when you are not using them.
Understand that lower signal = shorter battery life.
Settings > WiFi > Menu > Advanced > Keep WiFi on during sleep > Only when plugged in.
Settings > WiFi > Menu > Advanced > Always allow scanning > Off.
Black wallpaper = good.
Underclock/undervolt.
Lower brightness to the minimum you can see.
Enable the Power saver profile (currently not working on 2/16).
Install the blacked out // regression+ theme, which makes most things black. Pure black = good.
If you really want to stretch your battery life, you can do these extreme tweaks, however, they can affect the functionality of your phone.
Green-only mode. It looks pretty awesome and saves battery life. In terms of battery life, AMOLED screens get better battery life depending on the color displayed on the screen. Green > Red > Blue. Black uses almost no energy.
Set to blacked out // regression+
Black wallpaper
Brightness to 0%
Settings > Developer options > Simulate color space > Monochromacy. This makes it so you can (mostly) see non-green colors.
Settings > Display > LiveDisplay > Color calibration and set all but green to 0%.
Download [root] Naptime (with root enabled) and enable the Aggressive Doze mode. Your phone will be practically off (only the cell radio with data off is running) and you will not receive most notifications, sans phone calls, text messages, alarms, and seriously important notifications as soon as the screen turns off. This is also naturally enabled when you leave your phone unplugged and not moving for 30 minutes.
Hold down the power button and select "Power off". This is a feature that causes your phone to use absolutely no power, however, your phone will take about a minute or two to exit this mode and you will not receive any calls, notifications, texts, or anything and WiFi, mobile networks, Bluetooth, GPS and the CPU will be disabled during this mode.
Q: After 30 minutes of my phone's screen being off, WiFi turns off. I just can't seem to shake this bug!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That is called "Doze", it is a built-in feature added in Android to attempt to save battery. Jerry Hildenbrand did a good job explaining this at Android Central.
You can configure this using [root] Naptime, but it is a rather advanced tool.
Q: My keys stopped working! What did I do wrong?
A: Disable Sweep2wake in the "Advanced Settings" app. That tweak is cool, but not yet stable enough for daily use.
Q: How do I make things smaller?
A: Settings > Display & lights > LCD density.
Thankfully, they fixed the alignment bug, so you no longer need to edit your build.prop.
The larger the number, the larger things will be, and the smaller the device will identify as.
240 is the default. The 4.5 in (11.43 cm) device is recognized as a measly 3.89 in (9.87 cm). Friends don't let friends stay on 240 DPI.
Technically, the Celox has a DPI of 207, but apps work best with multiples of 20.
I personally recommend 200dpi, which makes the device identify as 4.66 in (11.85 cm). It is quite nice.
However, with a non-standard DPI (standards are 120, 160, 240, 320, 480, and 640), it can cause scaling issues like blurriness.
Q: Should I use EXT4 or F2FS?
A: I use F2FS. F2FS is safer for your data, writes faster, and is actually designed for flash memory (it is called Flash-Friendly File System), unlike EXT4, which is made for a hard drive. However, some people encountered issues with F2FS and the Play Store.
EXT4 is tried and true, and is still relevant.
Q: Why does my camera keep crashing?
A: In the Advanced Settings app, check "Force low-power flash".
Q: I get random reboots. I see the Samsung logo, then a black screen! Grr!
A: At the time of this writing, 1/26 (sometimes 1/27) is the most stable. Try flashing that.
Q: How do I remove the pesky # on the status bar?
A: Install this Xposed module, or it is also a part of this all-in-one tweakbox by the same developer.
Q: Are there any cool features in this ROM/Kernel?
A: Yes, there are more features in this than the usual CyanogenMod Celox kernel. Some features are still being worked on and are a bit unstable, but testing and fixing is welcome on our GitHub repo!
We have, so far:
Wake/Sleep:
sweep2wake
doubletap2wake
doubletap2sleep
pocket detection (enable in Kernel Adiutor)
Click to expand...
Click to collapse
Miscellaneous:
Backlight notification (the keys light up like the LED indicator we never had)
F2FS support
Screen undervolting to -500mV
Low-power flash
zRAM (compressed RAM)
Magically added more RAM: Now we have 834MB.
Click to expand...
Click to collapse
CPU general
Overclock to 1.83GHz
Under/Overvolting
A democracy of governors (see below)
GPU can be overclocked to 320MHz
Click to expand...
Click to collapse
CPU Governors:
Bold are considered (mostly) stable.
hyper
badass
conservative
gaming
interactive
interactiveX
lazy
lionheart
minmax
ondemand (the default)
performance
powersave (though this just locks at the minimum frequency)
sakuractive
samsung
scary
smartassV2
uberdemand
userspace
wheatley
Click to expand...
Click to collapse
I/O Schedulers:
bfq
cfq
deadline
noop
row
Click to expand...
Click to collapse
If you want more, request it!
Or... even better, contribute to the kernel on Github.
Q: Why can't I configure my CPU governors?
There was a bug in the 2/16 build that added governors, but they had issues with case-sensitivity. Flash 2/22 or newer and you get governors and configuration.
Q: When will we get an update?
A: Be patient! Or build it yourself. Don't forget that some people have lives, and some people don't have lives but still aren't going to constantly update.
I will update this with more questions and answers.
Please don't quote this whole thing. Just mention @Easy_as_Pi_3.14 and I should respond quickly. Or don't, I am subscribed to this thread and love to answer questions.
Easy_as_Pi_3.14 said:
Q: My battery life is bad.
Sorry, this isn't the best ROM for battery life. That hasn't really been hammered out yet.
However, here are some general tips I use:
Turn data, WiFi, GPS and Bluetooth off when you are not using them.
Black wallpaper = good.
Underclock/undervolt.
Lower brightness to the minimum you can see.
Enable the Power saver profile (currently not working on 2/16).
Install the blacked out // regression+ theme, which makes most things black. Pure black = good.
If you really want to stretch your battery life, you can do these extreme tweaks, however, they can affect the functionality of your phone.
Green-only mode. It looks pretty awesome and saves battery life. In terms of battery life, AMOLED screens get better battery life depending on the color displayed on the screen. Green > Red > Blue. Black uses almost no energy.
Set to blacked out // regression+
Black wallpaper
Brightness to 0%
Settings > Developer options > Simulate color space > Monochromacy. This makes it so you can (mostly) see non-green colors.
Settings > Display > LiveDisplay > Color calibration and set all but green to 0%.
Download [root] Naptime (with root enabled) and enable the Aggressive Doze mode. Your phone will be practically off (only the cell radio with data off is running) and you will not receive most notifications, sans phone calls, text messages, alarms, and seriously important notifications as soon as the screen turns off. This is also naturally enabled when you leave your phone unplugged and not moving for 30 minutes.
Hold down the power button and select "Power off". This is a feature that causes your phone to use absolutely no power, however, your phone will take about a minute or two to exit this mode and you will not receive any calls, notifications, texts, or anything and WiFi, mobile networks, Bluetooth, GPS and the CPU will be disabled during this mode.
Click to expand...
Click to collapse
I have to differ with this point. As I have said many times in the main thread, my battery life has been awesome. I have a healthy battery. You have stated that your battery is nearly dead and that you jump through these hoops to get it to last.
I post this so that people who see this don't think that this rom is bad for battery life. It's not, if you have a healthy battery. Here are my current settings:
Screen always on Auto Brightness
Wifi Always on (even when connected to Data)
Sync is always on
NFC off
BT off
I use data about 25% of the time
When on Data I have location set to battery saving
I use the Balanced battery setting
I make all my calls through Hangouts
I have dozens of apps installed
I am using Rom V. 1/26 (dirty flashed)
My average battery life right now is about 24-36 hours with 1.5-2.5 hours of Screen on Time. And my battery charges from about 10% to full in about two hours. My best battery life so far has been about 49 hours with 1.25 hours of SOT before needing to recharge. My average Doze usage is about 1.5%/hour- this is without tinkering with Doze settings with an app.
This battery life is on par with newer devices.
edit. Here is a screenshot of my battery usage right now. Nearly two days and this is with about 1 hour of SOT
cameraddict said:
I have to differ with this point. As I have said many times in the main thread, my battery life has been awesome. I have a healthy battery. You have stated that your battery is nearly dead and that you jump through these hoops to get it to last.
I post this so that people who see this don't think that this rom is bad for battery life. It's not, if you have a healthy battery. Here are my current settings:
Screen always on Auto Brightness
Wifi Always on (even when connected to Data)
Sync is always on
NFC off
BT off
I use data about 25% of the time
When on Data I have location set to battery saving
I use the Balanced battery setting
I make all my calls through Hangouts
I have dozens of apps installed
I am using Rom V. 1/26 (dirty flashed)
My average battery life right now is about 24-36 hours with 1.5-2.5 hours of Screen on Time. And my battery charges from about 10% to full in about two hours. My best battery life so far has been about 49 hours with 1.25 hours of SOT before needing to recharge. My average Doze usage is about 1.5%/hour- this is without tinkering with Doze settings with an app.
This battery life is on par with newer devices.
edit. Here is a screenshot of my battery usage right now. Nearly two days and this is with about 1 hour of SOT
Click to expand...
Click to collapse
Well,
You had amazing signal 24/7. Damn you, T-Mobile!!!!! (I miss the days of the you-step-indoors-and-you-lose-signal and AT&T users laugh)
1 hour of SOT. Try this: Marathon it. Do a YouTube playlist. Go on a Google Search frenzy.
You were in Doze 95% of the time.
David (not even gonna try to spell his username, too late at night) was also comparing his battery life to 4.4 AOKP. I have always heard that AOKP is amazing on battery life.
Update, here is my battery life. The Doze part was me using my S3 when this was on my bed, and then finally watching The Force Awakens. (PS: Great movie!)
And that is in airplane mode the whole time.
The rest was mostly me web browsing or watching a YouTube playlist.
Sent from my SGH-I727 using Tapatalk
Great job on this rom. Running great on 1/26. Didn't see it but is there a way to disable superuser icon in the status bar? I saw it for alarm, wifi, etc.... But not for SU. Just curious. Thanks.
tommyguns818 said:
Great job on this rom. Running great on 1/26. Didn't see it but is there a way to disable superuser icon in the status bar? I saw it for alarm, wifi, etc.... But not for SU. Just curious. Thanks.
Click to expand...
Click to collapse
Nope. There may be Yes, there is an Xposed module for that. See two posts down.
Sent from my SGH-I727 using Tapatalk
Easy_as_Pi_3.14 said:
Well,
You had amazing signal 24/7. Damn you, T-Mobile!!!!! (I miss the days of the you-step-indoors-and-you-lose-signal and AT&T users laugh)
1 hour of SOT. Try this: Marathon it. Do a YouTube playlist. Go on a Google Search frenzy.
You were in Doze 95% of the time.
Click to expand...
Click to collapse
Yeah, I get pretty good signal here. I live in a major city. :good:
But about 8 hours of that was in an area of low signal. Also, my Doze usage was for nearly two days! And I didn't baby the phone. I just used it for messaging/calls/email and a few searches, and my calendar and updating a few apps in that time. When I plugged it in this morning I had hit 48 hours with 1.25 SOT with 4% left. I could have gone another few hours if need be.
My average SOT time is closer to 2.5 hours with about 24 hours standby (Doze). I've gotten as high as about 4 hours SOT with about 18 hours standby. I've already run a high drain test, SOT almost at 100% of the time, it averaged about 20%/hour. So at that rate the device would last for about 5 hours. But that is not average usage. My high usage of 3-4 hours with 18 hours standby is a better metric. And by all standards, this is excellent battery life for a device with an 1800mah battery without battery saving features engaged!
Oh, and my Doze usage last night was at 0.9%/hour
tommyguns818 said:
Great job on this rom. Running great on 1/26. Didn't see it but is there a way to disable superuser icon in the status bar? I saw it for alarm, wifi, etc.... But not for SU. Just curious. Thanks.
Click to expand...
Click to collapse
Yep, there is an Xposed mod for that! Disable su indicator (CM12) or in his all-in-one here.
I updated the Q&A. Thanks for asking that question!
@Easy_as_Pi_3.14 can I call you 22/7's?
You might want to include my video demonstrations of the wake algorithms in the FAQ
https://www.youtube.com/playlist?list=PLZ_n933bbFxFX7UUVjookMDEl1DYShSfg
(Sweep2Sleep and leniency are irrelevant to this kernel)
Also make a note that pocket detection makes wake controls not work when it's sufficiently dark
(My algorithm uses the light sensor data to check if it's in a pocket, YMMV on "sufficiently")
Also, btw, you might wanna make a list of recommended stable governors
IMO Uberdemand seems to be one of them
Further more I recommend putting that f2fs is only for data and cache (or maybe put a guide with how to convert to it)
Also, you are missing a few things in the kernel features that might be good to mention, and maybe explain what they are
Vibration Intensity, TCP Congestion Controls, KCAL, MDP Cooler Colors Control
I'll keep thinking of stuff to add to the FAQ
No doubt it will get bigger and bigger as time goes on :/
javelinanddart said:
@Easy_as_Pi_3.14 can I call you 22/7's?
You might want to include my video demonstrations of the wake algorithms in the FAQ
https://www.youtube.com/playlist?list=PLZ_n933bbFxFX7UUVjookMDEl1DYShSfg
(Sweep2Sleep and leniency are irrelevant to this kernel)
Also make a note that pocket detection makes wake controls not work when it's sufficiently dark
(My algorithm uses the light sensor data to check if it's in a pocket, YMMV on "sufficiently")
Also, btw, you might wanna make a list of recommended stable governors
IMO Uberdemand seems to be one of them
Further more I recommend putting that f2fs is only for data and cache (or maybe put a guide with how to convert to it)
Also, you are missing a few things in the kernel features that might be good to mention, and maybe explain what they are
Vibration Intensity, TCP Congestion Controls, KCAL, MDP Cooler Colors Control
I'll keep thinking of stuff to add to the FAQ
No doubt it will get bigger and bigger as time goes on :/
Click to expand...
Click to collapse
For short, call me @π.
Or, 355/113 will still get my attention.
Governor Explanations
I found this interesting thread about different governors, how they work and how to tweak them. Thought some might find it interesting:
@bryan2894, I noticed that the Show CPU usage in Developer options is blocked by SELinux.
I know it is silly, but here is the message:
Code:
type=1400 audit(1456274524.501:678): avc: denied { search } for pid=743 comm="ndroid.systemui" name="3846" dev=proc ino=31386 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0
Deleted
Deleted
@bryan2894 @javelinanddart
I got a logcat/dmesg of the infamous touchkey derp.
I got it around 6:00.
Sorry about the "MP-Decision" spam.
Couldn't find it, but is there power menu options to add screenshot?
tommyguns818 said:
Couldn't find it, but is there power menu options to add screenshot?
Click to expand...
Click to collapse
It is there already for me.
However, I found it easier to either use the key combo (volume first helps) or downloading an advanced file manager (my favorite), open Now On Tap (long-press Home in virtual keys, Menu or Search if I recall correctly on touchkeys), hit the share button, then use Save as.
Sent from my SGH-I727 using Tapatalk
Easy_as_Pi_3.14 said:
@bryan2894 @javelinanddart
I got a logcat/dmesg of the infamous touchkey derp.
I got it around 6:00.
Sorry about the "MP-Decision" spam.
Click to expand...
Click to collapse
Yeah idk about the logcat (not my forte), but I looked for some touchkey errors in kmsg:
Code:
[19778.598175] [TKEY] tkey_vdd_enable: enter
[19778.598358] tkey_led_vdd_enable 0
[19778.732757] [TKEY] sec_touchkey_early_resume
[19778.732788] [TKEY] tkey_vdd_enable: enter
[19778.732849] tkey_led_vdd_enable 1
[19779.286621] [TKEY] enter touchkey_auto_calibration
[19952.978363] key pressed
[19953.873016] key released
[19958.626525] key pressed
[19959.776763] key released
[19969.971923] key pressed
[19970.642944] key released
[19977.845245] key pressed
[19978.931579] key released
EDIT: @Easy_as_Pi_3.14 What is the touchkey derp btw? I'm clueless about that, never heard of it.
javelinanddart said:
Yeah idk about the logcat (not my forte), but I looked for some touchkey errors in kmsg:
Code:
[19778.598175] [TKEY] tkey_vdd_enable: enter
[19778.598358] tkey_led_vdd_enable 0
[19778.732757] [TKEY] sec_touchkey_early_resume
[19778.732788] [TKEY] tkey_vdd_enable: enter
[19778.732849] tkey_led_vdd_enable 1
[19779.286621] [TKEY] enter touchkey_auto_calibration
[19952.978363] key pressed
[19953.873016] key released
[19958.626525] key pressed
[19959.776763] key released
[19969.971923] key pressed
[19970.642944] key released
[19977.845245] key pressed
[19978.931579] key released
EDIT: @Easy_as_Pi_3.14 What is the touchkey derp btw? I'm clueless about that, never heard of it.
Click to expand...
Click to collapse
Sweep2wake sometimes makes the touchkeys stop working.
Sent from my SGH-I747 using Tapatalk
Easy_as_Pi_3.14 said:
Sweep2wake sometimes makes the touchkeys stop working.
Sent from my SGH-I747 using Tapatalk
Click to expand...
Click to collapse
Hmmm... I've had that before as well, but I do not recall having it on hercules (although I'm on CM11)
I had it on T769 (Candy 5.1)
So maybe it's a LP+ Issue?
Does anyone remember having it from before LP?

Adjust the charging speed to your likings

Hey guys,
this thread is supposed to show you exactly, how you can change the charging voltage and charging current of the Xiaomi Redmi 5 Plus (vince). This could very well also work with other phones, as I first heard of them in a Magisk module, NOT related to this phone. This is my first thread on xda and I'm not a native speaker, so please excuse mistakes
So, there are two files associated with the kernel, that control voltage and current. For most kernels for vince, these files exist (DA, Zucc, Genom, and maybe also the others... doesn't work on Kirks Kernel) at the moment. Of course I don't know if these files still exist when a new android version is brought to this phone ^^
So let's start. The two files I mentioned are located here:
Current: /sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,[email protected]:qcom,qpnp-smbcharger/power_supply/battery/constant_charge_current_max
Voltage: /sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,[email protected]:qcom,qpnp-smbcharger/power_supply/battery/voltage_max
For Linux 3.18 Kernels:
Current: /sys/devices/soc/qpnp-smbcharger-18/power_supply/battery/constant_charge_current_max (stock value: 2000000 = 2000mA)
Voltage: /sys/devices/soc/qpnp-smbcharger-18/power_supply/battery/voltage_max (stock value: 4380 = 4,38V)
The values in constant_charge_current_max are measured in mA/1000. So that means, if you want to set 2000mA, you have to type 2000000 in this file.
The values in voltage_max are in mV, so if you want to set for example 4,2V as a maximum, you would have to type 4200 in this file.
MY RECOMMENDATIONS:
To set good values on these interfaces, we have to understand them correctly. Let's start with the voltage. The charging voltage (in order to charge) always has to be higher than the voltage the battery has. The battery of this specific phone ranges from 4,3V to 3,7V (4,3V on 100%, gradually going to 3,7V when reaching 0% (not sure about the 3,7V, correct me if you can )). I wouldn't change it. The voltage needs to be 4380 mA if you want you phone to charge until it's full. Even if you don't want that, I'd take another way to stop your phone from charging any further (there are good magisk modules that do exactly that, even with more features).
Now let's speak about the charging current, the holy grail of charging haha :laugh: Basically, if you want faster charging, go with values higher than 2000mA. I'd take 2500mA max, as the battery can get very hot. If you want your phone to stay cool while charging, which causes the battery to last way longer (https://www.sciencedirect.com/science/article/abs/pii/S0378775314004352), I'd recommend finding a charging current which keeps your temperature at about 25°C, which is the optimal temperature (see the reference, it's not a long text). For me, this is 1850mA, but if you live somewhere where it's very cold or hot, this can vary significantly. In the end, this is personal preference and should depend on how long you want to keep your phone, and how important charging speed is to you.
As for all kernel or /sys values, these will be reset on every reboot, so you'll have to find a way to set in on every boot. I tried creating a init.d file, but even though I set the permissions of the init.d file etc, it failed every time. So personally, I use Custom Controls in Kernel Adiutor, but I think EXKM has something similar. Of course I can only show the way with Kernel Adiutor and FKM in the following, as I don't have EXKM.
How to set these values with Kernel Adiutor:
For this, you have to enable the Custom Controls in Kernel Adiutor settings, if you disabled it previously.
Let's start with the current:
Go in the Custom Controls menu, click on the + and then "create". For this type of value, we need a seekbar. The title is irrelevant really, I'd choose "Charging Current". As a min, choose 0, and as max, choose the exact same value you want to use (if you're still unsure, just take 2000000/2500000, depending on if you want to increase it or not). I do this, because it is very hard to get the seekbar to an exact value (for example 1850000), because the numbers are so high. So i just set the max to what I want, and just max out the seekbar.
In "Progress", you have to put in exactly this:
For 3.18 kernels:
#!/system/bin/sh
head /sys/devices/soc/qpnp-smbcharger-18/power_supply/battery/constant_charge_current_max
Press test to confirm you typed it in correctly. Otherwise you also won't be able to set this control
in "Applying", put in exactly this:
#!/system/bin/sh
progress=$1
echo $progress > /sys/devices/soc/qpnp-smbcharger-18/power_supply/battery/constant_charge_current_max
Don't forget to delete the # before the second line (progress=$1), otherwise this will set nothing.
For 4.9 kernels:
#!/system/bin/sh
head /sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,[email protected]:qcom,qpnp-smbcharger/power_supply/battery/constant_charge_current_max
Press test to confirm you typed it in correctly. Otherwise you also won't be able to set this control
in "Applying", put in exactly this:
#!/system/bin/sh
progress=$1
echo $progress > /sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,[email protected]:qcom,qpnp-smbcharger/power_supply/battery/constant_charge_current_max
Don't forget to delete the # before the second line (progress=$1), otherwise this will set nothing.
That's it, you can use this control now ^^ But if you want this to set on every boot, after setting it up, you have to click on the 3 dots of this control and check "On boot".
Basically, for the voltage, I'd take 0 as minimum, and 4400 as maximum, and change the file location to the voltage (on progress and applying), and the rest is the same!
So, that's it! It's possible that someone will write a magisk module for that some day, but until then, I think this is a very easy solution. Have fun with it!
How to set these values with Franco Kernel Manager:
These screenshots are provided by @Niamotullah
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Good job mate! Keep up the work!
8t really works and I get full control over charging speed now.
So i setup everything in kernel auditor and there is no save button besides in progress and applying fields, and when i press back button no custom control appears. Am i doing something wrong?
bot88 said:
So i setup everything in kernel auditor and there is no save button besides in progress and applying fields, and when i press back button no custom control appears. Am i doing something wrong?
Click to expand...
Click to collapse
Probably you didn't press "test" after typing in everything in "progress"
Doomkopf said:
Probably you didn't press "test" after typing in everything in "progress"
Click to expand...
Click to collapse
Yes i did press test but nothing shows up underneath.
I can't find files
mutlubas said:
I can't find files
Click to expand...
Click to collapse
What kernel and rom are you using?
bot88 said:
Yes i did press test but nothing shows up underneath.
Click to expand...
Click to collapse
Can you attach a screenshot? Can't help you this way ^^
Doomkopf said:
What kernel and rom are you using?
Click to expand...
Click to collapse
ı using global beta rom kirks kernel
mutlubas said:
ı using global beta rom kirks kernel
Click to expand...
Click to collapse
Then that kernel probably doesn't have those files, I'm sorry ^^ I'll add it to the thread so people know
Doomkopf said:
Then that kernel probably doesn't have those files, I'm sorry ^^ I'll add it to the thread so people know
Click to expand...
Click to collapse
Which kernel supports these files.
Can I set the charge rate with Kirks kernel kernel auditor
mutlubas said:
Which kernel supports these files.
Can I set the charge rate with Kirks kernel kernel auditor
Click to expand...
Click to collapse
Look at the OP. Zucc currently doesn't work, but it used to and the dev told me that he tries to implement it in the Linux 4.9 Kernel again.
With Genom and Dark Ages it works.
IDK about Kirks Kernel, never tried it. But you told me it doesn't work ^^ Check with your filemanager if you have those files please
Doomkopf said:
Can you attach a screenshot? Can't help you this way ^^
Click to expand...
Click to collapse
Sorry my bad, when i checked those files manually i figured the kernel "dark ages" i was using doesn't have those files, now I'm using "genom" kernel which is much better and stable. Also gives me default charging rate of 1800mah without modification of any files. After settings up this control 2500mah as maximum i tested different charging rates at different states of battery. As follows
34% = 2470mah
47% = 2240mah
69% = 1800mah
88% = 1430mah
96% = 836mah
4.2 volts in all states.
Given results are pure observation without any specific app made by just looking charging info given at lockscreen (feature provided by some custom ROMs in this case Havoc os2.1)
Thus i can't confirm if they are consistent throughout whole charging cycle.
Charger used: a third part charger rated at 5v 2.4amps.
You mileage may vary, my test also confirm that cables can also affect outcomes. Such as original one plus one cable from (1+1 first generation phone) does not go abve than 1500mah even when suitable charger is used. Only cable which works for me is a $15 cable i bought from store the other day, which is quite expensive but quality speaks for it self.
:good: :fingers-crossed: peace out
bot88 said:
Sorry my bad, when i checked those files manually i figured the kernel "dark ages" i was using doesn't have those files, now I'm using "genom" kernel which is much better and stable. Also gives me default charging rate of 1800mah without modification of any files. After settings up this control 2500mah as maximum i tested different charging rates at different states of battery. As follows
34% = 2470mah
47% = 2240mah
69% = 1800mah
88% = 1430mah
96% = 836mah
4.2 volts in all states.
Given results are pure observation without any specific app made by just looking charging info given at lockscreen (feature provided by some custom ROMs in this case Havoc os2.1)
Thus i can't confirm if they are consistent throughout whole charging cycle.
Charger used: a third part charger rated at 5v 2.4amps.
You mileage may vary, my test also confirm that cables can also affect outcomes. Such as original one plus one cable from (1+1 first generation phone) does not go abve than 1500mah even when suitable charger is used. Only cable which works for me is a $15 cable i bought from store the other day, which is quite expensive but quality speaks for it self.
:good: :fingers-crossed: peace out
Click to expand...
Click to collapse
Dark Ages doesn't have it? That's weird. I think I used lastest stable version and it worked
Yea, the problem is 4,2V I explained in my voltage recommendations why 4,2V is problematic. The voltage has to be a certain amount higher than the voltage of the battery (which I also mentioned in the OP). I'd recommend setting it to the standard, 4380(mV), so your battery charged faster when at higher percentages.
Wow, thank you very interesting information. True, I’m afraid to overclock the charge strongly so as not to squeeze the battery hard.
As you guys may have noticed, Linux 4.9 got ported to our device. It broke my setup (Kernel Adiutor said it can't get an integer value out of the file), but it still works! The symlinks got changed, so these are the new paths to the files:
/sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,[email protected]:qcom,qpnp-smbcharger/power_supply/battery/constant_charge_current_max
/sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,[email protected]:qcom,qpnp-smbcharger/power_supply/battery/voltage_max
Enjoy!
Is there any way to do this thing without root ?
Maybe by changing some files through twrp and adb.?
tanuj_mehta said:
Is there any way to do this thing without root ?
Maybe by changing some files through twrp and adb.?
Click to expand...
Click to collapse
I'd say no, because those values always reset after a reboot so they shouldn't stick if you set it in twrp and reboot to your system Maybe there is a way, but I don't see one :/
Thanks.. it's really helps me..
I did it using franco kernel manager
Niamotullah said:
Thanks.. it's really helps me..
I did it using franco kernel manager
Click to expand...
Click to collapse
Thanks again for providing the screenshots! They have been added to the OP

Battery drain fix

My story
I have The Tencent version of the Asus rog phone 2, I mainly bought it for battery life, I am not a gamer.
I also saw that some users report about excellent battery life while others suffer from battery drain issues.
In reality the battery life was similar to my previous Samsung Galaxy S8 Plus which had half the battery capacity.
The SOT was around 4-6 hours and the phone drained around 5-8 percent of battery per hour when it was suppose to sleep.
I tried BBS (Better Battery Stats), GSAM etc.
Eventually I found a solution, this solution is relevant to me and may not apply to others but it's worth a shot.
My solution
First off, your phone must be rooted and on Android 9 version.
Download the Kernel by the brilliant @Freak07 from here:
https://forum.xda-developers.com/ro...rnel-kirisakura-1-0-0-asus-rog-phone-t4028237
Download EX Kernel Manager.
Go to Tools - Block Wakelocks and see what is waking your device.
In my case a process called qcom_rx_wakelock kept my device awake and murdered my battery.
With the help of @HomerSp we found that the reason for this is a device in my network that is sending packets over the network, there are 3 possible solutions:
1. For root users - Disable the qcom_rx_wakelock from the EX Kernel Manager program (This is what I did and I did not experience any issues).
2. For root users - Edit this file - /vendor/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini find the variant "hostArpOffload " and change the number from "1" to "0".
3. For non root users - Go to your router settings and under "Local Network" set IGMP snooping off. (this solution is less efficient).
In addition I disabled 2 more processes that drained my battery - "hal_bluetooth_lock" and "c8c000.qcom.qup_uart" (again with no apparent issues).
In addition I've downloaded the Universal GMS doze module from Magisk which is basically optimizing my battery for Google Play Services.
As I mentioned in the beginning this solution worked for me, your battery drain cause might be different but you can easily check what is keeping your device awake with the EX Kernel Manager (this processes wasn't shown in BBS or GSAM).
I am now getting 7.5-9 SOT and the battery drain around 1% per hour while idle.
I have Bluetooth on all the time and I am connected to a Smartwatch, Location is off and 120hz refresh rate.
I hope this guide would help others.
Aviv.
So far the beta Android 10 seems to be much better with battery draining apps
Thank you for the guide, the only thing I couldnt manage to work is I have to run every time;
Disable the qcom_rx_wakelock from the EX Kernel Manager and "hal_bluetooth_lock" and "c8c000.qcom.qup_uart manually, switched on apply on reboot,
I open the app every time I boot and hit the apply on boot button, am I doing something wrong, is there a script for auto apply whenever I reboot ?
avivv said:
My story
I have The Tencent version of the Asus rog phone 2, I mainly bought it for battery life, I am not a gamer.
I also saw that some users report about excellent battery life while others suffer from battery drain issues.
In reality the battery life was similar to my previous Samsung Galaxy S8 Plus which had half the battery capacity.
The SOT was around 4-6 hours and the phone drained around 5-8 percent of battery per hour when it was suppose to sleep.
I tried BBS (Better Battery Stats), GSAM etc.
Eventually I found a solution, this solution is relevant to me and may not apply to others but it's worth a shot.
My solution
First off, your phone must be rooted and on Android 9 version.
Download the Kernel by the brilliant @Freak07 from here:
https://forum.xda-developers.com/ro...rnel-kirisakura-1-0-0-asus-rog-phone-t4028237
Download EX Kernel Manager.
Go to Tools - Block Wakelocks and see what is waking your device.
In my case a process called qcom_rx_wakelock kept my device awake and murdered my battery.
With the help of @HomerSp we found that the reason for this is a device in my network that is sending packets over the network, there are 3 possible solutions:
1. For root users - Disable the qcom_rx_wakelock from the EX Kernel Manager program (This is what I did and I did not experience any issues).
2. For root users - Edit this file - /vendor/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini find the variant "hostArpOffload " and change the number from "1" to "0".
3. For non root users - Go to your router settings and under "Local Network" set IGMP snooping off. (this solution is less efficient).
In addition I disabled 2 more processes that drained my battery - "hal_bluetooth_lock" and "c8c000.qcom.qup_uart" (again with no apparent issues).
In addition I've downloaded the Universal GMS doze module from Magisk which is basically optimizing my battery for Google Play Services.
As I mentioned in the beginning this solution worked for me, your battery drain cause might be different but you can easily check what is keeping your device awake with the EX Kernel Manager (this processes wasn't shown in BBS or GSAM).
I am now getting 7.5-9 SOT and the battery drain around 1% per hour while idle.
I have Bluetooth on all the time and I am connected to a Smartwatch, Location is off and 120hz refresh rate.
I hope this guide would help others.
Aviv.
Click to expand...
Click to collapse
@avivv, your tutorial is pure gold . c8c000.qcom.qup_uart was eating my battery, now the power consumption seems to be back to normal, especially when using bluetooth.
@fethi2, same happens here, after a restart I must go back and block those processes (apply on boot is disabled after restart). Maybe something related to the kernel not being fully compatible to the EXKernelManager.
That's odd for me it stays blocked after a reboot.
Did you update the kernel to 1.0.2? This if my version.
Also I am using the paid ex manager kernel software version 5.31
I think I found the problem, go to the phone settings, advances, mobile manager, powemaster and allow auto start for magisk and ex kernel
avivv said:
I think I found the problem, go to the phone settings, advances, mobile manager, powemaster and allow auto start for magisk and ex kernel
Click to expand...
Click to collapse
They are both enabled here in autostart menu. Weird...
Be aware that if you got valid warranty. then do not ROOT since ROOTING requires bootloader unlock and that will void your warranty.
I have the exact same problem with the battery and I have the global version.
I'm still not up for rooting the phone right now though so instead, I'm trying out Android 10 beta and hoping it improves my situation.
Currently just getting a day of light usage with about 4 - 6 hours SOT. Doesn't feel like a 6000 mAh phone.
Ryle333 said:
I have the exact same problem with the battery and I have the global version.
I'm still not up for rooting the phone right now though so instead, I'm trying out Android 10 beta and hoping it improves my situation.
Currently just getting a day of light usage with about 4 - 6 hours SOT. Doesn't feel like a 6000 mAh phone.
Click to expand...
Click to collapse
Just 4-6? I charged my phone before gaming to 88%. Currently 18% after 4.5 hr of gaming.
And I'm on latest beta
Ryle333 said:
I have the exact same problem with the battery and I have the global version.
I'm still not up for rooting the phone right now though so instead, I'm trying out Android 10 beta and hoping it improves my situation.
Currently just getting a day of light usage with about 4 - 6 hours SOT. Doesn't feel like a 6000 mAh phone.
Click to expand...
Click to collapse
You can try to turn off the wifi and Bluetooth and check if it helps without root.
Already tried that. Still drains fast.
apollo3x said:
Just 4-6? I charged my phone before gaming to 88%. Currently 18% after 4.5 hr of gaming.
And I'm on latest beta
Click to expand...
Click to collapse
You're lucky. I only get 4.5 to 6 hours even without gaming.
I'm not rooted and my battery life is very good
I downloaded the app "naptime" from play store
Then I followed the app's instructions to input two lines of code into adb (please only do this if you know what you're doing, even though adb is pretty harmless)
Then enable aggressive doze in the app
Hopefully it might solve the idle drain some of you guys are experiencing? Never compared the battery life between the app on or off though
Can't help with the heavy gaming drain though I don't game that much and have excellent battery life IMO
6k battery for nothing ...
I bought the tencent version,rooted w twrp, formatted everything and installed the last firmware from Asus on android 9-changed WW fingerprint and WW rom . WHAT A PIECE OF JUNK,CARRYING ALL THAT WEIGHT AND SIZE FOR 6 SOT ...if i only knew i would'eve got a other smartphone. DONT MAKE MY MISTAKE,6K BATTERY IS JUST a marketing move . Ops sorry from 4-6 hours(tried what aviv recommend ed and it didn't help). Just stay away ...
dragheorg said:
I bought the tencent version,rooted w twrp, formatted everything and installed the last firmware from Asus on android 9-changed WW fingerprint and WW rom . WHAT A PEACE OF JUNK,CARRYING ALL THAT WEIGHT AND SIZE FOR 6 SOT ...if i only knew i would'eve got a other smartphone. DONT MAKE MY MISTAKE,6K BATTERY IS JUST a marketing move . Ops sorry from 4-6 hours(tried what aviv recommend ed and it didn't help). Just stay away ...
Click to expand...
Click to collapse
Return your phone to seller and buy another one. You have crappy one. My SOT is 10-12h everytime
dragheorg said:
I bought the tencent version,rooted w twrp, formatted everything and installed the last firmware from Asus on android 9-changed WW fingerprint and WW rom . WHAT A PEACE OF JUNK,CARRYING ALL THAT WEIGHT AND SIZE FOR 6 SOT ...if i only knew i would'eve got a other smartphone. DONT MAKE MY MISTAKE,6K BATTERY IS JUST a marketing move . Ops sorry from 4-6 hours(tried what aviv recommend ed and it didn't help). Just stay away ...
Click to expand...
Click to collapse
Damn that's unfortunate. I made some tweaks with root and I get 15 to 18 hours SOT very easily.
vygneys_vyg said:
Damn that's unfortunate. I made some tweaks with root and I get 15 to 18 hours SOT very easily.
Click to expand...
Click to collapse
What kind of tweaks? Im curious
djisma86 said:
What kind of tweaks? Im curious
Click to expand...
Click to collapse
First off just many tweaks in settings app itself, like background check, adaptive battery.
I disabled most of the installed apps' background services.
Used servicely and disabled over 20 system services.
Used substratum and made almost the whole phone pitch black themed using Pitchblack origins theme.
13-15 hours easy at 120Hz. 18 hours possible with 60Hz.
vygneys_vyg said:
First off just many tweaks in settings app itself, like background check, adaptive battery.
I disabled most of the installed apps' background services.
Used servicely and disabled over 20 system services.
Used substratum and made almost the whole phone pitch black themed using Pitchblack origins theme.
13-15 hours easy at 120Hz. 18 hours possible with 60Hz.
Click to expand...
Click to collapse
Bro please inform us which one to keep/not keep:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources