yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] cloves:
Just imported in the xml documents and gave it a try, doesn't work on HTC m9 running ViperRom.
[Google Pixel XL Guides, News, & Discussion] Schroeder09:
I would like this task to only run Sunday through Wednesday nights. on Thursday, Friday, and saturday I'd like a full charge because I use my phone more on the weekends when I'm home. How do I do that when the profile is being triggered off a state? I need it to trigger off a state AND time.
[Google Pixel XL Guides, News, & Discussion] Schroeder09:
I tried this task last night and it didn't work. Just to make sure I copied everything correctly here is my exported description:

Profile: Charge Limit (27)

State: Power [ Source:Any ]

Enter: No Charge (25)

Run Both Together

<Get Charging Source>

A1: Run Shell [ Command:su

chmod 666 /sys/class/power_supply/battery/charging_source

cat /sys/class/power_supply/battery/charging_source Timeout (Seconds):0 Use Root:eek:n Store Output In:%PluggedIn Store Errors In: Store Result In: Continue Task After Error:eek:n ]

A2: Run Shell [ Command:su

chmod 666 /sys/class/power_supply/battery/battery_charging_enabled

echo "0" > /sys/class/power_supply/battery/battery_charging_enabled Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: Continue Task After Error:eek:n ] If [ %BATT > 85 ]

A3: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]

A4: Goto [ Type:Action Number Number:1 Label: ] If [ %PluggedIn neq 0 ]

Exit: Charge (23)

Run Both Together

A1: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]

A2: Run Shell [ Command:su

chmod 666 /sys/class/power_supply/battery/battery_charging_enabled

echo "1" > /sys/class/power_supply/battery/battery_charging_enabled Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: Continue Task After Error:eek:n ]
[Google Pixel XL Guides, News, & Discussion] mochamoo:
What phone?

Sent from my Very Silver Pixel XL 128GB
[Google Pixel XL Guides, News, & Discussion] Schroeder09:
Pixel 2 XL
[Google Pixel XL Guides, News, & Discussion] mochamoo:
The pertinent files may have a different name and/or location on the pixel xl2. You could try the battery charge limit app (now in the play store) as it covers more phones.

I do prefer this Tasker method though myself. Once limit is reached it seems to draw power from the connected electricity rather than the battery. The battery isn't constantly drawing down/charging like it does with the battery charge limit app.

My goal is to preserve battery life as best I can. YMMV.

Sent from my Very Silver Pixel XL 128GB
[Google Pixel XL Guides, News, & Discussion] Schroeder09:
That is my same goal. How can I find the system battery files? I went into the root portion of solid explorer. I searched "battery" and "charging." The first yielded some results that didn't look similar to your task and the latter yielded nothing
[Google Pixel XL Guides, News, & Discussion] mochamoo:
Sorry I don't have a Pixel XL 2 and I'm not the OP so it's really not "my" task. Works great for the device it was designed for. Maybe someone in the XL 2 forums could help you better.
[Google Pixel XL Guides, News, & Discussion] Schroeder09:
Here's what i am seeing in my file explorer when I go to the directory you're calling out. It indeed looks like the OG pixel has more folders once you get to the battery level.
[Google Pixel XL Guides, News, & Discussion] eried1:
When I send the echo command it takes about two minutes before the file content changes. If I don't charge the phone and execute the same command it happens instantly. Any clues to why? I'm using Magisk (systemless root). I also use another phone, but the files are correctly selected and obviously working so it shouldn't matter.

My power_supply folder looks like this:

[IMG="PS folder"]https://i.imgur.com/Kdcg07l.jpg[/IMG]
[Google Pixel XL Guides, News, & Discussion] Aaron1017:
I have a Pixel 2 XL now. See below description export for files I used.

==========================================================

==========================================================

No Charge (5)

Run Both Together

<Get Charging Source>

A1: Run Shell [ Command:su

chmod 666 /sys/class/power_supply/usb/present

cat /sys/class/power_supply/usb/present Timeout (Seconds):0 Use Root:eek:n Store Output In:%PluggedIn Store Errors In: Store Result In: Continue Task After Error:eek:n ]

