[DEV] Porting CM10.2/CM11 to i9506 [UPDATE 13.02.2014, KK open source files released]

faabak

Senior Member
May 15, 2013
125
78
0

We desperately need a custom ROM for this model as well, since it's taking over for the i9505, at least here in Norway and Germany. But i guess many other countries as well. My idea is to port a CM10.2/CM11 ROM for this, as the Samsung source files probably will be more compatible with that, than CM11 at the moment.

LATEST NEWS

- Samsung released the open source files for KK: http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=e330S_KK

- dridri85's CM11 testing - https://github.com/dridri/android_device_samsung_ks01lte
- dridri85's CWM 6.0.4.6 - http://forum.xda-developers.com/showthread.php?t=2613466
Big applause for him!! :)



ROOTING PROCEDURE:
http://forum.xda-developers.com/showthread.php?t=2529064


USEFUL INFORMATION:
Extracted from build.prop via ADB:
ro.product.manufacturer=samsung
ro.product.device=ks01lte
Porting CyanogenMod to your own Device: http://wiki.cyanogenmod.org/w/Doc:_porting_intro#Some_tips_on_porting_CyanogenMod_to_your_own_device
GSM Arena Phone Specs: http://www.gsmarena.com/samsung_i9506_galaxy_s4-5542.php
Samsung Open Source: http://opensource.samsung.com/ (search for i9506)
 
Last edited:

faabak

Senior Member
May 15, 2013
125
78
0
Sounds great - I was already thinking of selling I9506 and going for I9505. Hopefully this phone gets more attention soon! :mad:
Yeah, i was thinking the same, but here in Norway the i9505 is actually more expensive, even though it is older/slower! When i saw the CM Guide + that i have been building LX Optimus 4X HD ROM's lately using Github source, i thought i'd give it a try! :)

Hopefully more people will help!
 

sorg

Senior Member
Sep 5, 2006
1,049
1,136
143
台灣
I suggest to look into Note 3 (SD800 version) forum for CM availability and port it to I9506 if it exists. Basically, Note 3 and i9506 are the same devices.
You will save a lot of time if you port CM from Note 3.

P.S.: I'm happy with TouchWiz custom ROM and "hand-made" kernel. Never looked into CM possibility.
 

bluefa1con

Inactive Recognized Developer
Aug 9, 2011
3,161
9,211
0
i assume the note3 kernel would probably work with some modifications
i9506 doesnt have many devs so it would take a while
 
  • Like
Reactions: DeshTwo

faabak

Senior Member
May 15, 2013
125
78
0
i assume the note3 kernel would probably work with some modifications
i9506 doesnt have many devs so it would take a while
But what else do we have to modify than the Kernel? I found a Note 3 repository in CyanogenMod @ Github and forked it..
https://github.com/faabak/android_device_samsung_ks01lte
But i think it's missing some files.. Have changed the codename in the files to "ks01lte", but i guess it's more we have to do. Downloading CyanogenMod CM11 sources now on my Ubuntu machine..
 

xenix96

Senior Member
Dec 31, 2011
990
751
123
But what else do we have to modify than the Kernel? I found a Note 3 repository in CyanogenMod @ Github and forked it..
https://github.com/faabak/android_device_samsung_ks01lte
But i think it's missing some files.. Have changed the codename in the files to "ks01lte", but i guess it's more we have to do. Downloading CyanogenMod CM11 sources now on my Ubuntu machine..
You got a PM from me ... hope it helps you ;)

Sent from my GT-I9506 using XDA Premium 4 mobile app
 

dridri85

Member
Nov 12, 2010
33
46
0
Hi o/
I'm on it too, I've downloaded the kernel sources from Samsung's open source website so it should at least boot (even without modules like camera, bt, ..)
Currently the problem is that there are misconfigurations in their kernel resulting in undeclared/undefined errors, so it will take a bit longer than I expected to get a fully compiled ROM. Or maybe it's only because I'm trying to build CM11

btw, I have a ks01lteskt device, is it the "mainstream" one or do I have a special model ? Can you check too guys ? ^^
Edit : does removing TARGET_OTA_ASSERT_DEVICE is enough to let the recovery install it with a different device id ?
 
Last edited:

dridri85

Member
Nov 12, 2010
33
46
0
Compiled ! But I can't get it to work...

The Samsung logo show up, then it says that it is a custom kernel, then freezes a few seconds and reboot...
Any clue ?
 

dridri85

Member
Nov 12, 2010
33
46
0
I don't find the CM thread :laugh: There's too much things on xda


EDIT : I got CWM 6.0.4.6 working !! But system still won't boot...
 
Last edited:
  • Like
Reactions: DeshTwo

faabak

Senior Member
May 15, 2013
125
78
0
I don't find the CM thread :laugh: There's too much things on xda


EDIT : I got CWM 6.0.4.6 working !! But system still won't boot...
Wow, this is awesome.. If we can make this running, i hope it's OK for you if we use this thread for it, and i will add all the information, screenshots, version history, updates etc in the first post!

This is a big step anyway.. Have you been into github at all? Cause then you could perhaps make a repository there and more people can compile (including me, since i've compiled a lot lately)!

Also, perhaps it would be clever to post a topic here regarding the boot problems! :)
http://forum.cyanogenmod.com/forum/23-unofficial-ports/
 
Last edited:

dridri85

Member
Nov 12, 2010
33
46
0
Okay guys, got it working, I can boot CM 11 !!!

But there are still major problems : everything lag, the baseband is unkown, SIM card not recognized, wifi and bluetooth doesn't work, no audio at all xD

EDIT: baseband, RIL, SIM card and LTE network now works correctly ! :D
 
Last edited: