yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] dudulapral:
CM 12.1 Gapps and TWRP

first of all, thank you so much for this ROM. I've been using 12.1 since a couple of months now and was very satisfied. I decided to go for the latest version of 12.1 and flashed it onto my device with CWM, performing a full swipe of the device before that.

My issue today is i would like to flash a gapps, but i've been very unlucky finding the suitable pack. Do you have a recommandation?

Secondly, reading the thread, i got the idea of using TWRP instead of CWM Recovery. I flashed the following version "openrecovery-twrp-3.0.0-0-serrano3gxx-STABLE.tar.md5". It was possible to boot into recovery mode, but somehow i couldn't flash the latest CM12.1 ROM with it. Something about wrong device... So i went back to CWM.

Did i use the right version of TWRP? Do you have a link to download the appropriate one?

Thanks in advance to the community!
[Galaxy S 4 Mini Android Development] dudulapral:
[MENTION=943196]k2wl[/MENTION] or [MENTION=5416372]csendre[/MENTION] any chance you could a look into my questions? I'm a bit stuck here, no phone since friday...

thank you so much.
[Galaxy S 4 Mini Android Development] arsm74:
Hi ...please try opengapps or slimgapps..

For twrp, use the version for the DS

variant not 3G variant
[Galaxy S 4 Mini Android Development] dudulapral:
Thanks a lot. Opengapps did the trick

However i'm not to understand what you mean regarding TWRP. These are the only two devices corresponding to S4 MINI on the official website:

Samsung Galaxy S4 Mini 64 bit ONLY (serranoveltexx)

Samsung Galaxy S4 Mini US Cellular (serranolteusc)
[Galaxy S 4 Mini Android Development] arsm74:
if you are using a i9192( 3g duos) then there will be no support officially as they support only the i9190(3g) and i9195(lte) models.

You have to use unofficial forums for s4 mini in xda for i9192.

use the following unofficial link for TWRP for i9192.

http://xdaforums.com/showthread.php?t=2678420
[Galaxy S 4 Mini Android Development] csendre:
Sorry man, did not notice your question.

As [MENTION=6210731]arsm74[/MENTION] said above, use the TWRP version for the DS model. Use the link above to the TWRP thread or go here for direct download of the Odin version: openrecovery-twrp-3.0.0-0-serranodsxx-STABLE.tar.md5.7z Flash this with Odin and you should not have issues flashing any ROMs
[Galaxy S 4 Mini Android Development] dav1129:
so download from one link provided are not being updated and maybe not so frequently from the other? These ROMs work well on my S4 mini so I don't want to risk installing incorrect ROM but I have found other sources only where the file name is a slightly different.

Can any one explain the significance of 'serrano' and the letters after 'serrano'. They all seem to be for S4 mini but some gxx, dsdd or for instance,ltexx. Are these a sign of different author or model phone?
[Galaxy S 4 Mini Android Development] Eichner:
3gxx= 9190

dsxx/dsdd=9192

ltexx= 9195
[Galaxy S 4 Mini Android Development] dav1129:
ah thanks. so i was with the correct one.
[Galaxy S 4 Mini Android Development] amithazra2013:
cn12.1

I have installed cm12.1 built on 15.2.2016 its quite good but battery become hot and it consumed more battery than 26.1.2016 built
[Galaxy S 4 Mini Android Development] pedro311:
I have the same impression
[Galaxy S 4 Mini Android Development] csendre:
new build

New build is up here

This was built by me and not k2wl, however it is a pure k2wl CM 12.1 build with nothing added, changed or removed. All I've done is synced with CM branch to help k2wl save some building time. I am planning to build an update every two weeks or so, but no promises.

[MENTION=943196]k2wl[/MENTION] , as discussed you may add this to OP as alternate link or duplicate on your AFH, whichever way is easier for you. Link to the CM 12.1 folder is here. Thanks for your help in making this happen!
[Galaxy S 4 Mini Android Development] arsm74:
dirty install and seems to work ok.....thanks [MENTION=5416372]csendre[/MENTION]...
[Galaxy S 4 Mini Android Development] k2wl:
updated OP with your build:)
[Galaxy S 4 Mini Android Development] icero:
Last construction 03/03 working without problems , thanks for the effort
[Galaxy S 4 Mini Android Development] Eichner:
Great work, thanks [MENTION=943196]k2wl[/MENTION] and [MENTION=5416372]csendre[/MENTION] , this build is almost as perfect as stock... :) :good:
[Galaxy S 4 Mini Android Development] csendre:
new build - FM radio long press

New build is up, you can get it here

This commit was merged which is supposed to:

Add support for long press and short press from headset

*Long press - toggle's FM on/off

*short press - scans the next channel.

I found this interesting so made a new build. A few other CM updates also included.
[Galaxy S 4 Mini Android Development] arsm74:
tried clean install + open gapps pico version and it works good...thanks again...
[Galaxy S 4 Mini Android Development] csendre:
Great. enjoy! Thanks for your feedback.

I dirty flashed it to see if the FM radio long/short press works. They did a good job, it works just as described.
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=5416372]csendre[/MENTION], [MENTION=943196]k2wl[/MENTION] ..any news on the March android security updates? historically...they should have been available by now...
[Galaxy S 4 Mini Android Development] k2wl:
no news yet...
[Galaxy S 4 Mini Android Development] csendre:
Where can I check when they come out? Are these automatically merged into CM repo?
[Galaxy S 4 Mini Android Development] k2wl:
yes generally cm team incorporates security patches ...we will see it soon
[Galaxy S 4 Mini Android Development] csendre:
new build 03.11

New build is available here

[MENTION=6210731]arsm74[/MENTION] This should include the March security updates, as I saw the CM 13 build has them; I didn't have time to check it myself

Update: Android security patch level is March 1st
[Galaxy S 4 Mini Android Development] arsm74:
thanks [MENTION=5416372]csendre[/MENTION]...i will check it today.
[Galaxy S 4 Mini Android Development] holymoz:
flashed 2 times with f4k kernel but got android.phone fcs after first reboot
[Galaxy S 4 Mini Android Development] csendre:
Flashed this to my phone as well and also using f4k kernel, no issues here. Try a clean flash.
[Galaxy S 4 Mini Android Development] holymoz:
I've done it clean from stock, I flashed in the same time rom, kernel, gapps and xposed.

Made something wrong?
[Galaxy S 4 Mini Android Development] csendre:
Don't know what to say, I am not using xposed. Usually I flash rom, gapps (pico or micro) boot into the rom just to make sure everything works then reboot and flash kernel. This way if there is an issue I know what caused it. Did you have the same problem with previous build?

Right now I am back on CM11 to test something, but will check again tomorrow if everything still works for me. Does anyone else have the same problem as holymoz?
[Galaxy S 4 Mini Android Development] holymoz:
no previous build, I tried all the cm12/13 roms for i9192 seeking for the most stable and bugless.

will try to flash kernel and xposed after a reboot, maybe tomorrow, thanks bro
[Galaxy S 4 Mini Android Development] dav1129:
Hi. I am not a smart phone or Android enthusiast but did remove the Samsung ROM almost as soon as I recently got my first smart phone - an S4 mini Duos. Instead I found and installed K2wl's 12 and later 12.1 ROMs and since noticing updates have a while, read this post.

Are your builds are a continuation of the same? Also is there a Cyanogenmod build yet for the S5 mini?

Thanks
[Galaxy S 4 Mini Android Development] csendre:
As said before it is the same, using k2wl and CM sources with no changes, I am just building it.

No clue about the S5, look in the S5 mini forum. I had a quick look and see several CM threads there.
[Galaxy S 4 Mini Android Development] dav1129:
Thanks
[Galaxy S 4 Mini Android Development] holymoz:
tried clean install 3-11 rom + gapps and got the bug.

tried the same with your 3-7 build and goes well.

atleast for me there is something bug in your latest 3-11

anyway the bug of not receiving sms on sim2 is still present on all cm12 roms

edit:

dirty flash 3-11 and works well, still no sms on sim2
[Galaxy S 4 Mini Android Development] SilviuMik:
That is odd [MENTION=5507006]holymoz[/MENTION] . I can send / recieve SMS on both SIM on AICP 10 ( which is based on Cm 12.1 )
[Galaxy S 4 Mini Android Development] holymoz:
This bug it's a bit random, mostly it's present for me, tried bliss and resurrection.

Will try aicp.
[Galaxy S 4 Mini Android Development] csendre:
I can also receive sms on both SIMs on CM12.1, I don't think this is a CM bug. Perhaps your provider settings are not correctly configured for SIM2, maybe automatic settings are wrong. Try to manually configure, see if this works.
[Galaxy S 4 Mini Android Development] danilofrias:
My WiFi sometimes get too much time to work. I use the 0307.
[Galaxy S 4 Mini Android Development] holymoz:
Don't know how to configure, on stock never had this problem, I will do some research.

Noticed too, wifi get much time to connect, maybe my impression
[Galaxy S 4 Mini Android Development] csendre:
I believe all you have to do is add/modify apn settings. Most apn settings from around the world are built into CM, maybe yours is not configured right.
[Galaxy S 4 Mini Android Development] bb2005:
I got fc android.phone with version 11.03.16 too.
[Galaxy S 4 Mini Android Development] csendre:
new build 03.13

Uploaded a new build, maybe it will help those experiencing android phone fc. although I have no idea what is causing it.

I just build these, do not change anything, nor can I troubleshoot ....if there is a change in CM source code, it is what it is ...

New build can be downloaded from here
[Galaxy S 4 Mini Android Development] holymoz:
bro you are great! was the apn for sim2 not set, never know that apn affects sms at least on cm :good:

and latest 3-13 works good with clean install without the android.phone fc :highfive:
[Galaxy S 4 Mini Android Development] csendre:
Glad I could help :)
[Galaxy S 4 Mini Android Development] arsm74:
03/13 build dirty flash work fine for me.
[Galaxy S 4 Mini Android Development] bb2005:
03/13 build dirty flash work fine for me too. Thanks. :)
[Galaxy S 4 Mini Android Development] danilofrias:
There's no improvements on the 0313? Should i keep the 0703?

No FC here.
[Galaxy S 4 Mini Android Development] csendre:
Nothing really added that would affect our phone, only an apn update for Orange Romania. Wait until the next one, most likely in two weeks unless I see something added that is worth building for.
[Galaxy S 4 Mini Android Development] holymoz:
anyone knows how to display the remaining characters while typing sms?must appear when 10 characters remains but not.
[Galaxy S 4 Mini Android Development] holymoz:
roms is good and fast, i noticed some bugs, maybe not bugs but things that happen to me.

1. again not receiving sms on sim2, apn is correct.

solution: delete telephony and mmssms db files in / data/data/com.android.providers.telephony/databases

2. sms default app not count remaining characters.

solution: use other sms app like google messenger.

3. headsup not working, only calls and sms are shown, remaining not.

solution: use headsup app from store.

4. strange bug probably kernel related (f4k kernel).

afetr reboot phone hangs and bootloop.

conditions: f4k kernel installed and chenged default hotplug with kernel adiutor.

solution: don't use f4k kernel or dont change the default hotplug or wake the phone right after boot.

thaths all
[Galaxy S 4 Mini Android Development] csendre:
New build 03/18

Guys, I made a new build because of this commit:

"Mms: Add support for custom sms notification tone Currently the sms notification tone is same as the system notification tone. Add support to customize and set the notification tone for sms, different from the system notification tone. "

