yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] k2wl:
clean install the rom first without gapps.(make sure you back up your internal sd first)

then boot it.

factory reset from phone(*this will remove traces of gapps remain from last flash)

reboot in recovery

flash tk gapps.

and about your single contact association of particular sim yet to be implemented properly in CAF or AOSP...so i guess it is not yet properly coded in cm code .

@Pangadaywalker cm11 is rock stable right now...almost bug-less...

and here is https://code.google.com/p/android/issues/detail?id=165558 the issue for 3g battery drain. google's fault. and interestingly google thinks it is a very small non priority issue. :( very very disappointed in google.

and i have looked into android m source code....it is way more troubled than ever...google has changed the way logger works...google removed android logger from kernel and placed it in the AOSP source code...that needs kernel version 3.10 and above...so it is upto arco and other developers to produce the patches for our kernel version 3.4. (if they unable to do that then may be we wont be seeing android m on this device)

i just dont understand google's policy...they didnt bother to update millions of phones sold still they keep on updating their OS every 9 to 10 months...lollipop barely catch up on devices...even on flagships....i think google wants us to buy our phones every year...to get new set of OS.....atleast microsoft was nice on their desktops or even linux been nice on desktops to provide latest and greatest almost for 5 yr old hardware.....why does android need so many new requirements when most of the people need basic, good, fast enough working smartphone.

i have been reading here and there ....come to know that battery drain present in android m preview too....seriously google need to wake up from sleep and fix the issue..:(
[Galaxy S 4 Mini Android Development] Pangadaywalker:
[MENTION=943196]k2wl[/MENTION]

That is exactly what I've been saying. I was following up and double check in several devices all of them with 3G drain issues. Funny it only happens in 3G, it doesn't on LTE or 2G. So far I was able to check on Zenfone 5, Moto X, S4 Mini, S5.

So for those that think they don't have battery drain with 3G, they probably never noticed or they don't leave 3G on all the time. Because it is there and easy to spot. I am so unhappy with google that for the first time I am wondering Windows Phone or Apple's phone.

Consider this a small issue that doesn't affect too many people it is the least be dumb! Thanks for looking into that. I am doing a last attempt on CM12. I think I will try to workaround the issue using Deep Sleep Battery Saver since it can shutdown 3G and WiFi while screen is off and turn it on for like 1 or 2 minutes every 30 minutes or an hour. This circumvents the issue but off course it would be better to not have it.

Thanks again for all the help.
[Galaxy S 4 Mini Android Development] arsm74:
Battery drain on cm11

I tried cm11 build 0607 clean install and

I found battery drain on 3g there also.

Battery did not ask 2 hrs on 3g but

lasted 26 hrs on wifi

Hope Google wakes up...
[Galaxy S 4 Mini Android Development] k2wl:
i dont think it is present in cm11 ....may your battery needs to be replaced????
[Galaxy S 4 Mini Android Development] csendre:
Maybe a dumb question but is it only Google who can fix this or could the CM team or other knowledgeable programmers correct this in the code or write a workaround?
[Galaxy S 4 Mini Android Development] udaan:
[MENTION=5207589]Michaelmania[/MENTION] [MENTION=943196]k2wl[/MENTION]

I'm on 0610, but the problem started from 6 or 7 bulids ago - see for more detail

https://www.youtube.com/embed/pGlJtk3fWnU
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=943196]k2wl[/MENTION] battery on stock samsung rom is excellent..so i do not think it is a battery issue.

unexpectedly even on CM12.1 builds i find the battery much better that cm11.

maybe it is the gapps that i am using..

could you recommend a reliable gapps file to flash for cm11 and i can try again.

I want a stable build with minumum bugs .....i do not care if it is cm11 or cm12.1
[Galaxy S 4 Mini Android Development] Pangadaywalker:
From what I understood from K2WL most likely only google would be able to fix. But to make things worse, they consider as a small issue and from the topic opened which K2WL posted and I was already following up it has been at least an year the bug exists and they never moved a finger to fix it. :(
[Galaxy S 4 Mini Android Development] parthabhatta:
In contrary to this Apple is still supporting their 2010 (or 2011?) device namely iPhone 4s and had announced ios9 update for the same. Not only that they have announced that this time they will make the ios9 keeping on mind that it runs smooth on older devices. Very customer friendly approach and commendable.
[Galaxy S 4 Mini Android Development] BioGenX:
This apple-android, war is endless. There are pro's and con's of each os. Regarding support you can't say apple has better support when all it has to maintain is a handfull of devices, compared to android devices companies that have tens if not hundreds of models, can't keep all of them updated with bleeding edge os. I don't deny they may have the resources to keep at least their best models from last 2-3 years updated if the hardware platform supports it, but they don't as a marketing move. But I think custom rom's are better than stock anyway.
[Galaxy S 4 Mini Android Development] Michaelmania:
[MENTION=5433189]udaan[/MENTION], great work posting that video. Your question, I feel, is justified. My take on it: this is some serious weird ****. Really upto developers. But yeah, if all else fails, I suggest the traditional solution: clean wipe.

I will also stress: remove your sim card(s). Clean wipe everything. In twrp do "factory reset". Also go for wiping "data", "cache", "system" from advanced wipe. Do "factory reset" again from twrp. Then follow given procedure and install ROM again. Once inside the running OS desktop do a factory reset from Settings.

Still if you have the issue, I'm clueless.

One more idea popped up: While trying to get APN settings through automated ussd code, it failed me. Probably doesn't work on devices running custom ROMs because they become difficult to identify. I manually put in settings which I could guarantee that they would work. Besides, if sim card is old it can give problems like these. If you can get yourself a new sim card please do so.
[Galaxy S 4 Mini Android Development] michat:
Hi all,

I´m currently on CM12.0 build and quite happy.

Is there any reason to update to CM12.1?

Any new features, more stable, battery life, ...

Thanks for your views

Michael
[Galaxy S 4 Mini Android Development] BioGenX:
For me,

Pros:

slightly better battery life

stable mobile data and calls

seems a bit faster

Cons:

phone heats up sometimes in light usage. Wifi + browser. It's related to kernel config.
[Galaxy S 4 Mini Android Development] Pangadaywalker:
I did migrate to 12.1 to discover the 3G battery drain which made the phone almost useless. But that is not ROM issue but Lollipop's fault. If you leave your 3G enable all the time without WiFi It may eat your battery alive. I am testing 12.0 now with my wife. She just left home and I will check how the phone is after she comes back. She does have her 3G now enable since I just sent her a message and she received. Hope the 5.0.2 it will eat at least less battery but unfortunately 12.1 is a no go for me since my wife doesn't keep much attention to the phone. :(

Besides that, the ROM is amazing, fast, smooth and everything you want from a ROM.
[Galaxy S 4 Mini Android Development] michat:
ok, thanks for all your views.

I understand no big risk to update...at least with clean update.

...was just not sure due to so many bugs reported and critical feedback.
[Galaxy S 4 Mini Android Development] csendre:
Don't be discouraged, for some reason these bugs do not affect everybody. Check out the number of downloads and then look at how many people are reporting them. Create a full nandroid backup of your current ROM and if you happen to be one of the unlucky ones, will be able top roll back.

Personally I had a good experience with 12.1, it is better than 12. Also, I did not experience or notice the battery drain and I have 3G on all the time and I am on an HSPA provider as well. Latest versions of 12.1 or AICP are not that bad, all my apps and functions are working flawlessly.
[Galaxy S 4 Mini Android Development] Pangadaywalker:
Michat, remember you are already on CM12. If you didn't notice or if you don't have the bug CM12 and CM12.1 will have almost no difference on this issue. Remember the bug was supposed to be in Lollipop:

https://code.google.com/p/android/issues/detail?id=165558

And if you are not having just go for it. :)
[Galaxy S 4 Mini Android Development] csendre:
Reading so many comments on the battery life, I was curious how CM11 ad CM12.1 compare. I thought maybe I just imagined that 12.1 is better because in the meantime I got better with tweaking kernel settings and app behavior, so I wiped everything and did a clean install of k2wl's 06/08 build of CM11. After 24 hour use, I can report that (at least on my phone) CM 11 definitely consumes the battery faster than 12.1. On CM12.1 with moderate use I can get 1.5 - 2 days, on CM 11 I am struggling to go over the 24 hour mark. All apps, kernel settings and phone settings were the same with the exception of app versions (gapps and f4k kernel versions for 4.4.4 vs. 5.1). Data was set to 3G, with WiFi and BT always on.

My modem version is XXUAMF7 (I know it is old, but still works).
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=5416372]csendre[/MENTION] - Which gapps did u use for cm11?

