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