• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][Unofficial][WIP]CM 13.0 for jactivelte (development ended)

spegelius

Senior Member
Mar 29, 2011
779
1,443
0
Oulu
Introduction
Work in progress CyanogenMod 13.0 for jactivelte (Samsung Galaxy S 4 Active I9295). I maintain this as well i can afford time to so so, so don't expect perfect rom anytime soon. Development ended

Code:
/*
 * Your warranty is now void.
 *
 * I'm 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.
 *
 */
Features
Luuk up CyanogenMod 13.0 in the net. This ROM is just a build of current CM13 sources, with support added for jactivelte. In future, optimizations might be added.

Bugs
A lot, probably. But what i know:
  • no SIM detected
  • exfat sdcard support seems to be broken
  • camera is probably as broken as it is with CM12.1
  • other stuff? You tell me

Release notes

20151223
  • first build

Downloads
https://drive.google.com/folderview?id=0BzJzDM42pkRvOG1aZ2lxTVpyUHc&usp=sharing

XDA:DevDB Information
CM13.0, ROM for the Samsung Galaxy S 4 Active

Contributors
spegelius
Source Code: https://github.com/spegelius

ROM OS Version: 6.0.x Marshmallow

Version Information
Status: No Longer Updated

Created 2015-12-24
Last Updated 2016-04-27
 
Last edited:

mythi

Elite Member
Mar 1, 2013
1,429
2,012
0
Amman
Nice to see someone still interseted with this ! wish i could test it but having my phones digitizer dead , i cant taste marshmallow yet :(
 

moviecut

Senior Member
May 26, 2010
678
240
0
Lingen
Just for understanding: why is sim and exfat broken? Couldnt we use the s4 source-tree as the hardware is identical in most parts? Or is it broken, too? Sorry, maybe a am thinking too simple as a am no developer ;)

Gesendet von meinem GT-I9295 mit Tapatalk
 

spegelius

Senior Member
Mar 29, 2011
779
1,443
0
Oulu
Just for understanding: why is sim and exfat broken? Couldnt we use the s4 source-tree as the hardware is identical in most parts? Or is it broken, too? Sorry, maybe a am thinking too simple as a am no developer ;)

Gesendet von meinem GT-I9295 mit Tapatalk
Source tree and vendor props are same as in regular S4, which makes me think that maybe jactive's bootloader or modem is somehow different... i'm flashing newest Samsung rom to see if updating modems and whatever else helps with that. If not, then use ril stuff from CM12.1.

As for exfat, maybe it's not implemented yet? I think this was the case with CM12 also, exfat took some time to get implemented as it needs extra libs and packages.
 

moviecut

Senior Member
May 26, 2010
678
240
0
Lingen
Did someone already tried to flash a modem for s4? How high are the chances, that it will brick a s4 active? ;) Maybe that is the key to a working sim?

Gesendet von meinem GT-I9295 mit Tapatalk
 

spegelius

Senior Member
Mar 29, 2011
779
1,443
0
Oulu
Did someone already tried to flash a modem for s4? How high are the chances, that it will brick a s4 active? ;) Maybe that is the key to a working sim?

Gesendet von meinem GT-I9295 mit Tapatalk
I tried flashing S4 modems at some point, like a year ago and as i recall, it's not even possible to flash them. Some kind of checksum fails and flashing fails before actually flashing the file. This was with Heimdall so i don't know what Odin does. If the checksum check is done on receiving end, then it doesn't matter what flasher is used.

Edit: oh and i flashed latest available Samsung rom, I9295XXUDOI5_I9295TIMDOI1_TIM.zip. No change with CM13 RIL, no SIM detected. But ran into problems with TWRP, it started failing due to selinux declining recovery access to lots of things, had to compile new TWRP with selinux in permissive mode...
I also reverted some vendor blobs to CM12.1 state, but no help. I took a logcat and noticed that selinux was denying access to binaries related to RIL... needs more investigation.
 
Last edited:

spegelius

Senior Member
Mar 29, 2011
779
1,443
0
Oulu
Downgraded to OB4, at least i think i did. I flashed aboot.mbn, modem.bin, NON-HLOS.bin, rpm.mbn, sbl1.mbn, sbl2.mbn, sbl3.mbn and tz.mbn (sbl1.mbn is from NK4 rom as OB4 doesn't have that file). No change, my phone simply refuses to boot all of the CM13 builds because selinux denies stuff. On the other hand, CM12.1 and SlimLP beta 10 work fine, so something weird is going on with CM13...

I did manage to hack round it by adding more options for installd to sepolicy, but i feel that this is something shouldn't need to do. I'm going to revert /data back to ext4, hopefully it's just unfinished support for f2fs in CM13. If so, i'll stick with ext4, f2fs has brought only more trouble so far than any improvements.

I also managed to debug RIL problem, first it was missing vendor props and after that some permission problem, might be related to above problem with my phone...
 

Lahiru xda

Senior Member
Dec 23, 2014
74
23
0
the major issue is no sim detected of course thats a big deal for everyone. wifi works fine browsing youtube ok. NFC never used in my s4 active so dont know. if sim card detected i will definetly used as my daily driver battery life seems good when compare with the cm12.1 officials. BIG THANKS TO THE spegelius still looking for the s4 active. thanksssssssss
 
  • Like
Reactions: FORC3

sartana

Senior Member
Apr 3, 2009
163
32
0
Florence
My external sd it's not detected, or better, cannot mount.
I think that this cause some problem whit apps like music or file manager that are stucked and don't run. Others app work fine.

Send from somewhere... or not?
 

spegelius

Senior Member
Mar 29, 2011
779
1,443
0
Oulu
Alright, ril problem figured out: selinux denies access to qmux radio socket. Fixed it by setting selinux to permissive on boot for now (same as S4 CM13 i think), so take this into consideration, bad apps can do bad things possibly.

Uploading now:
cm-13.0-20160101_224952-UNOFFICIAL-jactivelte
  • set selinux to permissive mode
  • RIL should be working now
  • few minor tweaks added
  • repo synced 1.1.2016

Exfat still doesn't work, reason is that vold doesn't support exfat yet; but as CM development goes, features come at some point.
 

Lahiru xda

Senior Member
Dec 23, 2014
74
23
0
Wow latest buid looks to me OK LTE, cellular calls even my SD card detects. camera works flawless Setting menu crashed 1 time other than anything bugs didn't noticed so far in 3 hours. Thanks for great job spegelius
 
  • Like
Reactions: DeadRod