LG Optimus S: 4.4 KitKat?

Re: 4.4 KitKat?

I got it to pair with an earlier build but wouldn't complete the transfer. there's a bt kernel patch that hasn't passed through their Gerrit yet.
 
Re: 4.4 KitKat?

@bigsupersquid

So MMS is now partially working?
As long as Cm11's apns, build.prop(for VM), and the DCtracker are replaced with the ones you provided?

Sent from my LG-LS670 using Xparent Red Tapatalk 2
 
Re: 4.4 KitKat?

@bigsupersquid

So MMS is now partially working?
As long as Cm11's apns, build.prop(for VM), and the DCtracker are replaced with the ones you provided?

Sent from my LG-LS670 using Xparent Red Tapatalk 2
the other file needs built too, it's the core of blarf's mms fix. this one: https://github.com/bigsupersquid/an...mmit/83469209f83b341c70318679154555a185c22de2
and, mine works, but I haven't nailed down what variable is messing it up.
but not with a standard apns-conf as installed. gotta manually delete at least one extra APN thru voice dialer... ugh. or change something in the VM APN, save it, and change it back, each reboot. Looking further into it.
 
Last edited:
Re: 4.4 KitKat?

Here's the file that allowed bt file sharing in my other build. Just copy to system/vendor/lib and set permissions . Not flashable, just unzip
 

Attachments

Re: 4.4 KitKat?

The build.prop you provided causes the boot to hang. Tried letting it just sit for an hour, but still didn't boot. I'm running skinbarks latest cm11(NON-OS2SD).

Sent from my LG-VM670 using Xparent Red Tapatalk 2
 
Re: 4.4 KitKat?

The build.prop you provided causes the boot to hang. Tried letting it just sit for an hour, but still didn't boot. I'm running skinbarks latest cm11(NON-OS2SD).

Sent from my LG-VM670 using Xparent Red Tapatalk 2
dunno what I was thinking, it's no use without a build containing the telephony changes anyway.
 
Re: 4.4 KitKat?

I update my device folders on branch cm-11.0x.

Updated build with bt fixes cm-11-20140130-thekraven4-thunderc.zip | by thekraven for Optimus S , twrp 2.3 recovery tested.

Looks like most things work now, still need bluetooth audio tested. The wifi drain is the biggest culprit on this and jb roms. I got wps_supplicant_6 to build on kitkat, but couldn't get wifi to turn on. I think the wifi drivers need to be downgraded back to zvj for that to work as the 3.0 kernel wifi drivers are based on bcm4329/bcmhd. But all the development is on wpa8, so you might look at undervolting the wifi drivers or limiting wifi tx in the kernel.
 
Re: 4.4 KitKat?

I update my device folders on branch cm-11.0x...
I do enjoy all your code updates. Makes things so much easier when someone else has done most if not all of the hard work.
Thanks.
Looks like most things work now, still need bluetooth audio tested. The wifi drain is the biggest culprit on this and jb roms. I got wps_supplicant_6 to build on kitkat, but couldn't get wifi to turn on. I think the wifi drivers need to be downgraded back to zvj for that to work as the 3.0 kernel wifi drivers are based on bcm4329/bcmhd. But all the development is on wpa8, so you might look at undervolting the wifi drivers or limiting wifi tx in the kernel.
don't have bluetooth audio to test with, just keyboard.
I will eventually check into the wifi. Good pointers. As I recall, you were the one that nudged me into porting that kernel over in the first place.
 
Re: 4.4 KitKat?

ah.
a fresh build from thekraven's TheJBC (added a line in thunderc-vendor-blobs.mk after sensors like so
Code:
    vendor/lge/thunderc/proprietary/lib/hw/sensors.thunderc.so:system/lib/hw/sensors.thunderc.so \
    vendor/lge/thunderc/proprietary/lib/libbt-vendor.so:/system/vendor/lib/libbt-vendor.so
and put the earlier attached file in vendor/lge/thunderc/proprietary/lib) with VM tweaks like the mms fix and including the 'correct' MCC/MNC for Virgin Mobile gives me bluetooth keyboard, wifi tether, and MMS. MMS after 'open APNs' in voice dialer, opening the VM APN, and saving it without changes.
Issues: Gallery forces a reboot after being closed with back button (or force-closed) and then re-opened. EGL error. Exiting with home button allows re-entry without crashing. Camera triggers Gallery... so beware.
default notification sound: none
Wifi tether works after turning on/off once. The first time just hangs.
MMS only works after messing with the APN, once per reboot.
I'll be kind and upload one for people with VM service to play with.
https://drive.google.com/folderview?id=0BypDFSwT9owBYk5LSEF4Ni12Q3c&usp=sharing
md5sum: 58d3d01796e57733fb847d3d278c109d
new OV-forum ROM thread over here.
 
Last edited:
Re: 4.4 KitKat?

I suggest someone on Sprint service and a Sprint build open voicedialer, 'open APNs' and open/save the Sprint APN to test MMS. if it doesn't work after that it probably needs the DcTracker changes too.
 
Re: 4.4 KitKat?

