Android Kitkat 4.4 with modified kernel

508 views
Skip to first unread message

Robson Pierangeli Godinho

unread,
Aug 20, 2015, 9:22:40 PM8/20/15
to Android-x86
Hi all,
I build a Android Kitkat 4.4 and I modify the kernel to accept a new touchscreen. So, after compiling Android and generate ISO, I install on my X86 terminal but some apps not worked. The browser, galery and Play Store stops with message "Unfortunately <app> has stopped".

Can someone help?

Thanks in advance,

Robson

Chih-Wei Huang

unread,
Aug 20, 2015, 9:25:09 PM8/20/15
to Android-x86
2015-08-21 5:43 GMT+08:00 Robson Pierangeli Godinho
<robson.p...@engflextecnologia.com.br>:
> Hi all,
> I build a Android Kitkat 4.4 and I modify the kernel to accept a new touchscreen. So, after compiling Android and generate ISO, I install on my X86 terminal but some apps not worked. The browser, galery and Play Store stops with message "Unfortunately <app> has stopped".

Please provide a patch for the new touchscreen driver.

> Can someone help?

Check logcat to see what happened.

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

Mauro Rossi

unread,
Aug 23, 2015, 7:02:19 PM8/23/15
to Android-x86
Can someone help?

Thanks in advance,

Robson

I'm not 100% sure this can solve your problem, but when compiling a completely new kernel,
usually the three libwebchromium folders in $OUT/target/product/x86/obj/SHARED_LIBRARIES/ need to be deleted.

Could you enable DEBUG at boot and post here  /data/log.txt and dmesg output?

Mauro

Robson Pierangeli Godinho

unread,
Aug 23, 2015, 11:55:35 PM8/23/15
to Android-x86
Hello Chih-Wei,
     Despite the My Experience with Linux , I am beginner to x86 Android. The browser made ​​the following errors in your startup:

I/ActivityManager( 1710): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=2600 uid=10020 gids={50020, 3003, 1028, 1015, 1023}
I/ActivityThread( 2600): Switching default density from 160 to 130
E/cutils  ( 1363): Failed to mkdirat(/storage/usb1/Android): Read-only file system
W/Vold    ( 1363): Returning OperationFailed - no handler for errno 30
W/ContextImpl( 2600): Failed to ensure directory: /storage/usb1/Android/data/com.android.browser/files
E/cutils  ( 1363): Failed to mkdirat(/storage/usb2/Android): Read-only file system
W/Vold    ( 1363): Returning OperationFailed - no handler for errno 30
W/ContextImpl( 2600): Failed to ensure directory: /storage/usb2/Android/data/com.android.browser/files
E/cutils  ( 1363): Failed to mkdirat(/storage/usb3/Android): Read-only file system
W/Vold    ( 1363): Returning OperationFailed - no handler for errno 30
W/ContextImpl( 2600): Failed to ensure directory: /storage/usb3/Android/data/com.android.browser/files
E/Vold    ( 1363): Failed to find volume for /storage/sdcard1/Android/data/com.android.browser/files/
W/Vold    ( 1363): Returning OperationFailed - no handler for errno 30
W/ContextImpl( 2600): Failed to ensure directory: /storage/sdcard1/Android/data/com.android.browser/files
E/ActivityThread( 2600): Failed to find provider info for com.google.settings
E/ActivityThread( 2600): Failed to find provider info for com.google.settings
I/LibraryLoader( 2600): Loading: webviewchromium
E/dalvikvm( 2600): dlopen("/system/lib/libwebviewchromium.so") failed: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
E/WebViewFactory( 2600): error instantiating provider
E/WebViewFactory( 2600): java.lang.RuntimeException: Cannot load WebView
##

My Android file system is in /storage/sdcard0/ and is writable.
There is a config that I can make to change browser dir?

Thanks

Robson

Robson Pierangeli Godinho

unread,
Aug 23, 2015, 11:55:35 PM8/23/15
to Android-x86
Hi Chih-Wei,
Thanks for the reply , I found the problem. Applications that are stopping are based on the OpenGL ES that is not implemented in Android x86. Then I'll need help to make it work , can you help me? I'm doing a version for the Unicorn D2550 board with a resistive touch screen of 1024x600 (eGalax Touch).

About the touchscreen, I had to change the kernel for it to work. I installed the driver from the manufacturer (http://www.eeti.com.tw/drivers_Linux.html) and changed the kernel according to the manufacturer instructions. If you want, I can send the modified code files to the kernel.

Thank you

Robson


Em quinta-feira, 20 de agosto de 2015 22:25:09 UTC-3, Chih-Wei Huang escreveu:

Robson Pierangeli Godinho

unread,
Aug 24, 2015, 9:12:29 AM8/24/15
to Android-x86
Hi Mauro,
     I did what you suggested and now I saw that my Android is "broken".
     Follow the 3 logs:

log_init.txt : dmesg log before Android initialize
log.txt: dmesg log after Android initialize
log_data.txt: the log of dir data.

Thank you 

Robson
log.txt
log_init.txt
log_data.txt

Chih-Wei Huang

unread,
Aug 26, 2015, 5:25:26 AM8/26/15
to Android-x86
2015-08-24 21:12 GMT+08:00 Robson Pierangeli Godinho
<robson.p...@engflextecnologia.com.br>:
> Hi Mauro,
> I did what you suggested and now I saw that my Android is "broken".
> Follow the 3 logs:
>
> log_init.txt : dmesg log before Android initialize
> log.txt: dmesg log after Android initialize
> log_data.txt: the log of dir data.

I never see such an issue in libwebviewchromium.so.
Don't think it's related to kernel.
Maybe your build environment is broken?

Since you only care the kernel,
the simplest way is just replace the kernel and modules
by the files you made in the 4.4-r3 image.

Mauro Rossi

unread,
Aug 26, 2015, 11:33:53 AM8/26/15
to Android-x86
Hi Robson,

can you also check how you have integrated Gapps in your build?

Have you used the gapps.sh script (provided in this forum) in conjunction with an ISO already with gapps, method which is failsafe?

Mauro



Robson Pierangeli Godinho

unread,
Sep 1, 2015, 2:09:09 PM9/1/15
to Android-x86
Hi Mauro/Chih-Wei,
     I found the problem, Gallery and Google Play uses OpenGL ES that is not implemented. UVesafb not support this feature.
     Now I'm looking for a driver to Unicorn D2550 that uses a Intel GMA 3650 engine.
     When I find a solution, I'll post here.

Thanks

Robson

Chih-Wei Huang

unread,
Sep 1, 2015, 11:22:31 PM9/1/15
to Android-x86
2015-09-02 2:09 GMT+08:00 Robson Pierangeli Godinho
<robson.p...@engflextecnologia.com.br>:
> Hi Mauro/Chih-Wei,
> I found the problem, Gallery and Google Play uses OpenGL ES that is not
> implemented. UVesafb not support this feature.

Oh, if that's the root cause, the log should not be
related to libwebviewchromium.so but something else,
I think.

Anyway, if it's GMA 3650, you're right
that it's not supported since it's
a PowerVR based chip.

> Now I'm looking for a driver to Unicorn D2550 that uses a Intel GMA
> 3650 engine.
> When I find a solution, I'll post here.

You'll find you are unlucky since
it's not possible at this moment.
Anyway, it's no harm for you to
try and learn.
Reply all
Reply to author
Forward
0 new messages