[Q] [help]build AOSPA 4+ for mi3 tegra edtion - Mi 3 Q&A, Help & Troubleshooting

Hi,everyone! I got into trouble when I tried to build AOSPA 4+ for mi3 tegra endtion.I successfully complied a *.zip,and successfully flash it to my device,but it always show the boot animation can not get into launcher.I have got logcat,but I am a beginner and have no knowledge about JAVA.
There is a part of locat
Code:
--------- beginning of /dev/log/main
E/nvaudio_modem(25458): Failed to get phone service!
W/AudioFlinger(25458): Thread AudioOut_2 cannot connect to the power manager service
E/AudioFlinger(25458): no wake lock to update!
I/r_submix(25458): adev_open(name=audio_hw_if)
I/r_submix(25458): adev_init_check()
I/AudioFlinger(25458): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 3
I/AudioPolicyService(25458): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
E/memtrack(25457): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug(25457): failed to load memtrack module: -2
I/SamplingProfilerIntegration(25457): Profiling disabled.
I/Zygote (25457): Preloading classes...
D/idmap (25596): error: no read access to /vendor/overlay: No such file or directory
D/TextLayoutCache(25457): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI(25457): register_android_mtp_MtpDevice
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
E/EmojiFactory_jni(25457): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
V/NatController(25456): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController(25456): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController(25456): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController(25456): runCmd(/system/bin/ip route flush cache) res=0
V/NatController(25456): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=0
I/LibraryLoader(25457): Loading: webviewchromium
E/dalvikvm(25457): dlopen("/system/lib/libwebviewchromium.so") failed: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
W/WebViewFactory(25457): error preloading provider
W/WebViewFactory(25457): java.lang.RuntimeException: Cannot load WebView
W/WebViewFactory(25457): at com.android.org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:31)
W/WebViewFactory(25457): at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:87)
W/WebViewFactory(25457): at java.lang.Class.newInstanceImpl(Native Method)
W/WebViewFactory(25457): at java.lang.Class.newInstance(Class.java:1208)
W/WebViewFactory(25457): at android.webkit.WebViewFactory$Preloader.<clinit>(WebViewFactory.java:43)
W/WebViewFactory(25457): at java.lang.Class.classForName(Native Method)
W/WebViewFactory(25457): at java.lang.Class.forName(Class.java:251)
W/WebViewFactory(25457): at java.lang.Class.forName(Class.java:216)
W/WebViewFactory(25457): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:307)
W/WebViewFactory(25457): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:247)
W/WebViewFactory(25457): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:581)
W/WebViewFactory(25457): at dalvik.system.NativeStart.main(Native Method)
W/WebViewFactory(25457): Caused by: com.android.org.chromium.content.common.ProcessInitException
W/WebViewFactory(25457): at com.android.org.chromium.content.app.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:135)
W/WebViewFactory(25457): at com.android.org.chromium.content.app.LibraryLoader.loadNow(LibraryLoader.java:87)
W/WebViewFactory(25457): at com.android.org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:29)
W/WebViewFactory(25457): ... 11 more
W/WebViewFactory(25457): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
W/WebViewFactory(25457): at java.lang.Runtime.loadLibrary(Runtime.java:386)
W/WebViewFactory(25457): at java.lang.System.loadLibrary(System.java:526)
W/WebViewFactory(25457): at com.android.org.chromium.content.app.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:123)
W/WebViewFactory(25457): ... 13 more
V/NatController(25456): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=0
V/NatController(25456): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
W/Zygote (25457): Class not found for preloading: java.lang.UnsafeByteSequence
I/System (25457): Loaded time zone names for "" in 35ms (32ms in ICU)
E/Netd (25456): Unable to create netlink socket: Protocol not supported
E/Netd (25456): Unable to open quota2 logging socket
D/MDnsDS (25456): MDnsSdListener::Hander starting up
D/MDnsDS (25456): MDnsSdListener starting to monitor
D/MDnsDS (25456): Going to poll with pollCount 1
I/System (25457): Loaded time zone names for "en_US" in 22ms (18ms in ICU)
I/Zygote (25457): ...preloaded 2777 classes in 775ms.
I/dalvikvm(25457): System server process 25738 has been created
I/Zygote (25457): Accepting command socket connections
D/SensorService(25738): nuSensorService starting...
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
E/Sensors (25738): HAL:could not open trigger name
E/Sensors (25738): HAL:could not open current trigger
I/MPL-storeload(25738): Bytes read = 4340
V/Sensors (25738): HAL:MPL:inv_compass_was_turned_off
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
I/Sensors (25738): path open /dev/input/event4
I/Sensors (25738): path open /dev/input/event3
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
I/Sensors (25738): path open /dev/input/event4
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
I/Sensors (25738): path open /dev/input/event4
I/Sensors (25738): path open /dev/input/event3
I/Sensors (25738): path open /dev/input/event2
I/SensorService(25738): Ambient Light Sensor
I/SensorService(25738): Proximity Sensor
I/SensorService(25738): Barometer Sensor
I/SensorService(25738): Temperature Sensor
I/SensorService(25738): Gyroscope Sensor
I/SensorService(25738): Raw Gyroscope Sensor
I/SensorService(25738): Accelerometer Sensor
I/SensorService(25738): Magnetic Field Sensor
I/SensorService(25738): Orientation Sensor
I/SensorService(25738): Rotation Vector Sensor
I/SensorService(25738): Linear Acceleration Sensor
I/SensorService(25738): Gravity Sensor
D/SensorService(25738): Max socket buffer size 1048576
D/SensorService(25738): nuSensorService thread starting...
E/Sensors (25738): HAL:ERR Full data packet was not read
E/Sensors (25738): HAL:ERR Full data packet was not read
I/installd( 201): new connection
I/powerHAL::common(25738): input device id:0 present with name:tegra-kbc
I/powerHAL::common(25738): input device id:1 present with name:atmel-maxtouch
I/powerHAL::common(25738): input device id:2 present with name:bmp180
I/powerHAL::common(25738): input device id:3 present with name:lightsensor
I/powerHAL::common(25738): input device id:4 present with name:proximity
I/powerHAL::common(25738): input device id:5 present with name:compass
I/powerHAL::common(25738): input device id:6 present with name:fsa8108_sw
D/PackageManager(25738): No files in app dir /vendor/overlay
W/ResourceType(25738): Failure getting entry for 0x7f050000 (t=4 e=0) in package 0 (error -75)
W/Resources(25738): Converting to boolean: TypedValue{t=0x3/d=0x1a9a "false" a=2 r=0x7f120876}
W/ResourceType(25738): Failure getting entry for 0x7f0d01bf (t=12 e=447) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f0d01bf (t=12 e=447) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f130310 (t=18 e=784) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f130310 (t=18 e=784) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f1302f3 (t=18 e=755) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f04000f (t=3 e=15) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f04000f (t=3 e=15) in package 0 (error -75)
D/PackageManager(25738): No files in app dir /vendor/app
V/tspdrv (25738): opened device /dev/tspdrv
V/tspdrv (25738): TSPDRV_MAGIC_NUMBER success
V/tspdrv (25738): TSPDRV_GET_NUM_ACTUATORS success, actuators = 1
V/tspdrv (25738): TSPDRV_SET_DEVICE_PARAMETER success
V/tspdrv (25738): timeout_ms: 0
V/tspdrv (25738): TSPDRV_DISABLE_AMP success
E/ConsumerIrService(25738): Can't open consumer IR HW Module, error: -2
W/libsuspend(25738): Error writing 'on' to /sys/power/state: Invalid argument
I/libsuspend(25738): Selected autosleep
I/powerHAL::common(25738): Enabling input device:1
I/powerHAL::common(25738): Enabling input device:2
I/powerHAL::common(25738): Enabling input device:3
I/powerHAL::common(25738): Enabling input device:4
I/powerHAL::common(25738): Enabling input device:5
I/powerHAL::common(25738): Enabling input device:6
I/powerHAL::pisces(25738): average current for last screen off is 206971
D/SurfaceFlinger( 196): Screen acquired, type=0 flinger=0xc0b450
D/SurfaceFlinger( 196): screen was previously acquired
D/EventHub(25738): No input device configuration file found for device 'atmel-maxtouch'.
D/BluetoothManagerService(25738): Loading stored name and address
D/BluetoothManagerService(25738): Stored bluetooth Name=null,Address=null
W/EventHub(25738): Unable to disable kernel key repeat for /dev/input/event1: Function not implemented
I/EventHub(25738): New device: id=1, fd=135, path='/dev/input/event1', name='atmel-maxtouch', classes=0x15, configuration='', keyLayout='/system/usr/keylayout/atmel-maxtouch.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
D/EventHub(25738): No input device configuration file found for device 'tegra-kbc'.
W/EventHub(25738): Unable to disable kernel key repeat for /dev/input/event0: Function not implemented
I/EventHub(25738): New device: id=2, fd=136, path='/dev/input/event0', name='tegra-kbc', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/tegra-kbc.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
D/EventHub(25738): No input device configuration file found for device 'fsa8108_sw'.
W/EventHub(25738): Unable to disable kernel key repeat for /dev/input/event6: Function not implemented
I/EventHub(25738): New device: id=3, fd=138, path='/dev/input/event6', name='fsa8108_sw', classes=0x81, configuration='', keyLayout='/system/usr/keylayout/fsa8108_sw.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
D/EventHub(25738): No input device configuration file found for device 'compass'.
D/EventHub(25738): No input device configuration file found for device 'proximity'.
D/EventHub(25738): No input device configuration file found for device 'lightsensor'.
D/EventHub(25738): No input device configuration file found for device 'bmp180'.
I/InputReader(25738): Device added: id=-1, name='Virtual', sources=0x00000301
I/InputReader(25738): Device added: id=3, name='fsa8108_sw', sources=0x80000101
I/InputReader(25738): Device added: id=2, name='tegra-kbc', sources=0x00000101
I/InputReader(25738): Touch device 'atmel-maxtouch' could not query the properties of its associated display. The device will be inoperable until the display size becomes available.
I/InputReader(25738): Device added: id=1, name='atmel-maxtouch', sources=0x00001103
I/InputReader(25738): Reconfiguring input devices. changes=0x00000004
I/InputReader(25738): Device reconfigured: id=1, name='atmel-maxtouch', size 1080x1920, orientation 0, mode 1, display id 0
I/PackageManager(25738): No secure containers on sdcard
D/WifiController(25738): isAirplaneModeOn = false, isWifiEnabled = false, isScanningAvailable = false
D/BluetoothTethering(25738): startMonitoring: target: Handler (com.android.server.ConnectivityService$NetworkStateTrackerHandler) {41d2e7e0}
D/BluetoothTethering(25738): startMonitoring: mCsHandler: Handler (com.android.server.ConnectivityService$NetworkStateTrackerHandler) {41d2e7e0}
D/BluetoothManagerService(25738): Message: 20
D/BluetoothManagerService(25738): Added callback: [email protected]:true
D/BluetoothManagerService(25738): Message: 30
D/Tethering(25738): Exception adding default nw to upstreamIfaceTypes: java.lang.NullPointerException
I/VolumePanel(25738): changeOverlayStyle : 1
V/nvaudio_hw(25458): nvaudio_dev_set_voice_volume : vol 0.800000
D/nvaudio_hw(25458): send volume to telephony:0.800000
D/nvaudio_modem(25458): Set modem volume to 0.800000
E/nvaudio_modem(25458): Failed to get phone service!
E/SELinux (25738): SELinux: Loaded file_contexts from /file_contexts
D/Atlas (25738): Computing best atlas configuration...
D/Atlas (25738): Running Atlas Worker #1
D/Atlas (25738): Running Atlas Worker #2
D/Atlas (25738): Running Atlas Worker #3
I/com.android.server.ThemeService(25738): Spawned worker thread
I/WindowManager(25738): SAFE MODE not enabled
V/tspdrv (25738): opened device /dev/tspdrv
V/tspdrv (25738): TSPDRV_MAGIC_NUMBER success
V/tspdrv (25738): TSPDRV_GET_NUM_ACTUATORS success, actuators = 1
F/libc (25738): invalid address or address of corrupt block 0xbed47420 passed to dlfree
F/libc (25738): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 25738 (system_server)
I forgot to filter the log ,sorry...
And when I am building,it always showed that: The API version is out of date,use Xlint to recomplie(In fact I am a Chinese and the massage is in Chinese,I translate it you to understand it),but the JDK version is 1.6.0.33,it is suitable to build kitkat,right?
I hope you answer,please.

