yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] asterismo:
Well, i get this error when trying to encrypt: E/Cryptfs ( 1890): Orig filesystem overlaps crypto footer region. Cannot encrypt in place. using adb logcat. It seems that the data partition has 16kb for storing the crypto passphrase, and it seems the partition was resized by the stock rom i installed the last time. So i think i should resize this partition and reformat data in recovery and then factory reset again. Also found this thread that deals with the partition issue, but the think is that my "mount" command shows partitions as /dev/block/msm.../by-name/.. and not /mmcblk0p8 and so on, so i dunno whick of the partitions is /data...

http://forum.cyanogenmod.org/topic/82292-cm102-encryption-does-not-start-stuck-at-splash-screen/

Please help, i'm almost there to having the perfect phone!

Cheers!

---------- Post added at 05:33 PM ---------- Previous post was at 05:27 PM ----------

Here is my "mount" command http://pastebin.oalm.gub.uy/view/b7684437, and my cat /proc/partitions http://pastebin.oalm.gub.uy/view/5010933a

---------- Post added at 05:41 PM ---------- Previous post was at 05:33 PM ----------

I also read that some recoverys does format the entire data partition and not consider this 16kb footer. So maybe the stock ROM was not the responsible for this, i'll try to install some other recovery and reformat data and see if encryption works. [MENTION=943196]k2wl[/MENTION], what recoverys do ypu recommend? i have installed like three PhilZ for flashing this rom (just the last one worked) and now the TWRP recovery, should i try with CWM recovery? Thanks.
[Galaxy S 4 Mini Android Development] therohanchawla:
Hi all!... I have one question..

Does this ROM support USB OTG??.

I just want that feature..

Thanks in advance
[Galaxy S 4 Mini Android Development] asterismo:
I resized the partition and got encryption, so i got the perfect phone now. sooooo happy yay! best regards
[Galaxy S 4 Mini Android Development] udaan:
Last time I tried encrypting my phone, it bootlooped and I had to format the internal SDcard through some obscure method and I genuinely though I killed my phone. Does it work now?

Can you help me with steps, tell me what did you do?

Thanks! :)
[Galaxy S 4 Mini Android Development] asterismo:
Sure, i followed this (http://forum.cyanogenmod.org/topic/82292-cm102-encryption-does-not-start-stuck-at-splash-screen/) and mainly this (https://jira.cyanogenmod.org/browse/CYAN-6925). I booted in TWRP and connected to the phone in ADB in Linux, issuing "adb shell", then i did a factory reset and then, the following commands while the phone stills in TWRP recovery mode with no OS booted, this is my terminal output. The problem was in fact the missing 16kb footer for the user partition which is the last one and biggest partition of all.

santiago@jarvis:~$ adb shell
~ # umount /data
~ # umount /dev/block/mmcblk0p24
~ # resize2fs /dev/block/mmcblk0p24 1421275
resize2fs 1.42.9 (28-Dec-2013)
The filesystem is already 1421275 blocks long. Nothing to do!

~ # e2fsck -f /dev/block/mmcblk0p24
e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p24: 821/355520 files (7.4% non-contiguous), 100816/1421275 blocks
~ # exit

Then simply rebooted the phone. After the resize is very important to perform the e2fsckfor pixing inodes and stuff, else, the phone i don't think will boot up.

Hope it helps you [MENTION=5433189]udaan[/MENTION]

Best regards,
[Galaxy S 4 Mini Android Development] k2wl:
@asterismo i am going to add this post in faq list. thanks for figuring out...i am glad that you get perfect rom.

UPDATE - done...added to faqs :)
[Galaxy S 4 Mini Android Development] therohanchawla:
Hi all... I have a couple questions and would really want some one to reply to.....

I just want a stable system... I only use one sim..... I am confused between cm11 and cm12 are there any significant bugs etc....

Also what kernels r supported... Does using a custom kernel increase battery life in any way....

Thanks in advance
[Galaxy S 4 Mini Android Development] k2wl:
for single sim cm11 is rock solid right now...using cm11 till now and it great.

for cm12 or 12.1 latest builds are fine for single sim but there are some bugs like bluetooth to car pairing...and some others but are stablish too...just try them out...and you will find out on your own,

i dont use custom kernels so i dont know if they work good or bad
[Galaxy S 4 Mini Android Development] csendre:
Not too many custom kernels available for our device on CM 12.1, most people are using f4k's kernel.

Custom kernel alone will not change battery life, instead it allows you to configure your device in a way that it offers better battery life for your own style of usage. You will have to read upon it a little as it is very complex, but there is plenty of info out there. Basically you will have a wider choice of CPU and GPU governors, you can slightly undervolt or use an I/o scheduler better suited for what you are doing with your phone.
[Galaxy S 4 Mini Android Development] DaDiDo:
i just saw a thread about the F4K rom for I9192 , can you tell me what's the difference between this and the K2wl rom ?

Thread link: http://xdaforums.com/galaxy-s4-mini/development/rom-cyanogenmod-12-0-s4-mini-3g-lte-t2946176
[Galaxy S 4 Mini Android Development] udaan:
Hi, if you have doubts then just use this (default) one.
[Galaxy S 4 Mini Android Development] 12egon12:
Hi,

I am looking FW for two sims solution stable with less numbers of defects. Now I have one of the latest 12.1 builds and I have a lot of issues with this build, means: battery drain, problems with phone after BT car connection, sometimes no audio after receiving or make phone call, most of the time second sim is logged out from gsm network.

Thanks for hints!

/BR

12egon12
[Galaxy S 4 Mini Android Development] bobo1704:
I agree with you. Latest CM11 build is very stable for both SIMs. I got back from 12.1 because of bugs and high temperatures of my I9192 to CM11 and now every problem has gone... Device is much more stable, battery consumption is less and my device never gets hot... CM12.1 is great, but as soon as there are no drivers for battery etc for our device, there will always be problems...
[Galaxy S 4 Mini Android Development] 12egon12:
Are you talking about this?

http://xdaforums.com/showthread.php?t=2790789
[Galaxy S 4 Mini Android Development] bobo1704:
Yes, latest build is 20150901.
[Galaxy S 4 Mini Android Development] csendre:
Don't know, I only used a very early version of that ROM and for a very short time.
[Galaxy S 4 Mini Android Development] ppawan:
Latest Build of 22/10/2015 clean installed using since more than a week superb stability and Battery is way better with my usage of continuous usage on WiFi and Internet I get a very decent Battery

---------- Post added at 09:27 AM ---------- Previous post was at 09:26 AM ----------

Cheers K2wl please find how to fix Camera

---------- Post added at 09:28 AM ---------- Previous post was at 09:27 AM ----------

Motorola Camera app works perfect on this rom just when you enable flash it doesn't take the photo as it is trying to focus and fails to focus and take photo
[Galaxy S 4 Mini Android Development] k2wl:
camera is the worst part of cm builds...i cant do much about it.

BTW latest build is 30oct2015
[Galaxy S 4 Mini Android Development] Symphomed:
Hello K2wl, why don't you use this modded cm camera app to replace the default one? just a suggestion :)

https://userscloud.com/9e4ck0mhhk7y

BTW, Found on XDA
[Galaxy S 4 Mini Android Development] udaan:
I think he is trying to keep the ROM clean as far as possible and I respect that. You can install 3rd party cameras from play store anyway!
[Galaxy S 4 Mini Android Development] say010:
+1 this is pure cm 12.1 and I respect that too:)
[Galaxy S 4 Mini Android Development] pedro311:
Huge battery drain

cm-12.1-20151030-UNOFFICIAL-serranodsdd, dirty flash.

2,6%/h when normal drain here is 0,5%/h on stand-by.

Moreover: I can't see any new wakelocks...
[Galaxy S 4 Mini Android Development] FearFac:
what kernel are you using?
[Galaxy S 4 Mini Android Development] pedro311:
Original one.

But strange thing: after 2 reboots everything is fine now...
[Galaxy S 4 Mini Android Development] Michaelmania:
Feedback on October 30 build

pardon me for the long absence

latest build is doing fine. no problems so far. really miss the AMBIENT DISPLAY feature and its corresponding tile. on the plus side, issues which were plaguing since the september builds appear to be resolved. no force closes thus far.

shoutout to [MENTION=943196]k2wl[/MENTION] once again
[Galaxy S 4 Mini Android Development] asterismo:
hi, is there anyway to update to the latest build without loosing all data? my build ia running pretty good, some bugs but totally i can kllive with that, but i would like to get to the last build. i have an encrypted device and many things set up, like pgp, mail, accounts... best regards! and great job
[Galaxy S 4 Mini Android Development] Anwar105:
is anyone have installed xposed framework in that rom?
[Galaxy S 4 Mini Android Development] Symphomed:
I did, it works properly except for amplify, amplify sends me to a bootloop.
[Galaxy S 4 Mini Android Development] 1di9:
I've installed latest xposed build (75) when I dirty flashed latest CM 12.1 build, and I had no problems with my modules....but I haven't simplify.

However, I upgraded because of daily error message about google play service stopped by an error, but flashing latest build didn't solved this issue and added some others problems: no more notification on locked screen, some apps (whatsapp for example) don't update to latest version even if I try a manual update in play store.

Anyone else has this kind of problems?
[Galaxy S 4 Mini Android Development] FearFac:
I did, Greenify works fine.
[Galaxy S 4 Mini Android Development] :
I'm experiencing terrible battery drain while the phone is in the deep sleep. How to find out what causes fast battery idle discharge? Thanks.
[Galaxy S 4 Mini Android Development] Swantu:
battery drain

Hi,

after dirty flashing (delete cache + install from zip) from cm12.1-oct 22 to cm12.1-oct 30 my phone could be used as heater.

Error re-occured after rebooting and changing the battery, so im currently going back to oct22 build.

This may confirm the "strong battery drain when in deep sleep".

Im not aware of having xposed installed.
[Galaxy S 4 Mini Android Development] udaan:
Check the battery stats and find out which apps are draining your battery by keeping your device awake.

Both of you should do Battery calibration. (Google)

It looks like some of your apps are at the fault here. Swantu, you should probably do a clean install with Oct.30, just to check if there is a problem with your phone because I can safely say that its working fine for me, when not in use it shows more than 3 days of stand-by time. (edit: with no greenify or any 3rd party app installed.)
[Galaxy S 4 Mini Android Development] :
Don't try to use android encryption on this rom!!! You'll lose your data!

Although I followed all the instructions for the correct encryption (100% battery; plugged into the wall charger; no interruptions), my i9192 stucks on the bootanimation after 'SUCCESSFUL' encryption.

The thing is that according to android default battery stats everything's okay. The most consuming part is the screen.

I have already done calibration by deleting 'batterystats' file, full discharging and full charging to 100% afterwards. Still have problems: my device feels like heater sometimes as well (I'm serious, sometimes it's uncomfortable to hold it in my hands).
[Galaxy S 4 Mini Android Development] udaan:
I know! I tried that once which almost killed the internal storage of the phone.

And I'm sorry for your battery problem. It is working great for me.
[Galaxy S 4 Mini Android Development] k2wl:
have you tried this

http://xdaforums.com/showpost.php?p=63479922&postcount=2061
[Galaxy S 4 Mini Android Development] Swantu:
Hi Udaan,

I doubt that would be solved by battery calibration. I was physically heating up my phone and burning through ~50% battery in 30minutes. I took it out of my pocket because it was too hot.

I had that sometimes with the september releases, but never with the 22nd october release - which Im happily using now.

If it ever occurs again, I will chech which app uses the battery - sorry didnt do that before.
[Galaxy S 4 Mini Android Development] kryptonic rocker:
Battery drains more on cm than other roms

i am a frequent flasher.....and what i have noticed is that i can go a full day on other roms i.e (blisspop, ressurection remix and groundzero roms) but i can barely go 3-4 hours on cm! note: i always calibrate my battery after a flash. i can go from 60% to 0%(dead) in less than an hour on cm with moderate use............

another very battery friendly and stable rom i noticed was tesla rom project. it doesnt have theme engine but its very good n smooth n usable,....unfortunately the developer (i think it was tioguda or sth) couldnt continue with the support on this rom.......
[Galaxy S 4 Mini Android Development] dav1129:
play and whisperpush services stopping with last three roms

play and whisperpush services stopping with last three roms
[Galaxy S 4 Mini Android Development] 1di9:
I've clean installed latest build, even formatting data partition. Most of past issue (play service errors, gps not working in maps) are gone but....... I do not understand why since october builds I'm not able to have notification of whatsapp message showed on screen while device is in standby, even if I set app to always show this notification. Is there a way to restore this feature?

Inviato dal mio TF300T utilizzando Tapatalk
[Galaxy S 4 Mini Android Development] k2wl:
cm code fault...hope to get corrected next builds

And cm13 build alpha version is here

https://www.androidfilehost.com/?fid=24269982086998080

As i dont have phone right now...this build is untested. but i think this should boot up.

and if somebody try this out post your experiences.
[Galaxy S 4 Mini Android Development] Benadio:
Any advice Gapps for this build sir?
[Galaxy S 4 Mini Android Development] k2wl:
try to use opengapps
[Galaxy S 4 Mini Android Development] csendre:
Hope you'll keep using your duos :)

Will you open a new CM13 thread or do we post experiences here for the time being?
[Galaxy S 4 Mini Android Development] loopguru:
Unable to detect SIM cards(not a single one) with CM 13 ,so be careful.
[Galaxy S 4 Mini Android Development] csendre:
cm-13.0-20151117-UNOFFICIAL-serranodsdd.zip

