[Q&A] [ROM] CM 11 ( Android 4.4.4 ) for Atrix (BigPart)

DuM4ll3

Member
Mar 23, 2014
23
4
0
Hahaha

C'mon guys, I just wanna know if it works.
A feedback would be appreciated.

Just in case ... :p

Sent from my MB860 using XDA Free mobile app
 

jmrunge

New member
Mar 19, 2015
2
3
0
Help to develop kernel offered

Hi,
Despite this is my first post, I've been reading XDA for almost two years now. But I didnt had an answer to ask or something brillant to share... :)
Until now! Im so in love with my KitKat Atrix that I really feel the need to get involved and make it better. I've been writing software for the past 15 years, but most of it enterprise software. Never got into a kernel before. But I really want to start now, and would like if someone, @PolesApart maybe, would kindly lead me to some reading to get started and to the sources of this beautiful kernel. I would like to focus in getting HDMI mirroring to work in KitKat for the Atrix 4G. @epinter got it working on CM 10. I dont know if this would be a good start, but feel like it may be.

What do you think? Could someone give me some guidance in this?

Thanks in advance!
 

PolesApart

Senior Member
Nov 20, 2012
303
724
0
Rio do Sul, SC
Hi,
Despite this is my first post, I've been reading XDA for almost two years now. But I didnt had an answer to ask or something brillant to share... :)
Until now! Im so in love with my KitKat Atrix that I really feel the need to get involved and make it better. I've been writing software for the past 15 years, but most of it enterprise software. Never got into a kernel before. But I really want to start now, and would like if someone, @PolesApart maybe, would kindly lead me to some reading to get started and to the sources of this beautiful kernel. I would like to focus in getting HDMI mirroring to work in KitKat for the Atrix 4G. @epinter got it working on CM 10. I dont know if this would be a good start, but feel like it may be.

What do you think? Could someone give me some guidance in this?

Thanks in advance!
Let's see:


Don't be discouraged by lack of kernel background. I have some but have contributed quite less than others which only started to work on kernel code on android ports. My knowledge was a little rusty anyway, linux kernel specifics changes a lot over the years. But the theory is always the same: read about kernel vs user address spaces and syscalls and you'll have a basic understanding on how the kernel code works. If you're experienced on developing highly concurrent user programs (i.e. those with lots of threads and debugging nightmares) you'll find similar constructs in the kernel, only very very harder to debug and having strict semantics. For instance, on user mode programs you can make some bad decisions and get away with it, but on the kernel, those affects overall usability.

Good luck!
 
  • Like
Reactions: Mustkeg and jmrunge

krystianp

Senior Member
May 14, 2012
705
11,807
93
Rzeszow
Hi,
Despite this is my first post, I've been reading XDA for almost two years now. But I didnt had an answer to ask or something brillant to share... :)
Until now! Im so in love with my KitKat Atrix that I really feel the need to get involved and make it better. I've been writing software for the past 15 years, but most of it enterprise software. Never got into a kernel before. But I really want to start now, and would like if someone, @PolesApart maybe, would kindly lead me to some reading to get started and to the sources of this beautiful kernel. I would like to focus in getting HDMI mirroring to work in KitKat for the Atrix 4G. @epinter got it working on CM 10. I dont know if this would be a good start, but feel like it may be.

What do you think? Could someone give me some guidance in this?

Thanks in advance!
HDMI in kernel is working. Our problem is only is related to missing services to handle it. I have working ExtDispService only missing is PortalService. I'm currently working on it, so it should be functional soon. But there's plenty of stuff to implement and fix both in android port and kernel.
 
  • Like
Reactions: Mustkeg and jmrunge

jmrunge

New member
Mar 19, 2015
2
3
0
Thanks boys!

Let's see:

  • The kernel sources: my branch [...] which forks from [...]
  • You need to look around for tutorials on compiling kernels for android and repacking ramdisks. I can send you the script I use to repack but you'll have to tune it (or rewrite if you're not using linux). Even better,I'll upload it to github.
  • As for HDMI, I didn't even look at it. But on the kernel thread @krystianp is working on it.

Don't be discouraged by lack of kernel background. I have some but have contributed quite less than others which only started to work on kernel code on android ports. My knowledge was a little rusty anyway, linux kernel specifics changes a lot over the years. But the theory is always the same: read about kernel vs user address spaces and syscalls and you'll have a basic understanding on how the kernel code works. If you're experienced on developing highly concurrent user programs (i.e. those with lots of threads and debugging nightmares) you'll find similar constructs in the kernel, only very very harder to debug and having strict semantics. For instance, on user mode programs you can make some bad decisions and get away with it, but on the kernel, those affects overall usability.

Good luck!
Thanks @PolesApart! I will start looking at this repos to get familiar with the code. Im on linux so your script will be more than handy! Will look for it in your github repos. Any recommended tutorial to start with?

HDMI in kernel is working. Our problem is only is related to missing services to handle it. I have working ExtDispService only missing is PortalService. I'm currently working on it, so it should be functional soon. But there's plenty of stuff to implement and fix both in android port and kernel.
Thanks @krystianp! I guess your work is on main kernel repo, not specific for Atrix... or not? Perhaps I could start looking at how to port it to @PolesApart KitKat kernel for Atrix. Or do you recommend me to start looking at another issue on main kernel?

Kind Regards to both of you! I hope you will get something from me for the kernel in the next weeks... ;)
 

krystianp

Senior Member
May 14, 2012
705
11,807
93
Rzeszow
Thanks @krystianp! I guess your work is on main kernel repo, not specific for Atrix... or not? Perhaps I could start looking at how to port it to @PolesApart KitKat kernel for Atrix. Or do you recommend me to start looking at another issue on main kernel?

@PolesApart kernel is based on our main kernel. I was absent for couple of months and he took it where I ended. So rom dev's followed him. I merged pull requests that were awaiting for couple of months so our repos are not so different by now. I also took liberty to merge all what was left to merge (on PolesApart stable kitkat branch) in my private repo that I now use as base for development. So... concluding our kernels both are for the same device. Btw. I'm not an expert in kernel development. I'm pretty sure I know less about kernel internals than PolesApart, I might know some more about Atrix specific kernel parts but I started with it just like you from minimal kernel knowledge, slowly testing, fixing, breaking, testing, publishing etc. ;)
 

jmrunge

New member
Mar 19, 2015
2
3
0
@PolesApart kernel is based on our main kernel. I was absent for couple of months and he took it where I ended. So rom dev's followed him. I merged pull requests that were awaiting for couple of months so our repos are not so different by now. I also took liberty to merge all what was left to merge (on PolesApart stable kitkat branch) in my private repo that I now use as base for development. So... concluding our kernels both are for the same device. Btw. I'm not an expert in kernel development. I'm pretty sure I know less about kernel internals than PolesApart, I might know some more about Atrix specific kernel parts but I started with it just like you from minimal kernel knowledge, slowly testing, fixing, breaking, testing, publishing etc. ;)
Thanks for the info! I thought you'll be developing on main kernel. So, the question now is... which branch do I fork to start looking at? Yours or @PolesApart (in case yours is public)? Do you think we could have a main repo for Atrix 4G 3.1 kernel and each work on his fork, making pull requests as a team? Or this already exists and I just dont know about it... Sorry for so much asking, but I'm a little confused with all this forks and branches... :eek:

Thanks again for taking the time to answer me!

Kind regards,
 
  • Like
Reactions: iTaisHi

krystianp

Senior Member
May 14, 2012
705
11,807
93
Rzeszow
Thanks for the info! I thought you'll be developing on main kernel. So, the question now is... which branch do I fork to start looking at? Yours or @PolesApart (in case yours is public)? Do you think we could have a main repo for Atrix 4G 3.1 kernel and each work on his fork, making pull requests as a team? Or this already exists and I just dont know about it... Sorry for so much asking, but I'm a little confused with all this forks and branches... :eek:

Thanks again for taking the time to answer me!

Kind regards,
Official was/is https://github.com/CyanogenMod-Atrix/ but since I was absent it wasn't updated. So PolesApart forked it and started his own build. I will focus on hardware issues since it's what I was doing before. I'm suspecting PolesApart will also help in that department. I think at start it's best to make your own fork, cherry pick commits that you like, prepare your own and do pull requests if when needed.
 
  • Like
Reactions: iTaisHi

PolesApart

Senior Member
Nov 20, 2012
303
724
0
Rio do Sul, SC
I'll help whenever I can, which probably means "not soon enough" right now, as work is killing me. But I've uploaded the script to my repo on atrix subdir on kernel images. I think it'll be more productive for you to only get the script (you can do that from github page to avoid downloading the entire repository) and fork straight from the repository krystianp pointed you at, as krystianp will probably be posting more than I'll.

As for kernel building tutorials, you can find several online, like this and this.

After you build a kernel you'll have to learn how to reassemble ramdisks, there are better methods out there other than the script I posted, which is kind of crude.

Enjoy :D
 

leesangjun

New member
Mar 28, 2015
0
0
0
tv with hdmi port is not connected

Thank you to be able to use the Kit Kat in artix.
The inquiry thus has caused.
tv with hdmi port is not connected.
Please inform us about how you can connect the hdmi.
Thank you.
 

ezyang

New member
Feb 9, 2011
4
0
0
gapps trouble

Like others, I have been having trouble installing gapps with this ROM. The error message is:

Code:
E:Error in /emmc/gapps-kk-20140105-signed.zip
(Status 0)
Installation aborted.
I've tried both gapps-kk-20140105-signed.zip and gapps-kk-20140606-signed.zip (which I believe are the most recent gapps), and tried using both the BigPart recovery image and the most recent, stock, non-touch ClockworkMod recovery image. I've also tried reinstalling the image from scratch after clearing Dalvik, cache and data and reformatting system, preinstall and osh.

Do these install logs get dumped anywhere? If someone gives me a path I can paste it in.
 

palmbeach05

Senior Member
Oct 12, 2012
4,292
1,796
243
Like others, I have been having trouble installing gapps with this ROM. The error message is:

Code:
E:Error in /emmc/gapps-kk-20140105-signed.zip
(Status 0)
Installation aborted.
I've tried both gapps-kk-20140105-signed.zip and gapps-kk-20140606-signed.zip (which I believe are the most recent gapps), and tried using both the BigPart recovery image and the most recent, stock, non-touch ClockworkMod recovery image. I've also tried reinstalling the image from scratch after clearing Dalvik, cache and data and reformatting system, preinstall and osh.

Do these install logs get dumped anywhere? If someone gives me a path I can paste it in.
So basically you used the normal partition based CWM (the non touch you referred to) on the bigpart setup. Why would you do this when normal is not bigpart?

Sent from my ATRIX HD using XDA Free mobile app