Download link here
[Galaxy S 4 Mini Android Development] csendre:
new build 03/23

New build up, it includes airplane mode bug fix by arco among other minor fixes.

Download link in my signature
[Galaxy S 4 Mini Android Development] chetan naik:
my data is not working after installing 13.0 .. so plz can any 1 help with this what

my data is not working after installing 13.0 .. so plz can any 1 help with this what to do.. wifi is connecting ,, everything is going fine in this phone but data is not connecting proferly.. so not getting wat to do,, and plz help me ,,
[Galaxy S 4 Mini Android Development] csendre:
CM 12.1 is nearly perfect now, this is not a ROM issue. Perhaps CM13 messed up something in your modem, ask [MENTION=4344511]SilviuMik[/MENTION] :)

Joking aside, this is really not a ROm problem. First of all flash TWRP 3 if you are not already on it. Once this is done, do a full wipe (including internal memory after a back up) then try to clean flash CM 12.1

If this doesn't help, flash a stock ROM with Odin, then move back to CM following the usual steps.
[Galaxy S 4 Mini Android Development] MoMSub67:
HELPPPP ME ? ENCRYPTION UNSUCESS

23/03 build [MENTION=5416372]csendre[/MENTION]

---------- Post added at 12:47 AM ---------- Previous post was at 12:33 AM ----------

Helpppp me ? Encryption unsucess

SORRY, SOLUCIONED :D
[Galaxy S 4 Mini Android Development] csendre:
Encryption should be working now using TWRP 3.0.0.1 See here
[Galaxy S 4 Mini Android Development] Alexs89:
Hello everybody. Tell me pls, how to switch off automatic switching of mobile network type (2G/3G). On my device it works with a lot of bugs
[Galaxy S 4 Mini Android Development] csendre:
You can set the SIMs to 2G from settings > sim cards > sim settings
[Galaxy S 4 Mini Android Development] Alexs89:
I know about this parameter, but it doesn't works. I've tried to change this, but phone switches betwen 2G/3G networks regarless of this parameter
[Galaxy S 4 Mini Android Development] GioBasi:
I have same problem but in older version and I'm using system profiles for changing between 2g/3g

and it' works ok.
[Galaxy S 4 Mini Android Development] csendre:
What theme are you using? Looks good

---------- Post added at 01:09 PM ---------- Previous post was at 01:07 PM ----------

Not sure why isn't working. When I set it to 2G it stays that way. But if you are on 3G, it will switch back to 2G when you are in a coverage area where 3G is not available or signal strength is too poor.
[Galaxy S 4 Mini Android Development] GioBasi:
dark material // regression https://play.google.com/store/apps/details?id=com.chummy.jezebel.material.dark.regression

and FSBI for status bar

https://play.google.com/store/apps/details?id=com.bocharov.xposed.fsbi
[Galaxy S 4 Mini Android Development] csendre:
Cool, me too :)
[Galaxy S 4 Mini Android Development] arman_ajn:
force stop

Hi

I was using the (cm-12.1-20151114) and everything was alright.

today I did a clean install (wiped cache & Factory Reset then installed the latest cm-12.1-20160323)

as soon as the phone boots it keeps poping up that ("Unfortunately, Google Play Services has stopped")

did all the following and still not solved:

cleared cache & data & force close the google play services & google play store; when i disable google play services the force closes message stops poping but I can't use google play nor the browser or etc.

I also installed the one worked for me (cm-12.1-20151114) but still getting the force closes.

what's the solution?
[Galaxy S 4 Mini Android Development] holymoz:
Just installed the 23/03 build and open gapps nano, everything works perfect, sms characters count and email attachment are fixed now for me.

Only problem is sms not arrive on sim2 and don't know why.
[Galaxy S 4 Mini Android Development] csendre:
There was a problem with CM13 code that resulted in this same exact behaviour, I did not realize it affected CM12.1 as well. Try to flash gapps together with the ROM without booting into the rom first, this may help. Sometimes flashing just the pico gapps package helps as well.