I had the same behaviour..My modem is i9192UBUCOB1
[Galaxy S 4 Mini Android Development] Pangadaywalker:
I believe if we don't talk about this bug on lollipop, the regular usage CM12.1 is way better on battery life. I even can say my S5 gets more juice that even TW 5.0. I am really liking it.

My wife's phone has now CM12 and she didn't yet use much of 3G but today she lost entire day 15% only. That is even better than what we got on CM12.1. I am still praying maybe somehow the phone won't drain all the battery when she really starts to use 3G.
[Galaxy S 4 Mini Android Development] csendre:
I used the latest open gapps. Thread here; download link here Looks like an interesting project with gapps for 4.4, 5.0 and 5.1
[Galaxy S 4 Mini Android Development] arsm74:
Thanks [MENTION=5416372]csendre[/MENTION]. Appreciate it. Looks interesting for sure.

.
[Galaxy S 4 Mini Android Development] :
[MENTION=943196]k2wl[/MENTION] why I don't see share with WiFi direct option? Also other mobiles can't send the files with me in WiFi direct. Why?

Ty
[Galaxy S 4 Mini Android Development] arlaor:
S4 mini i9192 is arm por arm86?
[Galaxy S 4 Mini Android Development] arlaor:
Hi [MENTION=943196]k2wl[/MENTION]

I found a problem when I make dialing a phone number and I will send, the window for me to choose one of two SIM cards, disappears and must resubmit the call, to display and thus be able to call. This problem occurs in all vesiones far lollipop.
[Galaxy S 4 Mini Android Development] arsm74:
Think it is arm.. [MENTION=5416372]csendre[/MENTION] or [MENTION=943196]k2wl[/MENTION] can confirm if I am wrong
[Galaxy S 4 Mini Android Development] csendre:
It is arm.

X86 is PC, they plan to port this to Windows as well sometime in the future.
[Galaxy S 4 Mini Android Development] k2wl:
todays build has many bug fixes by cm team and arco----enjoy:)
[Galaxy S 4 Mini Android Development] Michaelmania:
With regards to the above post i made, I want to clarify that since 19.06.2015 build the problem has been completely resolved

Thank you developer whoever you are and as always a shoutout to [MENTION=943196]k2wl[/MENTION] for making this available to us

Going to install 24.06.2015 build today
[Galaxy S 4 Mini Android Development] csendre:
Clean install of 06.24 build with full TK Gapps and f4k kernel. So far everything works great, this ROM matured a lot. No FC of any kind, all apps and functions work. Even an old annoyance of mine was rectified, now there is a key icon in the status bar showing active VPN connection as it used to be in previous CM or other android versions.

System profiles also seem to be working well now, I had one trigger (wifi disconnect) not working once, but it may have been a unique occurrence as it was working afterwords.
[Galaxy S 4 Mini Android Development] udaan:
hi, sorry to bother you again but is it possible to add network monitor tool on status bar like AICP version on this one? No 3rd party apps have satisfied my thirst to check my up/down speeds. -.-

Also my APN are working with the latest build. (I dirty flashed it over AICP after it failed to boot properly.)
[Galaxy S 4 Mini Android Development] Michaelmania:
i'm also looking for this very thing. i need to see the network activity of my device

would be glad if anyone here points me to a guide
[Galaxy S 4 Mini Android Development] diogo_franco:
Could team try to fix issue?

Even if we mark the choice the cell phone don't memorize.

IT ALWAYS ASK FOR WHICH ONE YOU DESIRE TO USE TO CALL.

THANKS!!!!
[Galaxy S 4 Mini Android Development] k2wl:
it seems the code in cm12.1 branch or caf is missing few things ...may be soon fixed by cm team and caf.

i try to patch it but it breaks the telephony so i am waiting for cm team or caf sources to put the missing strings in the code.

@udaan this is pure cm source builds...so network speed notification is upto cm team to add.
[Galaxy S 4 Mini Android Development] pentruexperiment:
build 24.06 - phone powers off randomly

On Friday I made a clean install of the last build of CM (24.06) with TK Gapps (Stock package, 20.06) and with f2ktion kernel (v.2.3.1). I also used a .gapps-config.txt file in order to make use of the advanced features and options for TK Gapps, and this way I excluded a number of apps in the process of installation. These are the apps I excluded: Books, ClockGoogle, CloudPrint, Docs, Drive, Ears, Earth, FaceUnlock, GoogleNow, GooglePlus, Hangouts, KeyboardGoogle, Maps, Movies, Music, NewsStand, NewsWidget, Photos, PlayGames, Sheets, Slides, Street, Sunbeam, Talkback, Wallet).

Since the installation the phone powered off randomly (didn't reboot) twice.

I attach to this post the .gapps-config.txt file I used, tk_gapps_log.txt, and tk_gapps_debug_logs.tar.gz.
[MENTION=943196]k2wl[/MENTION] and [MENTION=5416372]csendre[/MENTION], any help is more than welcome.

Thank you.
[Galaxy S 4 Mini Android Development] k2wl:
have you tried to use bare gapps i.e. pico tk gapps then install other apps from play store.?????

or have you tried to use bare rom without gapps????

or try to use dhacker or other gapps?????

or may be a problem with f4k kernel???? try to use cm default kernel with same gapps you have used...
[Galaxy S 4 Mini Android Development] csendre:
The only difference I see between what you have done and my install is that I did not exclude any applications, I installed the entire gapps package (full version). This is just a guess, but there may be inter-dependencies between some apps and perhaps the lack of one or more of them causes the crash when some of what you have installed try to access common libraries?

I would try flashing the full package to see if this solves the problem. If it does, you can then go on and delete the undesired apps one by one with a root file manager.

---------- Post added at 08:59 AM ---------- Previous post was at 08:56 AM ----------

Right now I am on the 06.24 build with f4k kernel and phone runs great.
[Galaxy S 4 Mini Android Development] k2wl:
oh ok!!! then my bad!!!
[Galaxy S 4 Mini Android Development] csendre:
You could not know, you are on a better ROM :) I think I will also be back to that version soon.
[Galaxy S 4 Mini Android Development] k2wl:
hmm...things i dislike about lollipop are bad battery management, dirty white launcher and menus.(although this can be replaced...i still prefer holo design over material design).....so i prefer to stay on cm11 and only to test cm12.1 on and off.
[Galaxy S 4 Mini Android Development] csendre:
You are right, CM11 design is better, and overall better experience. It feels like a finished product. CM 12.1 design does not bother me so much though as I am using Apex in both CM11 and CM 12.1 with totally custom look and themes so they look very similar on my phone. Lately I kept going back and forth between CM 12,1 and CM 11 and can't make up my mind which one I prefer. I love CM 11, especially after the last two updates, but there are a few CM 12.1 features that keep drawing me back to it:

- Battery life; some love it, some hate it in CM 12.x. For me it is still better than CM 11 because I have not experienced the drain issue many have, but the last two builds of CM 11 are very good for battery life as well.

- Smart unlock: love this feature, I don't want to keep entering PIN unlock codes at work or home. While you can use system profiles in CM 11 to disable PIN unlock, GPS location can't be used as trigger.

- VPN: lock screen security is handled much better in CM 12.1. It drives me nuts in CM 11 that once you have VPN connections set up, you have to enter PIN unlock code every time, even if you have it disabled in system profiles. In CM12.1 smart unlock and system profiles can override the security code requirement under preset conditions. I know there are third party apps to bypass security, but I don't like them.

I wish there was a custom CM 11 edition with smart unlock and security unenforced VPN.... This would be my dream ROM
[Galaxy S 4 Mini Android Development] pentruexperiment:
As weird as this may sound, my phone didn't power off again (apart for those two times). So I would leave it as is, but all your talk about CM 11 tempted me and I'm going to give it a try ;)
[Galaxy S 4 Mini Android Development] csendre:
I have no clue what this update is about, but wonder if we should be worried about it.... Hope my phone will not try to hook me up with other dudes after it is applied :D
[Galaxy S 4 Mini Android Development] k2wl:
it is cwm feature ...they added it in their current recovery....no need to worry about it
[Galaxy S 4 Mini Android Development] kryptonic rocker:
i agree. cm11 is way much better. i have also been shifting back and forth coz am torn in between. cm11 is much stabler and yes, the last two updates are battery friendly. i love the cm11 camera more than the cm12. but on cm12 i love the headup and lockcreen notifications. n its more fluid dont you think? i also love the cm12 status bar
[Galaxy S 4 Mini Android Development] guerouig:
hi guys: does [MENTION=6423631]BioGenX[/MENTION] OTA work for i9192? I keep on getting a message to the effect that the update check failed and asks to check the internet connexion. (I'm on latest buid)
[Galaxy S 4 Mini Android Development] arsm74:
The OTA script works perfectly for the first time on i9192. After the update, there seems to be a issue with signature on the CMUpdater.apk and so it may not work after that.
[MENTION=6423631]BioGenX[/MENTION] is still working on a fix as of 5 days ago.
[Galaxy S 4 Mini Android Development] Pangadaywalker:
You have to change the BUILD.PROP file. Check for one of the last posts and change the HTTP:// to his server.

I did this and my wife already received 2 updates on K2WL ROM for i9192. :laugh:

I also posted the change I did on the OTA post. Should work for you too.
[Galaxy S 4 Mini Android Development] flipeicl:
Do you know if that change works with AICP? I changed my build.prop to http://ota.heliohost.org/ and don't worked, I restart the phone and still the same.
[Galaxy S 4 Mini Android Development] Pangadaywalker:
If I am not mistaken the correct link is http://ota.heliohost.org/0003
[Galaxy S 4 Mini Android Development] flipeicl:
I think it just search for files in basketbuild, and AICP is just in androidfilehost.
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=943196]k2wl[/MENTION]....could you please change the default cm.updater.url in the build. Prop file to http://ota.heliohost.org/0003/ by default in your builds. That way we do not need

to change it manually everytime
[Galaxy S 4 Mini Android Development] k2wl:
ok...i have updated my device tree.

i wil upload next build with those changes.
[Galaxy S 4 Mini Android Development] guerouig:
thx; you're right and it does work. Hope it'll gert its way into next builds, without having to edit buildprop each time
[Galaxy S 4 Mini Android Development] Pangadaywalker:
Once you did I don't believe you will need to re do it. I didn't so far at least.

I will double check if it still works though.
[Galaxy S 4 Mini Android Development] k2wl:
i am considering another way to give you guys updates!!!

i am thinking to disable block based roms in cm12.1 and aicp so that i can make delta packages for you guys.

that way packages will be small and easy to update
[Galaxy S 4 Mini Android Development] csendre:
Would you still release a full ROM from time to time for clean install purposes?

How would the delta updates work with custom kernel?
[Galaxy S 4 Mini Android Development] Pangadaywalker:
That would be the cherry over the cake!!! :)

Perfect!!
[Galaxy S 4 Mini Android Development] arsm74:
It will be awesome
[Galaxy S 4 Mini Android Development] tareumlaneuchie:
Just wanted to report that I finally managed to install CM 12.1 on my GT-I9192. I had hardware problems which had prevented me for a long time to install CM 12.0. Those problems have now been fixed, and I am very pleased with the quality and stability of this Rom.

Out of experience, I did not enable Google Now, as I know that it tends to be heavy on data usage and a real drain on the battery. This ROM gave me nothing short of a new phone. My work day is almost over, and I have about 60% of the battery left, without an intermediate recharge and with heavy screen and data. My phone would normally be dead by now with CM 11.0.

Thanks again K2WL, fantastic work!
[Galaxy S 4 Mini Android Development] csendre:
Well, I am done with CM 12.1, back to CM 11 for good until the battery drain issue is fixed that I finally had the "pleasure" to experience. I have travelled to a new city and my phone suddenly started draining like crazy, to the point that even connected to a car charger I could not keep it on when a GPS app was running. Even with GPS, WiFi and BT off, my battery went down from 90% to 15% in a matter of 6 hours. As soon as I got back to my hotel I reverted to CM 11 and all is good.

I think this drain must also have to be linked to the actual frequencies a provider uses in certain locations, otherwise I can not explain how is it that I never experienced this on the same build in most parts of eastern Canada, but as soon as I got off the airplane in a central part of the country it started happening... It basically rendered my phone useless when I needed it the most.
[Galaxy S 4 Mini Android Development] kryptonic rocker:
hi, which release are you using and which kernel. because i had to go through two charges in a day. and battery drain becomes worse when the battery goes below 30%. like it drops by the second
[Galaxy S 4 Mini Android Development] udaan:
That sucks, sure it looks like your phone is getting that problem because of the network issue. I hope it will be fixed soon. Even k2wl use CM11!! haha cheers!
[Galaxy S 4 Mini Android Development] Pangadaywalker:
For me it is clear to be the 3G. If it is something on the frequencies. So I started to use an app to manage 3G on/off automatically.

But these days my wife also had battery drain without 3G on. I didn't figure it out what was happening. Maybe sync started and never stopped. I know her battery went from 40% to 0 in less than an hour. It didn't happen again.