[ROM].[JB].[XXLS7][PORT]TW MiniTab 5,3_v0,3 (support stopped)

Status
Not open for further replies.

chipwizz

Senior Member
Oct 10, 2008
472
1,153
93
Pune
wizzdome.wordpress.com
In case someone still tracking it..
barrmulio's solution is on source code which boils down to following three files from rom
1.framework-res.apk: /framework-res/res/values/bools.xml to be modded for follwing two lines (as default they are false and need to be changed to true)
Code:
<bool name="config_allowAllRotations">true</bool>
<bool name="config_enableLockScreenRotation">true</bool>
2.services.jar: \services.jar.out\smali\com\android\server\wm\WindowManagerService.smali need to be changed
Code:
 .method private computeSizeRangesAndScreenLayout(ZIIFLandroid/content/res/Configuration;)V
    .locals 13
    if-eqz p1, :cond_[COLOR=Red]0[/COLOR]
following lines to be deleted
Code:
iget v1, p0, Lcom/android/server/wm/WindowManagerService;->mSmallestDisplayWidth:I
int-to-float v1, v1
div-float v1, v1, p4
float-to-int v1, v1
below line to be added
Code:
const/16 v1, [COLOR=Red]?X???[/COLOR]
...few more things to be added and deleted and moded... hmmm. My head is already spinning. :D
3.android.policy.jar:\android.policy.jar.out\smali\com\android\internal\policy\impl\PhoneWindowManager.smali need to be changed
dont want to talk about it now :D

So bottom line is this can be dead wrong. This is just my understanding and want readers to correct me.
I am thinking about opening v3 and studying these files a bit. May be i can get some glimpse of magic that ianbbaa used :D or may be inabbaa will be back with v4 based on xxlsc ;)
 
Last edited:

MarcinXDA

Senior Member
Oct 24, 2010
231
52
0
Warsaw
As I spoke with Ianbbaa he don't have too much time to mod leaks so lets wait for stable release. Other thing is that almost noone helped him with last release. These are why the topic is freezed (but not dead probably).
......................

...Edit 2: I started hunt hoping someone will join me :) and first link which gives me few understanding in what goes into tablet interface and how to tweak it
here is you go...http://forum.xda-developers.com/showthread.php?t=1780970
...
Interesting thing is that it is feasible to have tablet mode regardless of dpi (for now on nexus 7, but we will see...).
I recompiled framework.res.jar but it seems to be written in other language than nexus 7. I'm not programmer so I even don't know what language it is. Maybe someone knows more and could mod files as requested?
 
Last edited:
  • Like
Reactions: chipwizz

mazelost

Senior Member
May 21, 2012
183
22
0
Athens,Greece
It works amazingly! It is just what i was looking for;)You are great my friend.Thank you a lot:good:

---------- Post added at 10:41 PM ---------- Previous post was at 10:21 PM ----------

No, like in TAB2 tablet

also got multiwindow UI running from NOTE 10,1 but it wont be possible and not usefull for this screen size. Here we have WINDOWS like miniapps. will update 2nd and 3rd post.
In a few words your rom is S U P E R B!!! I am looking forward to receiving new updates:victory:Keep up the good job:good:
 

KSauzeRK

Senior Member
Feb 9, 2012
111
7
0
Paris
anyone tried to activate tablet mode on XXLSC? I just moved seccontacts.apk and secphone.apk from v0.3 to XXLSC and changed DPI to 213. contacts works but gives FC on dialer. Can someone help to get it working? Do i need to mod framework?
I had no problem running raj_ch2002's 240 DPI ROM at 213 DPI, contacts, dialer worked fine, and they looked right. However TW did not so I use nova launcher, but would prefer TW as SPlanner widget is not available on nova (bug ?) and Spen functionalities are not present. Best would be, enable tablet UI with 320 or 240 DPI as some thread you posted achieved, but with TW.

Edit : TW does work using raj_ch2002's at 213 DPI. Standard internet browser FC's so I'll just use chrome. Weird thing is it seems my setup I had done at 240 DPI was reseted, and the notification bar in landscape mode is a PITA to get to appear, don't know why.
 
Last edited:

rraaka

Senior Member
Sep 8, 2010
2,608
671
0
Raj, xperiacle and nanonet are also working on similllar project so they could be consulted.

its working out pretty well but stock official JB build would give better results overall
 

ianbbaa

Senior Member
Dec 27, 2008
480
808
0
In case someone still tracking it..
barrmulio

Hi Chip, glad somebody interested in this and is even willing to spend some time to learn something new not just.....

Was not here quit long time, currently running complete stock on my NOTE - really have no time to work on this, probably during Xmass when will be bored of TV shows etc...(only today some minutes of short free time at the office)

I know Barrmulios mod some time, also was digging in it month ago, but no final succes - only succes i had was to bring up systembar to "appear" at the bottom on 213dpi - but system UI FCd, I wrote "appear" as it did not really appear, but everytime when SystemUi tried to run - screen made black place for systembar at the bottom and them SytsemUi FCs. (This normaly do not happen when you are on not working SysUi at 213dpi)

There is already mod for Tab2 here: Maybe this guy can help out what and where he did exactly changed...

But we have a bit diff situation - Tab2 might be better prepared to use sw720 sources all over - as our original Note is not ready in all apps to use sw720!
Small findings that you might notice before:
Tab 2 - Phablet till 178dpi - WORKING Tablet 177 and below
Note1 - Phablet till 178 - SysUi FC below 177 - so no TABLET

I was trying to make proper SysUi with all sources in sample of N10,1 or Tab2 - but it never worked in Tablet below 177...so it is posible that some more things are missing on our "PHONE" and "TABLET" elements are completely deleted, not used....etc...I dont know, was recently "upgraded" my work "touch laptop" from W7 to W8 and not yet restored all the stuff needed...
 

chipwizz

Senior Member
Oct 10, 2008
472
1,153
93
Pune
wizzdome.wordpress.com
Hi Chip, glad somebody interested in this and is even willing to spend some time to learn something new not just.....
wow....finally you showed up. I am so happy for this thread. :)
I know Barrmulios mod some time, also was digging in it month ago, but no final succes - only succes i had was to bring up systembar to "appear" at the bottom on 213dpi - but system UI FCd, I wrote "appear" as it did not really appear, but everytime when SystemUi tried to run - screen made black place for systembar at the bottom and them SytsemUi FCs. (This normaly do not happen when you are on not working SysUi at 213dpi)
I interpret it as, i need not ponder much on these mods. Yeh..good for me. Those cryptic values were driving me crazy.
There is already mod for Tab2 here: Maybe this guy can help out what and where he did exactly changed...
I noticed this thread while digging, but didnt spend much time on it. I will do that now.
But we have a bit diff situation - Tab2 might be better prepared to use sw720 sources all over - as our original Note is not ready in all apps to use sw720!
Small findings that you might notice before:
Tab 2 - Phablet till 178dpi - WORKING Tablet 177 and below
Note1 - Phablet till 178 - SysUi FC below 177 - so no TABLET
I was trying to make proper SysUi with all sources in sample of N10,1 or Tab2 - but it never worked in Tablet below 177...so it is posible that some more things are missing on our "PHONE" and "TABLET" elements are completely deleted, not used....etc..
Hmm. Thanks for giving this perspective to me.
 
Last edited:

ianbbaa

Senior Member
Dec 27, 2008
480
808
0
http://forum.xda-developers.com/showthread.php?t=2041071

TABLET UI: Maybe, Maybe not?
This is done by xperiacle, but systemui fc as mentioned before.
Anyone knows how to mod systemui.apk to let it work with sw720?
This*wont*happen*- XXLSA/C sysUi has its sources and even more what can the N1 now take!

...hopefully*i am wrong and somebody*will*have*succes,*i managed the same thing some time ago (read last page for my post to CHIPWIZ), there are also other ways to force "system bar" etc...but....systemUi never worked in TabUI probably because of moooore things involved...(some might try it on earlier builds like XXLS1/LS2 where we worked in Tab2-7 mode.
1. Look at the nexus 10 - no tablet UI, so true tabUi will last probably only for CM. AOKP, PA roms - so FUTURE of google says NO TABLET UI!
2. In our very first JB leak there was a lot of things similar to Note 10,1 JB leak - has "miniapp tray" "S apps" panel in its rom...but some of the things has changed in our 4,1,2 - other new layouts added, "mentioning CENTERBAR" , minimizing apps is ready - so these things are in XXLSA/C - but not in latest official N10,1 JB,...this means the Sammsung is probably cooking in the same kitchen for Spen devices like N1/2 and N10,1....
3. MultiWindow will be Samsungs strong feature for the future releases - see official N10,1 and compare XXLSA/C - we can run every single app in MWindow, N10,1 can not yet, we can see sources for "minimizing" in XXLSA/C - was not on XXLS1/2 and is not even on official JB for N10,1....
.,.and future is no TabUI - so i quess "phablet" also for Samsungs 10,1 and at the bottom there will be a CENTER BAR similar to windows where you can see your minimized apps etc...but this is not probably ready yet and we can not run it on N1 as it probably is not even ready to run on N10,1 - so we only see the bits of code for future features.

I believe, we will be able to run the "center bar" feature in the future - but there is no need to kill the time anymore for tabUI as it probably dies for stock roms also for 10inch tablets. I like TabUi very much especially for such big screen - easy to operate the device in one hand, but we have to learn to use it like "phablet"...
 

ianbbaa

Senior Member
Dec 27, 2008
480
808
0
Unfortunately you could be right.
I made some research and tried some copy-paste inside systemui.apk but no luck;)
I made before a lot of copies of "multidpi" systemUi/framework...mdpi/hdpi/xhdpi - checked also the previous ICS working SysUi from quazii´s thread and made it in that way....but no luck. I might do it wrong but some of the apps that i modded worked fine - but i believe there is some other smali that is simply not alowing TabUi and therefore FCs. I only managed to appear a black bar on the bottom when i got dialog "SystemUi FCs" - i mean SysUi was making its place on the screen but FCd - you know what i mean.

There is also code in SytemUi that is checking its "minWidth" (was not there in ICS), so to play with it might be also worth to try.

But i personally believe, that it is because of the reasons i mentioned before in my previous post.
 

MarcinXDA

Senior Member
Oct 24, 2010
231
52
0
Warsaw
From my point of view it is not really worth of work.

Floating multi window (all aps) with 213 dpi is close to perfection. :)
If multiwindow is gonna to be changed in final release I would probably stay on xxlsc.
 
Status
Not open for further replies.