This was a pretty big hit with the gnex and nexus s guys so I figure that I would extend it to the aries series phones:
This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
This patch allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
Some roms (AOKP) have also implemented toggles.
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
You may also use IncrediControl (free) to toggle, however it does not fully support the aries series phones so features like voltage control do not work at this time.
https://play.google.com/store/apps/details?id=com.incredicontrol
For the widget (or any fast charge toggle) to work, you MUST be running a kernel that has this patch implemented.
As a good gesture to support a fellow dev, I ask that if you implement the patch into your kernel, please link to my widget as one means to toggle it. You are of course free to provide other ways to toggle it as well if you so desire.
Kernel devs, if you would like to test the widget yourself to confirm its working, and for convenience of testing, please contact me and I will provide you with a copy. You must show that you are a kernel dev though (i.e. link me to your kernel post so I can match your username).
Here you go. Good luck have fun:
http://www.incredikernel.com/wp-con...download.php?id=aries_force_fast_charge.patch
Thank you very much. I already have included it in my latest kernel
Sent from my I9000 running Android 4.03
Can you measure the current value with this feature and without?
Yes thanks derteufel. Already tried it with devil2 kernel. Great work
-ReaL- said:
Can you measure the current value with this feature and without?
Click to expand...
Click to collapse
When it is enabled, the phone detects all chargers as AC and your current draw is dependent on the source you're charging from. For example, if you're charging from a 1A usb source (such as a powered hub, car charger) you should get currents close to that from a wall charger. With it disabled it reverts to the factory detection of charge sources and anything detected as USB is limited to 500mA.
I use the original Vehicle Dock from Samsung (ECS V968) for holding my Phone on the Windshield in Car!
Plugging in my phone normally switches over to Sound redirection (by xcaliburinhand) and charges via 12v Car plug!
The charging isn´t working anymore !!!
Phone directly on 12v car plug: CHARGING !
Phone on USB port: CHARGING !
Phone on Vehicle Dock which is connected to either 12v Car plug or USB port : NOT CHARGING !
Ive tested with other phones (stock firmware) and it works ...so the car dock is not the problem!
Im using WeUI 0.9.8 with Semaphore Kernel 1.0.0
I dont know whether fast charge may be the source of that problem.
any idea ???
sebsch1991 said:
I use the original Vehicle Dock from Samsung (ECS V968) for holding my Phone on the Windshield in Car!
Plugging in my phone normally switches over to Sound redirection (by xcaliburinhand) and charges via 12v Car plug!
The charging isn´t working anymore !!!
Phone directly on 12v car plug: CHARGING !
Phone on USB port: CHARGING !
Phone on Vehicle Dock which is connected to either 12v Car plug or USB port : NOT CHARGING !
Ive tested with other phones (stock firmware) and it works ...so the car dock is not the problem!
Im using WeUI 0.9.8 with Semaphore Kernel 1.0.0
I dont know whether fast charge may be the source of that problem.
any idea ???
Click to expand...
Click to collapse
Semaphore doesn't have fast charge implemented.
Just curious, but is this bad for the battery?
shadehh said:
Just curious, but is this bad for the battery?
Click to expand...
Click to collapse
And second question: how fast does this fast charge charges standard 1500 mah i9000 battery (from around 0% to around 100%) ?
HI!
I'm trying to add the patch to my kernel (Sony Xperia Arc - MSM 7x30 device) but I'm kinda lost when looking at the msm72k_udc.c file.
Can you please help to out? I cant seem to find some of the lines you're deleting in the patch, hence the functions break.
this is the file i'm trying to modify...
This is my first project and i'm not that skilled yet, but i'm learning...
Thanks for the help in advance...
bipbop said:
And second question: how fast does this fast charge charges standard 1500 mah i9000 battery (from around 0% to around 100%) ?
Click to expand...
Click to collapse
shadehh said:
Just curious, but is this bad for the battery?
Click to expand...
Click to collapse
Not bad at all. The phone will not charge any faster than it would on AC charging, therefore its no worse for your battery than charging from an AC charger. I do not believe in increasing the charge current to the phone beyond what the factory specs are.
jimbo77 said:
HI!
I'm trying to add the patch to my kernel (Sony Xperia Arc - MSM 7x30 device) but I'm kinda lost when looking at the msm72k_udc.c file.
Can you please help to out? I cant seem to find some of the lines you're deleting in the patch, hence the functions break.
this is the file i'm trying to modify...
This is my first project and i'm not that skilled yet, but i'm learning...
Thanks for the help in advance...
Click to expand...
Click to collapse
I'm working on a patch for the play / arc. Its taking a bit more work than the aries series phones, PM me and you can test.
I apologize for the delayed responses.
Related
This is for kernel devs only. The patch is useless to those who do not/can not compile their own kernel.
I put together this patch for you guys at the request of a few different members here in the nexus forum. This allows one to force AC charging for any charger that is detected as USB (i.e. car chargers, inductive chargers through the pogo pins). This also works for MHL, HOWEVER you will most likely still be limited by the MHL adapter itself. With modification to the MHL adapter (splice in an additional charger) plus this mod, bunklung was able to charge at ~600-700 mA while mirroring and streaming.
To toggle the fast charge you must download IncrediControl v1.5 beta3 (http://www.incredikernel.com under Latest Downloads). Under the general tab, click on force fast charge, then apply. After you have done that, place your phone on the charger. You will see it is now detected as AC and if and only if the charger can put out more current than it was previously being limited to (more than 500mA) you will be able to use the additional current.
Good luck have fun.
http://www.incredikernel.com/wp-con...nitor/download.php?id=force_fast_charge.patch
NOTE: You may get a freeze/FC in IncrediControl once in while when toggling the charge. This is being worked on. I figured everyone could deal with a FC here or there to get this out earlier.
Fast charge toggle widget. No more need to open the app to toggle!
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
Cool! I look forward to seeing how well it works in practice. My car only sends usb power.
Sent from my Galaxy Nexus using xda premium
chad0989 said:
This is for kernel devs only. The patch is useless to those who do not/can not compile their own kernel.
I put together this patch for you guys at the request of a few different members here in the nexus forum. This allows one to force AC charging for any charger that is detected as USB (i.e. car chargers, inductive chargers through the pogo pins). This also works for MHL, HOWEVER you will most likely still be limited by the MHL adapter itself. With modification to the MHL adapter (splice in an additional charger) plus this mod, bunklung was able to charge at ~600-700 mA while mirroring and streaming.
To toggle the fast charge you must download IncrediControl v1.5 beta3 (http://www.incredikernel.com under Latest Downloads). Under the general tab, click on force fast charge, then apply. After you have done that, place your phone on the charger. You will see it is now detected as AC and if and only if the charger can put out more current than it was previously being limited to (more than 500mA) you will be able to use the additional current.
Good luck have fun.
http://www.incredikernel.com/wp-con...nitor/download.php?id=force_fast_charge.patch
NOTE: You may get a freeze/FC in IncrediControl once in while when toggling the charge. This is being worked on. I figured everyone could deal with a FC here or there to get this out earlier.
Click to expand...
Click to collapse
Looking forward to a dev adding this to their kernel. While we wait, any chance we could get whatever reference kernel you compiled for the people who tested the kernel? I'm dying to try this with pogo pin charging and touchstone mod.
Thanks for your work, added this to latest Trinity test kernel.
IT'll probably make its way into the Trinity thread tomorrow or so, unless the F5ers out it before then.
@chad0989
Wow thanks, cool mod, cant wait to try this!
G
Pushed the fastcharge toggle widget to the market for those who were interested. No more need to open an app to toggle when you can just do it from your homescreen!
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
Issue with the market should be straightened out now for anyone who was getting a not compatible message.
The widget should be fixed for you gnex guys, hopefully no more FCs. Sorry about that!
Fast Charge Toggle Widget appears to be working fine with LeanKernel 2.6.0 and CyanogenMod 9 Nightly 20120319 on my Galaxy Nexus.
Thanks!
if i understood correctly, this doesn't produce any plus effect if the output usb port is limited to 500 mv right?
and the output of every standard laptop usb port is only 500mv or i'm wrong?
thanks in advance
Aww, fast charge widget costs :/
Sent from my Galaxy Nexus using xda premium
andQlimax said:
if i understood correctly, this doesn't produce any plus effect if the output usb port is limited to 500 mv right?
and the output of every standard laptop usb port is only 500mv or i'm wrong?
thanks in advance
Click to expand...
Click to collapse
That's correct. Although some will definitely put out more, my laptop puts out ~800. I'm not willing to say I personally recommend charging from a USB port because there is a risk of damaging the port/motherboard, although nobody has ever reported actually damaging it (I do it all the time).
Hi Guys,
I am looking to source a Kernel of have one adapted with the USB Fast Charge option for the N7100.
I have searched high and low and cant find a specific one that gives the option, whereby via a switch or toggle you can enable USB Charging to change to AC charging for use the a 11 Pin MHL adapter.(Which is rated at 500ma but with this option it can push it to 1amp)
I am putting a bounty down or donation of €30 euros to start as it is something a lot of Note II users require for use with their phone and the app radio 2.
Any help would be much appreciated.
Woody_XDA said:
Hi Guys,
I am looking to source a Kernel of have one adapted with the USB Fast Charge option for the N7100.
I have searched high and low and cant find a specific one that gives the option, whereby via a switch or toggle you can enable USB Charging to change to AC charging for use the a 11 Pin MHL adapter.(Which is rated at 500ma but with this option it can push it to 1amp)
I am putting a bounty down or donation of €30 euros to start as it is something a lot of Note II users require for use with their phone and the app radio 2.
Any help would be much appreciated.
Click to expand...
Click to collapse
Flash uneak kernel and use uneak engine app to adjust usb charging rate. ..
PS you should do more searching really
Hope I helped
Sent from my GT-N7100 using Tapatalk 2
edwinpang said:
Flash uneak kernel and use uneak engine app to adjust usb charging rate. ..
PS you should do more searching really
Hope I helped
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
Hi Mate,
I have used that Kernel previously but the actual option to enable USB Charging as per my first post is not enabled (Similar to the Franco Kernel for the S2)
Also I found this Kernel also did not like my 64GB SDXC card
Woody_XDA said:
Hi Mate,
I have used that Kernel previously but the actual option to enable USB Charging as per my first post is not enabled (Similar to the Franco Kernel for the S2)
Also I found this Kernel also did not like my 64GB SDXC card
Click to expand...
Click to collapse
Fast Charge is just raising the amperage of the USB Charger in the samsung battery driver.....with my own app is even easier so you can change it to whatever current you need. There are no other ways on this platform (is not a nexus and uses an highly configurable maxim chip for charging).
If you need exFAT and fast charging, use Perseus which has 900mA hardcoded in the kernel afaik, or Redpill which has 1.7A on USB hardcoded (they both are not configurable), otherwise use FAT32 and choose whichever kernel you like.
simone201 said:
Fast Charge is just raising the amperage of the USB Charger in the samsung battery driver.....with my own app is even easier so you can change it to whatever current you need. There are no other ways on this platform (is not a nexus and uses an highly configurable maxim chip for charging).
If you need exFAT and fast charging, use Perseus which has 900mA hardcoded in the kernel afaik, or Redpill which has 1.7A on USB hardcoded (they both are not configurable), otherwise use FAT32 and choose whichever kernel you like.
Click to expand...
Click to collapse
I shall give it another try and post the results, many thanks for the reply
And I will drop a donation your way aswell.
Thank you
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Okay I have tried the neak kernel with the neak tools and yes USB charging is considerably faster It is set to 1700 ma now.
But MHL charging via an in car usb 2.1 Amp charger is still draining, is there any way to adjust the MHL settings to push it up or convince the charging that it is on AC charging whilst charging via USB ?
Thanks
Woody
Still looking around for this answer as well...I miss the dock I had with my Photon or the fact there was an HDMI and USB. MHL use just drains the battery even with the screen lighting app keeping it blacked out. Note 2 works great with MS Wedge Touch mouse and an Android BT keyboard on my monitor or projector but it's just not practical yet with this charging issue with MHL. -Sprint L900
Okay I have tried three Kernels and to be honest changing the charging current doesnt really do a whole lot :
Neak lastest Version - Brutal Bluetooth, basically through the App Radio it cuts out every few mins and same for bluetooth headset, in regards to charging it holds the charge for longer when set to 2100mA but say goes down 1% to 2% per hour so not to bad.
Redpill latest Version - No sound via MHL at all, charging current is set to 1700mA but didnt test it for long due to the sound issue
Persus Latest Version - Regarding Charging it is almost the same as stock and the current is set at 455mA
A simple question from a Novice is the fast charging option possible with the N7100 Kernels as for Arliberator with the App Radio we need to have the Kernel tricked to thinking it is charging for an AC source in order for the battery to be maintained and charged maybe slowly but ahead of battery drain.
Perseus.
You can change it upto 900mah via stweaks
Sent from my GT-N7100 using xda app-developers app
UtkarshGupta said:
Perseus.
You can change it upto 900mah via stweaks
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Can you tell me how to stweak it? Im using perseus kernel and havent changed anything power runs at only 300mah
Sent from my GT-N7100 using xda premium
Install Perseus.
It will install stweaks as well.
Open it and in charging or power app there would be an option set at about 435. Change it upto 900
Sent from my GT-N7100 using xda app-developers app
Still looking for usb fsst charge if it is possible,adjusting the current wont make a difference
it is thr option to enable this tweak.
is it possible or not,the usb fast charge app can be used to trigger it.
You can use an old cable.
I get 1700mah with it with my computer with redpill
Sent from my GT-N7100 using xda app-developers app
Sorry but you completely do no understand what is being dicussed here.
The request is for the fast charge usb option,not to increase current on a kernel this simply does not work via MHL.
Redpill kernel does not work with the app radio as it kills the audio.
Please dont comment until you have read the request, this is not me being nasty but your simply not adding much here as frankly you dont have a clue what I am requesting.
A simple question is can this option be enabled, as in the franco kernel for the S2 etc.
Is there any any update on this? I I understand FAST CHARGE cant be be done but is there any way to speed up charging while using MHL using a kernel. Ive I've tried all 3 kernels mentioned and although the current change does work with an ordinary usb ...mhl charging under same current doesnt work.
I have been searching for Z2 quick charging, and find out that z2 have quick charging enabled only on Japanese model ( SO-03F) (and it have a 32 gb internal memory). And qualicom itself says that z2 support quick charge 2.0. ( well dont get confused over the terms quick charge and fast charge ( fast charging = 5v @ amps over 1 amp, possibly [email protected] 1.5 - 2 Amp and Quick charge 2.0 = 9/12 v at 1.5- 2amp, higher voltages).
I have tried with note 4 quick charger on z2 6503, but it charges in normal mode. So sony have possibly dissabled quick charge 2 on other varients of Z2 (why sony... Why!!!). But since hardwares of Japanese model and other region's models are possibly same ( except radio and memory???, or are they locked, since radio unlocking can be done in all sony phones), i think that the same quick charge chip is used in international models and possibly locked down.with software, may be we can enable it via some tricks???
My idea is:-
1) cross flash SO-03F FIRMWARE ON INTERNATIONAL MODEL
2) dissassemble kernal and other hardware drivers along with scripts ( cross matching them) and find out where the code is hidden/dissabled and copy that to use with international models.
So any possible idea, thoughts,disaster report is welcome.
I have 90% confidence in this, i need help and reports from kernel developers, can you guys just cross check the kernel of SO-03F with international varient like 6503?
Hope we can find it out since we have made great things like 4k and slow-motion port for z1, which is a different phone, but in this case 99% of hardware is same.
So pls help to dig this out..
I'm quite sure the QuickCharge is enabled somewhere in the kernel.
May be... But we dont know yet...
showlyshah said:
May be... But we dont know yet...
Click to expand...
Click to collapse
Basically, if you turn off a QC2.0 device and plug in the charger it still is going to charge at full speed. This means it has to be the kernel. Unless it uses some external drivers from the system, but I don't think that's the case here.
So u saying that quick charge still works when phone is off?
showlyshah said:
So u saying that quick charge still works when phone is off?
Click to expand...
Click to collapse
Well, I don't have a Z3 or a Z2 variant to test it, but I'm quite sure it does.
Any previous experience with any quick charge devices? Welll so we need the help of a kernel developer.. Seriously i have very lil knowledge about kernel development.. But i will look for sources to compare..
showlyshah said:
Any previous experience with any quick charge devices? Welll so we need the help of a kernel developer.. Seriously i have very lil knowledge about kernel development.. But i will look for sources to compare..
Click to expand...
Click to collapse
Well, I'll try to find out how it works after my exams
thank you mate. well i would love to get attention of all developers to this thread.
@AndroPlus would be most qualified guy for the job
Thank you for this thread, i would like to add something
The official indian website of Sony lists a fast charging mobile charger compatible for the Z2 http://www.sonymobile.com/in/products/accessories/quick-charger-ep881/
& i bought it, but it doesn't do anything as it claims.
Now i may be a little skeptical but i think that as i bought my device from China through ebay, maybe thats why im missing this feature.
P.S. The power output of the charger is 12W which makes it total legit as a quickcharger
Check the volatge and amp description of that charger, if it is 5 v @ some "x" amp, then its just normal charger with high capacy. Not quick charge 2.0, but if its 9 or 12 v its a quick charger.
EP881 is not UCH10 is. Link: http://www.sonymobile.com/global-en/products/accessories/quick-charger-uch10/
List of Qualcomm Certified Quick Charge 2.0 Accessories: https://www.qualcomm.com/documents/quick-charge-device-list
showlyshah said:
So pls help to dig this out..
Click to expand...
Click to collapse
QuickCharge is enabled by default, so no tricks with kernel needed.
But, as I found out reading on xda, you also need compatible CABLE to be able to use quick charging. Apparently the standard data cables cannot push enough current through them. The compatible cable (which ships with some of the newer devices) is labeled as EC 802. And as far as I understood any cable which has those cylinders behind both ports on the cable, can do the job.
Cirra92 said:
And as far as I understood any cable which has those cylinders behind both ports on the cable, can do the job.
Click to expand...
Click to collapse
Uhm, what kind of cylinders?
If you mean those 1.5cm in diameter plastic coated things on both ends of the cable after the connector, thats simply Lead to reduce electromagnetic interference or such a thing. I have a cable with those USB 1.1 that's about 8-12 years old.
Guys pls dont try to suggest things if u dont know what are you talking about.. I did say its quick charge 2. Not fast charging or rapid charging or lighting charing or what ever... Quick charging is a new method adopeted by qualicom.. Its not about amp ratings.. Its a method through which battery is charged with more watts/hr. And its the voltage increase that does the trick, not current. I have said the difference in op post...!!!! I wish some development should be happen, not just talking..
Well well well..... Is it physically even possible for the non Japanese version? Maybe they've put another VRM on the PCB on the SO-03 revision which can handle 9v, and the international version does have an older chip?
Haldi4803 said:
Uhm, what kind of cylinders?
If you mean those 1.5cm in diameter plastic coated things on both ends of the cable after the connector, thats simply Lead to reduce electromagnetic interference or such a thing. I have a cable with those USB 1.1 that's about 8-12 years old.
Click to expand...
Click to collapse
I forgot to say any newer cable, surely not those 10y old. Try to do a research on quick charging, I really don't know much about it, but I have found some posts where people tested different cables with aftermarket quick chargers (those approved by Qualcomm) and confirmed that not all of them will work, specifically EC802 does, bot not 801 and 803 (which I have).
---------- Post added at 10:22 PM ---------- Previous post was at 10:12 PM ----------
showlyshah said:
I did say its quick charge 2. Not fast charging or rapid charging or lighting charing or what ever...
Click to expand...
Click to collapse
I know the basic difference, I have just shared that I have found info about cable compatibility, not just the charger itself. No need to be upset about it, I was just trying to help, dear God.
If any one of the members want to know the basics of quick charging and similar technology for our devices, read this article by androidpolice
http://www.androidpolice.com/2015/0...-need-to-know-about-charging-your-smartphone/
Well one thing that is missed in the artcle... I will explain.
Normaly most rapid chargers/fast chargers ( not quick charger 2.0) like my sony oem Ep 880 which came bundled with z2( rated [email protected] = 7.5 w) and samsung model Eta-u90IWE which i use on my z2 normally ( rated [email protected] = 10 w) can charge z2 fastly ( using a belkin 2.5 mts usb cable) but neither is quick charger 2.0.
There are other oem chargers which are rated at 3amps or even 4.5 amps like asus transformer pad charger ( ie 5v at 3amp=15w or 5v at 4.5amp= 22.5w) but then too those are not quick chargers 2.0, since that article says that anything above 15(or18) watts is a quick charger 2.0, there will be a chance of miss conception.
Let me clear it, quick charging 2.0 chargers charge phone with higher voltage and below or equall to 2amps, thats how the wattage rating increses ( 9v @2 amps= 18 w 12v @2 amp = 24w) so be sure to check the volatge before choosing a quick charger. Any currents above 1.5 will do the trick if u have 9/12 v chager.
Sent from my D6503 using XDA Forums PRO
Hi there everyone,
I have been trying to get my Nexus 7 2013 installed into my car seamlessly without problems since December 2015. I have Timur's Kernel v4 (6.0.1) running on it, and it was working flawlessly.
However, I decided that the no battery mod needed to be done as I just could not leave that battery inside a hot car - way too risky.
So, I did the Kevdav no battery mod - with success.
However, once the battery connection was receiving 5v via a usb car charger the OTG cable connected to the tablet's mini usb port would not wake/suspend the tablet properly. It would wake it up, but once it was awake the little battery icon at the top would forever show that it was 'charging' and once power was cut to the otg y cable / mini usb, it would not suspend (would still show as charging).
I did research, and bought a Drok DC-DC step down converter. I lowered the voltage to the battery mod connection to 3.7v (and tested up to 4.7v) and this alleviated the problem of suspend/wake. I think since the original battery gave out less voltage then the otg/charging connection, this needed to be replicated in order for the otg to work.
However, I now have a new problem that I cannot seem to fix. This problem only seems to happen in the car and does not occur when testing it in the house using normal wall chargers.
For clarity, this is how everything is wired up in the car.
Nexus 7 battery mod side of things:
Nexus 7 battery terminals > 22awg usb cable > drok dc dc step down power supply (this board has a female usb port for output) set at 3.7v (tested up to 4.7v) > input is connected to car's constant 12v connected directly to battery on a fused wire.
Nexus 7 mini usb port side of things:
Nexus 7 mini usb port > usb otg y cable > mini usb cable > 2.4a usb car cig adapter hardwired to car's switched 12v accessory wire.
The link to the drok dc dc step down is this - https://www.amazon.co.uk/dp/B01FDBY66Y/ref=twister_B01GO268W6?_encoding=UTF8&psc=1
I turn on acc ignition to send power to the otg connection. It'll power up. However, if left in standby overnight the tablet won't power up. If I physically press the tablet's power button it'll wake up, show the wake up animation, and react as normal (including any subsequent power downs). However, if I don't press the power button and I turn off the ign again, an icon on my car's instrument cluster will be faintly illuminated - this is odd behaviour and should be completely out. When this is the case, if I get out and try to lock the car the remote central locking doesn't work.
This light will go out if I physically disconnect the otg y cable from the tablet, and low and behold the remote central locking works.
I'm no expert on electronics and such, but it seems to me that power may be flooding back into the OTG connection from the no battery mod power?
Does this make sense? Sorry for the long question, but I was wondering if anyone had any experience with troubleshooting or any advice? I've this one problem and then I'm set but I just can't seem to figure anything out and need someone's advice who is in the know rather than take wild stabs in the dark using my own logic because if I do the latter, not only will I waste money on needless components but I'll more than likely break something. I've read stuff about diodes or something in order to regulate power flow but I'm not even sure I'm using the correct terminology here so if anyone can tell me I'm onto something here or I'm talking complete nonsense then anything is appreciated!
I did search these forums and google but I really cannot find anything that is similar to my problem.
Thanks for any input guys, whether it be any tips on what I'm missing or what I need to change (software or hardware, electrical, etc) - it's all very much appreciated.
Antony
Edit: so sorry I think I posted this is the wrong n7 2013 sub section. I can't delete the post but if a mod could please kindly move it to the relevant forum I'd appreciate it. Thanks!
antc101 said:
it seems to me that power may be flooding back into the OTG connection from the no battery mod power?
Click to expand...
Click to collapse
Hi, indeed, and your "2.4a usb car cig adapter hardwired to car's switched 12v accessory wire" requires a small mod to prevent the power feedback. It needs an extra 1A+ diode connected directly to 12V input. You could modify the adapter's PCB or simply replace the fuse's internal wire with a diode where its cathode goes to the spring and its anode to 12V input. Or just place the diode somewhere along the adapter's hardwire. $0.16 1N4001 is good enough ([email protected] is OK for [email protected]).
Not sure if thread is still active but I also have the same symptom with tablet turning off completely overnight. I am running constant 12v to 3.7v dc to dc on battery input and car adapter 12v to 5v on microusb cable in. Tablet will work fine with on and off but after car is shutdown for the night it will not turn on in the morning. It shows me battery charge icon only. I dont have diode installed either. Not sure if thats the cause. Anyone know why it would completly shutdown overnight?
Neo2020Marz said:
Not sure if thread is still active but I also have the same symptom with tablet turning off completely overnight. I am running constant 12v to 3.7v dc to dc on battery input and car adapter 12v to 5v on microusb cable in. Tablet will work fine with on and off but after car is shutdown for the night it will not turn on in the morning. It shows me battery charge icon only. I dont have diode installed either. Not sure if thats the cause. Anyone know why it would completly shutdown overnight?
Click to expand...
Click to collapse
Hi there,
Been a while since I posted on this thread but just wanted to update on what I have done so far.
Since my last post, I don't have any issues. I placed a diode as mentioned above on the +12v for the accessory power. This seemed to have fixed any back flow of power.
Concerning the power off over night, I'm pretty sure this was something to do with Timur's kernel. I forever had issues with that thing - eg, suspect and wake issues, accessories connected to my usb hub..
I switched to a stock version of android 6.0.1 - MOB30X if memory serves... and installed Elemental X version 5.16. No issues with this setup what so ever.
Huh.
I run my Nexus 7 on my car with the battery, mounted just above the dashboard, with direct sunlight exposition and no UV film on the windshield. It's been a whole year without issues, thank God.
https://i.imgur.com/cPNhDDc.jpg
I live in the Northeast of Brazil, where's 30C to 40C through the year. Sometimes I come up to the car and the tablet shut off due to the heat.
Battery still lasts wonders and there's no signs of damage.. yet.
Is it really adamant to remove the battery, or is it just a precautionary measure?
GTMoraes said:
Huh.
I run my Nexus 7 on my car with the battery, mounted just above the dashboard, with direct sunlight exposition and no UV film on the windshield. It's been a whole year without issues, thank God.
https://i.imgur.com/cPNhDDc.jpg
I live in the Northeast of Brazil, where's 30C to 40C through the year. Sometimes I come up to the car and the tablet shut off due to the heat.
Battery still lasts wonders and there's no signs of damage.. yet.
Is it really adamant to remove the battery, or is it just a precautionary measure?
Click to expand...
Click to collapse
You better have more luck.
My nexus was put under the dash and was fine for around 3 years. And it became expanded in just 2 days, separating the screen and the case. So I have urgently remove the battery.
Hey guys, wondering if anyone has found a way to limit the charging current or voltage. I'm looking to slow charge my pixel overnight with the stock charger, thinking it would be better to keep the heat down to preserve battery health.
Reading the thread linked below gave me some hints so I have been messing with the parameter /sys/class/power_supply/battery/constant_charge_current_max but it does not permanently change the charging current, there seems to be some other program modifying the value as the phone charges. I've seen it as high as 3000000 (3A) and as low as 700000 (700mA). It seems to reduce current as the phone heats up.
Is there any way to lock this parameter at a constant value? Any other ideas on how to get slow charging? Do I need a custom kernel?
https://forum.xda-developers.com/pixel-xl/how-to/guide-limit-battery-charge-level-tasker-t3668059
bchaney16 said:
Hey guys, wondering if anyone has found a way to limit the charging current or voltage. I'm looking to slow charge my pixel overnight with the stock charger, thinking it would be better to keep the heat down to preserve battery health.
Reading the thread linked below gave me some hints so I have been messing with the parameter /sys/class/power_supply/battery/constant_charge_current_max but it does not permanently change the charging current, there seems to be some other program modifying the value as the phone charges. I've seen it as high as 3000000 (3A) and as low as 700000 (700mA). It seems to reduce current as the phone heats up.
Is there any way to lock this parameter at a constant value? Any other ideas on how to get slow charging? Do I need a custom kernel?
https://forum.xda-developers.com/pixel-xl/how-to/guide-limit-battery-charge-level-tasker-t3668059
Click to expand...
Click to collapse
Easier - but perhaps less technically elegant solution that I use...use the old school Micro USB charger from prior generation phones with a Micro USB to Type C converter. I use the below from Anker...2 for $7.99 on Amazon. Works great for slow charging overnight - that's the exact use case I use it for. And I use the stock charger for rapid charging as needed throughout the day, before going out for the evening, etc...
[2 in 1 Pack] Anker USB-C to Micro USB Adapter, Converts USB Type-C input to Micro USB, Uses 56K Resistor, Works with MacBook, ChromeBook Pixel, Nexus 5X, Nexus 6P, OnePlus 2 and More
by Anker
Link: http://a.co/8m05Jnc
Good point, using a different charger is an option. I would prefer to control charging via software so that I can use the stock charger (I'm crazy and always buy/use the stock charger for my phones) and I don't have to carry multiple chargers when I travel. It would be great to have complete control over the charging levels and do a super slow trickle charge at a lower level than even an old micro USB charger outputs. Plus having a switch in Tasker to enable/disable quick charging would just be cool.
bchaney16 said:
Good point, using a different charger is an option. I would prefer to control charging via software so that I can use the stock charger (I'm crazy and always buy/use the stock charger for my phones) and I don't have to carry multiple chargers when I travel. It would be great to have complete control over the charging levels and do a super slow trickle charge at a lower level than even an old micro USB charger outputs. Plus having a switch in Tasker to enable/disable quick charging would just be cool.
Click to expand...
Click to collapse
Completely agree and if you find a solution please post it back here. Would allow me to control charging better overnight when traveling. I also only travel with the stock charger - so I just use that and it rapid charges my phone overnight (assume once full or close to full it reverts to "trickle-charging" to keep at 100%). Having the ability to control via software would be more convenient, may prolong battery life, and allow me to ditch an extra cord on the bedside table at home.
Just thought I'd mention an interim alternative while you search for the ideal solution - which I hope you find.
Also - not sure if you have checked out / tested the following Magisk modules(there may be others - these are the ones I found in a quick scan of the XDA listing of modules)...they both seem like they may help address your situation - if not totally, but perhaps partially.....
MC's Charging Controller: Control when to enable / disable charging on your device
https://forum.xda-developers.com/apps/magisk/mcs-charging-controller-t3739371
Magic Charging Switch: Automatically pause/resume charging at set % levels to extend battery lifespan.
https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427
any software solution found ? i want to lock the max charging current
nassim20 said:
any software solution found ? i want to lock the max charging current
Click to expand...
Click to collapse
You probably need a custom kernel with current_max entries rw support.
Find your charging source in /sys/class/power_supply/. In my case, it is USB - when charging from micro USB and qpnp-dc - when charging from doc connector.
Make sure current_xxx_max is writable (qpnp-dc/current_max or usb/current_system_max has rw-r-r permissions).
And just run echo 500000 > /sys/class/power_supply/usb/current_xxx_max to limit charging current to 500 mA.
if your current_max is r-r-r (read only) - you need another kernel.
sb1893 said:
Completely agree and if you find a solution please post it back here.
Click to expand...
Click to collapse
kucher5 said:
You probably need a custom kernel with current_max entries rw support.
Find your charging source in /sys/class/power_supply/. In my case, it is USB - when charging from micro USB and qpnp-dc - when charging from doc connector.
Make sure current_xxx_max is writable (qpnp-dc/current_max or usb/current_system_max has rw-r-r permissions).
And just run echo 500000 > /sys/class/power_supply/usb/current_xxx_max to limit charging current to 500 mA.
if your current_max is r-r-r (read only) - you need another kernel.
Click to expand...
Click to collapse
thnx for the reply
i actually haaad this problem with a redmi, and i found a magisk module for it on telegram