yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Original Android Development] terho:
Battery woes! See the attached screenshot.

Charged to full yesterday afternoon, light usage during the evening and night, a normal looking discharge during the night/morning. And then when I pick it up today and start browsing the web, it goes from 40% to 4% in about fifteen minutes and finally to zero in maybe another ten. Would this be indicative of a broken battery rather than some kind of software problem? Surely 40% of battery should last more than half an hour?

The phone is two years old, I bought it used a week ago and immediately loaded the March 16 snapshot into it. It's done this suddent drop both times I tried to go a second day on a charge. I didn't use it while stock apart from a short test, though maybe I should have to get a feel of the battery life.
[Galaxy S 4 Mini Original Android Development] Dr. Slump:
I think I had accidentally magnetized my phone :( The compass (magnetic sensor) is not working properly. Just to be sure that it is not software related, can somebody please verify that their compass is working?
[Galaxy S 4 Mini Original Android Development] davidmlondon:
I would think it's the battery if it's dropping that fast.
[Galaxy S 4 Mini Original Android Development] luisbraz:
I have a new battery and it drops from 35% to 0% in 3 or 4 minutes. It's the same problem that the old battery had. So I can assume that it's a software problem. And there's no battery calibration app that solves the issue!
[Galaxy S 4 Mini Original Android Development] joelalmeidaptg:
I also see this problem but only when using data. Wi-Fi seems to be fine. My battery is only 4 months old. In the last week happened two times going from around 20s to 5 percent in a blink, and then just shut down few moments after
[Galaxy S 4 Mini Original Android Development] terho:
Did you get this with the stock rom too? Because if it doesn't have this problem, I'm tempted to go back to it. Marshmallow is nice but knowing how much battery you got left is even nicer.
[Galaxy S 4 Mini Original Android Development] supachris:
I dont have such strange battery problems. At me also there is a bit faster discharge (and also charge) between 30% and 18% or so. But not all the range within a few minutes. I think the calculation table from battery mV to % in the kernel is not accurate enough.

Maybe you have a counterfeit battery bought? Even at Amazon the "genuine" Samsung batteries often are counterfeit and have such behavior...
[Galaxy S 4 Mini Original Android Development] jihadinhorocks:
I installed c-apps but the theme app doesn't work when I open it and try to apply a theme it just crashes. Tried deleting cache of theme, themes changnger, and theme provider and stopping Trebuchet, still no luck. Now I have to uninstall c-apps which seems to be quite difficult and don't know how to do it
[Galaxy S 4 Mini Original Android Development] legendracer:
downloaded 3g rom again. Flashed. Then gapps pico. All went well but after sometime phone gets struck with a black screen. Tried many rom files. But same error.plz help.
[Galaxy S 4 Mini Original Android Development] jihadinhorocks:
Had to reinstall from scratch to remove c-apps now I forgot how to turn off capacitive backlights like I used to, any help plz?

---------- Post added at 02:15 PM ---------- Previous post was at 02:03 PM ----------

It's ok I got fixed. Gravitybox has the option
[Galaxy S 4 Mini Original Android Development] joelalmeidaptg:
Stock ROM is fine. Again, it only happens when on data. While I'm at home using Wi-Fi it goes down normally

My battery is 100% original, I got it from Fnac and I doubt they have anything fake selling
[Galaxy S 4 Mini Original Android Development] terho:
I'm fairly sure my phone is on its original battery. The date on it is from February 2014 which would match with the phone nicely.

I ran a test. I charged the phone up and set it on the table playing youtube videos on loop until it ran out, which it did in bit over five hours. You can see how the indicated charge percentage starts dropping more steeply after it gets past 40%. Now since it does this under load as well as in standby suggests to me that it might actually still be a battery problem. I've ordered a new one, so when that arrives I'll redo the test.

But for now I think I'll just have to consider 50% battery as being almost empty.
[Galaxy S 4 Mini Original Android Development] luisbraz:
I bet that you will have the same issue with the new battery. :)
[Galaxy S 4 Mini Original Android Development] milouk:
I have the same issue...i have reported it a week ago...i think it is rom related
[Galaxy S 4 Mini Original Android Development] Nanzulov:
Great
[Galaxy S 4 Mini Original Android Development] Childe89:
Running latest nightly -20160402- I noticed 2 bugs:

1. Live Lock screen gives crash dialogue every time after phone boot or restart (I am not using it, It´s switched off in settings)