<Turn off charging>

A3: Run Shell [ Command:su

chmod 666 /sys/class/power_supply/battery/charge_disable

echo "1" > /sys/class/power_supply/battery/charge_disable Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: Continue Task After Error:eek:n ] If [ %BATT > 79 ]

A4: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]

<Get Charging Source>

A5: Run Shell [ Command:su

chmod 666 /sys/class/power_supply/usb/present

cat /sys/class/power_supply/usb/present Timeout (Seconds):0 Use Root:eek:n Store Output In:%PluggedIn Store Errors In: Store Result In: Continue Task After Error:eek:n ]

A6: Goto [ Type:Action Number Number:1 Label: ] If [ %PluggedIn neq 0 ]
[Google Pixel XL Guides, News, & Discussion] hcet14:
Since 3 days I'm searching around on XDA and Goggle to find any hint, how to reset battery stats.

Let's says battery stops charging at 80%, this event should reset collected battery data by ROM. All ROMs do that at 100% or a little bit before. How can I trigger that at 80% or whatever percentage I'd like to choose?

I have no clue. Can anyone give me a tip where to look or start any reasonable research?
[Google Pixel XL Guides, News, & Discussion] hcet14:
Funny, just found it.

adb shell dumpsys batterystats --reset
[Google Pixel XL Guides, News, & Discussion] jonahmt21:
I cant seem to import the strached xml's into tasker. Can somebody please attach working profiles they are using. Thanks
[Google Pixel XL Guides, News, & Discussion] jonahmt21:
played with this a little more and this is what works for the OP5T with latest Oreo
[Google Pixel XL Guides, News, & Discussion] bchaney16:
Looks like you figured it out, but if you change the file extensions to .tsk.xml they'll import OK.

Anyone had any luck changing their charging current? I set up some tasks to modify constant_charge_current_max but it gets changed back to the default shortly after.
[Google Pixel XL Guides, News, & Discussion] devsk:
That's not very efficient because its poking at what %age the current battery level is and when it becomes 79%, disable charge. Its running task periodically. Instead, "/sys/devices/platform/soc/soc:google,charger/charge_stop_level" is what you are looking for on Pixel devices (tested on Pixel 3 but should be same on Pixel 2, someone please confirm). Set it at boot once. No monitoring or app needed. The SOC just stops charging once it hits that level.
[Google Pixel XL Guides, News, & Discussion] drmarble:
Thanks for the suggestion. On pixel_1_xl (this forum's topic) the file is /sys/module/htc_battery/parameters/charge_stop_level. We have an older kernel version than the Pixel 2 or 3. Echoing a value into there works fine. It is reset on each boot. I wonder if stock has init.d support.
[Google Pixel XL Guides, News, & Discussion] devsk:
I assumed that since they were all updated to Pie, they all run the same newer kernel...:( I finally bought the Pixel 3 this year (being an HTC guy all these years).
[Google Pixel XL Guides, News, & Discussion] TurboLed:
I personnally had more success by limiting the charge voltage (writing 4000 to /sys/class/power_supply/battery/voltage_max) when reaching the desired level; this limits the voltage applied to charge the battery to 4.0 v. By default the value is 4400.

Anything else I tried was still charging the phone even if the % stayed the same, rebooting the phone was showing 100%.

Pixel XL running stock Android P.
[Google Pixel XL Guides, News, & Discussion] RomainD2:
Hi,

I tried this method, but my Lenovo tab 2 A10-70 frooze after testing the task!

I had to flash again my rom because after every reboot, the tablet was froozen.

Is there are some other way to do that?

Thanks
[Google Pixel XL Guides, News, & Discussion] Vinnom:
this task worked for me in the past, but now my phone doesn't have the same files. Now it uses /sys/class/power_supply/battery/input_suspend and after setting input suspend as 1 the charge stopped but the phone didn't recognize this as unplugged, so in the end I had problems with it. I modified it a bit so now I have a full working limitter, but yours is much simpler and I'm gonna apply it. Thanks for your post :)
[Google Pixel XL Guides, News, & Discussion] X4c3:
If you have magisk, you can install Advance Charging Controller
[Google Pixel XL Guides, News, & Discussion] mlord:
I have just received a OnePlus 9 Pro, and have fiddled with Tasker to set up basic charge level controls for it.

The attached Tasker "Profiles" turn charging OFF at 84%, and back on again when the battery level falls below 80%.

Both values are easily changed from within Tasker.

These profiles work for _both_ USB and WIRELESS charging on the OnePlus 9 Pro.

And probably also on other recent OnePlus models.

To use the two files, download/save them on the OP9 Pro, and then fire up Tasker.

Tap on "PROFILES" to get a drop-down menu, and tap on "Import Profile" from that menu.

Navigate to the first file and tap on it to import it. Then repeat the process for the second file.

These are quite simple compared to other attempts I have seen before.

The Charging profile simply monitors battery level, and enables Charging when between 0 and 80%.

The Charged profile monitors battery level, and disables Charging when above 84%.

Give it a go, and let me know how it does for you.

Cheers
[Google Pixel XL Guides, News, & Discussion] sumfahg:
Will these work with Warp charge and other fast charging solutions? I know other apps such as acc have had issues with controlling charge status when using Warp chargers.
[Google Pixel XL Guides, News, & Discussion] mlord:
The profiles work fine with the included Warp charger that came with the phone, as well as with a third-party Qi Wireless charger, plus the USB charging in my (Android Auto) car. They should also be fine with the OnePlus Wireless chargers, though I don't have one here to confirm it with.

Most of the issues with other earlier solutions have been to do with OnePlus changing the /sys/ paths for controlling the charging, as well as there now being two such paths (one for USB, one for Wireless) that have to be dealt with. The Tasker profiles I provided here handle those.

Cheers
[Google Pixel XL Guides, News, & Discussion] GolovaRaoul:
Thanks man, works great on my OnePlus 9 Pro!
[General Topics] JustusIV:
Hello, I just recently upgrade to the 6800 from the 6700 which used to have an audio jack. The 6800 only has a mini usb which they provided a splitter that goes to another mini and a 2.5 audio jack. For it to work i usually have to plug in my 2.5 jack 2 or 3 times. Is anyone else experiencing this?
[General Topics] JustusIV:
nobody else has been experiencing this?

Another thing to note is if i wiggle the 2.5 jack around the phone app will come up, and if i wiggle it some more it will dial.
[General Topics] JustusIV:
found some information on this.

http://forum.ppcgeeks.com/showthread.php?t=17134
[Xiaomi Redmi 4 Prime Guides, News, & Discussion] psykkuno:
Booted and it will be posted in a couple of days, Stay Tuned.
[Xiaomi Redmi 4 Prime Guides, News, & Discussion] aviranx:
I ****ing love you
[Xiaomi Redmi 4 Prime Guides, News, & Discussion] kibria.mgk:
I was wondering where did it went! Waiting to try it. Thanks to devs.
[Samsung Galaxy S7 Questions and Answers] Wjb89:
i have a s7 sm-g930vl and got odin to flash it to sm-g930v and it failed with a auth fail and now all i get to a boot recovery loop and download mode can someone help the fix me phone
[Samsung Galaxy S7 Questions and Answers] *Detection*:
Someone here had the same problem but fixed it just flashing the 4 ROM sections

https://xdaforums.com/galaxy-s7/help/screwed-sm-g930vl-please-help-t3416539

Check "Repartition" in ODIN settings if you're changing CSC

Use ODIN 3.12.3 or newer
[Samsung Galaxy S7 Questions and Answers] Wjb89:
it still failed to flash

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/006> Added!!

<ID:0/006> Odin engine v(ID:3.1203)..

<ID:0/006> File analysis..

<ID:0/006> skip file list for home binary

<ID:0/006> Home Binary Download

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

<ID:0/006> Set PIT file..

<ID:0/006> DO NOT TURN OFF TARGET!!

<ID:0/006> Get PIT for mapping..

<ID:0/006> Firmware update start..

<ID:0/006> SingleDownload.

<ID:0/006> cache.img.ext4

<ID:0/006> FAIL! (Auth)

<ID:0/006>

<ID:0/006> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy S7 Questions and Answers] *Detection*:
Try flashing without the BL section of the ROM
[Samsung Galaxy S7 Questions and Answers] Wjb89:
nop

fail

<ID:0/006> Odin engine v(ID:3.1203)..

<ID:0/006> File analysis..

<ID:0/006> skip file list for home binary

<ID:0/006> persist.img.ext4

<ID:0/006> Home Binary Download

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

<ID:0/006> Get PIT for mapping..

<ID:0/006> Firmware update start..

<ID:0/006> SingleDownload.

<ID:0/006> boot.img

<ID:0/006> recovery.img

<ID:0/006> system.img.ext4

<ID:0/006> FAIL! (Auth)

<ID:0/006>

<ID:0/006> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy S7 Questions and Answers] *Detection*:
G930U firmware works on the G930V and VL according to XDA

http://xdaforums.com/showpost.php?p=71418277&postcount=3

Try the G930U firmware
[Honor 6X Guides, News, & Discussion] Wajira93:
However, it's great that Honor is thinking to update mid-range smartphones launched with Android 6.0 Marshmallow on board to the latest Oreo operating system.

Honor 6X and Honor 8 Pro will receive the highly-anticipated Android 8.0 Oreo update by the end of the year. The former might get the update in early 2018, but that shouldn't bother anyone who purchased the smartphone.

Apparently, there was a meetup in New Delhi, India, where fans of the Honor brand got to meet the company's officials and ask questions about new and old devices. During the meetup, Honor confirmed that these two smartphones will certainly be updated to Android 8.0 Oreo at some point in the coming months.

Source : https://goo.gl/6JqJFs
[Honor 6X Guides, News, & Discussion] shashank1320:
https://xdaforums.com/honor-6x/how-to/honor-6x-android-8-0-oreo-update-t3667647 on XDA
[Honor 6X Guides, News, & Discussion] PalakMi:
Dodn't they mention anything about honor 8 and oreo?!
[Honor 6X Guides, News, & Discussion] shashank1320:
The meetup was mainly for 6X and 8 pro. 8 shoupd get it it was flasgship level phone
[Honor 6X Guides, News, & Discussion] RedSkull23:
Yes man, we have read.
[Honor 6X Guides, News, & Discussion] PalakMi:
Understood :)
[Moto G5 Plus Questions & Answers] iam_ajayc:
Is there any chance of G5 plus getting 7.1.1 update or at least security patch update? All other moto devices launched this year are running 7.1.1 and G5 plus still on 7.0 with no signs of update.
[Moto G5 Plus Questions & Answers] Sahilsinghlodhi:
Ask here!

https://forums.lenovo.com
[Moto G5 Plus Questions & Answers] Ambar Kambli:
We are fooled bro!! They launched G5S plus and Made a wrong decision by hurting G5 Plus users!! Dont expect anything from Motorola... Just hope our DEVELOPER COMMUNITY will be so strong to even get Android O,P,Q,R updates like Moto G getting roms from Kitkat to Nougat!!
[Moto G5 Plus Questions & Answers] solomon.rajan:
Update

As per Motorola Customer Care, Moto G5 Plus is not yet planned for any updates neither security update nor version update! But regarding Motorola Feedback Network Forum Moto G5 Plus will get Android Oreo in late November!?
[Moto G5 Plus Questions & Answers] skooter32:
A wouldn't bank on anything at this point am in UK and am retail gb still on January security patch so
[Moto G5 Plus Questions & Answers] solomon.rajan:
As per Motorola regarding security update only US version got May Update. Not any other regions got any patch updates. Motorola not yet updated their update history page with Moto G5 Plus. so, as I pointed earlier we had to wait till November for any updates!?
[Moto G5 Plus Questions & Answers] Audiowaste:
RETEU got also the May update.
[Moto G5 Plus Questions & Answers] love4chat:
Moto G5 Plus Will Get Oreo For Sure,Customer Care Are A Bunch Of Stupid Peoples(They Dont Know Anything)

Moto G5 Plus In Brazil Got August Security Patch Update!
[Moto G5 Plus Questions & Answers] solomon.rajan:
India still suffering on March security patch!​
[Moto G5 Plus Questions & Answers] spajdo:
I have info from Lenovo Slovakia.... Moto G5 plus will get Android O between end of 2017 and start of 2018.
[Moto G5 Plus Questions & Answers] love4chat:
India Will Get OTA Update With August Security Patch In This Month!
[Moto G5 Plus Questions & Answers] iam_ajayc:
source? and will it be only security patch or even 7.1.1?
[Moto G5 Plus Questions & Answers] love4chat:
it will be a security patch update of august,no 7.1.1

g plus will get android 8.0 directly skipping 7.1.1
[Moto G5 Plus Questions & Answers] massima:
God bless the XDA devs and testers (us:highfive:):angel:
[Moto G5 Plus Questions & Answers] n7slc:
My unlocked version I received yesterday is on 7.0, January 1, 2017 security patch :mad:

Not really interested in unlocked bootloaders and custom ROMs. Here's to hoping they give us Oreo at some point.

Update: After replying in this thread I received the May 1st security update, go figure.
[Moto G5 Plus Questions & Answers] ajaikumarnadar:
motorola feedback network link please so that i may ask them for moto g4 plus..
[Moto G5 Plus Questions & Answers] solomon.rajan:
Motorola Feedback Network Forum

https://forums.lenovo.com/t5/Forum-...or-the-Motorola-Feedback-Network/td-p/3064626
[Moto G5 Plus Questions & Answers] MrBelter:
I still dont know why Motorola have split us up from the EU, it just further complicates matters, i blame Nigel Fararge the tossbag.
[Moto G5 Plus Questions & Answers] skooter32:
Neither do I
[Moto G5 Plus Questions & Answers] dev_freak:
Europe too, received the patch today.
[Samsung Galaxy S8+ Guides, News, & Discussion] Ady1976:
I've owned the One Plus 5 the 8gb sys ram version and apps stay in memory for super quick access, the apps on my S8 plus constantly close and have to reload them back in memory, yes I've disabled close apps when idle, this phone is still randomly closing apps when it runs out of memory, whoever says a phone does not need more than 4gm ram is wrong, try the OP5.
[Samsung Galaxy S8+ Guides, News, & Discussion] Poojan Patel:
4gb is not enough because of touchwiz ui. Oneplus has no skin. Its near stock ui. Thats why oneplus os takes less ram than touchwiz os.
[Samsung Galaxy S8+ Guides, News, & Discussion] ultramag69:
No, it has 1.5x to 2x the ram, that's why ...

Samsung galaxy S8/8+ = 4gb RAM, Oneplus5 = 6gb/8gb RAM.

Not too hard to see why it handles apps better...

Touchwiz probably doesn't help any but the extra RAM is the real reason...

Why do you think the Note 8 comes with 6gb RAM?
[Samsung Galaxy S8+ Guides, News, & Discussion] Ady1976:
And the fact it has twice the amount of ram helps also, was waiting for the pixel 2 but if they're are only going to use 4gm ram i'm not bothering.
[Samsung Galaxy S8+ Guides, News, & Discussion] Ady1976:
Yep I agree, i'm really disappointed Samsung only used 4gb, I've just had to reload the android messages app twice in the last 10 mins! this did not happen on my mate 9 or the OP5, it's actually getting tiresome now seeing all the social apps have to reload back into ram, I really do miss the OP5 for that, I've turned off all closing apps when they are inactive for useless crap but still basic stuff is still closing down, play store, email, Instagram, android messages etc.
[Samsung Galaxy S8+ Guides, News, & Discussion] Akram.:
There is an option to lock apps to RAM if you dont want it having closed.
[Samsung Galaxy S8+ Guides, News, & Discussion] corwin_amber:
[MENTION=5595772]Akram.[/MENTION] How do you lock apps in RAM?
[Samsung Galaxy S8+ Guides, News, & Discussion] Akram.:
Click on recents button> 3 dot menu > lock apps
[Samsung Galaxy S8+ Guides, News, & Discussion] Ady1976:
Thanks I'll give that a go however I've tried these things before on other phones and they never worked.
[Samsung Galaxy S8+ Guides, News, & Discussion] bluheart:
That's a hell lot of phones you used buddy!

Btw, what made you buy S8+ after OP5?

Lock apps is a good option as the basic tw settings don't allow lots of apps to be in RAM. That's why the idle battery life is the best on S series.
[Samsung Galaxy S8+ Guides, News, & Discussion] Ady1976:
The OP5 had all sorts of issues, the main 1 for me was the jelly scrolling and camera not that great, but my mate 9 broke otherwise i was waiting for the pixel 2 which i may still get yet depending on how much they put in it, if it's like the rumours say 4gb then I'm not buying anything again unless it a minimum of 6gb ram, these social apps chew ram up and 4gb these days is useless!
[Samsung Galaxy S8+ Guides, News, & Discussion] ultramag69:
LOL, only 2 phones. In the last 6 - 12 months I have bought -

1. Axon 7 - 6gb ram 128gb rom - great phone but took too long to unlock and I got bored with it.

2. ASUS Zenfone 3 Deluxe - 6gb ram 256gb rom - brilliant hardware, stock rom OK but a few bugs - unfortunately ASUS didn't release unlock tool until too late killing off developement.

3. Nokia 6 - 4gb ram 64gb rom - OK for a budget phone but again no bootloader unlock.... Bored now, NEXT...

4. One+5 - 8gb ram 128gb rom - really like it but running out of storage- at least the others I can put in an sd card...

5. Samsung Galaxy S8+ -4gb ram 64gb rom - got a bit cheaper so was in, still exploring stock rom so not rooted yet.

6. Samsung Galaxy Note 8 - 6gb ram 64gb rom - on pre-order... Awaiting judgement. Unfortunately living here in Oz it looks like I won't be getting my shiny new toy until mid October... Got grey import (love the description that it's Oz stock but then these things tend to come with an overseas plug with a cheap sh!tty plug adaptor) but it was approx. $300Aud cheaper than the ones avalable in shops here...

Also waiting for my Jellyphone pro, a really small android phone I got on Indigogo... So sue me, I'm a sucker for computers and phones....

Out of all these phones the Galaxy S8+ is pretty laggy in comparison, even the Nokia 6 is pretty decent in comparison. Hopefully the Note 8 is a bit faster and the extra RAM will push it back onto the top of the heap...
[Samsung Galaxy S8+ Guides, News, & Discussion] JasonJoel:
4gb is useless? Lol. Ok... Whatever you say...
[Samsung Galaxy S8+ Guides, News, & Discussion] disturbd1:
Yeah, I'm not really getting this assertion either. RAM is really only one component that would impact lag. The first of which would be the kernel and how CPU governor settings are applied. I consider myself a fairly heavy user, and I'm not at all upset by the response time of this phone.
[Samsung Galaxy S8+ Guides, News, & Discussion] THEHACKER609:
Yes 4gb ram is not enough for the advancing technology of smartphones. 6gb or more is recommended.
[Samsung Galaxy S8+ Guides, News, & Discussion] bluheart:
Wow didn't know AUD are cheaper then INR ;)

But you get them as locked and cheaper so it's fine.

Anyways, enjoy till you get bored ;)

Have fun! Jio jee bharke :D
[Samsung Galaxy S8+ Guides, News, & Discussion] ultramag69:
Nope, only if you get carrier specific phones will they be (sometimes) locked. Generally this is for cheap prepaid plan phones....

And the Aus dollar isn't cheaper... That's why we have grey imports....
[Samsung Galaxy S8+ Guides, News, & Discussion] Szighy:
Did anyone who has his phone rooted, try SWAP memory? Making a 2gb partition on the internal storage or even a good quality SD card.

I remember this was a thing few years ago, but everybody just forgot about it.