Clean install of CM13 with no GAPPS:

- SIM card not detected

- BT: can pair devices, but sound still streams through phone speaker even when device connected

- Works: Gyro, camera, WiFi, GPS

Also tried installing Open GAPPS minimal; upon reboot I kept getting all kinds of FC for setup wizard and everything else phone became unusable

Btw, it looks and feels exactly the same as CM12.1
[Galaxy S 4 Mini Android Development] udaan:
cm-13.0-20151117

- what doesn't work:

No sim card/network/data

No sound on sound recorder

- what works:

everything else.
[Galaxy S 4 Mini Android Development] k2wl:
keep experiences here only..i dont want to open a half baked rom thread.

i am looking into sim and data...looks like kitkat blobs are not working at all.
[Galaxy S 4 Mini Android Development] Keca88:
Hi,

Is there any chance that the mobile data and calls will work well? Sometimes (most of the time) I didn't get the calls from SIM2 while SIM1 is on mobile data. On KitKat the mobile data switched off when a call came in.

Besides that your CM based ROMs are the best for i9192. ;)
[Galaxy S 4 Mini Android Development] udaan:
You can use the tried and tested method of XDA community and mark your posts as [RESERVED] for future. lol :P j/k

All the best for 13.x builds! You are doing God's work here. Cheers!
[Galaxy S 4 Mini Android Development] alexax66:
Great work!

May be help us revert this commits:

https://github.com/CyanogenMod/andr...mmit/e5824288db873d8cedada00e163c54a91df457b7

https://github.com/CyanogenMod/andr...mmit/9b11e75aea0939caca9a528d41d100b775ec7909
[Galaxy S 4 Mini Android Development] csendre:
Today I tried to flash the old JB blobs (if you recall you made a flashable zip with them) but unfortunately this didn't work either
[Galaxy S 4 Mini Android Development] k2wl:
i know about reserving posts but when it gets ready it will get new thread.:)

done !!!

https://github.com/k2wl/android_dev...mmit/ccc4e9ae8883971e84a4173b0d05744beba0660b

will build with this commit now.
[Galaxy S 4 Mini Android Development] alexax66:
OK! Awaiting .....
[Galaxy S 4 Mini Android Development] k2wl:
https://www.androidfilehost.com/?fid=24269982086999507

try this build and report back
[Galaxy S 4 Mini Android Development] kryptonic rocker:
sooo excited!!!!

---------- Post added at 08:56 AM ---------- Previous post was at 07:57 AM ----------

which gaaps can i flash?

---------- Post added at 09:06 AM ---------- Previous post was at 08:56 AM ----------

smooth but no sim card detected sir
[Galaxy S 4 Mini Android Development] loopguru:
Try Gapps for marshmallow, available for download now

Sent from my sony D5833
[Galaxy S 4 Mini Android Development] kryptonic rocker:
cm13 trial

appears smooth

mtp doesnt mount on computer, thus couldnt transfer files

SIM CARD NOT DETECTED- which makes it hard to use

find attached screenshots
[Galaxy S 4 Mini Android Development] loopguru:
True, SD card detection is a problem.
[Galaxy S 4 Mini Android Development] alexax66:
Need logs for serch solutions

Install this app https://play.google.com/store/apps/details?id=com.tortel.syslog&hl=en

and send logs
[Galaxy S 4 Mini Android Development] kryptonic rocker:
sadly i flashed back the cm 12.1.........
[Galaxy S 4 Mini Android Development] Michaelmania:
For whatever it's worth, I can confirm that I have had no such problem with whatsapp on the latest build.
[Galaxy S 4 Mini Android Development] 1di9:
I'm happy for you but........someone has to explain why two smartphones identical with the same operating system behave differently.

To prevent this kind of troubles I've made a total clean install, but it's clearly not sufficient:confused::(
[Galaxy S 4 Mini Android Development] Michaelmania:
Even I am confused. You do have GT-i9192 model right?

Edit: FYI, I am using TK Gapps pico version
[Galaxy S 4 Mini Android Development] 1di9:
Yes, latest build

I must admit I forgot to install gapps while flashing rom:eek:, but I had no problem because all gapp has been restored automatically and works better than before.:good:

However, reported issue has nothing to do with gapps.......
[Galaxy S 4 Mini Android Development] Michaelmania:
Whoa buddy! Hold on. I'm not an expert or a dev. Help me here. From your last post I understand that you did a CLEAN INSTALL of the ROM. Then when it booted up, it installed all your apps FROM PREVIOUS BACKUP ON GOOGLE SERVERS.

If this is what happened, I don't mean this at all. After installing almost any ROM on XDA, we have to install the gapps package separately. And these are not the ones available from play store manually. These packages are Google background and Google back end services. Things which make your android phone work with your Google account.

Regarding your stated problem of whatsapp notifications, I still think all Google background services are not there. I am specifically talking about GOOGLE PLAY SERVICES. It may look or may even be unrelated. But a lot of apps on play store don't function properly or don't function at all without play services.
[Galaxy S 4 Mini Android Development] udaan:
Whatever you guys are talking about, whatsapp and gapps are working fine. If you have a problem with any of it then I suggest you do a clean install of the latest ROM and ONLY install gapps from opengapps.org/
[Galaxy S 4 Mini Android Development] Michaelmania:
"TKGAPPS" work fine for me :)
[Galaxy S 4 Mini Android Development] 1di9:
What can I say?

