Help Xoom3G continous reboots - General Omni Discussion

Hello everyone
I have a problem with my Xoom3G as it boots 2-3 minutes after it enters KitKat and any operation I try to do with it like installing an app, removing an pp, even creating folders are reversed (for example I have create a folder named temp under /sdcard/Download and after the device reboot itself it disappeared)
As far as I can tell, this has started after the last upgrade to OmniRom
I can adb and fastboot to it as necessary
Build is
Code:
Build: omni_everest-userdebug 4.4.2 KOT49H eng.ubuntu.20140203.214130 test-keys
Build fingerprint: 'motorola/omni_everest/everest:4.4.2/KOT49H/eng.ubuntu.20140203.214130:userdebug/test-keys'
Bootloader: 1049
Radio: N_01.100.07P
Network: RO Vodafone RO
Kernel: Linux version 2.6.39.4-ElementalX-Xoom-2.0+ ([email protected]) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Mon Feb 3 21:48:00 CET 2014
Command line: [email protected] [email protected] video=tegrafb [email protected] console=ttyS0,115200n8 usbcore.old_scheme_first=1 tegraboot=sdmmc gpt gpt_sector=0x03b6efff mot_prod=1 androidboot.serialno=xxxxxxxxxxxxxxx hw_rev=p3 androidboot.modelno=MZ600 product_type=cw [email protected] androidboot.bootloader=1049 androidboot.baseband=N_01.100.07P lcd_manfid=SHP mem_vid=0x101 mem_pid=0x5454 product_type=uw
The filesystem doesn't appear to be put in read only mode
Code:
[email protected]:/sdcard # cat /proc/mounts
cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/system /system ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/pdsb /pds ext4 ro,relatime,user_xattr,acl,barrier=1,data=writeback 0 0
/dev/block/platform/sdhci-tegra.3/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=
1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrie
r=1,nomblk_io_submit,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0
0
[email protected]:/sdcard #
In the logcat I find errors like
Code:
E/cutils ( 91): Failed to mkdirat(/storage/usbdisk/Android): Read-only file system
W/ContextImpl( 4157): Failed to ensure directory: /storage/usbdisk/Android/data/com.google.android.youtube/files
Code:
E/AndroidRuntime( 822): FATAL EXCEPTION: main
E/AndroidRuntime( 822): Process: android.process.media, PID: 822
E/AndroidRuntime( 822): android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed (code 11)
E/AndroidRuntime( 822): at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
E/AndroidRuntime( 822): at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:845)
E/AndroidRuntime( 822): at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
E/AndroidRuntime( 822): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
E/AndroidRuntime( 822): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:144)
E/AndroidRuntime( 822): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:133)
E/AndroidRuntime( 822): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197)
E/AndroidRuntime( 822): at android.database.AbstractCursor.moveToNext(AbstractCursor.java:245)
E/AndroidRuntime( 822): at com.android.providers.media.MediaProvider.dump(MediaProvider.java:5656)
E/AndroidRuntime( 822): at com.android.providers.media.MediaProvider.dump(MediaProvider.java:5599)
E/AndroidRuntime( 822): at android.app.ActivityThread.handleDumpProvider(ActivityThread.java:2684)
E/AndroidRuntime( 822): at android.app.ActivityThread.access$2800(ActivityThread.java:135)
E/AndroidRuntime( 822): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1371)
E/AndroidRuntime( 822): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 822): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 822): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 822): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 822): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 822): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 822): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime( 822): at dalvik.system.NativeStart.main(Native Method)
Currently I seem to be unable to even wipe the device (tryied via android manager, via TWRP bootloader and fastboot format options) or to do any changes to the device (via user interface or via ADB shell)
So, anyone has any idea what should I check further / make the device usable again?
Many thanks
Device history
- had it from september 2010, non-rooted, with the stock rom
- in january it started to freeze (and to get it to work a hard reset was needed every time) and after a few days it just stuck at booting in the Motorola logo
- decided to install the Omnirom as per - http://forum.xda-developers.com/showthread.php?t=2593414
- all worked fine until one day after it installed the 03Feb update when the reboots have started

Related

Flashing Issues

I got my G1 last December. Like a lot of other people, I rooted it right away, and started testing other ROMs that are out there before settling on one that I liked.
In Mid February I gave SuperD a shot, and loved it. I stuck with it for a while, and then yesterday I decided to give his latest version a go, v1.9.3.
I flashed it the same way that any ROM is done. Using RA Recovery (1.6.2), wiping all data, hell, I even repartitioned my SD Card. I then flashed the .zip, and started the boot process.
Once it was booted, the first thing to appear on the screen was an FC Message for the Setup Wizard. It appeared before the "Click The Android" to begin message showed up. After pressing the FC button, it reappeared in a few seconds. Below is the part of the log file that kept cycling every time I hit the FC Button:
Code:
I/ActivityManager( 72): Process com.android.setupwizard (pid 397) has died.
I/ActivityManager( 72): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.setupwiza
rd/.SetupWizardActivity }
I/ActivityManager( 72): Start proc com.android.setupwizard for activity com.an
droid.setupwizard/.SetupWizardActivity: pid=406 uid=10014 gids={3003}
W/UsageStats( 72): Something wrong here, didn't expect com.android.setupwizard
to be resumed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Netw
orkMonitor$Callback; (285)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/NetworkMonitor$Callba
ck;' failed
I/dalvikvm( 406): Failed resolving Lcom/android/setupwizard/BaseActivity; inter
face 204 'Lcom/android/setupwizard/NetworkMonitor$Callback;'
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/BaseActivity;' failed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Setu
pWizardActivity; (165)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/SetupWizardActivity;'
failed
D/AndroidRuntime( 406): Shutting down VM
W/dalvikvm( 406): threadid=3: thread exiting with uncaught exception (group=0x4
001da28)
E/AndroidRuntime( 406): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 406): java.lang.RuntimeException: Unable to instantiate activ
ity ComponentInfo{com.android.setupwizard/com.android.setupwizard.SetupWizardAct
ivity}: java.lang.ClassNotFoundException: com.android.setupwizard.SetupWizardAct
ivity in loader [email protected]
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2324)
E/AndroidRuntime( 406): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2417)
E/AndroidRuntime( 406): at android.app.ActivityThread.access$2100(Activi
tyThread.java:116)
E/AndroidRuntime( 406): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1794)
E/AndroidRuntime( 406): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 406): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 406): at android.app.ActivityThread.main(ActivityThrea
d.java:4203)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:549)
E/AndroidRuntime( 406): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 406): Caused by: java.lang.ClassNotFoundException: com.androi
d.setupwizard.SetupWizardActivity in loader [email protected]
68
E/AndroidRuntime( 406): at dalvik.system.PathClassLoader.findClass(PathC
lassLoader.java:243)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:573)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:532)
E/AndroidRuntime( 406): at android.app.Instrumentation.newActivity(Instr
umentation.java:1097)
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2316)
E/AndroidRuntime( 406): ... 11 more
I/Process ( 72): Sending signal. PID: 406 SIG: 3
I/dalvikvm( 406): threadid=7: reacting to signal 3
E/dalvikvm( 406): Unable to open stack trace file '/data/anr/traces.txt': Permi
ssion denied
I/DumpStateReceiver( 72): Added state dump to 1 crashes I/ActivityManager( 72): Process com.android.setupwizard (pid 397) has died.
I/ActivityManager( 72): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.setupwiza
rd/.SetupWizardActivity }
I/ActivityManager( 72): Start proc com.android.setupwizard for activity com.an
droid.setupwizard/.SetupWizardActivity: pid=406 uid=10014 gids={3003}
W/UsageStats( 72): Something wrong here, didn't expect com.android.setupwizard
to be resumed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Netw
orkMonitor$Callback; (285)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/NetworkMonitor$Callba
ck;' failed
I/dalvikvm( 406): Failed resolving Lcom/android/setupwizard/BaseActivity; inter
face 204 'Lcom/android/setupwizard/NetworkMonitor$Callback;'
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/BaseActivity;' failed
W/dalvikvm( 406): Unable to resolve superclass of Lcom/android/setupwizard/Setu
pWizardActivity; (165)
W/dalvikvm( 406): Link of class 'Lcom/android/setupwizard/SetupWizardActivity;'
failed
D/AndroidRuntime( 406): Shutting down VM
W/dalvikvm( 406): threadid=3: thread exiting with uncaught exception (group=0x4
001da28)
E/AndroidRuntime( 406): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 406): java.lang.RuntimeException: Unable to instantiate activ
ity ComponentInfo{com.android.setupwizard/com.android.setupwizard.SetupWizardAct
ivity}: java.lang.ClassNotFoundException: com.android.setupwizard.SetupWizardAct
ivity in loader [email protected]
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2324)
E/AndroidRuntime( 406): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2417)
E/AndroidRuntime( 406): at android.app.ActivityThread.access$2100(Activi
tyThread.java:116)
E/AndroidRuntime( 406): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1794)
E/AndroidRuntime( 406): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 406): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 406): at android.app.ActivityThread.main(ActivityThrea
d.java:4203)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:549)
E/AndroidRuntime( 406): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 406): Caused by: java.lang.ClassNotFoundException: com.androi
d.setupwizard.SetupWizardActivity in loader [email protected]
68
E/AndroidRuntime( 406): at dalvik.system.PathClassLoader.findClass(PathC
lassLoader.java:243)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:573)
E/AndroidRuntime( 406): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:532)
E/AndroidRuntime( 406): at android.app.Instrumentation.newActivity(Instr
umentation.java:1097)
E/AndroidRuntime( 406): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2316)
E/AndroidRuntime( 406): ... 11 more
I/Process ( 72): Sending signal. PID: 406 SIG: 3
I/dalvikvm( 406): threadid=7: reacting to signal 3
E/dalvikvm( 406): Unable to open stack trace file '/data/anr/traces.txt': Permi
ssion denied
I/DumpStateReceiver( 72): Added state dump to 1 crashes
I reflashed this ROM a few times, sometimes repartitioning, sometimes wiping, sometimes both...tried with ext[2,3,4], sometimes fixing the permissions, sometimes not.
No matter what I did, it would not let me get to the point where I could skip the setup wizard.
I tried numerous 1.6 based ROMs, including official releases from T-Mo, and Enoms 2.6.2 Base. Each and every ROM is giving me the same problems with the Setup Wizard being FCd.
I was working with Shadoch31 yesterday, and he recommended that I un-root, to bring the core of everything back to stock, which I did. The un-rooted device boots up fine, and I see the generic OS that came with the G1 when it was initially purchased.
I then re-rooted, upgraded the radio to 2.22.19.26i, upgraded the SPL to Hykuro's Death, and then tried to flash another custom ROM. I do not recall which one I tried to flash this time around, but I received the same exact problems.
One thing I noticed when the new ROM is booting, is the mountpoints seem a little bit odd...here is what I have:
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 52.3M 0 52.3M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 90.0M 72.0M 18.0M 80% /system
/dev/block/mtdblock5 89.8M 7.4M 82.4M 8% /data
/dev/block/mtdblock4 30.0M 1.2M 28.8M 4% /cache
/dev/block/mmcblk0p2 457.4M 26.8M 406.2M 6% /system/sd
/dev/block/mmcblk0p2 457.4M 26.8M 406.2M 6% /data/dalvik-cache
Click to expand...
Click to collapse
In the past, I remember seeing that /system/[app,app-private,dalvik-cache] symlinked to system/sd/[app,app-private,dalvik-cache], but, that is not the case in any rom I try now. Also, /system/sd/app remains empty, with no applications in there. And there are times when I see a zero length file in there named 'placeholder'.
Below is the output of 'busybox ls -lL /system':
# busybox ls -lL /system
busybox ls -lL /system
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 app
drwxr-xr-x 1 0 2000 2048 Aug 26 14:38 bin
-rw-r--r-- 1 0 0 951 Aug 1 2008 build.prop
-rw-r--r-- 1 0 0 1426 Aug 1 2008 build.sapphire.prop
-rw-r--r-- 1 0 0 1395 Aug 1 2008 build.trout.prop
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 etc
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 fonts
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 framework
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 lib
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 lost+found
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 media
drwxrwx--x 6 1000 1000 1024 Aug 26 01:40 sd
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 tts
drwxr-xr-x 1 0 0 2048 Aug 26 14:38 usr
drwxr-xr-x 1 0 2000 2048 Aug 26 14:38 xbin
Click to expand...
Click to collapse
And here is ls -lL /data:
busybox ls -lL
drwxrwxrwx 1 1000 1000 2048 Aug 26 01:59 anr
drwxrwx--x 2 1000 1000 1024 Aug 26 14:43 app
drwxrwx--x 2 1000 1000 1024 Aug 26 01:40 app-private
drwxrwx--x 2 1000 1000 5120 Aug 26 14:43 dalvik-cache
drwxrwx--x 1 1000 1000 2048 Aug 26 14:43 data
drwxrwx--x 1 2000 2000 2048 Aug 26 01:59 local
drwxrwx--- 1 0 0 2048 Aug 26 01:59 lost+found
drwxrwx--t 1 1000 9998 2048 Aug 26 14:41 misc
drwx------ 1 0 0 2048 Aug 26 01:59 property
drwxrwxr-x 1 1000 1000 2048 Aug 26 14:47 system
Click to expand...
Click to collapse
I am not seeing any symlinks anywhere...now, there may be a new process for using apps2sd, which does not require symlinks, which I am not aware of.
Logcat from HTC Clay 2.3: http://pastebin.com/KDjtA6YC
Logcat from HTC Clay 3.0.3: http://pastebin.com/DnYQYx2b
You can see in both of those log files that there is a lot of looping going on.
Does anyone have any ideas of what might be going wrong? I have tried different SD cards, different partitioning schemes, different ways of downloading and transferring the ROMs to the SD card, etc. I even verified MD5 sums when they were provided. Everything checks out just as it should, but it is still a no-go.
Both Shadoch31 and I are completely stumped, and have decided to see if anyone else can shed some light as to what might be causing this hicup in my flashing process.
Anyone that can help on this would be greatly appreciated as both of us have seriously tried everything I can think of! What gets me is returning to unrooted solved this to begin with but the second a rom is flashed it collapses again. Really would love someone with more knowledge to help me out here as its had me up all night. With the placeholder settings it reminds me of MT3G setup but its a G1 with danger spl and radio, amon v1.6.2.
I'm stumped :-(
shadowch31 said:
Anyone that can help on this would be greatly appreciated as both of us have seriously tried everything I can think of! What gets me is returning to unrooted solved this to begin with but the second a rom is flashed it collapses again. Really would love someone with more knowledge to help me out here as its had me up all night. With the placeholder settings it reminds me of MT3G setup but its a G1 with danger spl and radio, amon v1.6.2.
I'm stumped :-(
Click to expand...
Click to collapse
Shadow: Is there any other information that I could provide that might help others with diagnosing this problem? I have the 2 logcat files linked in the OP, and I think I have provided all of the relevant information. But, if there is anything else that you can think of that might help, let me know, and I will edit the post and add it.
jmhecker said:
Shadow: Is there any other information that I could provide that might help others with diagnosing this problem? I have the 2 logcat files linked in the OP, and I think I have provided all of the relevant information. But, if there is anything else that you can think of that might help, let me know, and I will edit the post and add it.
Click to expand...
Click to collapse
Nothing at all more I can think of, that has to be the single best post ever for providing proper details and logs
Okay update.
Unrooted works correctly.
Eclair 2.1 works correctly.
1.5 1 and 1.6 roms setup dies.
I'm beyond baffled.
As Shadow said in his previous post, there is an update to my situation. I am unable to flash any 1.5 or 1.6 ROMs. Well, they flash, but always are crashing during the setup wizard (FCing before I can skip out of it to use the Market to sign in). However, I am able to flash 2.1 based Eclair ROMs. (I have not tried a 2.0 for the main reason being 2.1 is newer, heh). The 2.1 works great. I can flash it, do the Setup Wizard on first boot, upgrade GMaps, use the net, make phone calls, etc. I can't do the things that it is not able to do yet, obviously (camcorder, 3d games, etc).
But, Shadow did mention something in a PM to me that got me thinking...before I post what he said though, I will admit that it confuses me a little bit, as I am not 100% fluent in the way that the ROMs detect what type of phone you have (MT3G or G1).
He stated that from the log files it looks as if the ROM is seeing the phone as an MT3G and is using placeholders (which it is using), and not creating the symlinks properly. We can not figure out why it is being detected as an MT3G. The Recovery image allows usage of the physical/hard keyboard, so we know the recovery knows it is a G1.
He also stated that because of the placeholdings that there was the possibility that the ext partition was messed up somehow, and that I should get a new card. But, we ruled that out by using multiple cards that I have (standard SD 2 gig, 4gig class 2, 8 gig class 6, etc). We also tried removing all of the partitions, and having only 1 large FAT32 partition, which didn't help...placeholders were still being used.
Again, I am not 100% fluent with the inner workings of the ROMs and the setup scripts to know how they detect which device I am using...or if it even matters. But, I thought I would pass the information along, in case it can help someone in pinpointing my problem.
Flashing, rebooting, repartitioning, wiping, not wiping, not repartitioning, unrooting, re-rooting, etc. I have tried every possible combination that I could possibly think of today, to no avail.
I know the ROMs are good, as I have verified the MD5 sums and generated SHA1 checksums each step of the way and after each transfer (from the web to my PC, PC to sdcard, web to sdcard, or web to phone, etc. All values are the same each and every time. (different values for diff ROMs, obviously).
I am past the point of being amused and stumped, and to the point of being aggravated that I can not seem to get this to work anymore. I have successfully flashed many 1.5/1.6 ROMs in the past, but now it is refusing to work.
Anyone have any ideas?

could not open hw3dc (Permission denied)...

I'm posting this here because the other sections rarely get answers. I tried installing Angry Birds via the download link. It installs but force closes immediately when trying to open. I've tried running it from the phone memory as well with no luck. Here is the logcat from when I try to open the game. Is the problem with hw3dc? I don't have anything relating to hw3dc in /dev. I'm on a mt3g running CM6 stable.
D/dalvikvm( 7438): Trying to load lib /data/data/com.rovio.angrybirds_lite/lib/l
ibangrybirds.so 0x43cc5608
I/ActivityManager( 231): Process com.speedsoftware.rootexplorer (pid 6976) has
died.
D/dalvikvm( 7438): Added shared lib /data/data/com.rovio.angrybirds_lite/lib/lib
angrybirds.so 0x43cc5608
D/dalvikvm( 7438): No JNI_OnLoad found in /data/data/com.rovio.angrybirds_lite/l
ib/libangrybirds.so 0x43cc5608, skipping init
I/KA3D ( 7438): Creating MultiTouchInputDelegator
I/App ( 7438): onResume
I/ActivityManager( 231): Displayed activity com.rovio.angrybirds_lite/com.rovio
.ka3d.App: 919 ms (total 919 ms)
W/IInputConnectionWrapper( 5311): showStatusIcon on inactive InputConnection
D/libEGL ( 7438): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 7438): loaded /system/lib/egl/libGLES_qcom.so
E/EGL.oem ( 7438): could not open hw3dc (Permission denied)
E/libEGL ( 7438): No EGLDisplay for hardware EGL!
W/dalvikvm( 7438): threadid=8: thread exiting with uncaught exception (group=0x4
00207e8)
E/AndroidRuntime( 7438): FATAL EXCEPTION: GLThread 9
E/AndroidRuntime( 7438): java.lang.IllegalArgumentException
E/AndroidRuntime( 7438): at com.google.android.gles_jni.EGLImpl.eglGetCon
figAttrib(Native Method)
E/AndroidRuntime( 7438): at com.rovio.ka3d.MySurfaceView$ConfigChooser.fi
ndConfigAttrib(App.java:236)
E/AndroidRuntime( 7438): at com.rovio.ka3d.MySurfaceView$ConfigChooser.ch
ooseConfig(App.java:209)
E/AndroidRuntime( 7438): at com.rovio.ka3d.MySurfaceView$ConfigChooser.ch
ooseConfig(App.java:202)
E/AndroidRuntime( 7438): at android.opengl.GLSurfaceView$EglHelper.start(
GLSurfaceView.java:916)
E/AndroidRuntime( 7438): at android.opengl.GLSurfaceView$GLThread.guarded
Run(GLSurfaceView.java:1246)
E/AndroidRuntime( 7438): at android.opengl.GLSurfaceView$GLThread.run(GLS
urfaceView.java:1116)
W/ActivityManager( 231): Force finishing activity com.rovio.angrybirds_lite/c
om.rovio.ka3d.App
Try in a terminal:
Code:
su
chmod 666 /dev/hw3dc
This should solve the problem.
If the problem is there again after a reboot
add this line:
Code:
chmod 666 /dev/hw3dc
to your userinit.sh or put a script
with this line in in /system/etc/init.d/
farmatito said:
Try in a terminal:
Code:
su
chmod 666 /dev/hw3dc
This should solve the problem.
If the problem is there again after a reboot
add this line:
Code:
chmod 666 /dev/hw3dc
to your userinit.sh or put a script
with this line in in /system/etc/init.d/
Click to expand...
Click to collapse
Thanks but I don't have /dev/hw3dc. There is no hw3dc anywhere in /dev. In fact, I have /dev but when I go in there with root explorer it says that /dev uses 0k of space. Weird.
To be exact, the correct device name is:
Code:
# ls /dev/msm_hw3d*
/dev/msm_hw3dc /dev/msm_hw3dm
and command to run in terminal:
Code:
chmod 777 /dev/msm_hw3d*
The 777 permission maybe somewhat to lax from a security point of view
so try first if 660 or 666 fix the error.
Thanks, I follow the setting, and it works.
farmatito said:
To be exact, the correct device name is:
Code:
# ls /dev/msm_hw3d*
/dev/msm_hw3dc /dev/msm_hw3dm
and command to run in terminal:
Code:
chmod 777 /dev/msm_hw3d*
The 777 permission maybe somewhat to lax from a security point of view
so try first if 660 or 666 fix the error.
Click to expand...
Click to collapse
Thread moved to Q&A.

[Q] Unrecognized SdCard

I have this Note and it was emmc bricked. I managed to recover it by repartitioning.
Now I have only 2GB of internal memory that I can use.
But there is problem with mounting the external sdcard in the phone.
It simply is not able to mount the sdcard to the correct mount point. When I go to the Storage section in Settings I tap mount Sdcard, the notification shows that it's preparing the sdcard and then nothing happens.
I've tried multiple ROMs to no avail.
Here is the logcat output.
E/Trace ( 4302): error opening trace file: No such file or directory (2)
W/IInputConnectionWrapper( 3694): showStatusIcon on inactive InputConnection
D/VoldCmdListener( 1896): volume mount /storage/sdcard0
D/DirectVolume( 1896): Checking for bad partition major number
D/DirectVolume( 1896): Found bad partition
E/DirectVolume( 1896): Fixing major number from 179 to 259 for partition 11
I/Vold ( 1896): /dev/block/vold/259:3 being considered for volume sdcard0
D/Vold ( 1896): Volume sdcard0 state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/AudioPolicyManager( 1903): startOutput() output 3, stream 1, session 46
D/AudioSystem( 1903): android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!
D/AudioSystem( 1903): audio_stream_type_t: 1
D/AudioSystem( 1903): isSeparatedStream: false
D/MountService( 2155): volume state changed for /storage/sdcard0 (unmounted -> checking)
I/StorageNotification( 2256): Media {/storage/sdcard0} state changed from {unmounted} -> {checking} (primary = true)
D/MountService( 2155): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/sdcard0 (has extras) }
I//system/bin/fsck_msdos( 1896): ** /dev/block/vold/259:3
I//system/bin/fsck_msdos( 1896): Invalid signature in boot block: 0006
I/logwrapper( 1896): /system/bin/fsck_msdos terminated by exit(2)
D/PhoneStatusBar( 2256): addNotification score=0
E/Vold ( 1896): Filesystem check failed (not a FAT filesystem)
W/Vold ( 1896): /dev/block/vold/259:3 does not contain a FAT filesystem
E/Vold ( 1896): /dev/block/vold/259:3 failed to mount via NTFS (No such device)
E/Vold ( 1896): Volume sdcard0 found no suitable devices for mounting
D/Vold ( 1896): Volume sdcard0 state changing 3 (Checking) -> 1 (Idle-Unmounted)
I/PackageManager( 2155): Updating external media status from unmounted to unmounted
D/MountService( 2155): volume state changed for /storage/sdcard0 (checking -> unmounted)
D/MountService( 2155): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///storage/sdcard0 (has extras) }
I/MemorySettings( 2974): Received storage state changed notification that /storage/sdcard0 changed state from unmounted to checking
I/MemorySettings( 2974): Received storage state changed notification that /storage/sdcard0 changed state from checking to unmounted
D/MediaScannerReceiver( 2303): action: android.intent.action.MEDIA_UNMOUNTED path: /storage/sdcard0
I/AudioPolicyManager( 1903): stopOutput() output 3, stream 1, session 46
D/dalvikvm( 2974): GC_CONCURRENT freed 1554K, 31% free 6544K/9351K, paused 4ms+40ms, total 125ms
D/dalvikvm( 2256): GC_CONCURRENT freed 2971K, 68% free 9850K/30407K, paused 4ms+25ms, total 125ms
D/dalvikvm( 2256): WAIT_FOR_CONCURRENT_GC blocked 101ms
I/StorageNotification( 2256): Media {/storage/sdcard0} state changed from {checking} -> {unmounted} (primary = true)
D/VoldCmdListener( 1896): volume shared /storage/sdcard0 ums
D/VoldCmdListener( 1896): volume shared /storage/sdcard1 ums
D/VoldCmdListener( 1896): volume mount /storage/sdcard0
D/DirectVolume( 1896): Checking for bad partition major number
D/DirectVolume( 1896): Found bad partition
E/DirectVolume( 1896): Fixing major number from 179 to 259 for partition 11
I/Vold ( 1896): /dev/block/vold/259:3 being considered for volume sdcard0
D/Vold ( 1896): Volume sdcard0 state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/MountService( 2155): volume state changed for /storage/sdcard0 (unmounted -> checking)
I/StorageNotification( 2256): Media {/storage/sdcard0} state changed from {unmounted} -> {checking} (primary = true)
D/PhoneStatusBar( 2256): addNotification score=0
D/MountService( 2155): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/sdcard0 (has extras) }
I//system/bin/fsck_msdos( 1896): ** /dev/block/vold/259:3
I//system/bin/fsck_msdos( 1896): Invalid signature in boot block: 0006
I/logwrapper( 1896): /system/bin/fsck_msdos terminated by exit(2)
E/Vold ( 1896): Filesystem check failed (not a FAT filesystem)
W/Vold ( 1896): /dev/block/vold/259:3 does not contain a FAT filesystem
I/PackageManager( 2155): Updating external media status from unmounted to unmounted
E/Vold ( 1896): /dev/block/vold/259:3 failed to mount via NTFS (No such device)
E/Vold ( 1896): Volume sdcard0 found no suitable devices for mounting
D/Vold ( 1896): Volume sdcard0 state changing 3 (Checking) -> 1 (Idle-Unmounted)
D/MountService( 2155): volume state changed for /storage/sdcard0 (checking -> unmounted)
I/ALSAModule( 1903): Initialized ALSA PLAYBACK device hifi
I/AudioPolicyManager( 1903): stopOutput() output 3, stream 1, session 47
D/MountService( 2155): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///storage/sdcard0 (has extras) }
I/MemorySettings( 2974): Received storage state changed notification that /storage/sdcard0 changed state from unmounted to checking
I/MemorySettings( 2974): Received storage state changed notification that /storage/sdcard0 changed state from checking to unmounted
I/StorageNotification( 2256): Media {/storage/sdcard0} state changed from {checking} -> {unmounted} (primary = true)
D/VoldCmdListener( 1896): volume shared /storage/sdcard0 ums
D/VoldCmdListener( 1896): volume shared /storage/sdcard1 ums
D/MediaScannerReceiver( 2303): action: android.intent.action.MEDIA_UNMOUNTED path: /storage/sdcard0
I/ALSAModule( 1903): Terminated ALSA PLAYBACK device hif
Click to expand...
Click to collapse
And this is what I get by issuing `mount`.
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p9 /system ext4 ro,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p12 /preload ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p1 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p4 /mnt/.lfs j4fs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:25 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Click to expand...
Click to collapse
What roms have you tried.
Sent from my GT-N7000 using xda premium
SuperNexus (current), JellyBAM, Paranoid Android.
NoobSibot said:
SuperNexus (current), JellyBAM, Paranoid Android.
Click to expand...
Click to collapse
You could try ics sd binder from play store. Guessing the mount points are located elsewhere, but i cant remember where as am on jb tw which has it set different.
Sent from my GT-N7000 using xda premium
Often people with this issue have success with stock GB
Sent from my GT-N7000000000 using Tapastalker 2
SpyderTracks said:
You could try ics sd binder from play store. Guessing the mount points are located elsewhere, but i cant remember where as am on jb tw which has it set different.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Thanks, I'll give it a try.
asf58967 said:
Often people with this issue have success with stock GB
Sent from my GT-N7000000000 using Tapastalker 2
Click to expand...
Click to collapse
Yeah, but the device is in a condition that stock GB is useless. Believe me, I've tried.
Sorry man sucks. Hope you get it working.
Sent from my GT-N7000000000 using Tapastalker 2
NoobSibot said:
I have this Note and it was emmc bricked. I managed to recover it by repartitioning.
Now I have only 2GB of internal memory that I can use.
But there is problem with mounting the external sdcard in the phone.
It simply is not able to mount the sdcard to the correct mount point. When I go to the Storage section in Settings I tap mount Sdcard, the notification shows that it's preparing the sdcard and then nothing happens.
I've tried multiple ROMs to no avail.
Here is the logcat output.
Click to expand...
Click to collapse
I would also try to swap internal and external sdcard to see if it helps. The guide is below:
http://forum.xda-developers.com/showthread.php?t=1454753
Awesome idea
forest1971 said:
I would also try to swap internal and external sdcard to see if it helps. The guide is below:
http://forum.xda-developers.com/showthread.php?t=1454753
Click to expand...
Click to collapse
I tried ics sd binder and had no success. Force close.
And I don't really like the idea of swapping internal and external. I'll try repartitioning again and if it didn't help I guess I have to swap.
Doesn't seem like many options are left for you
And one more thing. Could this be caused by a broken External SD Card?
Apparently the sdcard is fine 'cause I can access it using shell or my laptop. But for all I know something might be broken in there because repartitioning (again) didn't help,
Hood the ext SD to your comp using an adapter directly and check it
Sent from my GT-N7000000000 using Tapastalker 2
I just fail to see why is this happening and I'm frustrated about it!
After repartitioning there is at least 2GB of internal memory left usable for data. I can easily install apps and it's working just fine.
But whenever I try to recieve a file from internet or bluetooth it says the sdcard is not mounted!
And I can't see why I can not use the external sd card. I can access it using these paths '/extSdCard', '/storage/sdcard1', '/mnt/extSdCard'.
And swapping did not help either.
What about using a sym link
What about it?
There is a symlink, '/sdcard' which is a link to '/storage/sdcard0' but when I try to go inside it in Root Explorer it says "The SdCard is not currently mounted."
What are the permissions set to ...
You may want to try to create the link in terminal emulator...back up original first... I don't know if this is the right thing to do or not just coming up with ideas
ln -s would be the command
NoobSibot said:
What about it?
There is a symlink, '/sdcard' which is a link to '/storage/sdcard0' but when I try to go inside it in Root Explorer it says "The SdCard is not currently mounted."
Click to expand...
Click to collapse
Give this a try___: http://forum.xda-developers.com/showthread.php?t=1667886

[STOCK-4.2.2][ALPHA] Unofficial Stock Jellybean from LG G2 - discontinued [NEWBL]

Stock LG Jellybean from LG G2
I'm proud to present you my unofficial Stock version of Android 4.2.2.At the moment it is in developing. I only make it public now, beacuse it boots and i think this community can help out a bit at some parts! This is a very unstable version and i now that not everything works!
This version comes LG UI 3 and many features of the G2. Not everything can get ported, because we don't have all the hardware stuff from G2, for example: The IR Blaster (so no QuickRemote) or Miracast (requires at the moment Qualcomn libs and stuff).
Please be patient that this version is at the moment only a ALPHA-VERSION so not everything will work as it should be! Please help me by fixing them, if you can and i'm pretty sure that everyone can do at least a bit. You can grab a logcat or at least describe your problem in detail! Bug reports with an detailed explanation and a log are always welcome and please don't report stuff that is already in the not working list. If you don't have enough posts, but think there is an important thing that you want to tell me then write me a PM​
Ported from LG G2:
Because the whole rom is a port of the official G2 system dump you will get a full LG UI. So it is not just a theme, it is a full working system. But as the G2 has a 2 GB system and that would not make so much sense on our device, so i deleted many LG/vendor/carrier apps. I will provide them later as an extension. Our device is really powerful, but the G2 runs a Quad-Core from Qualcomm so under the hood it has much more power. Maybe because of that some stuff will get a bit lagging when on heavy usage.
As you all should know we are only having 512 MB of RAM vs 2GB on G2. I tried to trim the system down as much as i can, but i can't extend our RAM; so very heavy multitasking will cause troubles and sometimes the launcher will redraw. As said above this is only a alpha version! I will try to decrease the system RAM usage as much as possible. (Oh and on a side note: deactivating location access will save you around 10-20 MB because googles location services won't run in background)
Features:
I put many hours of work into it in the last couple of weeks so please remember that when you are complaining about stuff not working. I'm open to everyone that have some ideas on how to fix something and will take a look at everything you send to me! Below the list are explanations of some of the features!
LG G2 UI
LG Stock 4.2.2 Keyboard with swipe features
3 Different Screen Off animations
Some gesture shortcuts (like turn device around to silent incoming calls)
LG Guest mode
"Accessory" - Show a overlay of some selected apps when plugging in earphones or the usb cable
Battery saver options
Slide Aside
QSlide Apps
Wireless Storage option
Quiet Mode
QuickMemo Video
Text Link engine
init.d support
Superuser from koush (If it don't work please flash this! This is the Google+ post from koush: Superuser
HDR in Camera, but read as well the non working stuff!
Keyboard:
The keyboard comes with 4 theme: The standard white theme, a block one, a lovely one (pink) and one name natural! Choose what you like. The Keyboard is capable of a swipe features, handwriting or just the normal mode. It has a footprint from around ~20MB Ram if you think this is too much you can switch to the android keyboard. It is included as-well. Now there is only the english language included, will provide the others later!
Slide Aside
You can save opened apps by sliding with three fingers from the right edge screen to the left. When an app is saved you can access it later by sliding with 3 fingers from left to right. This will open the app again in last state. BUT we only have 512 MB Ram so if a app is very huge or you save many apps (up to max. 3) this will kill them!
LG promotion video
QSlide Apps
This is a bunch of special apps with which you can enable real multitasking. Activating one of them will launch an overlay at your current screen with which you can interact. You can change the size, the transparency or move it around. You can launch them as-well if you find a QSlide Icon in an App. Example: At the left of the input field of the calculator
Text Link Engine
If you found a text link icon near a message tap on it and you will be able to automatically insert the data (for example in a SMS with a meeting address and time) in you calendar for example. The software will figure out at runtime if it is a event or whatever and will give you the option to store this data into apps.
LG promotion video
Click to expand...
Click to collapse
Not availbe stuff for now:
Wireless Storage - Currently not working because of not working wifi
When you enable that option you will be able to acces your phone storage other the network. You will get a screen that shows your phone's ip. Then at your computer open your explorer. Click on the search bar at the top of the window and type:
HTML:
\\192.168.x.xx (the IP address listed on your Wireless storage screen)
You will be prompted to enter your username and password and once done a network folder labeled "g2" will pop up and you will have wireless access to your phone.
Guest mode: - Currently not working because of a not working lockscreen
With the guest mode you can declare an other lock pattern. With this special pattern the phone will go into the guest mode. This will restrict the usage. You can define some apps that you will be able to use in guest mode and which not. In this mode you can not access the statusbar (pulling it down) or settings app.
LG promotion video
What is not working
Data (phone/sms)
Wifi ( + Wireless Storage)
GPS
Bluetooth
Rotation
Lg Lockscreen (use the small android one, already included) -> Big thanks to nvidia!
Statusbar pull down, will fc SystemUI
External Storage not mounting
Camera (+ Wise Screen & Smart Video) -> More or less, you can take photos with default settings
Font server
Brightness settings won't get saved (auto + value)
SetupWizard
Contacts -> FC
Date & Time options under settings -> FC
Storage and lockscreen settings -> FC
Custom background (please don't try it!)
Gallery will fc when clicking on an image
MTP -> use Mass storage or just only charge
Phone process will fc everytime in background, please ignore it!
Graphic issues:
Launcher (nearly nothing is displayed right)
Camera (around the shutter button, the background is black)
Calculator (the background is black in normal app // background transparent in qslide)
notebook (the app is displayed too large)
Install
Requirements:
The new unlocked bootloader
TWRP or CWM Recovery (tested with TWRP v2.6.0.0)
A enlarged system partition (use the AIO Toolkit provided by @spyrosk ), minimum: ~900MB, better 1 GB
Important: You should make a backup of everything before repartition your device! And please make a full wipe before first flash!
First install
Copy the downloaded zip to internal SD Card
Wipe: System + data + cache (This is required, you should backup your current ROM if sth. goes wrong you can always return)
Install the zip file (Don't install any other zip then, please perform a reboot before flashing other zips)
reboot your device
Important: The progress of flashing will take long, so please wait till it finishes! And the first boot will take really long, the next ones will be shorter so for both flashing and first boot: Wait! And after first boot, reboot again!
Updating install
Install the update zip
Wipe cache + dalvik-cache
Reboot
Important:I will not provide everytime a full zip. I will provide update zips and when one is big enough i will make a next full release. I can't provide everytime the full zip. That will cost too much upstream and you have to download every time the full 1 GB zip. So follow these rules:
Download latest full zip (marked with a [full]) > Download other small update zips (marked with [update]) that were released since the last full zip! > Flash the full version first, then the all other update zips (in the correct order!) > Reboot and enjoy 4.2.2
I have worked on this for weeks and is apart from some small code additions to tony, my first contribution, so enjoy it! And please read the OP, you mustn't read everything in detail, but at least the working/not working things and the install introduction. When you want to report something, then read how to do it properly! When you want to say thanks to someone here, then press thanks and don't write posts only to say thank you! This is the first ALPHA version, don't expect that most of the stuff works!
Downloads
Alpha #01: At the moment from bitbucekt, but i will provide a link from an other hoster soon! #1 or the mega mirror: #1 provided by @Custom40
Screenshots:
{
"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"
}
​
Configuration
The Rom is based on the hardware side of the tonyp T-Build 5- thanks to @tonyp! I will recompile all stuff new with -OS build flags and the dalvik low memory footprint from Slim Rom sources Really thanks to @DJNoXD Had not worked at the first try, so i had to take CM sources with -Os and dalvik low memory footprint
Included is the Kowalski Kernel M1 ramhack (we need that extra RAM atm) from the awesome @pengus77! ZRam is disabled, but the swap partition is enabled by default! (Would be a waste if we leave it unused).
I've reduced the dalvik heap to save apps from taking too much RAM. If this causing troubles post this and i will look which value is better!
Screen density changed in build.prop to 213
Thanks to:
@Custom40 - you helped me so much with all this bringup!
@tonyp - well i learned so much from you and you help me with so much! Would not have the knowledge if you hadn't gave me so many tips and explained so much!
@Jishnu Sur - i started this because of your idea and you give me much information for this
@pengus77 for providing an awesome kernel
@DJNoXD for help me with the mounting, some parts of the boot.img and the permission to rebuild from his sources!
@ LG this time you did everything right with code! No crazy stuff and everything well organized! Why not doing this before?!
every other one i forgot - please tell me!
And of course my girlfriend, because you support me by everything. Also this port is dedicated to you!
This post contains some basic information about the not working stuff. I wont update it everytime so maybe some stuff is missing. If someone maybe knows how to fix it or have an idea you can post it in here and we will discuss it. (That is the reason why i post this in here. You know: Developer Discussion :good: ).
So what i have done so far:
I took the system dump from LG G2 and compared it with some Custom Roms avaible in here. LG stays at low level stuff very close to android stuff. So i took all libs and binarys from Tonyps T-Build 5. Here a list what comes from where:
System content
addon.d -> CM
app -> LG
apps -> LG
bin -> CM
framework -> CM
etc -> Mixed very much together (LG, CM, own changes)
extras - CM
fonts -> LG
framework -> LG
kaf -> LG
lib -> most CM + SlimRom, less LG
media -> LG
sounds -> LG
tts -> CM
usr -> CM
vendor -> most CM, less LG
xbin -> CM
boot.img -> CM
Mixed Stuff: etc, lib, vendor
etc:
So this is a little bit difficult. Lg placed in here much customization stuff so i basically added all things we have and deleted all what we dont't have. Started by permissions i modified nearly everything. All stuff related to: Volume Vibrator (we dont have the native support atm so for now disabled), IrBlaster (if anyone is willing to provide all our phones with one i will reintegerate it ), Optcal image stabilisator for camera, emotional led, batteryid check (this means he software will check the id and when it donesn't fit it will shut phone down: problem is we only have "invalid" ids - g2 have an other battery), NFC, Wireless charging
Okay for the fstab file: I took the one from the p990 device trees. So it is the one that is used in CyanogenMod and SlimRom.​
lib:
Lg stayed near at stock android sources with the framework so all stuff is taken from CM sources (more specific: Tonyps t-build 5). Only some additional stuff from LG is added there: I checked all the added libs with a hexeditor and all of them only refer to libs we basically have. I included them because native code ican be executed much faster then java. So added libs are: libDM_Lib.so, libdhwr.so, libjni_lgeime_native.so, libjni_xt9input_v9.so, libripple.so, libripple_with_log.so, libxg.so! Some of them are used for the Lg keyboard and soem of them for the lockscreen.​
vendor:
Coming soon...​
Apps (system/app, system/apps)
I deleted much of the Lg crap and bloatware so the whole rom is smaller. Some apps are still fc and i now this, but i can't fix all of them at one time so it will take some time. I added some other apps that are quite useful i thinks. Many apps are really huge and will get trimmed later so atm they are just large
So informaion for some apps:
Gallery
It will fc when selecting a picture. you can view photos when the are displayed as thumbnails.​Camera
You can take photos with default settings, but front camera and video recorder wont work. And you shoudln't change any settings. I don't know why but the camera only will take phoos with 5MP. You can't choose 8 MP​Lockscreen
The lockscreen won't fc, but we can't unlock the screen. The lockscreen uses some nive render effects and LG is using precompiled binarys. That should give a speed bump, but now Nvidia comes. Nvidia changed that in GLES 2. Using precompiled binarys is depraceted. So can read this on page 4 at this document: http://developer.download.nvidia.com/assets/mobile/files/tegra_gles2_development.pdf. That will require a bit of a workaround and will take lots of time. I will look into this, but it is not the first priority.​
and so on...
If some apps are fc and at the list below is no entry about them you can report that! Important is that you take a logcat when that appear and describe what you did before!
Phone
Bluetooth
Contacts
Framework
Coming soon...​
All stuff is at my bitbucket account! bitbucket
So what is next:
What i'm focusing on:
Phone connection/GSM
Wifi
storage mounting
What is coming in the next alpha:
Rebuild all ARM modules with -Os flags( Thanks to @tonyp for testing this and the initial idea!)
fixed phone process crashes in background (GSM still wont work propely)
Disabled enforced camera sound
Here are some logs for certain stuff:
Not mounting external SD:
Some Code & a log:
in storage_list.xml in the framework-res.apk
Code:
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/storage/sdcard" android:storageDescription="@string/storage_internal" android:primary="true" android:emulated="false" android:removable="false" android:mtpReserve="100" android:allowMassStorage="true" />
<storage android:mountPoint="/storage/sdcard1" android:storageDescription="@string/storage_sd_card" android:emulated="false" android:removable="true" android:mtpReserve="100" android:allowMassStorage="true" android:primary="false"/>
</StorageList>
And in strings.xml:
Code:
...
<string name="storage_sd_card">SD card</string>
<string name="storage_usb">USB storage</string>
...
here the vold.fstab:
Code:
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
Log:
I/SystemServer( 427): Mount Service
D/MountService( 427): got storage path: /storage/sdcard description: Internal storage primary: true removable: false emulated: false mtpReserve: 100 allowMassStorage: true maxFileSize: 0
D/MountService( 427): addVolumeLocked() StorageVolume [mStorageId=0 mPath=/storage/sdcard mDescriptionId=17040653 mPrimary=true mRemovable=false mEmulated=false mMtpReserveSpace=100 mAllowMassStorage=true mMaxFileSize=0 mOwner=null]
D/MountService( 427): got storage path: /storage/sdcard1 description: SD card primary: false removable: true emulated: false mtpReserve: 100 allowMassStorage: true maxFileSize: 0
D/MountService( 427): addVolumeLocked() StorageVolume [mStorageId=0 mPath=/storage/sdcard1 mDescriptionId=17040654 mPrimary=false mRemovable=true mEmulated=false mMtpReserveSpace=100 mAllowMassStorage=true mMaxFileSize=0 mOwner=null]
D/VoldConnector( 427): SND -> {1 volume list}
D/VoldConnector( 427): RCV <- {110 1 sdcard /storage/sdcard1 1}
D/VoldConnector( 427): RCV <- {110 1 emmc /storage/sdcard 1}
D/VoldConnector( 427): RCV <- {200 1 Volumes listed.}
D/VoldConnector( 427): RMV <- {110 1 sdcard /storage/sdcard1 1}
D/VoldConnector( 427): RMV <- {110 1 emmc /storage/sdcard 1}
D/VoldConnector( 427): RMV <- {200 1 Volumes listed.}
D/MountService( 427): volume state changed for /storage/sdcard1 (removed -> unmounted)
D/MountService( 427): volume state changed for /storage/sdcard (removed -> unmounted)
W/MountService( 427): getSecureContainerList() called when storage not mounted
D/VoldConnector( 427): SND -> {2 asec list}
D/VoldConnector( 427): RCV <- {200 2 asec operation succeeded}
D/VoldConnector( 427): RMV <- {200 2 asec operation succeeded}
D/VoldConnector( 427): SND -> {3 volume mount /storage/sdcard}
I/Vold ( 92): /dev/block/vold/179:11 being considered for volume emmc
D/Vold ( 92): Volume emmc state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/Vold ( 92): Trying to get filesystem type for /dev/block/vold/179:11
D/VoldConnector( 427): RCV <- {605 Volume emmc /storage/sdcard state changed from 1 (Idle-Unmounted) to 3 (Checking)}
D/MountService( 427): volume state changed for /storage/sdcard (unmounted -> checking)
I/Vold ( 92): Filesystem check completed OK
W/ThrottleService( 427): unable to find stats for iface rmnet0
I/Vold ( 92): Device /dev/block/vold/179:11, target /storage/sdcard mounted @ /mnt/secure/staging
D/NetdConnector( 427): SND -> {6 interface setthrottle rmnet0 -1 -1}
D/Vold ( 92): Volume emmc state changing 3 (Checking) -> 4 (Mounted)
D/VoldConnector( 427): RCV <- {605 Volume emmc /storage/sdcard state changed from 3 (Checking) to 4 (Mounted)}
D/VoldConnector( 427): RCV <- {200 3 volume operation succeeded}
D/MountService( 427): volume state changed for /storage/sdcard (checking -> mounted)
D/VoldConnector( 427): RCV <- {212 4 Share disabled}
D/VoldConnector( 427): RMV <- {200 3 volume operation succeeded}
E/VoldConnector( 427): NDC Command {3 volume mount /storage/sdcard} took too long (1941ms)
D/VoldConnector( 427): RMV <- {212 4 Share disabled}
D/VoldConnector( 427): SND -> {5 volume mount /storage/sdcard1}
D/DirectVolume( 92): Disc has only one partition.
I/Vold ( 92): /dev/block/vold/179:16 being considered for volume sdcard
D/Vold ( 92): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
D/Vold ( 92): Trying to get filesystem type for /dev/block/vold/179:16
E/VoldConnector( 427): NDC Command {4 volume shared /storage/sdcard ums} took too long (566ms)
D/VoldConnector( 427): RCV <- {605 Volume sdcard /storage/sdcard1 state changed from 1 (Idle-Unmounted) to 3 (Checking)}
E/Vold ( 92): None or unknown filesystem on /dev/block/vold/179:16
D/Vold ( 92): Volume sdcard state changing 3 (Checking) -> 1 (Idle-Unmounted)
D/VoldConnector( 427): RCV <- {605 Volume sdcard /storage/sdcard1 state changed from 3 (Checking) to 1 (Idle-Unmounted)}
D/VoldConnector( 427): RCV <- {402 5 volume operation failed (No data available)}
D/MountService( 427): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/sdcard (has extras) } to UserHandle{-1}
D/VoldConnector( 427): RMV <- {402 5 volume operation failed (No data available)}
D/MountService( 427): volume state changed for /storage/sdcard1 (unmounted -> nofs)
D/MountService( 427): sendStorageIntent Intent { act=android.intent.action.MEDIA_NOFS dat=file:///storage/sdcard1 (has extras) } to UserHandle{-1}
D/MountService( 427): volume state changed for /storage/sdcard1 (nofs -> checking)
D/MountService( 427): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///storage/sdcard1 (has extras) } to UserHandle{-1}
E/MountService( 427): Boot-time mount failed (-3)
D/MountService( 427): volume state changed for /storage/sdcard1 (checking -> unmounted)
Wifi
I/SystemServer( 427): Wi-Fi P2pService
D/WifiP2pService( 427): P2pDisabledState
I/SystemServer( 427): Wi-Fi Service
D/NetdConnector( 427): SND -> {1 interface ipv6 wlan0 disable}
D/WifiService( 427): captive portal disabled in wifi service
D/NetdConnector( 427): RCV <- {400 1 Failed to change IPv6 state (No such file or directory)}
I/SystemServer( 427): Connectivity Service
D/NetdConnector( 427): RMV <- {400 1 Failed to change IPv6 state (No such file or directory)}
D/WifiP2pService( 427): P2pDisabledState{ what=69633 when=-1ms }
D/WifiP2pService( 427): DefaultState{ what=69633 when=-1ms }
D/WifiP2pService( 427): P2pDisabledState{ what=69632 when=-2ms [email protected] }
D/WifiP2pService( 427): DefaultState{ what=69632 when=-2ms [email protected] }
D/WifiP2pService( 427): Full connection with WifiStateMachine established
D/ConnectivityService( 427): ConnectivityService starting up
D/ConnectivityService( 427): [ConnectivityService]my featureset: none MPDN: 0 NAI_SUPPORT: 0
D/ConnectivityService( 427): [ConnectivityService]LGDBControl
E/ConnectivityService( 427): Ignoring protectedNetwork 10
E/ConnectivityService( 427): Ignoring protectedNetwork 11
E/ConnectivityService( 427): Ignoring protectedNetwork 12
D/WifiService( 427): New client listening to asynchronous messages
E/MobileDataStateTracker( 427): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 427): default: Could not enable APN type "default"
I/WifiService( 427): WifiService starting up with Wi-Fi disabled
E/WifiService( 427): Couldn't get WifiMHPIfaceIface :
E/WifiService( 427): useMobileHotspot() : false
E/WifiService( 427): CONFIG_LGE_WLAN_PATH : false
I/SystemServer( 427): Network Service Discovery Service
D/NsdService( 427): Network service discovery enabled true
D/NetdConnector( 427): SND -> {2 bandwidth enable}
D/NetdConnector( 427): RCV <- {200 2 Bandwidth command succeeeded}
D/NetdConnector( 427): RMV <- {200 2 Bandwidth command succeeeded}
D/NetdConnector( 427): SND -> {3 firewall disable}
D/NetdConnector( 427): RCV <- {200 3 Firewall command succeeded}
D/NetdConnector( 427): RMV <- {200 3 Firewall command succeeded}
D/NetdConnector( 427): SND -> {4 bandwidth setglobalalert 2097152}
D/SystemUIService( 724): running: [email protected]
D/NetdConnector( 427): RCV <- {200 4 Bandwidth command succeeeded}
D/NetdConnector( 427): RMV <- {200 4 Bandwidth command succeeeded}
D/NetdConnector( 427): SND -> {5 firewall disable}
D/NetdConnector( 427): RCV <- {200 5 Firewall command succeeded}
D/NetdConnector( 427): RMV <- {200 5 Firewall command succeeded}
D/WifiP2pService( 427): P2pDisabledState{ what=139328 when=0 arg2=1 obj=WFD enabled: falseWFD DeviceInfo: 256
D/WifiP2pService( 427): WFD CtrlPort: 8554
D/WifiP2pService( 427): WFD MaxThroughput: 20 }
D/WifiP2pService( 427): DefaultState{ what=139328 when=-11ms arg2=1 obj=WFD enabled: falseWFD DeviceInfo: 256
D/WifiP2pService( 427): WFD CtrlPort: 8554
D/WifiP2pService( 427): WFD MaxThroughput: 20 }
W/dalvikvm( 1814): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/lge/wifiext/WifiServiceExt;
W/WifiIfaceManager( 1814): Class not found: java.lang.ClassNotFoundException: com.lge.wifiext.WifiServiceExt
Bluetooth
E/AndroidRuntime( 1096): FATAL EXCEPTION: main
E/AndroidRuntime( 1096): java.lang.RuntimeException: Unable to instantiate application com.android.bluetooth.btservice.AdapterApp: java.lang.ClassNotFoundException: Didn't find class "com.android.bluetooth.btservice.AdapterApp" on path: /system/framework/com.lge.systemservice.core.jar:/system/framework/javax.obex.jar:/system/framework/com.broadcom.bt.jar:/system/framework/com.lge.bluetooth.jar:/system/framework/com.lge.mdm.jar:/system/app/LGBluetooth4.apk
E/AndroidRuntime( 1096): at android.app.LoadedApk.makeApplication(LoadedApk.java:504)
E/AndroidRuntime( 1096): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4480)
E/AndroidRuntime( 1096): at android.app.ActivityThread.access$1300(ActivityThread.java:146)
E/AndroidRuntime( 1096): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
E/AndroidRuntime( 1096): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1096): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1096): at android.app.ActivityThread.main(ActivityThread.java:5168)
E/AndroidRuntime( 1096): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1096): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1096): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
E/AndroidRuntime( 1096): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
E/AndroidRuntime( 1096): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1096): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.bluetooth.btservice.AdapterApp" on path: /system/framework/com.lge.systemservice.core.jar:/system/framework/javax.obex.jar:/system/framework/com.broadcom.bt.jar:/system/framework/com.lge.bluetooth.jar:/system/framework/com.lge.mdm.jar:/system/app/LGBluetooth4.apk
E/AndroidRuntime( 1096): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
E/AndroidRuntime( 1096): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 1096): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 1096): at android.app.Instrumentation.newApplication(Instrumentation.java:968)
E/AndroidRuntime( 1096): at android.app.LoadedApk.makeApplication(LoadedApk.java:499)
E/AndroidRuntime( 1096): ... 11 more
Phone/data/sim
E/TelephonyProvider( 1708): is_mpdn ?? false
W/TelephonyProvider( 1708): onCreate: confFile=/system/etc/apns-conf.xml oldCheckSum=-1
E/TelephonyProvider( 1708): is_mpdn ?? false
V/TelephonyAutoProfiling( 1708): [loadFeatureFromXml] *** start feature loading from xml
V/TelephonyAutoProfiling( 1708): [getMatchedProfile] selected file : /etc/featureset.xml
D/QC_RIL_OEM_HOOK( 1708): The QcrilMsgTunnelService will be connected soon
D/QC_RIL_OEM_HOOK( 1708): Registering for intent ACTION_UNSOL_RESPONSE_OEM_HOOK_RAW
D/FASTDORMANCY( 1708): [UNKNOWN] Enter to UNKOWN State
D/FASTDORMANCY( 1708): [UNKNOWN] resetAll()
I/FASTDORMANCY( 1708): [UNKNOWN] Fast Dormancy Logic is ready.
W/ActivityManager( 427): Unable to start service Intent { cmp=com.qualcomm.qcrilmsgtunnel/.QcrilMsgTunnelService } U=0: not found
V/FASTDORMANCY( 1708): [UNKNOWN] prev: TxPkts(0), RxPkts(0)
V/FASTDORMANCY( 1708): [UNKNOWN] curr: TxPkts(0), RxPkts(0)
D/FASTDORMANCY( 1708): [UNKNOWN] isUMTS(): RadioTech(0)
D/FASTDORMANCY( 1708): [UNKNOWN] isUMTS(): RadioTech(0)
I/FASTDORMANCY( 1708): [UNKNOWN] ICC changed.
D/[LGE_DATA][LGEDCT] ( 1708): LGEDataConnectionTracker() has created
D/[LGE_DATA][LGEDCT] ( 1708): other country do not use this function. so return.
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : vzw_gfit, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : lgu_lte_single_device, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : support_emergency_callback_mode_for_gsm, value : null
V/TelephonyAutoProfiling( 1708): [init] ******** Telephony Auto Profiling *******
V/TelephonyAutoProfiling( 1708): [loadFeatureFromXml] *** start feature loading from xml
V/TelephonyAutoProfiling( 1708): [getMatchedProfile] selected file : /etc/featureset.xml
V/TelephonyAutoProfiling( 1708): [loadDataFromXml] load feature from xml complete : {KSC5601Decoding=true, turkishEncoding=true, allow_sending_empty_sms=true, copy_submit_to_uicc=true, handle8bit=true, MANUAL_SELECTION_WITH_RAT=true, seperate_processing_sms_uicc=true}
D/LgeSimInfo( 1708): [getSimInfo] numeric is invalid, numeric : , subId : 0
D/LgeSimInfo( 1708): TelephonyManager : [email protected] : null
V/LgeSimInfo( 1708): [getSimInfo] *** SIM Info, MCC : null, MNC : null, subId : 0
D/TelephonyAutoProfiling( 1708): [loadProfileFromPreferences] *** start profile loading from preferences - defaultProfile : true
D/TelephonyAutoProfiling( 1708): [loadProfileFromPreferences] *** profile loading from preferences complete - defaultProfile : true, subId : 0 - {ShortCodeCall=08}
D/[SMS_LD]( 1708): initDispatchers(), start
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : doNotUse_AP_retry, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : vzw_sms_retry_scheme, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : vzw_sms_retry_scheme, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : increase_mo_msg_queue_limit_vzw, value : null
I/ActivityManager( 427): Start proc com.android.smspush for service com.android.smspush/.WapPushManager: pid=1799 uid=10077 gids={50077, 1028}
E/[SMS_LW]( 1708): getFormat(), getFormat should never be called from here!
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : sms_gcf_config, value : null
D/[SMS_LD]( 1708): SMSDispatcher(), Creator KEY_SMS_GCF_CONFIG is NOT Defined -> SyncronousSending
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : sprint_reassembly_sms, value : null
D/[SMS_LD]( 1708): initDispatchers(), start
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : sms_gcf_config, value : null
D/[SMS_LD]( 1708): SMSDispatcher(), Creator KEY_SMS_GCF_CONFIG is NOT Defined -> SyncronousSending
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : sprint_reassembly_sms, value : null
D/[SMS_LD]( 1708): CdmaSMSDispatcher(), created
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : lgu_dispatch, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : kddi_domain_notification, value : null
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : sms_gcf_config, value : null
D/[SMS_LD]( 1708): SMSDispatcher(), Creator KEY_SMS_GCF_CONFIG is NOT Defined -> SyncronousSending
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : sprint_reassembly_sms, value : null
D/[SMS_LD]( 1708): GsmSMSDispatcher(), GsmSMSDispatcher created
V/TelephonyAutoProfiling( 1708): [getValue] FEATURE key : CHANGE_CDMA_SUBSCRIPTION_TO_RUIM, value : null
I/LgeUiccImpl( 1708): LgeUiccImpl called
E/ServiceManager( 91): add_service('iusiminfo',0x54) uid=1001 - PERMISSION DENIED
E/LgeUiccManager( 1708): Instance creating fail! : java.lang.reflect.InvocationTargetException
V/LgeRssiData( 1708): [loadRssi] selected file : /etc/rssi.xml
I/LGIMS ( 1708): Creating IMSPhone ... Phone Type = 1
E/ServiceManager( 91): add_service('com.lge.ims.phone',0x54) uid=1001 - PERMISSION DENIED
D/AndroidRuntime( 1708): Shutting down VM
W/dalvikvm( 1708): threadid=1: thread exiting with uncaught exception (group=0x4113c600)
E/AndroidRuntime( 1708): FATAL EXCEPTION: main
E/AndroidRuntime( 1708): java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.SecurityException
E/AndroidRuntime( 1708): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4510)
E/AndroidRuntime( 1708): at android.app.ActivityThread.access$1300(ActivityThread.java:146)
E/AndroidRuntime( 1708): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
E/AndroidRuntime( 1708): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1708): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1708): at android.app.ActivityThread.main(ActivityThread.java:5168)
E/AndroidRuntime( 1708): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1708): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1708): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
E/AndroidRuntime( 1708): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
E/AndroidRuntime( 1708): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1708): Caused by: java.lang.SecurityException
E/AndroidRuntime( 1708): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1708): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:150)
E/AndroidRuntime( 1708): at android.os.ServiceManager.addService(ServiceManager.java:72)
E/AndroidRuntime( 1708): at com.android.internal.telephony.IMSPhone.getInstance(IMSPhone.java:114)
E/AndroidRuntime( 1708): at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:251)
E/AndroidRuntime( 1708): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:72)
E/AndroidRuntime( 1708): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:1713)
E/AndroidRuntime( 1708): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:38)
E/AndroidRuntime( 1708): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
E/AndroidRuntime( 1708): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4507)
E/AndroidRuntime( 1708): ... 10 more
W/ActivityManager( 427): Process com.android.phone has crashed too many times: killing!
I/Process ( 1708): Sending signal. PID: 1708 SIG: 9
I/ServiceManager( 91): service 'iphonesubinfo' died
I/ServiceManager( 91): service 'simphonebook' died
I/ServiceManager( 91): service 'isms' died
I/ActivityManager( 427): Process com.android.phone (pid 1708) has died.
D/LGIMS ( 842): [PhoneStateTracker] PhoneStateReceiver - android.intent.action.SIM_STATE_CHANGED
I/LgeUiccImpl( 1814): LgeUiccImpl called
E/ServiceManager( 91): add_service('iusiminfo',0x54) uid=1001 - PERMISSION DENIED
E/LgeUiccManager( 1814): Instance creating fail! : java.lang.reflect.InvocationTargetException
V/LgeRssiData( 1814): [loadRssi] selected file : /etc/rssi.xml
I/LGIMS ( 1814): Creating IMSPhone ... Phone Type = 1
E/ServiceManager( 91): add_service('com.lge.ims.phone',0x54) uid=1001 - PERMISSION DENIED
D/AndroidRuntime( 1814): Shutting down VM
Other random stuff
E/Touch ( 427): Incoming Call write failjava.io.FileNotFoundException: /sys/devices/virtual/input/lge_touch/incoming_call: open failed: ENOENT (No such file or directory)
---Next---
F/libc ( 1962): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 1988 (MediaScannerSer)
---Next---
E/Touch ( 421): Incoming Call write failjava.io.FileNotFoundException: /sys/devices/virtual/input/lge_touch/incoming_call: open failed: ENOENT (No such file or directory)
---Next---
E/ThemeManagerService( 421): theme_resources.xml not found
"A good start is half done" as we say in my country.
And this looks like a very good start :good:
Believe me I can imagine how much effort and time you must have spent on this.
Thank you and a big Bravo !!.
I'll try it asap on my dual-boot
As said on my thread, The bestest and biggest surprise is here..
Well done bro.. My crap internet connect doesnt letme download from yesterday.. i will try to fix a fee things as per out convo.
Hugs man
Sent from my LG-P880 using xda app-developers app
Lg G2 Rom on Lg 2X!
I do not believe my eyes, now I have a new hero!!:highfive:
Congratulations, another era
Really thanks to all of you! It make me smile to know that you like my little project!
Oh and here is a small update on my work for today: (Phone & data)
Our Ril-Class (taken from CM) gets called so that is not the problem:
Code:
I/LGEInfineon( 1117): LGEInfineon gets constructed
But then we get 2 security Exceptions, this is interesting, because then maybe the other part in framework is working and there are only some issues with signing or something similiar.
If someone is interested here is a log:
Code:
I/LGEInfineon( 1117): LGEInfineon gets constructed
D/[SMS_LD]( 771): GsmSMSDispatcher(), GsmSMSDispatcher created
I/LgeUiccImpl( 771): LgeUiccImpl called
E/ServiceManager( 92): add_service('iusiminfo',0x54) uid=1001 - PERMISSION DENIED
E/LgeUiccManager( 771): Instance creating fail! : java.lang.reflect.InvocationTargetException
E/LgeUiccManager( 771): java.lang.reflect.InvocationTargetException
E/LgeUiccManager( 771): at java.lang.reflect.Constructor.constructNative(Native Method)
E/LgeUiccManager( 771): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/LgeUiccManager( 771): at com.android.internal.telephony.uicc.LgeUiccManager.(LgeUiccManager.java:43)
E/LgeUiccManager( 771): at com.android.internal.telephony.PhoneProxy.(PhoneProxy.java:146)
E/LgeUiccManager( 771): at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:227)
E/LgeUiccManager( 771): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:72)
E/LgeUiccManager( 771): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:1713)
E/LgeUiccManager( 771): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:38)
E/LgeUiccManager( 771): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
E/LgeUiccManager( 771): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4507)
E/LgeUiccManager( 771): at android.app.ActivityThread.access$1300(ActivityThread.java:146)
E/LgeUiccManager( 771): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
E/LgeUiccManager( 771): at android.os.Handler.dispatchMessage(Handler.java:99)
E/LgeUiccManager( 771): at android.os.Looper.loop(Looper.java:137)
E/LgeUiccManager( 771): at android.app.ActivityThread.main(ActivityThread.java:5168)
E/LgeUiccManager( 771): at java.lang.reflect.Method.invokeNative(Native Method)
E/LgeUiccManager( 771): at java.lang.reflect.Method.invoke(Method.java:511)
E/LgeUiccManager( 771): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
E/LgeUiccManager( 771): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
E/LgeUiccManager( 771): at dalvik.system.NativeStart.main(Native Method)
E/LgeUiccManager( 771): Caused by: java.lang.SecurityException
E/LgeUiccManager( 771): at android.os.BinderProxy.transact(Native Method)
E/LgeUiccManager( 771): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:150)
E/LgeUiccManager( 771): at android.os.ServiceManager.addService(ServiceManager.java:72)
E/LgeUiccManager( 771): at com.lge.uicc.UsimInterfaceManager.(UsimInterfaceManager.java:196)
E/LgeUiccManager( 771): at com.lge.uicc.UsimInterfaceManager.getInstance(UsimInterfaceManager.java:178)
E/LgeUiccManager( 771): at com.lge.uicc.LgeUiccImpl.(LgeUiccImpl.java:35)
E/LgeUiccManager( 771): ... 20 more
D/StatusBar.NetworkController( 672): changing data overlay icon id to 0
I/LGIMS ( 771): Creating IMSPhone ... Phone Type = 1
E/ServiceManager( 92): add_service('com.lge.ims.phone',0x54) uid=1001 - PERMISSION DENIED
D/AndroidRuntime( 771): Shutting down VM
W/dalvikvm( 771): threadid=1: thread exiting with uncaught exception (group=0x41b66600)
E/AndroidRuntime( 771): FATAL EXCEPTION: main
E/AndroidRuntime( 771): java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.SecurityException
E/AndroidRuntime( 771): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4510)
E/AndroidRuntime( 771): at android.app.ActivityThread.access$1300(ActivityThread.java:146)
E/AndroidRuntime( 771): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
E/AndroidRuntime( 771): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 771): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 771): at android.app.ActivityThread.main(ActivityThread.java:5168)
E/AndroidRuntime( 771): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 771): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 771): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
E/AndroidRuntime( 771): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
E/AndroidRuntime( 771): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 771): Caused by: java.lang.SecurityException
E/AndroidRuntime( 771): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 771): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:150)
E/AndroidRuntime( 771): at android.os.ServiceManager.addService(ServiceManager.java:72)
E/AndroidRuntime( 771): at com.android.internal.telephony.IMSPhone.getInstance(IMSPhone.java:114)
E/AndroidRuntime( 771): at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:251)
E/AndroidRuntime( 771): at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:72)
E/AndroidRuntime( 771): at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:1713)
E/AndroidRuntime( 771): at com.android.phone.PhoneApp.onCreate(PhoneApp.java:38)
E/AndroidRuntime( 771): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
E/AndroidRuntime( 771): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4507)
E/AndroidRuntime( 771): ... 10 more
Oh and i disabled the enforced camera sound, so you can really change it in camera to no sound!
A lot of people around here wanted something like this, never expected it to happen, here it is.
If you think this is the early stages, think again. Trust me when I tell you, Firtecy started this project a long time ago. How well it all turns out and how fast the development goes depends on us too. This is not the beginning of this ROM, it is the beginning of reaching its maturity! Test and do your best at helping to improve this project to reach its full potential.
Now, about the current logcats from post #2, here is my thoughts (my O2X is currently with my dad, so testing won't come easy for me):
SD Card: In boot.img, check that the symlinks are correct. Compare the source ROM device rc file in boot.img with you're one search for all /sdcard1 values perhaps lg jb uses external_sd instead of sdcard1.
Wifi: com.lge.wifiext.WifiServiceExt issue usaully Ljava/lang/UnsatisfiedLinkError; means the class needs a lib in jar folder extract and decompile com.lge.wifiext.WifiServiceExt search for a Library string then in lib folder look for for missing file
Bluetooth: om.android.bluetooth.btservice.AdapterApp: java.lang.ClassNotFoundException: Didn't find class "com.android.bluetooth.btservice.AdapterApp" on path: /system/framework/com.lge.systemservice.core.jar:/system/framework/javax.obex.jar:/system/framework/com.broadcom.bt.jar:/system/framework/com.lge.bluetooth.jar:/system/framework/com.lge.mdm.jar:/system/app/LGBluetooth4.apk
This looks like missing class also the source ROM may use a different chipset causing the classes to malfunction.
GSM: This seems hecticly broken but it looks like the deamon is broken in bin folder make sure RILD is from our O2X device not source ROM also lge-ril.so in lib folder must be from our O2X, but you probably already know this since you started working on it already hehe.
sys/devices/virtual/input/lge_touch/incoming_call: open failed: ENOENT (No such file or directory) This is a driver issue and there is nothing to do about this I'd say.
I wish you the best of luck! If some of you think the Bitbucket download is slow, I don't blame you. I'll mirror it to Mega (full DL speed for all), but it will have to wait till Friday, Firtecy knows why I hope .
Stay strong and have faith.
@Firtecy
Best wishes my friend and I am really proud and convinced that the world belongs to the young and is safe
GOD bless you and hugs
Sent from my LG-P990 using xda premium
Firtecy said:
Not mounting external SD:
Some Code & a log:
in storage_list.xml in the framework-res.apk
Code:
<?xml version="1.0" encoding="utf-8"?>
<StorageList
xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/storage/sdcard" android:storageDescription="@string/storage_internal" android:primary="true" android:emulated="false" android:removable="false" android:mtpReserve="100" android:allowMassStorage="true" />
<storage android:mountPoint="/storage/sdcard1" android:storageDescription="@string/storage_sd_card" android:emulated="false" android:removable="true" android:mtpReserve="100" android:allowMassStorage="true" android:primary="false"/>
</StorageList>
And in strings.xml:
Code:
...
<string name="storage_sd_card">SD card</string>
<string name="storage_usb">USB storage</string>
...
here the vold.fstab:
Code:
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
Click to expand...
Click to collapse
About not working SD-Card, compare it with stock ics or cm10.1...
In vold.fstab you find:
dev_mount emmc /storage/sdcard 11 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
Click to expand...
Click to collapse
In stock volt.fstab has the internal sd sdhci-tegra.3/mmc_host/mmc0 and the external sd has sdhci-tegra.2/mmc_host/mmc1, so maybe this are the reason why its not working...
Custom40 said:
A lot of people around here wanted something like this, never expected it to happen, here it is.
If you think this is the early stages, think again. Trust me when I tell you, Firtecy started this project a long time ago. How well it all turns out and how fast the development goes depends on us too. This is not the beginning of this ROM, it is the beginning of reaching its maturity! Test and do your best at helping to improve this project to reach its full potential.
Now, about the current logcats from post #2, here is my thoughts (my O2X is currently with my dad, so testing won't come easy for me):
SD Card: In boot.img, check that the symlinks are correct. Compare the source ROM device rc file in boot.img with you're one search for all /sdcard1 values perhaps lg jb uses external_sd instead of sdcard1.
Wifi: com.lge.wifiext.WifiServiceExt issue usaully Ljava/lang/UnsatisfiedLinkError; means the class needs a lib in jar folder extract and decompile com.lge.wifiext.WifiServiceExt search for a Library string then in lib folder look for for missing file
Bluetooth: om.android.bluetooth.btservice.AdapterApp: java.lang.ClassNotFoundException: Didn't find class "com.android.bluetooth.btservice.AdapterApp" on path: /system/framework/com.lge.systemservice.core.jar:/system/framework/javax.obex.jar:/system/framework/com.broadcom.bt.jar:/system/framework/com.lge.bluetooth.jar:/system/framework/com.lge.mdm.jar:/system/app/LGBluetooth4.apk
This looks like missing class also the source ROM may use a different chipset causing the classes to malfunction.
GSM: This seems hecticly broken but it looks like the deamon is broken in bin folder make sure RILD is from our O2X device not source ROM also lge-ril.so in lib folder must be from our O2X, but you probably already know this since you started working on it already hehe.
sys/devices/virtual/input/lge_touch/incoming_call: open failed: ENOENT (No such file or directory) This is a driver issue and there is nothing to do about this I'd say.
I wish you the best of luck! If some of you think the Bitbucket download is slow, I don't blame you. I'll mirror it to Mega (full DL speed for all), but it will have to wait till Friday, Firtecy knows why I hope .
Stay strong and have faith.
Click to expand...
Click to collapse
Nice! I hope this project will end in a success!
Check boot.img and i can confirm that all symlinks are set correct. I think this external_sd thing is only in the ICS. There i would guess are just other paths.
Wifi, really thanks for the hint! Will take a look at it later. The source smalis are at the moment not at bitbucket.
Bluetooth, it is really a mess, but what did we expect ^^ Bluetooth is in every newer android version a mess at our device!
GSM, yes i copied it again and made no difference.
And for the last, well we can't do anything at this, because we simply don't have this files in /sys filesystem. Maybe we have something similiar, but this will need some time..
So thank you very much!
sgspluss said:
About not working SD-Card, compare it with stock ics or cm10.1...
In vold.fstab you find:
In stock volt.fstab has the internal sd sdhci-tegra.3/mmc_host/mmc0 and the external sd has sdhci-tegra.2/mmc_host/mmc1, so maybe this are the reason why its not working...
Click to expand...
Click to collapse
If you take a look at the lg P990 repo at github (the P990-dev account):
https://github.com/p990-slimrom/android_device_lge_p990/blob/jb4.2-newbl/init.cm-star.rc
You see the files are identical, so that is not the problem.. I think it could be something in the mountservice in framework then.
But thanks for the suggestion! When we swap them we can check if it is an error in the mountservice(framework) or with vold mounting!
So i have found the cause of the SecurityExcpetion with GSM. LG added their custom system service "iusiminfo". They signed all correct, but CyanogenMod don't support this custom service. So i have to make a Clean CyanogenMod-Build and then add all stuff that we will need!
So here should be the solution:
In service_manager.c
Code:
ALOGE("add_service('%s',%p) uid=%d - PERMISSION DENIED\n",
str8(s), ptr, uid);
(important functions for that: "svc_can_register" & "do_add_service")
So in the static array "allowed" are all original system services allowed, like:
Code:
{ AID_RADIO, "iphonesubinfo" },
The phone will runder under the right ID(checked that), but there is no entry for LG's missing "iusiminfo". So i will add this and hopefully we won't get any longer Security Excpetions!
Oh and when i make a build, i will take -Os build flags, that will give us more free RAM
As promised, here is a mirror which will hopefully give a speed that will satisfy everyone:
Alpha 01 - Mirror - Mega
Personally, I do think this thread has the quality and deserves to hit the XDA news section. If you tend to agree, vote the thread worthy by clicking this link: VOTE.
Okay again a small update for you guys!
So I have build all libs and binarys from source with -Os Flags. (More specific ARM modules) Thanks to @tonyp for testing this and the initial idea! This gives us much more RAM and a better capability of multi tasking. I had to take CyanogenMod sources, because SlimRom sources won't match the framework properly.
At the same time I added the 3 missing custom services ("iusiminfo", "Lphone" and "com.lge.ims.phone"). Yes there was another one I forgot . Now phone won't crash any longer. And I fixed the visibility of a important method for our Rilclass. (The send method for the classes to send a rilrequest was private before, but since we are using a custom one, we need that one to be at least visible for our Rilclass)
Now I can proceed with fixing GSM.
For storage mounting I will try @sgspluss suggestion! And thanks to @Custom40 for providing a mirror!
About the RIL, take a look here: http://forum.xda-developers.com/showthread.php?t=1351741
Have fun.
PS: I'm having issues connecting to Hangouts, will try to get it back running.
Custom40 said:
About the RIL, take a look here: http://forum.xda-developers.com/showthread.php?t=1351741
Have fun.
PS: I'm having issues connecting to Hangouts, will try to get it back running.
Click to expand...
Click to collapse
Okay just write me on hangouts when you are able to get it to working
Oh and about the Ril: Our device specific Rilclass gets loaded. The network indicator shows no network available. And in the log is no error at all. So I have no hint where the "connection" gets lost. Oh and I'm not able to get my IMEI or phone number. But there is no notification about a not inserted Sim card. So I have to guess where the issue appear
I think the phone is running under the right Id, user and process, because if it were not so, we would get a security exception
Gesendet von meinem ASUS Transformer Pad TF700T mit Tapatalk 4
Firtecy said:
lib:
Lg stayed near at stock android sources with the framework so all stuff is taken from CM sources (more specific: Tonyps t-build 5). Only some additional stuff from LG is added there: I checked all the added libs with a hexeditor and all of them only refer to libs we basically have. I included them because native code ican be executed much faster then java. So added libs are: libDM_Lib.so, libdhwr.so, libjni_lgeime_native.so, libjni_xt9input_v9.so, libripple.so, libripple_with_log.so, libxg.so! Some of them are used for the Lg keyboard and soem of them for the lockscreen.​
Click to expand...
Click to collapse
So you say you didn't replace libandroid_runtime, libandroid_servers and related stuff? (Of course you couldn't because of NEON instructions.) And you took LGE frameworks from G2? Previously all LG fw-s I have met have a lot of extra/different native functions and also, the G2 is a Qcom device, it has a few changes there, most notably in GpsLocationProvider.
Adam77Root said:
So you say you didn't replace libandroid_runtime, libandroid_servers and related stuff? (Of course you couldn't because of NEON instructions.) And you took LGE frameworks from G2? Previously all LG fw-s I have met have a lot of extra/different native functions and also, the G2 is a Qcom device, it has a few changes there, most notably in GpsLocationProvider.
Click to expand...
Click to collapse
Yes the whole java framework. I replaced all native methods that are not availible in the Cm framework for non qcom devices with dummy methods. So returning everytime a 0 or an empty array. That works without that much problems.
They weren‘t that much other native functions. Seen my bitbucket repo?
So you worked with other lg fw-s? Maybe you can give some hints? I had no luck with my tries to get a working gsm or even wifi..
Gesendet von meinem ASUS Transformer Pad TF700T mit Tapatalk 4
Firtecy said:
Yes the whole java framework. I replaced all native methods that are not availible in the Cm framework for non qcom devices with dummy methods. So returning everytime a 0 or an empty array. That works without that much problems.
They weren‘t that much other native functions. Seen my bitbucket repo?
So you worked with other lg fw-s? Maybe you can give some hints? I had no luck with my tries to get a working gsm or even wifi..
Gesendet von meinem ASUS Transformer Pad TF700T mit Tapatalk 4
Click to expand...
Click to collapse
This is an enormous work, hats off to you! I did the same in my SGS2 port to Galaxy R (Tegra 2 -> no library replacing) here.
I didn't work with LG framework, just checked a few differences here and there. Still haven't decided which OEM rom I should start working on.
Will check the logs you posted in the afternoon / evening.

Camera problem

Does anyone know how to fix this?
E/AudioPolicyManagerBase( 4387): getOutput() IOProfile is null.
E/AudioPolicyManagerBase( 4387): getOutput() IOProfile is null.
E/AudioPolicyManagerBase( 4387): getOutput() IOProfile is null.
E/AudioHardwareMSM76XXA( 4387): unsupported AP: Camcorder
E/AudioHardwareMSM76XXA( 4387): unsupported AP: Camcorder
E/EmbeddedLogger( 395): App crashed! Process: com.android.camera
E/EmbeddedLogger( 395): App crashed! Package: com.android.camera v522104132 (5.
0.2322122821.645751.614189)
E/StagefrightRecorder( 4387): Using GOOGLE_PORTRAIT_ROTATION_ENABLE,set KEY_ROTA
TION 0 to Camera
E/EmbeddedLogger( 395): Application Label: Camera
E/AndroidRuntime(12396): FATAL EXCEPTION: main
E/AndroidRuntime(12396): java.lang.IllegalAccessError: tried to access class and
roid.app.ContextImpl from class android.media.MediaRecorder$1
E/AndroidRuntime(12396): at android.media.MediaRecorder$1.handleMessage(M
ediaRecorder.java:1129)
E/AndroidRuntime(12396): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime(12396): at android.os.Looper.loop(Looper.java:155)
E/AndroidRuntime(12396): at android.app.ActivityThread.main(ActivityThrea
d.java:5536)
E/AndroidRuntime(12396): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(12396): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime(12396): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:1074)
E/AndroidRuntime(12396): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:841)
E/AndroidRuntime(12396): at dalvik.system.NativeStart.main(Native Method)
Click to expand...
Click to collapse
Error is in the Framework.

Categories

Resources