ARM binary code translator

9883 views
Skip to first unread message

Dels

unread,
Jun 12, 2012, 10:48:01 PM6/12/12
to Android-x86
Hi there,

As you may know that Buildroid team already port Intel Medfield ARM
binary code translator into their ICS build

http://www.buildroid.org/blog/?p=175

Is it possible to port this library from this build into android-x86
ISO?

Marek Vasut

unread,
Jun 13, 2012, 4:33:29 PM6/13/12
to andro...@googlegroups.com, Dels
Dear Dels,

> Hi there,
>
> As you may know that Buildroid team already port Intel Medfield ARM
> binary code translator into their ICS build
>
> http://www.buildroid.org/blog/?p=175

Very good catch. Looks like they run patched dalvik, so we'd have to wait for
patches. And those might never see the light of day, since it's all BSD
licensed. Shitty android, here it all comes.

>
> Is it possible to port this library from this build into android-x86
> ISO?

Best regards,
Marek Vasut

Chih-Wei Huang

unread,
Jun 14, 2012, 12:15:58 AM6/14/12
to andro...@googlegroups.com
2012/6/13 Dels <crushf...@gmail.com>:
Intel never release the source or patches of
its binary translator to public.
(correct me if I'm wrong).
I don't understand how Buildroid could do the "porting".

Besides, I think none of our developers have got
a medfield-powered smartphone.
(I've asked some friends in Intel Taiwan.
They said the phone is not available to Taiwan market)
If someone is going to donate the Intel phones to us,
I'm happy to try.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Dels

unread,
Jun 14, 2012, 12:35:21 AM6/14/12
to Android-x86
I extracted libvm, libhoudini and arm library from Buildroid:
http://jumbofiles.com/6n9i5zznj1xw/houdini.zip.html

Next, i will tried injecting into eeepc ISO and test (i know it maybe
gives error or else non bootable system)

On 14 Jun, 11:15, Chih-Wei Huang <cwhu...@android-x86.org> wrote:
> 2012/6/13 Dels <crushfire2...@gmail.com>:

Marek Vasut

unread,
Jun 14, 2012, 7:01:27 AM6/14/12
to andro...@googlegroups.com, Dels
Dear Dels,

> I extracted libvm, libhoudini and arm library from Buildroid:
> http://jumbofiles.com/6n9i5zznj1xw/houdini.zip.html

So basically if I compiled libdvm with other optimizations than what's enabled
on the medfield phone, I'm pooped. But then, it indicates that intel added some
changes only to dalvik (libdvm) and added some other library that has the BT in
it, right?

> Next, i will tried injecting into eeepc ISO and test (i know it maybe
> gives error or else non bootable system)
>
> On 14 Jun, 11:15, Chih-Wei Huang <cwhu...@android-x86.org> wrote:
> > 2012/6/13 Dels <crushfire2...@gmail.com>:
> > > Hi there,
> > > As you may know that Buildroid team already port Intel Medfield ARM
> > > binary code translator into their ICS build
> > >
> > >http://www.buildroid.org/blog/?p=175
> > >
> > > Is it possible to port this library from this build into android-x86
> > > ISO?
> >
> > Intel never release the source or patches of
> > its binary translator to public.
> > (correct me if I'm wrong).
> > I don't understand how Buildroid could do the "porting".
> >
> > Besides, I think none of our developers have got
> > a medfield-powered smartphone.
> > (I've asked some friends in Intel Taiwan.
> > They said the phone is not available to Taiwan market)
> > If someone is going to donate the Intel phones to us,
> > I'm happy to try.
> >
> > --
> > Chih-Wei
> > Android-x86 projecthttp://www.android-x86.org

Best regards,
Marek Vasut

Morten Sjøgren

unread,
Jun 14, 2012, 6:13:01 PM6/14/12
to andro...@googlegroups.com
Dan commented on 
"Hi,
I’ll try to write a post on how patching the android source code to support the libhoudini. This will enable android-x86 users to have ARM emulation.
Expect it in 1 or 2 days."

Looking forward to his post on it.

Marek Vasut

unread,
Jun 14, 2012, 6:25:19 PM6/14/12
to andro...@googlegroups.com, Morten Sjøgren
Dear Morten Sjøgren,

> Dan commented on June 14, 2012 at 9:20
> pm<http://www.buildroid.org/blog/?p=175#comment-1763>
>
> *"*Hi,
> I’ll try to write a post on how patching the android source code to support
> the libhoudini. This will enable android-x86 users to have ARM emulation.
> Expect it in 1 or 2 days."

Good to hear. Thanks for tracking the comments and updating us ;-)

> Looking forward to his post on it.
>
> On Wednesday, June 13, 2012 4:48:01 AM UTC+2, Dels wrote:
> > Hi there,
> >
> > As you may know that Buildroid team already port Intel Medfield ARM
> > binary code translator into their ICS build
> >
> > http://www.buildroid.org/blog/?p=175
> >
> > Is it possible to port this library from this build into android-x86
> > ISO?

Best regards,
Marek Vasut

Dels

unread,
Jun 14, 2012, 10:25:51 PM6/14/12
to Android-x86
Finally, good news for everyone

TheARC77

unread,
Jun 14, 2012, 11:11:48 PM6/14/12
to andro...@googlegroups.com
Oh yeah. Currently using Buildroid and wait powerup my Sammy Netbook with ICS

Ollie

unread,
Jun 15, 2012, 9:46:37 AM6/15/12
to andro...@googlegroups.com
Sounds very exciting news. Has anyone compiled this on a tega/viewpad build?

Tim Kowalsky

unread,
Jun 15, 2012, 10:52:35 AM6/15/12
to andro...@googlegroups.com, Morten Sjøgren
This is very exciting.  On his blog, Dan also states he recovered an x86 Flash library from the Medfield phone.


 

Daniel Fages

unread,
Jun 18, 2012, 12:30:53 PM6/18/12
to andro...@googlegroups.com
Hi all,
instructions posted here : http://www.buildroid.org/blog/?p=198

Enjoy
Dan.

2012/6/15 Tim Kowalsky <akro...@designby.com>
This is very exciting.  On his blog, Dan also states he recovered an x86 Flash library from the Medfield phone.


 

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/nDEYZ9ZhpLIJ.

To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

TheARC77

unread,
Jun 18, 2012, 2:03:41 PM6/18/12
to andro...@googlegroups.com
OMG! Well time to a x86 build with this patchs/libs, pls someone make a nice try!! :D


El lunes, 18 de junio de 2012 13:30:53 UTC-3, dfages escribió:
Hi all,
instructions posted here : http://www.buildroid.org/blog/?p=198

Enjoy
Dan.

2012/6/15 Tim Kowalsky <akro...@designby.com>
This is very exciting.  On his blog, Dan also states he recovered an x86 Flash library from the Medfield phone.


 

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/nDEYZ9ZhpLIJ.

To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86+unsubscribe@googlegroups.com.

Rui Carmo

unread,
Jun 18, 2012, 2:22:04 PM6/18/12
to andro...@googlegroups.com, andro...@googlegroups.com
This is very nice, but can we distribute the Intel binary? Can it be rebuilt from source somehow?

Otherwise it's just a nice (temporary) hack that may break soon.

R.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/vFV0iyTlz94J.

To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.

Daniel Fages

unread,
Jun 18, 2012, 2:30:12 PM6/18/12
to andro...@googlegroups.com
No, no source code available, at least I didn't find it...

Dan.

2012/6/18 Rui Carmo <rui....@gmail.com>

Marek Vasut

unread,
Jun 18, 2012, 2:37:13 PM6/18/12
to andro...@googlegroups.com, Daniel Fages
Dear Daniel Fages,

> Hi all,
> instructions posted here : http://www.buildroid.org/blog/?p=198

Patch doesn't apply ...

>
> Enjoy
> Dan.
>
> 2012/6/15 Tim Kowalsky <akro...@designby.com>
>
> > This is very exciting. On his blog, Dan also states he recovered an x86
> > Flash library from the Medfield phone.
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Android-x86" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/android-x86/-/nDEYZ9ZhpLIJ.
> >
> > To post to this group, send email to andro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-x86...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/android-x86?hl=en.

Best regards,
Marek Vasut
Message has been deleted

Daniel Fages

unread,
Jun 18, 2012, 2:50:10 PM6/18/12
to Marek Vasut, andro...@googlegroups.com
Oops, here's the good one : http://www.buildroid.org/Download/patch_houdini_ics_20120618_v2

Dan.

2012/6/18 Marek Vasut <marek...@gmail.com>

Marek Vasut

unread,
Jun 18, 2012, 7:37:52 PM6/18/12
to andro...@googlegroups.com, Daniel Fages
Dear Daniel Fages,

> No, no source code available, at least I didn't find it...

No source, but what's the license? That's more of a concern ...

> Dan.
>
> 2012/6/18 Rui Carmo <rui....@gmail.com>
>
> > This is very nice, but can we distribute the Intel binary? Can it be
> > rebuilt from source somehow?
> >
> > Otherwise it's just a nice (temporary) hack that may break soon.
> >
> > R.
> >
> >
> > On 18/06/2012, at 19:03, TheARC77 <thea...@f4krom.com.ar> wrote:
> >
> > OMG! Well time to a x86 build with this patchs/libs, pls someone make a
> > nice try!! :D
> >
> > El lunes, 18 de junio de 2012 13:30:53 UTC-3, dfages escribió:
> >> Hi all,
> >> instructions posted here :
> >> http://www.buildroid.org/**blog/?p=198<http://www.buildroid.org/blog/?p
> >> =198>
> >>
> >> Enjoy
> >> Dan.
> >>
> >> 2012/6/15 Tim Kowalsky <akro...@designby.com>
> >>
> >>> This is very exciting. On his blog, Dan also states he recovered an
> >>> x86 Flash library from the Medfield phone.
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google
> >>> Groups "Android-x86" group.
> >>> To view this discussion on the web visit https://groups.google.com/d/**
> >>> msg/android-x86/-/nDEYZ9ZhpLIJ<https://groups.google.com/d/msg/android-
> >>> x86/-/nDEYZ9ZhpLIJ> **.
> >>>
> >>> To post to this group, send email to andro...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> android-x86+unsubscribe@** googlegroups.com
> >>> <android-x86%2Bunsu...@googlegroups.com>. For more options, visit
> >>> this group at http://groups.google.com/**
> >>> group/android-x86?hl=en<http://groups.google.com/group/android-x86?hl=
> >>> en> .
> >>>
> >> --
> >
> > You received this message because you are subscribed to the Google Groups
> > "Android-x86" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/android-x86/-/vFV0iyTlz94J.
> > To post to this group, send email to andro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-x86...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/android-x86?hl=en.
> >
> > --
> >
> > You received this message because you are subscribed to the Google Groups
> > "Android-x86" group.
> > To post to this group, send email to andro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-x86...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/android-x86?hl=en.

Best regards,
Marek Vasut

Daniel Fages

unread,
Jun 19, 2012, 1:36:49 AM6/19/12
to andro...@googlegroups.com
Hi,
I agree that's a main concern.
Unfortunately I don't really know the license.
When I use the Intel phone, there's no special "license popup" which asks me to accept some special license (contrary to what we see when using Google Apps).
I'll have to check the physical documents that came with the device to see if there's any mention of this.
If there's nothing, I don't know what we can conclude - would it mean we can freely use the binaries ?
Is there a lawyer in the room ? :-)

Dan.

2012/6/19 Marek Vasut <marek...@gmail.com>

Daniel Fages

unread,
Jun 19, 2012, 1:49:36 AM6/19/12
to andro...@googlegroups.com
Hi,
I agree that's a main concern.
Unfortunately I don't really know the license.
When I use the Intel phone, there's no special "license popup" which asks me to accept some special license (contrary to what we see when using Google Apps).
I'll have to check the physical documents that came with the device to see if there's any mention of this.
If there's nothing, I don't know what we can conclude - would it mean we can freely use the binaries ?
Is there a lawyer in the room ? :-)

Dan.

2012/6/19 Marek Vasut <marek...@gmail.com>
Dear Daniel Fages,

Marek Vasut

unread,
Jun 19, 2012, 7:03:56 AM6/19/12
to andro...@googlegroups.com, Daniel Fages
Dear Daniel Fages,

> Hi,
> I agree that's a main concern.
> Unfortunately I don't really know the license.
> When I use the Intel phone, there's no special "license popup" which asks
> me to accept some special license (contrary to what we see when using
> Google Apps).
> I'll have to check the physical documents that came with the device to see
> if there's any mention of this.
> If there's nothing, I don't know what we can conclude - would it mean we
> can freely use the binaries ?

We can not. I'll ask at intel eventually (if I won't forget), but I don't expect
much.
Best regards,
Marek Vasut

