yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] yurtesen:
I think the idea is a great one. But the way it is implemented is wrong. So it is not useful. (reminds me of the days when people deleted battery stats file, due to misinformation, to increase their battery life :D) Because:

1- If I set a 80% - 85% limit and start playing a game, the phone charges to 85%, then discharges to 80% then charges to 85%, effectively using the battery and wearing it off by charge/discharge cycling.

2- The program does not limit the charge maximum voltage. Phone charges the battery with default maximum, in my case 4.350V, voltage in either case. So the battery comes under stress due to maximum voltage during charging, even when you charge up to 85%. Yes, high charging voltages wear lithium batteries, thats why charging IC output can't exceed the maximum battery voltage during charging.

3- Program shows the battery temperature, but it does not seem to do anything about it?

4- For people who were discussing the trickle charging on this thread. There is no trickle charge for lithium batteries. Lithium batteries are charged to full using constant voltage. Trickle charge is a feature of Ni-CD/MH batteries only. Actually, you can't trickle charge lithium batteries using lithium chargers due to laws of physics not allowing it. (since chargers use constant voltage to finish charge cycle).

When the charging IC output voltage and the battery voltage are same, charging will stop, period. For example, you can have charging voltage set to 4.2V and once your battery reaches 4.2V there can't be any meaningful amount of electron exchange anymore. This is due to laws of physics. The IC normally does NOT turn off the output. Because if it turns off output, the device would start draining battery, effectively using it and wearing it down via discharge.

When this application instructs turn off of charging circuit, immediately the battery starts wearing down from usage.

So, it was a no brainer for me to simply download the 'boot shell' app and set my battery limit at /sys/class/power_supply/battery/voltage_max to 4.2 volts (from 4.35) and I limited the charge temp to 40C (from 45C) in /sys/class/power_supply/bms/temp_warm Now my phone charges the battery with maximum voltage of 4.2V (without exceeding it) which equals to about 84% of the maximum capacity. The charging IC stays on as long as the phone is connected to the adapter, therefore the battery is NOT used and worn down. Phone stops charging if temperature goes over 40C and continues when it is under. As a plus, all without using any programs running in the background. Because settings should be set at boot only once. But, I did this on my leeco pro3 with lineageos and perhaps not all settings are available on all roms/hardware.
[Android Apps and Games] hgmichna:
Charging current

Charge-discharge cycles do not by themselves wear out a Li-ion battery. It is worn out by high voltage (and high temperature) only, not by the charging or discharging current. In other words, as long as the voltage is kept low (below 3.92 V), you can charge and discharge all you like, the battery will hardly be degraded at all and will gladly sustain thousands of cycles.

Certain charge percentages (SoC) correspond closely with certain voltages. For example, on most phones 60% corresponds with roughly 3.9 V and 100% corresponds with something around 4.2 to 4.35 V, slightly different for different phone types.

If all phones would let the app access the voltage, one could discuss an alternative, voltage-related limit, but it is not very important.

When the battery is being charged and approaches 100%, the charging current becomes lower as a consequence of the voltage limit, as you rightly mention. Some people, including me, may have called these low currents "trickle charge", which is, indeed, not quite correct, but excusable.

To my knowledge many phones charge to 100% and then completely stop charging and letting the battery cool down and the voltage settle down a bit too. They might begin charging again at somewhere around 95%, but during that time they always show 100% to avoid users calling support all the time because their phones are not fully charged.

I agree that it could be a good idea to reduce the charging current when a certain temperature limit is exceeded, though 40°C is low. The counter-argument would be that a user knows that he needs a certain SoC to get him through the day, so he might well risk some battery degradation by charging at relatively high temperatures.

I think this is not worth the trouble of adding yet another extra setting.

In your individual case I think the conclusions you draw are good. Limiting voltage and temperature will extend the lifetime of your battery considerably. Just consider, when you travel to an exotic, tropical, hot country (Thailand?) where temperatures exceed 40°C, to raise your temperature limit, otherwise you might soon end up with an always empty battery.
[Android Apps and Games] iluvatrix:
Hi there I'm using nextbit robin on lineageos 15.1.

I have the same files you mentioned however my temp_warm file shows a value of 430 so wondering if that means 43C ? So then to replicate your setting I should put 400?

Also can please teach me how to use "boot shell" app to automate these 2 settings upon boot. Thanks a gazillion!!
[Android Apps and Games] yurtesen:
Yes, mine was like yours. I put 400 there. It is actually possible that I had 430, I am not sure if it was 430 or 450. You can experiment with it, I used Ampere app from the play store, first put something like 300 to see if it stops after 30C :)

You install boot shell app from play store. Then in "COMMANDS" section you add 2 commmands and set run at boot.

echo 400 > /sys/class/power_supply/bms/temp_warm

echo 4200 > /sys/class/power_supply/battery/voltage_max

You can run the commands by touching on them to see if they work. For example it is easy to set the voltage_max and look from Ampere if it does anything while charging.
[Android Apps and Games] iluvatrix:
Many thanks.

I'm rooted with latest magisk.

Must I install the busybox from magisk for boot shell app to work?
[Android Apps and Games] yurtesen:
[MENTION=4808470]iluvatrix[/MENTION] I simply have normal lineageos root addon and nothing else installed. The only requirement is having your device rooted. Did you try it and it did not work?
[Android Apps and Games] iluvatrix:
Hi thanks for asking.

Yes just latest magisk was enough to get it working.

Now am charging cooler.
[Android Apps and Games] JackOfOwls:
Hi. Question: is this the same version as what's available on googleplay or are they two entirely different builds/apps? I noticed it appeared to be different authors. I was using the googleplay version, and last night when I went to plug in my charger on my Xiaomi Redmi Note 5 when it dropped to 22% charge, I woke up this morning and was alarmed to discover that my phone had not only charged to 100% (I had set the limit to 80%) but it had booted into my TWRP's Recovery's lock screen (!). Only was using the app for a few days but it seemed to work properly previously. What could be the issue?
[Android Apps and Games] post-mortem:
If the OS isn't loaded, the app isn't running. Whatever caused your phone to reboot is the reason why it charged to 100%. This will also happen if you charge your phone when it's turned off.
[Android Apps and Games] JackOfOwls:
Yes, but I'm wondering what could have caused my phone to reboot. this is the first time my Xaiomi Redmi Note 5 spontaneously rebooted like that and I suspect it's the Battery Limit Charge app or perhaps in combination with another app. Everything is properly unlocked and rooted on my device. My OS was loaded and running at the time.
[Android Apps and Games] post-mortem:
Without logs, there's no way to know for sure why your phone rebooted by itself (to recovery, no less). Keep an eye on it, if and when it happens again, what you were doing on your phone that day, and how long it had been since you last restarted.

If it starts happening more frequently, you'll have to run logs to capture what happened.
[Android Apps and Games] km2442:
Hello, app is not working for me on rooted HTC U11, can you please help me with this issue?
[Android Apps and Games] infernix:
I have a problem with a power bank. If i charge my pixel 2 xl with it using proper usb c to c cable, the phone will start to charge the powerbank as soon as the limit is reached and charging gets disabled. This rapidly drains the phone battery. Quite bad.

Can we have an option to disable charging of devices using the phones usb c port?
[Android Apps and Games] JackOfOwls:
I think what might have happened is that Xiaomi has been prompting me for days to update my phone's OS to the latest version and I've been ignoring the message because I wanted to make sure the latest build (MIUI 9.6.4.0) was stable first. So, for whatever reason, it decided to automatically attempt to install the latest update but failed. That might be why it booted into the TWRP recovery.. Today I decided to finally let it install MIUI 9.6.4.0 and the first thing it did was reboot to the TWRP recovery and it installed the update that way. I'll be watching it carefully though for further issues. Thx for your help.
[Android Apps and Games] bertsmelik:
Good day!

I like this approach and tried to implement it on my device (Xiaomi Note 5 Global / LineageOS 15.1).

First I found that the voltage_max on my device is 4400000 so I would change it to 4200000.

Installed the 'boot shell' app and put in the statement: echo 4200000 > /sys/class/power_supply/battery/voltage_max. When I tested it in boot shell, it does not work (access denied). Also after reboot the value remains 4400000.

Any idea how I can make this work.

Oh, btw: /sys/class/power_supply/bms/temp_warm does not exist on my phone.

Any help appreciated,

Bert
[Android Apps and Games] post-mortem:
You have discovered the problem with this approach, which is that it is highly device-specific. The whole point of Battery Charge Limit is that it's easy to implement.

If you want to do it the other way, you'll have to poke around whatever files are present on your device, then experiment with changing values here and there.

Good luck!
[Android Apps and Games] yurtesen:
Strange, you should be able to change it if you are root. I assume your phone is rooted? You are able to change this field from shell? If yes, did you give root permission to 'boot shell' ?

You can apparently use 'tasker' also to do the same -> https://www.androidpit.com/forum/77...fe-by-reducing-the-charge-termination-voltage

Devices support different settings, there is no rule that the temp_warm will exist on all devices. But I think you should have it. You may perhaps ask about it in xiaomi note 5 subforum?

---------- Post added at 09:30 PM ---------- Previous post was at 09:17 PM ----------

Using the 'Battery Charge Limit' is also device specific, it only supports a handful of devices. https://github.com/sriharshaarangi/...aster/app/src/main/res/raw/control_files.json

As I said, it is a great idea to have an app like 'Battery Charge Limit'. But I think the implementation must be improved to make it useful. It should add option to limit max temp and max voltage as an alternative to limiting by percent values (which is not that useful). The best implementation would only fall back to percent limiting if better methods are not available on the device/os/kernel.

There can be other ways to limit things, like maximum current etc. but temperature and max voltage limits are the most important ones for extending battery life.
[Android Apps and Games] pliniohcc:
Using on Mi Note 3 and it's working perfectly. Thanks for the great app!

Hoping that the new ideas for voltage as temperatures come true in future versions. It will be awesome!
[Android Apps and Games] NexusRunner:
I'd say I have a handful of rooted devices with various Qualcomm SoCs.

On every one of them, max_voltage is read-only, whereas Battery Charge Limit always find at least one working file that will stop charging effectively.

BCL is really the only workable solution for me, maybe also for most Qualcomm SoCs.
[Android Apps and Games] mankokoma:
Hello! This really is a very interesting discussion. @bertsmelik, do you mean the Redmi Note 5 WHYRED? However, I use (for years now) smanager as shell/script/terminal "executer" and I tried of course as root to change the permissions to the file:

#!/system/bin/sh
chmod 644 /sys/class/power_supply/battery/voltage_max
echo 4200000 > /sys/class/power_supply/battery/voltage_max
# check if done
cat /sys/class/power_supply/battery/voltage_max
exit 0

At least it writes the right number inside. I didn't check yet if it actually has any effect though...
[Android Apps and Games] yurtesen:
Perhaps it depends on the charger driver implementation used in your device. So depends on which ROM you use. But there are many ROMs which support this.

Nexus 6P (N2G48B)

https://github.com/sriharshaarangi/BatteryChargeLimit/issues/12#issuecomment-323624473

Xiaomi Redmi 4x (stock rom)

https://xdaforums.com/showpost.php?p=75059302&postcount=147

Redmi Note 5 WHYRED (?)

See post of [MENTION=3398727]mankokoma[/MENTION]

My LeEco Pro3

Works with LineageOS 15.1

Not working on some devices does not change the fact that if you are able to set max voltage, this is the superior option to use.
[Android Apps and Games] infernix:
Changing max_voltage works great on pixel 2 xl (pie) and also fixes the problem where the phone starts to charge my powerbank when using charge percentage limit.

I agree it is superior and would be great to include as a (beta) feature instead of capping at a percentage.
[AT&T LG V10] SARUGHAN:
I need QPST NV Memory Files (Qcn) for the Lg v10 (h900 10f) phone. You can share it with me.
[OnePlus 3T Questions & Answers] chlap:
Hi, I am considering buy opt3 and I watched many reviews, but what I am noticed that audio recording have some issue. Voice is mufled and voice cancelling for overjob. Or is this problem past with new update? Thanks
[OnePlus 3T Questions & Answers] nano303:
Maybe I got a lucky phone....There is absolutely nothing wrong with my phone except for what's normal (OnePlus manipulate music!!) I hate that. I can listen to YouTube music normal. And games videos ECT...But when I play Google play music the sounds are everywhere!!
[OnePlus 3T Questions & Answers] chlap:
What about microphone, is it enough loud when you record video from rear and front camera?
[OnePlus 3T Questions & Answers] nano303:
I will try better today. Give it a good test for ya..Day off today
[OnePlus 3T Questions & Answers] kaz93:
What do you mean when you say that Oneplus manipulates music? Is it the audio from the headphone jack and doesnt switching off the audio tuner fixes that?
[OnePlus 3T Questions & Answers] chlap:
So what is your result? Can you make it video with voice and post it somewhere?
[OnePlus 3T Questions & Answers] nitinvaid:
I don't have any issues

But I have bought many devices past years. And what I learnt is that no mobile device is perfect according... You have to compromise somewhere...

Sometimes it's the

audio chipset( bad music quality)

