yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] Infy_AsiX:
Photos with short descriptions https://imgur.com/a/8Ceha.

There's a lot of stuff to cover. I'll cover the basics. If anyone wants more information, just ask.

I was planning to remove the S8+ PCB and attempt to solder it myself. After Banggood didn't package the soldering iron order twice, I got fed up waiting and decided to quote a cheap phone technician. Given the fee was AUD $18 I went ahead.

There was some communication issues as the technician didn't speak English, so I had to discuss with the staff. I'd have preferred the S8+ PCB removed and with shorter wires but it has actually has worked out well. Looking at the broken battery I removed the Z3C PCB from, it's difficult removing the PCB from the spot welding while leaving lots of aluminium tab left over. I've read how aluminium is one of the most difficult materials to solder to and having big fresh tabs is easier and safer.

It all fits well and is still removable quick swappable with my other mod. I'll be monitoring its performance. I already use custom charge threshold rates and limits using Tasker rooted for longevity. I already previously monitor battery temperature, usage rates and voltage by overlay so I should be able to notice differences. Plus i've got two working Z3C's to power test :fingers-crossed:

Should probably add that doing any battery modification goes against safety recommendations. You need to know what you're doing for the involved risks. Follow electrostatic discharge safety for installation and use required measures for handling the battery if using it removable.
[Xperia Z3 Compact General] TheHow7zer:
Hey, I'm interested in this mod. Can't wait to find out your results. I may be able to help you out a bit, I'm a CNC Machinist and I have my own set of calipers if you wanted a more accurate measurement on the z3c battery sizes. I may (read: may) be able to make a back plate that will hold a slightly different battery.
[Xperia Z3 Compact General] Infy_AsiX:
You're welcome to get more accurate measurements for correction. It shouldn't be much of a difference but can be useful for interests sake.

That's an interesting offer suggestion. I'm a little curious how much signal loss there is with a metal case. I prefer a TPU for the sides of my case with a small lip to cover the front, also a hard back to adhere 3M VHB for a Garmin interface. So I tracked down a Z1C Ringke fusion to combine all my hardware mods :laugh:
[Xperia Z3 Compact General] Cirra92:
Wow very nice idea and the mod indeed :D I am sucker for battery life, so I'm very much interested in actual numbers here, you could provide us some screenshots and further feedback on mod performance.

I've got a question though, since the S8+ battery is 0.1mm thicker, would it be possible to put some double sided tape on the frame + B7000 glue in order to lift the original glass back and still keep it on the phone?
[Xperia Z3 Compact General] Infy_AsiX:
I might try to compare across two devices with the same Nandroid copy and the less old 2016 battery. I'd probably only test up to 80% to maintain cycle life. May be awhile yet though as I broke a motherboard while transporting for an unrelated replacement screen warranty removal.

B7000 hey, you've done some phone repairs already too? It's 0.1cm, 1mm thicker. B7000 applies as liquid so it won't be raised enough when adhering. Using a case isn't a bad compromise as it affords protection, something I've already always used in the past.
[Xperia Z3 Compact General] Cirra92:
I thought some screenshots with the device that has the mod, you don't need to compare with old one :) Bad luck for the motherboard, had some mishaps too with broken screens while replacing them myself :/

Yeah I took the phone apart 3 times already (though it was to replace the screen only, didn't remove the motherboard) so I'm familiar enough with Z3C disassembly :) Right, 0.1cm, I meant that but made a stupid mistake, sorry. I've mentioned B7000 since I used that to avoid notorious issues of screen and back glass separating from frame, but didn't use the double sided tape as I don't know how good is it gonna stick, so thought in this case of using maybe a double layer of the tape and glue on top of it. I have a silicone case on it, but would like to keep the original look :)

Anyway I hope to see what benefit this gives you, as my battery is 2y old now (still going strong though), so it will likely start to give up on me, and I'm interested in this mod :)

Thanks, and good job once again :victory:
[Xperia Z3 Compact General] Infy_AsiX:
I think it's hard to demonstrate battery performance based on how different smartphone power usage can be. On a fresh ROM even an old battery lasts a long time. I'd estimate my basic usage averages around 650mA/h based on the system current draw when the screen is on and being used generally. That's with debloated stock and various power saving mods like kernel tweaks, low brightness and Greenify. Though on the other hand I do have a lot of mods and Xposed going on. I prefer to leave mobile data, wifi and sync always on so that's no help either. Though also my old stock rom does seem faulty, running out of ZRAM even with it greatly increased.

Anyway at ~650mA/h that's still only 5 hours SOT with 3325mAh. 4 hours SOT using a max limit of 80%, around the same as a new stock 2600mAh battery. 3 hours SOT for a degraded battery with 80% capacity left or a new stock set to 80% max limit. 2.5 hours SOT for a degraded 80% remaining with a set 80% max limit. If feels like those last scenarios describe my old batteries. With a theoretical 4000mAh an extra hour again would certainly be welcome. Technically you can get close to that with a S8 Active battery that's 4000mAh 4.4V, judging by phone dimensions between the S8, S8 Active, S8+ it will be smaller and thicker again.

It kind of shows why I don't like comparing battery performance with between user setups. There's too many variables to power consumption on a smartphone. I don't know how people get 8 hours screen time in screenshots but physics dictates the limit. To get 8 hours SOT with 3325mAh, current draw would have to average 415mA, something I can't reach on my setup. Not to mention performing a full deep discharge cycle harming longevity. However it's definitely possible on a fresh ROM with only a few apps, noting that's how reviewer benchmarks operate (untrue to real usage). It kind of brings back the fact that a removable battery is still the only solution to extending run time beyond an insufficient limited capacity without complicating charging and requiring tethering.

I'll try to get a screenshot that indicates what I've mentioned here as confirmation. You could try watching your system current draw using an app too, I see Ampere and AccuBattery often mentioned, I prefer DevCheck or Cool Tool. Then estimate your own capacity health, potential run times and screenshot for interest and knowledge sharing's sake :).
[Xperia Z3 Compact General] Cirra92:
Well yeah I agree on that, it's hard to do it precisely, however I asked because you know your typical usage and maybe could make a rough conclusion on the benefit that this mod gives you, if your current usage does not differ much from the one with original battery. I do not rely much on those app calculations no matter how precise the might be, as I don't rely on reviewer's tests as well, because my usage is specific. I can tell I'm one of those who was reaching 8h of SOT, even 9h on 5.1.1 with specific settings (microG instead of Gapps, global UV, interactive governor tweaks, intelliplug, different LMK values and Amplify, though the last one didn't make much difference) and that battery life was pretty consistent until MM came on board. Now I'm on Carbon 7.1.1 (with same settings) and can average 7h of SOT and always 24-36h of total usage with 2y old battery, which is damn good if you consider that and the fact that I had a lot of full discharge cycles, 100% -> 1%.

Based on your calculations even with your current draw you can get extra 1h of SOT, if I understood right what you wrote, not that SOT is sole indicator of how your battery performs, but it does show a lot in same usage scenario :)

I have AccuBattery installed from last night, will monitor in upcoming days and share here, just for general info as you said, and to see how much is the % of degradation :)
[Xperia Z3 Compact General] Cirra92:
That was on stock, the most efficient one was LP, the last 5.1.1, I got constantly 8+ hours of SOT, and even 9+ in half of those charges probably, but as soon as I flashed the first stable official MM build and then went back to LP (in the same month even) the battery life dropped significantly, and the only thing I remember that could have changed was the bootloader, literally nothing else, but I doubt it has anything to do with battery life.

You can see the screenshots here just after flashing the 5.1.1 back then. -> https://xdaforums.com/showpost.php?p=68155846&postcount=16

And also I have observed the battery stats through AccuB, you can check some on attachment shots, and if measurements are valid my screen power draw is 350-400 mA and the battery health is reported to be at ~2400ma or ~92% which is actually more than I expected :) And as you can see, the standby drain is unusually high, been that way since I flashed the rom, and I'm sure it has to be lower, but will tackle that when O gets more bugs fixed. All of this is on Carbon N rom by Myself5.

