YesI still dont understand, do I need to root my device to do this?
YesI still dont understand, do I need to root my device to do this?
Hey no worries! I'm just a dude sharing what I learned and discovered. PM me or use whatever method. I don't mind at all.Hey @swangjang another xda member said you might be able to help me with a question on whether advanced charging controller is working or able to be working on protonkernel?
Apologies for not being on topic, if you're OK with it I'm happy to private message you?
So how do you like your chargie, does it work as advertised and are you satisfied with the outcome because I might get one myself.Hey no worries! I'm just a dude sharing what I learned and discovered. PM me or use whatever method. I don't mind at all.
To answer your question about advanced charging controller, I posted this a month ago that worked for me.
![]()
AccA on Pixel 5
Hi all, I'm currently using rooted Pixel 5 with AccA to control battery level not to charge over 80% and have a question. - I'm using AccA with charging switch "sys/devices/platform/soc/soc:google.charger/charge_disable 0 1" option after the...forum.xda-developers.com
But mind you, that was with the April update and with cleanslate kernel. I haven't updated mine to May patch yet and what used to work in the previous patch may no longer work in the new patch, so it's all just trial and error.
Charging control is all done by the kernel (I believe) so it doesn't matter which ROM you have installed. You'll have your phone tomorrow so I guess you'll just have to try out different kernels and find what works.
After installing the ACC module, open terminal (eg Termux) with "su" and type in "acc -t" with your phone plugged in to a charger. The terminal will tell you which charging switch will work or not. Then open the ACC app and choose the switch.
If the terminal doesn't give you anything that works, install a different kernel and run the command again.
Personally, I just decided to buy myself one of these bad boys. It's a hardware solution of ACC and this thing will last a life time, probably be more reliable and hassle-free because I won't need to tinker between different kernels anymore.
Edit: to actually answer your question: I haven't tried it on proton kernel lol I'll need to update my phone to the May patch first (which I plan to do this weekend) to try if it works on proton kernel.
Hey man, thanks for the response genuinely appreciate it.Hey no worries! I'm just a dude sharing what I learned and discovered. PM me or use whatever method. I don't mind at all.
To answer your question about advanced charging controller, I posted this a month ago that worked for me.
![]()
AccA on Pixel 5
Hi all, I'm currently using rooted Pixel 5 with AccA to control battery level not to charge over 80% and have a question. - I'm using AccA with charging switch "sys/devices/platform/soc/soc:google.charger/charge_disable 0 1" option after the...forum.xda-developers.com
But mind you, that was with the April update and with cleanslate kernel. I haven't updated mine to May patch yet and what used to work in the previous patch may no longer work in the new patch, so it's all just trial and error.
Charging control is all done by the kernel (I believe) so it doesn't matter which ROM you have installed. You'll have your phone tomorrow so I guess you'll just have to try out different kernels and find what works.
After installing the ACC module, open terminal (eg Termux) with "su" and type in "acc -t" with your phone plugged in to a charger. The terminal will tell you which charging switch will work or not. Then open the ACC app and choose the switch.
If the terminal doesn't give you anything that works, install a different kernel and run the command again.
Personally, I just decided to buy myself one of these bad boys. It's a hardware solution of ACC and this thing will last a life time, probably be more reliable and hassle-free because I won't need to tinker between different kernels anymore.
Edit: to actually answer your question: I haven't tried it on proton kernel lol I'll need to update my phone to the May patch first (which I plan to do this weekend) to try if it works on proton kernel.
It's still in shipping. Will probs take another few weeks because everything coming into my country takes a long long time. I will definitely give an update once I try it out.So how do you like your chargie, does it work as advertised and are you satisfied with the outcome because I might get one myself.
It's my pleasure. Good luck with all the flashy flash!Hey man, thanks for the response genuinely appreciate it.
The chargie looks awesome so thanks also for showing us it exists, have wondered why there isn't an adjustable USB wall outlet for this type of thing before now.
My p5 has just arrived so am just about to do all the flashy flash business, will update on here once I've found out if it works or not.
Ok thanksIt's still in shipping. Will probs take another few weeks because everything coming into my country takes a long long time. I will definitely give an update once I try it out.
@mindyabiznis
So I updated my phone to the May update and looked for charging switches.
Despite what I told you previously, don't trust what the terminal tells you when you do "acc -t".
What I found was that ElementalX kernel v1.07 and Cleanslate kernel v1.8.1 adds a charging switch called
"/sys/kernel/debug/google_charger/input_suspend 0 1"
Even though the terminal says it won't work, it does.
For ElementalX kernel, install EX Kernel Manager (you have to purchase the app) then you can flash it through the app.
For Cleanslate kernel, download the "rooted installer zip" from this post and flash it with Franco Kernel Manager (also paid app).
If Proton Kernel also gives you that charging switch, then I guess you could just use that.
(This is assuming you are already rooted).
The only downside to this charging switch is that only the "Stop charge" works. The "Resume charge" doesn't work but that's not really important as long as the battery stops charging at 80%.
For my phone, I didn't install the latest ACC module because the ACC daemon kept on shutting itself down and I had to manually start it often. I only have the app installed which shows up on magisk manager as v2020.10.15.
That's good to know that 1.8.1 works with the May update@mindyabiznis
So I updated my phone to the May update and looked for charging switches.
Despite what I told you previously, don't trust what the terminal tells you when you do "acc -t".
What I found was that ElementalX kernel v1.07 and Cleanslate kernel v1.8.1 adds a charging switch called
"/sys/kernel/debug/google_charger/input_suspend 0 1"
Even though the terminal says it won't work, it does.
For ElementalX kernel, install EX Kernel Manager (you have to purchase the app) then you can flash it through the app.
For Cleanslate kernel, download the "rooted installer zip" from this post and flash it with Franco Kernel Manager (also paid app).
If Proton Kernel also gives you that charging switch, then I guess you could just use that.
(This is assuming you are already rooted).
The only downside to this charging switch is that only the "Stop charge" works. The "Resume charge" doesn't work but that's not really important as long as the battery stops charging at 80%.
For my phone, I didn't install the latest ACC module because the ACC daemon kept on shutting itself down and I had to manually start it often. I only have the app installed which shows up on magisk manager as v2020.10.15.
That's good to know that 1.8.1 works with the May update@mindyabiznis
So I updated my phone to the May update and looked for charging switches.
Despite what I told you previously, don't trust what the terminal tells you when you do "acc -t".
What I found was that ElementalX kernel v1.07 and Cleanslate kernel v1.8.1 adds a charging switch called
"/sys/kernel/debug/google_charger/input_suspend 0 1"
Even though the terminal says it won't work, it does.
For ElementalX kernel, install EX Kernel Manager (you have to purchase the app) then you can flash it through the app.
For Cleanslate kernel, download the "rooted installer zip" from this post and flash it with Franco Kernel Manager (also paid app).
If Proton Kernel also gives you that charging switch, then I guess you could just use that.
(This is assuming you are already rooted).
The only downside to this charging switch is that only the "Stop charge" works. The "Resume charge" doesn't work but that's not really important as long as the battery stops charging at 80%.
For my phone, I didn't install the latest ACC module because the ACC daemon kept on shutting itself down and I had to manually start it often. I only have the app installed which shows up on magisk manager as v2020.10.15.
Awesome thanks for the update.@mindyabiznis
So I updated my phone to the May update and looked for charging switches.
Despite what I told you previously, don't trust what the terminal tells you when you do "acc -t".
What I found was that ElementalX kernel v1.07 and Cleanslate kernel v1.8.1 adds a charging switch called
"/sys/kernel/debug/google_charger/input_suspend 0 1"
Even though the terminal says it won't work, it does.
For ElementalX kernel, install EX Kernel Manager (you have to purchase the app) then you can flash it through the app.
For Cleanslate kernel, download the "rooted installer zip" from this post and flash it with Franco Kernel Manager (also paid app).
If Proton Kernel also gives you that charging switch, then I guess you could just use that.
(This is assuming you are already rooted).
The only downside to this charging switch is that only the "Stop charge" works. The "Resume charge" doesn't work but that's not really important as long as the battery stops charging at 80%.
For my phone, I didn't install the latest ACC module because the ACC daemon kept on shutting itself down and I had to manually start it often. I only have the app installed which shows up on magisk manager as v2020.10.15.
That's a great news! I've noticed that going from Production Android11 to Dev Android12 is online without erasing the phone, but returning from Dev to Prod require full phone reset.I live in an unsupported country, too (Austria) and wanted to tell you that installing Android 12 DP3 unlocked 5G (and VoLTE) on my Pixel 5!
So it looks like they changed something for the upcoming Android version...
Hi mate, hope all is well with you and yours.@mindyabiznis
So I updated my phone to the May update and looked for charging switches.
Despite what I told you previously, don't trust what the terminal tells you when you do "acc -t".
What I found was that ElementalX kernel v1.07 and Cleanslate kernel v1.8.1 adds a charging switch called
"/sys/kernel/debug/google_charger/input_suspend 0 1"
Even though the terminal says it won't work, it does.
For ElementalX kernel, install EX Kernel Manager (you have to purchase the app) then you can flash it through the app.
For Cleanslate kernel, download the "rooted installer zip" from this post and flash it with Franco Kernel Manager (also paid app).
If Proton Kernel also gives you that charging switch, then I guess you could just use that.
(This is assuming you are already rooted).
The only downside to this charging switch is that only the "Stop charge" works. The "Resume charge" doesn't work but that's not really important as long as the battery stops charging at 80%.
For my phone, I didn't install the latest ACC module because the ACC daemon kept on shutting itself down and I had to manually start it often. I only have the app installed which shows up on magisk manager as v2020.10.15.
That's great news!@swangjang Hi mate,
So after numerous trial and error nights sleeping with my phone on charge I finally found a way of getting AccA working on my device with protonAOSP and proton kernel...
Selecting v2020.10.28 in the ACC version in settings of the android app.
Having the magisk module activated, doesn't work for me when it's not active
And the the only switch that works everytime is dc/input_suspend. The sdm750 and soc:google_charger switch did both work once but didnt re-enable charging when it drops below threshold and then wouldn't work again the night after leaving it set when it did work, if that makes sense lol
Also the dc/input switch does restart charging surprisingly so as of 3 nights in a row I've woken up with a phone charged to exactly what I set it at
Just thought I'd let you guys know, and hopefully it will help someone get it working.
Just install MagiskHide PropsConfig, install, reboot, load Termux (App store), type su, type props, then pick a certified fingerprint for a country where call recording is legal. After rebooting the record calls should come back. Worked for me I chose EU I think as the region.@swangjang I have a quick question for you, before I rooted and started flashing roms and kernels but after I unlocked my bootloader I had the ability to record phones calls through the Google phone app but I only used it once so I stopped paying attention to the phone app while I was using it but I just recently noticed that I can no longer record phone calls, the record button is no longer present when I'm using the phone. I live in the US and that option is available for us but I no longer have the option, is there any chance you could help me get that option back ?
Hey no worries! I'm just a dude sharing what I learned and discovered. PM me or use whatever method. I don't mind at all.Hey @swangjang another xda member said you might be able to help me with a question on whether advanced charging controller is working or able to be working on protonkernel?
Apologies for not being on topic, if you're OK with it I'm happy to private message you?
Seems it's not necessary any more.