yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] z1gackly:
Make a branch in git so you don't lose any of your commits, and then do a repo sync, so you can be sure you are working with the latest code base. Then apply my changes again and try a build. If that works, you can start cherry picking your existing commits into the new branch.
[Nexus 7 Android Development] oldlight:
Yes, I am trying to get used with git... Thank you.
[Nexus 7 Android Development] jamesst20:
What I've done is to edit CM10 files to include TabletUI, I didn't change anything related to CM10 functions or whatever.
[Nexus 7 Android Development] z1gackly:
So you've done half a job of hacking something, and on that basis you think you can belittle the efforts of those doing some real development?
[Nexus 7 Android Development] thunder9111:
Can someone do an easy explanation of what to do here?

I'm currently running it stock, unlocked, rooted, and changed dpi.

I want to change the dpi back, but have the task bar together on the bottom.

What is the simplest way to do this?

does the procedure in post 2 make me reset my whole tablet?
[Nexus 7 Android Development] z1gackly:
If you are running rooted stock, and can see JRO03D somewhere in Settings->About then you should be good to go with this:

http://xdaforums.com/showpost.php?p=31220509&postcount=514

It will not reset your whole tablet, but make a nandroid backup before you flash the zip file just in case something goes wrong.
[Nexus 7 Android Development] jamesst20:
Well I've done all the normal job. I didn't know Cyanogen Required extra **** to get it fine, on stock/aosp version it is alright.
[Nexus 7 Android Development] Luda305:
Will this work with the codenamesammy rom?
[Nexus 7 Android Development] z1gackly:
Yeah, the tablet ui changes break the launcher layout, and to access the right settings menu for the notification drawer you also need to make changes there. I've been developing those changes and I have some more I want to work on too, and it seemed to me you were being condescending without really reading the thread, but if that's not your intention then fair enough.

Doubt it.
[Nexus 7 Android Development] Luda305:
Any way u can get it to work for that rom? Would really appreciate it.
[Nexus 7 Android Development] timfimjim:
Would this work with Rasbeanjelly?

Thanks
[Nexus 7 Android Development] z1gackly:
I don't even know what that is! There's a chance if it is an extremely close variant of CM10.
[Nexus 7 Android Development] jamesst20:
That wasn't my intention :P this patch method works great on any rom I had tried :P and I also had tried it on CM10 before posting but I had not tested Trebuchet settings and stuff :)
[Nexus 7 Android Development] jm1981:
Hi,

The last discussion are about CM10, but for me, using the stock ROM, i would like to know if there was any problem known with this patch ?

Thanks
[Nexus 7 Android Development] z1gackly:
None that I know about, but make a backup before you try it. Use the odex version for stock.
[Nexus 7 Android Development] z1gackly:
New patch for CM10:

http://db.tt/xqA73UsF

This patch features the following:

Tablet UI mods by barrmulio with no DPI changes.

Modified Trebuchet launcher based on barrmulio's mods to Launcher2.

Notification Bar settings in CM System Settings, instead of Power Widget Settings.

Based on 03/10/2012 CM10 source and tested against nightly build 20121003.

Backup feature from Racer of all's flashable zip.

Tablet UI source code changes for CM10 are available here: https://github.com/zigackly in the tablet-ui branch.
[Nexus 7 Android Development] pclov3r:
Thanks to the both of you. Worked perfectly for me.
[Nexus 7 Android Development] nextelbuddy:
guessing this doesn't work with JRO03S. I was on JRO03D and used this MOD with no problem.

flashed JRO03S and then flashed this MOD and it just sits at the boot animation indefinitely.
[Nexus 7 Android Development] jm1981:
The odex version is this one ?
[Nexus 7 Android Development] kaizvn:
is it display "CM updater" in about yet?

I've got CM updater error at the moment with new build 20120410
[Nexus 7 Android Development] z1gackly:
This is a patch to force CM into Tablet mode. It has nothing to do with CM Updater.

I'm just downloading today's CM build now for testing though, and will create another patch if required :)

Edit: confirmed working with CM nightly 20121004.
[Nexus 7 Android Development] kaizvn:
happy to hear it.
[Nexus 7 Android Development] z1gackly:
The patch still works with today's nightly CM build. However there looks like there is a separate problem with CM Updater. It's a new feature and there are changes and bugfixes happening for it daily at the moment. It's not caused by the Tablet UI patch.
[Nexus 7 Android Development] jm1981:
The build number of my Stock ROM is JRO03S.

