Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

FXP Team Delivers Lollipop to Various Xperia Devices!

From all of us here at XDA-Developers, we’d like to wish you Happy Holidays! If … more

Turn Your Camera Into a Live Puzzle Game

The classic sliding puzzle game hasnt changed much, if at all, over the years. Dating all the way … more

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

Slight clarification for DEV's trying to port CM

OP lgstoian

29th January 2013, 03:28 PM   |  #1  
lgstoian's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 114
 
346 posts
Join Date:Joined: Mar 2010
More
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 !
29th January 2013, 03:34 PM   |  #2  
Marco Lomas's Avatar
Senior Member
Thanks Meter: 186
 
696 posts
Join Date:Joined: Feb 2012
More
Re: Slight clarification for DEV's trying to port CM
Quote:
Originally Posted by lgstoian

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
29th January 2013, 03:39 PM   |  #3  
Le_Poilu's Avatar
Senior Member
Thanks Meter: 69
 
214 posts
Join Date:Joined: Dec 2010
More
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...
29th January 2013, 03:58 PM   |  #4  
lgstoian's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 114
 
346 posts
Join Date:Joined: Mar 2010
More
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.
29th January 2013, 04:06 PM   |  #5  
hiemanshu's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 1,015
 
471 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by lgstoian

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.
29th January 2013, 04:11 PM   |  #6  
Le_Poilu's Avatar
Senior Member
Thanks Meter: 69
 
214 posts
Join Date:Joined: Dec 2010
More
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: [ View ]
30th January 2013, 02:41 PM   |  #7  
Senior Member
Flag Mainz
Thanks Meter: 14
 
143 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by lgstoian

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.
31st January 2013, 08:08 AM   |  #8  
Senior Member
Thanks Meter: 199
 
725 posts
Join Date:Joined: Aug 2008
Quote:
Originally Posted by lord0815


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: [ View ]
21st February 2013, 10:32 PM   |  #9  
mo976's Avatar
Senior Member
Flag Jerusalem Israel
Thanks Meter: 551
 
881 posts
Join Date:Joined: Jun 2008
More
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.
Last edited by mo976; 21st February 2013 at 10:40 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes