yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Accessories] JOSHSKORN:
OK, I saw the folder max77843-charger as what appeared to look like a file, using Root Explorer. I tried to open it as a text file, and as a zip file. No luck. When I looked at its properties, it said the Owner and Group is

root

. That said, this just confirmed what I'd already been told. In a nutshell, it looks like us Verizon, as well as the AT&T users, are screwed until someone can find root, which I hope is soon.
[Galaxy Note 4 Accessories] theslimed2013:
I haven't had time to really work on this since I last worked in it. I tried to change the capacity values again and I myself are having problems also so I will go back and figure out what's going on.
[Galaxy Note 4 Accessories] JOB Dave:
I did edit the Framework-res Power_profile.xml file using a hex editor but instead of inputting 10,000 I inputted 9999. When I launch Charging Time it displays 9999 mA in the Capacity box, does that mean the percentage will read correctly (more or less)?

~Dave
[Galaxy Note 4 Accessories] unibomber:
Keep us updated slim!

---------- Post added at 08:45 PM ---------- Previous post was at 08:44 PM ----------

in my testing as well as a few others, no.
[Galaxy Note 4 Accessories] theslimed2013:
Yeah that isn't working very well. I am still working on look up other values. The file system is the same is linux with a few tweaks here and there. But I know its something that can be fixed because you gotta ask yourselves, how do other phones and tablets with 4,000 to 6,000 mAH batteries calibrate right? Its not just hardware level either. And editing the framework-res.apk is enough evidence to say that each device is set to a specific OEM Battery. But I have tried the framework-res.apk power_profiles.xml mod and it never changed the mAH capacity.
[Galaxy Note 4 Accessories] BeauSmith:
Have you guys heard anything about a fuel alerted wakelock? Not sure if it has anything to do with this situation, but the problem is in the kernel. There is a fix for it. http://xdaforums.com/showpost.php?p=18687498&postcount=38
[Galaxy Note 4 Accessories] KennyG123:
Thread cleaned

Personal attacks back and forth will not be tolerated on this private development site

Consider this a warning for those involved..you know who you are

Thank you for your cooperation

Friendly Neighborhood Senior-Mod
[Galaxy Note 4 Accessories] theslimed2013:
I am still working on this mod, Just had to finish a few school papers. I was playing around with the sys/class/power_supply/ files in the adb shell and I was able to actively change the Battery percentage. So maybe there could be a init.d script made to fix this problem. Also, strangely enough, there is no charge_full_design. Its only located in the max77843-charger location. Either or, I will continue to look.
[Galaxy Note 4 Accessories] Bakhtiar Ul Haq:
Hi mate. How are you ? Any new and positive development in your scenario. And hey one more thing I wanted to ask is that if I charge my Zerolemon battery without fully discharging would it ruin the battery life or not ? I have already done it's cycle of complete charge and discharge. Please if you have some tips for this battery. Help me out so I can live happily. I cannot bear the stock battery it hardly lasts me just 3.5 hours sot.
[Galaxy Note 4 Accessories] JOB Dave:
Am anxious to see what you come up with.

~Dave
[Galaxy Note 4 Accessories] LOCKDOWN359:
I believe i changed my Kernal on my htc evo and had no problems With Battery Monitor App from GP when I used a larger capacity battery? So what you are saying kinda makes sense to me.

So I would like to know aswell if that would let app run properly?
[Galaxy Note 4 Accessories] unibomber:
Any updates slim?
[Galaxy Note 4 Accessories] TheLoneWolf20:
I am working on changing values of a old app that was made for a Sony phone that had the same issues. It seems to work well, but I have to change a few java codes.
[Galaxy Note 4 Accessories] TheLoneWolf20:
Potential Kernel issue

I can say that it is indeed a Kernel Issue. Someone would have to be willing to make a Kernel that is made for Extended batteries because the app I am working on needs code injected into the Kernel Ramdisk for it to work properly. I can change the values in the /sys/ folder, but they won't stick due to the level of the file system.
[Galaxy Note 4 Accessories] TheLoneWolf20:
This is what I am working on now. As you can see, I was able to actively change the battery meter in adb shell but the system doesn't stick the values. As well as I am working on changing a app for the note 4. I have tried contacting the devs on help but this app has been out since 2011 lol. But the problem was still there even then. But anyways, this app is supposed to patch the hardware battery % with this software created stats. I got it to change, but of course there is a Read and Write issue in the /sys/ folder. I did change permissions but that didn't help much. It will changed and then 10 seconds later change back. I also have to work on the Capacity level. It only goes up to 5,000mAH anything past that and it defaults to 1,500mAH.
[Galaxy Note 4 Accessories] thexeong5:
Wouldn't it be easier to just take the files from the note pro 12.2 and copy them over to our note considering that thing is the closest to our battery capacity?
[Galaxy Note 4 Accessories] TheLoneWolf20:
That is a good idea, but you are messing with the /sys/ folder which is basically files in the emmc of the Logic Board. That's like messing around in your computer's motherboard Firmware files. Not a very comfortable thing to do and you can risk bricking your device to the point that you need to JTAG it. The /Sys folder in Android is like your motherboard file system on a computer. Another thing is that even if you did manage to replace the files, when you reboot, it will go back to defaults UNLESS you were to import them into a Kernel. The only way you could do that is make a Symlink. Also, the Note pro 12.2 may use a different Battery voltage chip than the note 4. The Note 4 uses a Maxim chip.
[Galaxy Note 4 Accessories] unibomber:
Maybe Pafcholini or Jameson can help with their kernel?
[Galaxy Note 4 Accessories] TheLoneWolf20:
Would be nice. Hey, maybe we can tell a kernel builder to make a extended battery version.
[Galaxy Note 4 Accessories] unibomber:
Jamison904 is the other dev
[Galaxy Note 4 Accessories] TheLoneWolf20:
I hope one would be willing to put in the time also. I know other phones have had this issue also and a Dev created Kernels for different mAh batteries.

Alright, I sent Jamison904 a PM about our issue and hopefully he can help us find a fix in the coming days. In the mean time, I will still keep tying.
[Galaxy Note 4 Accessories] TheLoneWolf20:
Just to give you guys a Update, this is what I am looking into and working on. http://xdaforums.com/showthread.php?t=1312398 Its the exact issue that we are having but on a old phone lol. The app does run since I am using it on a Note 4 for Testing purposes.
[Galaxy Note 4 Accessories] unibomber:
Hope this is the answer!!!
[Galaxy Note 4 Accessories] TheLoneWolf20:
Yeah I am not so savvy in Java Code but I am giving it my best.
[Galaxy Note 4 Accessories] manbat:
Are you trying to enable 10,000 mAh vs. the 4,000 mAh max in the app?

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed/ TWRP 2.8.6.0.trltevzw
[Galaxy Note 4 Accessories] TheLoneWolf20:
Yeah, I changed a few lines but if I go past 5,000mAH it defaults back to 1,500mAH
[Galaxy Note 4 Accessories] TheLoneWolf20:
I got access to the kernel so I am currently looking in the Kernel's Rmdisk and I am seeing some lines on fake_batt_capacity that don't look to be activated. If I can be able to get the battery changes to stick, I can get the app to work. Better yet, if I can find a area to change the voltages and battery settings to match that of the Zerolemon, it may work altogether.
[Galaxy Note 4 Accessories] unibomber:
I'm excitedfor this even though my hyperion showed up today.
[Galaxy Note 4 Accessories] unibomber:
If u need a tester let me know
[Galaxy Note 4 Accessories] TheLoneWolf20:
Well I made a init.d Bash "while true do loop" to make the manually edited battery stats stick by rapidly updating the file. Hopefully that doesn't make the CPU run harder. I don't think it should since its only editing a text file. But I am doing performance testing on it just to make sure. I am a bit slow due to finals coming up.

---------- Post added at 06:54 AM ---------- Previous post was at 06:54 AM ----------

In the coming days I might just to make sure everything is running good. It's not going to be perfect though.

---------- Post added at 07:01 AM ---------- Previous post was at 06:54 AM ----------
[Galaxy Note 4 Accessories] JOSHSKORN:
[/COLOR]

I've tried to get an answer on Hyperion batteries in terms of battery stats, to no avail. I'm on the RETAIL Verizon Note 4, the one, along with the AT&T Retail that is currently unrootable. Currently using a ZL battery, just wondering if a Hyperion reads accurately or does your phone still have to be rooted in order for it to be conditioned w/ a different battery.
[Galaxy Note 4 Accessories] TheLoneWolf20:
I am really not sure about those Hyperion batteries to be honest. Someone told me that they had one and they got better stats than the ZL ones if you are willing to lose 2,000 mAH (which I don't think its a big deal). I am pretty sure they are smaller than the ZL ones and not as heavy. I haven't had time to get one to try out. But if that's the case, then I wouldn't mind making the switch. But I have gotten use to the near 1 pound weight.
[Galaxy Note 4 Accessories] JOSHSKORN:
Let me ask you something, which carrier are you on, and if Verizon, do you have the Retail or Developer Edition?
[Galaxy Note 4 Accessories] TheLoneWolf20:
I am on T-Mobile retail.
[Galaxy Note 4 Accessories] JOSHSKORN:
So yours has already been rooted, I believe. Have you rooted yours?
[Galaxy Note 4 Accessories] unibomber:
I just got my hyperion yesterday. From what I've read, it is true to what the % says. I'll let you know in a few days.
[Galaxy Note 4 Accessories] TheLoneWolf20:
If that's the case then I might just go with that and use the ZEROLEMON case. At least it won't be as heavy lol.
[Galaxy Note 4 Accessories] JDevil:
The hyperion registers pretty true to the % value. I still tweaked the framework-res to reflect the 8000 mah size so other apps like 3C's System tuner reads the true size.
[Galaxy Note 4 Accessories] TheLoneWolf20:
That hyperion battery must be either a single cell battery or has a good thermistor in the battery. I wanted to experiment and take apart my stock note 4 battery and take my ZEROLEMON apart hook the stock battery to the ZEROLEMON one and see if it registers different, or more accurately.
[Galaxy Note 4 Accessories] JDevil:
The hyperion IS a single cell battery. I've used them before in my S3 and note 3. Great batteries, unfortunately I dislike tpu cases. here though, the hyperion works great with the ZL because it comes with the added door if you wanted to keep the stock battery.
[Galaxy Note 4 Accessories] TheLoneWolf20:
I wish they made a 10,000mAh one but oh well. Maybe I could put a note 4 one to it and make it work lol. Looks like I'm buying that next.
[Galaxy Note 4 Accessories] unibomber:
Id still like to see a fix for the zl lol
[Galaxy Note 4 Accessories] TheLoneWolf20:
lol the ZL Fix is still being worked on
[Galaxy Note 4 Accessories] BigMosley:
I just got my battery today thru ebay. I just came from the Note 3 with 10k ZeroLemon battery and I definitely like the Nore 4 design better. One gripes I have are the phone gets sorta stuck and hard to take out of the holster if you face the screen outwards and the music is kinda muffled by the charger/S-Pen flaps. All in all these are minor inconveniences compared to having an awesome 3-4 day capacity battery on deck. ZeroLemon knocks it out the park again! :thumbup:
[Galaxy Note 4 Accessories] unibomber:
Slim, any updates on your end?
[Galaxy Note 4 Accessories] TheLoneWolf20:
I am just messing around in the system files. Nothing really to update on at the moment.
[Galaxy Note 4 Accessories] jbuggydroid:
So if i am understanding this correctly the zerolemon is a tricell battery which our phone isnt able to recognize while the hyperion is a single cell battery which the phone will recognize and read properly? So the whole complete charge cycle thing that zerolemon says to do doesnt really work to well? And the only fix that we think is to change the mah at the system level of the phone in order to have it read the zerolemon correctly?

Just wanting to make sure i am understanding all of this.

( i personally went back to stock and ordered a spare stock battery with charger. kinda like the naked feel of the phone now after using the zerolemon for a week. Def feels smaller lol)
[Galaxy Note 4 Accessories] TheLoneWolf20:
The whole conditioning thing that ZL says is complete bs. If you phone won't recognize the phone in 1 charge, and the battery has NO memory recall, what makes you think it will on the 3rd or 4th lol. Its basically ZL's way of trying to burn past your warranty period. Its a good battery, but its troubling trying to get it to calibrate right. I am still working on the fix and have the fix in mind, but its just executing it. But school is finishing up next week so I will have more time to work. That's IF I don't have a fix in Beta already lol. I really want to try that Hyperion battery.
[Galaxy Note 4 Accessories] manbat:
Well...I guess I got an excellent Z-Lemon Note 4 battery(and I think I got one of first in this thread) . I am still getting three days out of it. I never pull the battery. The first time it gets down 10%(2nd day) I turn the phone off (not reboot). After about 5 minutes I turn it back on. Battery then jumps up to 45 to 50% and I get almost another day. When it hits 10% or below again...I recharge all night. Works for me.

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed/ TWRP 2.8.6.0.trltevzw
[Galaxy Note 4 Accessories] TheLoneWolf20:
Yes but that is the problem. You shouldn't have to Turn it off for 5 Minutes or pull the battery to get the proper battery level. If you keep doing that, it wears down the TPU case and becomes looser. (if you choose to remove the battery). Then when it gets down to 1%, the screen dims to almost nothing making it impossible to use during the day.
[Galaxy Note 4 Accessories] sefrcoko:
FYI you can use rootdim from the Play Store for normal brightness when under 5%. Not ideal but a valid workaround.
[Galaxy Note 4 Accessories] TheLoneWolf20:
There are more problems when the phone reaches 1%. CPU Throttles down, Services stop, etc.
[Galaxy Note 4 Accessories] sefrcoko:
I'm not defending ZeroLemon lol. Just offering solutions :)
[Galaxy Note 4 Accessories] JOSHSKORN:
Yeah I can't use that, yet. I'm on the Verizon Retail Note 4, which is currently unrootable, but that may change very soon. Not to purposely get off topic, but there's a team out there that has gotten a temp root to work, but it's gone once the phone is rebooted/restarted. This was announced within the last day, so there may be changes (good ones) in this sooner than later. Until then, I'm stuck w/ the 5% issue, and not being able to modify root files to be able to further calibrate the ZL battery. I'm shipping mine back today for a replacement.
[Galaxy Note 4 Accessories] TheLoneWolf20:
Oh I know lol. I just like seeing the power of a 10,000 mAH Battery which includes seeing statistics working also. I have learned to deal with it but I always wondered how it would behave with proper stats.

---------- Post added at 08:25 PM ---------- Previous post was at 08:24 PM ----------

You might have to settle for a Hyperion. I am hearing that it works accurately since it is a single celled battery.
[Galaxy Note 4 Accessories] TheLoneWolf20:
It comes down to also understanding how the Phone battery works. Currently, there is no real way of communicating with the battery on Capacity or life remaining. The MAXIM Fuel Gauge Chip on the phone doesn't retrieve that info since the Battery doesn't have a clock or memory. The only thing the phone actually knows and can retrieve is Voltage, Temperature from one of the batteries 4 terminals labeled T for Thermistor, and current levels. So you wont and really don't know the true battery life of the battery. Even on Samsung phones. The reasons why the phone gets Voltage and Temperature levels is because 1. if the battery goes below a certain voltage (I think its around 3.3-2.8V) it can damage the battery cells or trip the circuit protector in the battery which would damage the battery. So by knowing that, it can tell the phone to turn off and not turn on until it gets to a charger to charge to a safe level. And 2. The temperature regulates how the battery charges. If the battery is in the mid to upper 90 degrees, the phone will tell the charger to back off a bit on charging and trickle charge. Now you wonder how does the phone get the battery remaining you ask? This goes back to the power_profiles.xml in your Framework-res.apk

This comes straight from Android Developers. EVERY PHONE manufacturer has to make and provide a component power profile that defines the current consumption value for the component and the approximate battery drain caused by the different components (be it LCD Screen (on but low brightness or on with max brightness), WIFI, Bluetooth, Vibrator, Radios, etc) over time. Now ask yourself, why does every manufacturer that makes a Phone or Tablet needs to run these test? Getting back to it, that maybe the answer. If you look inside the Power_profiles.xml file, other than the fact that the battery capacity is set to 3220, there are also values on the mAH of the different components that burn energy over time. They are calibrated to the 3220mAH battery. If we change the individual values to accommodate to the 10,000mAH battery that maybe the answer. Now some of you guys wonder, well how does the Hyperion battery read better than the ZL with the same power_profiles.xml values. And it has to do with the battery cell structure. The Hyperion battery is a single cell like the Note 4 stock battery. The voltage and current levels read smoothly and conform better. On the ZL battery, its only recognizing and reading one cell and not the entire 3 cell structure. Also, Android fuel gauge chips cannot understand multi-cellular batteries yet. You can read the article here: https://source.android.com/devices/tech/power/index.html I am doing testing on this as we speak. How I came up with this is by the App that I was working on. The app works on calculations on battery usage just like the phone.
[Galaxy Note 4 Accessories] JOSHSKORN:
I've had one in my Amazon cart for weeks, I finally just decided to take the plunge and ordered it.
[Galaxy Note 4 Accessories] TheLoneWolf20:
I am pretty sure this is your problem right here guys. I am looking in the Kernel drivers of the Battery and it shows the set values for the stock battery that cannot be changed system wise. They have to be changed by the kernel. The voltage is set to 3500 which is 3.5v The ZL battery goes down to 3.3 to 3.2 Volts before the phone turns off which explains the 1% battery issue and of course the capacity is set to 3220 mAH instead of 10,000mAH. I am trying to see if I can get BioShock to look into this and edit it to match the ZL and see if it will work but if I can't get a reply, then I have to pull out my laptop and dual boot linux and give it a go by making a custom Kernel using the Source Code.
[Galaxy Note 4 Accessories] JOSHSKORN:
Where did you get that code, is that a preexisting file on the Note 4 or are you making an apk or what?
[Galaxy Note 4 Accessories] TheLoneWolf20:
This is on GitHub. You are looking inside the source code of a Kernel. Basically your kernel handles your drivers and the communications between hardware to software. So I say yes this is a preexisting file driver since it is the kernel. And I know this is the problem because other phones had a fix that was related to the kernel. Of course, this is not the first time someone said its a kernel related issue. But its sad that none of the Kernel developers didn't make variants of the different mAH battery sizes. And I know they know about the ZL calibration issue. But with these values set, the dang Battery will never calibrate right.
[Galaxy Note 4 Accessories] Don164:
Will anything happen to my phone/ battery if I temporarily go back to my stock battery ?!
[Galaxy Note 4 Accessories] JOSHSKORN:
I did just that. No change in battery drainage percent.
[Galaxy Note 4 Accessories] TheLoneWolf20:
Does anyone know how to compile kernels? I don't have experience in that area quite yet.
[Galaxy Note 4 Accessories] Don164:
Good to know. I intend to use this add on lens for my Note 3 but its not compatible with the ZL case. I thought I'll be on the safe side and ask
[Galaxy Note 4 Accessories] Don164:
Try to figure out this all !
[Galaxy Note 4 Accessories] BigMosley:
Can someone help me understand this...I took the Brick case and battery off the phone (only a few days installed) to install a glass screen protector and my battery was around 30% and once I installed the screen protector and put everything back together the battery is now at 54%... Wtf?
[Galaxy Note 4 Accessories] JOSHSKORN:
Happens all the time. The ZL battery doesn't calibrate correctly with u rooted Note 4s. All calibration all that I've tried, require root, which is currently impossible for AT&T and Verizon retail users. Even so, I've also read something about how someone got information from a Samsung rep that a tri-cell battery will never work correctly on thr Note 4, whereas the stock battery and other extended batteries are single cell.
[Galaxy Note 4 Accessories] unibomber:
Nothing works. Its being worked on kernel side and another method too.
[Galaxy Note 4 Accessories] TheLoneWolf20:
Yeah the Kernel side is the only way that could possibly fix it. Just trying to compile it to test it.
[Galaxy Note 4 Accessories] BigMosley:
However I am not rooted (yet) and have Sprint. This sucks but can't complain to much I'm going on day 2 with 46% left. Does this battery stay at 15% and below forever like the Note 3 did?
[Galaxy Note 4 Accessories] JOSHSKORN:
I didn't have the Note 3 so I can't comment on that, however my experience is that the battery did last roughly 12 hours at 1%, even though it was just as dim at 2%, 3%, 4% and 5%, which I think those percentages lasted several minutes, I don't remember how long, to be honest...but it wasn't 12 hours each percent, that's for sure.
[Galaxy Note 4 Accessories] TheLoneWolf20:
After 4 days of countless trial and error, I finally know and have created a bootable kernel from BioShock Note 4 source lol. Now to test the battery drivers.
[Galaxy Note 4 Accessories] unibomber:
Let me know if you need an additional tester lol
[Galaxy Note 4 Accessories] TheLoneWolf20:
Will do.
[Galaxy Note 4 Accessories] BeauSmith:
I tried to figure out how to compile a kernel from source to include the fix, but it needed a Linux OS and was way over my head. Keep us updated, thanks for the hard work!

---------- Post added at 03:50 AM ---------- Previous post was at 03:50 AM ----------

I tried to figure out how to compile a kernel from source to include the fix, but it needed a Linux OS and was way over my head. Keep us updated, thanks for the hard work!
[Galaxy Note 4 Accessories] TheLoneWolf20:
lol Just messing around with the File system. I am trying to learn the different code values and see if I can get a solid calibration. lol it isnt as easy as it may seem and there is a lot of trial and error.