DNS issue when enabling the native-bridge on Android-x86 5.1-rc1

564 views
Skip to first unread message

Yu-Chi Chang

unread,
Feb 2, 2016, 12:57:09 AM2/2/16
to Android-x86
Hi all,
I used Android-x86 5.1-rc1 on VirtualBox to run some game apps.
Since some game app only contain arm native so library, so I enabled the native-bridge (houdini) for binary translation.

And I found something wrong while dns resolution in houdini arm libraries.

From strace, I can only found a client connect to netd service and read for several data, then suddenly close the socket.
In netd, the dns resolution result is correct. So I guess that the houdini arm library expected some data which is different from what netd provided.

For game with x86 native so, the dns resolution is fine.

May I know if there is any advice for this issue?

Thanks
Richard

Curtis Guo

unread,
Feb 5, 2016, 4:06:05 PM2/5/16
to Android-x86
Dear All,

It seams that I met the same problem with Richard.
What I did is following this blog:
to enable libhoudini.
It works fine with ARM only APPs except some of them can't resolve the DNS while other can.

Is this bug from the ARM libc used by libhoudini?

Thanks.


在 2016年2月2日星期二 UTC+8下午1:57:09,Yu-Chi Chang写道:

Chih-Wei Huang

unread,
Feb 6, 2016, 2:45:36 AM2/6/16
to Android-x86
2016-02-05 14:40 GMT+08:00 Curtis Guo <a.lu...@gmail.com>:
> Dear All,
>
> It seams that I met the same problem with Richard.
> What I did is following this blog:
> http://blog.csdn.net/roland_sun/article/details/49735601
> to enable libhoudini.

Good doc.
If the author read the post, please contact me privately.

> It works fine with ARM only APPs except some of them can't resolve the DNS
> while other can.

What apps?

> Is this bug from the ARM libc used by libhoudini?




--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Message has been deleted

Yu-Chi Chang

unread,
Feb 8, 2016, 12:50:26 AM2/8/16
to Android-x86
Hi Curtis, Chin-Wei,

Thanks for your reply.

Provided my test for your reference:
I used the following app:

It only contains arm libs inside the apk.

BR,
Richard


Chih-Wei Huang於 2016年2月6日星期六 UTC+8下午3時45分36秒寫道:
Reply all
Reply to author
Forward
0 new messages