[Q] compile android on arm architecture? - Android Q&A, Help & Troubleshooting

Hey all looking at getting a dev board for use as a mini pc. Wondering can you compile android on arm hardware or only on x86 hardware. If you can compile android on arm I will get a high end quad core dev board, if not will just go for a mid range dual core board. Thought it would be a fun project to have an auto android builder along with file and print server.
Yes I know it will be slow to compile.

blucmal said:
Hey all looking at getting a dev board for use as a mini pc. Wondering can you compile android on arm hardware or only on x86 hardware. If you can compile android on arm I will get a high end quad core dev board, if not will just go for a mid range dual core board. Thought it would be a fun project to have an auto android builder along with file and print server.
Yes I know it will be slow to compile.
Click to expand...
Click to collapse
As long as you've got the tool chain for ARM, you can. Don't expect to get it working on Android though, since bionic (the Android "libc") quite not POSIX, and somewhat difficult to port code to. But if you are using the GNU environment, it's no problem. Myself I do lots of development directly on the ARM architecture using an ASUS Transformer. The only problem you might face, is if you need some tools you've not got the source code to, hence not being able to compile for the ARM architecture.
Check my signature for one way of running the GNU environment on your Android. There are other ways as well.

kuisma said:
As long as you've got the tool chain for ARM, you can. Don't expect to get it working on Android though, since bionic (the Android "libc") quite not POSIX, and somewhat difficult to port code to. But if you are using the GNU environment, it's no problem. Myself I do lots of development directly on the ARM architecture using an ASUS Transformer. The only problem you might face, is if you need some tools you've not got the source code to, hence not being able to compile for the ARM architecture.
Check my signature for one way of running the GNU environment on your Android. There are other ways as well.
Click to expand...
Click to collapse
Ok awesome quad core it is then

Related

[Q] Android x86

Not sure if this is the correct forum to post this. I have searched the web and this forum and only found partial answers so please excuse me if this has been discussed. If so a reply with the link would be very helpful.
With AMD and Intel both producing low powered x86 chips, especially AMDs C-50 which incorporates the Radeon HD graphics processor on the same chip, I was wondering if there are any limitations for hardware manufacturers to use these kind of chips on Tablets running Android.
I know currently Google does not have an x86 port of their own, but are there any particular reasons that would stop them if the chips were comparable in power usage and have faster performance? What would be some drawbacks? Would all the apps run fine on the x86 architecture or would each app need to be recompiled to run on these devices?
I guess what I'm really asking is with your expertise do you see x86 processors as a future of Android tablet computing?
Thanks in advance for all the input.
In theory, they'd just have to re-write the bytecode interpreter on the Dalvik-VM (Assuming it works like Sun's Java VM) Everything you run on your android is on a virtual machine, meaning it has the capability of being cross platform. So yes. It's very possible.
http://www.androidx86.org have you checked this site out??
1st ICS build for virtual machines
Just check out this thread: http://forum.xda-developers.com/showthread.php?p=19824180
Given the choice with all other things being equal, I'd take a modern ARM over an X86 chip, unless I'm going to run Windows ware. I've used x86 for like almost 20 out of nearly 23.5 years, and wouldn't trust an X86 Android tablet, now that I've dug into my TF .
Sent from my Transformer TF101 using Tapatalk
Spidey01 said:
Given the choice with all other things being equal, I'd take a modern ARM over an X86 chip, unless I'm going to run Windows ware. I've used x86 for like almost 20 out of nearly 23.5 years, and wouldn't trust an X86 Android tablet, now that I've dug into my TF .
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Wouldnt trust it for what reason?
Windows 8 will be released with an x86 and ARM version.
The Android OS itself runs very smoothly on x86, I have been using a small hp thinclient t5565 as a debug machine instead of my phone or a virtual machine for 2 weeks now and it performs admirably. Granted I cant play HD games on it, but thats what I have the Enjoy 7 tablet for. android-x86 is just brilliant, in many cases the generic froyo and gingerbread builds breathe new life into old rusty machines, making them very useful once more. The only thing missing, is better generic hardware support for ethernet and various 3D display devices. I am currently looking at an option of using android-x86 as a swop and go solution, since my test machine runs the installed system completely from a USB thumb drive. Which means if it breaks, pull the stick out, pop in another machine and you are back to work. Perfect solution for a POS terminal, library internet access machine or even something to keep the kids out of your hair.
ashmem in Android x86
I developed a simple shared memory IPC in Linux already and I would also like to do it in Android x86.
Does anyone knows on how to do this(shared memory or should I call it "ashmem"?) ?
I really need your help. I'm still a beginner in Android x86, so I hope you can give a step-by-step guide.

