Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[vk810][altev]splitwindow / multiwindow for stock 4.4.2

OP paperWastage

4th August 2014, 02:03 AM   |  #1  
OP Senior Member
Flag NJ
Thanks Meter: 447
 
930 posts
Join Date:Joined: Mar 2009
More
Using info from @xdabbeb here and @hensonlf here

We can get split-window / multi-window working on our VK810
Prereq:
  • You need to be on the stock KK4.4.2 ROM
  • You need to have TWRP and/or root
  1. NOTE: This is only for the Verizon LG G Pad LTE vk810/altev model
  2. Reboot to TWRP
  3. Do backup of current ROM. (I don't currently have an undo zip file available)
  4. Flash the zip
  5. Add the two lines to /system/build.prop.

    If you have root, you can add it within android using whatever app you fancy.

    If you don't have root, stay in recovery, adb pull file, make changes, adb push file
    Code:
    ro.lge.capp_splitwindow=true
    persist.splitwindow.support_all=true
  6. Reboot
After you boot up, you should see this in your settings.
When you go to home screen, press&hold the back button to see the splitscreen popup


For Devs:
Quote:

From http://forum.xda-developers.com/show...2792938&page=1, you only need smali changes from step 1 & 3 (set CAPP_SPLITWINDOW to true in telephony-common.jar and com.lge.frameworks.jar
Then you'll need to smali it to classes.dex, add classes.dex to *.jar, then re-odex the *.jar to get the *.odex files
Then add the missing files (/etc/com.lge.splitwindow.autosplit_rules.xml, /system/etc/*.xml, /system/framework/com.lge.zdi.splitwindow.jar, /system/framework/priv-app/SplitWindowService.apk)

Attached Thumbnails
Click image for larger version

Name:	split1.png
Views:	551
Size:	133.5 KB
ID:	2882791   Click image for larger version

Name:	split2.png
Views:	561
Size:	87.7 KB
ID:	2882792   Click image for larger version

Name:	split3.png
Views:	549
Size:	252.0 KB
ID:	2882793  
Attached Files
File Type: zip lg_gpad_splitwindow.zip - [Click for QR Code] (3.39 MB, 242 views)
Last edited by paperWastage; 4th August 2014 at 02:20 AM.
The Following 5 Users Say Thank You to paperWastage For This Useful Post: [ View ]
4th August 2014, 03:01 AM   |  #2  
OP Senior Member
Flag NJ
Thanks Meter: 447
 
930 posts
Join Date:Joined: Mar 2009
More
splitwindow is pretty useful and bug-free... i'm impressed

able to do youtube + other apps and have youtube play without any problems. resizing doesn't crash youtube either
4th August 2014, 10:06 PM   |  #3  
Member
Flag chandler
Thanks Meter: 4
 
32 posts
Join Date:Joined: Aug 2011
More
I got this working, but I want to use it with Pie Controls. I have tried logcat, and looking for a command/app that launches so I can use rom toolbox to launch from the back button being held down. It didn't work, I did find something in the logcat that I thought might work.

any ideas?



Last edited by cammiso94; 4th August 2014 at 10:10 PM.
4th August 2014, 10:09 PM   |  #4  
OP Senior Member
Flag NJ
Thanks Meter: 447
 
930 posts
Join Date:Joined: Mar 2009
More
post the logcat stuff?

I'll take a look in smali later tonight, to see if theres a specific way to trigger this
4th August 2014, 10:58 PM   |  #5  
Member
Flag chandler
Thanks Meter: 4
 
32 posts
Join Date:Joined: Aug 2011
More
Here is the logcat of only the SplitWindow stuff. Here is a link to the logcat http://codeshare.io/bjfkT




Code:
	Line 2904: 08-04 13:43:08.939 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 2908: 08-04 13:43:08.959 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 2944: 08-04 13:43:09.319 I/SplitWindowPolicyService(27038): checkScreen: orgIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nolanlawson.logcat/.LogcatActivity bnds=[600,960][600,960] } /sourceIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.teslacoilsw.launcher/com.android.launcher2.Launcher }
	Line 2945: 08-04 13:43:09.319 V/SplitWindowPolicyService(27038): checkScreen => screen zone to be launched by 0, isSplitMode: false
	Line 2952: 08-04 13:43:09.329 V/SplitWindowPolicyService(27038):                intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nolanlawson.logcat/.LogcatActivity bnds=[600,960][600,960] }, from: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.teslacoilsw.launcher/com.android.launcher2.Launcher }
	Line 2953: 08-04 13:43:09.329 V/SplitWindowPolicyService(27038):                extras: null
	Line 2954: 08-04 13:43:09.329 W/SplitWindowPolicyService(27038): wrong split window lauch option! 0
	Line 2955: 08-04 13:43:09.329 V/SplitWindowPolicyService(27038): checkAutoSplitRule => autosplit mode is false and screen zone to be changed by 0
	Line 2958: 08-04 13:43:09.349 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=false pkgName=com.android.launcher2.Launcher, screenId=0, isScreenFull=true, isMinimized=false, topRunningActivity=ActivityInfo{425c7918 com.android.launcher2.Launcher}, taskId=1, activityType=1
	Line 2987: 08-04 13:43:09.749 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=true pkgName=com.nolanlawson.logcat.LogcatActivity, screenId=1, isScreenFull=true, isMinimized=false, topRunningActivity=ActivityInfo{425c8a58 com.nolanlawson.logcat.LogcatActivity}, taskId=2, activityType=0
	Line 2989: 08-04 13:43:09.759 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 2990: 08-04 13:43:09.759 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 2994: 08-04 13:43:09.779 V/SplitWindowPolicyService(27038):  + make new screenInfo as screenId = 1, screenZone = 0, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 1866), screenRectFull = null
	Line 2995: 08-04 13:43:09.779 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 2996: 08-04 13:43:09.779 V/SplitWindowPolicyService(27038): updateScreenStateAndRunningActivity: screenId=1, isFull=true, isMinimized=false, topRunningActivity=ActivityInfo{425c8a58 com.nolanlawson.logcat.LogcatActivity}, uid=10007
	Line 2997: 08-04 13:43:09.779 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 6
	Line 2997: 08-04 13:43:09.779 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 6
	Line 3015: 08-04 13:43:09.940 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 3016: 08-04 13:43:09.940 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 3017: 08-04 13:43:09.940 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 3061: 08-04 13:43:10.210 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 3063: 08-04 13:43:10.210 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 3064: 08-04 13:43:10.210 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 3148: 08-04 13:43:11.031 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 3149: 08-04 13:43:11.031 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 3150: 08-04 13:43:11.031 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 3152: 08-04 13:43:11.041 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 3153: 08-04 13:43:11.041 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 3154: 08-04 13:43:11.041 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 3204: 08-04 13:43:11.291 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 3205: 08-04 13:43:11.291 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 3206: 08-04 13:43:11.291 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 3208: 08-04 13:43:11.301 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 3209: 08-04 13:43:11.301 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 3210: 08-04 13:43:11.301 D/SplitWindowPolicyService
	Line 8263: 08-04 13:43:37.096 V/SplitWindowPolicyService(27038): onReceive
	Line 8264: 08-04 13:43:37.096 I/SplitWindowPolicyService(27038): android.intent.action.PACKAGE_CHANGED
	Line 8265: 08-04 13:43:37.096 I/SplitWindowPolicyService(27038): package:com.google.android.videos
	Line 8267: 08-04 13:43:37.096 V/SplitWindowPolicyService(27038): packageName = com.google.android.videos
	Line 8268: 08-04 13:43:37.096 V/SplitWindowPolicyService(27038): handlePackageAdded - com.google.android.videos
	Line 8274: 08-04 13:43:37.176 W/SplitWindowPolicyService(27038): com.google.android.videos already exists!
	Line 8366: 08-04 13:43:41.771 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8367: 08-04 13:43:41.771 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8368: 08-04 13:43:41.771 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8426: 08-04 13:43:45.634 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8427: 08-04 13:43:45.634 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8428: 08-04 13:43:45.634 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8576: 08-04 13:43:48.757 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8577: 08-04 13:43:48.757 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8578: 08-04 13:43:48.757 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8678: 08-04 13:43:50.189 I/SystemUI[Framework](26813): PhoneWindowManager.updateSystemUiVisibilityLw() :visibility=0x0, pkg=com.lge.splitwindow
	Line 8681: 08-04 13:43:50.199 V/SplitWindowPolicyService(27038): registerActivityStateChangedListener => pid = 27531 uid = 10004
	Line 8707: 08-04 13:43:50.429 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8708: 08-04 13:43:50.429 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8710: 08-04 13:43:50.429 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8894: 08-04 13:43:51.090 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8895: 08-04 13:43:51.090 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8896: 08-04 13:43:51.090 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8919: 08-04 13:43:51.670 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8920: 08-04 13:43:51.670 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8921: 08-04 13:43:51.680 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8941: 08-04 13:43:52.201 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8942: 08-04 13:43:52.201 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8944: 08-04 13:43:52.211 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8962: 08-04 13:43:52.521 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8963: 08-04 13:43:52.521 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8964: 08-04 13:43:52.521 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 8972: 08-04 13:43:52.611 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 8973: 08-04 13:43:52.611 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 8975: 08-04 13:43:52.621 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9028: 08-04 13:43:53.632 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9029: 08-04 13:43:53.632 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9030: 08-04 13:43:53.632 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9033: 08-04 13:43:53.712 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9034: 08-04 13:43:53.712 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9035: 08-04 13:43:53.712 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9175: 08-04 13:43:54.843 I/SplitWindowPolicyService(27038): checkScreen: orgIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity } /sourceIntent=null
	Line 9193: 08-04 13:43:54.843 V/SplitWindowPolicyService(27038): checkScreen => screen zone to be launched by 0, isSplitMode: false
	Line 9194: 08-04 13:43:54.843 V/SplitWindowPolicyService(27038):                intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity }, from: null
	Line 9197: 08-04 13:43:54.853 V/SplitWindowPolicyService(27038):                extras: null
	Line 9198: 08-04 13:43:54.853 W/SplitWindowPolicyService(27038): wrong split window lauch option! 0
	Line 9199: 08-04 13:43:54.853 V/SplitWindowPolicyService(27038): checkAutoSplitRule => autosplit mode is false and screen zone to be changed by 0
	Line 9221: 08-04 13:43:54.863 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=false pkgName=com.nolanlawson.logcat.LogcatActivity, screenId=1, isScreenFull=true, isMinimized=false, topRunningActivity=ActivityInfo{42971a20 com.nolanlawson.logcat.LogcatActivity}, taskId=2, activityType=0
	Line 9231: 08-04 13:43:54.883 I/SplitWindowPolicyService(27038): last Screen Zone set to 2
	Line 9312: 08-04 13:43:55.394 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=true pkgName=com.google.android.youtube.app.honeycomb.Shell$HomeActivity, screenId=1, isScreenFull=true, isMinimized=false, topRunningActivity=ActivityInfo{42973a60 com.google.android.youtube.app.honeycomb.Shell$HomeActivity}, taskId=3, activityType=0
	Line 9313: 08-04 13:43:55.394 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9314: 08-04 13:43:55.394 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9316: 08-04 13:43:55.404 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9317: 08-04 13:43:55.404 V/SplitWindowPolicyService(27038): updateScreenStateAndRunningActivity: screenId=1, isFull=true, isMinimized=false, topRunningActivity=ActivityInfo{42973a60 com.google.android.youtube.app.honeycomb.Shell$HomeActivity}, uid=10134
	Line 9325: 08-04 13:43:55.504 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=false pkgName=com.google.android.youtube.app.honeycomb.Shell$HomeActivity, screenId=2, isScreenFull=true, isMinimized=false, topRunningActivity=ActivityInfo{42977258 com.google.android.youtube.app.honeycomb.Shell$HomeActivity}, taskId=3, activityType=0
	Line 9346: 08-04 13:43:55.754 I/SplitWindowPolicyService(27038): checkScreen: orgIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x4000000 cmp=com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity (has extras) } /sourceIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity }
	Line 9348: 08-04 13:43:55.754 V/SplitWindowPolicyService(27038): checkScreen => screen zone to be launched by 0, isSplitMode: false
	Line 9349: 08-04 13:43:55.754 V/SplitWindowPolicyService(27038):                intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x4000000 cmp=com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity (has extras) }, from: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity }
	Line 9350: 08-04 13:43:55.754 V/SplitWindowPolicyService(27038):                extras: Bundle[mParcelledData.dataSize=164]
	Line 9351: 08-04 13:43:55.754 W/SplitWindowPolicyService(27038): wrong split window lauch option! 0
	Line 9352: 08-04 13:43:55.754 V/SplitWindowPolicyService(27038): checkAutoSplitRule => autosplit mode is false and screen zone to be changed by 0
	Line 9357: 08-04 13:43:55.764 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=true pkgName=com.google.android.apps.youtube.app.WatchWhileActivity, screenId=2, isScreenFull=false, isMinimized=false, topRunningActivity=ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}, taskId=3, activityType=0
	Line 9358: 08-04 13:43:55.764 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9359: 08-04 13:43:55.764 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9373: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038):  + make new screenInfo as screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null
	Line 9374: 08-04 13:43:55.784 W/SplitWindowPolicyService(27038): SPLITED!
	Line 9375: 08-04 13:43:55.784 I/SplitWindowPolicyService(27038): prepareSplitModeLocked
	Line 9376: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 4
	Line 9376: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 4
	Line 9377: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 5
	Line 9377: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 5
	Line 9378: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9379: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): getStackIdOfFocusedWin returns 2
	Line 9380: 08-04 13:43:55.784 D/SplitWindowPolicyService(27038): FOCUS is on screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null
	Line 9381: 08-04 13:43:55.784 I/SplitWindowPolicyService(27038): notifyScreenFocusChanged() screenId: 2, screenZone: 2, type: 0, launchUserGuided: false
	Line 9383: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): registerActivityStateChangedListener => pid = 27531 uid = 10004
	Line 9384: 08-04 13:43:55.784 V/SplitWindowPolicyService(27038): registerSplitBarStateChangedListener => pid = 27531 uid = 10004
	Line 9385: 08-04 13:43:55.784 W/ContextImpl(27038): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1237 android.content.ContextWrapper.sendBroadcast:365 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.broadcastWeJustSplited:4264 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.prepareSplitModeLocked:1292 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.changeSplitModeIfNeeded:4178 
	Line 9385: 08-04 13:43:55.784 W/ContextImpl(27038): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1237 android.content.ContextWrapper.sendBroadcast:365 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.broadcastWeJustSplited:4264 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.prepareSplitModeLocked:1292 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.changeSplitModeIfNeeded:4178 
	Line 9385: 08-04 13:43:55.784 W/ContextImpl(27038): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1237 android.content.ContextWrapper.sendBroadcast:365 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.broadcastWeJustSplited:4264 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.prepareSplitModeLocked:1292 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.changeSplitModeIfNeeded:4178 
	Line 9385: 08-04 13:43:55.784 W/ContextImpl(27038): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1237 android.content.ContextWrapper.sendBroadcast:365 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.broadcastWeJustSplited:4264 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.prepareSplitModeLocked:1292 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.changeSplitModeIfNeeded:4178 
	Line 9385: 08-04 13:43:55.784 W/ContextImpl(27038): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1237 android.content.ContextWrapper.sendBroadcast:365 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.broadcastWeJustSplited:4264 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.prepareSplitModeLocked:1292 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.changeSplitModeIfNeeded:4178 
	Line 9385: 08-04 13:43:55.784 W/ContextImpl(27038): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1237 android.content.ContextWrapper.sendBroadcast:365 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.broadcastWeJustSplited:4264 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.prepareSplitModeLocked:1292 com.lge.zdi.splitwindow.service.SplitWindowPolicyService.changeSplitModeIfNeeded:4178 
	Line 9387: 08-04 13:43:55.794 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9400: 08-04 13:43:55.934 D/SplitWindowPolicyService(27038): updateActivityStateChanged: resumed=true pkgName=com.nolanlawson.logcat.LogcatActivity, screenId=1, isScreenFull=false, isMinimized=false, topRunningActivity=ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}, taskId=2, activityType=0
	Line 9401: 08-04 13:43:55.934 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9403: 08-04 13:43:55.934 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9404: 08-04 13:43:55.934 V/SplitWindowPolicyService(27038): updateScreenStateAndRunningActivity: screenId=2, isFull=false, isMinimized=false, topRunningActivity=ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}, uid=10134
	Line 9408: 08-04 13:43:55.945 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 6
	Line 9408: 08-04 13:43:55.945 V/SplitWindowPolicyService(27038): notifySplitWindowStateChanged: 6
	Line 9409: 08-04 13:43:55.945 V/SplitWindowPolicyService(27038): updateScreenStateAndRunningActivity: screenId=1, isFull=false, isMinimized=false, topRunningActivity=ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}, uid=10007
	Line 9410: 08-04 13:43:55.945 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9411: 08-04 13:43:55.945 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9413: 08-04 13:43:55.955 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9414: 08-04 13:43:55.955 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9415: 08-04 13:43:55.955 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9416: 08-04 13:43:55.955 I/SplitWindowPolicyService(27038): MSG_SCREEN_FOCUS_CHANGED updates mLastFocusedScreenZone as 2
	Line 9447: 08-04 13:43:56.545 I/SplitWindowPolicyService(27038): last Screen Zone set to 1
	Line 9451: 08-04 13:43:56.695 I/SystemUI[Framework](26813): PhoneWindowManager.updateSystemUiVisibilityLw() :visibility=0x0, pkg=com.lge.splitwindow
	Line 9496: 08-04 13:43:57.666 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9497: 08-04 13:43:57.666 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9498: 08-04 13:43:57.666 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9501: 08-04 13:43:57.676 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9502: 08-04 13:43:57.676 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9503: 08-04 13:43:57.676 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9513: 08-04 13:43:57.966 I/SplitWindowPolicyService(27038): notifyScreenFocusChanged() screenId: 2, screenZone: 2, type: 0, launchUserGuided: false
	Line 9514: 08-04 13:43:57.986 I/SplitWindowPolicyService(27038): notifyScreenFocusChanged() screenId: 2, screenZone: 2, type: 0, launchUserGuided: false
	Line 9616: 08-04 13:43:59.518 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9617: 08-04 13:43:59.518 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9618: 08-04 13:43:59.518 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9621: 08-04 13:43:59.528 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9622: 08-04 13:43:59.528 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9623: 08-04 13:43:59.528 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9635: 08-04 13:43:59.638 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9636: 08-04 13:43:59.638 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9637: 08-04 13:43:59.638 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9640: 08-04 13:43:59.648 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9641: 08-04 13:43:59.648 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9642: 08-04 13:43:59.648 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9806: 08-04 13:44:01.090 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9807: 08-04 13:44:01.090 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9808: 08-04 13:44:01.090 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9812: 08-04 13:44:01.100 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9813: 08-04 13:44:01.100 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9814: 08-04 13:44:01.100 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9843: 08-04 13:44:01.290 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9844: 08-04 13:44:01.290 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9845: 08-04 13:44:01.290 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9846: 08-04 13:44:01.290 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9847: 08-04 13:44:01.290 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9848: 08-04 13:44:01.290 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 9886: 08-04 13:44:01.540 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9887: 08-04 13:44:01.540 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 9888: 08-04 13:44:01.540 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 9889: 08-04 13:44:01.540 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 9890: 08-04 13:44:01.540 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 9892: 08-04 13:44:01.540 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 10018: 08-04 13:44:03.001 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 10019: 08-04 13:44:03.001 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 10020: 08-04 13:44:03.001 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 10021: 08-04 13:44:03.001 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 10022: 08-04 13:44:03.001 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 10023: 08-04 13:44:03.001 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 10028: 08-04 13:44:03.182 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 10029: 08-04 13:44:03.182 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
	Line 10030: 08-04 13:44:03.182 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 10033: 08-04 13:44:03.192 V/SplitWindowPolicyService(27038): setMinimized:: nothing to do...
	Line 10034: 08-04 13:44:03.192 D/SplitWindowPolicyService(27038): finish UPDATE STACK STATUS
	Line 10035: 08-04 13:44:03.192 V/SplitWindowPolicyService(27038): ScreenInfo(2):1.ActivityInfo{42985d90 com.nolanlawson.logcat.LogcatActivity}:screenId = 1, screenZone = 1, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 38 - 1200, 952), screenRectFull = null / 2.ActivityInfo{4297e278 com.google.android.apps.youtube.app.WatchWhileActivity}:screenId = 2, screenZone = 2, screenAttribute = 0, screenState = NORMAL, screenRect = Rect(0, 952 - 1200, 1866), screenRectFull = null / 
	Line 10067: 08-04 13:44:04.483 V/SplitWindowPolicyService(27038): requestUpdateStackInfo
	Line 10068: 08-04 13:44:04.483 D/SplitWindowPolicyService(27038): start UPDATE STACK STATUS
6th August 2014, 02:48 AM   |  #6  
annoyingduck's Avatar
Senior Member
Flag Boston, MA Area
Thanks Meter: 1,397
 
2,857 posts
Join Date:Joined: Aug 2012
Donate to Me
More
@paperWastage what's specific in the zip that defines this only for the verizon varient? We've found many of bebs mods to work across several devices.
6th August 2014, 03:14 AM   |  #7  
OP Senior Member
Flag NJ
Thanks Meter: 447
 
930 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by annoyingduck

@paperWastage what's specific in the zip that defines this only for the verizon varient? We've found many of bebs mods to work across several devices.

nothing was verizon-specific.

as I said in my OP under the "For Dev" section, I followed beb's steps.

the only change necessary was to toggle the CAPPS_SPLITWINDOW=true flag for telephony-common.jar and com.lge.frameworks.jar

all of other smali edits were present inside telephony-common/com.lge.frameworks...

then I re-used the same zip file from hensonlf (which included the missing *.xmls, com.lge.zdi.splitwindow.jar and SplitWindowService.apk)
The Following User Says Thank You to paperWastage For This Useful Post: [ View ]
6th August 2014, 03:23 AM   |  #8  
annoyingduck's Avatar
Senior Member
Flag Boston, MA Area
Thanks Meter: 1,397
 
2,857 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Quote:
Originally Posted by paperWastage

nothing was verizon-specific.

as I said in my OP under the "For Dev" section, I followed beb's steps.

the only change necessary was to toggle the CAPPS_SPLITWINDOW=true flag for telephony-common.jar and com.lge.frameworks.jar

all of other smali edits were present inside telephony-common/com.lge.frameworks...

then I re-used the same zip file from hensonlf (which included the missing *.xmls, com.lge.zdi.splitwindow.jar and SplitWindowService.apk)

Ok. From what I can tell there's some lte specific items in the permissions file which I don't think should have any impact on the wifi only device. I'm curious if your zip will work on the wifi varient. I know nothing of smali code, so I'm out on building this into our varient.
What do you think?

---------- Post added at 09:23 PM ---------- Previous post was at 09:20 PM ----------

Edit, I just realized the linked thread was for us, not the g2!
6th August 2014, 03:48 AM   |  #9  
OP Senior Member
Flag NJ
Thanks Meter: 447
 
930 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by annoyingduck

Ok. From what I can tell there's some lte specific items in the permissions file which I don't think should have any impact on the wifi only device. I'm curious if your zip will work on the wifi varient. I know nothing of smali code, so I'm out on building this into our varient.
What do you think?

---------- Post added at 09:23 PM ---------- Previous post was at 09:20 PM ----------

Edit, I just realized the linked thread was for us, not the g2!

yeah, that thread shouldn't be in the "Themes/Apps" section, should be in the dev section as well.... gets missed by a lot of people
27th September 2014, 08:45 AM   |  #10  
cobra7361's Avatar
Senior Member
Thanks Meter: 202
 
401 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by paperWastage

Using info from @xdabbeb here and @hensonlf here

We can get split-window / multi-window working on our VK810

Prereq:
  • You need to be on the stock KK4.4.2 ROM
  • You need to have TWRP and/or root
  1. NOTE: This is only for the Verizon LG G Pad LTE vk810/altev model
  2. Reboot to TWRP
  3. Do backup of current ROM. (I don't currently have an undo zip file available)
  4. Flash the zip
  5. Add the two lines to /system/build.prop.

    If you have root, you can add it within android using whatever app you fancy.

    If you don't have root, stay in recovery, adb pull file, make changes, adb push file
    Code:
    ro.lge.capp_splitwindow=true
    persist.splitwindow.support_all=true
  6. Reboot
After you boot up, you should see this in your settings.
When you go to home screen, press&hold the back button to see the splitscreen popup


For Devs:




Where do u add the code to the build.prop?
At top or very bottom or?
Thanks for all ur help and all u do for us vk810 guys

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes