Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,248 Members 39,639 Now Online
XDA Developers Android and Mobile Development Forum

Slight clarification for DEV's trying to port CM

Tip us?
 
lgstoian
Old
#1  
lgstoian's Avatar
Senior Member - OP
Thanks Meter 114
Posts: 345
Join Date: Mar 2010
Location: Bucharest
Default Slight clarification for DEV's trying to port CM

THIS IS NOT A ARM DEVICE ! This is x86. Porting CM to this device would be an incredibly complex task as alot of CM code is ARM dependent. You are going about this the wrong way , these are two completely unrelated CPU architectures , you need to look at the Android X86 projects that are out there which I will link too at the end of the post.
ARM is vastly different from x86 and you can't run code designed for one on the other.
NO ROM for ARM will work on this , meaning no CM , no AOKP , no MiUi , and not even AOSP etc.
You need to work with the Android x86 sources provided by either Intel or the community x86 port.

Links :
http://www.android-x86.org
https://01.org/projects/android-intel-architecture
http://androvm.org/blog/

All these projects are FORKS of android highly modified to work on x86 !
Devices : Galaxy Tab 7 Plus ; Samsung Galaxy Note 2 ; FeiTeng H7100 ; Ulefone U692 ; Chinese Pebble Clone
 
Marco Lomas
Old
#2  
Marco Lomas's Avatar
Senior Member
Thanks Meter 169
Posts: 605
Join Date: Feb 2012
Default Re: Slight clarification for DEV's trying to port CM

Quote:
Originally Posted by lgstoian View Post
THIS IS NOT A ARM DEVICE ! This is x86. Porting CM to this device would be an incredibly complex task as alot of CM code is ARM dependent. You are going about this the wrong way , these are two completely unrelated CPU architectures , you need to look at the Android X86 projects that are out there which I will link too at the end of the post.
ARM is vastly different from x86 and you can't run code designed for one on the other.
NO ROM for ARM will work on this , meaning no CM , no AOKP , no MiUi , and not even AOSP etc.
You need to work with the Android x86 sources provided by either Intel or the community x86 port.

Links :
http://www.android-x86.org
https://01.org/projects/android-intel-architecture
http://androvm.org/blog/

All these projects are FORKS of android highly modified to work on x86 !
What about use a base of stock roms and make the things work??? I know Cm its for armv, but all its adaptable,

Enviado desde mi XT890 usando Tapatalk 2
 
Le_Poilu
Old
#3  
Le_Poilu's Avatar
Senior Member
Thanks Meter 63
Posts: 206
Join Date: Dec 2010
as for MIUI (there already is a MIUI port on the razr i, not complet I think, but it exist). MIUI is mostly a framework mod.. this is platerform independant AFAIK.

I don't think CM & Cie are so dependant of the SoC architecture. There's lot of différences between some ARM SoC .. maybe more than you can imagine. If CM can be adapt to so many device with so many ARM SoC witch a so différent, why not for a x86 Soc ?

I think you're a little bit pessimist here...
 
lgstoian
Old
#4  
lgstoian's Avatar
Senior Member - OP
Thanks Meter 114
Posts: 345
Join Date: Mar 2010
Location: Bucharest
I didn't say it's impossible but it's more complex then a normal port for an ARM device. The issue is it requires more knowledge on the issue and will eat far more time. A CM port to x86 is a very unlikely goal for a single dev , and I'm saying this because a few months ago I discussed this issue with the people behind Android x86.
So a talented DEV will be able to achieve this but it will take time and a bigger struggle , that's why to start of developing for this device it would be more reasonable to look at Android code already ported to x86.
Devices : Galaxy Tab 7 Plus ; Samsung Galaxy Note 2 ; FeiTeng H7100 ; Ulefone U692 ; Chinese Pebble Clone
 
hiemanshu
Old
#5  
hiemanshu's Avatar
Senior Member
Thanks Meter 1014
Posts: 471
Join Date: Feb 2012
Location: Bangalore

 
DONATE TO ME
Quote:
Originally Posted by lgstoian View Post
THIS IS NOT A ARM DEVICE ! This is x86. Porting CM to this device would be an incredibly complex task as alot of CM code is ARM dependent. You are going about this the wrong way , these are two completely unrelated CPU architectures , you need to look at the Android X86 projects that are out there which I will link too at the end of the post.
ARM is vastly different from x86 and you can't run code designed for one on the other.
NO ROM for ARM will work on this , meaning no CM , no AOKP , no MiUi , and not even AOSP etc.
You need to work with the Android x86 sources provided by either Intel or the community x86 port.

Links :
http://www.android-x86.org
https://01.org/projects/android-intel-architecture
http://androvm.org/blog/

All these projects are FORKS of android highly modified to work on x86 !
Sure there is some ARM dependent code in the repos but most of android doesn't really depend on the arch (like apps using the sdk dont need to be recompiled for working on the I, see play store apps). I have worked with o1 and android-x86 and there isn't really that much change from CM and android-x86, just some extra optimizations for x86 which can be added in later.
Do what you love and love what you do.

Like my work!? Donate to me
 
Le_Poilu
Old
#6  
Le_Poilu's Avatar
Senior Member
Thanks Meter 63
Posts: 206
Join Date: Dec 2010
There are plenty of device on where even custom rom seems to be impossible. mostly because of a locked bootloader.
Look at the Motorola Defy. At the beginning, the development of a custom rom like CM was pretty impossible.... but they did it. They did it so far that the Defy became one of must used device with Cyanogenmod. And you now the most astonishing? It's thanks to only 2 devs.

I think bypassing a locked bootloader like the Moto one is far more tricky than adapting a CM ROM to a x86 SoC (while the device is natively unlocked).

AFAIK, android-x86 project is not so close to the Android we have on our phone.

When you develop a custom rom you can either take the AOSP source and try to put it on your phone : the tricky way. Mainly when you don't have access to the source of the drivers (ARM or x86 .. same fight)
Or you can take the official rom and mod it to reach the AOSP/CM/MUI/etc level. And I think on most device it's the way to go (unless the manufacturer release all the source code of the device.... something that never appends).
The Following 2 Users Say Thank You to Le_Poilu For This Useful Post: [ Click to Expand ]
 
lord0815
Old
#7  
Senior Member
Thanks Meter 14
Posts: 143
Join Date: Feb 2011
Location: Mainz
Quote:
Originally Posted by lgstoian View Post
THIS IS NOT A ARM DEVICE ! This is x86. Porting CM to this device would be an incredibly complex task as alot of CM code is ARM dependent. You are going about this the wrong way , these are two completely unrelated CPU architectures , you need to look at the Android X86 projects that are out there which I will link too at the end of the post.
ARM is vastly different from x86 and you can't run code designed for one on the other.
NO ROM for ARM will work on this , meaning no CM , no AOKP , no MiUi , and not even AOSP etc.
You need to work with the Android x86 sources provided by either Intel or the community x86 port.

Links :
http://www.android-x86.org
https://01.org/projects/android-intel-architecture
http://androvm.org/blog/

All these projects are FORKS of android highly modified to work on x86 !
You really know what you are talking about? As others already mentioned above CM is in most a framework - porting android to x86 seems to be not such a big gap as motorola did it already and for sure you can run android on your pc - do you own an arm pc (in this case i think an rasperry pi...). The toolchain remains the same so why you make such a story out of it? Are you a razr i owner or do you just want to frighten all razr i devs and owners awaiting a CM port??

ARM architecture is different in some points but most of the work will do the compiler and to be honest i think there will be some more x86 phones in the future, intel never developed it for one or two phones....

So what is your intention with this topic??

kind regards.
 
freak4dell
Old
#8  
Senior Member
Thanks Meter 184
Posts: 711
Join Date: Aug 2008
Quote:
Originally Posted by lord0815 View Post

So what is your intention with this topic??
That's what I'm wondering. Any dev that's taking on this task obviously knows it's going to take a bit of extra work. It would have been different had the OP offered some help and advice, but he just posted the obvious while making it seem like a bigger deal than it is (at least I'm guessing it's not as big a deal as he makes it seem, considering the other posts in this thread). Nothing but fear mongering and pessimism at this point. Sure, we will have to wait a bit for the devs to figure things out, but I know enough of them picked up this phone that something will eventually come. Plus, there seems to be a bit of dev interest in the Intel Yolo as well.
The Following User Says Thank You to freak4dell For This Useful Post: [ Click to Expand ]
 
mo976
Old
(Last edited by mo976; 21st February 2013 at 09:40 PM.)
#9  
mo976's Avatar
Senior Member
Thanks Meter 173
Posts: 627
Join Date: Jun 2008
Location: Jerusalem Israel
I don't know much about porting or developing and getting cm to run with all the necesary source and drivers is probably not easy but I do know that one of the basic options when running the build/make command for AOSP and CM is an x86 build for emulation. So basic x86 infrastructure exists does that ensure compatibility with this phone maybe not but it might help and certainly it would still require SOC and device optimization drivers but its probably the better place to start then tackling trying to port ARM based code and drivers.
However in the meantime my thinking is maybe a CM style rom could be achieved by first stripping down the rom making it "blurless" and then porting CM features especially since the latest Moto ROM's are comparatively closer to stock then sense or touchwiz. Of course I don't have the phone yet its in England waiting to be brought to me.
Always read lots post little

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more

Remote Control Your Android Device with Monitordroid

The Android OS showsgreat potential in many areas. One of most interesting things that … more

Intel Partners with Unity to Support Android on Intel-Based Devices

Intel, largely known for their long-standing reputation as the king of … more

Device Review: Samsung Gear Live

Recently, Google announced Android Wear to the world. Android Wear is the Android-based initiative from … more