2. If charging, bottom text informing about remaining time stays on screen after unlock - It has to be slided up-away, repeating unlock swipe (it stays also on clock screensaver, has to be slided away from there too)
[Galaxy S 4 Mini Original Android Development] jihadinhorocks:
I'm on 2/04 when I pull down the topbar the from the lock screen, the camera app lunches instead. can't access topbar aka drop down menu.
[Galaxy S 4 Mini Original Android Development] luisbraz:
I had the battery issue with CM12.1 too.
[Galaxy S 4 Mini Original Android Development] S3miniFin:
+1
[Galaxy S 4 Mini Original Android Development] terho:
Ebay just told me that the new battery has been sent (in the middle of the night? from England? maybe it's actually coming from China) so we'll see fairly soon, I hope.

Now that very much sounds like a bad battery, or perhaps a hardware problem. Is there a sort of deeper level firmware in these phones that handles the battery metering? I'm wondering if updating to the latest Samsung stuff before installing CM would make a difference.

I ran the youtube loop test on my Samsung S3 too. A perfect downhill slope from 100% to zero.
[Galaxy S 4 Mini Original Android Development] supachris:
AFAIK the battery level is handled in the kernel. Try one of the custom kernels.

I remember such issues on my last phone, the Ace 2. The developer of the custom kernel was dealing some time with the voltage to percent conversion table in his kernel sources until it was a linear function.

I use custom kernel from the beginning at my S4 mini, the battery curve is not perfect but OK. In my normal use case, it drops from 100% to 50% within the first day and down to 10% in the second day.
[Galaxy S 4 Mini Original Android Development] amar2cool99:
I am on kitkat I9195 LTE can i directly flash this rom?
[Galaxy S 4 Mini Original Android Development] milouk:
If you have a custom recovery live CWM or TWRP yes you can otherwise you should first flash a custom recovery
[Galaxy S 4 Mini Original Android Development] Tigerman82:
I have this as well. Moreover, I hadn't used the text messaging app for ages but now noticed that when you start composing a message, the message field (where you write the message) is REALLY small. Anyone else experiencing this?
[Galaxy S 4 Mini Original Android Development] amar2cool99:
Thanks

---------- Post added at 07:34 AM ---------- Previous post was at 07:32 AM ----------

Try to change DPI and reboot. May solve.
[Galaxy S 4 Mini Original Android Development] matej2212:
Hi! I have installed the latest snapshot from 03/16 and root isn't working properly. Supersu couldn't install binaries and root checker says "root is not properly installed on your device". I have root access turned on in developer setting(apps and ADB). How can I fix this? Thanks
[Galaxy S 4 Mini Original Android Development] amar2cool99:
You talking about inbuilt pre root or u have flash supersu?
[Galaxy S 4 Mini Original Android Development] matej2212:
I am talking about inbuilt preroot. I have enabled root in developer options but it still doesn't work.
[Galaxy S 4 Mini Original Android Development] amar2cool99:
Okay flash Supersu 2.65 latest zip will solve your problem.
[Galaxy S 4 Mini Original Android Development] geopaok:
Hello guys, i am very new at this, please help me, i want to install cm 13, if i understand i have to instal twrp first. I do the thing with odin but it still opens the official recovery, i enable usb debug. I am not rooted or anything else, do i have to do something else before install twrp? thank you in advance

Edit: i root my device and now its ok. What if i want to return to official android?

Edit 2: it turns on but when i unlock it there is a message that writes google stop working unfortunately, google paly etc.
[Galaxy S 4 Mini Original Android Development] _cosi_:
It works fine here. You can try to turn your phone several times in all directions to re-calibrate.
[Galaxy S 4 Mini Original Android Development] miladmn:
Camera

Camera quality is decreased! With original ROM I took great shots but with this I'm taking lower quality photos, I've changed camera options but still same...

Any suggestions?
[Galaxy S 4 Mini Original Android Development] dillerdaller2:
(i9195i:) Can anyone explain to a newbie on mods, why

- why it is possible to fit Android 6 into the very much older i9195, when nobody has been able (?) to create a single update to get rid of the factory version of Android 4.4.4 on the newer (and better equipped, I think?) version "i9195i" (aka Samsung S4 Mini "Plus")

Samsung is also blatantly ignoring the device.

Is it too hard, or have Samsung not sold enough of the gizmo for anyone to bother digging into it?
[Galaxy S 4 Mini Original Android Development] terho:
Custom kernels? Seems a bit too complicated.

And in any case, if this were a simple software issue, shouldn't everyone be experiencing it? There's only a handful of complaints but surely the rom has thousands of users.
[Galaxy S 4 Mini Original Android Development] superkoal:
If (as one guy stated) this battery drop only appears with mobile data connection on this could be a bug related to some specific modem or in the RIL. I'm sure the dev's will look into this, but what they need is information. So people experiencing this problem should learn how to do a proper log and attach it to their posts. Also another question is if the device gets very hot during this battery drop? This could be an indicator if it's a wrong handling of the measured voltage or if something actually "eats up" your battery. Also there are apps like better battery stats that you can use to find out about that.
[Galaxy S 4 Mini Original Android Development] supachris:
Modem issue is also possible. I have the latest modem flashed, I found. I use XXUCPB2. Maybe your issue is fixed in a newer modem version. I also had some battery consumption differences with different modem versions.
[Galaxy S 4 Mini Original Android Development] o0chtm0o:
Can you share in few words your experience with the differents modem versions? Best one? Worst one?

It's just your experience, but it means a lot. Thank you very much
[Galaxy S 4 Mini Original Android Development] terho:
I ran my test (here: http://xdaforums.com/showpost.php?p=66178211&postcount=1059 ) on wifi. I'm only on mobile data when I'm outside the house, and I haven't been much lately. In fact, I find it rather puzzling that that one guy should only get a sudden drop on mobile data, that could well be some software that eats the battery.

I don't think that's the case with my phone though. The phone sat on the table in the same spot and same lighting even (so no screen brightness changes). It didn't get hot or do anything strange. In fact, GSam battery monitor logs temperature and cpu usage too and it seems fairly constant throughout (see attachment). Battery temperature was at 30C right until the end when the phone turned itself off.

I shall be very interested to see how the new battery behaves in the same conditions. But that'll have to wait a few days.
[Galaxy S 4 Mini Original Android Development] supachris:
Hm, that is difficult. I updated the modem as soon a new version came out. My general experience is: the newer the better. :)
[Galaxy S 4 Mini Original Android Development] QuephTR:
[IMG="Photo1"]http://i.hizliresim.com/v5A2Ar.jpg[/IMG]

[IMG="Photo2"]http://i.hizliresim.com/NA8BNL.png[/IMG]

Usually like this. Why is this? What can i do for this problem?
[Galaxy S 4 Mini Original Android Development] haloss2012:
Is there any fix for the problem of reading the usim cards? I still can not use my new usim with my phone.
[Galaxy S 4 Mini Original Android Development] davidmlondon:
I find the camera quality has decreased also though the camera app seems to be a work in progress. In the meantime I'm using Snap Camera HDR from the play store. It works really well with this rom.
[Galaxy S 4 Mini Original Android Development] transmuting:
I assume you mean the difference in download speed.

I think that this is normal. When doing a speed test, you download from a high performing server to measure your max speed. When you download something from the Play Store on the other hand, Google will probably limit the speed an individual user gets to accommodate for millions of users.
[Galaxy S 4 Mini Original Android Development] Childe89:
New bug found today - not sure which nightly caused it, bud probably latest - stock Snap camera crashes on changing settings (flash mode, quality etc.)
[Galaxy S 4 Mini Original Android Development] QuephTR:
But it wasn't like this before.
[Galaxy S 4 Mini Original Android Development] jihadinhorocks:
Anybody else experiencing the lockscreen bug? The lock screen goes haywire: That's the best explanation I can give. It's been here since 20160402. I hope the fix comes next update.
[Galaxy S 4 Mini Original Android Development] jihadinhorocks:
What's the best Kernel to flash for battery performance? any issues it may cause with cm13?

---------- Post added at 12:34 PM ---------- Previous post was at 12:03 PM ----------

Which custom kernel are you using now?
[Galaxy S 4 Mini Original Android Development] umuturunc:
Your are right. My Google play store download speed decreased when I switch to CM13.
[Galaxy S 4 Mini Original Android Development] supachris:
I use k4kernel: http://xdaforums.com/galaxy-s4-mini/development/kernel-f4ktion-v1-t3316865 and have no issues found, except the sometimes not properly working BLN. But this was was a problem also in 12.1
[Galaxy S 4 Mini Original Android Development] joelalmeidaptg:
Mine too. This issue is worse than the April fools joke
[Galaxy S 4 Mini Original Android Development] _cosi_:
I can confirm this since 0404.

And also the lockscreen bug since at least 0402.

My lockscreen is set to only Swipe and when I wake the phone from standby, the three icons at the bottom are missing.

When I swipe up, the lockscreen is replaced by the 'normal' screen but the three icons are drawn above the normal screen at the bottom. In this state, touching anywhere will behave like the lock screen is still active. So I have to swipe up again to continue normal operation.
[Galaxy S 4 Mini Original Android Development] powwow12:
Guys, have there been reported WiFi drop issues in this thread? The search function is not working atm.
[Galaxy S 4 Mini Original Android Development] _cosi_:
Not really. I had Wifi issues when Wifi was active together with Bluetooth. This has almost disappeared after updating the modem/baseband to I9195XXUCOL2.
[Galaxy S 4 Mini Original Android Development] powwow12:
Can you point me to the thread/post that you found the zip?
[Galaxy S 4 Mini Original Android Development] _cosi_:
There is a user redjamesg maintaining a collection of S4 mini modems on Google Drive:

Post in thread

I have chosen the COL2 as I have seen it as official stock firmware on a friend's phone.
[Galaxy S 4 Mini Original Android Development] burny:
Battery drain...

Hi,

I've always been using CM13 on the serranoltexx since a few days after it appeared, and it has been working very well all the time. Since then, I've always had at least 2 days, or 48 hours, of battery runtime.

I've done the last good update (nightly) on 2016-03-10, which worked fine for a few weeks, until I noticed sporadic deepsleep issues - the battery suddenly started to drain, and it would be empty within a few hours. This was around March 28 or so (can't say exactly). To solve this, I've tried the 03-31, and the 04-02 nightlies, and currently my phone isn't going to deepsleep any more.

I've attached a bunch of screenshots from betterbatterystats - it seems "suspend backoff" is the reason, but I can't find a single app or process being the culprit.

I've already tried to clear cache (and dalvik), i switched wifi, bluetooth and mobile data off during the day, killed all processes I found running once (incl. google play services), but nothing helped.

I also noticed that since 3-31 or 04-02, wifi is not reconnecting to my home network when I return from outside. I need to switch wifi off and on again to make it connect again. Then it works fine.

Anybody have an idea, or does anybody experience similar things? Right now, the battery doesn't even survive one day...

Thanks, Berni
[Galaxy S 4 Mini Original Android Development] Tigerman82:
I have this as well. Makes using the phone very difficult. I decided to go back to 0331 Nightly and will keep using it until this is fixed.
[Galaxy S 4 Mini Original Android Development] arco68:
Maybe the sdcard went bad, or something is corrupt on it. Try copy out all the files you have on it. then format it, and copy the files back.
[Galaxy S 4 Mini Original Android Development] jihadinhorocks:
Do you flash this with Odin or is it possible to do it in twrp?
[Galaxy S 4 Mini Original Android Development] supachris:
Modem cannot be flashed in recovery. You have to flash it twice with Odin.

I use the latest modem from there, works fine.
[Galaxy S 4 Mini Original Android Development] Whitest:
Latest 0504 still has the lock screen problem. I noticed that the first few seconds after a reboot it works fine, not leaving the buttons at the bottom. After that you have to tap a second time on one of the buttons to be able to use the whole screen as usual, just as cosi_ described

