Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ROM][Official Nightly][Android 4.4] CyanogenMod 11.0 for SGS4A (int'l)

OP snadge

23rd February 2014, 04:37 AM   |  #1  
OP Member
Thanks Meter: 44
 
39 posts
Join Date:Joined: Dec 2009
Note:

This thread started as a discussion for development of a working CM11.0 / KitKat build for GT-I9295 / S4 Active International. At first, with assistance from a CM dev who wishes to remain unnamed and does not want involvement with this, a build was produced for this device, based on work previously done by LeJay on CM10.2. Unfortunately, I have not been able to contact LeJay, which is the primary motivation for starting this thread. Since then, and in a short space of time, xda user @spegelius, has managed to progress this to a fully functional build, which some users are already using as a daily driver.

After much hard work from pretty much everyone except me, it pleases me to write that this device has reached official status, and as such one can obtain nightly builds, updates, and source code, from the official CyanogenMod sources. Congratulations to all involved, and the effort thats been put in to make this happen.

Instructions:

1. Install CWM recovery from TODO: link official CWM here
2. Download the latest official nightly from: http://download.cyanogenmod.org/?device=jactivelte

Left for historic purposes (older pre-official builds): Credit: spegelius: https://drive.google.com/folderview?...1E&usp=sharing

3. Download CM11.0 gapps from here
4. Boot into recovery by holding the Volume Up button as the phone is booting.
5. Back up your current ROM inside CWM recovery.
6. Flash CyanogenMod ROM to your device using CWM recovery.
7. Flash Google Applications to your device using CWM recovery.
8. Do a wipe data/factory reset from within CWM recovery.
9. Reboot system.

Known Issues:

1. None that I'm currently aware of.
2. Report them. Keeping this part up to date has proven to never actually happen, so maybe just read through the entire thread. Convenient right?

Build from source:

Please consult this guide for setting up CyanogenMod for compile.
Please use
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
when you initialize the CyanogenMod repository so you get the source for CM-11.0.

Run 'repo sync' and compile with 'brunch jactivelte'. Proprietary files you can find on github, or extract them from an existing rom.

This is pretty much a word for word ripoff of LeJay's cm 10.2 post. This is where one would say something like, I take no responsibility if your device explodes, catches fire, invades a foreign nation, causes your cat to get run over by a car, etc.

Thanks goes to LeJay for being pretty much the sole reason a thread was created for this device on XDA, and in turn the people he gave thanks to, primarily the CM team. Additional thanks, of course, goes to spegelius, for running with this thread, and creating something that actually works.
Last edited by snadge; 24th September 2014 at 12:26 PM. Reason: official nightly status (correction)
The Following 32 Users Say Thank You to snadge For This Useful Post: [ View ]
23rd February 2014, 04:39 AM   |  #2  
OP Member
Thanks Meter: 44
 
39 posts
Join Date:Joined: Dec 2009
Downloads here:
** TODO **
Last edited by snadge; 23rd February 2014 at 04:48 AM. Reason: todo
23rd February 2014, 04:42 AM   |  #3  
OP Member
Thanks Meter: 44
 
39 posts
Join Date:Joined: Dec 2009
Changelog:
** TODO **
24th February 2014, 01:46 PM   |  #4  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Sep 2005
awesome! I look forward to a stable release
The Following User Says Thank You to x2pacx For This Useful Post: [ View ]
24th February 2014, 09:42 PM   |  #5  
Senior Member
Flag Oulu
Thanks Meter: 852
 
558 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Interesting, good to hear there's CM dev helping . I've been playing with the idea of trying to compile CM11 since i got AOSP 4.3 working as daily driver. I'm also using LeJay's work, without it i propably wouldn't even have strated hacking with Android. And i haven't heard from him either, i hope he is okay.
Anyways, my first idea was to try it with same jactiveltexx stuff as cm-10.2 is done and see how far that takes me, but if you have already done it and no display, it's possible that the kenel needs to be updated and newer graphics libs used. Luckily i've done some merging between S4 and S4 Active kernels and i already had a look at CM11 S4 kernel code. There are some changes in the graphics code, so there's a very good possibility to get those merged to Active kernel, to me it looks like S4 and S4 Active have same kernel, except for camera, some gpio stuff and assorted tidbits around the kernel. As for the graphics drivers, i think it should be possible to use libs from S4's CM11 build?

Gotta try this myself later this week
The Following 2 Users Say Thank You to spegelius For This Useful Post: [ View ]
25th February 2014, 01:54 PM   |  #6  
OP Member
Thanks Meter: 44
 
39 posts
Join Date:Joined: Dec 2009
Quote:
Originally Posted by spegelius

Anyways, my first idea was to try it with same jactiveltexx stuff as cm-10.2 is done and see how far that takes me, but if you have already done it and no display, it's possible that the kenel needs to be updated and newer graphics libs used. Luckily i've done some merging between S4 and S4 Active kernels and i already had a look at CM11 S4 kernel code. There are some changes in the graphics code, so there's a very good possibility to get those merged to Active kernel, to me it looks like S4 and S4 Active have same kernel, except for camera, some gpio stuff and assorted tidbits around the kernel. As for the graphics drivers, i think it should be possible to use libs from S4's CM11 build?

Gotta try this myself later this week

I have tried compiling the stock CM jf common kernel, with s4 active config. SurfaceFlinger fails to initialise EGL libs. I have tried porting LeJay's cm-10.2 active kernel to build on cm11.0, that also fails in the same way. It seems you' are right. The graphics updates for the other s4 devices likely need to be done for active as well, which may require some new props. Jftleatt's props might be worth look at for display props, same cpu/gpu, different lcd panel.. I'm using my phone as a daily, and haven't had much of a chance to test builds.
25th February 2014, 09:55 PM   |  #7  
emersonas's Avatar
Junior Member
London
Thanks Meter: 6
 
26 posts
Join Date:Joined: Nov 2010
More
When big boys does the taking we just wait for candies...

Sent from my GT-I9295 using Tapatalk
5th March 2014, 07:22 AM   |  #8  
nasaprinsloo's Avatar
Senior Member
Thanks Meter: 75
 
210 posts
Join Date:Joined: Aug 2012
More
I'm prepared to run it as a daily. If you can point me how to create logs for you

Sent from my GT-I9295 using xda app-developers app
5th March 2014, 02:16 PM   |  #9  
mythi's Avatar
Senior Member
Flag Amman
Thanks Meter: 1,812
 
1,371 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by nasaprinsloo

I'm prepared to run it as a daily. If you can point me how to create logs for you

Sent from my GT-I9295 using xda app-developers app

Only the bug is the camera ...there is no app as speligus said
5th March 2014, 05:05 PM   |  #10  
Senior Member
Flag Oulu
Thanks Meter: 852
 
558 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by nasaprinsloo

I'm prepared to run it as a daily. If you can point me how to create logs for you

Sent from my GT-I9295 using xda app-developers app

In case some other problem than missing Camera, adb logcat > file.txt and post it to pastebin for example.

I've been using this since yesterday evening and nothing has failed yet. Actually kinda expected, whole device tree and kernel is like 90% jfltexx. This would've been done faster if not for the few mistakes i amde during the development . But live and learn.

I'm gonna upload the kernel and final device tree changes to github later today.

Oh and i suggest to a clean wipe flash.

Edit: and the link, again... https://drive.google.com/folderview?...1E&usp=sharing
Last edited by spegelius; 5th March 2014 at 05:07 PM.
The Following 2 Users Say Thank You to spegelius For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
4.4, cm11, jactiveltexx, kitkat, sgs4a
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes