lich4 / ChargeLimiter

Charge limiter for iOS, inspired by AlDente
GNU General Public License v3.0
616 stars 29 forks source link

[feature request]: higher wattage on non official magsafe chargers #74

Closed Hamzabdx closed 1 week ago

Hamzabdx commented 1 month ago

Plz add the feature that was added in ios 17.2 that increases the wattage on non official magsafe battery chargers and packs from 5w to 15w 2ABF991B-E3EB-4FD4-BDEC-B6FD4DF150DA

lich4 commented 1 month ago

CL is a software, and the functionality of CL heavily depends on the corresponding functionality inside hardware(battery/circuit board) and iOS system kernel, I think there is at least 2 problems to figure out for the feature:

I only have limited number of devices, so It's very hard for me to figure these out.

Hamzabdx commented 1 month ago

I have jailbroken (dopamine) iphone 14 pm on ios 16.2 im sure this feature is software based and it was activated in ios 17.4 but it was only activated in iphone 13 and up

Hamzabdx commented 1 month ago

Heres an article about it with more detail https://www.cnet.com/tech/mobile/iphone-13-and-iphone-14-reportedly-getting-better-wireless-charging-in-ios-17-2/

Hamzabdx commented 1 month ago

Btw u can make this feature as a tweak on its own and make it paid on havoc for example id pay 1-2$ dollars for it if you dont feel like doing it for free

dinaau commented 1 month ago

i have the 14pm on iOS 16.2 i have the exact issue.

charing on on non official magsafe battery chargers only give me 5W even the wireless charger supports up to 15W

when i charge it, it shows the cirecle animation and initially shows 15W but quickly after 1 sec it dropps to 5W and remain that way

def related to iOS 16 restriction

Hamzabdx commented 1 month ago

Yes the only way around this is to get magsafe wireless charger clones from china that makes the phone think you have an original or if a dev makes a tweak fixing it

lich4 commented 1 month ago

iPhone12 is the higest model I have got, but 17.x not jailbreakable currently, so I couldn't help you

Hamzabdx commented 1 month ago

Its ok

lich4 commented 1 month ago

I still think it's impossible for a software to implement this. From all the stuff you have shown, it seems probably apple add this new "code" to the kernel, rather than hiding it in lower version system. It's obvious that a software couldn't access kernel directly, espcially for non-jailbreak environment. In this case CL couldn't create new charge logic "code" in kernel, and seems impossible to be implemented. It may be possible with PongoS environment, jailbreak

Hamzabdx commented 1 month ago

The iphones 13pro + already has the ability to charge at 15w on lower ios versions its just that its capped at 5w for non official wireless chargers and magsafe powerbanks so the only thing you would be doing is making the ios think its connected to an official apple wireless charger/magsafe when it’s not

lich4 commented 1 month ago

The iphones 13pro + already has the ability to charge at 15w on lower ios versions its just that its capped at 5w for non official wireless chargers and magsafe powerbanks so the only thing you would be doing is making the ios think its connected to an official apple wireless charger/magsafe when it’s not

"making the ios think its connected to an official apple", this requires a kernel hook or modify kernel code memory or sth.(this kind of logic generally implemented in kernel or hardware, not in userspace), at least jailbreak. Apple itemself definitely won't expose any interface to fake that. So PongoS is still required, but PongoOS can only work with model <= iPhone X. So my conclusion is still impossible.

Hamzabdx commented 2 weeks ago

Ok bro