yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] canestim:
Quick question/help needed. I flashed each zip for mine 4.1.2 stock that was just posted a few pages back. It enabled tablet ui however things are not rendering correcting. widgets go off the page (think windows phone 8 lol) and you have to scroll to see the full widget. And when you go back to ls to port the icons will be underneath the menu bar. Help anyone? Much thanks.
[Nexus 7 Android Development] cg.voabc:
One thing I'm seeing is that once I enable the tablet UI; certain apps look larger than before making the change. Could it be because it sees the device as a tablet and is upscaling?

So far I have seen it in one game. It's "Modern War"

https://play.google.com/store/apps/...ernwar&feature=nav_result#?t=W251bGwsMSwyLDNd
[Nexus 7 Android Development] AngusTutnbull:
When I try to install the gapps what is it meant to do? What apps am I meant to have? I installed it but the only Google apps I really have is play store? Can someone help?
[Nexus 7 Android Development] Scott:
I takes your base and add Extended Power Menu :angel:

If you hit Download you should hit Thanks!

​
[Nexus 7 Android Development] jjwatmyself:
Hello to all in tablet UI land. :)

Completely separate to this thread, I have been maintaining a tutorial thread on tablet UI found here http://xdaforums.com/showthread.php?t=1876790

The current method that I have is as follows. The script when executed from a terminal (as root) will trigger a warm reboot to change the UI. No interactions with market have been observed.

setprop qemu.sf.lcd_density 120
stop
sleep 1
start

I have also tested with a homescreen short cut and all worked perfectly (c/o SManager). The result is one click and the phone warm reboots into tablet UI... All while docked with hdmi link. A cold reboot reverts the phone to the configured DPI (240) from the build.prop.

I'm referencing this method in this thread as I'm interested to know if the followers here have any suggestions on a faster method to toggle between UI styles. Ie faster than warm reboots and cold reboots. Perhaps a service that can be cycled to trigger changing the UI style.

I invite your feedback and as an acknowledgment of this question perhaps being off topic to this thread, please feel free to post thoughts over on the tutorial. http://xdaforums.com/showthread.php?t=1876790
[Nexus 7 Android Development] z1gackly:
In my ROM and the CM10 patch I offer here, I switch without a reboot by killing SystemUI, but obviously I don't do tablet UI with a DPI change, because that's not what this thread is about.

Nevertheless, here's what my code executes after I change the variables which control tablet UI in my modified framework, which you should be able to adapt to work in a shell with root permissions:

pkill -TERM -f com.android.systemui

It then takes a few seconds for SystemUI to restart in the new mode.

I doubt that will be the whole story to get tablet ui to work with DPI changes but it might be a path you could investigate if you can find the right processes to kill.

---------- Post added at 10:27 AM ---------- Previous post was at 09:53 AM ----------

New 20121107 CM10 Tablet UI patch available for download at http://goo.im/devs/zigackly/patches/grouper/tablet_ui

This patch features:

Tablet UI is independent of DPI changes.

Tablet UI can be toggled on and off without a reboot from the settings menu.

Customisable DPI from the settings menu (does not affect tablet mode).

Modified layout for Trebuchet launcher, for Tablet UI on the Nexus 7.

CM10 settings are consistent with UI mode.

Clear all button on recent apps menu.

Compatible with the 20121106 CM10 nightly build.

If you download my CM10 kang instead, you can also toggle tablet apps (dual pane instead of single pane) on or off; however I have not yet got this working with the patch.

Have fun.

---------- Post added at 10:44 AM ---------- Previous post was at 10:27 AM ----------

If any other devs want to use my code to make Tablet UI even better in your own ROMs, you are welcome by the way.

You'll find the commits you need here, starting October 5th:

https://github.com/zigackly/android_packages_apps_Settings/commits/tablet-ui

https://github.com/zigackly/android_frameworks_base/commits/tablet-ui