per this bit of logcat, after saving the APN triggering it being loaded properly, and a waiting mms going out
Code:
D/SubSettings(  953): Launching fragment com.android.settings.ApnEditor
I/ActivityManager(  481): Displayed com.android.settings/.SubSettings: +805ms
I/ActivityManager(  953): Timeline: Activity_idle id: android.os.BinderProxy@419c5db0 time:196542
I/ActivityManager(  481): Timeline: Activity_windows_visible id: ActivityRecord{41dd11e0 u0 com.android.settings/.SubSettings t6} time:196698
I/Choreographer(  953): Skipped 39 frames!  The application may be doing too much work on its main thread.
D/MobileDataStateTracker(  481): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker(  481): default: Received state=DISCONNECTED, old=CONNECTED, reason=apnChanged
D/MobileDataStateTracker(  481): default: setDetailed state, old =CONNECTED and new state=DISCONNECTED
D/ConnectivityService(  481): ConnectivityChange for mobile: DISCONNECTED/DISCONNECTED
D/ConnectivityService(  481): tryFailover: set mActiveDefaultNetwork=-1, prevNetType=0
D/ConnectivityService(  481): Attempting to switch to wifi
D/ConnectivityService(  481): resetConnections(rmnet0, 3)
D/NetUtils(  481): android_net_utils_resetConnections in env=0x1e71958 clazz=0x47200001 iface=rmnet0 mask=0x3
D/Nat464Xlat(  481): requiresClat: netType=0, hasIPv4Address=true
I/ActivityManager(  481): Timeline: Activity_windows_visible id: ActivityRecord{41cc5650 u0 com.android.settings/.Settings$ApnSettingsActivity t6} time:204997
D/ConnectivityService(  481): handleInetConditionChange: no active default network - ignore
I/ActivityManager(  953): Timeline: Activity_idle id: android.os.BinderProxy@41933d98 time:205371
D/CaptivePortalTracker(  481): NoActiveNetworkState{ when=-1ms what=1 obj=NetworkInfo: type: mobile[CDMA - EvDo rev. A], state: DISCONNECTED/DISCONNECTED, reason: apnChanged, extra: , roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/CaptivePortalTracker(  481): NoActiveNetworkState not a wifi connectivity change, ignore
D/Tethering(  481): MasterInitialState.processMessage what=3
D/ConnectivityService(  481): handleInetConditionChange: no active default network - ignore
W/ContextImpl(  791): Implicit intents with startService are not safe: Intent { act=com.google.android.gtalkservice.IGTalkService } android.content.ContextWrapper.startService:494 android.content.ContextWrapper.startService:494 com.google.android.gsf.gtalkservice.ServiceAutoStarter.onReceive:70 
D/GCM     (  791): GcmService start Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 cmp=com.google.android.gms/.gcm.GcmService (has extras) } android.net.conn.CONNECTIVITY_CHANGE
I/ActivityManager(  481): Delay finish: com.google.android.gsf/.settings.GoogleLocationSettings$LocationSettingsChangedListener
V/TransactionSettings( 1085): APN setting: MMSC: http://mmsc.vmobl.com:8088/mms? looked for: current IS NOT NULL
D/ConnectivityService(  481): startUsingNetworkFeature reconnecting to 0: enableMMS
V/TransactionService( 1085): mms acquireWakeLock
D/ConnectivityService(  481): startUsingNetworkFeature X: return APN_REQUEST_STARTED
D/MobileDataStateTracker(  481): dun: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=dun
D/MobileDataStateTracker(  481): dun: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled
D/MobileDataStateTracker(  481): supl: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=supl
D/MobileDataStateTracker(  481): supl: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled
D/MobileDataStateTracker(  481): hipri: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=hipri
D/MobileDataStateTracker(  481): hipri: Received state=DISCONNECTED, old=DISCONNECTED, reason=dataEnabled
I/ActivityManager(  481): Waited long enough for: ServiceRecord{41c338b0 u0 com.android.mms/.transaction.TransactionService}
I/ActivityManager(  481): Resuming delayed broadcast
D/ConnectivityService(  481): stopUsingNetworkFeature: teardown net 0: enableHIPRI
I suspect TransactionSettings of glitching the initial APN loading on boot. But I dunno.
 
Re: 4.4 KitKat?

The libbt-vendor.so file will get built everytime, from the hardware/broadcon/libbt. The one in my last build has another bt device patch so it's different than the lib file posted earlier. You might have to manually sync framewirks base and Settings from androidarmv6. I forgot to push those updates
 
Re: 4.4 KitKat?

synced em and it still disconnects. maybe yours did too, I might have been overexcited.
//edit: a report that audio pairs and works including mic.
my logcat shows an error every time I press a key but it pairs ok.
 
Last edited:
Re: 4.4 KitKat?

I googled around my logcat errors a while, plus what techvendetta said about the uhid profile, and eventually came up with this.
fixed my keyboard pairing and functionality. might even work with other controllers...
 
Re: 4.4 KitKat?

there is a bug I inadvertently brought into the msm7x27-common folder.
remove the sysinit lines from init.qcom.rc, it's in init.rc now and runs twice otherwise.
 

Forum statistics

Threads
955,633
Messages
6,965,428
Members
3,163,346
Latest member
Matthowey