sent from CM 13 on my S4 Mini using Tapatalk
[Galaxy S 4 Mini Original Android Development] Snofru1:
The change "Lockscreen : Fix bottom area visibility" is already announced for the next nightly.
[Galaxy S 4 Mini Original Android Development] Dr. Slump:
Thank you. It somehow had been recovered before, probably that recalibration without my notice, works fine now. Raw data from sensor had a very high offset at the time, that confused me.
[Galaxy S 4 Mini Original Android Development] haloss2012:
!!!BUG found in all versions!!! Hello, i move to a new service provider called Telenor (they use USIM chip) and i have problem with using them on my i9195 phone with all nightly versions from and all release versions ! I receive message "No SIM card" and when i go to Cellular Networks i get "Unfortunately, the process com.android.phone has stopped" Can anyone help me please. Here are some screenshots. Please help me, i can not use my i9195...
[Galaxy S 4 Mini Original Android Development] burny:
arco68, thank you for your help, and also for the hard work of developing and maintaining CM for our s4 mini!

I tried your suggestion: I copied everything off the card, formatted it, moved the files back and voila - deep sleep has worked again for about 20 hours. This evening, I noticed that the wifi has again not reconnected to my home network after coming home, and the battery drain has also reoccured.

Maybe the card has really gone bad - I'm currently copying the data to another sd card, and will report back tomorrow!

Thanks so far,

Berni
[Galaxy S 4 Mini Original Android Development] Tigerman82:
Can confirm that the very annoying lockscreen bug is fixed in the current Nightly (0406). So no more UI crashes and lockscreen ghosting. :good:
[Galaxy S 4 Mini Original Android Development] S3miniFin:
Yes, its fixed in 0406 rom.
[Galaxy S 4 Mini Original Android Development] Th3Sh3r1ff:
There are still some little bugs in the lockscreen.

When opening the camera from the lock screen, a white square is drawn over the bottom panel before displaying the camera buttons in the bottom panel.

When opening a notification from the lockscreen, the screen for entering the PIN is drawn over the buttons on the lockscreen instead of replacing these buttons.

When receiving an incoming call, the screen for entering the PIN appears and the PIN needs to be entered before being able to answer the call.

It is not blocking, but still they are bugs ...
[Galaxy S 4 Mini Original Android Development] Childe89:
Most previously mentioned issues seems resolved in -20160406-, so I´ll probably stick with it for a while, maybe until next snapshot ;) Don´t know how often will it be released though.
[Galaxy S 4 Mini Original Android Development] joelalmeidaptg:
I still experience the lockscreen issue from time to time when inserting the code to unlock the screen. Plus, the camera effect is bugged, there's like a rectangle in the bottom. I performed a clean install before flashing this nightly.
[Galaxy S 4 Mini Original Android Development] Xephyrex:
Fatal Multi-Touch Problem

After using a few multi-touch apps to determine the maximum fingers my device can register with this ROM, I have observed some very debilitating issues. When using multiple fingers on the screen many times (happens randomly) some fingers are not registered at all (if you start to move the fingers around). The maximum number of fingers that the Galaxy S4 Mini can register is 8, however, just by using 2 fingers, I start to get issues whereby one finger stops being registered while the other works intermittently until I release the screen.

It was very noticeable in Shadow Fight 2 which consists of a virtual analog stick on the left and multiple virtual touch buttons on the right. What happens here is that if the virtual analog was pushed to any direction and held there and then touching the other action buttons rapidly on the right hand side, this would cause my finger on the analog stick on the left hand side to not register and thus the analog stick stops working (since my finger touching the analog stick isn't being registered by the screen anymore) until I release my finger on the screen to re-touch it. This is a fatal multi touch issue in the ROM and is very debilitating in apps that utilise multi-touch features. I am using DarkFrenzy's K4 Kernel for CyanogenMod 13. Is there any fix to this yet? Also if there is an update that resolves this issue, can I update my OS via OTA and not have any of my files deleted?

There is also another issue whereby the screen sometimes just switches off while the audio can still be heard and the capacitive touch buttons are still lit up. The way to currently fix this is to lock the device and then press the power button again to switch it back on.

p.s: I am using the latest release (2016-03-16) of the ROM for serranoltexx (GT-i9195)

EDIT (HERE IS A VIDEO SHOWCASING THE ISSUE):https://drive.google.com/file/d/0BwqBXB-cABt6WlgtUVAyd3VyT1E/view?usp=sharing

Please help!!

:crying::crying:
[Galaxy S 4 Mini Original Android Development] arco68:
Make sure the card is seated correctly in the sim card slot. If it's not, you will get those problems.
[Galaxy S 4 Mini Original Android Development] Xephyrex:
EDIT (HERE IS A VIDEO SHOWCASING THE ISSUE):https://drive.google.com/file/d/0BwqBXB-cABt6WlgtUVAyd3VyT1E/view

p.s: I'm using two fingers here and it seems to work ok, problems arise with two fingers when you use the other finger to tap rapidly on the screen (which could be an action button in a fighting game etc.).

Hope it makes sense!

Thanks!!
[Galaxy S 4 Mini Original Android Development] Childe89:
True, I experience this too, not a big problem in phone usage though, just in some games - sometimes even 2 fingers start to fail, when quick tapping with one.