I will try to make a fresh build and upload it later, but not sure if I will have time for it.

---------- Post added at 03:50 PM ---------- Previous post was at 03:46 PM ----------

Someone asked me to do this so I built an updated version of PAC-ROM 5.1. If anyone is interested, link is here. It boots with the CM boot logo for some reason (although I used PAC sources) but it has full PAC-ROM functionality
[Galaxy S 4 Mini Android Development] csendre:
new build

Uploaded a new CM 12.1 build, the CM bug (Play FC after full wipe) should be gone in this one, at least it has been gone in the CM 13 sources for a few days now.
[Galaxy S 4 Mini Android Development] Alexs89:
Thanks! It works! :)
[Galaxy S 4 Mini Android Development] sumansur2008:
No Sim??

Anybody noticed / experienced "no sim" after installing 03/04/2016 build of CM 12.1. I came from STE 5.2.2. ROM ,cleanly installed, using CWM based recovery 6.0.5.1.
[Galaxy S 4 Mini Android Development] SilviuMik:
Did a build today with modified RIL . Fixed signal strenght dBm value among other things. Both SIM work

cm-12.1-20160404-UNOFFICIAL-serranodsdd.zip
[Galaxy S 4 Mini Android Development] holymoz:
Is this the same as k2wl and csendre?
[Galaxy S 4 Mini Android Development] SilviuMik:
Yes, same CM sources, only new Radio Interface Layer (RIL)
[Galaxy S 4 Mini Android Development] holymoz:
thanks, this build must stay with the others to not fragment and make confusion with various downloads.

a unique archive will be good.
[Galaxy S 4 Mini Android Development] bb2005:
It's work. thx
[Galaxy S 4 Mini Android Development] vous_voir:
sim 2 is not working. sim 2 imei unknown. help.
[Galaxy S 4 Mini Android Development] Pangadaywalker:
Really you just quote the entire OP? Man, please ....
[Galaxy S 4 Mini Android Development] holymoz:
apps moved to sd are fc's or doesn't show anymore in app drawer.

all messed up, freezing on boot, restored twrp backup.

NEVER MOVE APPS TO SD!!!
[Galaxy S 4 Mini Android Development] csendre:
I have apps on SD, nothing wrong here. ...
[Galaxy S 4 Mini Android Development] holymoz:
I moved many apps to sd, noticed that I can move apps that in stock rom was forbidden like google related apps.

After a reboot all the moved apps (games and apps) not showing anymore, after rebooting again never boot up.
[Galaxy S 4 Mini Android Development] SilviuMik:
New build :) cm-12.1-20160406-UNOFFICIAL-serranodsdd

Revert: audio: Lower earpiece volume a little bit ( it`s a lot actually )

1 April patch level
[Galaxy S 4 Mini Android Development] csendre:
Yes, it is not a good idea to move system apps, it can cause issues as you noticed. However if you have a really fast SD card (70/80Mbps read and 30-50Mps write), you can have good results using link2sd even with system apps. This is what I am doing and everything works flawlessly
[Galaxy S 4 Mini Android Development] holymoz:
Thanks, actually I moved some apps with inbuild feature but not gapps related and works fine.

Only at boot moved apps appears after a while I think for mounting sdcard time.

Anyway noticed that toast messages have text too on left, sometimes overboard a bit, can someone fix it? Thanks
[Galaxy S 4 Mini Android Development] csendre:
PAC-ROM

I finally figured out the issues I was having with PAC-ROM and made a proper build. Link is here.

Those interested please try it and let me know how it works. I may consider opening a separate thread and maintaining it if there is interest.
[Galaxy S 4 Mini Android Development] Anwar105:
do u can make thread for MM for this rom.. This rom sound good.. i think isdty has earlier opened an thread of this rom but cant continue.. if u do this then it would be a great pleasure for our device.. camera app of 5.1 is not good as 6.0.1... i have downloading it to make an try...
[Galaxy S 4 Mini Android Development] csendre:
I know he had a LP thread but from what I see he abandoned it in June last year for whatever reason.

I tried making MM version as well, but there are issues with the sources and don't know how to fix it. Also, from what I see it is in alpha I stage only. Maybe one day ....
[Galaxy S 4 Mini Android Development] Anwar105:
Right now all the MM build are mostly stable and doing great.( specially Team UB rom) Becasuse Sd card storage issue is solved in that rom . I think MM is far better then LP as i m concerned..
[Galaxy S 4 Mini Android Development] csendre:
Well, many people think LP is still superior; but I was specifically talking about PAC ROM's MM version when I said alpha I stage. I know many other MM ROM's made progress.
[Galaxy S 4 Mini Android Development] csendre:
I managed to make a MM build of PAC, but unfortunately will not be able post anything. Here is the message from the PAC Team that shows up at the end of the build:

"Please remember that this source is currently for private builds ONLY!

Public distribution is NOT ALLOWED! All public builds will be removed!

It will be welcomed after nightlies (6.0) begin. Thank you,

The Developers"

I guess we will have to wait some more for this.
[Galaxy S 4 Mini Android Development] Anwar105:
No problem we will wait........
[Galaxy S 4 Mini Android Development] csendre:
new build 04/15

I uploaded a build made on the 15-th, did not get to do it sooner.
[Galaxy S 4 Mini Android Development] pedro311:
Dirty flashed, and I have bootloop :(

Back to cm-12.1-20160403-UNOFFICIAL-serranodsdd ...
[Galaxy S 4 Mini Android Development] arsm74:
I clean flashed and it works OK....
[Galaxy S 4 Mini Android Development] csendre:
I am using it right now and I dirty flashed on top of previous .... something went wrong with your flash or your download
[Galaxy S 4 Mini Android Development] chiticco:
Data service failure

Hi,

1st thank you very much for the hard work you all do on this ROM and for helping me having a great phone!

2nd, I want to report a problem with the data connection: randomly it fails, phone loses data connection and doesn't recover no matter what. When it fails it does it on both SIMs.

What I tried and failed to work:

1. switch data to the other SIM

2. disable and re-enable SIM #1

What I tried and works:

1. reboot -> data service via SIM works; not sure if soft-reboot works or only the hard one

2. (not quite sure about this scenario) enable WIFI, login to a network -> connectivity to data service via SIM is recovered

3. disable and re-enable SIM#2 -> both SIMs recover afterwards

Any idea? I'm using the 6th of April 2016 release, applied on top of previous one. I had no such problems before with the release from February. Same happens with the 15th of April release.

!!! Ok, problem solved! Reason for behavior was wrong Vodafone RO APN setup, no idea how it changed. I followed VF RO setup and now everything works fine.
[Galaxy S 4 Mini Android Development] icero:
[MENTION=5416372]csendre[/MENTION] I'm using last construction and truly had to give all the credit, simply excellent and no problem at all .... one more time thanks for supporting our little giant.
[Galaxy S 4 Mini Android Development] csendre:
The ROM has APN settings for many operators and I recall seeing some changes for Vodafone Romania in CM logs. Maybe they did not update them properly.
[Galaxy S 4 Mini Android Development] csendre:
New build is up. Will make another one soon, this still does not include May security patches
[Galaxy S 4 Mini Android Development] Ramizkzi:
Hi...m a newbie....

I have recently flashed the april version of cm12.1 on my s4 mini i9192...now ive found may version of cm12.1 on basketbuild...how should i flash it...

Ur help will be appreciated...
[Galaxy S 4 Mini Android Development] csendre:
Read the opening post, it has instructions. If you just want to update wipe Dalvik/ART cache and cache, then flash.

Don't know what you found on basketbuild, I did not post anything there and I doubt k2wl posted anything. Follow the link in my signature and scroll down to newest build.