Some of them may need a rebase, but apply them all in order, and you'll get the same Tablet UI features I provide in my CM10 kang.
[Nexus 7 Android Development] domg73:
Is it possible to have an odexed version of this, please?
[Nexus 7 Android Development] Rsotbiemrptson:
Here you go.

Rsotbiemrptson
[Nexus 7 Android Development] domg73:
Thank you!
[Nexus 7 Android Development] jjwatmyself:
My sincere thanks for your response, it was a very interesting read for me. I can see that you are deep into this. I wish the base CM10 OS would toggle to tablet UI over HDMI by default (like Moto Webtop3). Providing that I can prove that I have the correct smarts, I'll look to replicate your work into Epinter's CM10 for Atrix 4G. I may or may not be equipped to do so, but will attempt an initial eval this weekend. I'll be working from the 2012-11-05 build of Epinter's CM10 for Atrix 4G that can be found here.

http://xdaforums.com/showthread.php?t=1781970
[Nexus 7 Android Development] z1gackly:
Good luck! I'll be really pleased if it works for you. The other option is to ask epinter if they fancy merging my commits into their code base to provide my tablet UI functionality with their ROM. It should slot in real smooth if they are up to date with CM10, and because it's all switchable, it would not affect the normal running of their ROM. I think that would be easier than trying to backfit it onto their ROM once it's compiled. Either way, if you need any help I'll do what I can.
[Nexus 7 Android Development] Spacemonkie4207:
Will this work on the latest SmoothRom? I know the dev uses CM10, just not sure if its the right version.
[Nexus 7 Android Development] z1gackly:
Only one way to find out! Make a backup first.
[Nexus 7 Android Development] Spacemonkie4207:
Lol yeah I know. Told myself the same thing. Just so lazy.
[Nexus 7 Android Development] z1gackly:
Some people have been asking me for a "how to" guide covering repo, github, git and gerrit.

http://z1gackly.wordpress.com/2012/11/11/how-to-use-repo-github-git-and-gerrit/
[Nexus 7 Android Development] Saint Wacko:
Is there a patched version of launcher2 available yet?
[Nexus 7 Android Development] ontoptherock:
is this available for stock
[Nexus 7 Android Development] lekofraggle:
Yes and no. Read the O.P. it is but you need to be deodexed. Then, it will work.

~Leko

Sent from my ADR6425LVW using Xparent Cyan Tapatalk 2
[Nexus 7 Android Development] noobhero:
try this
[Nexus 7 Android Development] barrmulio:
android 4.2 source getting loaded to aosp right now

https://groups.google.com/forum/?fromgroups=#!topic/android-building/-ymcoMuDAbA

EDIT: API 17 is loaded to SDK!
[Nexus 7 Android Development] Rsotbiemrptson:
Patch for 4.2 Stock Odex

Here is a patch for 4.2 stock odex and deodexed, plus ones to revert. This doesn't include a modded launcher.

Rsotbiemrptson
[Nexus 7 Android Development] noobhero:
anticipating this patch for 4.2

edit: gosh! i'm 6 minutes late!!
[Nexus 7 Android Development] rubenyai:
i love u, testing not

Enviado desde mi Nexus 7 usando Tapatalk 2

---------- Post added at 09:29 PM ---------- Previous post was at 09:13 PM ----------

works fine!!!. Only, the notification/stat icons of the bar is so small but don't problem!... D= i miss the quick settings... thanks!

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] pclov3r:
Will there be a full TabletUI form how it worked and looked in 4.1.2 including the modded launcher?

Tired to use Rsotbiemrptson's 4.2 zips but it was messed up. A cross between tablet UI and stock UI lol
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

I thought I did the patch right. What is still StockUI?

Thanks,

Rsotbiemrptson
[Nexus 7 Android Development] jsmith8858:
Do you mind posting some screen shots of how things work/look? I'd like to move to 4.2 but I love the tablet UI, that's really holding me back, I am curious how well it can still be enabled. thanks!
[Nexus 7 Android Development] rubenyai:
Here.. with go launcher for tablet
[Nexus 7 Android Development] ejchis:
Thanks for putting this together. Made me feel a lot better about updating.

Two things that I've noticed:

1. As has been stated, the icons and clock text are much smaller than on the previous tablet UI.

2. When you drag the home icon up to open Google Now, the graphic on the screen still comes up from the center.

These are minor concerns though. I'm mostly just glad to have this mode still available. Thanks again.
[Nexus 7 Android Development] jsmith8858:
Thank you!
[Nexus 7 Android Development] :
So does this work in 4.2 now? I saw the apk above, but wondering if it's "officially" supported.
[Nexus 7 Android Development] pclov3r:
Not sure i tired it but it was messed up. Stock UI = the default UI on the Neuxs 7
[Nexus 7 Android Development] Tasssadar:
Thanks, could you also make patch which would force tablet UI, no matter what DPI is set in build.prop? I tried to set ro.sf.lcd_density to 170, because the icons and text were still little too big for me, but it is stock UI again.
[Nexus 7 Android Development] TinTin:
I tried flashing odex tablet-ui for 4.2 as posted in post 840 on a Nexus 7 3G German Stock ROM (which came with 4.2 already), but I'm getting stuck on boot at the "x". Am I missing something?
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

I would say that the 3G version has different code then the Wi-Fi version so it won't work. If you upload me your framework folder I can do it for you.

Rsotbiemrptson
[Nexus 7 Android Development] pricematthew4143:
love it`

the deoxded version works perfect thanks but the launcher gets all weird even on apex launcher...
[Nexus 7 Android Development] don_ernesto:
would the patched launcher for version 4.1.2 work with this tweaks on 4.2?

(sorry for the newbie question)
[Nexus 7 Android Development] pclov3r:
No it wont. I already tried.

The launcher just crashes.
[Nexus 7 Android Development] pclov3r:
Any updates on a patched launcher?

Would really like a working tablet ui patch like how it was with 4.1.1 and 4.1.2
[Nexus 7 Android Development] Ferrari328:
Rooted Nexus 7 with stock 4.2 rom. I know how to get a zip file to the nexus and install it but I have no clue what file I need to use from post 840. I read the helpful articles about dedexed etc but I still have no clue. Really would like the tablet UI back since that showed the clock when reading a book using the Aldiko reader.
[Nexus 7 Android Development] Postmonkeh:
patch in post 840 working well here with just a couple of problems i've noticed. the google now icon still appears in the middle when we drag up from the action keys on the left, and because we're missing the quick settings menu there's no way to quickly switch between users unless you've set the tablet to lock immediately when you press the power button. no big deal on either case, i'd rather sacrifice them than tablet mode but it'd be nice if there could be some way to fix the little problems, especially the multi user one.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

You want the odexed Version.

Rsotbiemrptson
[Nexus 7 Android Development] droidnext:
thanks, work great no problem. i used this mod for extra screen on top and youtube app. I alway like portrait mode.
[Nexus 7 Android Development] pricematthew4143:
I have the launcher source for 4.2 and will gladly mod it but need a little guidance on where and what to mod
[Nexus 7 Android Development] Nark.GA60:
Try these two:

https://github.com/barrmy/packages_apps_Launcher2/commit/ac5c0e722ea42e0edec7d64b65fb8d711eff0edd

https://github.com/barrmy/packages_apps_Launcher2/commit/92268f9c0b03ac0ce4f481af5843e0ad8a8524a2
[Nexus 7 Android Development] pricematthew4143:
Thanks working on them now
[Nexus 7 Android Development] Sultan.Alkhuzaie:
Can anybody make the stock 4.2 launcher rotate with the dock like the nexus 10
[Nexus 7 Android Development] acidspider:
Can this be made to work at a lower dpi?
[Nexus 7 Android Development] brGabriel:
+1 :good:

I also tried adjusting the DPI and lost the tablet UI
[Nexus 7 Android Development] norcal61:
Tablet UI patch for Clean Rom/ 4.2

Hi, im currently running the latest version of clean rom which is 4.2. I tried flashing the patch for stock 4.2 tablet UI and no changes happened. After booting up from twrp its as if nothing happened. Im still in phone ui. Is there a patch for my setup?
[Nexus 7 Android Development] ejchis:
You want the first one in this post on page 84.
[Nexus 7 Android Development] straxusii:
Nice mod thanks, again just need ability to lower dpi
[Nexus 7 Android Development] acidspider:
Can we get a lower dpi version of this mod please
[Nexus 7 Android Development] hipha:
Lower DPI...

Not sure if this has been posted but I installed the patch for 4.2 (on page 84) and it worked. However, there were some minor things that did not display properly (e.g. email setup screen with the buttons overlapping; widgets not displaying properly..). I went to edit /system/build.prop and changed the "ro.sf.lcd_density"to 180. Now it works perfectly. I am using ADW EX and it works perfectly. Tried out the stock launcher and that looked decent too. Give it a try and play around with the DPI. I found 180 to work best without the need for a magnifying glass.
[Nexus 7 Android Development] Ferrari328:
Thanks all, finally got around to install it and it looks great! Finally get a clock that's always visible. Thanks also to hipha for the dpi tip, after it looks perfect. Well, to be picky, I wish the clock was a bit bigger.
[Nexus 7 Android Development] hipha:
Lol.... Yeah me too... But I'll take it.... It's better than stretching my thumb to go for the back key.
[Nexus 7 Android Development] Patroy:
Will be there some new works on tablet ui or this idea has been forgotten?

Nexus 7 Tapatalk 2
[Nexus 7 Android Development] lagoskon:
Did you bother to read some pages???

News are on page 84. Try it . Also 190DPI doesn't ruin the tablet UI if you want less than 213DPI
[Nexus 7 Android Development] Patroy:
I read all this topic, but i'm using 160dpi so patchs that already exsists doesn't help me.
[Nexus 7 Android Development] oliverano:
Re: [PATCH] True Tablet UI (Apps+GUI) w/o DPI Change for Stock & CM10 - Update Oct11

Do we need a new patch for the 4.2.1 update?

Thx
[Nexus 7 Android Development] Rsotbiemrptson:
New 4.2 Zips

Hello,

I went back through my mods trying to figure out what I did wrong, and think i have it. I wanted to let you people try these and see if they help. I havent tested them(back on 4.1.2 till other issues get sorted out), so let me know if they work. I'm hoping they solve the dpi problem as well as the google now issue. If these work I'll get them going for 4.2.1 and the 3G models.

Rsotbiemrptson
[Nexus 7 Android Development] eak1080:
These are nice. Changing the dpi to 160 to get tablet ui is almost unusable because it makes everything too small. this patch is awesome because it keeps the readable dpi and allows dual pane things :good:
[Nexus 7 Android Development] rubenyai:
=/

Auch =/... I've android 4.2.1 D: ... Uhmm I can test it? D: ... 4.2.1 is a small patch of 4.2.. but!... **** happens! haha XD
[Nexus 7 Android Development] acidspider:
Still won't work on 160dpi but is OK on 190dpi
[Nexus 7 Android Development] ro_explorer:
Is not working on 4.2.1 ... bootlooping (because the 4.2.1 update is modifying also the files that this patch is touching).

Great patch though ... I'll patiently wait for the update :).
[Nexus 7 Android Development] rubenyai:
D= Thanks! You save me xDDD

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] acidspider:
Working fine on 4.2.1 here
[Nexus 7 Android Development] brGabriel:
What ROM are you using?
[Nexus 7 Android Development] ro_explorer:
Pure stock, odexed, rooted.

By looking in the 4.2.1 update I see that the updater script is checking and patching both files modified for true tablet UI. So, By applying the *.odex files in the current mod, it will overwrite the original 4.2.1 patched files, making them somehow incompatible => bootloop. By flashing back the *.odex files from the original 4.2.1 everything is working again.
[Nexus 7 Android Development] acidspider:
Stock rooted deodexed by scrosler
[Nexus 7 Android Development] norcal61:
I tried the newest patch w/ clean ROM 4.2 and didn't work. I tried both odexed and de-odexed. Stuck in boot loop on both. I was able to flash the stock odex ui flash to get back to where I was.

Sent from my Nexus 7 using Xparent Green Tapatalk 2
[Nexus 7 Android Development] Patroy:
New packages stiil doesn't change ui on 160 dpi :(
[Nexus 7 Android Development] dcooterfrog:
but if you flash back the original odex files do you still have table mode? or are you just able to boot.
[Nexus 7 Android Development] milkk:
Latest works on CleanROM 3 running M-Kernel+ a16 446/700 with no issues so far. :)
[Nexus 7 Android Development] ro_explorer:
If I flash back the original odex files from 4.2.1 rom then yes, everything is fine again. If I flash the 4.2 files it is not working.

My method: copy the original odex files (from your current 4.2.1 rom) and replace the ones in the original cwm zip file. In this way you can revert back to 4.2.1 files.
[Nexus 7 Android Development] Sultan.Alkhuzaie:
for those who will make a tablet ui for android 4.2.1 here is an idea

https://plus.google.com/100509240627966102530/posts/3EaEKivX8f5
[Nexus 7 Android Development] andTab:
So is there a tablet ui for 4.2.1 (stock deodexed)?

There are a lot of contradictory posts in this thread ...
[Nexus 7 Android Development] lagoskon:
Succesful Tablet UI with CleanRom v3.0 ( 4.2.1)

Steps. (flashed from rasbeanjelly 4.2.1)

1. Enter CWM

2. Full wipe /data

3. Clear cache

4. Clear Dalvik cache ( advance menu)

5. Install zip Clean Rom v3.0 ( choose your options)

6. Install zip 4.2TabletUI de-odexed ( v2 , not the ones in page 84 , 3-4 pages after those)

7. Clear Dalvik cache

8. Reboot

Nexus 7 rebboted in tablet UI perfectly

Enjoy. :cyclops:

Press Thanks if you think I helped . Thanks
[Nexus 7 Android Development] brGabriel:
The post he's referring to for the TabletUI file is here and I can confirm it works on CleanROM 3.0 (4.2.1)
[Nexus 7 Android Development] ro_explorer:
So, apparently the patch for 4.2 is working on 4.2.1 but only for the deodexed roms. The odexed ones need to have the .odex files recompiled.
[Nexus 7 Android Development] nilezon:
Works great. Waiting for odexed 4.2.1 now ... pretty please?
[Nexus 7 Android Development] rubenyai:
Me too :)

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] bmakk2055:
Does this work on cm10 4.1.2 nightly? (The newer ones)

---------- Post added at 07:24 PM ---------- Previous post was at 07:24 PM ----------

Is it like the PA rom?
[Nexus 7 Android Development] andTab:
Thanks but I was asking for a patch for STOCK 4.2.1 (deodexed) so that I don't have to install some other ROM and wipe the device.

which files are you referring to? I see none in the OP for 4.2 ...

And can someone confirm that this works?
[Nexus 7 Android Development] brGabriel:
The post he's referring to for the TabletUI file is here

I don't see why the zip wouldn't work for you on stock. CleanRom is deodexed and based on stock 4.2.1
[Nexus 7 Android Development] lagoskon:
Begin from Step 6 if you don't want to flash another rom. But your combination is not tested to working by me . Give it a try .
[Nexus 7 Android Development] nava88:
So, if I stay in official stock 4.2.1 I can active the UI interface??
[Nexus 7 Android Development] ro_explorer:
On official ODEXED (like pure stock) it will NOT work.

On official 4.2.1, deodexed version, the latest mod is working fine (with the bug that long pressing home in landscape will trigger a weird behavior of the google now button)
[Nexus 7 Android Development] Patroy:
Please someone to make it work with 160 dpi
[Nexus 7 Android Development] SUer:
Just install Paranoid Android, it has Tablet UI, Phablet, DPI settings and is running most of CM10.1 (4.2.1). It's very smooth indeed and hugely smoother than stock already. Look in the Nexus 7 Original Development Thread. It's very stable and great daily driver.

http://xdaforums.com/showthread.php?t=1800268
[Nexus 7 Android Development] Alesh:
Is it possible to flash official 4.2 on 4.2.1 without wipe? If it is, can you tell me how please?
[Nexus 7 Android Development] rubenyai:
I miss this =(, don't works in odexed version 4.2.1... falls in bootloop..

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] Rsotbiemrptson:
4.2.1 Patches

Hello,

Here are the patches for 4.2.1.

Rsotbiemrptson
[Nexus 7 Android Development] rubenyai:
Uhmm

4.2.1-TabletUI: falls in bootloop in nexus 7 android 4.2.1 stock odexed

4.2.1-StockUI: Works fine
[Nexus 7 Android Development] acidspider:
Will these work At lower dpi's?
[Nexus 7 Android Development] Mtman1:
Notice how it says deodexed NOT odexed....
[Nexus 7 Android Development] rubenyai:
He removed the links...

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] redrol:
OO nice, Winning would be 4.2.1 odexed:D as well
[Nexus 7 Android Development] Rsotbiemrptson:
4.2.1

Hello,

Odexed version is now fixed. Sorry about that.

Rsotbiemrptson
[Nexus 7 Android Development] opz187:
Are the homescreens and app drawer layout still messed up with these?
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

Yes, unless someone makes a modified launcher. I just use a third party launcher.

Rsotbiemrptson
[Nexus 7 Android Development] kingofcomedy:
4.2.1-TabletUI.zip is working fine, thanks.
[Nexus 7 Android Development] Postmonkeh:
is there a fix for the google now icon appearing in the middle instead of above the softbutton that's being swiped?
[Nexus 7 Android Development] rubenyai:
Works fine odexed, but persist the problem with google now

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] PhilDX:
has anyone tried this mod on a Nexus 10? if so, did it work? :)
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

I'm not sure how to fix that. I am porting the mod from previous versions and the bug wasn't there before. Maybe some with greater smali skills can take a look and see if they can figure it out.

Rsotbiemrptson
[Nexus 7 Android Development] yi3o8:
Thank you for this link, appreciate it.
[Nexus 7 Android Development] wxdjs:
hope to nexus 3g 4.2.1 stock
[Nexus 7 Android Development] imTigger:
Seems not working on 3g.

4.2.1-TabletUI.zip after flash, stuck at boot animation forever.

4.2.1-StockUI.zip same situation.

Dalvik cache wiped, no change.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

They are for Wi-Fi only. I haven't had a chance to get the 3g versions yet.

Rsotbiemrptson
[Nexus 7 Android Development] Kamy:
Thanks for sharing. I ll give a try
[Nexus 7 Android Development] Osiris19:
Is there anyone to keep the notification bar the way it is with this mood?
[Nexus 7 Android Development] Patroy:
Is there any way to get status bar clock a little bigger?
[Nexus 7 Android Development] Revin:
Last zip is working fine, however I can't use any other DPI then 213 or it will switch back to phone ui for some reason.

And the clock and battery icons should be little bit bigger.
[Nexus 7 Android Development] desaturated:
Is this patch still working? Seems not update for long
[Nexus 7 Android Development] kingofcomedy:
Yes, working fine with 4.2.1.
[Nexus 7 Android Development] pmauzao:
I can't make this work on cm-10.1-20121212.0802-SKANKY-grouper.zip...

4.2.1-TabletUI-Deodexed doesn't boot

4.2.1-TabletUI boot but nothing changes, no Tablet UI :(

Anyone can help me, please?

What are the 4.2.1 ROM compatible with this patch?
[Nexus 7 Android Development] domg73:
The stock one!