CyanogenMod 11.0 for Galaxy S4 LTE-A (GT-I9506)

Search This thread

DualJoe

Senior Member
Oct 12, 2011
2,194
1,095
de
Can you tell what you was doing on phone then. Maybe this will bring some light on what exactly is crashing.
Playing 'Where's my water' for like an hour on airplane mode. The screen was scrolling at that time and i was flicking down on screen. Then it freezed for 4 seconds until the screen gone dark to reset.

I will setup a logcat again to make sure we've covered all buffers at least once.
And i would like to find something to analyze the kernel.

And as I'm writing this, reading on a different tab about kgdb it crashed again while scrolling/flicking. CMD52 is still there. Many CIFS lookup errors (CIFS VFS: Unexpected lookup error -20) as if i had forgot to unmount before disconnecting wifi. CIFS generally could be a good point. I'm using that daily with SuperSU (to mount system-wide) that has potential (--mount-master might be done with dirty tricks). Maybe i should update SuperSU or try a different approach just to make sure.

su --mount-master -c busybox mount -t cifs -o username=$username,password=$password,$mountoptions $host $folder

20141111 lasted two days without crash and if i remember correctly i didn't use CIFS there. Need to test that...
 
Last edited:

solk2

Senior Member
Jun 1, 2013
500
611
Playing 'Where's my water' for like an hour on airplane mode. The screen was scrolling at that time and i was flicking down on screen. Then it freezed for 4 seconds until the screen gone dark to reset.

I will setup a logcat again to make sure we've covered all buffers at least once.
And i would like to find something to analyze the kernel.

And as I'm writing this, reading on a different tab about kgdb it crashed again while scrolling/flicking. CMD52 is still there. Many CIFS lookup errors (CIFS VFS: Unexpected lookup error -20) as if i had forgot to unmount before disconnecting wifi. CIFS generally could be a good point. I'm using that daily with SuperSU (to mount system-wide) that has potential (--mount-master might be done with dirty tricks). Maybe i should update SuperSU or try a different approach just to make sure.

Scrolling you say. Maybe this is mdss issue. Maybe I should revert all mdss changes. Except some fixes like brightness. I don't like mdss code at what state it is now anyway.
I don't think CIFS or SuperSU is involved here. You can try to remove SuperSU and try it with ordinary su and mount. Who knows maybe it can cause some troubles.
Anyone else have crashes?
 
Last edited:
  • Like
Reactions: DualJoe

DualJoe

Senior Member
Oct 12, 2011
2,194
1,095
de
You can try to remove SuperSU and try it with ordinary su and mount.
I would have done that immediately if it would have been possible. Proper mounting never worked for me even though CM included a fix long time ago (restricted slave mountspace).
But on another try 5 minutes ago it did finally work properly out of the box indeed so i will drop --mount-master of course. If it doesn't change anything i will test omitting CIFS completely.

There were some people reporting similar crashes but i don't think they've done the same stuff i do with CIFS. We will see...