Camera

Development

Ram

CPU

Looks

Screen

Or etc

You have to decide what you can compromise
[OnePlus 3T Questions & Answers] chlap:
So when you call someone, there is no complaint with your voice, or when you record video, a voice is clear, no muffled?
[OnePlus 3T Questions & Answers] nitinvaid:
yup no one has reported me any issue of voice on call no matter its a normal call or whats app and one more thing

i am not using stock rom
[Xiaomi Redmi Pro Questions & Answers] Morvarid...:
Hi

How can i downgrade from 7.2.9 to 6.12.22 (both xiaomi.eu developer)?

Will i loose my data and applications already are installed?

Sent from my Redmi Pro
[Xiaomi Redmi Pro Questions & Answers] Morvarid...:
No idea???

Sent from my Redmi Pro
[Xiaomi Redmi Pro Questions & Answers] drherdman:
I believe you will have to full wipe to downgrade, sorry you lose all.
[Xiaomi Redmi Pro Questions & Answers] kremmit:
A full wipe and clean install is needed.

You can make a backup of all your installed apps + data (not system apps) with titanium backup or some other software.

Then restore after fresh rom install.
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Hi everyone. Today I have good information for J1 (J100H) users.LineageOS port is available, look... :)

1.Root Samsung Galaxy J1

2.Flash TWRP recovery

3.Backup stock android

4.Install LineageOS 11

Here, you can see full specification:

Display: 4.3"

Resolution: 400x800

Android: KitKat 4.4.4 (TouchWiz)

Internal Storage: 4GB up to 256GB with SD Card

RAM: 512MB

CPU: Dual-Core 1.2GHz Cortex A7

Chipset: Spreadtrum

GPU: Mali-400

WiFi: Yes

Bluetooth: Yes

Camera: Primary: Yes [5MP,Led flash,720p@30fps]

Secondary: Yes [2MP]

Battery: Li-Ion 1850mph

USB port: Yes - MicroUSB

3.5mm: Yes

Before we start, I must say thanks to two XDA users:

1. @turbolukex5 [He made this awesome rom]

2. @CTXz [He made TWRP recovery for this device]

So...

This is a step by step guide, so follow all steps and you will not have any problems...

I'm not responsible if you make some mistakes and brick your device!!!

1. Root Samsung Galaxy J1 (This is not necessary!)

- Download KingoRoot for Windows

- Install program

- In settings of your device enable USB Debugging

- Connect your phone to PC via USB cable and wait

- After rebooting, your phone is rooted

- Download SuperSU and Root Checker and check the status of your phone

- That's it, you have a rooted device

2. Flash TWRP recovery

- Download .zip file from the link down

- Unzip files to desktop

- Then you will see Samsung G J(1)000H folder

- Open Samsung USB drivers and install it

- Then copy TWRP recovery.tar to desktop

- Turn off your phone and go to download mode [VolumeDown + Home Button + Power Button]

- In menu select "Continue" [VolumeUp button]

- Now you can connect the phone to the computer via USB cable

- OK, now you must run Odin [Make sure your device is recognized]

- Click on AP and find TWRP recovery.tar

- Now click start and wait until it's done

- Congrats, you have TWRP recovery

3. Backup stock android

You must have an SD CARD for this

- Reboot to recovery

- Go to the Backup section

- Select: Boot, Cache, Data, and System

- This file is large so you must have SD Card [4GB is minimum]

- Now tap on Storage and select SD Card

- And that's it, just swipe to backup and wait

4. Flash LineageOS 11

- Download LOS from the link down

- Put LOS on SD Card

- Reboot to TWRP [VolumeUp + Home Button + Power Button]

- Now go to the Wipe section

- Select Advance wipe

- Then select: Dalvik Cache, System, Data, Cache

- Now Swipe to Wipe

- Now go back to the Install section

- Select SD Card and find LOS 11

- Swipe to Confirm Flash

- Congrats, you have LOS 11 on your device

Guys, that's all, if you have some questions just ask.

Hit the thanks button, it's free

Links: [2020 Update]

1. Official Therad: >>>

2. TWRP Recovery (by CTXz): >>>

2. Root Checker: Download
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Thanks!
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
LineageOS 11 Builds:

!!!

Check the official thread for links

Changelog:

In build 1...

Version: Alpha

Fixed: -----

Bugs: Tourch,Recent button,SIM,

Info. First release

In build 2...

Version: Alpha

Fixed: Tourch,Recent button,SIM

