I keep getting stuck here... - G1 Q&A, Help & Troubleshooting

- waiting for device -
--------- beginning of /dev/log/main
E/logwrapper( 62): executing /system/xbin/run
rectory
I/logwrapper( 61): /system/xbin/run-parts ter
I/DEBUG ( 66): debuggerd: Jul 31 2010 00:18
D/AKMD ( 73): akmd 1.6.6 START
D/AKMD ( 73): library version: 1.2.1.1129
thats it it has happened on so many roms its annoying any clue?

Related

Arabic libraries for HTC Incredible available by Ayman al-Sanad

This was not written by me. It was written by Ayman al-Sanad, username UAE (I believe), who has been working for some time to create workable libraries for so Android devices can properly display Arabic. Oddly there was no thread posted here that I can find so I'm going to go ahead and post it, since I know this is a much-desired feature for many people and at least some people will find it over Google or the like.
As Google has yet to add native support for Right-To-Left languages like Arabic, Persian and Urdu (despite it being the top feature request) Ayman stepped in and created libraries for our usage.
The downloads page is available here: http://ardoid.com/?page_id=5. I'm assuming the libraries will work with any Froyo install. Put the library zip on your SD card, flash it. Reboot will take some time on a black screen.
Big thanks to Ayman for his great work. Evo libraries are also available on his page.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this is the best news yet!!! i will try right now and report back
Works Perfect !!!!! i can't believe it's finally happening. thank you very much for posting
Dose this works with WebOS (Palm Pre) ?
amjz said:
Dose this works with WebOS (Palm Pre) ?
Click to expand...
Click to collapse
Really? Your in a forum for an ANDROID device, and if that wasn't enough of a hint, the OP says "ANDROID" in the first line.
works perfectly, Thanks for the heads up
Problem with ROM updates
The ZIP files on the ardoid.com site worked perfectly with my phone. This was when Verizon rolled out the Froyo update, and i was able to use the same ZIP files for both a stock ROM as well as a custom one.
But couple weeks ago, Verizon rolled out a minor update to Froyo (2.2.1 I think), and it was also picked up by some developers of custom ROMs. Once I applied any of these updates, I am unable to use the Arabic ZIP file anymore.
Here is what I usually do:
- Use the ROM Manager to download the new ROM.
- Reboot to recovery mode and apply the ROM (done automatically by the ROM Manager).
- Verify the ROM is working correctly.
- Download the Ariabic ZIP file from ardoid.con.
- Reboot to Custom Recovery, and manually apply the Arabic update.
- Reboot the phone one last time.
- The phone remains stuck in the HTC Incredible splash screen.
The only way out is to remove the battery, boot into recovery mode, and do a restore.
I tried this approach with the Virtuous ROM 3.1 and the CyanogenMod 6.1. In both cases, I was trying "froyo_incredible_libs_arabic_android_plus_signed.zip".
I also tried the following ZIP files, and they both failed (didn't expect them to work anyway):
- froyo_stock_generic_signed.zip
- froyo_cm_n1_6_1_1_stable_arabic_android_plus_signed.zip
The questions that I have are:
- Is there a dependency for the ZIP file on the actual system image? Does this mean that there has to be a new ZIP file for the 2.2.1 release?
- Is there another preferred way for applying the ZIP file? (I am using ClockworkMod Recover 2.5.0.5).
Quick update
I would like to add one little detail: using CyanogenMod 6.1, most apps have decent Arabic support by default (for example, tweetdeck or facebook). Unfortunately, the browser doesn't know how to join the Arabic letters correctly (doesn't matter if I am using the stock browser, or Dolphin).
I tried pushing the libwebcore.so and libskia.so files from the Desire HD ZIP from http://ardoid.com/?p=176
I copied the files to the SD card, then copied them over the original files using ADB. After the reboot, the phone got stuck in an endless loop, and here is what I saw repeated when doing "adb logcat":
W/dalvikvm( 1311): ERROR: Unable to find decl for native Landroid/webkit/BrowserFrame;.clearNativeCache ()V
E/JNIHelp ( 1311): RegisterNatives failed for 'android/webkit/BrowserFrame'
E/webcoreglue( 1311): WebFrame registration failed!
W/dalvikvm( 1311): JNI_OnLoad returned bad version (-1) in /system/lib/libwebcore.so 0x0
W/dalvikvm( 1311): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/webkit/WebViewCore;.<clinit>
E/Zygote ( 1311): Error preloading android.webkit.WebViewCore.
E/Zygote ( 1311): java.lang.ExceptionInInitializerError
E/Zygote ( 1311): at java.lang.Class.classForName(Native Method)
E/Zygote ( 1311): at java.lang.Class.forName(Class.java:235)
E/Zygote ( 1311): at java.lang.Class.forName(Class.java:182)
E/Zygote ( 1311): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:302)
E/Zygote ( 1311): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:589)
E/Zygote ( 1311): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 1311): Caused by: java.lang.UnsatisfiedLinkError: Library webcore not found
E/Zygote ( 1311): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/Zygote ( 1311): at java.lang.System.loadLibrary(System.java:557)
E/Zygote ( 1311): at android.webkit.WebViewCore.<clinit>(WebViewCore.java:61)
E/Zygote ( 1311): ... 6 more
E/Zygote ( 1311): setreuid() failed. errno: 17
D/AndroidRuntime( 1311): Shutting down VM
W/dalvikvm( 1311): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)
D/skia ( 1311): purging 6K from font cache [1 entries]
I/ServiceManager( 105): service 'media.audio_flinger' died
I/ServiceManager( 105): service 'media.player' died
I/ServiceManager( 105): service 'media.camera' died
I/ServiceManager( 105): service 'media.audio_policy' died
I/ ( 1312): ServiceManager: 0xaec8
I think the root cause is "JNI_OnLoad returned bad version (-1) in /system/lib/libwebcore.so 0x0", but I am not sure what this means, or how to fix it.
Here is another update..
I tried to copy the libwebcore.so and libskia.so directly without the ZIP file. I basically extracted the two library files to a folder "Arabic/New" on my sdcard. The I did the following steps using ADB:
- remount the system mount as rw.
- copy the files from the SD to /system/lib
- change the permission to 644
- reboot
Here is the capture from my CMD console
===========================
C:\my_program_files\Android\android-sdk-windows\platform-tools>adb remount
remount succeeded
C:\my_program_files\Android\android-sdk-windows\platform-tools>adb shell
# su
su
# ls -l /system/lib/libwebcore.so
ls -l /system/lib/libwebcore.so
-rw-r--r-- 1 root root 4859848 Dec 22 19:08 /system/lib/libwebcore.so
# ls -l /system/lib/libskia.so
ls -l /system/lib/libskia.so
-rw-r--r-- 1 root root 1126112 Dec 22 19:08 /system/lib/libskia.so
# cp -f /sdcard/Arabic/New/libwebcore.so /system/lib
cp -f /sdcard/Arabic/New/libwebcore.so /system/lib
# cp -f /sdcard/Arabic/New/libskia.so /system/lib
cp -f /sdcard/Arabic/New/libskia.so /system/lib
# ls -l /system/lib/libwebcore.so
ls -l /system/lib/libwebcore.so
----rwxr-x 1 root root 5118240 Dec 22 19:11 /system/lib/libwebcore.so
# ls -l /system/lib/libskia.so
ls -l /system/lib/libskia.so
----rwxr-x 1 root root 1126552 Dec 22 19:11 /system/lib/libskia.so
# chmod 644 /system/lib/libwebcore.so
chmod 644 /system/lib/libwebcore.so
# chmod 644 /system/lib/libskia.so
chmod 644 /system/lib/libskia.so
# ls -l /system/lib/libwebcore.so
ls -l /system/lib/libwebcore.so
-rw-r--r-- 1 root root 5118240 Dec 22 19:11 /system/lib/libwebcore.so
# ls -l /system/lib/libskia.so
ls -l /system/lib/libskia.so
-rw-r--r-- 1 root root 1126552 Dec 22 19:11 /system/lib/libskia.so
# reboot
reboot
===========================
After the reboot, the phone gets stuck on the white screen
When I look at the log file via "adb logcat", I see it frozen at:
===========================
--------- beginning of /dev/log/main
I/cm ( 73): Welcome to Android 2.2.1 / CyanogenMod-6.1.0-Inc
I/cm ( 74): _
I/cm ( 75): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 76): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 77): )) _))
I/cm ( 78):
I//system/xbin/run-parts( 68): modprobe: chdir(2.6.32.26-invisiblek-aosp): No such file or directory
I//system/xbin/run-parts( 68): run-parts: /system/etc/init.d/04modules exited with code 1
I/mountsd ( 93): Checking filesystems..
I//system/xbin/run-parts( 68): e2fsck 1.41.10 (10-Feb-2009)
I//system/xbin/run-parts( 68): e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p1
I//system/xbin/run-parts( 68): Filesystem mounted or opened exclusively by another program?
E/mountsd ( 99): Unable to repair filesystem, disabling apps2sd
I/logwrapper( 68): /system/xbin/run-parts terminated by exit(1)
I/DEBUG ( 108): debuggerd: Dec 12 2010 12:46:44
D/AK8973 ( 115): AK8973 daemon 1.3.3 Start
D/AK8973 ( 115): (Library version : 1.2.1.620)
--------- beginning of /dev/log/system
I/Vold ( 106): Vold 2.1 (the revenge) firing up
I/Netd ( 107): Netd 1.0 starting
D/Vold ( 106): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 106): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 106): Volume emmc state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 106): Volume emmc state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 106): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 106): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
===========================
In comparison, when the phone was booting before, here is what the log would look like:
===========================
--------- beginning of /dev/log/main
I/cm ( 73): Welcome to Android 2.2.1 / CyanogenMod-6.1.0-Inc
I/cm ( 74): _
I/cm ( 75): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 76): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 77): )) _))
I/cm ( 78):
I//system/xbin/run-parts( 68): modprobe: chdir(2.6.32.26-invisiblek-aosp): No such file or directory
I//system/xbin/run-parts( 68): run-parts: /system/etc/init.d/04modules exited with code 1
I/mountsd ( 93): Checking filesystems..
I//system/xbin/run-parts( 68): e2fsck 1.41.10 (10-Feb-2009)
I//system/xbin/run-parts( 68): e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p1
I//system/xbin/run-parts( 68): Filesystem mounted or opened exclusively by another program?
E/mountsd ( 99): Unable to repair filesystem, disabling apps2sd
I/logwrapper( 68): /system/xbin/run-parts terminated by exit(1)
I/DEBUG ( 108): debuggerd: Dec 12 2010 12:46:44
D/AK8973 ( 115): AK8973 daemon 1.3.3 Start
D/AK8973 ( 115): (Library version : 1.2.1.620)
--------- beginning of /dev/log/system
I/Vold ( 106): Vold 2.1 (the revenge) firing up
I/Netd ( 107): Netd 1.0 starting
D/Vold ( 106): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 106): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 106): Volume emmc state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 106): Volume emmc state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 106): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 106): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/AndroidRuntime( 110):
D/AndroidRuntime( 110): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
I/AndroidRuntime( 110): Heap size: -Xmx32m
D/AndroidRuntime( 110): CheckJNI is OFF
D/dalvikvm( 110): creating instr width table
I/ ( 111): ServiceManager: 0xaec8
===========================
Are there any protection mechanisms that is preventing the phone from continuing the boot. If there is an issue with the library file, then I would expect a more specific error message when the library is loaded. However, it seems that the boot sequence is being aborted even before loading libwebcore.so or libskia.so
By the way, I have my phone rooted a long time ago. I think that was using the "unrevoked forever", and I have "SHIP S-OFF" on the main boot screen.
It finally worked!
I downloaded the ZIP file for the Cyanogn Nexus 6.1.1 from http://ardoid.com/?p=21 (I was starting from a CyanogenMod 6.1 for HTC Droid Incredible).
I repeated the same steps as before, but with the following exceptions:
- I copied the "libwebcore.so" file alone (didn't update the libskia.so).
- I rebooted the phone as usual rather than via ADB.
I am not sure which step made the difference, but at least my phone can boot, and most importantly, I can now see proper Arabic text in the browser. Other apps looks fine as well (tweetdeck, reader, etc.). I was even able to enter Arabic text using the browser (in Google search) and everything looked perfect.
I don't know what I might be missing by not updating ibskia.so, but things look really nice already.
Thanks Ayman for helping me out (via Twitter)!!!

[DEV] wildfire S new base (2.3.3)

sorry for my poor English
source from here : http://forum.xda-developers.com/showpost.php?p=12157080&postcount=1
extract system.img and repack
http://www.mediafire.com/?ulleq3cebpu7945
DO NOT FLASH IT. it doesn't boot on our wildfire..
here is my logcat.
Code:
--------- beginning of /dev/log/main
D/AK8975 ( 79): AK8975 daemon 1.1.0 Start
D/AK8975 ( 79): (Library version : 1.2.1.1125)
E/AK8975 ( 79): m_hDevice = -1
E/AK8975 ( 79): m_aDevice = 7
E/AK8975 ( 79): Device initialization failed.
E/AK8975 ( 79):
E/AK8975 ( 79): m_hDevice = -1
E/AK8975 ( 79): m_aDevice = 7
E/AK8975 ( 79): Device initialization failed.
E/AK8975 ( 79):
--------- beginning of /dev/log/system
I/Vold ( 71): Vold 2.1 (the revenge) firing up
E/AK8975 ( 79): m_hDevice = -1
E/AK8975 ( 79): m_aDevice = 7
E/AK8975 ( 79): Device initialization failed.
E/AK8975 ( 79):
D/Vold ( 71): usb_configuration switch is not enabled in the kernel
I/Netd ( 72): Netd 1.0 starting
D/Vold ( 71): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/DirectVolume( 71): device name = mmcblk0
D/Vold ( 71): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 71): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I//system/bin/iptables( 72): Flushing chain `INPUT'
I/DEBUG ( 73): debuggerd: Mar 15 2011 20:39:30
I//system/bin/iptables( 72): Flushing chain `OUTPUT'
I//system/bin/iptables( 72): Flushing chain `FORWARD'
I//system/bin/iptables( 72): Flushing chain `PREROUTING'
I//system/bin/iptables( 72): Flushing chain `POSTROUTING'
I//system/bin/iptables( 72): Flushing chain `OUTPUT'
D/AndroidRuntime( 75):
D/AndroidRuntime( 75): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 75): CheckJNI is OFF
I/dalvikvm( 75): mlock: /system/framework/core.odex, fd=10
I/dalvikvm( 75): mlock(1113931776, 4845544), fd=10
I/DEBUG ( 73): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 73): Build fingerprint: 'htccn_chs/htc_marvel/marvel:2.3.3/GRI40/24837:userdebug/test-keys'
I/DEBUG ( 73): pid: 75, tid: 75 >>> zygote <<<
I/DEBUG ( 73): thread: zygote
I/DEBUG ( 73): debuggerd: isSystemServerCrash=0, isEnableTellHTC=0
I/DEBUG ( 73): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 8001d980
I/DEBUG ( 73): r0 be944498 r1 42160318 r2 be944560 r3 be944550
I/DEBUG ( 73): r4 be944280 r5 0000cea0 r6 0000cea0 r7 42160318
I/DEBUG ( 73): r8 00000000 r9 be944560 10 00000000 fp 00000000
I/DEBUG ( 73): ip 800a77a4 sp be944278 lr 80021a18 pc 8001d980 cpsr 00000010
I/DEBUG ( 73): cannot get registers: I/O error
I/DEBUG ( 73): #00 pc 0001d980 /system/lib/libdvm.so
I/DEBUG ( 73): #01 lr 80021a18 /system/lib/libdvm.so
I/DEBUG ( 73):
I/DEBUG ( 73): code around pc:
I/DEBUG ( 73): 8001d960 e1a00000 e1a00000 e1a00000 e1a00000
I/DEBUG ( 73): 8001d970 e1a00000 e1a00000 e1a00000 e1a00000
I/DEBUG ( 73): 8001d980 ec808b10 e12fff1e ec908b10 e12fff1e
I/DEBUG ( 73): 8001d990 e1510003 ba000003 ca000004 e0500002
I/DEBUG ( 73): 8001d9a0 012fff1e 8a000001 e3e00000 e12fff1e
I/DEBUG ( 73):
I/DEBUG ( 73): code around lr:
I/DEBUG ( 73): 800219f8 e28d4008 e1a05000 e3a07001 e2840f86
I/DEBUG ( 73): 80021a08 e5cd7060 e1a09002 e1a07001 ebffefd9
I/DEBUG ( 73): 80021a18 e59f0144 e59f6144 e59f8144 e08fb000
I/DEBUG ( 73): 80021a28 e28dc064 e8bb000f e08f6006 e8ac000f
I/DEBUG ( 73): 80021a38 e89b0007 e796a008 e595e028 e597b020
I/DEBUG ( 73):
I/DEBUG ( 73): stack:
I/DEBUG ( 73): be944238 00400000
I/DEBUG ( 73): be94423c 00000000
I/DEBUG ( 73): be944240 42156bb0
I/DEBUG ( 73): be944244 00000000
I/DEBUG ( 73): be944248 4000d850
I/DEBUG ( 73): be94424c 00000000
I/DEBUG ( 73): be944250 42151fe8
I/DEBUG ( 73): be944254 8006a171 /system/lib/libdvm.so
I/DEBUG ( 73): be944258 be94426c
I/DEBUG ( 73): be94425c 00000078
I/DEBUG ( 73): be944260 4000d8e0
I/DEBUG ( 73): be944264 4000d8e0
I/DEBUG ( 73): be944268 42a77bd0
I/DEBUG ( 73): be94426c 0000000b
I/DEBUG ( 73): be944270 df002777
I/DEBUG ( 73): be944274 e3a070ad
I/DEBUG ( 73): #00 be944278 00000011
I/DEBUG ( 73): be94427c 00000028
I/DEBUG ( 73): be944280 00000000
I/DEBUG ( 73): be944284 4000d850
I/DEBUG ( 73): be944288 800a7674
I/DEBUG ( 73): be94428c 00000000
I/DEBUG ( 73): be944290 4000d850
I/DEBUG ( 73): be944294 8006abc7 /system/lib/libdvm.so
I/DEBUG ( 73): be944298 4000e240
I/DEBUG ( 73): be94429c 4000e240
I/DEBUG ( 73): be9442a0 000000a0
I/DEBUG ( 73): be9442a4 000000a0
I/DEBUG ( 73): be9442a8 4000c018
I/DEBUG ( 73): be9442ac 00000001
I/DEBUG ( 73): be9442b0 ffffffff
I/DEBUG ( 73): be9442b4 4000c280
I/DEBUG ( 73): be9442b8 800ad298
I/DEBUG ( 73): be9442bc 800a7674
I/Netd ( 114): Netd 1.0 starting
I//system/bin/iptables( 114): Flushing chain `INPUT'
I//system/bin/iptables( 114): Flushing chain `OUTPUT'
I//system/bin/iptables( 114): Flushing chain `FORWARD'
I//system/bin/iptables( 114): Flushing chain `PREROUTING'
I//system/bin/iptables( 114): Flushing chain `POSTROUTING'
I//system/bin/iptables( 114): Flushing chain `OUTPUT'
D/AndroidRuntime( 131):
D/AndroidRuntime( 131): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 131): CheckJNI is OFF
I/dalvikvm( 131): mlock: /system/framework/core.odex, fd=10
I/dalvikvm( 131): mlock(1113931776, 4845544), fd=10
I/DEBUG ( 73): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
*old version(2.3.2) boot on magic(sapphire) successfully.
http://forum.xda-developers.com/showpost.php?p=12137040&postcount=35
so I believe ARMv6 problem can be overcome...
Thanks.... I'M working on it
If u get it to work I would donate as a few of tryed but got stook
Sent from my HTC Wildfire using XDA App

[Q] I need some help with this logcat, if some more experianced devs can take a look

I am working on something, been playing in the Kernel+initramfs corner all day.
Finally got the tab to boot, even if it doesnt draw a UI, its past the Bootlooping.
Problem is, I just dont understand what some of this stuff means, i am pretty green on the kernel level, and porting.
So, can yall pitch in, help me figure out what this stuff means. I would appreciate.
Jim
to much text to paste, so i will zip it an attach the file instead.
Whatever happened to this problem?
blacklevel said:
Whatever happened to this problem?
Click to expand...
Click to collapse
I had rebuilt the kernel and ramdisk, didnt want to bring that thread back to life.
regarding this LC, i see at least in my inexperience, the obvious Dbus issue, possible cache issue with the init, i have a theory that at a minimum fixing the sdcard mount issue might fix the cache issue, the dbus, well i am about to yank all references out of the init in hopes it fixes that issue as I think the source rom i am porting not having a dbus and my putting one in as the init was looking for one, may be the problem.
And in theory, the app and framework problems might be solved whgen the caching issue is fixed?
Am i on the right path?
You definitely need dbus running.
On my GSM tab with technomancers latest CM7 the first few lines in the logcat look like this:
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 82): debuggerd: Aug 7 2011 19:55:51
--------- beginning of /dev/log/system
I/Vold ( 80): Vold 2.1 (the revenge) firing up
I/cm ( 106): Welcome to Android 2.3.5 / CyanogenMod-7-2011-08-07-Beta-GalaxyTab-KANG
I/cm ( 108): _
I/cm ( 110): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 111): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 112): )) _))
I/cm ( 113):
D/Vold ( 80): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume emmc state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 80): Volume emmc state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 80): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 80): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/Netd ( 81): Netd 1.0 starting
D/Vold ( 80): USB connected
D/Vold ( 80): Share method ums now available
D/Vold ( 80): USB connected
I/logwrapper( 75): /system/xbin/busybox terminated by exit(0)
Yes, there are no references to dbus. But it is still running:
Code:
~# ps w
(...)
87 root 1272 S /system/bin/dbus-daemon --system --nofork
(...)
These are the corresponding lines the logcat you provided here:
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 81): debuggerd: Aug 7 2011 19:55:51
I/cm ( 104): Welcome to Android 2.3.5 / CyanogenMod-7-2011-08-07-Beta-GalaxyTab-KANG
I/cm ( 106): _
W/libdbus ( 85): Failed to start message bus: Failed to open "/etc/dbus.conf": Permission denied
I/cm ( 108): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 110): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 112): )) _))
I/cm ( 114):
I//system/xbin/busybox( 75): sysctl: /etc/sysctl.conf: No such file or directory
--------- beginning of /dev/log/system
I/Vold ( 79): Vold 2.1 (the revenge) firing up
E/Vold ( 79): Error reading configuration (No such file or directory)... continuing anyways
D/Vold ( 79): USB connected
D/Vold ( 79): Share method ums now available
I/Netd ( 80): Netd 1.0 starting
I/logwrapper( 75): /system/xbin/busybox terminated by exit(0)
You can see that both, dbus and vold are borked. Also /etc/sysctl.conf is not accessible. Maybe these problems are all for the same reason.
Can you check if /etc exists at all? It should be a symbolic link to /system/etc. Perhaps it is just that this link is not created. Perhaps the permissions of the /system/etc directory are wrong.
How is the initramfs configured?
I needed to update this thread.
Got past dbus, cache and /etc/sysctl.conf issue.
System booted to animated skating droid, and the 2 large issues currently are an EGL Bad Display, and Zygote. otherwise logcat looks ok so far.
I had to modify the init from the Sprint kernel i had originally released for the 2 Gingerbread roms for the tab, I removed all references to the GSM cache and partitions setup.
Right now, EGL and Zygote are my focus. I dont understand where the problem, is am basically running a sprint kernel 2.3.4 from source, so same video drivers.
I am so new to some of this more technical stuff, I have learned so much in past few days, but, i tool along as best I can
Great, you made some progress. How does the logcat currently look like?