Related

USB Mass Storage Failed to Unmount internal SD

I have a Telus Fascinate 3G (SGH-T959D) running Slim ICS 4.2 (i9000 build) + Semaphore 1.2.6s, and UMS of internal SD stopped working since I installed Avast w/ Anti-Theft.
Uninstalling Anti-Theft & Avast did not solve the problem.
Upon tapping "Turn on USB storage" I get "If you turn on USB storage, some applications you are using will stop and may be unavailable until you turn off USB storage."
I can still access UMS of the emmc from Win7, but the internal SD Card will not unmount and lend it self to UMS.
I've tried switching usb cables, computers, usb ports, clear cache/dalvik cache, fix permissions through CWM Recovery with no avail.
I suspect it may be related to Avast breaking the file system unmount while implementing "prevent usb debugging"?
The following catlog may aid debugging:
Code:
07-16 01:36:32.718 I/Vold ( 147): /mnt/secure/staging/.android_secure sucessfully unmounted
07-16 01:36:32.718 I/Vold ( 147): /mnt/secure/asec sucessfully unmounted
07-16 01:36:32.718 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 9, action 0)
07-16 01:36:33.867 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 8, action 0)
07-16 01:36:35.019 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 7, action 0)
07-16 01:36:36.207 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 6, action 0)
07-16 01:36:37.363 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 5, action 0)
07-16 01:36:37.941 D/dalvikvm( 6009): GC_CONCURRENT freed 419K, 24% free 3020K/3971K, paused 2ms+2ms
07-16 01:36:38.531 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 4, action 0)
07-16 01:36:39.675 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 3, action 0)
07-16 01:36:40.824 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 2, action 1)
07-16 01:36:41.972 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 1, action 2)
07-16 01:36:43.121 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 0, action 0)
07-16 01:36:44.269 E/Vold ( 147): Giving up on unmount /mnt/secure/staging (Device or resource busy)
07-16 01:36:44.269 E/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy)
07-16 01:36:44.269 D/Vold ( 147): Volume sdcard state changing 5 (Unmounting) -> 4 (Mounted)
07-16 01:36:44.273 W/MountService( 301): Duplicate state transition (mounted -> mounted) for /mnt/sdcard
07-16 01:36:44.273 D/MountService( 301): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///mnt/sdcard (has extras) }
07-16 01:36:44.277 D/VoldCmdListener( 147): volume share /mnt/sdcard ums
07-16 01:36:44.285 D/MediaScannerReceiver( 6805): action: android.intent.action.MEDIA_MOUNTED path: /mnt/sdcard
07-16 01:36:44.300 E/MountService( 301): Failed to share/unshare
07-16 01:36:44.300 E/MountService( 301): com.android.server.NativeDaemonConnectorException: Cmd {volume share /mnt/sdcard ums} failed with code 405 : {volume operation failed (Device or resource busy)}
...
07-16 01:36:44.418 W/ActivityManager( 301): Unable to launch app com.google.android.youtube/10049 for broadcast Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///mnt/sdcard flg=0x10 (has extras) }: process is bad
07-16 01:36:44.418 W/ActivityManager( 301): finishReceiver called but none active
07-16 01:36:45.718 D/VoldCmdListener( 147): volume unshare /mnt/sdcard ums
07-16 01:36:45.718 W/Vold ( 147): Returning OperationFailed - no handler for errno 22
07-16 01:36:45.722 E/MountService( 301): Failed to share/unshare
07-16 01:36:45.722 E/MountService( 301): com.android.server.NativeDaemonConnectorException: Cmd {volume unshare /mnt/sdcard ums} failed with code 400 : {volume operation failed (Invalid argument)}
...
07-16 01:36:45.722 D/VoldCmdListener( 147): volume mount /mnt/sdcard
07-16 01:36:45.726 E/MountService( 301): Failed to remount /mnt/sdcard after disabling share method ums
Complete Catlog attached.
I would greatly appreciate any suggestion as to how I might resolve this issue.
I wouldn't mind reflashing kernel or ROM, but I'd like some advice before blowing everything away or possibly make the situation worse.
Issue solved by backup, format, and restoring the sdcard partition.
I think it may have been the media scanner service hanging on scanning a "bad" mp3 file, and now I avoid updating mp3 tag info after it has been loaded to the phone.
The recent Google Music app update may have solved this issue though.

Spontaneus data corruption?

I had to shut down my phone when getting on the plane last night and when I tried to boot it up it doesn't go any further than the kernel splash screen. Can't access recovery, download mode is working though. ADB is working after I fkasg Devil Kernel so I can access shell and logcat no problems.
The phone was running SlimBean with Semaphore previously but Semaphore did not provide me with ADB-access during kernel splash.
This is what comes out in logcat during boot:
Code:
--------- beginning of /dev/log/main
I/DEBUG ( 186): debuggerd: Jul 19 2012 13:10:13
--------- beginning of /dev/log/system
I/Vold ( 182): Vold 2.1 (the revenge) firing up
D/Vold ( 182): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 182): Volume emmc state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 185): Netd 1.0 starting
D/Vold ( 182): Volume emmc state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 182): Volume emmc state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 182): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 182): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SurfaceFlinger( 187): SurfaceFlinger is starting
I/SurfaceFlinger( 187): use dithering
I/SurfaceFlinger( 187): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/FramebufferNativeWindow( 187): couldn't open framebuffer HAL (Not a typewriter)
E/FramebufferNativeWindow( 187): couldn't open gralloc HAL (Not a typewriter)
E/SurfaceFlinger( 187): Display subsystem failed to initialize. check logs. exiting...
I/Netd ( 240): Netd 1.0 starting
I/SurfaceFlinger( 241): SurfaceFlinger is starting
I/SurfaceFlinger( 241): use dithering
D/AndroidRuntime( 242):
D/AndroidRuntime( 242): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 242): CheckJNI is OFF
I/SurfaceFlinger( 241): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/FramebufferNativeWindow( 241): couldn't open framebuffer HAL (Not a typewriter)
E/FramebufferNativeWindow( 241): couldn't open gralloc HAL (Not a typewriter)
E/SurfaceFlinger( 241): Display subsystem failed to initialize. check logs. exiting...
It just loops on the SurfaceFlinger errors indef.
Any way of fixing this easily without having to wipe the internal sdcard partition? Got some pictures on there which I unfortunately have not synced to my backup yet :\
http://forum.xda-developers.com/showthread.php?t=1841250 and the 30s power button trick helped to get in to Recovery again but still the same boot error when booting.
Now at least I can try nowipe-reflashing slim from zip

(HELP) RootBox Rom Build

Trying to compile a rootbox vanilla build for qinara (4.2.2 / host:s2)
When I logcat e (error), I get this...
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\John>cd android/sdk/platform-tools
C:\Users\John\Android\sdk\platform-tools>adb logcat d
- waiting for device -
^C
C:\Users\John\Android\sdk\platform-tools>adb logcat e
- waiting for device -
^C
C:\Users\John\Android\sdk\platform-tools>adb logcat e
- waiting for device -
--------- beginning of /dev/log/main
I/init.qcom.modem_links.sh( 157): modem_fw.mdt: No such file or directory
I/init.qcom.modem_links.sh( 157): /system/etc/init.qcom.modem_links.sh[83]: bre
ak: can't break
I/init.qcom.modem_links.sh( 157): /system/etc/init.qcom.modem_links.sh[170]: br
eak: can't break
D/ ( 261): MOTO_PUPD: mot_boot_mode
D/ ( 261): MOTO_PUPD: mot_boot_mode : normal
E/mm-camera( 259):
E/mm-camera( 259): Camera Daemon starting
D/QSEECOMD: ( 263): qseecom listener services process entry PPID = 1
D/QSEECOMD: ( 263): Parent qseecom daemon process terminated!!
D/QSEECOMD: ( 289): qseecom listener service threads starting!!!
D/QSEECOMD: ( 289): Total listener services to start = 2
D/QSEECOMD: ( 289): Init dlopen(libdrmfs.so, RTLD_NOW) succeeds
D/QSEECOMD: ( 289): Init::Init dlsym(g_FSHandle fs_start) succeeds
D/QSEECOMAPI: ( 289): QSEECom_register_listener 10 sb_length = 0x5000
D/DrmLibFs( 289): registering fs service to QSEECom is done!
D/DrmLibFs( 289): begin to create a thread!
D/DrmLibFs( 289): Creating a pthread in fs_start is done! return 0
D/QSEECOMD: ( 289): Init fs_start ret = 0
D/QSEECOMD: ( 289): file system services: Started
D/DrmLibFs( 289): Dispatch starts!
D/DrmLibFs( 289): before calling ioctl to read the next cmd
D/QDUMPD ( 286): Start polling.
D/BHD ( 285): Battery Health Daemon start!
I/ATVC ( 283): atvc_pal_production_part: start
I/ATVC ( 283): dbval_production_part: determined production part
I/ATVC ( 283): atvc_pal_init_factory_state: start
I/ATVC ( 283): atvc_pal_init_factory_state: determined out of factory state
I/ATVC ( 283): atval_pal_read_datablock: enter
I/ATVC ( 283): atval_pal_read_datablock: getting size of datablock
D/QDUMPD ( 286): dump polling (/dev/ramdump_smem)
D/QDUMPD ( 286): dump polling (/dev/coredump_riva)
D/QDUMPD ( 286): dump polling (/dev/ramdump_modem_sw)
I/DEBUG ( 273): debuggerd: Apr 21 2013 00:38:24
D/QDUMPD ( 286): dump polling (/dev/ramdump_riva)
D/QDUMPD ( 286): dump polling (/dev/ramdump_modem_fw)
I/installd( 279): installd firing up
D/QDUMPD ( 286): dump polling (/dev/coredump_modem)
I/graphicsd( 287): graphicsd - version: 1.0
I/graphicsd( 287): graphicsd - watching [/sys/class/kgsl/kgsl-3d0/snapshot/time
stamp][fd: 3]
D/BHD ( 285): EEPROM - Battery ID = 898bc7a41c0050b7
I/ATVC ( 283): atval_pal_read_datablock: exit
I/ATVC ( 283): atval_enforce_android_policy: validation failed. all disable
d.
I/ATVC ( 283): read handset resource access flags:
I/ATVC ( 283): 0x00000000
I/ATVC ( 283): atval_setup_properties: valid datablock - setting flags
D/BHD ( 285): NVM Read - Opened NVM file /pds/batt_health/batt-898bc7a41c00
50b7_0
E/mm-camera( 259): GETTING MCTL INFO
I/ATVC ( 283): atval_enforce_android_policy: finalize the properties
I/DMM ( 346): DMM available. movable_start_bytes at
--------- beginning of /dev/log/system
I/Vold ( 266): Vold 2.1 (the revenge) firing up
V/XTWiFi ( 354): [MessageQ] creating server socket
I/location-mq( 335): [XTWiFi-MessageQ] creating server socket
V/XTWiFi ( 354): [MessageQ] binding server socket to name [/data/misc/location
/mq/location-mq-s]
I/location-mq( 335): [XTWiFi-MessageQ] binding server socket to name [/data/mis
c/location/mq/location-mq-s]
D/Vold ( 266): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media
)
D/Vold ( 266): Volume usbdisk_1.1.1 state changing -1 (Initializing) -> 0 (N
o-Media)
D/Vold ( 266): Volume usbdisk_1.0 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.1 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.2 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.3 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.4 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.5 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.6 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.7 state changing -1 (Initializing) -> 0 (No-
Media)
I/cm ( 367): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
I/Netd ( 272): Netd 1.0 starting
W/InterfaceController( 272): Warning (Cannot load library: load_library(linker.
cpp:771): library "/system/lib/libnetcmdiface.so" not found) while opening the n
et interface command library
I/rmt_storage( 338): Target is APQ8064: 1074105669
D/BHD ( 285): NVM Read - Read header, version = 1, file write count = 190,
time = Sun Apr 21 03:18:08 2013
D/BHD ( 285): NVM Read - Opened NVM file /pds/batt_health/batt-898bc7a41c00
50b7_1
D/BHD ( 285): NVM Read - Read header, version = 1, file write count = 189,
time = Sat Apr 20 06:34:09 2013
D/BHD ( 285): NVM Load - Found newest file, index to use = 0
D/BHD ( 285): State - EEPROM id = 898bc7a41c0050b7; capacity = 1750
D/BHD ( 285): State - BMS real fcc batt temp = 282, real fcc = 1700
D/BHD ( 285): State - BMS SOC = 100%, OCV = 3682000, rbatt = 241
D/BHD ( 285): State - BMS charge inc = 66, charge cycles = 121
D/BHD ( 285): State - is factory mode = 0
D/BHD ( 285): State - is charging = 0
D/BHD ( 285): State - aged capacity % = 98
D/BHD ( 285): State - aged capacity calculated @ Fri Apr 5 00:04:14 2013
D/BHD ( 285): State - Begin charge % = 0, cc = 972508, ocv = 4011000
D/BHD ( 285): State - End charge % = 100, cc = -468380, ocv = 4011000
I/cm ( 369): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
D/BHD ( 285): Created socket 7 for uevents
D/PPDaemon( 334): isHDMIPrimary: HDMI is not primary display
D/PPDaemon( 334): CABL version 1.0.20120512
E/ThermalDaemon( 284): Thermal daemon started
D/QC-time-services( 339): Daemon:genoff_pre_init::Base = 0
D/QC-time-services( 339): Daemon:ats_rtc_init: Time read from RTC -- year = 113
, month = 3,day = 3
D/Vold ( 266): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 266): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 97
, PARTN 1
E/QC-time-services( 339): Daemon:genoff_boot_tod_init: Unable to set TOD at boo
t up
E/QC-time-services( 339): Daemon: Unable to set TOD at boot up
D/QC-time-services( 339): Daemon:genoff_modem_qmi_init: Initiallizing QMI
I/cm ( 385): Welcome to Android 4.2.2 / CyanogenMod-
I/Atfwd_Daemon( 333): ATFWD --> QMI Port : rmnet1
I/start ( 400): A wise man never plays leapfrog with a unicorn
W/libc ( 336): WARNING: generic atexit() called from legacy shared library
I/Sensors ( 376): sns_init_la.c(292):initializing sns_memmgr_init
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_memmgr_init...
I/Sensors ( 376): sns_init_la.c(307):Done waiting for sns_memmgr_init
I/Sensors ( 376): sns_init_la.c(292):initializing sns_debug_test_init1
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_debug_test_init1...
I/Sensors ( 376): sns_init_la.c(307):Done waiting for sns_debug_test_init1
I/Sensors ( 376): sns_init_la.c(292):initializing sns_pwr_init
I/sensorsqcomwrapper.sh( 374): Use option "-d" to run as background process.
I/sensorsqcomwrapper.sh( 374): Running in foreground...
I/run-parts( 342): sysctl: /etc/sysctl.conf: No such file or directory
I/SurfaceFlinger( 275): SurfaceFlinger is starting
I/SurfaceFlinger( 275): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_pwr_init...
I/Sensors ( 376): sns_init_la.c(307):Done waiting for sns_pwr_init
I/Sensors ( 376): sns_init_la.c(292):initializing sns_em_init
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_em_init...
D/libEGL ( 275): loaded /system/lib/egl/libEGL_adreno200.so
I/Sensors ( 376): sns_init_la.c(307):Done waiting for sns_em_init
I/Sensors ( 376): sns_init_la.c(292):initializing sns_smr_init
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_smr_init...
W/Sensors ( 376): sns_smr_la.c(415):smr_la: smr_apps_la_thread_main is starting
, fd=15, sns_smr.en_rx_msg_ptr=400c87e8
I/Sensors ( 376): sns_init_la.c(307):Done waiting for sns_smr_init
I/Sensors ( 376): sns_init_la.c(292):initializing sns_reg_init
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_reg_init...
D/BHD ( 285): Got a battery uevent,log details
D/BHD ( 285): Battery start charging @ 88%!
D/libEGL ( 275): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 275): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Sensors ( 376): sns_init_la.c(307):Done waiting for sns_reg_init
I/Sensors ( 376): sns_init_la.c(292):initializing sns_sam_init
I/Sensors ( 376): sns_init_la.c(303):Waiting for sns_sam_init...
I/Adreno200-EGL( 275): <eglInitialize:269>: EGL 1.4 QUALCOMM build: Nondetermin
istic AU_full_mako_PARTNER-ANDROID/JB-MR1-DEV_CL2946718_release_AU (CL2946718)
I/Adreno200-EGL( 275): Build Date: 11/04/12 Sun
I/Adreno200-EGL( 275): Local Branch:
I/Adreno200-EGL( 275): Remote Branch: m/partner-android/jb-mr1-dev
I/Adreno200-EGL( 275): Local Patches: NONE
I/Adreno200-EGL( 275): Reconstruct Branch: NOTHING
I/gralloc ( 275): using (fd=21)
I/gralloc ( 275): id = msmfb42_90701
I/gralloc ( 275): xres = 720 px
I/gralloc ( 275): yres = 1280 px
I/gralloc ( 275): xres_virtual = 720 px
I/gralloc ( 275): yres_virtual = 3840 px
I/gralloc ( 275): bpp = 32
I/gralloc ( 275): r = 24:8
I/gralloc ( 275): g = 16:8
I/gralloc ( 275): b = 8:8
I/gralloc ( 275): width = 56 mm (326.571442 dpi)
I/gralloc ( 275): height = 99 mm (328.404053 dpi)
I/gralloc ( 275): refresh rate = 60.00 Hz
D/CALCFPS ( 275): DEBUG_CALC_FPS: 0
D/CALCFPS ( 275): period: 10
D/CALCFPS ( 275): ignorethresh_us: 500000
D/CALCFPS ( 275): DEBUG_CALC_FPS: 0
D/CALCFPS ( 275): period: 10
D/CALCFPS ( 275): ignorethresh_us: 500000
D/overlay ( 275): initoverlay:: opening the device:: /dev/graphics/fb0
D/overlay ( 275): initoverlay:: opening the device:: /dev/graphics/fb1
D/overlay ( 275): ndx=6 num=5 z_order=-1
D/AndroidRuntime( 276):
D/AndroidRuntime( 276): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
oteInit <<<<<<
D/AndroidRuntime( 276): CheckJNI is OFF
D/overlay ( 275): initoverlay:: opening the device:: /dev/graphics/fb2
I/mediaserver( 278): ServiceManager: 0x414a7ed8
I/AudioFlinger( 278): Using default 3000 mSec as standby time.
I/CameraService( 278): CameraService started (pid=278)
^C
C:\Users\John\Android\sdk\platform-tools>adb logcat e
--------- beginning of /dev/log/system
I/Vold ( 266): Vold 2.1 (the revenge) firing up
D/Vold ( 266): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media
)
D/Vold ( 266): Volume usbdisk_1.1.1 state changing -1 (Initializing) -> 0 (N
o-Media)
D/Vold ( 266): Volume usbdisk_1.0 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.1 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.2 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.3 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.4 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.5 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.6 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume usbdisk_1.7 state changing -1 (Initializing) -> 0 (No-
Media)
D/Vold ( 266): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 266): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 97
, PARTN 1
Can anyone help me?
Really, no one?
Sent from my MB886 using xda app-developers app
Codex01 said:
Really, no one?
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Some people (like me) don't even know what to do with that so just be patient friend.
Sent from my MB886 using xda app-developers app
worlddominatiin said:
Some people (like me) don't even know what to do with that so just be patient friend.
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Yeah, I pretty much know whats going on, I may have the wrong lib_runtime and android policy, also may be a faulty kernel. From the log you can tell it finalises boot, it has all the scripts but there are a few errors, that I know cant be errors.
system/lib/libnetcmdiface.so - look like that lib isn't there
camera drivers might be wrong - use the CM10.1 drivers
and looks like some of the /etc scripts aren't working properly and some .conf files aren't present.
I'd have to flash the rom and have a physical copy to mess with to tell you more.
skeevydude said:
system/lib/libnetcmdiface.so - look like that lib isn't there
camera drivers might be wrong - use the CM10.1 drivers
and looks like some of the /etc scripts aren't working properly and some .conf files aren't present.
I'd have to flash the rom and have a physical copy to mess with to tell you more.
Click to expand...
Click to collapse
I will upload this on the new site asap.
Any word on ur progress my friend?
Sent from my MB886 using xda premium
sickkside13 said:
Any word on ur progress my friend?
Sent from my MB886 using xda premium
Click to expand...
Click to collapse
@sickkside13, @skeevydude and I are working on this port, hes helping me alot. He says (I deleted the email, so don't quote me.) that we will have a build from source probably by tomorrow or the day after.
Nice
Sent from my MB886 using xda premium
I still gotta tweak our device\vendor repo (if its anything like PA, which it seems to be, should only be a few lines). Hard part will be making a vendor/rootbox repo for us -- just gonna base it on a Nexus and start playing the follow the makefile game . Due to the way our CM10.1 repo is set up -- our only custom repos are for kernel, device, and device vendor -- the very minimal necessary -- roms like this & PACMAN shouldn't be that hard to make for us from source. Atrix HD and GSM Razr HD anyways...don't know much about CDMA roms.
Depending on time, I should have the necessary changes and additions done today. I gotta go with the bossman on a bid and to pick up some materials today --- not sure how long that'll take. Gotta go 20 miles one way from town for the bid, 40 miles the other way for materials (60 miles from the bid).
Waiting for this, looks good
Sent from my MB886 using xda app-developers app
Just finished everything and starting the first compile. Been going for 10 minutes now. Hopefully it'll finish. :fingers-crossed:
If it goes well, sources should be on github this evening and my tweaked vendor and device repo should just work with the PacMan sources. PacMan should just need some qinara vendor/pacman config and make files. Root and Pac both use a modified PA style build system, I've done a bit of PA in the past so, and luckily, doing these tweaks\making the necessary vendor make files is nothing new to me.
Plan is to do Unofficial Atrix HD RootBox. If this works, then I'll do the same for Razr HD. Once all that's done I'll move on to PacMan.
I'm also going to add, before all you guys start giving me the same BS you've been giving Codex, that all I'm doing is taking the razr-qcom dev team repos and making them compatible with other projects. All the actual development will either be via the dev team's CM10.1 kernel or whatever project's dev team. That's not saying that I won't add in any fixes or whatever myself, just that most of what I'm doing is combining other peoples hard work for our benefit.
//20 minutes compiling and goind strong
skeevydude said:
Plan is to do Unofficial Atrix HD RootBox. If this works, then I'll do the same for Razr HD. Once all that's done I'll move on to PacMan.
Click to expand...
Click to collapse
Thanks for the Razr HD love!
Didn't compile, had some errors with tcpdump, removing it and trying again.
Sources available on git-hub
Code:
repo init -u [url]https://github.com/skeevy420/platform_manifest.git[/url] -b razrqcom-rootbox
repo sync
. build_rootbox.sh qinara [B][COLOR="Blue"]X[/COLOR][/B] clean
[B][COLOR="Blue"]X[/COLOR][/B] is the number of threads to use, use either number of cores or number of cores +1 -- whichever you find works best.
//Why all of a sudden does XDA decide to email me when I post a code box in my own post? You'd think I'd be aware of that one
Once you get a build I'd be more than happy to beta, PM me if you need anything. I was a beta tester for eight months for two devs on the Galaxy Player 5.0 so I have a lot of experience...
Sent from my MB886 using xda app-developers app
EcHoFiiVe said:
Once you get a build I'd be more than happy to beta, PM me if you need anything. I was a beta tester for eight months for two devs on the Galaxy Player 5.0 so I have a lot of experience...
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Let ya know when I know
Was having some defconfig issues with the kernel. Resolved them and starting over. It was crappin out around 35 minutes, so once 10:00 central hits I'll be farther along in the process anyways
Day one fun
skeevydude said:
Let ya know when I know
Was having some defconfig issues with the kernel. Resolved them and starting over. It was crappin out around 35 minutes, so once 10:00 central hits I'll be farther along in the process anyways
Day one fun
Click to expand...
Click to collapse
How long do you think it'll take to build? Four, seven hours?
Sent from my MB886 using xda app-developers app
EcHoFiiVe said:
How long do you think it'll take to build? Four, seven hours?
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
From start to finish? Defy CM10.1 takes an hour an a half, so this should be between an hour an a half to two hours...providing it finishes.
i have a nexus 4 and i just flashed rootbox its kinda buggy but there is another build. Il try it out in a bit
Sent from my MB886 using xda premium
sickkside13 said:
i have a nexus 4 and i just flashed rootbox its kinda buggy but there is another build. Il try it out in a bit
Sent from my MB886 using xda premium
Click to expand...
Click to collapse
Even if it is buggy I'd at least like to get it set up and compiling so that when its not buggy all the leg work is already done.

[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.

Error Code for custom roms

Log Cat was for every rom i tried to install.. if ysomeone could dissect it and figure out what went wrong thated becool so i dont do it again
tringForUser(Settings.java)
E/SQLiteDatabase( 891): at android.provider.Settings$Secure.putStringFor
User(Settings.java)
E/SQLiteDatabase( 891): at com.android.server.TextServicesManagerService
$TextServicesSettings.putSelectedSpellCheckerSubtype(TextServicesManagerService.
java)
E/SQLiteDatabase( 891): at com.android.server.TextServicesManagerService
.setCurrentSpellCheckerSubtypeLocked(TextServicesManagerService.java)
E/SQLiteDatabase( 891): at com.android.server.TextServicesManagerService
.setCurrentSpellCheckerSubtype(TextServicesManagerService.java)
E/SQLiteDatabase( 891): at com.android.internal.textservice.ITextService
sManager$Stub.onTransact(ITextServicesManager.java)
E/SQLiteDatabase( 891): at android.os.Binder.execTransact(Binder.java)
E/SQLiteDatabase( 891): at dalvik.system.NativeStart.run(Native Method)
I/HTCIMEService( 1226): [onStartInputView] attribute=0x10081, package=com.androi
d.settings, restarting=false
I/PowerSavingUtil( 1226): [evaluateSkipIMEVibration] user_powersaver_enable = 0,
powersaver_haptic_feedback = 1, sys.psaver.haptic = false, skipIMEVibration = f
alse
E/SharedPreferencesImpl( 1226): Couldn't create directory for SharedPreferences
file /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_prefe
rences.xml
I/TraceConfig( 1226): [load] mTracePrediction = false
E/MP-Decision( 233): Error 16 setting /sys/devices/system/cpu/cpu3/online onlin
e status to 1
E/SharedPreferencesImpl( 1226): Couldn't create directory for SharedPreferences
file /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_prefe
rences.xml
I/HTCIMEService( 1226): [onStartInputView] mCurrSIP=com.htc.android.htcime.ezsip
.PortQwertySIPView{47c8c6c8 V.ED.... ......ID 0,0-0,0}, mData.mCurrIM=com.htc.an
[email protected]
I/XT9IME ( 1226): [handleLdbChange] handle LDBs change. (109, 0)
I/XT9_C ( 1226): [registerXT9LDB] Allocate memory of 'gLdbInfo.pbLdbBuff' (
size=4810151)
E/qdhwcomposer( 232): hwc_vsync_control: vsync control failed. Dpy=0, enable=0
: Invalid argument
E/SurfaceFlinger( 232): eventControl(0, 0) failed Invalid argument
E/MP-Decision( 233): Error 16 setting /sys/devices/system/cpu/cpu3/online onlin
e status to 1
E/MP-Decision( 233): Error 16 setting /sys/devices/system/cpu/cpu3/online onlin
e status to 1
I/XT9_JNI ( 1226): [loadFile] size=4810151 (loaded)
I/XT9_C ( 1226): [registerXT9LDB] LDB(00000109) loading [done]
D/XT9_C ( 1226): [registerXT9LDB] current LdbNum=0x109, First LdbNum=0x109, Se
cond LdbNum=0x0
W/System.err( 1226): java.io.FileNotFoundException: /data/data/com.htc.android.h
tcime/app_db/kdb_0d09.cfg: open failed: EROFS (Read-only file system)
W/System.err( 1226): at libcore.io.IoBridge.open(IoBridge.java:409)
W/System.err( 1226): at java.io.FileOutputStream.<init>(FileOutputStream.java
:88)
W/System.err( 1226): at java.io.FileOutputStream.<init>(FileOutputStream.java
:73)
W/System.err( 1226): at java.io.FileWriter.<init>(FileWriter.java:42)
W/System.err( 1226): at com.htc.android.htcime.latinim.KDBGenerator.genKDBCon
f(KDBGenerator.java:52)
W/System.err( 1226): at com.htc.android.htcime.latinim.LatinIM.setKDB(LatinIM
.java:114)
W/System.err( 1226): at com.htc.android.htcime.ezsip.PortQwertySIPView.startI
nput(PortQwertySIPView.java:322)
W/System.err( 1226): at com.htc.android.htcime.HTCIMEService.onStartInputView
(HTCIMEService.java:719)
W/System.err( 1226): at android.inputmethodservice.InputMethodService.showWin
dowInner(InputMethodService.java)
W/System.err( 1226): at android.inputmethodservice.InputMethodService.showWin
dow(InputMethodService.java)
W/System.err( 1226): at android.inputmethodservice.InputMethodService$InputMe
thodImpl.showSoftInput(InputMethodService.java)
W/System.err( 1226): at android.inputmethodservice.IInputMethodWrapper.execut
eMessage(IInputMethodWrapper.java)
W/System.err( 1226): at com.android.internal.os.HandlerCaller$MyHandler.handl
eMessage(HandlerCaller.java)
W/System.err( 1226): at android.os.Handler.dispatchMessage(Handler.java)
W/System.err( 1226): at android.os.Looper.loop(Looper.java)
W/System.err( 1226): at android.app.ActivityThread.main(ActivityThread.java)
W/System.err( 1226): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1226): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 1226): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java)
W/System.err( 1226): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va)
W/System.err( 1226): at dalvik.system.NativeStart.main(Native Method)
E/MP-Decision( 233): Error 16 setting /sys/devices/system/cpu/cpu3/online onlin
e status to 1
W/System.err( 1226): Caused by: libcore.io.ErrnoException: open failed: EROFS (R
ead-only file system)
W/System.err( 1226): at libcore.io.Posix.open(Native Method)
W/System.err( 1226): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
W/System.err( 1226): at libcore.io.IoBridge.open(IoBridge.java:393)
W/System.err( 1226): ... 20 more
I/XT9_C ( 1226): [loadDB] File not found. Load default DB.
E/XT9_JNI ( 1226): Couldn't get asset xt9_raw/kdb_0d09.cfg
W/XT9_C ( 1226): [loadDefaultDB] DB (xt9_raw/kdb_0d09.cfg) load failed!
E/XT9_C ( 1226): [registerXT9KDB] KDB(00000d09) load failed!
I/XT9_C ( 1226): [loadDB] File not found. Load default DB.
I/XT9_C ( 1226): [loadDefaultDB] xt9_raw/mdb_normal size=12 (loaded)
E/MP-Decision( 233): Error 16 setting /sys/devices/system/cpu/cpu3/online onlin
e status to 1
E/qdhwcomposer( 232): ioctl MSMFB_BUFFER_SYNC failed, err=Operation not permitt
ed
E/qdoverlay( 232): Failed to call ioctl MSMFB_OVERLAY_PLAY err=Operation not pe
rmitted
E/qdoverlay( 232): MdpData failed to play
E/qdoverlay( 232): == Dump MdpData start ==
E/qdoverlay( 232): == Dump OvFD fd=52 path=/dev/graphics/fb0 start/end ==
E/qdoverlay( 232): mOvData msmfb_overlay_data id=1
E/qdoverlay( 232): data msmfb_data offset=0 memid=27 id=0 flags=0x1000 priv=0
E/qdoverlay( 232): == Dump MdpData end ==
E/qdhwcomposer( 232): draw: queueBuffer failed for FBUpdate
E/qdhwcomposer( 232): hwc_set_primary: FBUpdate draw failed
E/qdhwcomposer( 232): display_commit: MSMFB_DISPLAY_COMMIT for primary failed
E/qdhwcomposer( 232): hwc_set_primary: display commit fail!
E/qdhwcomposer( 232): ioctl MSMFB_BUFFER_SYNC failed, err=Operation not permitt
ed
E/MP-Decision( 233): Error 16 setting /sys/devices/system/cpu/cpu3/online onlin
e status to 1
E/qdoverlay( 232): Failed to call ioctl MSMFB_OVERLAY_PLAY err=Operation not pe
rmitted
E/qdoverlay( 232): MdpData failed to play
E/qdoverlay( 232): == Dump MdpData start ==
E/qdoverlay( 232): == Dump OvFD fd=52 path=/dev/graphics/fb0 start/end ==
E/qdoverlay( 232): mOvData msmfb_overlay_data id=1
E/qdoverlay( 232): data msmfb_data offset=8355840 memid=29 id=0 flags=0x1000 pr
iv=0
E/qdoverlay( 232): == Dump MdpData end ==
E/qdhwcomposer( 232): draw: queueBuffer failed for FBUpdate
E/qdhwcomposer( 232): hwc_set_primary: FBUpdate draw failed
E/qdhwcomposer( 232): display_commit: MSMFB_DISPLAY_COMMIT for primary failed
^^^this was right befor the phone shut off^^^^^^
Need some more info, man.
What ROMs did you try to install?
Are you currently on a stock ROM? Or a custom? Or still on the original stock set up?
Rooted?
Unlocked?
Firmware running?
What custom recovery do you have installed?
You have multiple errors, but it will be hard (at least for me) to ascertain what the problem is without more information....

Categories

Resources