yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DualJoe:
- Init.d seems blocked by SELinux. Probably due to sh/root issues (not sure if it's the entry below). Workaround is to set SELinux to permissive on kernel command line (androidboot.selinux=permissive).

- Xposed works properly.

- Same battery drain like CM11 (same kernel, same problems..). When charging battery on high cpu/gpu usage the device seems to get somewhat more hot.
[Galaxy S 4 i9506 Android Development] audhulma:
I get your point (especially on a company phone), but I 'm in no place to say whether it is fixable on the official cm12 (as far as I remember, I had to update to 4.4 with [MENTION=2332422]temasek[/MENTION] and [MENTION=4898097]arter97[/MENTION]'s ROM, otherwise bootloop, so...).

The thing being, even before switching to the 4.4, I had the same void warranty with cm11 (same display when you reboot to download). So can't really say anything for sure...
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
For some reason the ringtone I set in the settings, doesn't stick and keeps changing back to default Orion at least when booted.
[Galaxy S 4 i9506 Android Development] LEENO:
My random reboots was caused by gapps. I formated system, writed cm12 zip (without data loss) and writed gapps pico. Then installed maps, YouTube and others google apps by playstore as user app. Random reboot problem solved

Taptalked
[Galaxy S 4 i9506 Android Development] chfarges:
Hi! I'd like to try this. I went to this page:

http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900

and in the Pico section, they mention "Proper DPI Play Services¹ (recommended)" and "Universal DPI Play Services". You have downloaded the file corresponding to "Proper DPI Play Services" and flashed it via recovery? That's right?

Thanks!
[Galaxy S 4 i9506 Android Development] chfarges:
I made a clean install and flashed the pico gapps version "Proper DPI Play Services". No reboot so far but too soon to tell.

By the way, for clean install I did : data/factory reset, wipe cache, wipe davilk, format /system format /data , format /cache and I was surprised to see that my downloads fonder and DCIM folder for instance still contain m'y previous data. Is it on a different partition?
[Galaxy S 4 i9506 Android Development] DualJoe:
Internal sdcard is on /data. Its intended to keep it (when wiping). There is a separate 'format' command to format the whole partition.
[Galaxy S 4 i9506 Android Development] DualJoe:
Anyone have settings/more/NFC? It's not there atm but I'm sure it was there after fresh install.
[Galaxy S 4 i9506 Android Development] xinu:
hello,

i have tried few latest nightly builds everything i use seems working, but my phone keep "soft restarting" any idea how to fix it?
[Galaxy S 4 i9506 Android Development] kornelius1982:
Did anyone tried install this rom with f2fs?
[Galaxy S 4 i9506 Android Development] solk2:
Problem in GPS hal. Uploaded some changes now that I hope fixes problems. Will be included in 200215 nightly. If no then need to figure out which structs samsung have different from stock QC.
[Galaxy S 4 i9506 Android Development] DualJoe:
I have the same issue. Connection seems ok but no traffic at all. The weird thing is there is no default gateway defined when doing a 'busybox route' even when VPN is not enabled. But normal internet (over wifi) works nevertheless. That looks suspicious unless Google did something on purpose. I couldn't find anything related though.

Logcat shows some errors when VPN connects. Not sure if its useful:

02-20 03:44:07.539 E/Netd (296): netlink response contains error (Invalid argument)
02-20 03:44:07.539 E/Netd (296): failed to add interface tun0 to VPN netId 107
02-20 03:44:07.539 E/ConnectivityService(715): Exception adding interface: java.lang.IllegalStateException: command '81 network interface add 107 tun0' failed with '400 81 addInterfaceToNetwork() failed (Invalid argument)'
02-20 03:44:07.539 E/ConnectivityService(715): Unexpected mtu value: 0, tun0
02-20 03:44:07.539 D/ConnectivityService(715): Adding Route [::/0 unreachable] to network 107
02-20 03:44:07.539 E/Netd (296): interface tun0 not assigned to any netId
02-20 03:44:07.549 E/ConnectivityService(715): no dns provided for netId 107, so using defaults

I will wait for 20150220 image and test again.

Solk2: Swapping mic channels didn't work?
[Galaxy S 4 i9506 Android Development] audhulma:
Yep, tried it and failed miserably, had to format back to ext4 before making it work. First try even ended up messing up with the recovery (no idea why, but made the display on latest [MENTION=4898097]arter97[/MENTION]'s recovery very dim).

Once /data and /cache back to ext4, everything seems to work properly.
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
What does the advanced mode button do?
[Galaxy S 4 i9506 Android Development] DualJoe:
General Android 5 issue.

'OpenVPN Connect' doesn't work (only 'topology net30', not 'topology subnet'). Probably the same with 'OpenVPN for Android' (stable) but latest beta version of 'OpenVPN for Android' works properly (see here). I've tested that (ping works). Download beta here.

Currently testing CM12-20150221. Some minor issues with locales. Apps like AFWall+ do not correctly switch to english language (built-in option). I use 'App Settings' (Xposed module) to enforce that (that works properly). Also in Android settings there are some non-translated english entries that shouldn't be there. Its probably under construction at the moment in CM12...
[Galaxy S 4 i9506 Android Development] hamhock:
I selected "yes" to fix root, but it still hangs and msg shows: "Recovery is not Seandroid Enforcing"

Any ideas on how to upgrade from CM11 to CM12?
[Galaxy S 4 i9506 Android Development] DualJoe:
Use latest recovery, create a backup and flash latest nightly.

Or use something like Titanium Backup to migrate apps individually to a clean CM12.
[Galaxy S 4 i9506 Android Development] chfarges:
Hello,

I saw that solk introduced f2fs in last version. Do anyone use it? Does it work well?

If so, how should I proceed? I saw that some roms support f2fs for /data and /cache only and others for /system too. How about solk's ROM?

Thanks for tour help!

Bye!
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
I think it only supports /data and /cache, but I'm not sure.
[Galaxy S 4 i9506 Android Development] kornelius1982:
It doesn't support f2fs at all.
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
In last changelog it says that /data and /cache partitions are compatible with f2fs.
[Galaxy S 4 i9506 Android Development] kornelius1982:
http://www.cmxlog.com/12/ks01lte/

There's no for our device yet. Besides, I checked and it didn't boot at all
[Galaxy S 4 i9506 Android Development] chfarges:
I am pretty sure that I saw it in the changelist in updater. I noticed that many modifications concerning our device are often indicated in the updater but not in the URL above. Am I right? May be solk will confirm if he has uploaded something for f2fs or not.

Bye!
[Galaxy S 4 i9506 Android Development] DualJoe:
Battery drain looks good. We have flat lines again. Reverts successful.

Nice work!

Edit: Filesystems are Linux kernel based not Android/CM. You're looking at the wrong changelog.

https://github.com/CyanogenMod/android_kernel_samsung_ks01lte/commits/cm-12.0
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Yeah it's pretty confusing. I saw f2fs support in CMUpdater but in cmxlog isn't even mentioned. Sometimes they have different changelogs.
[Galaxy S 4 i9506 Android Development] hamhock:
when you say "latest recovery" do you mean change from CWM to TWRP?

if so - just curious - why will changing from CWM to TWRP allow me to flash CM12? thanks.
[Galaxy S 4 i9506 Android Development] DualJoe:
You don't need to change. It's just the only one I've tested and am confident about that it's working properly.

I've quickly tested mkfs.f2fs on a local file and loopback block device. It throws 'Error: Failed to prepare a super block!!!'. Will test on a real block device later...
[Galaxy S 4 i9506 Android Development] downhere:
SMS/MMS still causes FCs.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.ComposeMessageActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2329)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)

at android.app.ActivityThread.access$900(ActivityThread.java:147)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5256)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer

at android.app.SharedPreferencesImpl.getInt(SharedPreferencesImpl.java:239)

at com.android.mms.ui.ComposeMessageActivity.onCreate(ComposeMessageActivity.java:2007)

at android.app.Activity.performCreate(Activity.java:5933)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)

... 10 more
[Galaxy S 4 i9506 Android Development] hamhock:
ok, I think I'll change from CWM to TWRP. Can I flash the TWRP zip from within CWM or do I have to flash the tar.md5 from odin?
[Galaxy S 4 i9506 Android Development] DualJoe:
Both should work.

Formatting /cache to f2fs in recovery and booting the system hangs in bootanim indeed. Logcat is short and doesn't show any suspicious things. Looks rather crashed. Last_kmsg has only one f2fs entry (SELinux: initialized (dev mmcblk0p24, type f2fs), uses xattr) that doesn't look bad either. I'm on SELinux permissive so shouldn't block (via kernel cmdline).
[Galaxy S 4 i9506 Android Development] NZgeek:
There has been a commit in the jf device tree for f2fs. This covers the first lot of Qualcomm-based S4s that came out, but I'm not sure if it covers the LTE-A versions or not.

With regards to the file system, it doesn't hurt to leave your /system partition on ext4. Both f2fs and ext4 give roughly the same read speeds, but f2fs is better for writing. Given that very little (if anything) gets written to the /system partition outside of flashing the ROM, the lower write speed doesn't matter.
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
How did you turn SELinux to permissive? I use SELinuxModeChanger
[Galaxy S 4 i9506 Android Development] DualJoe:
Repacked kernel with mkboot setting 'androidboot.selinux=permissive' to kernel cmdline. Probably works by simple hex editing as well (not tested yet).
[Galaxy S 4 i9506 Android Development] hamhock:
ok, I installed TWRP from within CWM (really like TWRP), but unfortunately, I am still unable to upgrade from CM11 to CM12. in TWRP, i wiped:

dalvik

system

data

cache

then flashed CM12, then gapps. still getting "RECOVERY IS NOT SEANDROID ENFORCING" message and just hangs at Samsung boot screen. Am I doing something wrong?
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Is there a method to completely disable SELinux?
[Galaxy S 4 i9506 Android Development] DualJoe:
'Permissive' is more or less disabled as it just logs. It doesn't block anything. There is 'disabled' as well though but they say it might break stuff that depends on SELinux. If you want a clean build with SELinux disabled you probably need to compile it respectively. But that doesn't make much sense imho...

https://source.android.com/devices/tech/security/selinux/validate.html
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Ok. Thanks!
[Galaxy S 4 i9506 Android Development] solk2:
Didn't tested F2FS yet. Will look into it and report.
[Galaxy S 4 i9506 Android Development] solk2:
Didn't saw this error nowhere. What steps to reproduce?
[Galaxy S 4 i9506 Android Development] solk2:
Coz I am the only maintainer for this device I rarely push commit thru gerrit. And cmxlog get changes from gerrit. Latest and exact changelog is in updater or github.
[Galaxy S 4 i9506 Android Development] DualJoe:
We still have the almighty freeze bug. I'm not sure if its related to touchscreen as it mostly freezes when swiping or touching. Could be just coincidence.

I also noted that there are some gfx glitches sometimes. Mostly horizontal black lines in a thick horizontal block. If this happens on different memory areas as well its no wonder it crashes now and then. I'm seeing this on CM12 for the first time though.

Logs crashed during games 'Bridge Builder' and 'Pinball Arcade' quite fast (after 5-10 minutes). Edit: Disabling audio offload seems to improve the situation. Will test some more...
[Galaxy S 4 i9506 Android Development] downhere:
Coming from CM11 (2015-01-18).

Doing a wipe (data, dalvik, cache, system).

Installing CM12 (2015-02-22) and PA-GAPPS.

After rebooting was done, just started SMS/MMS. Push create message button = fc.
[Galaxy S 4 i9506 Android Development] DualJoe:
No issues here.
[Galaxy S 4 i9506 Android Development] Corni5h:
I'm new here so sorry if I am posting in the wrong place! I managed to root and install Cyanogenmod on my phone last night but every time I try to send or even open an sms I get this same error log on my s4 Active (i9295). Any advice would be gratefully received. Thanks in advance!!
[Galaxy S 4 i9506 Android Development] lor99:
This is S4 LTE-A section

Inviato dal mio GT-I9506 con Tapatalk 2
[Galaxy S 4 i9506 Android Development] Corni5h:
My apologies, I thought the resolution might be similar, even if the model was slightly different. Trying to strike a balance between a shared solution and asking the same question in 2 different places! :)
[Galaxy S 4 i9506 Android Development] SubNoizey:
https://play.google.com/store/apps/details?id=com.quarttz.impress.mind&hl=en

this theme causes bootloops with theme engine.

It seems to be the font, Is there any way to delete this/flash the main system font ?
[Galaxy S 4 i9506 Android Development] __B__:
I'm having the same problem. I'm using cm-12-20150222-NIGHTLY-jfltexx. Just restored all my SMS from an old Android phone using https://play.google.com/store/apps/details?id=com.mdroidapps.easybackup.

Steps to reproduce: just try to open a Message/Write a new one. Related: https://plus.google.com/111872051402190097849/posts/YvaVLWeB4Yg

---------- Post added at 08:01 PM ---------- Previous post was at 07:52 PM ----------

Programming solution related: https://stackoverflow.com/questions/17844511/android-preferences-error-string-cannot-be-cast-to-int

It seems to be fixed in cm-12-20150223-NIGHTLY-jfltexx (check the changelog from http://www.cmxlog.com/12/jfltexx/). I will update it and come back.
[Galaxy S 4 i9506 Android Development] __B__:
Installing cm-12-20150225-NIGHTLY-jfltexx fixes the problem.
[Galaxy S 4 i9506 Android Development] downhere:
Confirmed. For cm-12-20150225-NIGHTLY-ks01lte.zip SMS/MMS doesn't FC any more.
[Galaxy S 4 i9506 Android Development] vagika:
IGO issue

Hi,

Anyone using IGO w/ this ROM?

I'm on 0226 already, and it seems if I receive a call while running IGO, after disconnect phone gets silly. (Solk CM11 was perfect...)

Sometimes freezes completely, but sometimes can be recovered although home button won't work afterwards.

(black screen, but pushing power several times activates display and lets you roll down status bar...)

I've tried to change IGO version, then sys.txt, and CM lots of different settings, then tried it out w/ S4 Mini CM12 (suspecting it's w/ CM12...), but it's OK on that phone...

Any thoughts?...

Thanks!
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Will audio fx work any more?

---------- Post added at 11:30 AM ---------- Previous post was at 11:13 AM ----------

Also recording in 4k resolution has a bit of lag.
[Galaxy S 4 i9506 Android Development] anvode:
Bluetooth --> no Deep Sleep

Hi,

I'm on the nightly 12-20150227-NIGHTLY-ks01lte.

If bluetooth is turned on, the device will not go to deep sleep anymore! BBM shows the kernel_wakelock msm_serial_hs_dma as the cause for this behavior.

cu

Andreas
[Galaxy S 4 i9506 Android Development] DualJoe:
Weird.. looks like the buildbot stopped building for our device. Hangs at 2015-02-27.

http://download.cyanogenmod.com/?device=ks01lte
[Galaxy S 4 i9506 Android Development] d-s-x:
solk2 made some changes to proprietary samsung blobs repo and one file is gone missing. I've already report the issue github.com/TheMuppets/proprietary_vendor_samsung/issues/588

but that's all I can do at the moment :(
[Galaxy S 4 i9506 Android Development] downhere:
On current nightly (2015-03-08) toggling 2G/3G/LTE doesn't work.

Arter97 demands Lollipop bootloader and modem for his recent CM12 version. Has that to be applied here too?
[Galaxy S 4 i9506 Android Development] d-s-x:
I cannot say for sure but most likely YES.

What I know is that cm does not include any bootloaders or modems.
[Galaxy S 4 i9506 Android Development] downhere:
Switched modem and bootloader to Lollipop version (Arter97's file), but toggling 2G/3G/LTE still doesn't work.

Edit:

With nightly 2015-02-27 toggling 2G/3G/LTE is working with new modem and bootloader. Not working any more with 2015-03-08.
[Galaxy S 4 i9506 Android Development] DualJoe:
Anyone know how to fix the sound issues with 'dustoff vietnam'? The sound is choppy and slow. I tried disabling audio offload, performance governor and disabling nuplayer (like recommended at several places). But nothing really helps. Anyone found a solution yet?
[Galaxy S 4 i9506 Android Development] anvode:
Official Sources for LL

Hi,

did you know, that Samsung published the source of the i9506-LL?

opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=I9506&_sm_byp=iVV5sQN3HDrnfkr7

HTH

Andreas
[Galaxy S 4 i9506 Android Development] downhere:
Switching of 2G/3G/LTE in settings is still broken in nightly 2015-03-10.
[Galaxy S 4 i9506 Android Development] DualJoe:
It seems there's something wrong with simtoolkit. It's not available in launcher. One activity is disabled (StkLauncherActivity). If i re-enable and start it this error shows up:

03-11 13:38:30.736 I/ActivityManager(28879): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.stk/.StkLauncherActivity} from uid 10067 on display 0

03-11 13:38:30.986 I/InputDispatcher(28879): Dropping event because there is no touchable window at (705, 347).

03-11 13:38:31.086 I/WindowManager(28879): Screenshot max retries 4 of Token{50b7e46 ActivityRecord{1b80ba21 u0 com.android.stk/.StkLauncherActivity t3515 f}} appWin=Window{85eb8a0 u0 Starting com.android.stk} drawState=3

03-11 13:38:31.086 E/ActivityManager(28879): Invalid thumbnail dimensions: 576x576

Maybe swapping it with 20150227 might workaround it temporarily.
[Galaxy S 4 i9506 Android Development] fixe:
Is is advisable to flash a current Lollipop OEM rom from Samsung to update bootloader and modem or is it possible to do this without affecting the current installation of CM, maybe via odin?
[Galaxy S 4 i9506 Android Development] Quattra:
Hi,

I have installed most current version of the nightly. I am having problems when going through "first-time setup". Setup crashes after login to Cyanogenmod account. It doesn't matter of I skip this or try to login. Setup wizard just crash. Any ideas?
[Galaxy S 4 i9506 Android Development] DualJoe:
Maybe rather try 20150227 if you need a more stable release.
[Galaxy S 4 i9506 Android Development] d-s-x:
There is arter's solution http://xdaforums.com/showpost.php?p=59295562&postcount=1170

I didn't flash it myself but it looks harmless.
[Galaxy S 4 i9506 Android Development] Juhkimo:
I did have the same problem. I fixed it by clean installing version cm-12-20150227 and then updated to latest version (20150311) and wiped dalvik cache and cache.

hope this works for you too :)
[Galaxy S 4 i9506 Android Development] Quattra:
This did the job. Thanks for that!
[Galaxy S 4 i9506 Android Development] Logen91:
It isn't working for me.

Any other solutions?
[Galaxy S 4 i9506 Android Development] boart:
Bootloader Update?
[Galaxy S 4 i9506 Android Development] coroneta:
It´s look amazing man :) ,can you prepare other modems to flash in odin?

You can create a thread and post it like have i9500 and i9505!!:good::good:
[Galaxy S 4 i9506 Android Development] smeroni68:
Here XXUCNJ1 bootloader odin file:

https://www.dropbox.com/s/3y2a1bawx6jyy6o/Bootloader_NJ1.tar.md5?dl=0

I prepared for my use the files... It take time, but I will do after holidays time a new thread for that stuff... [emoji106]

Inviato dal mio GT-I9506
[Galaxy S 4 i9506 Android Development] coroneta:
Thanks man!!:good::good:
[Galaxy S 4 i9506 Android Development] Floyd_MK:
New logcat with internet not working

Hi, there is a main logcat and an radio logcat in the folder. Both long. Great work so far, everything working great except mobile connection.

https://drive.google.com/folderview?id=0BxnPlxDsx1TXTkViZF9XOG1wcDg&usp=sharing
[Galaxy S 4 i9506 Android Development] kornelius1982:
[MENTION=3545504]smeroni68[/MENTION] is this the latest modem? I`m on XXUCNF3 now

Thanks!
[Galaxy S 4 i9506 Android Development] huilun02:
I'm interested. Does it have the alarm problems like in arter97's ROM?

Its the only thing bugging me because the only way to turn off the alarm is to go into alarm settings and disabling. Snooze options don't work. Even putting it in silent mode doesn't cut it.
[Galaxy S 4 i9506 Android Development] kornelius1982:
I had problems with alarm too, but did full wipe and clean install with user apps restore solved for me the issue.
[Galaxy S 4 i9506 Android Development] smeroni68:
Yes... I started too from NF3...

Inviato dal mio GT-I9506
[Galaxy S 4 i9506 Android Development] huilun02:
How do I backup user apps? (and preferably rom settings too)

So far I have had to reinstall and reapply every app/setting after every rom flash. So troublesome.

As you can see I'm still new to dealing with custom roms, but I'm more confident about the logic behind flashing certain stuff.
[Galaxy S 4 i9506 Android Development] dsignlife:
By backing up user apps he means youtube.com/watch?v=gQWoWfTA88k

there you go.
[Galaxy S 4 i9506 Android Development] kornelius1982:
Backup/restore is similar to almost all android versions stock or AOSP.

You just need to buy must have app called `Titanium Backup` and read some manuals before start using.
[Galaxy S 4 i9506 Android Development] huilun02:
Ah I had a hunch it was app based, since I couldn't find any app backup in CWM. Thanks for pointing it out :)

Will the free version of Titanium suffice?
[Galaxy S 4 i9506 Android Development] MrTemz:
Pls help i installed the rom several times now and every time it boots it says "Encryption unsuccessful"
[Galaxy S 4 i9506 Android Development] kornelius1982:
To be honest I didn't test free version of TB, but you can be sure it is worth every penny.
[Galaxy S 4 i9506 Android Development] ms061780:
no mobile data

Hi,

I installed the rom and everything seemed to work well, until I tried using not WLAN but mobile data.

No chance.

There is a workaround with data_on.sh and typing something in terminal emulator.

It works, but must be re-done every time changing from WLAN to mobile data.

Any possibility to do something?

BTW: Now I tried to fall back to 4.4.2 backup and it hangs with sign SAMSUNG after reboot.... it seems to be problematic too?!?

Regards Sven
[Galaxy S 4 i9506 Android Development] Floyd_MK:
No connection fix

So, I have found this fix:http://xdaforums.com/showpost.php?p=57176862&postcount=1455 and tested it. Works. I don't know if it's helpful, but wanted to report it anyway.