MDSS could be a good point either. When the screen freezes and goes dark you can notice some white horizontal lines on screen (a proper shutdown doesn't show this behavior). That somehow always reminds me on initialization phase on bootup right before the bootanim starts. There, the screen sometimes comes up with a 50% screen filled cyan flicker. But who knows, that's just a wild guess so far...
 
Last edited:

DualJoe

Senior Member
Oct 12, 2011
2,194
1,095
de
I think i've found the cause for the audio lag. It seems to be MX Player itself on H/W+ mode only. Using H/W mode seems to work properly. The H/W+ mode can amplify the volume up to 200% so i guess the '+' means they are additionally preprocessing the streams that causes the lag. Pffff.....

Btw, i tested CM screen recording ('screenrecord' binary). It works wonderfully (nearly no lag or frame drops). It just needs some extensive bitrate for pristine quality (i've picked 32Mbit/s) as its AVC/Baseline@L4.2 only.

Edit: Is it just me or is the 'clock' not working (fc) in landscape mode?
 
Last edited:

solk2

Senior Member
Jun 1, 2013
500
611
I think i've found the cause for the audio lag. It seems to be MX Player itself on H/W+ mode only. Using H/W mode seems to work properly. The H/W+ mode can amplify the volume up to 200% so i guess the '+' means they are additionally preprocessing the streams that causes the lag. Pffff.....

Btw, i tested CM screen recording ('screenrecord' binary). It works wonderfully (nearly no lag or frame drops). It just needs some extensive bitrate for pristine quality (i've picked 32Mbit/s) as its AVC/Baseline@L4.2 only.

Edit: Is it just me or is the 'clock' not working (fc) in landscape mode?

Hm. So it looks like theirs audio preprocessing. Maybe coz of qc sound effects.
There is patch commited yesterday for clock.
Found a fix for blue screen beam and iommu page faults for now. Will look more in mdss code.
 
  • Like
Reactions: DualJoe

ode_

Senior Member
Aug 19, 2014
200
67
@solk2, is there some place where I can leave proposal for new CM feature?

I'm missing one Jolla feature, temporarily lock screen rotation.
On Jolla it work by tap and hold screen while rotating phone, keeps current screen positioning until rotating again, this would be nice feature on Android too.
 

DualJoe

Senior Member
Oct 12, 2011
2,194
1,095
de
At least good to know there are others who also have the crashes so it shouldn't be an isolated problem on my side.
Full dmesg is running. I hope it gets synced before crash and leads to some useful informations.

Will report back...
 

solk2

Senior Member
Jun 1, 2013
500
611
At least good to know there are others who also have the crashes so it shouldn't be an isolated problem on my side.
Full dmesg is running. I hope it gets synced before crash and leads to some useful informations.

Will report back...

Damn. I forgot completely that I've update EGL libs in my home builds. Maybe thats EGL. Then it would explain why I don't have these reboots. But anyway I am reworking mdss driver currently. And have some updates in current build thats could be a reason too. And as I understand phone crashes only when frames is updated on screen.
 

davidl1983

Senior Member
May 10, 2009
262
80
Yeah, it must be something you changed not too long ago. I did not experience the reboots the first weeks I used the rom.
 
  • Like
Reactions: DualJoe

kornelius1982

Senior Member
Dec 6, 2012
1,263
352
41
Tbilisi
www.overclockers.ge
Hi all, I want to buy this device and want to know how`s CM11 working on it?
Is it stable enough for daily usage?
Are there any device maintainers to proceed further development of CM?

Thanks in advance for any helpful replies!
 

davidl1983

Senior Member
May 10, 2009
262
80
I have found the official CM to be stable for daily use and a great rom. Right now the newest dailies are not completly stable. Some code got changed that caused random reboots.

There is also another unofficial CM made by arter97 ( which I am using while waiting for the problems to be solved with the official one.) It is completly stable. He has uploaded a working lollipop CM, which is not yet good enough to be a daily driver, but shows promise.
 
  • Like
Reactions: kornelius1982

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    /* Info */

    Portion of CyanogenMod to Galaxy S4 LTE-A (GT-I9506).
    This ROM is based on Galaxy Note 3(hlte)'s CyanogenMod.
    For more info, visit http://www.cyanogenmod.org

    /* Disclaimer */

    Your warranty is now void.
    I am not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this ROM
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.

    /* Supported device */

    Galaxy S4 LTE-A (International) (GT-I9506, ks01lte)

    /* Unsupported device */

    Galaxy S4 LTE-A SK (SHV-E330S, ks01lteskt) (untested)
    Galaxy S4 LTE-A KT (SHV-E330K, ks01ltektt) (untested)
    Galaxy S4 WITHOUT Snapdragon 800 SoC

    /* Known issues */

    Users report some issues with BT keyboards.
    systemui crashes with 4.2.2 bootloader or modem. No keymaster.mdt in firmware partition. FIX:
    1. Update bootloader and modem to stock 4.3 first or use workaround from this post 58 OR
    2. Use fix from post 90 OR
    3. Download and install this file in recovery.

    /* What you need to know */

    This is an official portion of CyanogenMod
    'Opensource' does not mean 'no-respect'
    Leave credits to original developers
    This is only tested on
    - GT-I9506 coming from stock Android 4.4.2 KK
    Other variants, other OS may not be fully compatible

    /* Thanks to */

    Whole CyanogenMod Team.
    @arter97
    Temasek for work on hltes kernel.

    /* Contact */

    Email : solk.kulikov@gmail.com

    /* Downloads */
    WARNING: User builds don't have root.

    CM kernel:
    userdebug build:
    cm-11-20140918-SNAPSHOT-M10-ks01lte.zip
    Google drive
    MD5: b0da91137da2c4411f1d860285e2fcbe

    user build:
    cm-11-SNAPSHOT-M10-user-ks01lte.zip
    Google drive
    MD5: 578ba3b39cba727d7c81bbb624667156

    Temasek kernel not support from now. Don't have time to maintain two kernels at once.

    Please mirror.

    /* Installation */

    1. Install ClockworkMod(or PhilZ) recovery
    2. Put ROM and Gapps on you SD card
    3. Enter recovery and do a factory reset
    4. Flash ROM and Gapps in order

    /* Sources */

    Device tree: GitHub
    Kernel: GitHub

    /* Donations */
    If you appritiate my work and want to donate. Here is the link to PayPal

    XDA:DevDB Information
    CyanogenMod 11.0 for Galaxy S4 LTE-A (GT-I9506), ROM for the Samsung Galaxy S 4

    Contributors
    solk2
    Source Code: https://github.com/solk2/android_device_samsung_ks01lte

    ROM OS Version: 4.4.x KitKat
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Device must be rooted and CWM-based recovery installed
    Based On: CyanogenMod

    Version Information
    Status: Beta
    Current Beta Version: SNAPSHOT-M10
    Beta Release Date: 2014-09-18

    Created 2014-05-30
    Last Updated 2014-12-30
    16
    Going official. Device included today in cm upstream.
    10
    Reserved

    Changelog:

    20140918:
    Added back Qualcomm audio effects.
    Updated GL libs.
    init: Removed cpu sync parameters.
    init: Added back mpdecision.
    init: Added back serial for usb.
    msm: mdss: Properly init panel and leave splash mode.
    Improved battery life.
    Use Widevine L3, fix DRM playback
    Clean up RIL class.
    Fixed Smart Cover.
    Fix sensorhub sensors not turned on and off while (un)locking.

    20140907:
    Fixed calls recordings.

    20140828:
    Removed mpdecision in favor of simple_plug.
    Updated mount options to increase performance.
    Added sensorhubservice.
    Fixed CIFS mounting without unc option.

    20140822:
    Fixed reboot on A2DP connect.

    20140820:
    Updated EGL libs.

    20140819:
    Readded BT FW prepatch. This prevents WiFi hangs.
    Tunned acdbs according to stock ROM.

    20140818:
    Fixed reboots caused by incorrectd acdb for BT.

    20140815:
    Fixed adsp crash on outgoing call thru BT.

    20140814:
    Added gamma controls.
    Added glove mode controls.
    Gone moduleless.
    Fixed reboot coz of adsp subsystem crash.

    20140808:
    Use opensource rild.
    Update libmmjpeg, libmmjpeg_interface to SHVs one.
    Adjusted headphones detection voltages.

    20140807:
    Fully updated to samsung 4.4.2 binary blobs (except libmmjpeg).
    Updated MHL (HDMI) drivers.
    Added F2FS support.
    Added CIFS support.

    20140723:
    Updated mdss.
    bluetooth: Wait until no TXDATA or timer expires.

    20140722:
    Fixed kernel panic when brightness set to manual.

    20140717:
    Use hardware audio effects.

    20140715:
    [Hack] Fix for Smart Remote by colortiger.
    Use hardware aac codec

    20140714:
    Update mpdecision and libqc-opt.
    Update adreno to qdevnet 24 June 14 KOT49H
    Pulled back bcm4335 prepatch. This fix some WiFi hangs on BT on/off switches.
    Fixed date/time before network startup.

    20140711:
    Fixed bluetooth crash in l2cap_build_cmd() with small MTU

    *20140709:
    Fixed hangouts mic.

    20140709: Fixed hangouts mic.

    20140707: Optimized panel init/uninit.

    20140706: Fixes in temaseks adreno driver.

    20140704: Update WiFi Firmware and NVRAM.

    20140703: Changed power HAL extension to use background pthread for robust
    wake up.

    20140701: Update adreno binary blobs.
    Update bluetooth config.

    20140625: Update libril.

    20140623: Set up update server for automatic updates.
    Switched to HLTE's camera blobs.
    Reverted to HLTE's GPS HAL.

    20140618: Reverted to stable/cm-11.0 branch. Coz latest updates made Phone dialpad UI unusable.
    Switched to opensource ril-daemon.
    Added ISO modes to camera.
    Updated GPS HAL.
    Temasek updated to 3.72.

    20140613: Probably min freq is fixed.
    Fixed stereo mic recording volume without need of maxing mixers to max.
    Lowered recording volume.

    20140611: Update mpdecision from LG G2. Looks like working better. Hope this will fix min freq bug.

    20140609: Maxed stereo recording mic mixers for audio recording.
    Updated build fingerprints and model property.

    20140606 Testing: Some audio fixes.
    Temasek kernel with more governors. And min frequency fixed.

    20140603: Audio fixes. Fixed crunkle in some scenarios like playing music and notifications at the same time.

    20140602: Change mpdecision to i9500 ones. Looks it sets back min_cpufreq to 300Mhz.
    Modified init scripts to set min_cpufreq to 300Mhz.

    20140601: Fixed headphones not detected.
    Update geofence libs from SHV 4.4.2 ROM.
    Fixed sip calls audio.
    6
    Uploaded new build. I hope that frequencies now fixed. Please test and report.
    If everything will be fine i'll start woking on battery life and camera.
    5
    Wait for 20141203 and test that. Should be up in some hours.
    Reboots not fully fixed there too. Found that mmc caching is broken too. Had reboot when trying to access installed app. Will fix it tomorrow.