[Q] ADS_magpie-20110729 + gapps-mdpi-gb-20110709: java/lang/NullPointerException

It's a follow up of the thread [Q] ADS_magpie-20110729-signed.zip: android.process.acore stopped unexpectedly.
The phone setup is as before:
Phone: ADP1 (DREAM PVT 32B SHIP S-ON CPLD-4)
ROM: ADS_magpie-20110729 + gapps-mdpi-gb-20110709
Recovery: RA-dream-v1.7.0
Radio: 2.22.28.25
Spl:1.33.0013d
SD: 8GB = 128MB swap / 512MB ext4 / FAT
Playing around with the phone result in Dalvik crashes:
Code:
W/dalvikvm( 1054): Exception Ljava/lang/NullPointerException; thrown while initializing Lcom/google/android/syncadapters/contacts/ContactsSyncAdapterService;
W/dalvikvm( 1054): Class init failed in newInstance call (Lcom/google/android/syncadapters/contacts/ContactsSyncAdapterService;)
I/DEBUG ( 1044): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1044): Build fingerprint: 'google/soju/crespo:2.3.3/GRI40/102588:user/release-keys'
I/DEBUG ( 1044): pid: 1054, tid: 1054 >>> com.google.process.gapps <<<
I/DEBUG ( 1044): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000002
I/DEBUG ( 1044): r0 00000000 r1 00000004 r2 ffffffff r3 00000000
I/DEBUG ( 1044): r4 fffffffa r5 00000003 r6 00000000 r7 416fcee8
I/DEBUG ( 1044): r8 aca11f80 r9 0000ce40 10 416fce2c fp beacd760
I/DEBUG ( 1044): ip 80000004 sp beacd418 lr aca31581 pc aca3eade cpsr 80000030
I/DEBUG ( 1044): #00 pc 0003eade /system/lib/libdvm.so
I/DEBUG ( 1044): #01 pc 000605b8 /system/lib/libdvm.so
I/DEBUG ( 1044): #02 pc 00017014 /system/lib/libdvm.so
I/DEBUG ( 1044): #03 pc 0001c100 /system/lib/libdvm.so
I/DEBUG ( 1044): #04 pc 0001affc /system/lib/libdvm.so
I/DEBUG ( 1044): #05 pc 000593da /system/lib/libdvm.so
I/DEBUG ( 1044): #06 pc 000595fe /system/lib/libdvm.so
I/DEBUG ( 1044): #07 pc 0003f01e /system/lib/libdvm.so
I/DEBUG ( 1044): #08 pc 00059598 /system/lib/libdvm.so
I/DEBUG ( 1044): #09 pc 00060f2e /system/lib/libdvm.so
I/DEBUG ( 1044): #10 pc 00017014 /system/lib/libdvm.so
I/DEBUG ( 1044): #11 pc 0001c100 /system/lib/libdvm.so
I/DEBUG ( 1044): #12 pc 0001affc /system/lib/libdvm.so
I/DEBUG ( 1044): #13 pc 000593da /system/lib/libdvm.so
I/DEBUG ( 1044): #14 pc 000459e4 /system/lib/libdvm.so
I/DEBUG ( 1044): #15 pc 000342cc /system/lib/libandroid_runtime.so
I/DEBUG ( 1044): #16 pc 000350e6 /system/lib/libandroid_runtime.so
I/DEBUG ( 1044): #17 pc 00008ca2 /system/bin/app_process
I/DEBUG ( 1044): #18 pc 000150fc /system/lib/libc.so
I/DEBUG ( 1044):
I/DEBUG ( 1044): code around pc:
I/DEBUG ( 1044): aca3eabc 33d458ab 42886819 f027d006 2800f897
I/DEBUG ( 1044): aca3eacc 1c27d102 e0092500 2c00683c e7f8d1e9
I/DEBUG ( 1044): aca3eadc 68a03c14 1e426824 182d4190 d1f72c00
I/DEBUG ( 1044): aca3eaec 2d002000 9c00d032 d00a2c00 20490069
I/DEBUG ( 1044): aca3eafc f0222200 1e04fffb 1c23d02b 20003310
I/DEBUG ( 1044):
I/DEBUG ( 1044): code around lr:
I/DEBUG ( 1044): aca31560 d1112800 60e53501 9b019800 60606027
I/DEBUG ( 1044): aca31570 1c6860a3 004160e0 1c320849 e8bcf7e0
I/DEBUG ( 1044): aca31580 d0012800 fa92f00e bdf0b003 1e04b510
I/DEBUG ( 1044): aca31590 68a0d005 ef72f7df f7df1c20 bd10ef70
I/DEBUG ( 1044): aca315a0 1c05b570 20012120 ef7af7df d00e1e04
I/DEBUG ( 1044):
I/DEBUG ( 1044): stack:
I/DEBUG ( 1044): beacd3d8 beacd3e0
I/DEBUG ( 1044): beacd3dc 0000dfc0
I/DEBUG ( 1044): beacd3e0 407ad220
I/DEBUG ( 1044): beacd3e4 401cc8c8
I/DEBUG ( 1044): beacd3e8 00000001
I/DEBUG ( 1044): beacd3ec aca65c5d /system/lib/libdvm.so
I/DEBUG ( 1044): beacd3f0 00000002
I/DEBUG ( 1044): beacd3f4 401ccaf0
I/DEBUG ( 1044): beacd3f8 00000000
I/DEBUG ( 1044): beacd3fc 00000002
I/DEBUG ( 1044): beacd400 00000004
I/DEBUG ( 1044): beacd404 416fcec8
I/DEBUG ( 1044): beacd408 aca9e5c0
I/DEBUG ( 1044): beacd40c 00000000
I/DEBUG ( 1044): beacd410 df002777
I/DEBUG ( 1044): beacd414 e3a070ad
I/DEBUG ( 1044): #00 beacd418 00000001
I/DEBUG ( 1044): beacd41c fffffec4
I/DEBUG ( 1044): beacd420 00000fae
I/DEBUG ( 1044): beacd424 beacd490
I/DEBUG ( 1044): beacd428 416fce54
I/DEBUG ( 1044): beacd42c beacd488
I/DEBUG ( 1044): beacd430 401cc8c8
I/DEBUG ( 1044): beacd434 aca605bd /system/lib/libdvm.so
I/DEBUG ( 1044): #01 beacd438 41e5be0c
I/DEBUG ( 1044): beacd43c aca17018 /system/lib/libdvm.so
W/dalvikvm( 1054): threadid=3: spin on suspend #1 threadid=1 (pcf=0)
W/dalvikvm( 1054): threadid=3: spin on suspend #2 threadid=1 (pcf=0)
I/dalvikvm( 1054): "GC" daemon prio=5 tid=3 RUNNABLE
I/dalvikvm( 1054): | group="system" sCount=0 dsCount=0 obj=0x406d10f8 self=0x129cd0
I/dalvikvm( 1054): | sysTid=1056 nice=0 sched=0/0 cgrp=default handle=584024
I/dalvikvm( 1054): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 1054):
I/dalvikvm( 1054): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 1054): | group="main" sCount=1 dsCount=0 obj=0x401e2190 self=0xce40
I/dalvikvm( 1054): | sysTid=1054 nice=0 sched=0/0 cgrp=default handle=-1345006496
I/dalvikvm( 1054): DumpRunning: bad offset found: 7740940 (from 0x416fa000 0x41e5be0c)
I/dalvikvm( 1054): at java.lang.Throwable.nativeFillInStackTrace(Native Method)
I/dalvikvm( 1054): at java.lang.Throwable.fillInStackTrace(Throwable.java:135)
I/dalvikvm( 1054): at java.lang.Throwable.<init>(Throwable.java:74)
I/dalvikvm( 1054): at java.lang.Throwable.<init>(Throwable.java:99)
I/dalvikvm( 1054): at java.lang.Exception.<init>(Exception.java:61)
I/dalvikvm( 1054): at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:50)
I/dalvikvm( 1054): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 1054): at java.lang.reflect.Method.invoke(Method.java:507)
I/DEBUG ( 1044): debuggerd committing suicide to free the zombie!
I/DEBUG ( 1073): debuggerd: Jul 15 2011 18:22:13
I/ActivityManager( 436): Process com.google.process.gapps (pid 1054) has died.
W/ActivityManager( 436): Scheduling restart of crashed service com.google.android.syncadapters.contacts/.ContactsSyncAdapterService in 80000ms
W/ActivityManager( 436): Scheduling restart of crashed service com.google.android.gsf/.gtalkservice.service.GTalkService in 89999ms
D/Zygote ( 428): Process 1054 terminated by signal (11)
I/power ( 436): *** set_screen_state 0
D/AKMD ( 153): Compass CLOSE
E/talk ( 1024): onSaveInstanceState: caught
E/talk ( 1024): android.os.DeadObjectException
E/talk ( 1024): at android.os.BinderProxy.transact(Native Method)
E/talk ( 1024): at com.google.android.gtalkservice.IImSession$Stub$Proxy.getAccountId(IImSession.java:496)
E/talk ( 1024): at com.google.android.talk.RosterListActivity.onSaveInstanceState(RosterListActivity.java:168)
E/talk ( 1024): at android.app.Activity.performSaveInstanceState(Activity.java:1037)
E/talk ( 1024): at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1181)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2336)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2311)
E/talk ( 1024): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2291)
E/talk ( 1024): at android.app.ActivityThread.access$1700(ActivityThread.java:117)
E/talk ( 1024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:938)
E/talk ( 1024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/talk ( 1024): at android.os.Looper.loop(Looper.java:130)
E/talk ( 1024): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/talk ( 1024): at java.lang.reflect.Method.invokeNative(Native Method)
E/talk ( 1024): at java.lang.reflect.Method.invoke(Method.java:507)
E/talk ( 1024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/talk ( 1024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/talk ( 1024): at dalvik.system.NativeStart.main(Native Method)
D/SurfaceFlinger( 436): About to give-up screen, flinger = 0x1b49f0
I/ActivityManager( 436): Start proc com.google.process.gapps for service com.google.android.gsf/.loginservice.GoogleLoginService: pid=1074 uid=10004 gids={3003, 1015, 2001, 1007}
W/IInputConnectionWrapper( 436): showStatusIcon on inactive InputConnection
D/szipinf ( 1074): Initializing inflate state
I/ActivityThread( 1074): Pub com.google.settings: com.google.android.gsf.settings.GoogleSettingsProvider
I/ActivityThread( 1074): Pub subscribedfeeds: com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider
D/dalvikvm( 1074): GC_CONCURRENT freed 407K, 51% free 2790K/5639K, external 0K/0K, paused 7ms+15ms
I/ActivityThread( 1074): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
I/GservicesProvider( 1074): Gservices pushing to system: true; secure: true
I/ActivityThread( 1074): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
D/SyncManager( 436): setSyncAutomatically: , provider subscribedfeeds -> true
D/SyncManager( 436): setSyncAutomatically: already set to true, doing nothing
D/KeyguardViewMediator( 436): wakeWhenReadyLocked(82)
I/power ( 436): *** set_screen_state 1
D/AKMD ( 153): Compass OPEN
E/talk ( 1024): initSession: caught android.os.DeadObjectException
D/SurfaceFlinger( 436): Screen about to return, flinger = 0x1b49f0
D/dalvikvm( 436): GC_CONCURRENT freed 664K, 39% free 5285K/8647K, external 600K/1800K, paused 18ms+16ms
W/InputManagerService( 436): Window already focused, ignoring focus gain of: [email protected]
W/InputManagerService( 436): Starting input on non-focused client [email protected] (uid=1000 pid=436)
I/ActivityManager( 436): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/com.android.launcher2.Launcher } from pid 436
E/talk ( 1024): onSaveInstanceState: caught
E/talk ( 1024): android.os.DeadObjectException
E/talk ( 1024): at android.os.BinderProxy.transact(Native Method)
E/talk ( 1024): at com.google.android.gtalkservice.IImSession$Stub$Proxy.getAccountId(IImSession.java:496)
E/talk ( 1024): at com.google.android.talk.RosterListActivity.onSaveInstanceState(RosterListActivity.java:168)
E/talk ( 1024): at android.app.Activity.performSaveInstanceState(Activity.java:1037)
E/talk ( 1024): at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1181)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2336)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2311)
E/talk ( 1024): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2291)
E/talk ( 1024): at android.app.ActivityThread.access$1700(ActivityThread.java:117)
E/talk ( 1024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:938)
E/talk ( 1024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/talk ( 1024): at android.os.Looper.loop(Looper.java:130)
E/talk ( 1024): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/talk ( 1024): at java.lang.reflect.Method.invokeNative(Native Method)
E/talk ( 1024): at java.lang.reflect.Method.invoke(Method.java:507)
E/talk ( 1024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/talk ( 1024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/talk ( 1024): at dalvik.system.NativeStart.main(Native Method)
E/talk ( 1024): removeRemoteListeners caught
E/talk ( 1024): android.os.DeadObjectException
E/talk ( 1024): at android.os.BinderProxy.transact(Native Method)
E/talk ( 1024): at com.google.android.gtalkservice.IImSession$Stub$Proxy.removeConnectionStateListener(IImSession.java:634)
E/talk ( 1024): at com.google.android.talk.BuddyList.removeRemoteListeners(BuddyList.java:981)
E/talk ( 1024): at com.google.android.talk.RosterListActivity.onStop(RosterListActivity.java:140)
E/talk ( 1024): at com.google.android.talk.BuddyList.onStop(BuddyList.java:570)
E/talk ( 1024): at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1170)
E/talk ( 1024): at android.app.Activity.performStop(Activity.java:3873)
E/talk ( 1024): at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:2427)
E/talk ( 1024): at android.app.ActivityThread.handleStopActivity(ActivityThread.java:2475)
E/talk ( 1024): at android.app.ActivityThread.access$1800(ActivityThread.java:117)
E/talk ( 1024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:948)
E/talk ( 1024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/talk ( 1024): at android.os.Looper.loop(Looper.java:130)
E/talk ( 1024): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/talk ( 1024): at java.lang.reflect.Method.invokeNative(Native Method)
E/talk ( 1024): at java.lang.reflect.Method.invoke(Method.java:507)
E/talk ( 1024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/talk ( 1024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/talk ( 1024): at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager( 436): Starting: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.android.browser/.BrowserActivity } from pid 541
I/ActivityManager( 436): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=1089 uid=10014 gids={3003, 1015}
I/ActivityManager( 436): Process com.android.deskclock (pid 913) has died.
The whole logcat since installation cat be found attached.
Strange ... can you give me a dump of
Code:
df -h
I would like to be sure, that there is / was enough space on /system.
Here is the disk free human readable dump of this phone:
Code:
Filesystem Size Used Available Use% Mounted on
tmpfs 55.0M 32.0K 54.9M 0% /dev
tmpfs 55.0M 0 55.0M 0% /mnt/asec
tmpfs 55.0M 0 55.0M 0% /mnt/obb
/dev/block/mtdblock3 91.0M 76.1M 14.9M 84% /system
/dev/block/mtdblock5 91.8M 73.0M 18.8M 80% /data
/dev/block/mtdblock4 27.0M 1.1M 25.9M 4% /cache
/dev/block/loop0 768.0K 768.0K 0 100% /system/lib/modules
/dev/block/loop1 2.5M 2.5M 0 100% /system/fonts
/dev/block/vold/179:1
6.9G 186.1M 6.7G 3% /mnt/sdcard
/dev/block/vold/179:1
6.9G 186.1M 6.7G 3% /mnt/secure/asec
/dev/block/dm-0 3.1M 1.1M 2.0M 35% /mnt/asec/de.anormalmedia.android.lw.cits-1
/dev/block/dm-1 2.0M 528.0K 1.5M 25% /mnt/asec/com.google.zxing.client.android-1
Most likely I found the reason:
Code:
...
I/Database( 389): sqlite returned: error code = 11, msg = database corruption at line 45898 of [42537b6056]
I/Database( 389): sqlite returned: error code = 11, msg = database corruption at line 45936 of [42537b6056]
I/Database( 389): sqlite returned: error code = 11, msg = statement aborts at 24: [SELECT _id, raw_contact_id, data_sync2, data_sync1, data_version FROM view_data_restricted data WHERE (account_name='[email protected]' AND account_type='com.google') AND (mimetype=? AND data_sync2 IS NOT NULL AND (data_sync3 IS NULL OR data_sync3!=data_sync2) AND data_sync1 IS NOT NULL)] database disk image is malformed
I/InstallAppProgress( 1847): Finished installing de.anormalmedia.android.lw.cits
E/Database( 389): Removing corrupt database: /data/data/com.android.providers.contacts/databases/contacts2.db
I/ActivityManager( 174): Start proc org.openintents.filemanager for activity org.openintents.filemanager/.FileManagerActivity: pid=1985 uid=10038 gids={1015}
I/ActivityManager( 174): Process android.process.media (pid 1926) has died.
I/ActivityThread( 1985): Pub org.openintents.filemanager: org.openintents.filemanager.FileManagerProvider
I/EulaOrNewVersion( 1985): Eula has been accepted.
I/EulaOrNewVersion( 1985): Same version 17 as last launch.
E/DatabaseUtils( 389): Writing exception to parcel
E/DatabaseUtils( 389): android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:73)
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:287)
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:268)
E/DatabaseUtils( 389): at android.database.CursorToBulkCursorAdaptor.count(CursorToBulkCursorAdaptor.java:132)
E/DatabaseUtils( 389): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:118)
E/DatabaseUtils( 389): at android.os.Binder.execTransact(Binder.java:320)
E/DatabaseUtils( 389): at dalvik.system.NativeStart.run(Native Method)
I don't know, why your contact's database gets corrupted, but after that you got the NullpointerExceptions from the ContacsSyncAdapter.
I've done a "master clear" over the "Settings" menu. The result a lot of exceptions attached. Here a snapshot:
Code:
W/SettingsProvider( 185): Unable to add bookmark: com.google.android.gm/com.google.android.gm.ConversationListActivityGmail
W/SettingsProvider( 185): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.google.android.gm/com.google.android.gm.ConversationListActivityGmail}
W/SettingsProvider( 185): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1842)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:887)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:925)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.onCreate(DatabaseHelper.java:135)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:126)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:404)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:323)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:259)
W/SettingsProvider( 185): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
W/SettingsProvider( 185): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
W/SettingsProvider( 185): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
W/SettingsProvider( 185): at android.app.ActivityThread.installSystemProviders(ActivityThread.java:3660)
W/SettingsProvider( 185): at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:5567)
W/SettingsProvider( 185): at com.android.server.ServerThread.run(SystemServer.java:182)
W/SettingsProvider( 185): Unable to add bookmark: com.android.im/com.android.im.app.LandingPage
W/SettingsProvider( 185): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.android.im/com.android.im.app.LandingPage}
W/SettingsProvider( 185): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1842)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:887)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:925)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.onCreate(DatabaseHelper.java:135)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:126)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:404)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:323)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:259)
W/SettingsProvider( 185): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
W/SettingsProvider( 185): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
W/SettingsProvider( 185): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
W/SettingsProvider( 185): at android.app.ActivityThread.installSystemProviders(ActivityThread.java:3660)
W/SettingsProvider( 185): at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:5567)
W/SettingsProvider( 185): at com.android.server.ServerThread.run(SystemServer.java:182)
Code:
D/EmailProvider( 497): Creating EmailProvider database
E/AndroidRuntime( 497): FATAL EXCEPTION: main
E/AndroidRuntime( 497): java.lang.RuntimeException: Unable to create service com.android.exchange.SyncManager: java.lang.NullPointerException
E/AndroidRuntime( 497): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1955)
E/AndroidRuntime( 497): at android.app.ActivityThread.access$2500(ActivityThread.java:117)
E/AndroidRuntime( 497): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
E/AndroidRuntime( 497): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 497): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 497): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 497): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 497): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 497): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/AndroidRuntime( 497): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/AndroidRuntime( 497): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 497): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 497): at com.android.email.Utility.getConsistentDeviceId(Utility.java:601)
E/AndroidRuntime( 497): at com.android.exchange.SyncManager.getDeviceIdInternal(SyncManager.java:1064)
E/AndroidRuntime( 497): at com.android.exchange.SyncManager.getDeviceId(SyncManager.java:1041)
E/AndroidRuntime( 497): at com.android.exchange.SyncManager.onCreate(SyncManager.java:1767)
E/AndroidRuntime( 497): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1945)
E/AndroidRuntime( 497): ... 10 more
V/ContactsProvider( 417): Completed import of legacy contacts
Code:
I/ActivityManager( 185): Starting: Intent { act=android.intent.action.INSERT dat=content://telephony/carriers cmp=com.android.settings/.ApnEditor } from pid 718
D/TelephonyProvider( 365): inserted port= authtype=-1 protocol=IP mmsproxy= roaming_protocol=IP proxy= name= server= apn= password= user= mmsport= rowID = 23
D/dalvikvm( 365): GC_CONCURRENT freed 473K, 47% free 3381K/6279K, external 0K/0K, paused 8ms+9ms
E/TelephonyProvider( 365): Failed setting numeric '26207' to the current operator
I/TelephonyRegistry( 185): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=apnChanged interfaceName=null networkType=8
W/dalvikvm( 718): threadid=9: thread exiting with uncaught exception (group=0x40258560)
E/AndroidRuntime( 718): FATAL EXCEPTION: pool-1-thread-1
E/AndroidRuntime( 718): java.lang.NoSuchMethodError: 
E/AndroidRuntime( 718): at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:182)
E/AndroidRuntime( 718): at android.app.ContextImpl$SharedPreferencesImpl.writeToFile(ContextImpl.java:3167)
E/AndroidRuntime( 718): at android.app.ContextImpl$SharedPreferencesImpl.access$800(ContextImpl.java:2732)
E/AndroidRuntime( 718): at android.app.ContextImpl$SharedPreferencesImpl$1.run(ContextImpl.java:3082)
E/AndroidRuntime( 718): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
E/AndroidRuntime( 718): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
E/AndroidRuntime( 718): at java.lang.Thread.run(Thread.java:1019)
I/DEBUG ( 149): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 149): Build fingerprint: 'google/soju/crespo:2.3.3/GRI40/102588:user/release-keys'
I/DEBUG ( 149): pid: 718, tid: 728 >>> com.android.settings <<<
I/DEBUG ( 149): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 149): r0 00000000 r1 00000370 r2 00000010 r3 00000100
I/DEBUG ( 149): r4 40093ec8 r5 0017f098 r6 aca9e5c0 r7 40093edc
I/DEBUG ( 149): r8 aca11f80 r9 00000000 10 0017f098 fp 444d0ed8
I/DEBUG ( 149): ip 00000010 sp 444d0b88 lr aca1710c pc aca3edfa cpsr 20000030
W/ActivityManager( 185): Force finishing activity com.android.settings/.ApnEditor
W/ActivityManager( 185): Force finishing activity com.android.settings/.ApnSettings
W/ActivityManager( 185): Activity pause timeout for HistoryRecord{4094a7d8 com.android.settings/.ApnEditor}
I/DEBUG ( 149): #00 pc 0003edfa /system/lib/libdvm.so
I/DEBUG ( 149): #01 pc 00017108 /system/lib/libdvm.so
I/DEBUG ( 149):
I/DEBUG ( 149): code around pc:
I/DEBUG ( 149): aca3edd8 009122dc 1c054e30 4c306a87 46622080
I/DEBUG ( 149): aca3ede8 00439300 9404447e 93029101 1c3c9805
I/DEBUG ( 149): aca3edf8 68033c14 1c2868a1 fedcf7ff 28009003
I/DEBUG ( 149): aca3ee08 9b00da3f d11a2b00 98019b04 581158f2
I/DEBUG ( 149): aca3ee18 d0142900 009823e6 29005811 68a1d004
I/DEBUG ( 149):
I/DEBUG ( 149): code around lr:
I/DEBUG ( 149): aca170ec e52dc004 e5961010 e1a0000a e5911020
I/DEBUG ( 149): aca170fc e1a02009 e0441001 e1a010c1 fa009f30
I/DEBUG ( 149): aca1710c e5da1024 e3510000 0a000004 e1a05000
I/DEBUG ( 149): aca1711c e1a0000a e1a01009 fa010669 e1a00005
I/DEBUG ( 149): aca1712c e59d5004 e3500000 e28dd008 4a00000f
I/DEBUG ( 149):
I/DEBUG ( 149): stack:
I/DEBUG ( 149): 444d0b48 00000004
I/DEBUG ( 149): 444d0b4c 40251b00
I/DEBUG ( 149): 444d0b50 40093df8
I/DEBUG ( 149): 444d0b54 aca11db8 /system/lib/libdvm.so
I/DEBUG ( 149): 444d0b58 00000000
I/DEBUG ( 149): 444d0b5c 00000000
I/DEBUG ( 149): 444d0b60 407e3400
I/DEBUG ( 149): 444d0b64 41d6ed90
I/DEBUG ( 149): 444d0b68 41735058
I/DEBUG ( 149): 444d0b6c 0017f098
I/DEBUG ( 149): 444d0b70 40251b00
I/DEBUG ( 149): 444d0b74 ad119029 /system/lib/libnativehelper.so
I/DEBUG ( 149): 444d0b78 41735058
I/DEBUG ( 149): 444d0b7c 0017f098
I/DEBUG ( 149): 444d0b80 df002777
I/DEBUG ( 149): 444d0b84 e3a070ad
I/DEBUG ( 149): #00 444d0b88 00000000
I/DEBUG ( 149): 444d0b8c 00000370
I/DEBUG ( 149): 444d0b90 00000100
I/DEBUG ( 149): 444d0b94 444d0c10
I/DEBUG ( 149): 444d0b98 fffffec4
I/DEBUG ( 149): 444d0b9c 00000000
I/DEBUG ( 149): 444d0ba0 444d0c08
I/DEBUG ( 149): 444d0ba4 425f6338
I/DEBUG ( 149): 444d0ba8 40093edc
I/DEBUG ( 149): 444d0bac 444d0c08
I/DEBUG ( 149): 444d0bb0 00003072
I/DEBUG ( 149): 444d0bb4 aca1710c /system/lib/libdvm.so
I/DEBUG ( 149): #01 444d0bb8 444d0bbc
I/DEBUG ( 149): 444d0bbc 40093edc
I/DEBUG ( 149): 444d0bc0 00000000
I/DEBUG ( 149): 444d0bc4 444d0c08
I/DEBUG ( 149): 444d0bc8 00000001
I/DEBUG ( 149): 444d0bcc 001605e8
I/DEBUG ( 149): 444d0bd0 0017f0a0
I/DEBUG ( 149): 444d0bd4 00016f10
I/DEBUG ( 149): 444d0bd8 41d9a8ec
I/DEBUG ( 149): 444d0bdc 00000000
I/DEBUG ( 149): 444d0be0 444d0ed8
I/DEBUG ( 149): 444d0be4 aca1c104 /system/lib/libdvm.so
I/DEBUG ( 149): 444d0be8 444d0c08
I/DEBUG ( 149): 444d0bec 0017f098
I/DEBUG ( 149): 444d0bf0 aca1c074 /system/lib/libdvm.so
I/DEBUG ( 149): 444d0bf4 4171da84
I/DEBUG ( 149): 444d0bf8 fffffec4
I/DEBUG ( 149): 444d0bfc aca1b000 /system/lib/libdvm.so
W/dalvikvm( 718): threadid=3: spin on suspend #1 threadid=10 (pcf=0)
W/dalvikvm( 718): threadid=3: spin on suspend #2 threadid=10 (pcf=0)
I/dalvikvm( 718): "GC" daemon prio=5 tid=3 RUNNABLE
I/dalvikvm( 718): | group="system" sCount=0 dsCount=0 obj=0x40750360 self=0x1ca110
I/dalvikvm( 718): | sysTid=720 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1224328
I/dalvikvm( 718): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 718):
I/dalvikvm( 718): "pool-1-thread-2" prio=5 tid=10 RUNNABLE
I/dalvikvm( 718): | group="main" sCount=1 dsCount=0 obj=0x407dc870 self=0x17f098
I/dalvikvm( 718): | sysTid=728 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1569232
I/dalvikvm( 718): at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:~182)
I/dalvikvm( 718): at android.app.ContextImpl$SharedPreferencesImpl.writeToFile(ContextImpl.java:3167)
I/dalvikvm( 718): at android.app.ContextImpl$SharedPreferencesImpl.access$800(ContextImpl.java:2732)
I/dalvikvm( 718): at android.app.ContextImpl$SharedPreferencesImpl$1.run(ContextImpl.java:3082)
I/dalvikvm( 718): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
I/dalvikvm( 718): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
I/dalvikvm( 718): at java.lang.Thread.run(Thread.java:1019)
I/dalvikvm( 718):
I/DEBUG ( 149): debuggerd committing suicide to free the zombie!
I/DEBUG ( 731): debuggerd: Jul 15 2011 18:22:13
I/ActivityManager( 185): Process com.android.settings (pid 718) has died.
The whole logcat is attached. It's a morge general problem of installation but where to start?
Did'n look at your logcat at the moment, but probably you could send me the logcat from flashing, too. There were two other guys who had bad NAND and the "old" system was not erased. I would like to exclude, that you have a similar problem.
Sent from my Gingerbread on Dream using XDA App
I assume you are looking for the recovery.log created in SPL. I've done a whole wipe and redone the installation. All files I know are attached.
Playing arround I've found the following logcat entry:
Code:
E/Database( 442): Failure 10 (disk I/O error) on 0x148698 when executing 'COMMIT;'
E/Gmail ( 442): Mail sync failed
E/Gmail ( 442): android.database.sqlite.SQLiteDiskIOException: disk I/O error: COMMIT;
E/Gmail ( 442): at android.database.sqlite.SQLiteDatabase.native_execSQL(Native Method)
E/Gmail ( 442): at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1763)
E/Gmail ( 442): at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:583)
E/Gmail ( 442): at com.google.android.gm.provider.MailCore.setCustomFromPreference(MailCore.java:1567)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine$PublicMailStore.setCustomFromPreference(MailEngine.java:3545)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleStartSyncInfoProto(MailSync.java:1476)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleResponseProto(MailSync.java:956)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleResponse(MailSync.java:864)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleSyncResponse(MailSync.java:844)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.sendRequest(MailEngine.java:1543)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.runSyncLoop(MailEngine.java:1505)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.sync(MailEngine.java:1393)
E/Gmail ( 442): at com.google.android.gm.provider.MailSyncAdapterService$SyncAdapterImpl.onPerformLoggedSync(MailSyncAdapterService.java:61)
E/Gmail ( 442): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
E/Gmail ( 442): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
D/SyncManager( 174): failed sync operation authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 850665 expedited: false, SyncResult: databaseError: true stats []
D/SyncManager( 174): not retrying sync operation because the error is a hard error: authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 851914 expedited: false
I/dalvikvm( 274): Jit: resizing JitTable from 1024 to 2048
I/Database( 442): sqlite returned: error code = 2570, msg = statement aborts at 93: [select conversations_to_fetch._id as _id, max(
I/Database( 442): case when not clientCreated then messages.messageId else 0 end)
I/Database( 442): as highestMessageId, max(messages.clientCreated) as hasClientCreatedMessages from conversations_to_fetch left outer join messages on messages.conversation = conversations_to_fetch._id and messages.synced = 1 where nextAttemptDateMs < ?group by conversations_to_fetch._id order by conversations_to_fetch._id desc limit 50] disk I/O error
E/Gmail ( 442): Mail sync failed
E/Gmail ( 442): android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/Gmail ( 442): at android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
E/Gmail ( 442): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:73)
E/Gmail ( 442): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:287)
E/Gmail ( 442): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:268)
E/Gmail ( 442): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:171)
E/Gmail ( 442): at android.database.AbstractCursor.moveToNext(AbstractCursor.java:256)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine$PublicMailStore.getConversationInfosToFetch(MailEngine.java:3802)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.nextSyncRequest(MailSync.java:669)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.runSyncLoop(MailEngine.java:1462)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.sync(MailEngine.java:1393)
E/Gmail ( 442): at com.google.android.gm.provider.MailSyncAdapterService$SyncAdapterImpl.onPerformLoggedSync(MailSyncAdapterService.java:61)
E/Gmail ( 442): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
E/Gmail ( 442): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
D/SyncManager( 174): failed sync operation authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 879123 expedited: false, SyncResult: databaseError: true stats []
D/SyncManager( 174): not retrying sync operation because the error is a hard error: authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 882641 expedited: false
I/dalvikvm( 174): Jit: resizing JitTable from 2048 to 4096
D/dalvikvm( 257): GC_EXPLICIT freed <1K, 47% free 3391K/6343K, external 915K/1427K, paused 109ms
~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 55.0M 32.0K 54.9M 0% /dev
tmpfs 55.0M 0 55.0M 0% /mnt/asec
tmpfs 55.0M 0 55.0M 0% /mnt/obb
/dev/block/mtdblock3 91.0M 76.1M 14.9M 84% /system
/dev/block/mtdblock5 91.8M 61.8M 30.0M 67% /data
/dev/block/mtdblock4 27.0M 1.2M 25.8M 4% /cache
/dev/block/loop0 768.0K 768.0K 0 100% /system/lib/modules
/dev/block/loop1 2.5M 2.5M 0 100% /system/fonts
/dev/block/vold/179:1
6.9G 58.2M 6.8G 1% /mnt/sdcard
/dev/block/vold/179:1
6.9G 58.2M 6.8G 1% /mnt/secure/asec
~ # exit
D/dalvikvm( 257): GC_EXPLICIT freed <1K, 47% free 3391K/6343K, external 915K/1427K, paused 142ms
No swap partition is enabled
Last time I've evaluated ADS_magpie-20110729 + gapps-mdpi-gb-20110709 I can remember that there was no SWAP active.
I'm now evaluating Ginger yoshi 1.4 fix 32a_b using a the 24Swap script in /sd-ext/userinit.d.
I see that Ginger yoshi 1.4 uses a lot of swap, round about 10MiB. Maybe additional RAM (swap in my case) would solve this case? By default ADS_magpie-20110729 did not use swap for me.

[ROM][4.4][UNOFFICIAL] CM11 without graphics

Hey there,
It is time to publish my CM11 tree for our Razr I phones.
There is nothing working so far.
It's a stock CM11 tree with integrated kernel from oxavelar (https://github.com/oxavelar/XT890-Kernel-Gamma), many things taken from hazou (https://github.com/HazouPH/android_device_motorola_smi) and surfaceflinger patches from steven676 (https://gist.github.com/steven676/7276901).
Recovery PHILZ 6.14.2 (CWM v6.0.4.7) should be working fine, although mount paths are not setup really well (vold mounts missing, aromafm can't automount). There might also be some confusion around the SD card paths, so I really recommend not to use it for wiping and backing up any SD related stuff. As recovery does work fine for installing and backing up, I post a fastboot flashable recovery.img. Note: This is really not well tested by me!
Additional Warning: You may lose your data on INTERNAL SD when you wipe DATA!
To use aromafm, push the supplied aromafm.zip to /external_sd/clockworkmod/aromafm/aromafm.zip using adb in recovery or your running rom (then use the stock path for external SD. Internal should also work but I prefer not to use that)
You can find recovery here: http://android.matthias-larisch.de/razr-i/recovery/
Device tree is here: https://github.com/NerdyProjects/android_device_motorola_smi
More Github links to other forked projects will follow shortly, there are more changes.
So let's begin with talking about some errors:
Code:
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build [email protected]8934
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): call to OpenGL ES API with no current context (logged once per thread)
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb94bf820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
I/AudioPolicyManagerBase( 131): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
Graphics is therefore not working. I also looked into the Samsung Galaxy Tab 3 10.1 porting effort and they seemed to not have any problem with the GFX at this stage. They have SGX544, though. Any ideas? Does also not work without surfaceflinger patches (Open-GL ES1.1 fallback). The ValidateWindowConfigFormat errors are the problems, I think.
Hello why are you trying to do what people are already doing?
It would be better if you try to work with hazou:
http://forum.xda-developers.com/showthread.php?t=2563960
Burn02 said:
Hello why are you trying to do what people are already doing?
It would be better if you try to work with hazou:
http://forum.xda-developers.com/showthread.php?t=2563960
Click to expand...
Click to collapse
Actually this is the KitKat ROM whereas that's the Jelly Bean one.
PosixCompatible said:
Graphics is therefore not working. I also looked into the Samsung Galaxy Tab 3 10.1 porting effort and they seemed to not have any problem with the GFX at this stage. They have SGX544, though. Any ideas? Does also not work without surfaceflinger patches (Open-GL ES1.1 fallback). The ValidateWindowConfigFormat errors are the problems, I think.
Click to expand...
Click to collapse
You are going to be more lucky looking at the patches from the galaxy nexus since we share the same gpu.
PosixCompatible said:
So let's begin with talking about some errors:
Code:
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build [email protected]
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): call to OpenGL ES API with no current context (logged once per thread)
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb94bf820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
I/AudioPolicyManagerBase( 131): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
Graphics is therefore not working. I also looked into the Samsung Galaxy Tab 3 10.1 porting effort and they seemed to not have any problem with the GFX at this stage. They have SGX544, though. Any ideas? Does also not work without surfaceflinger patches (Open-GL ES1.1 fallback). The ValidateWindowConfigFormat errors are the problems, I think.
Click to expand...
Click to collapse
And u did include all the patches from steven about the pixelflinger?
Hazou said:
And u did include all the patches from steven about the pixelflinger?
Click to expand...
Click to collapse
Jep, I thought I did. I really have to post the rest of the code, it's a bit complicated as I did not use the repo tool for most... Hope to make it this evening.
Patches applied to surfaceflinger:
Workaroung Bug XZ, pbuffer disable, egl2 disable, try-disabling-some-features-before-falling-back-to-egl1.
Following log with pbuffer without egl2:
Code:
BOARD_EGL_WORKAROUND_BUG_10194508 := true
#TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
TARGET_DISABLE_SURFACEFLINGER_GLES2 := true
Code:
I/SurfaceFlinger( 127): SurfaceFlinger is starting
I/SurfaceFlinger( 127): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 127): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 127): framebuffer opened
D/hwcomposer( 127): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 127): Using composer version 0.0
W/SurfaceFlinger( 127): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 127): OpenGL ES 2.0 disabled for this device
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying OpenGL ES 1.1
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/SurfaceFlinger( 127): EGL informations:
I/SurfaceFlinger( 127): vendor : Android
I/SurfaceFlinger( 127): version : 1.4 Android META-EGL
I/SurfaceFlinger( 127): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 127): Client API: OpenGL_ES
I/SurfaceFlinger( 127): EGLSurface: 8-8-8-8, config=0x2
E/cutils-trace( 127): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
I/SurfaceFlinger( 127): OpenGL ES informations:
I/SurfaceFlinger( 127): vendor : Imagination Technologies
I/SurfaceFlinger( 127): renderer : PowerVR SGX 540
I/SurfaceFlinger( 127): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 127): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object GL_APPLE_texture_2D_limited_npot
I/SurfaceFlinger( 127): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 127): GL_MAX_VIEWPORT_DIMS = 2048
D/SurfaceFlinger( 127): Screen acquired, type=0 flinger=0xb790d820
D/hwcomposer( 127): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
(boot continues as normal)
As I see we should not encounter BUG 10194508 as the disabled feature does not show up in the capability list. I have to say that I never did anything with OpenGL except some very basic vertice programming in Delphi when I was a kid. Did never tinker with any of those error messages above.
Code:
BOARD_EGL_WORKAROUND_BUG_10194508 := true
TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
#TARGET_DISABLE_SURFACEFLINGER_GLES2 := true
may be a bit more interesting as it gives us:
Code:
I/SurfaceFlinger( 127): SurfaceFlinger is starting
I/SurfaceFlinger( 127): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 127): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 127): framebuffer opened
D/hwcomposer( 127): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 127): Using composer version 0.0
W/SurfaceFlinger( 127): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/SurfaceFlinger( 127): EGL informations:
I/SurfaceFlinger( 127): vendor : Android
I/SurfaceFlinger( 127): version : 1.4 Android META-EGL
I/SurfaceFlinger( 127): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 127): Client API: OpenGL_ES
I/SurfaceFlinger( 127): EGLSurface: 8-8-8-8, config=0x13
E/cutils-trace( 127): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): call to OpenGL ES API with no current context (logged once per thread)
F/libc ( 127): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 127 (surfaceflinger)
I/DEBUG ( 125): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 125): Build fingerprint: 'motorola/cm_smi/smi:4.4.2/KOT49H/e72f0c2fd7:userdebug/test-keys'
I/DEBUG ( 125): Revision: '0'
I/DEBUG ( 125): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 125): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 125): eax 00000000 ebx b75fce74 ecx 00000000 edx 00000000
I/DEBUG ( 125): esi b867f720 edi 00000000
I/DEBUG ( 125): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
I/DEBUG ( 125): eip b7687076 ebp bfc3143c esp bfc313cc flags 00010246
E/Corkscrew( 125): unrecognized DW_CFA_* instruction: 0x10
I/DEBUG ( 125):
I/DEBUG ( 125): backtrace:
I/DEBUG ( 125): #00 pc 0005c076 /system/lib/libc.so (strlen+6)
I/DEBUG ( 125): #01 pc 0001485a /system/lib/libutils.so (android::String8::setTo(char const*)+42)
I/DEBUG ( 125): #02 pc 0003f241 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+49)
I/DEBUG ( 125): #03 pc 0003f78c /system/lib/libsurfaceflinger.so (android::RenderEngine::logEGLInfo()+156)
I/DEBUG ( 125): #04 pc 00041655 /system/lib/libsurfaceflinger.so (android::GLES20RenderEngine::initializeGL()+341)
I/DEBUG ( 125): #05 pc 0002af69 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+1033)
I/DEBUG ( 125): #06 pc 00000931 /system/bin/surfaceflinger (main+209)
I/DEBUG ( 125):
I/DEBUG ( 125): stack:
I/DEBUG ( 125): bfc3138c b7638f89 /system/lib/libc.so (pthread_mutex_unlock+25)
I/DEBUG ( 125): bfc31390 b867d8c0 [heap]
I/DEBUG ( 125): bfc31394 bfc313e0 [stack]
I/DEBUG ( 125): bfc31398 bfc314b8 [stack]
I/DEBUG ( 125): bfc3139c b752359e /system/lib/libEGL.so (android::gl_no_context()+30)
I/DEBUG ( 125): bfc313a0 00000000
I/DEBUG ( 125): bfc313a4 b7523586 /system/lib/libEGL.so (android::gl_no_context()+6)
I/DEBUG ( 125): bfc313a8 b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): bfc313ac b73eb4c6 /system/lib/libGLESv1_CM.so (glViewport+54)
I/DEBUG ( 125): bfc313b0 00000000
I/DEBUG ( 125): bfc313b4 00000000
I/DEBUG ( 125): bfc313b8 b7638db9 /system/lib/libc.so (pthread_mutex_lock+9)
I/DEBUG ( 125): bfc313bc b76e3fcc /system/lib/libc.so
I/DEBUG ( 125): bfc313c0 00000033
I/DEBUG ( 125): bfc313c4 b867f720 [heap]
I/DEBUG ( 125): bfc313c8 00000000
I/DEBUG ( 125): #00 bfc313cc b75e785b /system/lib/libutils.so (android::String8::setTo(char const*)+43)
I/DEBUG ( 125): #01 bfc313d0 00000000
I/DEBUG ( 125): bfc313d4 bfc313e0 [stack]
I/DEBUG ( 125): bfc313d8 00000000
I/DEBUG ( 125): bfc313dc 00000000
I/DEBUG ( 125): bfc313e0 7f800000
I/DEBUG ( 125): bfc313e4 00000000
I/DEBUG ( 125): bfc313e8 00000000
I/DEBUG ( 125): bfc313ec 00000000
I/DEBUG ( 125): bfc313f0 00000000
I/DEBUG ( 125): bfc313f4 7f800000
I/DEBUG ( 125): bfc313f8 00000000
I/DEBUG ( 125): bfc313fc b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): bfc31400 b867f720 [heap]
I/DEBUG ( 125): bfc31404 00000000
I/DEBUG ( 125): bfc31408 bfc3143c [stack]
I/DEBUG ( 125): bfc3140c b7752242 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+50)
I/DEBUG ( 125): #02 bfc31410 b867f724 [heap]
I/DEBUG ( 125): bfc31414 00000000
I/DEBUG ( 125): bfc31418 b75fce74 /system/lib/libutils.so
I/DEBUG ( 125): bfc3141c b7638f89 /system/lib/libc.so (pthread_mutex_unlock+25)
I/DEBUG ( 125): bfc31420 b866a030 [heap]
I/DEBUG ( 125): bfc31424 b75acddc /system/lib/libEGL.so
I/DEBUG ( 125): bfc31428 00001f00
I/DEBUG ( 125): bfc3142c b7523595 /system/lib/libEGL.so (android::gl_no_context()+21)
I/DEBUG ( 125): bfc31430 00000000
I/DEBUG ( 125): bfc31434 b7523586 /system/lib/libEGL.so (android::gl_no_context()+6)
I/DEBUG ( 125): bfc31438 b73f0fe4 /system/lib/libGLESv1_CM.so
I/DEBUG ( 125): bfc3143c b73ed67a /system/lib/libGLESv1_CM.so (glGetString+74)
I/DEBUG ( 125): bfc31440 00001f00
I/DEBUG ( 125): bfc31444 00000004
I/DEBUG ( 125): bfc31448 b7752219 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+9)
I/DEBUG ( 125): bfc3144c b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): ........ ........
But I cannot debug it with gdbserver as this dies before the SIGSEV. It may have something to do with any unclean disabling of pbuffer in stevens patch? As it segfaults in logEGLinfo I assume it to fail because of the failures right above.
Another one with both patches disabled:
Code:
BOARD_EGL_WORKAROUND_BUG_10194508 := true
#TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
#TARGET_DISABLE_SURFACEFLINGER_GLES2 := true
For every try I rebuilt the complete surfaceflinger by removing all objects from surfaceflinger_intermediates and libsurfaceflinger_intermediates and pushing the new files onto the device, this should have been enough.
Code:
I/SurfaceFlinger( 128): SurfaceFlinger is starting
I/SurfaceFlinger( 128): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build [email protected]
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb8e43820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
D/libEGL ( 181): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 181): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 181): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/cutils-trace( 181): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 181): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 181): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 181): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 181): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 181): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
(boot continues as normal)
Every try with EGL2 does not remove the bootloader-logo (the bootloader unlocked message), but the EGL1 tries lead to a black screen.
Code:
I/SurfaceFlinger( 127): Using composer version 0.0
As if the composer is not loaded correctly, should be 0.3.
Code:
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
Looked it up, has something to do with the pixelparameters (colors). But what...
Have a look at this for gdb debugging on crashed services on start up.
Hazou said:
Code:
I/SurfaceFlinger( 127): Using composer version 0.0
As if the composer is not loaded correctly, should be 0.3.
Click to expand...
Click to collapse
Hazou said:
Have a look at this for gdb debugging on crashed services on start up.
Click to expand...
Click to collapse
Yeah, I already know about android debugging. Thanks anyway
Problem is, that gdbserver segfaults when running surfaceflinger. Could be too easy else, right?
Code:
130|[email protected]:/ # gdbserver :5039 /system/bin/surfaceflinger
Process /system/bin/surfaceflinger created; pid = 691
Listening on port 5039
Remote debugging from host 127.0.0.1
gdb: Unable to get location for thread creation breakpoint: requested event is not supported
gdb: Unable to get location for thread creation breakpoint: requested event is not supported
gdb: Unable to get location for thread creation breakpoint: requested event is not supported
thread getmsg err: no event message for getmsg
Cannot attach to process -326959101: No such process (3)
gdb: Could not attach to thread -326959101 (LWP -326959101)
thread getmsg err: no event message for getmsg
Segmentation fault
Code:
I/SurfaceFlinger( 691): SurfaceFlinger is starting
F/libc ( 691): Fatal signal 5 (???) at 0x00000000 (code=128), thread 699 (Binder_1)
I/SurfaceFlinger( 691): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
F/libc ( 691): Fatal signal 5 (???) at 0x00000000 (code=128), thread 691 (surfaceflinger)
I/DEBUG ( 125): process stopped due to unexpected signal 5
I/DEBUG ( 125): unexpected waitpid response: n=691, status=00000005
I/DEBUG ( 125): ptrace detach from 691 failed: No such process
I/DEBUG ( 125): debuggerd committing suicide to free the zombie!
I/DEBUG ( 703): debuggerd: Feb 17 2014 17:10:40
I did try to set a breakpoint into HWComposer initialisation but that gdb segfault happens before.
Please give me another day for the remaining sources - I know you really would like to compile this yourself. I will have another two hours tomorrow morning and hope to get it sorted out then.
That's it for today.
Edit:
BTW it is very nice to live without a smartphone a few days - but I soon need to have it working again (Razr I is my primary and only one). As I don't see me getting anyway here, I will soon go back to JB. Should not be more than a month until we see official 4.4 - those libs should all work more or less out of the box in CM11 I think/hope.
Take your time, I am interested, but won't be able to build in the next couple of weeks, I think so I don't mind if it is tomorrow or next month. Waiting more or less for official kitkat, to get started with cm11. In the mean time getting audio ready, because that will be one thing that we need to build/compile our self without much help from moto/Intel and I can do that in cm10.1.
Sent from my GT-P5110 using XDA Premium HD app
hi
iam facing similar issues
and here is full logcat http://paste.ubuntu.com/8056961/
I/SurfaceFlinger( 132): SurfaceFlinger is starting
I/SurfaceFlinger( 132): use dithering
I/SurfaceFlinger( 132): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 132): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 132): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 132): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 132): <qeglDrvAPI_eglInitialize:290>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.005_msm7627a_JB_CL2577695_release_AU (CL2577695)
I/Adreno200-EGL( 132): Build Date: 07/11/12 Wed
I/Adreno200-EGL( 132): Local Branch: mybranch65565
I/Adreno200-EGL( 132): Remote Branch: quic/master
I/Adreno200-EGL( 132): Local Patches: NONE
I/Adreno200-EGL( 132): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.005 + db7e81a + 4568683 + dfff884 + NOTHING
I/gralloc ( 132): using (fd=19)
I/gralloc ( 132): id = msmfb303_20001
I/gralloc ( 132): xres = 240 px
I/gralloc ( 132): yres = 320 px
I/gralloc ( 132): xres_virtual = 240 px
I/gralloc ( 132): yres_virtual = 972 px
I/gralloc ( 132): bpp = 16
I/gralloc ( 132): r = 11:5
I/gralloc ( 132): g = 5:6
I/gralloc ( 132): b = 0:5
I/gralloc ( 132): width = 43 mm (141.767441 dpi)
I/gralloc ( 132): height = 58 mm (140.137924 dpi)
I/gralloc ( 132): refresh rate = 0.00 Hz
D/CALCFPS ( 132): DEBUG_CALC_FPS: 0
D/CALCFPS ( 132): period: 10
D/CALCFPS ( 132): ignorethresh_us: 500000
D/CALCFPS ( 132): DEBUG_CALC_FPS: 0
D/CALCFPS ( 132): period: 10
D/CALCFPS ( 132): ignorethresh_us: 500000
I/hwcomposer( 132): Initializing Qualcomm Hardware Composer
I/hwcomposer( 132): MDP version: 303
I/hwcomposer( 132): DYN composition threshold : 2.000000
I/SurfaceFlinger( 132): Using composer version 1.0
I/hwcomposer( 132): Initializing UEvent Listener Thread
I/hwcomposer( 132): Initializing VSYNC Thread
Click to expand...
Click to collapse
W/SurfaceFlinger( 132): getting VSYNC period from fb HAL: -1
W/Adreno200-EGL( 132): <qeglDrvAPI_eglChooseConfig:774>: EGL_BAD_ATTRIBUTE
W/SurfaceFlinger( 132): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 132): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
W/SurfaceFlinger( 132): no suitable EGLConfig found, trying with 16-bit color allowed
W/Trace ( 132): error opening trace file: No such file or directory (2)
F/libc ( 132): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 184 (SurfaceFlinger)
Click to expand...
Click to collapse
@Hazou @PosixCompatible please help me with a possible work around
iam building for lg optimus e400
sooorajjj said:
hi
iam facing similar issues
and here is full logcat http://paste.ubuntu.com/8056961/
@Hazou @PosixCompatible please help me with a possible work around
iam building for lg optimus e400
Click to expand...
Click to collapse
Sorry, i never fixed this. I know Angel_666 from the tab3 10.1 fixed it somehow if i remember correctly.
Hazou said:
Sorry, i never fixed this. I know @Angel_666 from the tab3 10.1 fixed it somehow if i remember correctly.
Click to expand...
Click to collapse
MSMFB_METADATA_GET defined in msm_mdp.h but our framebuffer does not support it.
though i havnt fixed it yet but atleast got an idea
Hi sooorajjj, it's nice that you're trying to port KitKat for your L3 (and such an effort is not to be belittled in any matter, though some may disagree), but I think your device already has its section on XDA. Other developers working on a ROM for your device might have already faced the same problem so that should be your starting point.
Good luck!
Update 4.4.1
@Hazou
Hey guys, i just saw on web site (androidpit.com.br) one person get's beta version 4.4.1 for xt 890
i'm trying to talk with him.. but i need to know whats exactly y'all need for everything works
Is the "NDA" enough of an answer, I don't think he will given something.
But I am well suited
Verstuurd van mijn GT-P5110

Categories

Resources