ART: Change main-thread thread paging scheme https://android.googlesource.com/platform/art/+/6c63f863f9dbf734732ff837c1e772b3482e59ff
Set both legacy and new UID routing attributes.
https://android.googlesource.com/platform/system/netd/+/2b078678aafceeefea6a70e96ab8ddefe515d027z
Use new-style UID routing. https://android.googlesource.com/platform/system/netd/+/22c24ebd283d6e8fb782b34975417308839d4ad7
fib_rules: fix error return code https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=adeb45cbb5057731ce9c47aad93756135d7947bf
> <mailto:android-x86+unsub...@googlegroups.com>.
Yes, it's an ASUS Android tablet (ASUS MeMo Pad 7 ME176C) that is based on Bay Trail. I basically threw away everything that came originally with the device and re-made it with Linux 4.9 and components taken from Android-IA. I use some smaller patches from Android x86 but for most things the Android-IA components (e.g. Audio HAL or hardware accelerated video decoder) have worked better for me, especially because some of them are essentially just updated versions of the old closed-source components that came originally with the device.
It's available on XDA[1] and the source is available on GitHub[2] if you want to take a closer look.
Set both legacy and new UID routing attributes.
https://android.googlesource.com/platform/system/netd/+/2b078678aafceeefea6a70e96ab8ddefe515d027z
Set both legacy and new UID routing attributes.https://android.googlesource.com/platform/system/netd/+/2b078678aafceeefea6a70e96ab8ddefe515d027
Hi,
> > <mailto:android-x86+unsub...@googlegroups.com <javascript:>>.
> > To post to this group, send email to andro...@googlegroups.com
> <javascript:>
> > <mailto:andro...@googlegroups.com <javascript:>>.
> > Visit this group at https://groups.google.com/group/android-x86
> <https://groups.google.com/group/android-x86>.
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to android-x86...@googlegroups.com
> <mailto:android-x86+unsub...@googlegroups.com>.
I'm sorry, but I'm not sure what "boot Androidx86 a days" is supposed to mean. Could you clarify that? You shouldn't set CONFIG_ANDROID_BINDER_IPC_SELFTEST=y.
I'm sorry, but I'm not sure what "boot Androidx86 a days" is supposed to mean. Could you clarify that? You shouldn't set CONFIG_ANDROID_BINDER_IPC_SELFTEST=y.
I'm not sure. As I mentioned, I haven't tested this on Android x86, I use this on a ROM that is mostly just LineageOS 14.1 with a few fixes to make things work on a specific x86 device.VPN worked for me with Linux 4.9 kernel, the 2 netd patches and OpenVPN for Android. I've also seen other VPN apps that are not working properly, though.
On Wednesday, August 23, 2017 at 2:46:51 PM UTC+2, youling 257 wrote:yes,4.13 kernel vpn not working.the Phoenix os 2.2.0 fixed vpn problem,may be them used https://android.googlesource.com/platform/system/netd/+/22c24ebd283d6e8fb782b34975417308839d4ad7https://android.googlesource.com/platform/system/netd/+/2b078678aafceeefea6a70e96ab8ddefe515d027
在 2017年8月23日星期三 UTC+8下午8:38:36,lambdadroid写道:The kernel patch doesn't do anything except for making the problem visible, it won't make VPN working.For me, VPN was working after I applied the two netd patches I posted above. It's possible that it's also working using the netd hack but I haven't tested that.
On Wednesday, August 23, 2017 at 2:34:10 PM UTC+2, youling 257 wrote:if 4.9 kernel add this patch,https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=adeb45cbb5057731ce9c47aad93756135d7947bfnougat vpn should be working ?i haven't test vpn on 4.12/4.13 kernel,here has a netd hack for 4.12/4.13 kernel
在 2017年8月23日星期三 UTC+8下午8:18:39,lambdadroid写道:Reverting the kernel patches that have caused the issue only avoids the problem, it doesn't solve it. The patches improve kernel hardening, so reverting them is not the best solution in my opinion.It's an issue that should be fixed in ART, not in the kernel.
On Wednesday, August 23, 2017 at 2:10:57 PM UTC+2, youling 257 wrote:But,i from kernel source to solved art crash,https://github.com/youling257/android-4.9/commits/update?author=youling257revert "mm... ",i won't to build 50GB+ Android source,i build kernel source,use custom kernel to boot Phoenix/lineage/Bliss/Androidx86,i only can wating the iso.
在 2017年8月23日星期三 UTC+8下午7:47:37,lambdadroid写道:
Hi,
I personally don't use Android x86, but I maintain an Android port for a x86 device using a Linux 4.9 kernel just like Android x86. Recently I had to backport a few commits from AOSP's master branch to fix issues with the newer kernel together with some Android components and I thought I'd suggest them here if you haven't applied them already.Note: I didn't test them on Android x86 but I assume it's affected by the same issues as my device.
Patch for ART crash in Linux 4.9.34+:
There was a change in Linux 4.9.34 (and probably newer kernels too) that causes a crash in ART when booting the device. It's related to some memory management change that was back-ported to the 4.9 kernel. The commit below fixes it for me.ART: Change main-thread thread paging scheme https://android.googlesource.com/platform/art/+/6c63f863f9dbf734732ff837c1e772b3482e59ff
Patch for system_netd issues: