yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] z1gackly:
Well assuming you in the branch where you want to add one of them in your local project (e.g. on a branch in frameworks/base), you can use something like this:

git remote add zigackly https://github.com/zigackly/android_frameworks_base.git

That will add my repository as a remote repository for your local one. Then you can use:

git fetch zigackly

That will pull down my commits into your git repository, but not add them to any branches. Then for this commit, for example:

https://github.com/zigackly/android_frameworks_base/commit/46608668d017b5cd74f7559ab18f5089f2b2a253

You can see the commit reference is 46608668d017b5cd74f7559ab18f5089f2b2a253, so you can use:

git cherry-pick 46608668d017b5cd74f7559ab18f5089f2b2a253

That should add my commit to your local branch.
[Nexus 7 Android Development] sahshah:
Hey I am on 4.1.2 CM10. Will this patch stillwork ?
[Nexus 7 Android Development] z1gackly:
Latest CM10 with Tablet UI now available here:

http://goo.im/devs/zigackly/roms/grouper/tablet_ui/cm-10-20121011-ZIGACKLY-grouper-TabletUI.zip

This is a full CM10 ROM with JZO54K binaries, built from hot off the press CM10 4.1.2 source code, with my Tablet UI changes built in.

Also including goomanager notification hooks.

I am just about to use this to make a patch for the latest CM10 nightly, 20121012.
[Nexus 7 Android Development] sahshah:
z1gackly I have flashed cm-10-20121011-EXPERIMENTAL-grouper-M2 and need only the patch. Is there only patch which I can flash to get tablet ui?
[Nexus 7 Android Development] z1gackly:
I'm not uploading my CM10 tablet ui patch because there are issues with the latest CM10 nightly and the Tablet UI changes. First, the scroll glow is still orange instead of holo default, and second there is a message every few seconds saying shell has been denied superuser permissions.

I am almost 98% sure this is not a problem with my patch, because my changes work perfectly well with my own build which is 100% up to date with CM10 source, but until these problems are resolved in the CM10 nightlies I don't think the nightly plus patch is a good user experience.

I would recommend anyone wanting CM10 with Tablet UI to use my ROMs instead.

---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------

You can use my 20121011 patch from http://goo.im/devs/zigackly/patches/grouper/tablet_ui if you wish, but you may see strange orange visual artefacts because I don't believe the official CM10 builds are being built from the official source tree, or there is some unexplained resource id conflict with my build anyway which uses the latest official source.

I would recommend using the ROM I have built today instead. That is more up to date and also contains the latest binaries.
[Nexus 7 Android Development] Chapi:
Wifi does not work for me in your last build :confused:
[Nexus 7 Android Development] z1gackly:
You will need to do a factory reset and clear the caches. This is a new android version, with a new kernel and new binaries.
[Nexus 7 Android Development] Chapi:
Ok, thanks. I maintain M2+patch for now
[Nexus 7 Android Development] Luda305:
Is the stock rom tabletui patch for 4.1.2 working yet or is it still off centered.?
[Nexus 7 Android Development] ridearoundsolo:
Would this work on rasbeanjelly aosp 4.1.2?
[Nexus 7 Android Development] cmason37:
Is there any way to do this without editing source code?
[Nexus 7 Android Development] z1gackly:
This was actually my fault; I dropped the wrong file. Sorry for my mistake.

Use the 20121012 version.

I'm not sure what you mean.
[Nexus 7 Android Development] Lobsterbob:
what to do?

So i installed the stock 4.1.1 a while ago, deodexed it and installed this patch on my Nexus 7. It works like a charm. Now I want to upgrade to 4.1.2. What to do? Where do i start?

I cant install the OTA update (error message). Should I first go back to factory settings? and then update? What then? deodex and find patch?

Not sure what to do.:silly:
[Nexus 7 Android Development] Vorbeth:
Working great here, Just use the patched Launcher2 a few posts below it
[Nexus 7 Android Development] z1gackly:
New patch 20121013 confirmed working with nightly build 20121012. However, I have had to roll back the extended desktop functionality temporarily as that was causing the scroll glow problem. I think I know how to fix it, but it will be later today as I'm going to spend some time with my family now :)

My apologies for all the little glitches in the last couple of days. Been busy trying to make the android 4.1.2 changes work on two devices with quite different problems. I'm still not 100% there but I'm learning, and that's half the point of this exercise for me.

New patch is here:

http://goo.im/devs/zigackly/patches/grouper/tablet_ui/CM10_TabletUI_20121013.zip
[Nexus 7 Android Development] MacTheRipperr:
I am running the new stock 4..1.2. Jzo54k will this patch work?
[Nexus 7 Android Development] buddahlou:
Hey Z1 thanks a million times for this :).

Your full ROM build my APEX launcher looks all funky and the stock launcher isn't rotating I even checked the auto rotate box within the settings?
[Nexus 7 Android Development] rubenyai:
Take! is the odexed version, this works for me, i'm in stock 4.1.2

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Android Development] z1gackly:
Yeah, seems to be a problem with the accelerometer binaries not being picked up, or landing in the wrong place with my full 4.1.2 build. I'm working on that today.

At the moment, I think the best combination is the official 20121012 nightly CM build with my 20121013 patch.

I will get the full builds working again. Teething oroblems with 4.1.2 ;)
[Nexus 7 Android Development] z1gackly:
My CM10 build with Tablet-UI is now working fully, as far as I can see.

Tablet UI features are:

Full tablet interface with no DPI change.

Modified Trebuchet launcher for Tablet UI.

Notification Drawer settings in System Settings.

Expand Desktop power menu option, toggled from System Power Menu Settings.

Otherwise it's pure CM10.

Get it here: http://goo.im/devs/zigackly/roms/grouper/tablet_ui/cm-10-20121013-ZIGACKLY-grouper-TabletUI.zip
[Nexus 7 Android Development] cmason37:
I mean I want to do the edits in post 1 but I don't know how to edit source code.
[Nexus 7 Android Development] z1gackly:
In that case you would probably be better off using one of the patches on offer.
[Nexus 7 Android Development] cmason37:
I can't cause I don't have a Nexus 7 yet. What I'm actually trying to do is get the phablet/tablet ui on my phone without changing dpi.
[Nexus 7 Android Development] Nark.GA60:
Is the Paranoid Android ROM available for your phone?
[Nexus 7 Android Development] liamR:
Will this (The True Tablet UI) work on the DEODEXED ASOP 4.1.2 ?

Thanks :good:
[Nexus 7 Android Development] z1gackly:
No, my patch is for CyanogenMod 10.

You will need Rsotbiemrptson's patch from this post (click on the arrow):
[Nexus 7 Android Development] krazeecracker:
Just found my new ROM ;)
[Nexus 7 Android Development] Nark.GA60:
You want this.

http://xdaforums.com/showthread.php?p=32706302
[Nexus 7 Android Development] cmason37:
No.
[Nexus 7 Android Development] z1gackly:
Which phone do you have? Is CyanogenMod 10 available for it, or does it have an active developer community here on xda forums?
[Nexus 7 Android Development] cmason37:
The Samsung Galaxy Exhibit 4G. Yes it has CM10 and an active dev community.
[Nexus 7 Android Development] z1gackly:
With respect, I wonder if you're asking in the wrong place then. If devs in your community are building CM10 for that phone, it would be a simple thing for them to make a patch, but for me it would mean trying to get hold of the binaries, understanding the idiosyncracies of the device, and building cold without any ability to test my work. If anyone wants to build a patch for that device, I freely share my work and would be happy to help them with incorporating my commits into a branch in their source tree.

---------- Post added at 02:57 PM ---------- Previous post was at 02:36 PM ----------

Full CM10 TabUI 20121014 build now available in http://goo.im/devs/zigackly/roms/grouper/tablet_ui

Been lots of regular CM10 stuff merged since the last build. No new TabUI features.

There seems little point in making a patch until we have a new CM10 nightly to test it on.
[Nexus 7 Android Development] k.electron:
very nice. thank you for making it clear for gitnoobs.

when i originally download the repo from cm10, how do i get the exact code base they used for m2?

im using

repo init -u git://github.com/CyanogenMod/android.git -b jellybean to get the jellybean sources, but i dont think thats m2, i think thats what it is right now.
[Nexus 7 Android Development] z1gackly:
Unfortunately they don't appear to create branches for minor releases, so unless you were lucky to get a snapshot at the exact time they released it, you can't do that.
[Nexus 7 Android Development] krazeecracker:
Newest glazed ROM is based on cm10. Safe to say this will work?
[Nexus 7 Android Development] z1gackly:
I doubt it, since each patch doesn't even work for more than one or two nightlies at a time before there is a frameworks change. If you make a nandroid backup and give it a try, you might get lucky though, and if it doesn't work just restore the backup.
[Nexus 7 Android Development] z1gackly:
To avoid confusion, I have started a new thread for the CM10 kang I'm maintaining with Tablet UI built in. I will continue to make patches available from the link given in the OP.
[Nexus 7 Android Development] blackhand1001:
What about a patch that just switches the status bar to tablet but leaves the apps in phablet mode.
[Nexus 7 Android Development] z1gackly:
I answered that in detail in my ROM thread. If I make it and it's a feature that can work with a patch, I would certainly put it in the patch.
[Nexus 7 Android Development] k.electron:
ah.

again from my cvs background, one can get a snapshot by putting in a certain date. do you know if git has similar functionality.
[Nexus 7 Android Development] z1gackly:
No, but I don't know that it doesn't either. I suspect from the way it works that it would be about finding where the HEAD was at a particular date and time in each project and then rebasing them all to that point, though. If we could determine when the build was started, it could be done manually with a little time and effort. I assume one could also write a script to parse the git logs and do it. If it doesn't exist, then it should.
[Nexus 7 Android Development] taffypride:
will this be updated to support Stock Deodexed JZO54K roms? At the moment, I have tablet ui but with a 170dpi setting....
[Nexus 7 Android Development] stellarvelocity:
---------- Post added at 03:32 AM ---------- Previous post was at 03:18 AM ----------

[/COLOR]

Awesome can we get the OP to update with this (and all 4.1.2 version)?
[Nexus 7 Android Development] taffypride:
ta for the link. just deodexed my stock rom, so shouldn't be an issue deodexing the patch.....
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

There is already a Deodexed version made. http://xdaforums.com/showpost.php?p=32706302&postcount=719

Rsotbiemrptson
[Nexus 7 Android Development] taffypride:
Ta...much appreciated :)
[Nexus 7 Android Development] oliverano:
One question. Can i simply update my tabelt with the ota. The notification annoys me.

Thx :)
[Nexus 7 Android Development] z1gackly:
New CM10 patch uploaded, tested on the 20121017 nightly. Patches do not include the expand desktop power menu toggle or clear all recent apps button featured in my CM10 with Tablet UI ROMs.
[Nexus 7 Android Development] oliverano:
My screenis all mest up.
[Nexus 7 Android Development] z1gackly:
Use the patched Launcher2 or the patched Trebuchet, or download a third party launcher like Nova or Apex.
[Nexus 7 Android Development] GoTxO:
Hi guys

Dont work on 4.1.2 deodexed.... everytime on boot.

