yashsingh1/xdaforums huggingface dataset:
[Essential Phone Questions & Answers] -Michael_:
My data connection has also become very erratic - and I've lost voice+data (VoLTE connectivity) wholly yesterday. Worked fine with the activated SIM from my HTC 10 from the 31st to yesterday.. Now, not at all, I've not been able to restore it since.

Really don't want to return it, as I really like the phone, but this has nexus 5x issues written all over it for long term use...

Hoping essential can get a certification and an agreement with Verizon before my return window is over (or at all)..

Pretty disappointed in Verizon here.
[Essential Phone Questions & Answers] j1999t:
Same here, another issue is that essential shipped my phone and within a day i had an email from essential saying that verizon certification is still in progress. verizon will probably not certify it with their system unless essential lets them install their monitoring crap all over the phone.
[Essential Phone Questions & Answers] tech_head:
The Nexus 6P didn't have the bloat and worked fine.

My PH-1 works fine including Enhanced 4G LTE Mode.

What do you have selected for network type?

I have the first one selected because that's the only one that includes the various CDMA protocols, EVDO and LTE.

I see the same connectivity that I had with my Nexus 6P.
[Essential Phone Questions & Answers] j1999t:
i have global selected, as it covers everything the phone can connect to. i had the first one selected but it wouldnt show the lte+, just regular lte. i also have Enhanced 4g lte mode on. it just happened to lose service earlier today. if it does it again, ill probably return it after a visit to vzw
[Essential Phone Questions & Answers] -Michael_:
I have the same settings as you, I had functional "enhanced 4G LTE" for the first 4 days as well... That ended yesterday morning abruptly, and I'm not able to bring it back.. There's more happening here.. How long has your device been on the Verizon network? Only a hunch - in a few days you won't have "enhanced 4G LTE" either, even though it'll still be checked, and provisioned for it.
[Essential Phone Questions & Answers] tmac7728:
Cellular network is not available

After 7 days my phone won’t make calls I can only use data I’m on sprint and it was working fine until today I call sprint they had no answers at all I email essential no answer now I can only use WiFi calling while home and axx out at work
[Essential Phone Questions & Answers] vexx109:
So, upon further digging I found a place to look at some more in-depth stuff relating to signal stuff. I did some fooling around and switched it from unknown to lte/cdma/umts auto (prl) and it seemed to work after a few moments of time. Though it seems have gone back to t he unknown state again but is working normally for me now, so maybe it was changing states and then a reboot?

How I got to this screen was by punching *#*#4636#*#* into the dialer, and went to phone info
[Essential Phone Questions & Answers] bc14nj:
I'm having a similar issue. I often lose my signal. I will have the full triangle/bars but no label of the signal(LTE+/LTE/3G/1x/etc....) and no cellular data at all.

The only way I can get it to return is to restart the device. Happens a few times a day, can't be 100% sure why, but it often appears to be when switching from WiFi -> Cellular only.

I have Verizon, I have had a Nexus 6 and then a Pixel XL for the past 3 years, never once had this issue.
[Essential Phone Questions & Answers] gqukyo:
I had constant disconnects and lost of service with my Tmo sim. Tried my Xfinity (VZW) sim and it was great until this morning. Complete lost of service. Airplaned mode on and off, connected to old school RTT 1x.... lol This phone's cellular just plain suck for a lot of us regardless of carrier. Not sure if we just have bad phones because apparently there are those who claim they have great service and connection.
[Essential Phone Questions & Answers] fade79:
I'm having this problem with Verizon. Seems like if I'm on wifi for a long period it only connects to 1x and putting in airplane mode and stuff won't get it to re-connect to to LTE. Only a reboot seems to fix the problem.
[Essential Phone Questions & Answers] defTwitch:
Necro post here but chiming in that I have the same problem with Verizon LTE. Happens when I'm moving long distances in car too. Suddenly just drops LTE and only a reboot will bring it back.
[Essential Phone Questions & Answers] wolfhelm:
You might check out my post from the Oreo Beta thread... I was having some goofy signal issues early on which I've pretty much cleared up by doing what I mentioned here. Someone touched on it briefly earlier but only mentioned monkeying around with the settings, said nothing about picking up a new PRL.

I state this in that post too, but just in case: I offer this with no express intent of warranty, if you screw up your device, it's on you.

https://xdaforums.com/essential-phone/how-to/essential-oreo-beta-program-live-t3705133/post74920423
[Essential Phone Questions & Answers] gqukyo:
I just changed it from global to LTE/WCDMA and I got LTE back almost immediately. Was weird and global had been working for me for awhile now so not sure what happened in the past few days...
[Essential Phone Questions & Answers] defTwitch:
I had, right after writing this, tried *#*#4636#*#*

I set it to global as instructed in another post. The next time I drive a distance in the car I'll have to see if I have the same issue that only a reboot would fix again.

Thanks
[Essential Phone Questions & Answers] Psytra:
I had the same issue and I resolved it a little differently than the previous posters. I turned on adb debugging and logged into adb shell and user-disabled com.redbend.app. This stops the Sprint oma-dm service from running. After doing this I no longer have the issue of my device not reinitializing lte after sleep or 3g.
[Essential Phone Questions & Answers] ELECTRIC1982:
I have essential on vzw but my only issue is my device won't connect to 4G. If I change network to LTE I get full 4G service but I'm unable to make phone calls. Went into vzw store and they told me you didn't get the phone from us so we cant help you. Day 14 fml
[Essential Phone Questions & Answers] gqukyo:
On Xfinity mobile, I had similar issues. Great LTE but sometimes calls just don't work at all. I mess with various settings and it'll work for a bit then so again. Gave up and ported over to Sprint for the free unlimited year which is still probably not worth it. Should've kept with Xfinity Mobile. Lol
[Magisk] VR25:
Repository

Source Code and Documentation

Releases

Front-ends (outdated -- no longer supported)

ACC App (AccA)

ACC Settings
[Magisk] VR25:
**Releases**
[Magisk] VR25:
Archive

Find newer zips here.
[Magisk] Ophidian_DarkCore:
nice that someone else knows how li ion works for once too, the question is, does the board have this feature already baked in a little bit, is there any over provisioning of the battery?
[Magisk] VR25:
Not sure what the exact number is. What I can say is some devices have it (mine does, obviously). You have to test and see whether the switch works on yours.

About over provisioning...

I believe indeed there is (at least in modern batteries); otherwise, these would last much less.
[Magisk] KlNG:
Great module but i don't know how to install and change settings.

Thx
[Magisk] Nitram08:
Hello! With your module you can program the load at night, so that it will charge up to 50% and after 2 or 3 hours it will charge the other 50%?

Enviado desde mi MI 5s Plus mediante Tapatalk
[Magisk] Kimbo82:
Thanks for this module. Will future update add the option to erase battery statistics?
[Magisk] VR25:
You use a terminal emulator for that. Instructions are on the README (from the OP or zip file). I always try to make everything as simple and user friendly as possible. Note that the terminal must be running (either in foreground or background) till the process is complete. I recommend Termux terminal emulator.

Interesting idea...

That's not currently one of the features, but I can implement it. Wait for the next version.

Sure. I can add that too.
[Magisk] Loader009:
There was a command in android for checking battery status and stop charging. But, and that's the point, as soon as charging has been stopped manually, the battery status won't be updated.

If you reset it (so it charges again), the battery status is also updated.

Does this tool have the same behavior or are we able to stop charging while the battery status is still being updated?
[Magisk] phantom146:
[MENTION=5228676]VR25[/MENTION]

It seems that my terminal cant recognize the command cs or any other commands for this app. Succesfully flashed with no errors..

Also, I'm waiting for erase of battery statistics when charged to desired % atm keep doing a good job.. hope it functions on my magisk soon

EDIT: was able to make it function but I manually copied "cs" to /system/bin /xbin to make it work.
[Magisk] Kimbo82:
Hi again, is it necessary to write the desired charging level each time I charge? On my last charge it charged to 94%, but I had set 85% as goal earlier.
[Magisk] venomus001:
- cs -i --> Show battery info. Actually just echos "battery info"
[Magisk] guest4711:
Please provide more information about your phone (model, ROM). It works for me, but your phone may be incompatible with this app....

u0_a183@:/ $ su
root@:/ # cs -i

Battery Info
STATUS=Discharging
HEALTH=Good
TEMP=227
ONLINE=1
VOLTAGE=3961000
LEVEL=88%
TECHNOLOGY=Li-ion

root@:/ #
[Magisk] venomus001:
Oneplus 3t / NukleaRom
[Magisk] Kimbo82:
I get this when I try some commands.

I run stock Oreo on nexus 6P,with magisk 14.
[Magisk] guest4711:
You should su before, e.g.

u0_a183@:/ $ su
root@:/ # cs -i
Battery Info
STATUS=Discharging
HEALTH=Good
TEMP=227
ONLINE=1
VOLTAGE=3961000
LEVEL=88%
TECHNOLOGY=Li-ion
root@:/ #

or use su with the command, e.g.

su -c cs -i
[Magisk] ghbuur:
getting error too on s7 edge with s8 port installed. screenshot attached. wanted to test 10sec charging stop but didn't work. would be nice to ist this module..
[Magisk] Kimbo82:
Sorry for a bad screenshot last time. However, when I do su before I get the same result as above.
[Magisk] VR25:
Those facing issues -- your devices/systems are incompatible.

Please run the attached script as follows:

su
source /scrip/path/cs_debug.sh.txt

After that, upload here the file /sdcard/cs_debug.zip.
[Magisk] AlexBurnout77:
Tasker says the xml contains more than one module

Hi. Thanks again for this amazing module, but I have to make one observation. Tasker says that the exported prf.xml file has more than one profile. I may not be knowledgeable enough to figure out why, but I'm just pointing it out.

P. S.: I did a quick and easy edit of the contents of the xml, removing the first profile. It works now. Also, I wanna point out that the "cs" tasks (Run Shell Command) haven't got the "Use Root" tick box checked. Check it out.
[Magisk] VR25:
Odd... I've tested that thoroughly -- no such issue. Perhaps your Tasker is set up differently...? Or you're using an old version? Assuming you have a backup, clearing the app's data might solve the problem. The xml project does have more than one profile (2), but I imported & exported it flawlessly multiple times.

About the "Use root box" -- that option was not working for me. So, I unchecked it and added "su -c" in front of each "cs" command. Problem solved.

Yes, but it might take long to actually have that done. I'll however, keep seeking fast alternate ways to automate battery charging management.

[MENTION=7042702]sreekantt[/MENTION], Tasker is optional.

P.S., if any of you know of an app besides Tasker which can automate scripts by relaying on battery level and/or charging state profiles, let me know -- I'll try adding support for it too.
[Magisk] Sreekantt:
Bro... Got any fix relating d bug i have posted... It isn't stopping d charge
[Magisk] lcd4linux:
There's MacroDroid besides Tasker. It's available for free on Google Play: play.google.com/store/apps/details?id=com.arlosoft.macrodroid.

Also it has an option to run shell scripts out of the box.

Btw. here're my logs, charging doesn't stop.
[Magisk] VR25:
[MENTION=7042702]sreekantt[/MENTION], [MENTION=917020]lcd4linux[/MENTION], I'll look at the reported issues soon.

Almost forgot about MacroDroid! That one is much more user friendly than Tasker. I think now we don't really need a dedicated app for this module. MacroDroid saves the day.

The attached zip contains a ".category" file that users can import, and screenshots of the setup. This is extremely intuitive. Default values are "80 20", which translate to "pause charging at 80%; resume at 20%".
[Magisk] guanto96:
I just installed the latest version, now it should work?

Nexus 5
[Magisk] lcd4linux:
Good news, the MacroDroid Thing does its job and stops charging at 80%. Now testing if it starts charging at 20% :D:good:

lcd4linux
[Magisk] haseogu:
Where I can find the Tasker file ? I already run the magic switch but I can't find the .XML file
[Magisk] MoHuToP:
Solid! Latest module update works perfectly on my RR 5.8.4 N910F with Magisk 14.2! I'll report again after few days for details.
[Magisk] deepak549:
I am getting how to create Tasker task for this.

Can any explain me how to approach for this in steps .

I am on OnePlus 3 , OOS 4.5.0 .

---------- Post added at 10:04 AM ---------- Previous post was at 10:02 AM ----------

I am also having same doubt . Where is this .XML file located.

Also there is not clear guidelines as to how to create Tasker profile.
[Magisk] VR25:
Wrong syntax. It's "cs 80", not "-80".

[MENTION=4863289]haseogu[/MENTION], [MENTION=5297374]deepak549[/MENTION]74213031, you don't need to find nor create anything. The generated XML file is placed in /sdcard/Tasker/projects. Since that's a native Tasker directory, the app recognized the files as soon as you hit "Import".

So,how do you do that?

1. Make sure beginner mode is disabled in settings

2. Click on "base" or any other project name (bottom left corner)

3. Hit "Import"

4. Pick "cs_tasker" from the list

[MENTION=4935285]AlexBurnout77[/MENTION], you might've imported cs_tasker the wrong way.

P.S., in order to generate the XML file, you must run cs % % (i.e., cs 80 20).
[Magisk] deepak549:
Thanks for your quick reply .

But there is no .xml in project directory nor there is any file on the name of cs_tasker.

Thanks
[Magisk] VR25:
Did you run "cs PAUSE% RESUME%", according to the syntax to generate the XML file?

cs 80 20 is the default -- pause charging at 80%; resume at 20%.
[Magisk] deepak549:
I have got .XML file after running the commands as you mentioned.

After that I successfully managed to import cs_tasker, located in project folder . Then I got two switch in tasker app - one for 80-100 and 0-40 battery %.

So both the switch are on . I will check and let you know if it's working .

Update: it's working like a charm . Charging stopped exactly at 80% :)
[Magisk] Kinger1970:
Not working on Sony Xperia XA

Not working on Sony XA, and I don't know how to attach cs_debug to thread.

Added Google Drive link. https://drive.google.com/open?id=0B1-xgut1Wqh2SEowZ01lZGlfQm8[/URL]
[Magisk] colinlinton:
Every time I run terminal, I get a cs: not found error.

Seems like it isn't installed, but it shows as active in magisk manager and I rebooted after installing. Any ideas why it's not working? I have tried 2 different terminal apps and same problem in both. Even tried with su permissions in terminal
[Magisk] Taracair:
Well I've got problem with battery drain.

I set cs 90 during the night but when I wake up the battery is already drained to 82%.

There's not much wakelocks during that time so I think the problem is related to something different.

Can anyone tell me what's going on with the Java [W] log? It is constantly popping up, every 2 seconds.

10-21 05:54:33.989 W/JNIHelp (4181): Discarding pending exception (java.io.IOException: Try again) to throw java/io/IOException

I think that's the reason of my battery drain.

Edit

Got it fixed after updating the adaway hosts.

Finally got that little bastard!

I hope the battery drain will be over now.
[Magisk] guest4711:
I think you forgot to use "su" before calling "cs".. Try

su -c cs 80 20

or

su
cs 80 20
[Magisk] VR25:
You may not have permission to upload files yet -- probably due to your current user status.

Can you (2) upload the files to say, Google Drive and try posting the links here?

To All

- If you got two generated cs_debug files, I only need the zip.

- I'm currently working on additional devices support. Nice pile of debugging data -- thanks!
[Magisk] deepak549:
First grant su permission to terminal using command in order

1) su

2) cs ( any other cs related command )
[Magisk] aouerfelli:
Looks like Huawei being Huawei again and doing their own stupid thing, no surprise there. Also look at the last post from that thread you linked; that module is dead.
[Magisk] Jaymin.0.1910:
That's not dead, that's under a heavy reconstruction and migration to "C" native.
[Magisk] VR25:
[MENTION=5324452]Falcon_X[/MENTION], [MENTION=5915591]imHadees[/MENTION], aside from the missing path issue (acc report), there's no "obvious" charging switch anywhere in /sys/class/power_supply/.

This generally means the device is not supported. However, some devices' (e.g., Asus) have their charging switches somewhere in /proc/. That's a nonstandard location, hence, hard to look into. You may find the target file(s) right in the root of /proc/ (generally, we look for file names containing "batt", "charg").

One more thing...

If you're allowed to modify /sys/class/power/supply/Battery/voltage_max and the value sticks (except after a reboot), then acc can work with that alone (no dedicated charging switch needed).

Here's how to test whether max charging voltage can be changed...

su
cd /sys/class/power_supply/Battery/
chmod +w voltage_max
echo 3920 >voltage_max # Do not exceed 4400mV (default)!
cat voltage_max # the output must be 3920
[Magisk] VR25:
[MENTION=5307479]niix[/MENTION], that's normal behavior. The log simply says "there are no errors." If verbose were enabled, you would see a massive amount of text there.

As for the charging... my Moto G4 Play behaves similarly. This just means the device is drawing power directly from the external power supply and the battery is "disconnected" from the circuit. That's a great thing, actually.
[Magisk] niix:
Great! Thanks! So this means the phone has his way to handle the battery. Does it mean acc is of little use in this case? Or can I still have some advantages from using it?

By the way, what was wrong for me from that log is the date... 1970 ?
[Magisk] aouerfelli:
Unfortunately there's nothing in the root of /proc that are like that, and the voltage stays as 4400 when I change it. Thanks for attempting to help anyways, really appreciate it.
[Magisk] RMarques:
[MENTION=5228676]VR25[/MENTION]

After upgrading to the lastest OP5 Oxygen Open Beta, through a clean install, acc stopped working again.

Theoretically, when I run acc -s it seems to be working, with the values you said me to set a week or so ago.

However the "acc --set alwaysOverwrite true" gives me an invalid argument message.

Anyways, it's charging as it always were when acc wasn't installed.
[Magisk] cesar_9046:
The same for me!
[Magisk] deepak549:
I am facing issues with latest version.

MCS was working fine on my OP 5T. I am facing issues after updating to android P and installating ACC .

Charging is fluctuating on every 2-3 minutes. There is some issues with this.
[Magisk] Shirosuki:
What do you think the best setting for extending battery life, can u share your setting ?

---------- Post added at 10:01 PM ---------- Previous post was at 09:35 PM ----------

How check unit of our device and how we know if our kernel is compatible ?
[Magisk] KitsuneFoxy:
Hi There, i have a nexus 4 and it asks me what my charging controller is, and that acc cabt start because it doesn't know. I am a bit stumped myself so if someone can help me, id be greatful.

Also have a bit of trouble using the commands too. Just wanted to know what I put in.
[Magisk] VR25:
[MENTION=5915591]imHadees[/MENTION], there are two more things you can try. Before proceeding, install the Ampere app.

1) Check whether USB input current can be controlled. Connect the AC adapter and set /sys/class/power_supply/USB/current_max to 0 (zero). Open Ampere, wait a minute or so, note the mAh readings (i.e., min, max, average...) and post these here.

2) Check whether USB input voltage can be controlled. Unlike the first test, this may take some time. Disconnect the AC adapter and wait a minute for voltage readings to normalize. Set /sys/class/power_supply/USB/voltage_max to 4200. Connect the AC adapter and watch Ampere's (the app) voltage readings for a while. It should not exceed 4.2 Volts. If the voltage reading is abnormally low or negative, set /sys/class/power_supply/USB/voltage_max to 4200000 and watch again.

If at least one of these can be adjusted, acc will be able to control your charger.

Notes

- Modify the values on terminal

su

chmod +w /sys/class/power_supply/USB/FILE

echo VALUE >/sys/class/power_supply/USB/FILE

[MENTION=5307479]niix[/MENTION], 1970 comes from your device's hardware clock. It likes being in the past. ;)

[MENTION=5094347]RMarques[/MENTION], @cesar_9046, see whether changing the charging switch helps. Run acc -s s, pick one and press <enter>.

@deepak549, that's intended behavior. I'm tweaking this, though. Run acc -s coolDown 300/30 so that we're on the same page. Read the documentation (zip/README.md) for details. Look for the keyword "voltage".

[MENTION=9583897]Shirosuki[/MENTION], 3.92 - 4.20 Volts

3.92V is the sweet spot.

To check units, look at the default values (e.g., 4400mV, 4380000uV).

The only way to know for sure whether your kernel is up to the tasks is TESTING. This thread has lots of procedures. This post itself has some.

[MENTION=6245194]KitsuneFoxy[/MENTION], Nexus 4 (mako) is supported. acc's database has a charging switch for it. It's tested and set automatically once you connect an external power supply. Run acc -s s to see a list of available charging switches. Run acc pause% resume% to set charging pause and resume values (e.g., acc 85 80). Customizing is optional; acc comes pre-configured.
[Magisk] aouerfelli:
Thanks for continuing to try and find a solution to this problem! Unfortunately it looks like these values can't be modified.

For test 1, after setting it to 0 it immediately reverted to 2000000 (when plugged and unplugged), so it looks like it can't be controlled. But regardless, the min went down to 450mAh and max to 710mAh. The average stayed around the 650mAh range.

As for the second test, it also reverts back to 4400 when plugged in and 0 when unplugged. It doesn't exceed 4V, but that's not important I guess.
[Magisk] RMarques:
Thanks man I did what you said but, same result bud, OP5 is charging as usual...as if acc isn't running at all.
[Magisk] screen:
so, i tried this and decided not to keep it thus removed the module through Magisk manager and rebooted, and directly after rebooting my Galaxy S6 (G920F) refuses to charge at all and I cannot seem to figure out how to get it going again. Any help?

edit: turns out the issue was the cable -_-"
[Magisk] KitsuneFoxy:
Hi again! When i do your ACC -s s command as advised, I get no charging switch showing up just #?

I uploaded two screenshots and my power supply log.

Acc does nothing, and i know it used to work a few months back
[Magisk] robert019543:
Oneplus 6T

Anyone managed to get this working properly with the Oneplus 6T? With my device it will properly follow the charging switch once then it won't charge at all until I restart the phone.
[Magisk] xtam:
[MENTION=5228676]VR25[/MENTION] i am using newest version, 2018.12.26.1

it seems to be working,

default config, nothing changed, only to shutdown not at 10 but at 5, all is the same, 70-80 as in default.

What noticed is:

sometimes when i turn on screen and it is at 80 - it stops correctly,

but when i dont use phone it stops at 86% or even on 90%.

Why?

what logs do you need to check it?

also question: should i fully load battery to 100% and let it discharge to completely off every 3 months or not?