Bugs: Computer can't recognize the device as MTP

In build 3...

Version: Beta

Fixed: MTP

Bugs: ---

In build 4...

Version: Beta

New: LineageOS - Skin (Pt. 1) - Boot animation - Launcher3

Bugs: Skin is broken

In build 5...

Version: Final

Fixed: LienageOS Skin

New: LineageOS - Skin (Pt. 2) - CM strings in the OS are replaced with LOS strings

Bugs: ---

Info. On the official thread you can download ROM for dual-sim J100H

ROM Informations:

Developer: turbolukex5

Realse date: 29.04.2016

ROM OS: LineageOS 11

OS Version: Android 4.4.4 KitKat

Last build: 02.04.2017

Status: Stable | Discontinued

Official Thread: Here
[Samsung Galaxy J1 Guides, News, & Discussion] Ali_MZ:
thanks

Hi. thanks bro. its great!
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Thanks for feedback!

Please hit Thanks button to support me!

:)
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Oh sorry,I already have Thanks from you!

:)
[Samsung Galaxy J1 Guides, News, & Discussion] rishiud:
Any plans for Marshmallow & Nougat ?
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Wouh,easy...

J1 can't run 6.0 or 7.0

He have only 512mb of RAM,so port 6.0 on this device is impossible

Lollipop maybe :)
[Samsung Galaxy J1 Guides, News, & Discussion] rishiud:
Okay thanks :)
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Always :)
[Samsung Galaxy J1 Guides, News, & Discussion] adarshadhungel1:
where can i find xposed and its uninstaller
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
For LineageOS or for stock rom?
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
For stock ROM:

https://mega.nz/#!MdkmjSgL!7cQPTQWkywWWobSBG5RI_PFijnrZARBOG1CzW92LF1Q

Info.

Developer: SolarWarez

Date: 29.11.2015

Status: Stable

Version: 2.6.1

Supported android: KitKat 4.4.4

For LineageOS I don't know

This Xposed working on stock rom 100%
[Samsung Galaxy J1 Guides, News, & Discussion] adarshadhungel1:
Thanks
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Nothing my friend,I'm here to help!

And,IF YOU CELEBRATING,happy easter!
[Samsung Galaxy J1 Guides, News, & Discussion] Nocturnal_Creature_137:
I need backup of contact storage app for J100HDDU0API1.
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
For stock rom?
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Ok,I will leave link very very soon :D
[Samsung Galaxy J1 Guides, News, & Discussion] Nocturnal_Creature_137:
Yes ... for stock ROM... and THANKS.
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Sorry,I'm busy,I will put the link today,but I don't know when :D
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
1. Contact App

Version: 1.0

Size: 5.6mb

Name: Contacts

Code name: com.android.contacts_19.apk

Android: 4.4.4 KitKat

Link - Download

2. Contacts Storage

Version: 1.0

Size: 139kb

Name: Contacts Storage

Code name: com.android.providers.contacts_19.apk

Android: 4.4.4 KiKat

Link - Download

3. Contacts Sync

Version: 1.0

Size: 202kb

Name: Contacts Sync

Code name: com.google.android.syncadapters.contacts_19.apk

Android: 4.4.4 KitKat

Link - Download

Download everything what you need! @Nocturnal_Creature_137

Respect,

Senior Member

StefanBuljic
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
Are you successfully instaled contats app on your phone?
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
-- Google Apps ARM/4.4.4/Pico

-- Open Gapps Aplication

-- TuneIn Radio
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
-- deleted --
[Samsung Galaxy J1 Guides, News, & Discussion] subhan63:
I cant root phone same one samsung galaxy j1 J110H please say me the right method that worked for u

---------- Post added at 11:48 AM ---------- Previous post was at 11:45 AM ----------

Twrp recovery how to install the odin is just says the process is complete and when i reboot i see a red exclamation mark on top and its stuck

Please anyone help me to install using fastboot or adb something like that

I am new to this please
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
You cant do anything cause this is for J100H only...
[Samsung Galaxy J1 Guides, News, & Discussion] nico_ar:
Link lineage

Hi, i didn´t find the link from lineage, can you helpme?(step 4)
[Samsung Galaxy J1 Guides, News, & Discussion] StefanBuljic:
You have link to official thread,download build 5...

Soon,I will put links there
[Samsung Galaxy J1 Guides, News, & Discussion] satria eko:
How to root smartphone i
[Samsung Galaxy J1 Guides, News, & Discussion] Erwin Abs:
Nice sir