I can see that you've done your homework extensively, which is impressive :D Now, for the battery capacity coding part, I'm not sure if its hard coded as I've used my phone just a month ago until 1% and it didn't die where it should because the battery capacity is lower. Don't know about the way to reset the battery chip (or gauge) since it has been said that its self regulated, unlike the Galaxy S2 as you've mentioned and I owned it as well and done that. It might level out through a number of successive charging cycles, try to load it with clean rom and give it a go, why would they hard code the capacity, that's weird, but that's beyond my knowledge anyway.
[Xperia Z3 Compact General] Infy_AsiX:
I think AccuBattery's health estimate is unreliable after noticing how it seems to report by the ROM's provided mAh/% rather than usage. It's discharging mA rate and history total discharge however are useful as they seem to track mAh usage current. So I think doing a full cycle noting the history's total mAh thus avoiding any kernel/ROM BMS configuration interference may be the only way to check.

I'll get around to testing the S8+ battery on AOSP soon. I ran this replacement Z3C on LOS almost flat but aging stats in /battery haven't changed. I guess the BMS aging stats are hidden by not linking to output like Sony's stock. I made up my own CaliBattery style notification through Tasker and have BMS reset on every % change when charging. So far it looks to be a workable workaround.

If some close to three year old batteries do still have 90% health, the batteries are actually good after all. My first two Z3C batteries were swollen under a year, but I lacked knowledge on maintaining them back then. Well that and the design problem of overheating during gaming and charging at 100% to keep topped up due to too slow charging without a swappable battery. The reasons why I've ended up learning all this, modding a removable feature with a custom charging profile on Tasker.
[Xperia Z3 Compact General] Cirra92:
[MENTION=4493018]Infy_AsiX[/MENTION] Hey man how is your battery mod doing? Is it still in life? :D

Did you manage to track where is that battery capacity coded, if it is anyway?
[Xperia Z3 Compact General] Infy_AsiX:
Hehe are you checking if I experienced a lithium-ion battery fire? :p

I didn't delve further than previously discussed as by workaround the charging and estimation is functioning well enough. To change the charger and battery functions is kernel code and would require some understanding to work.

The Z1C Ringke Rearth Fusion case fits like a glove with the extra mm for the plastic spacers I install too. Looks nice and cool while working well. The Z3C is still my preferred phone size form factor and I need it as a bike computer with smartphone extras. For multimedia and gaming consumption I picked up a ZTE Axon 7 to complement.
[Xperia Z3 Compact General] Cirra92:
Haha no, I thought maybe you had any kind of issue with it and just gave it a good swing through the window :D

So the battery level reading did not level out with certain number of cycles, at least to a certain amount? I thought maybe that it would get recorded by system and the kernel would adapt that accordingly, since my best guess is that it's a dynamic reading, rather than pre-set capacity, as you've mentioned yourself.

Anyway, if I go that road, and I'm considering that seriously as of late, I would like to explore the ways to attach the back panel and keeping a stock look. Where did you put those plastic spacers?

Good choice on that Axon 7 :)
[Xperia Z3 Compact General] Infy_AsiX:
It may have adjusted the Full Charge Capacity back to what the Z3C considers a full new stock 2600Mah. The purpose of that is just to recalibrate the fuel gauge percentage outputs for accuracy throughout the range to account for degradation I think. I recall something like a couple bits of code mentioning 2600 in the kernel battery somewhere back when I did some peeking. The kernel defines the battery size and the related BMS functions and calculates on that premise.

Anyway it's stock feature. I moved onto AOSP so can't say how stock would've exactly responded except as I speculate above. AOSP doesn't implement the feature, I can assume without it, earlier shutdowns or rapid unsmooth drops in percentages can occur on degraded batteries. Think of Apple's degraded battery CPU throttling controversy, it's a new issue because of greater peak power demand of modern performance and combine that with how battery voltage can spike low due to this. I've learnt more about this by investigating how Axon 7 users with degraded batteries are experiencing throttling too under a Qualcomm BCL enabled feature. I made a thread about it here: https://xdaforums.com/axon-7/how-to/degraded-battery-bcl-device-lag-t3752545

The plastic spacers are in the last photo in the album. I'm talking about the ones to allow an air gap for lowering heat stress without these a normal Z3C case will fit well. I could probably update a photo, I do use a couple plastic spacers to hold the battery alignment too. The battery itself is obviously thicker than stock so straight installing the back panel won't work well. A case is easiest as no back panel is required, if you prefer the look, you could use a clear back case and just place the back panel before it.

To recap the battery itself functions fully and charges fine. Without kernel fixes the percentage will be 0% when there's the extra energy left. Using an alternative app to provide a custom estimated percentage based on voltage is a way to see remaining power. I made my own Tasker profiles to custom calculate displaying a notification that also considers plug state.
[Xperia Z3 Compact General] Cirra92:
Thanks for the always extensive and in-depth reply :)

Well that does make sense to have it embedded in kernel code somewhere.

I am on AOSP as well, almost a year already, but I haven't noticed any lags or slowdowns on low battery levels (low voltage levels) even down to 1%, and my battery will be 3 years old in June. Either the system has adapted to degradation or my battery didn't degrade much, which I really doubt since I had a lot of 100% -> 0% cycles and the battery was under high CPU and temperature stress in a lot of occasions.

As for the spacers, yes I forgot the pictures, I've seen them again. Now, I want to try and fit the original back panel, I know the GS8+ battery is 1mm thicker, however right now when I glue my back panel so that it has tight fit on the frame, it is actually "intruding" in the back of the phone, and it's not level with edges of the side frame, it's rather inside. The idea is to use let's say two layers of a double sided tape directly on the frame to compensate for that 1mm, apply the B7000 on top of that and on side walls of the frame as much as possible and place the back panel. I hope you understood since my english might not be up to that level :)

Since it's my only phone atm I would like to keep it decent looking as much as possible :)

My normal usage of the phone does not involve heavy tasks at all so temperature is not my concern, that's why I want to use the original back panel to close it down.

And yes I remember you are using Tasker to read the actual voltage level, although it would "hurt" my eyes to look at that non-linear stock battery indicator, I would have to do it as well :D
[Xperia Z3 Compact General] Falcos:
Please, could somebody share his voltage/percentage curve for tasker? And which system interface did you use to update the battery percentage? And did somebody of you test how effecient tasker does handle events? It would be not so usefull if it is taking additional 200mA during 10h runtime for event handling and system updates.

Did anybody find out how to change the charging overvoltage cutoff and the shutdown voltage? I would like to stress my battery a little bit more to get every thing out of my 44g for the first 50 to 100 cycles until it gets replaced.

A custom charging cutoff voltage and shutdown trigger voltage would be the best solution for a lightweight outdoor navigation device with 30-50 cycles per year. My device is so highly specialized that I did even remove the cameras and exchange the glass backpannel with a 0.25mm thin carbon pannel.

Kind Regards

Falco
[Xperia Z1 Q&A, Help & Troubleshooting] RobyssonMG4fun:
Sorry if I created the topic in the wrong place .. and I would like to install a custom rom on xperia z1 only that I am in doubt about which software is right for it. if anyone can help me with rom and recovery links for him I will be very grateful.

the model of my Z1 and the C6943 already thank you. :confuso: :Boa: :dedos cruzados:
[Xiaomi Mi A1 Questions & Answers] Prince_Eugen:
iam asking if i unlocked bootloader and installed twrp and root my phone will that affect the battery life ?:confused::confused:
[Xiaomi Mi A1 Questions & Answers] Chazy12:
You can install Servicely or Greenify and battery life will be greater than stock.

http://techintouch.it
[Xiaomi Mi A1 Questions & Answers] afrizal87:
No you wouldn't,as long you never tweaks the kernels(change cpu governor,overclocking etc) and also some features on gravity box using exposed installer could affect your battery life,basically rooting is only unchained the system,any modifications after rooting could affect your battery life
[Honor 8 Questions & Answers] vouty:
I'm having a problem with the power button. It seems that it is a "feature" of the Honor 8 that if you hold down the power button for 5 seconds, the phone will restart without asking if that is really what you want to do. It happens either when I am carrying the phone in my left hand with my fingers wrapped around the buttons on the right side, or when the phone is in my pocket and I am working outside and I squat down and my pocket presses against the power button. Is there a way to disable the phone from restarting without asking? If the screen is unlocked, there is a prompt but after 5 seconds of holding the power button, it restarts anyway.
[Honor 8 Questions & Answers] b1tt1:
I think it's a common "safety" feature in practically any Android phone that if you keep power button pressed long enough, it will force reboot the phone. It's been that way in my Samsung, Motorola, Google, Asus, and Honor phones.
[Moto G5 Plus Questions & Answers] vantastic415:
Somehow I have received malware on my stock, untouched G5 plus. I've performed a wipe of user data and performed factory reset from the boot option (power and volume key at startup) Still, the malware exists and redirects webpages to pop-ups even with fresh install.

Does anyone have an untouched factory ROM, that will receive all OTA updates ? Lenovo will not provide! Help very much appreciated.
[Moto G5 Plus Questions & Answers] angelus_kun:
https://xdaforums.com/g5-plus/how-to/stock-firmware-npn25-137-67-5-fastboot-t3694738 here :)
[Moto G5 Plus Questions & Answers] acejavelin:
If you have a stock, untouched Moto G5 then there is something else going on... It is not possible for malware to infect the system after a factory reset, unless it is coming from an app you are reinstalling or your SD card.
[Moto G5 Plus Questions & Answers] DogzOfWar:
That's not quite true. There have been a number of vulnerabilities (like the Dirty Cow one) that can be used to get root, and then cause havoc on your system. In general, if you just get regular apps from the Play Store you'll be fine, but if you get external sources, who the hell knows.

You might want to contact Motorola support and see if they have steps. I would think flashing the stock rom would solve it.
[Moto G5 Plus Questions & Answers] vantastic415:
I also didn't believe this to be possible, but unfortunately that's the situation.

I barely even install apps on my phone, or use my phone for much. I'm one of those weird people that stay largely disconnected from tech. I have whatsapp, color note, good budget, swype, and Amazon music. That's it. All from the play store.

The virus had to originate from the web. Occasionally I click on ads or "news" with interesting looking content. You know, the sort with 20 pages to click through and ads everywhere. I know better, but that's where it came from.

First virus in 31 years of computing. I guess now I get to learn about rooting Android and flashing ROMs. :good:

Thank you for the replies and link to a clean ROM. Very appreciated!

Edit: No SD card in the phone, and I've factory reset from within Android, and during boot. Erase cache, data, everything. Virus persists. =( oh well, no biggie now.
[Moto G5 Plus Questions & Answers] Smeagal192:
You have not got the dodgy whatsapp, should be removed from playstore now, but that was a advertising machine.
[Moto G5 Plus Questions & Answers] vantastic415:
Perhaps I'm not understanding. In the provided link I don't see many ROM, just 4.

I have the standard G5 Plus (non Amazon) on T-Mobile. Model: XT1687. Build number NPN25.137-83. Any idea where I could get a stock ROM for this and get my phone back to virus free?

I've searched but can only come up with a TWRP flashable ROM, and I've no idea what TWRP means, but I see that for some reason it doesn't receive OTA updates, so that's unfortunately a no-go.

Thanks so much for the help! You all rock.
[Moto G5 Plus Questions & Answers] acejavelin:
If your phone is stock and with a locked bootloader, you need to contact Lenovo/Moto customer support and send it in for repair or replacement.

If your bootloader is unlocked, your warranty is void and you might as well learn about TWRP, root, and flashing ROMs.