Any solution?
[Nexus 7 Android Development] oliverano:
I replaced the lancher2.apk from system/app with the pached one and now I'm stuck at the x. how con I solve that?
[Nexus 7 Android Development] powerpoint45:
Thank you so much for this. I followed the steps on modifying the different classes and it worked on the kindle fire!!!
[Nexus 7 Android Development] stevvveo:
A little off topic, but where did you get the wallpaper that's in your screenshots. Did you make it/find it yourself, or was it part of a theme package? It's quite nice. :)
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

This was already answered by him.http://xdaforums.com/showpost.php?p=29401655&postcount=280

A quick search would have been easier then making a new post.

Rsotbiemrptson
[Nexus 7 Android Development] Saint Wacko:
I'm having a few issues with the patched launchers. Launcher2.apk force closes immediately, and Trebuchet.apk force closes when I try to add a widget. What could be causing this?
[Nexus 7 Android Development] z1gackly:
Which ROM are you using them with?
[Nexus 7 Android Development] Saint Wacko:
Stock 4.1.2.
[Nexus 7 Android Development] DroidHam:
How is this different from changing the lcd density to 175?
[Nexus 7 Android Development] Yue Fairchild:
It makes everything smooshed-up and tiny because you're tricking the tablet into thinking it's a 10.1 inch screen. This retains the original proportions while giving you a tablet UI.
[Nexus 7 Android Development] barrmulio:
this keeps the stock density of 213 and allows users to select which ui they want, so won't shrink fonts/text/image sizes/etc
[Nexus 7 Android Development] Jiggavolt:
Looks good, I like the size of the bottom bar at 213 DPI. Will the "full" tablet UI be possible with this modification? With the different search and app drawer, and no bottom launcher? Like this:
[Nexus 7 Android Development] barrmulio:
excellent work!
[Nexus 7 Android Development] neilrl79:
Awesome! Can't wait!
[Nexus 7 Android Development] barrmulio:
yes this is full tablet ui, including the changes in how apps display (eg settings will be dual pane)
[Nexus 7 Android Development] DroidHam:
when when when

im tired of my 7 looking like my phone
[Nexus 7 Android Development] barrmulio:
every time someone asks we'll delay release by a day

j/k...
[Nexus 7 Android Development] redmonke255:
This is amazing, you guys rock.
[Nexus 7 Android Development] wildklymr:
From this screenshot this is still some sort of hybrid mode. Unless that's a launcher other than the stock one.
[Nexus 7 Android Development] theoneofgod:
That would sorta defeat the whole point of the project?
[Nexus 7 Android Development] wildklymr:
I was just pointing out that the screenshot aaronpoweruser posted, while great work, still seems to be hybrid mode with the tablet navigation bar.
[Nexus 7 Android Development] redmonke255:
One step at a time. Tablet launcher is already possible with launchers, it's the UI that they're working on first.
[Nexus 7 Android Development] redmonke255:
While I applaud your observations, what I said still applies.
[Nexus 7 Android Development] Nexcellent:
So cool :good:
[Nexus 7 Android Development] SS2006:
hah but realistically, is this looking possible, anytime soon
[Nexus 7 Android Development] DroidHam:
How did you guys move your power control widget?
[Nexus 7 Android Development] wildklymr:
I thought ui stood for user interface. And thought that phone dock on the bottom of the launcher was part of the phablet ui. My bad mister master of the universe. I tremble with fear before your massive intellect.
[Nexus 7 Android Development] z1gackly:
I guess the problem for both of you is that Rsotbiemrptson's patch for Android 4.1.2 did not include a patched Launcher2, and as far as I know, no-one has produced a 4.1.2 one yet. You can try extracting the patched Trebuchet from my latest CM10 patch, but if that doesn't work then you will have to use a third party launcher such as Nova.
[Nexus 7 Android Development] Saint Wacko:
That's odd... I downloaded a patched Launcher2 and Trebuchet, but now I can't figure out where I got them. I wonder if I wandered into another thread without noticing. Is that goo.im link the only source for your CM10 patch? It is excruciatingly slow.