Ollie

unread,
Jun 19, 2012, 12:10:33 PM6/19/12
to andro...@googlegroups.com
Has anyone tried this using the android-x86 ics-x86 branch? Would love to see it in a Tega v2 build but have no idea how to follow those instructions. Don't really have the processing power either.


On Monday, 18 June 2012 17:30:53 UTC+1, dfages wrote:
Hi all,
instructions posted here : http://www.buildroid.org/blog/?p=198

Enjoy
Dan.

2012/6/15 Tim Kowalsky <akro...@designby.com>
This is very exciting.  On his blog, Dan also states he recovered an x86 Flash library from the Medfield phone.


 

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/nDEYZ9ZhpLIJ.

To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86+unsubscribe@googlegroups.com.

Chih-Wei Huang

unread,
Jun 20, 2012, 12:00:52 AM6/20/12
to andro...@googlegroups.com
2012/6/20 Ollie <ojre...@gmail.com>:
> Has anyone tried this using the android-x86 ics-x86 branch? Would love to
> see it in a Tega v2 build but have no idea how to follow those instructions.
> Don't really have the processing power either.

Yes. I tried on tegav2. It works well.
I've succeeded to run angry birds (all variants)
and osmos demo from the Google Play.

Chih-Wei Huang

unread,
Jun 20, 2012, 12:14:56 AM6/20/12
to andro...@googlegroups.com
2012/6/19 Daniel Fages <dfa...@gmail.com>:
> Hi all,
> instructions posted here : http://www.buildroid.org/blog/?p=198

The LD_PRELOAD seems to cause some problem
in debug mode. Some commands just got
segmentation fault.

Is there a way to avoid that?
For example, only export LD_PRELOAD for
dalvik processes?

Rinaldo Jonathan

unread,
Jun 20, 2012, 4:31:13 AM6/20/12
to andro...@googlegroups.com
what? angry birds on android-x86?
tell me if i dont read it wrong .... or someone can punch me in the face to make sure if i not dreaming? :D

FINALLY!!! 
i just need to buy x86 machine with touch screen and run android-x86 inside it, and im done!!

2012/6/20 Chih-Wei Huang <cwh...@android-x86.org>
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.

Marek Vasut

unread,
Jun 20, 2012, 4:45:57 AM6/20/12
to andro...@googlegroups.com, Chih-Wei Huang
Dear Chih-Wei Huang,

> 2012/6/19 Daniel Fages <dfa...@gmail.com>:
> > Hi all,
> > instructions posted here : http://www.buildroid.org/blog/?p=198
>
> The LD_PRELOAD seems to cause some problem
> in debug mode. Some commands just got
> segmentation fault.
>
> Is there a way to avoid that?
> For example, only export LD_PRELOAD for
> dalvik processes?

Well ... if you checked what the preloaded library is for, I believe it should
be possible to implement that fake function directly in dalvik. It actually was
attempted even, check the source.

Best regards,
Marek Vasut

Ollie

unread,
Jun 20, 2012, 9:26:21 AM6/20/12
to andro...@googlegroups.com
Very exciting news! I hope you don't mind me asking, but are you able to share the build? Or will it be incorporated in the Android-x86 source in the future?

Thanks for the test report anyway.

Rinaldo Jonathan

unread,
Jun 20, 2012, 9:49:14 AM6/20/12
to andro...@googlegroups.com
yeah, and for virtualbox / vmware too :D
i will love it :D

2012/6/20, Ollie <ojre...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/9s3p9c1HJ0AJ.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-x86...@googlegroups.com.

Marek Vasut

unread,
Jun 20, 2012, 10:32:45 AM6/20/12
to andro...@googlegroups.com, Rinaldo Jonathan
Dear Rinaldo Jonathan,

> yeah, and for virtualbox / vmware too :D
> i will love it :D

When it's ready ... every time you ask such stupid question and don't help, the
release gets delayed. Since we have to type these stupid reply emails if nothing
else.
Best regards,
Marek Vasut

Gernot Hillier

unread,
Jun 20, 2012, 4:48:50 AM6/20/12
to andro...@googlegroups.com
Hi there!

Am 19.06.2012 07:36, schrieb Daniel Fages:
> I agree that's a main concern.
> Unfortunately I don't really know the license.
> When I use the Intel phone, there's no special "license popup" which
> asks me to accept some special license (contrary to what we see when
> using Google Apps).
> I'll have to check the physical documents that came with the device to
> see if there's any mention of this.
> If there's nothing, I don't know what we can conclude - would it mean we
> can freely use the binaries ?
> Is there a lawyer in the room ? :-)

I'm no layer, but as far as I know, in most contries, you're not allowed
to use not speaking of distribute any copyrighted work if you have no
license contract. So if you don't find anything, you're not allowed to
do anything with it...

--
Gernot

Dels

unread,
Jun 20, 2012, 11:19:29 PM6/20/12
to Android-x86
For VirtualBox you can already use Buildroid for that, "ignorant will
ignore"

On 20 Jun, 20:49, Rinaldo Jonathan <rinaldo.jonat...@gmail.com> wrote:
> yeah, and for virtualbox / vmware too :D
> i will love it :D
>
> 2012/6/20, Ollie <ojrear...@gmail.com>:
>
>
>
>
>
>
>
> > Very exciting news! I hope you don't mind me asking, but are you able to
> > share the build? Or will it be incorporated in the Android-x86 source in
> > the future?
>
> > Thanks for the test report anyway.
>
> > On Wednesday, 20 June 2012 05:00:52 UTC+1, Chih-Wei Huang wrote:
>
> >> 2012/6/20 Ollie <ojrear...@gmail.com>:
> >> > Has anyone tried this using the android-x86 ics-x86 branch? Would love
> >> to
> >> > see it in a Tega v2 build but have no idea how to follow those
> >> instructions.
> >> > Don't really have the processing power either.
>
> >> Yes. I tried on tegav2. It works well.
> >> I've succeeded to run angry birds (all variants)
> >> and osmos demo from the Google Play.
>
> >> --
> >> Chih-Wei
> >> Android-x86 project
> >>http://www.android-x86.org
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Android-x86" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/android-x86/-/9s3p9c1HJ0AJ.
> > To post to this group, send email toandr...@googlegroups.com.

Chih-Wei Huang

unread,
Jun 21, 2012, 12:08:09 AM6/21/12
to Android-x86
However, it seems we cannot support both
armeabi and armeabi-v7a abis.
Settings TARGET_CPU_ABI2 to armeabi,
we are unable to support armeabi-v7a only app
like Temple Run.

https://play.google.com/store/apps/details?id=com.imangi.templerun

Is there a solution?

(fortunately most apps containing native code
support both)

2012/6/20 prober <holger...@googlemail.com>:
> I'd just like to confirm that libhoudini is also working on a WeTab/EXOpc
> Atom N450 tablet with Android 4.0.4. Runs fast and fine ;-)

Suman Saraf

unread,
Jun 21, 2012, 2:59:13 AM6/21/12
to andro...@googlegroups.com
Chih-Wei,

As far as I know, the Intel translator can currently only translate ARM v5. The bluestacks binary translator can do both v5 and v7.

Suman
> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.

Chih-Wei Huang

unread,
Jun 21, 2012, 4:08:08 AM6/21/12
to andro...@googlegroups.com
2012/6/21 Suman Saraf <su...@android-x86.org>:
> Chih-Wei,
> As far as I know, the Intel translator can currently only translate ARM v5.

Does it?

I've tried to set abi2 to armeabi-v7a and
install angry birds. I've checked armeabi-v7a .so
are installed and it plays normal.
So I think it supports armeabi-v7a.

> The bluestacks binar