Is the odex patch compatible ?
[Nexus 7 Android Development] kevinngck1:
Yeah... plz let JRO03S support plz:(
[Nexus 7 Android Development] z1gackly:
There hasn't been a source code release for JRO03S yet as far as I know, so to get a patch someone would have to reverse engineer it from the stock ROM using smali, like jamesst20 suggested earlier in the thread, however the launcher then would not work correctly either, so you would also need to use a third party launcher. It's not really something I'm very interested in doing to be honest; I want to do development work from the ground up, but hopefully someone else will have a go at it for you.
[Nexus 7 Android Development] Chapi:
Can you upload the file again? Dropbox says that the file is deleted or moved

Thx
[Nexus 7 Android Development] z1gackly:
Sorry about that, I've moved all my stuff to goo.im, and forgot to mention it!

My Tablet UI patches for CM10 will now live here:

http://goo.im/devs/zigackly/patches/grouper/tablet_ui

The patch from October 3rd is confirmed working with nightly 20121005 by the way.

Nightly 20121006 seems to be a bad upload on goo.im, so I can't test that, but I will make my own build shortly to test against.
[Nexus 7 Android Development] Chapi:
Thanks for the uploads , but Oct 03 patch makes Trebuchet FC in my cm10 121004 build:confused:
[Nexus 7 Android Development] z1gackly:
Interesting. Did you try wiping cache and dalvik cache after install before rebooting? You might need to wipe Trebuchet data too, because the patch installs a modified version.

I only test this with a clean install, because I don't use CM10 as a daily driver on the N7.
[Nexus 7 Android Development] Chapi:
Right!Trebuchet data wiped and now works great.Nice job!The next step is make smaller software keys nav bar
[Nexus 7 Android Development] z1gackly:
New CM10 Tablet UI patch uploaded to http://goo.im/devs/zigackly/patches/grouper/tablet_ui

This patch features the following:

Tablet UI framework mods by barrmulio with no DPI changes.

Modified Trebuchet launcher based on barrmulio's mods to Launcher2.

Notification Bar settings in CM System Settings, instead of Power Widget Settings.

Expand desktop power menu option, toggled from Settings.

Based on 08/10/2012 CM10 source and tested against CM10 nightly 20121008.

Backup feature from Racer of all's flashable zip.

The big improvement in this build is the ability to enable a power menu option to disable the navigation and system bars at the top and bottom of the screen, for gaming and watching video.
[Nexus 7 Android Development] kaizvn:
how about CM updater?
[Nexus 7 Android Development] alershka:
Installed the latest patch and today's CM10 nightly this morning. The top of the notification drawer is now light gray with dark gray letters. It was not like this in the previous patch and it is difficult to read. Any fix?
[Nexus 7 Android Development] z1gackly:
I noticed that testing it. Notifications also have a light blue background when they first appear in the status area. I'm almost 100% sure it's not connected to changes I have made though, because I don't touch the colour scheme, so it must be a CM10 thing. I'll have a dig to see if I can change it back when I get time, but I'm reluctant to mess around with the CM10 experience with this patch. If I find a fix, I might start releasing my own CM10 kang though. I already build one for myself with some other tweaks.
[Nexus 7 Android Development] z1gackly:
CM Updater comes with CM10, my patch flashes on top of CM10. It updates the settings app, but it's built from the latest source. Should work fine :)
[Nexus 7 Android Development] z1gackly:
Fixed in the latest patch: http://goo.im/devs/zigackly/patches/grouper/tablet_ui/CM10_TabletUI_20121009.zip

I really have no idea at this point what the CM10 maintainer for the Nexus 7 is doing, but those strange colours do not come from official CM10 source code, because that's what I build from, and they are not present in my ROM.
[Nexus 7 Android Development] basshamster:
So the ROM that shows up here is pure CM or tweaked CM with tablet mode included?
[Nexus 7 Android Development] z1gackly:
That was uploaded by mistake, I'm not looking to release a kang for Nexus 7 at this point. I'm still working on some of the finer points of my own tweaks.

I'm just about to go to work. If you want a pure CM10 build from official source, I can whip something up in about eight hours time.
[Nexus 7 Android Development] basshamster:
Pure CM with tablet mode included would be great! :)

But i can live with nightlies + patch too ... ;)
[Nexus 7 Android Development] z1gackly:
You got it.

As well as my usual patches, I will put pure CM10 ROMS with Tablet UI in here in future:

http://goo.im/devs/zigackly/roms/grouper/tablet-ui
[Nexus 7 Android Development] basshamster:
Thx a lot! Downloading right now... :)

Gesendet von meinem Nexus 7 mit Tapatalk 2
[Nexus 7 Android Development] pclov3r:
There was a 4.1.2 Update to the stock ROM.

Can you provide an updated patch for this?
[Nexus 7 Android Development] FreudsCAT:
+1
[Nexus 7 Android Development] warriorofice:
Somebody has installed the 4.1.2 update via CWM having this patch?
[Nexus 7 Android Development] wiiplayer94:
wouldn't it be a good idea if you make a own thread for those cm10 tablet ui roms? i think taht many people would be pretty interested in these
[Nexus 7 Android Development] oldlight:
I did, but it failed to boot first time. I installed the ROM without it, and it booted, but without WiFi...

Waiting for CM10 to update fully to 4.1.2...
[Nexus 7 Android Development] Rsotbiemrptson:
Stock 4.1.2 patch

Hello,

Here is a patch for the new 4.1.2. It is an Odexed version because there are no Deodexed roms out now. Flash in recovery, wipe cache and dalvik.

Rsotbiemrptson
[Nexus 7 Android Development] indbeegee:
Works. But homescreens dont fit in display. Icons and widgets partially out of screen.
[Nexus 7 Android Development] z1gackly:
Either the stock launcher needs to be patched or you need a third party launcher.

Try this patched version of Trebuchet: http://db.tt/i7dt7Qrl

I suppose it couldn't hurt.
[Nexus 7 Android Development] Nark.GA60:
And here's the patched Launcher2.

http://db.tt/8TVAquav
[Nexus 7 Android Development] _Raziel666:
@z1gackly: will there be a patch for todays M build? Thanks in advance! :)
[Nexus 7 Android Development] z1gackly:
I set it building today before I came in to work :)

Will upload in about 8 hours.
[Nexus 7 Android Development] _Raziel666:
Thanks, keep up the amazing work! :)
[Nexus 7 Android Development] norcal61:
I flashed this with 4.1.2 and I got nothing.
[Nexus 7 Android Development] kaizvn:
waiting for truetablet Patch for CM10 - M2
[Nexus 7 Android Development] indbeegee:
Going back to the 160 dpi method. Much easier and everything fits
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

Which rom are you, which flie did you flash and did you wipe cache and dalvik after. Also did you have any other modifications to your rom.

Rsotbiemrptson
[Nexus 7 Android Development] liebowa:
+1.

Recovery, factory reset, cleared cache, installed latest CM10 nightly (10-11), and the latest gapps. Cleared Dalvik.

Booted first time and went through Google login stuff.

Then I rebooted into recovery cleard cache and dalvik then installed this.

No change at all.

Any thing I missed?
[Nexus 7 Android Development] borgey:
Yeah, I have the same issue here. I flashed the latest CyanogenMod nightly build, logged into my google account and all that good stuff. Then I rebooted into recovery flashed the tablet ui patch and now I can't get past the boot ani.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

This patch is for stock Odexed 4.1.2 not CM10.

Rsotbiemrptson
[Nexus 7 Android Development] liebowa:
Well, that would explain it!

Someone should probably change the title of thread as it indicates CM10, and also fix the link to post 534, as that link on that post is dead.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

The title states that this thread is for both stock and CM10.

Rsotbiemrptson
[Nexus 7 Android Development] z1gackly:
The download link for CM10 patches is given in the second post in the thread: http://goo.im/devs/zigackly/patches/grouper/tablet_ui

I'm just about to test a patch for the latest CM10 source, so a patch for CM10 for Android 4.1.2 will be uploaded to my goo account shortly.

Thanks for your patience. As well as building these ROMs and patches for you, we also lead normal lives ;)

---------- Post added at 05:14 PM ---------- Previous post was at 04:22 PM ----------

Just in case anyone got the wrong end of the stick, I'm only kidding around with that last part by the way :)

I've made my patch for the latest CM10 source, but I'm not going to post it yet because there is an issue with wireless in my full build, and the CM10 nightlies for 20121010 and 20121011 both seem to be bad uploads on goo.im so I can't test against them.

I'm just downloading the EXPERIMENTAL M2 build now to see if any of my patches work with that. If so I will let you know.
[Nexus 7 Android Development] kaizvn:
we're looking for the CM10-M2 download link.
[Nexus 7 Android Development] jarari2:
What did you change?

I was waiting for your patch half a day ago, but since I couldn't bear the phablet UI, I made up for myself following guide on the first page.

It worked like charm, but since it looked too big for me, I changed dpi to 183.

The problem starts here. Before changing dpi, nothing was wrong, but after changing it, the play store became smaller on some screens.

How can I fix this problem?

P.s sorry for bad english...maybe my description isn't enough for you to understand, so I attached picture.
[Nexus 7 Android Development] z1gackly:
Download M2 using CM Updater, from Settings->About tablet->CyanogenMod updates

Latest tablet ui patch confirmed working with M2: http://goo.im/devs/zigackly/patches/grouper/tablet_ui

I've uploaded it ... should show up on goo any minute.

Are you using stock, de-odexed AOSP, or CM10?
[Nexus 7 Android Development] jarari2:
Oh, forgot to tell :silly:

I'm using CM 10 nightly build.
[Nexus 7 Android Development] z1gackly:
Ok, well I would recommend using my patches as I have made a lot more modifications than just the ones in the OP. I've modified the settings menu to be able to change the toggles in the notification drawer, modded trebuchet to work properly in portrait, and also added a power menu option to expand the desktop by hiding the navbar/sysbar, which you can switch on or off from the settings menu.

I've just tested changing the DPI in EXPERIMENTAL M2 with my patch installed to 183 though, and I get the same problem you are seeing. I guess Play Store is just not designed to work at that DPI.
[Nexus 7 Android Development] jarari2:
Of course!

I'm using your great patch. :D

I just asked you about that for temporary use, if there's no patch for new nightly.

Anyway, do you think free dpi patch will work? I used it a lot when changing my phone's dpi.
[Nexus 7 Android Development] kaizvn:
I mean that I wait for your patch work with m2 build.

but follow this post, is it 213dpi or 183?

is it make any sense with display?
[Nexus 7 Android Development] jarari2:
Ah, I have one more question.

Are you having problems with resource id right now? Because I'm having one, don't know what's causing it though.

Text seekbar, scroll glow are showing me wrong drawables.

---------- Post added at 02:26 AM ---------- Previous post was at 02:25 AM ----------

It works with M2, with any dpi.
[Nexus 7 Android Development] z1gackly:
Yes it works with M2. Personally I like the stock DPI, but you can change it if you like. Some apps may look funny like the play store if they are badly designed though.

Can you be a bit more specific? How could I reproduce the problem?
[Nexus 7 Android Development] jarari2:
This is really weird... do I have go back to 10/10 build?

---------- Post added at 02:47 AM ---------- Previous post was at 02:45 AM ----------

Maybe something went wrong during install? I'll flash zips again.

---------- Post added at 02:54 AM ---------- Previous post was at 02:47 AM ----------

Reflashing zips didn't help... and it seems I'm the only one having problem with resources!

---------- Post added at 03:00 AM ---------- Previous post was at 02:54 AM ----------

I'll try flashing without tablet UI patch...

I hope this is not the problem
[Nexus 7 Android Development] z1gackly:
No, I can see a similar problem with the scroll glow on M2 now, but I don't know what is in the M2 code base which isn't in mine to cause that. I'm repo synced to the latest commits and I don't have that problem with my own build. However, the wifi isn't working in my build so I can't release that. Problem is, CM10 for 4.1.2 is not exactly stable yet! I'll be working on this tonight and tomorrow, and I'll try to get something usable out ASAP.
[Nexus 7 Android Development] jarari2:
Without tablet UI, it shows me proper drawables...

May I ask what did you modify from framework-res.apk?
[Nexus 7 Android Development] kaizvn:
I've got that issue also.

one more problem : security pattern didn't work, quick unlock is not available.

force close.

check it out z1gackly
[Nexus 7 Android Development] jarari2:
Did I get it right? : the patch you released has problems with resource, and your own build has problems with wifi.

Anyway, I can wait, so take your time ;)
[Nexus 7 Android Development] z1gackly:
These are my only modifications to frameworks in my tablet-ui build branch:

https://github.com/zigackly/android_frameworks_base/commit/54feef188e646b04f83218c06ab35e38ff28a926

https://github.com/zigackly/android_frameworks_base/commit/e6b618d183eb38705d3e250b0aa9e47fcf59336f

Everything else is pure, unmodified, up to date CM10 source.

Hence why I said it must be something in the M2 code, but I can't see what branch that is built from on the CM10 github.

Try it without my patch. It shouldn't touch that.
[Nexus 7 Android Development] basshamster:
M2 + Patch + Francos Kernel is working great! THX Dude... :good:
[Nexus 7 Android Development] norcal61:
I'm running pure vanilla aosp 4.1.2 http://xdaforums.com/showthread.php?t=1930367

Yes I wiped the cache and dalvic, and I don't have any other mods on the ROM.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

That rom is Deodexed and the original patch I made is for an Odexed rom. You can try these and see is they work. I uploaded on the revert back to the original in case any issues occur.

Rsotbiemrptson
[Nexus 7 Android Development] norcal61:
Thank you very much for the updated zips! I really appreciate it. Before I got a chance to see these I went ahead and updated to the ota 4.1.2 when it was pushed to my device from Google a couple of hours ago. I have it up and running, re-rooted and your original patch for odexed 4.1.2 is working great with nova launcher. Now I'm wondering, since this is an odexed OS I want to go head and de-odex. Will it effect the tablet ui patch now that I already have it up and running if I de-odex?

Sent from my Nexus 7 using Xparent Green Tapatalk 2
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

If you Deodex the rom using the patched .odex files it should keep the patch intact and work after.

Rsotbiemrptson

Sent from my HTC One S
[Nexus 7 Android Development] barrmulio:
Rsotbiemrptson - thanks for putting this together..if cool with you I'll post to the op

Haven't had a chance to revert back to stock to take 4.1.2 yet and put a deodexeder/deodexed version out,but its likely someone else will beat me to the punch there
[Nexus 7 Android Development] barrmulio:
over the weekend i'll be revising the op to make everything a bit clearer, but at the time of writing this post, the versions out there are 4.1.1 both odexed (thx Rsotbiemrptson) and deodexed, and cm10 nightlies (thx z1gackly) and Rsotbiemrptson;s 4.1.2 odexed above

z1gackly - if you want to have a cm-only thread let me know and i'll redirect the op and links over there

i want to thank everyone for helping each other out and contributing while i was off the radar, havent had time to catch up on everything yet so if i missed any posts please pm me

if someone hasn't yet posted a deodexer for 4.1.2 and/or deodexed patch I'll try to post one over the weekend
[Nexus 7 Android Development] z1gackly:
I like the teamwork in this thread too :)

Thanks again for your original work!

I don't think we need to split it up, but making the thread clearer would help probably.

The additional features for the CM10 patch are:

Modified Trebuchet launcher

Modified settings menu to include notification drawer settings

Additional power menu option to expand desktop, configured from settings menu

CM10 Tablet UI Patch downloads: http://goo.im/devs/zigackly/patches/grouper/tablet_ui

Full CM10 ROM with built-in Tablet UI downloads: http://goo.im/devs/zigackly/roms/grouper/tablet_ui

My CM10 Tablet UI ROMs also include goomanager update notification hooks.

For everyone wanting CM10 with Tablet UI, I am working hard today on creating a working 4.1.2 build with Tablet UI, and will post here when I've got it working.
[Nexus 7 Android Development] noobhero:
that would be greatly appreciated.

(manual) deodexed stock.
[Nexus 7 Android Development] pclov3r:
Was having some issues so this is what I did to fix the problem.

Flashed the 4.1.1 odex patched and then flashed the 4.1.2 patch and it solved my issues.

If anybody else is having issues try flashing the 4.1.1 patch first and then the 4.1.2 patch and of course wipe dalvik cache and wipe the cache partition.

Thanks for the update :victory:
[Nexus 7 Android Development] k.electron:
a great find. would it be possible for OP to update the first post with the exact code fixes as in the latest research. i am trying to build my own cm 10 build for grouper with this baked in. (not for distribution, only for personal use - i am not stealing stuff without credit).

on post 1 it lists alpha 1, but it seems the actual releases have been past that.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

Though I would help out with that. Here is a Deodexed version for 4.1.2.

Rsotbiemrptson
[Nexus 7 Android Development] z1gackly:
It's not stealing if we freely share it :)

Here are the commits I use for CM10:

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

2 https://github.com/zigackly/android...mmit/876f0dcf3ce5d1b224f0d7ee87cbfa033f62d767

3 https://github.com/zigackly/android_frameworks_base/commit/cf0505dfdeb8823f9c6c0ee9e0bb6b880ae6b6b9

4 https://github.com/zigackly/android...mmit/b677defcb4e9e62cf309425041821daecafbe9b6

5 https://github.com/zigackly/android...mmit/f5192c7978fb968129c27f11d7d173ffaff78522

1: Tablet UI Interface changes based on barrmulio's OP.

2: CM10 settings change to give you notification drawer settings instead of power widget settings

3: Expand desktop power menu capability

4: Expand desktop settings toggle

5: Changes to Trebuchet layout based on barrmulio's changes to Launcher2

You don't strictly need 3 and 4 for Tablet UI, but I think they make it even nicer.
[Nexus 7 Android Development] Nark.GA60:
Sorry for the n00b question, but how do we use those commits? :o
[Nexus 7 Android Development] rubenyai:
This works, thanks.

Enviado desde mi Nexus 7 usando Tapatalk 2