Edit: Hmm, the CM10 one still crashes when I add a widget.
[Nexus 7 Android Development] z1gackly:
Goo.im is slow when there are a lot of people using it, I'm afraid.

If the latest one is crashing, then I think you've no choice but to use a third party launcher. The good news is that they work very well and offer a lot of extra features over stock. Some people have reported issues with Apex on tablet UI, so why not give Nova a try? It's free to download from the play store.
[Nexus 7 Android Development] Saint Wacko:
That's what I have running now. Do you know when Launcher2 might be updated to work with tablet mode in 4.1.2? I'm actually trying to keep my N7 as close to stock as I can, excepting necessaries such as tablet mode, root, and busybox.
[Nexus 7 Android Development] z1gackly:
No idea sorry; it would need someone developing for AOSP to take an interest, and I have the wrong codebase I'm afraid.
[Nexus 7 Android Development] powerpoint45:
Hey people, I was wondering if y'all have ran into any of the following problems. When I change :

/////////////////////////////////////

MHASSYSTEMNAVBAR=true;

MNAVIGATIONCANMOVE=false;

/////////////////////////////////////

Inside of PhoneWindowManager.java and:

/////////////////////////////////////

outconfig.smallestScreenWidthDp =720;

////////////////////////////////////

Inside of WindowManagerService.java to get it to use tablet mode, I get a few problems:

(1).Inside of settinge>system>notification drawer>widget buttons, I get phone mode settings. It has buttons that are not available for tablet mode so it wont change the notification drawer at all because it thinks it is in phone mode.

(2).USB mass storage is not popping up when connected(only happens when forced into tablet mode)

if you have encountered these problems or know what to do please help me out. Thanks.
[Nexus 7 Android Development] z1gackly:
Which code base are you building for? I have solved issue 1 for CM10, but I have not encountered issue 2.
[Nexus 7 Android Development] powerpoint45:
CM10

---------- Post added at 12:55 AM ---------- Previous post was at 12:29 AM ----------

Ahhh haaaa. I think i found it. I will make some mods and tell u how it goes....i am sleepy right now as it it 12:54 but once i get it built(whenever that is) I will be sure to tell you if it worked. Thanks.
[Nexus 7 Android Development] Saint Wacko:
Ah, okay. Well, thanks for the patch. Keep up the good work!
[Nexus 7 Android Development] powerpoint45:
So no one knows why usb mass storage will not pop up when in tablet mode?
[Nexus 7 Android Development] z1gackly:
Do you mean when you connect the tablet to your PC? I'm assuming you have enabled "Android Debugging" under Settings->Developer options, so if that's the case then it seems to work for me :(
[Nexus 7 Android Development] powerpoint45:
Yes I have that enabled.any other ideas
[Nexus 7 Android Development] z1gackly:
Switch to PTP from Settings->Storage->Menu->USB composite connection. If you're on PTP, switch to MTP.
[Nexus 7 Android Development] powerpoint45:
I have tried them all.Its weired because when I am in phone mode I have no problem. It is only when I use tablet mode. Any other ideas
[Nexus 7 Android Development] powerpoint45:
Tip:

grep "Utils.isTablet" /home/michael/CM10
[Nexus 7 Android Development] z1gackly:
Won't do me any good looking in your directory structure; mine is different ;)

Yeah, I've been thinking about changing that function for neatness, but I haven't yet investigated all of the side effects. I'm getting much more of a handle on tablet UI at the moment; might have a nice surprise or two in my next CM10 patch when I have a stable release.

Going to be doing some alpha testing over the next few days, in addition to the beta changes in my CM10 Tablet UI kang.
[Nexus 7 Android Development] xxlikquidxx:
hi guys, i just install the Tablet UI patch for stock odexed version from post # 514. Everything works fine, except that now I dont have any label for my apps in the drawer. I'm using Apex Launcher Pro btw. When i switch to stock launcher, the app drawer does have label however. Do you think it might be Apex that is causing the problem?
[Nexus 7 Android Development] milkobgd:
When I do this and wipe cache and dalvik do I loose everything on my tablet or not?

And, is this version of tablet ui with smaller dpi or 213?

Thanks.
[Nexus 7 Android Development] z1gackly:
If you do a factory reset, you will lose your apps but not your personal data, but you should not need to do that.

Wiping cache and dalvik loses you nothing, but makes a slower boot next time.

This Tablet UI patch will retain your stock DPI of 213.

One thing to be careful of is that you flash the right patch for your ROM. There is a 4.1.1 version and a 4.1.2 version.
[Nexus 7 Android Development] milkobgd:
I'm on stock 4.1.2. Are those two links ok for my version of fw?
[Nexus 7 Android Development] z1gackly:
No, you will want these:

http://xdaforums.com/showpost.php?p=32706302&postcount=719
[Nexus 7 Android Development] milkobgd:
Thanks wery much.

Wait, my rom is stock, and so it is odex? Then those 2 files fit for my rom or...
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

These are the files you want for stock 4.1.2.

http://xdaforums.com/showpost.php?p=32634747&postcount=676

Rsotbiemrptson
[Nexus 7 Android Development] ncguy68:
Is it possible to have tablet UI only for the status bar and not for apps? Tablet UI does not work well with some of my apps.
[Nexus 7 Android Development] milkobgd:
Thanks
[Nexus 7 Android Development] z1gackly:
It's something I've been experimenting with, but SystemUI seems to be missing some of the resources it needs to display on mdpi devices with a combined navbar/sysbar. I know some other ROMs have solved this, so I'll be working on it, but unless you can get someone from one of those teams to answer this, then the answer is not yet.
[Nexus 7 Android Development] z1gackly:
20121027 CM10 patch features switchable Tablet UI.

To toggle Tablet UI on or off go to Settings->System->Status bar and check or uncheck Tablet UI, then reboot.
[Nexus 7 Android Development] z1gackly:
Expanded desktop functionality has now been exported into CM10. Build 20121030 of my CM10 patch features:

Tablet UI mods without DPI change by Barrmulio.

Modified Trebuchet launcher based on Barrmulio's modified Launcher2.

Full settings compatibility with CM10 tablet settings.

Tablet UI is switchable without a reboot: enjoy Tablet and Phablet UI in the same session.
[Nexus 7 Android Development] oldlight:
What's that Yellow stripe when scroll-down at the end of a list in Settings?

:D
[Nexus 7 Android Development] z1gackly:
If you're seeing that then it's a resource ID conflict, but I didn't see it in testing. Are you patching the latest nightly build?
[Nexus 7 Android Development] oldlight:
I change default background image only :(
[Nexus 7 Android Development] z1gackly:
With your own build? That explains it. Guess I will have to write the guide I promised you, so you can use my commits in your build :)
[Nexus 7 Android Development] oldlight:
Thank you for your help. By the way, last build in 27/10/2012 does not have this resource ID error.
[Nexus 7 Android Development] z1gackly:
I've just checked again, and the patch is definitely compatible with the 20121030 nightly CM10 build.
[Nexus 7 Android Development] oldlight:
Yes, I found it no problem applying to latest nightly. Thank you!
[Nexus 7 Android Development] taymo:
Does anyone know if this is compatible with Randomblames CM10 Jellytime build?
[Nexus 7 Android Development] pricematthew4143:
4.2 Launcher

Hi thanks for the great work on the Tablet UI any chance we can get the launcher from 4.2 patched also thanks

http://d-h.st/hRk

sorry tried to upload but keep getting a failur
[Nexus 7 Android Development] oldlight:
Hi,

Where did you get that from? :D
[Nexus 7 Android Development] pricematthew4143:
From here http://xdaforums.com/showthread.php?t=1966825