Windows 7 dual-boot possible?

If I could install Windows 7 along side Android on this thing, then I'd replace my laptop as my main PC. Is this possible? Or if not, will it be in the future with Windows 8? I can wait a few more months, by then maybe the price will drop some as well ^_^.
No, Windows 7 will never be compatible on an ARM based tablet because it is made for x86/Itanium architecture.
Windows 8: Maybe- depends on the driver release but that is atleast a few months away so no one can really say.
avinash60 said:
No, Windows 7 will never be compatible on an ARM based tablet because it is made for x86/Itanium architecture.
Click to expand...
Click to collapse
Not even Itanium on Windows 7, it's x86/x64 only.
Windows 8 will be theoretically compatible but it remains to be seen whether it will actually be possible to install it on the Prime. Don't forget that Windows 8 on ARM won't run existing Windows programs away.
I'd be interested in an Ubuntu or such dual-boot.
can we have more windows threads please?
i mean really? as if the windows 8 threads concerning an OS which won't be out (in it's ARM form) until late next year weren't enough, we get ones about an OS that CLEARLY wont' work on ARM arch.
i don't say it often, but a quick search would have turned up the answer that x86 OS' will never work on ARM arch. ESPECIALLY ones that are not open source to be dismantled by a crazy person to be made to work somehow.
Haloman800 said:
If I could install Windows 7 along side Android on this thing, then I'd replace my laptop as my main PC. Is this possible? Or if not, will it be in the future with Windows 8? I can wait a few more months, by then maybe the price will drop some as well ^_^.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1365283&highlight=windows
http://forum.xda-developers.com/showthread.php?t=1368651&highlight=windows
http://forum.xda-developers.com/showthread.php?t=1407305&highlight=windows
Since when did the Prime have a ARM processor that's a cheap CPU found in netbooks.
Officially there will never be a Windows OS for Transformer Prime, ASUS already have a tablet on the market for Windows and it's the Eee Slate EP121, and like the other Windows tablets it's big, heavy, and lack multitouch support for it's touchscreen and requires a stylus and it retails for a whopping $1400.
Unofficially anything is possible. Heck you can run Mac OS X on non Apple hardware thanks to the Project OS X team.
the_game_master said:
Since when did the Prime have a ARM processor that's a cheap CPU found in netbooks.
Officially there will never be a Windows OS for Transformer Prime, ASUS already have a tablet on the market for Windows and it's the Eee Slate EP121, and like the other Windows tablets it's big, heavy, and lack multitouch support for it's touchscreen and requires a stylus and it retails for a whopping $1400.
Unofficially anything is possible. Heck you can run Mac OS X on non Apple hardware thanks to the Project OS X team.
Click to expand...
Click to collapse
Lol are you joking? You are right?!
And no! There won't be ever a Windows 7 copy running on he Prime. Never!
am I joking no. but I'm not sure where ARM gets associate with Prime when it clearly shows in the specs that it has a Nvidia Tegra 3 Quad Core CPU.
My Palm Treo phone has a ARM processor and it's old and slow as ****.
The second part is true, Project OS X is basically a hacked version of Mac OS X that can run on non-Apple PC hardware.
the_game_master said:
am I joking no. but I'm not sure where ARM gets associate with Prime when it clearly shows in the specs that it has a Nvidia Tegra 3 Quad Core CPU.
My Palm Treo phone has a ARM processor and it's old and slow as ****.
The second part is true, Project OS X is basically a hacked version of Mac OS X that can run on non-Apple PC hardware.
Click to expand...
Click to collapse
Oh wow... I guess you slept the last years...? Maybe get a read on mobile processors... They are all ARM based....
People really shouldn't try to argue about things they have no idea about...
And i know you can run OSX on non apple hardware. That doesn't change the fact that Windows 7 can't run at all on the Prime. Never!
Diamondback2010 said:
Oh wow... I guess you slept the last years...? Maybe get a read on mobile processors... They are all ARM based....
People really shouldn't try to argue about things they have no idea about...
And i know you can run OSX on non apple hardware. That doesn't change the fact that Windows 7 can't run at all on the Prime. Never!
Click to expand...
Click to collapse
I'm not arguing. Sounds like you want to though.
---------- Post added at 08:22 AM ---------- Previous post was at 08:15 AM ----------
Plus who's to say that there won't be any virtual OS software made for Android that would allow you to install Windows onto it.
there would go that whole never be able to right there. Anything is possible.
the_game_master said:
I'm not arguing. Sounds like you want to though.
---------- Post added at 08:22 AM ---------- Previous post was at 08:15 AM ----------
Plus who's to say that there won't be any virtual OS software made for Android that would allow you to install Windows onto it.
there would go that whole never be able to right there. Anything is possible.
Click to expand...
Click to collapse
Because Windows 7 is made for x86/x64 processor architecture and not ARM.
There will be a extra super special version of Windows 8 written only for ARM processors
This version may run on the Prime. But not Windows 7.
If there was a way of running x86 code on ARM processors, Microsoft wouldn't rewrite Windows parts for the ARM architecture.
Get a read about processors architecture etc.
Diamondback2010 said:
Because Windows 7 is made for x86/x64 processor architecture and not ARM.
There will be a extra super special version of Windows 8 written only for ARM processors
This version may run on the Prime. But not Windows 7.
If there was a way of running x86 code on ARM processors, Microsoft wouldn't rewrite Windows parts for the ARM architecture.
Get a read about processors architecture etc.
Click to expand...
Click to collapse
why are you continuing to go on about hardware compatibility when I clearly referred to software as far as anything's possible.
Please explain why the nVidia Tegra 3 cpu wouldn't be able to run Windows 7 in a virtual OS environment?
the_game_master said:
why are you continuing to go on about hardware compatibility when I clearly referred to software as far as anything's possible.
Please explain why the nVidia Tegra 3 cpu wouldn't be able to run Windows 7 in a virtual OS environment?
Click to expand...
Click to collapse
Because you can't run x86/x64 code on ARM processors... I already said that.
It's the same for x86/x64 code... You can't run x64 code on a x86 processors.
That's why there are different x86 and x64 versions of e.g. Firefox.
Diamondback2010 said:
Because you can't run x86/x64 code on ARM processors... I already said that.
It's the same for x86/x64 code... You can't run x64 code on a x86 processors.
That's why there are different x86 and x64 versions of e.g. Firefox.
Click to expand...
Click to collapse
yes you can run x86 code on ARM cpus, through emulation software. It can be done on some ARM devices out now.
Go lookup Bosch x86 emulator for ARM.
I would like to see an ARM processor try to emulate x86 architecture. Anyone who's ever tried looking for emulation software knows that emulation is slow as hell. While PCs are faster than both PS3s and Xbox 360s, are there emulators? No. Why? Because you need much more power to translate the architectures to something the processor understands. This is why x86, a large and powerful architecture will never run on ARM properly. Even Bosch's website says so:
1.9.5. Tell me about performance when running Bochs.
Because Bochs emulates every x86 instruction and all the devices in a PC system, it does not reach high emulation speeds.
Click to expand...
Click to collapse
Or better, you could try emulation on a Prime. I'm sure you don't mind seeing how slow Tegra 3 can be
the_game_master said:
yes you can run x86 code on ARM cpus, through emulation software. It can be done on some ARM devices out now.
Go lookup Bosch x86 emulator for ARM.
Click to expand...
Click to collapse
Yea, so show me this thing running on a Tegra 2/3 other modern ARM processor...
I haven't seen something like this on the site.
Apart from that the emulator doesn't seem to be compatible with Win7?
pandaball said:
I would like to see an ARM processor try to emulate x86 architecture. Anyone who's ever tried looking for emulation software knows that emulation is slow as hell. While PCs are faster than both PS3s and Xbox 360s, are there emulators? No. Why? Because you need much more power to translate the architectures to something the processor understands. This is why x86, a large and powerful architecture will never run on ARM properly. Even Bosch's website says so:
Or better, you could try emulation on a Prime. I'm sure you don't mind seeing how slow Tegra 3 can be
Click to expand...
Click to collapse
I would mind boging it down lol. Doesn't seem like an easy task. Just wondering because this made me think about it. On Antutu, there is a prime that is oced. Why don't we have that
Sent from my VS910 4G using xda premium
That is probably a development Prime from Asus to see how the higher clocks impact performance and battery life, and it seems they feel that 1.3GHz (up to 1.4GHz under certain conditions) is the sweet spot.
pandaball said:
That is probably a development Prime from Asus to see how the higher clocks impact performance and battery life, and it seems they feel that 1.3GHz (up to 1.4GHz under certain conditions) is the sweet spot.
Click to expand...
Click to collapse
ook. Thanks for answering that. and sorry OP for going off topic.
try running older versions of OSX (before apple switched to intel chips) on a PC and tell me anything is possible.
if you want to run win7 on your prime, use the remote desktop. it's going to be the only way you'll get there.

Possibly stupid: windows 8 on a galaxy note

Yeah... I have been dreaming of the day I get my note sense I typed "tablet phone" into google this past January. In one of my random thoughts came my galaxy note dual booting ics and windows 8. I feel it would be amazing to just be able to use windows 8 in my car (maybe have windows on an sd card and Andy on the internal storage) and use the metro apps. But it would mostly be for the sake of saying I have windows 8 in my pocket. Is this possible? I know windows runs on arm now but I'm not sure if it will run on the arm 7 in the AT&T note. Thanks!
Ps. How do I do it if it's possible?
Sent from my Apple Newton MessagePad 2100
I think it would be awesome! We'll probably see Ubuntu on it before anything else.
Wow, that would be cool, but unlikely.
Anyway, MS has being yapping about this for 10 years, about how the are going to embed Windows.
From what I remember, it will not run any normal Windows app, so what's the point?
If it ran Regular Windows apps it would crush IOS and Android, but it won't
(i'm pretty sure. Hope is fun though eh? )
well, Windows 8 is supposed to support ARM architecture, so it is technically a possibility. From what I have seen rumored however, the ARM capable W8 will only be available commercially and licenses will be strictly enforced. This makes me sad on the bright side, Im sure some employee somewhere will leak the ARM W8 for all to use. Whether or not it will be able to compile and be used on these kinds of devices is up in the air.
ARM Win8 comes with Office suite out of box. That's about most ppl uses a laptop today.
Other apps can easily be recompiled to support ARM. So given time, it won't be a problem.
Win8 is a closed source platform. Obtain source code is highly unlikely and illegal. So is porting win8 to any platform that is not officially licensed to.
foxbat121 said:
ARM Win8 comes with Office suite out of box. That's about most ppl uses a laptop today.
Other apps can easily be recompiled to support ARM. So given time, it won't be a problem.
Win8 is a closed source platform. Obtain source code is highly unlikely and illegal. So is porting win8 to any platform that is not officially licensed to.
Click to expand...
Click to collapse
if windows 8 supports the galaxy note, wouldnt we be able to put it on there?
and what about the dev preview. just as a test. would that work?
I remember reading that WOA is only going to support Microsoft apps and won't support running, emulating or porting any x86/64 apps. Anybody know if that's definite?
Sent from my SGS2, 9900, I997 using Tapatalk
Orange_furball said:
if windows 8 supports the galaxy note, wouldnt we be able to put it on there?
and what about the dev preview. just as a test. would that work?
Click to expand...
Click to collapse
It won't. Microsoft will require specialized hardware to use Win8 (very similar to what they did to Wp7). It already requires a UEFI secure boot on any arm tab and mandated that the devices loaded with Win8 can't dual boot Android. It's not something that you can install yourself. It requires a ROM build by OEMs.
Any public beta you will see release will be x86 version only. ARM tablet version will never be released to public even after release. OEM only.
Maroon Mushroom said:
I think it would be awesome! We'll probably see Ubuntu on it before anything else.
Click to expand...
Click to collapse
will it be possible to dual boot Ubuntu and Android?
zoso28 said:
I remember reading that WOA is only going to support Microsoft apps and won't support running, emulating or porting any x86/64 apps. Anybody know if that's definite?
Sent from my SGS2, 9900, I997 using Tapatalk
Click to expand...
Click to collapse
It supports any app that compiles into ARM code, don't have to be Microsoft only app but x86 apps certainly won't work. Emulating x86 code on ARM is useless.
Metro apps also must be published through Marketplace. You can't install/sideload Metro apps.
Microsoft recently released a blog post about this. They do specify WOA (Windows on ARM) will not natively support x86[-64] programs, nor will they provide any support for running them; still, I can't see them trying to block third-party emulators.
WOA will also not be distributed as standalone software, so I think it _extremely_ unlikely that it will ever be ported to the Note. They state that the goal for WOA devices to be "integrated, end-to-end products that include hardware, firmware, and Windows on ARM software." So there is basically no chance of official support, and since MS won't be releasing the source for WOA, I don't really think it's possible.
teiglin said:
Microsoft recently released a blog post about this. They do specify WOA (Windows on ARM) will not natively support x86[-64] programs, nor will they provide any support for running them; still, I can't see them trying to block third-party emulators.
WOA will also not be distributed as standalone software, so I think it _extremely_ unlikely that it will ever be ported to the Note. They state that the goal for WOA devices to be "integrated, end-to-end products that include hardware, firmware, and Windows on ARM software." So there is basically no chance of official support, and since MS won't be releasing the source for WOA, I don't really think it's possible.
Click to expand...
Click to collapse
well that was disappointing.
So i guess that answers my question. thanks
But it means Samsung could do it!
lte + vnc to win8 at home=win.
Here you go. Win8 "running" on G-Note via RDC.

[Q] Ubuntu Touch for X86 android phones

Hi all,
I was doing a bit of research to find any news about Ubuntu Touch on x86 platform. But i could not find much of info
So i start this thread for those who are interested to know (Includes me) about UBUNTU Touch on x86 Platform.
Below are the list of good phones with Intel Atom processors. As Ubuntu good with Intel Processors , it should be easy to post to x86 Phones.
Please post if you have any ROM here for Intel phones.
Asus Zenphone 5 & 6 are good & affordable phones to start with.
PS: This is my post. So apologise for the brevity & mistakes
In theory it should be possible to run Ubuntu on an x86 phone as there is also an x86 emulator. I don't know of any actual ROM though.
Thanks. And is there any active development happening on x86 Ubuntu phone ?
And I assume it would be easy to build one . as Ubuntu and x86 is going along for a while now
That would be my ideal phone that can act as a desktop when docked and a phone for the rest.
Sent from my XT1022 using XDA Free mobile app
I don't think that any hardware manufacturer is currently working on an x86 phone. The two phones which will be released later this year will run on the armhf architecture.
Oh, and please note that as of now it does not covert into a desktop environment yet.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Love Ihis Idea!
Yes we need development in this area, yes there are a few x86 phones out there like the Intel AZ210 being the most advertised and some others the only complaint about x86 phones is they are the gas hog of the Mobile world but hopefully the Intel M micro processor can lead us into the age of X86 phones. and i would love for some one to port ubuntu touch to one of these devices, please please please!:laugh:
May not be today but in an year or two Intel processor will be efficient (if not battery technology will improve) . so by then software should be ready to be in implemented.
To start with , does x86 Ubuntu touch build exist?
Where can I get them?
And what and all I need to port them to Asus Zenfone lineup?
And what is the status of the scalable UI? (UI that morphs into a desktop when docked)
chaithanyaprasad said:
May not be today but in an year or two Intel processor will be efficient (if not battery technology will improve) . so by then software should be ready to be in implemented.
To start with , does x86 Ubuntu touch build exist?
Where can I get them?
And what and all I need to port them to Asus Zenfone lineup?
And what is the status of the scalable UI? (UI that morphs into a desktop when docked)
Click to expand...
Click to collapse
I'm sorry to disappoint you but the UI does not converge (which is the expression they use for the scaling) yet. Currently, they are focusing on bringing the OS to a state which can be released to manufacturers (that's what they call their rtm milestone). According to Canonical and Meizu (one of the two manufacturers) we can see Ubuntu phones later this year, probably in December! During the next development cycle they will then start work on the desktop UI. The current desktop images which use Unity 8 only display the tablet UI.
What about the x86 Ubuntu touch images?
x86 is the 32 bit architecture, right? Images for an i386 emulator are already available out there. If you want to install it on your Ubuntu desktop, check out the Ubuntu wiki: https://wiki.ubuntu.com/Touch/Emulator
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Never mind, forgot about droidboot instead of uefi. *sigh* we need a grub friendly drodboot.
Android kernel boots with out grub. Can we do something similar
Sent from my XT1022 using XDA Free mobile app
Any news for Ubuntu Touch x86?(Intel Atom z3580) Tnx

[Q] Android development boards

Hi everyone,
Today, I'm asking you about something a little bit more specific that just what kind of hardware should I use to develop on Android.
Indeed, I'm currently working on a multi-part project based on Android, mixing software and hardware parts.
I've got my Nexus 5 which is quite good as a development platform but it's my personal phone and, well, it would be quite ****ty if I bricked it.
So, now I need a development board with the following hardware:
Procs: ARM Quad procs 64Bits or Intel Dual/Quad 64Bits
RAM: 2GB Ram minimum
Storage: 16Gb / 32 Gb
System-Storage: eMMC Flash NAND 4Gb
Connectivity: BTLE 4.0 - Wifi b/n/ac - LTE/LTE-A
Even if the product do not have all the requirements, the Intel EDISON platform seems gorgeous to me as it has the perfect size/form factor for my project.
Unfortunately it do not support Android Out of the box, and I'll have to provide extra migration effort if I use this board for my project.
So, my question is, how do you proceed when you've got a multi-part project?
Why kind of dev board do you use? Do you develop on a relatively close to the finished product platform or do you use a more versatile devboard and then create prototypes etc on another project phase?

Categories

Resources