BEFORE, after some dirthy flash and gapps installed, google play service crashed at least twice a day , did not update any applications, GPS did not work with google maps and whatsapp notifications stopped shown when screen was locked since october builds flash;

AFTER clean install (with /data partition format) everything works fine except whatsapp notification. To be precise, whatsapp notification over locked screen were shown until I 've done the first reboot....
[Galaxy S 4 Mini Android Development] udaan:
Whatever works for you! And I think he dirty flashed it because google apps don't magically appear after the clean install. lol
[Galaxy S 4 Mini Android Development] 1di9:
I did not remenber to have flashed gapps, Indeed I remember being pissed off for having forgotten to do such a basic thing..........but.........I've prepared and made clean install of rom late at night, everything is possible::confused::o
[Galaxy S 4 Mini Android Development] Michaelmania:
[MENTION=4873994]1di9[/MENTION] buddy that's as much as I could help. Don't know anything else. I will leave you with this: Aug 14 2015 build is a time-tested stable build for me. I have dirty flashed since. To be precise, after that build, I have fast forwarded to November builds.
[Galaxy S 4 Mini Android Development] marcosmix:
Team. Im install in my 9192 CM 12.1 versión 07-11-2015 and is the best. No battery drains, no forcé closes , no force restart. Now i have 2 weeks whit this room.

Note: im make a clean instal and use opengapps stock version.

Thx to K2wl and team for make this room and for all works..

Sorry for my english im from Venezuela.
[Galaxy S 4 Mini Android Development] Symphomed:
Hi ,you mean 07 November 2015 or 11 July 2015?

I'm with 03 july 2015, it was cool at the starting, but now it's very buggy and laggy, also, it has a new issue with the battery drain that appeard just this month... i want to move to another Stable version of CM12.1 by k2wl
[Galaxy S 4 Mini Android Development] udaan:
So any news on the new build of 13.x [MENTION=943196]k2wl[/MENTION]?
[Galaxy S 4 Mini Android Development] k2wl:
working on it...but as of no ril /data

so no release :(
[Galaxy S 4 Mini Android Development] marcosmix:
Hi. Im use 7-November-2015 Bro. This is the best Build for me.. its so very very very stable.

Try to use this build and coment.

Note: Im make a restart 3 times after install and charge battery full.
[Galaxy S 4 Mini Android Development] marcosmix:
Build 07-November 2015
[Galaxy S 4 Mini Android Development] marcosmix:
You can check my screen shot and see my battery ussage on this build 07-nov-2015 for me the best.
[Galaxy S 4 Mini Android Development] 1di9:
I agree, 07/11 build is stable and not power hungry. The only thing I don't understant is why ambient display won't work......

Inviato dal mio GT-I9192 utilizzando Tapatalk
[Galaxy S 4 Mini Android Development] udaan:
First official CM13 Nightlies are now available!
[Galaxy S 4 Mini Android Development] luiseduardomn:
This ROM is awesome! Thanks!
[Galaxy S 4 Mini Android Development] arlaor:
14-11-2015 build drain battery issues.
[Galaxy S 4 Mini Android Development] tostep:
Does the CM-12.1 version support BLN-control?
[Galaxy S 4 Mini Android Development] udaan:
I'm sure it does. :)
[Galaxy S 4 Mini Android Development] Anwar105:
Battery drains
[Galaxy S 4 Mini Android Development] k2wl:
try new build 23-nov-2015
[Galaxy S 4 Mini Android Development] bobo1704:
Hello!!

Yesterday I installed the 14th of November build with clean install and today I see the new build. I'm very delighted with 14th's build. Does it worth to install the new build with dirty flash? Has anyone tried it?
[Galaxy S 4 Mini Android Development] k2wl:
dont change if you re happy with your current build...if you have any issues then you can always update to new build