yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] kaizvn:
I met a problem : after unlock screen, the menu bar take about 5~10s to appear. Too uncomfortable. I'm flash lastest CM10 of euroskank. Any solve?

p.s: I mean which name of you ROM, I knew you're using CM10 :D.
[Nexus 7 Android Development] z1gackly:
New CM10 patch, including Tablet UI System Settings modification.

System Settings now include Notification Drawer toggles for Tablet UI instead of Power Widget toggles for Phone/Phablet UI.

Flashable zip including backup of replaced items:

http://db.tt/1oIx1A9d

This patch is compiled from the same code base as today's official nightly (10th September) with Tablet UI mods, and has been tested with today's official nightly.

---------- Post added at 09:27 AM ---------- Previous post was at 08:44 AM ----------

Note, there seems to be a problem with the audio drivers in the latest official CM10 codebase. I'm experiencing very quiet volume

I'm going to try my patch with the 8th September build and will let you know how that works out.

UPDATE 10:03 AM - seems the audio problem is with my machine, not CM10 :(
[Nexus 7 Android Development] kaizvn:
feel sorry for your device, I hope it's software problem.

but where is barrmulio, everytime has new update i miss him so much ( just want to ask something if got problem :P )
[Nexus 7 Android Development] z1gackly:
Seems like it's a hardware problem. I flashed factory images and it's still kaput. I'll have to see about getting a replacement.

Today's patch is still a good one anyway. As soon as I get another machine I'll try to change some other things, like enabling "extend desktop" options in the power menu.
[Nexus 7 Android Development] Nark.GA60:
Sorry to hear about the hardware problem. :(

I've just made the changes to Trebuchet. Anyone want to test?

https://dl.dropbox.com/u/2344441/CM10+TabletUI/Trebuchet.apk
[Nexus 7 Android Development] toker_X1:
I can confirm today's nightly 0910 with today's patch works fine.

Launcher is a bit missed align still. I have used Nova to over this is issue.

All good so far.
[Nexus 7 Android Development] Bellic:
Should my first boot after flashing be taking longer than usual? This is taking longer than after some ROM flashes. Flashed on stock rooted.
[Nexus 7 Android Development] osm0sis:
If it takes longer than 5-10min then something borked, likely the framework-res.

Edit: Stock rooted? As in odexed? Hopefully you flashed the odexed patch then. If not, that's what happened.
[Nexus 7 Android Development] kaizvn:
I've got system UI error with all CM10 ROM, it take long time to display lock screen, and more seconds to display navigation bar.

anyone got it like me?

update : still can not flash any CM10 ROM work correctly. system UI error, or after lock screen, lose navigation button.
[Nexus 7 Android Development] matt101:
I apologize for being off topic or if I missed the answer to this question. I have a rooted KF. What Launcher and Theme is shown in the first post?

Thx
[Nexus 7 Android Development] Nark.GA60:
Did you want to try the Trebuchet that I built? I applied the same spacing that was in the modified Launcher2.

Are you doing a full wipe? Did you check the md5sum of the file you downloaded?
[Nexus 7 Android Development] soder:
Me to got a crashing System UI about 4-5 times a day on my Galaxy Nexus with CM10 nightly.

/Söder
[Nexus 7 Android Development] kaizvn:
checked.

all is ok.

don't know why.
[Nexus 7 Android Development] FransvB:
Hi,

I actually like the phone ui on the launcher, but i would like the apps to be in tablet mode, is this possible?

Thanks in advance,

Frans van Beveren
[Nexus 7 Android Development] kaizvn:
tried hard ( 3:00AM here) but couldn't flash CM10 with truetabletUI, boot loop T_T!

anyone has been flashed successful, please tell me which ROM are u using and how to flash T_T
[Nexus 7 Android Development] Ksehwail:
I have it working. However, it seems to only work with any cm10 from 9-8-12 or earlier. I had the boot loop issue when updating so I tested all cm10 ROMs past 9-8 and they would all boot loop. That being said I am on cm10 9-8-12.
[Nexus 7 Android Development] kaizvn:
I have one question : is CM10 deodexed or odexed?

maybe I've got error with this phase, because flash androidME ROM, it's deodexed and it's worked with tabletUI CM10
[Nexus 7 Android Development] Nark.GA60:
I can sync and upload a new build tonight if this is the case. Can't do much beyond that though because I'll be busy packing for a trip.
[Nexus 7 Android Development] neilrl79:
There is a guy named lithium76 over there you should talk to.
[Nexus 7 Android Development] barrmulio:
been digging through his git all day :) ... just dropped him a pm as well

the sgt7 rom has tablet mode as well, but i was spend too much time trying to track it down

based on what i can see from lithium76/0xD34D, he make edits to 3 other java files, including systemui, for that commit
[Nexus 7 Android Development] kind3rgarten:
Are you even reading the thread?

Sorry, but that's what they have been trying to do all thread long. They are trying to write a sort of switch that will use an integer value to determine what UI should be implemented. They are trying to implement the switch using that code, among other code, I guess. To 'just use check boxes' would be like building a house and just nailing on a plastic light switch without hooking any electricity up to it and expecting it to turn on the light in your room.
[Nexus 7 Android Development] cdesai:
I got something for you guys :)

https://github.com/sgt7/android_frameworks_base/commit/30f9565c6e951eec0db8fbbfcf01c0b63de94805

https://github.com/sgt7/android_pac...mmit/137111f81fb1495d57a62810089fb9c328764027

Gonna release the ROM later, but till then, here are the sources.
[Nexus 7 Android Development] Gunthermic:
Hmm sounds and looks promising!
[Nexus 7 Android Development] barrmulio:
thanks for that!

looking forward to the rom, really enjoyed sgt7 ics/jb on my KF! in the meantime, let me try to work these in
[Nexus 7 Android Development] spiff72:
So will this likely be a patch to the current "stock" ROM, or will it be an entirely new ROM (built from the source)? Just curious!

I am excited to try this out. I tried the DPI change, but everything just got to small (the nav buttons, text, etc).

Thanks!
[Nexus 7 Android Development] qoncept:
This guy is describing what he thinks the UI element should look like, not saying he thinks that's all that needs to be done. Relax and save the ridiculously exaggerated similes.
[Nexus 7 Android Development] barrmulio:
it'll probably be both

if the patches above work, we (either I or if someone beats me to it) should release a flashable mod to just patch a deodexed stock rom first (i released a deodexer yesterday), and then we can tackle odexed stock

pretty soon devs will be releasing roms, like the sgt7 enhancements that +cdesai mentioned, that already contain the tablet ui patch and more - it's actually pretty crazy to think that the kindle fire got jb + these enhancements before many folks even got a N7 in their hands

my hope for this thread was to steer discussion around a solution for getting tablet ui and bring some dev talent to help solve the problem...seems like we're very close and i'm grateful for everyone who provided feedback and assistance to get us to where we are
[Nexus 7 Android Development] kind3rgarten:
le sigh.

Another person that doesn't know what they're talking about.

That was not what he was saying. He responded to some underlying code and said "you're thinking too much, how about just some checkboxes" so no, that wasn't what he was saying.

And two, the analogy was in no way exaggerated, it was spot on.

To just add a UI menu without coding anything would be like nailing a switch onto the wall in your room without hooking any electricity up to.

I can't see how that's an "exaggerated similies."

Its called an analogy by the way.
[Nexus 7 Android Development] kind3rgarten:
So it will just be a flashable zip or are you going to modify the stock rom and just include this in a whole separate rom?

EDIT: nvm. Lol
[Nexus 7 Android Development] mateorod:
Is the git from cdesai above the same project or is that just a pointer from someone working on a similar project?

It looks like the distribution method is up in the air, but I have a framework that could probably port the changes over other ROMs for the Nexus. It would just depend on what changes are included in your code.

If you have AOSP or CM10 with only the WindowManagerEdits (or, at least only edits related to UI changes) then we could likely put together a patch that could made into a flashable zip and applied over most ROMs for the Nexus 7 (at worst, we would need one patch set for AOSP, CM10, and possibly AOKP, if the demand necessitates it.)

Then users could just flash a zip with the UI changes applied, thereby having the UI choice in any ROM of their choice.

You can see the framework in the link on my sig. Works pretty well.

I ported Paranoid Android to Nook Color, and I am working on creating a patch set to apply PA to the Nook's nightlies. It is difficult since PA is closed source at the moment. But your project should be very doable, should you want to investigate this manner of distribution.

With PA, there are a bunch of changes that are device-specific, which limits the portablilty. We'll have to see what you come up with here, but since Nexus 7 has such a large user base, device-specific patches have a lot of value.
[Nexus 7 Android Development] aaronpoweruser:
Compiling now
[Nexus 7 Android Development] lightninbug:
does this help??

http://xdaforums.com/showthread.php?t=1774338
[Nexus 7 Android Development] Jiggavolt:
Woohoo! Good work everyone, I'm looking forward to this!
[Nexus 7 Android Development] barrmulio:
that seems to involve a dpi change...but my hex is rusty and i have no idea what's being patched...:confused:
[Nexus 7 Android Development] aaronpoweruser:
Coming soon to a theater near you

View attachment 1210823

special thanks to cdesai
[Nexus 7 Android Development] Yue Fairchild:
I love you aaron!

Is this just stock with that patch added or what?
[Nexus 7 Android Development] kind3rgarten:
OMG ME TOO!

Can you post a pic of settings or something?
[Nexus 7 Android Development] oasis9389:
Excited for this as well. Currently running the DPI change
[Nexus 7 Android Development] matthian:
I'm running v3 of that patch on the M1 build for N7.

No props at all. Thanks for that.
[Nexus 7 Android Development] mateorod:
I haven't seen anyone try it in my thread yet, but I added a tabletUI patch to the Auto-Patcher for this exact reason. The premade zips will continually go out of date, likely once a week.

The patches will patch any rom, now and in the future, based on barmullio's exact post, with his input and testing.

Download the program, unzip and

./auto_patcher <[FONT="Courier New"]ROMNAME[/FONT]>.zip tabletUI <[FONT="Courier New"]X[/FONT]>

where X is cm10, aokp-jb or aosp-jb. Done.
[Nexus 7 Android Development] mobilx:
Works great on Galaxy tab 7+ CM10 :) Thank you!

EDIT:Lost mobile data. We need to change our sources to make it work.
[Nexus 7 Android Development] mhaner:
It boot looped for me...
[Nexus 7 Android Development] Nark.GA60:
I'll give the auto patcher a go when I get back from holiday.

In the meantime, I did a repo sync and did a new build.

Anyone interested can grab it here:

https://dl.dropbox.com/u/2344441/CM10+TabletUI/cm-10-20120913-CM10+TabletUI-grouper.zip

md5sum: 33820c41a2c499e9ef294e7c16d4b284
[Nexus 7 Android Development] mrsatan:
Bootloop in [ROM][AOSP][4.1.1][Linaro] CM10 Kang
[Nexus 7 Android Development] tucstwo:
I don't know If it's been said yet because I haven't read this thread in its entirety yet, but the CM10 patch boot looped/soft bricked (i had to reflash recovery to get past boot screen) the CM 10 9/14 nightly. I haven't tried it in any other cm10 build EXCEPT it worked perfect on my Kindle Fure running Hashcodes cm10, no issues. Grouper though, no go.

Tap'n from my Nexus 7 AOKP
[Nexus 7 Android Development] painter_:
I used auto patcher on 9/14 nightly, No problems
[Nexus 7 Android Development] JohnCorleone:
Did you guys have a theme applied when flashing? I lost my boot.img, recovery, etc. I sit at Google screen and not even toolkit can get me back up. I need to find all of the imgs ....boot.img, system.img, etc...I can't believe it. May have been kernel though because I had one wipe out my recovery before

Sent from my EVO using Xparent SkyBlue Tapatalk 2
[Nexus 7 Android Development] cmason37:
Does this work on phones too?

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

https://developers.google.com/android/nexus/images
[Nexus 7 Android Development] jamesst20:
What did he patch to get the Rotation working ?
[Nexus 7 Android Development] Saint Wacko:
Even when I have auto-rotation disabled, the lock screen still rotates. Is there a way to avoid that?
[Nexus 7 Android Development] jamesst20:
Anyone please?
[Nexus 7 Android Development] kaizvn:
go in display => rotation and tick in what you want.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

I believe he patched the framework-res.apk, but not sure what in it he patched.

Rsotbiemrptson
[Nexus 7 Android Development] ZeroManArmy:
Is there anything majorly wrong with this release?
[Nexus 7 Android Development] Saint Wacko:
Is no one else encountering this?
[Nexus 7 Android Development] jamesst20:
He patched framework-res.apk to get the rotation, since it is hard coded there is no way to disable it from the user interface.

How did he patch it :( I wanan know
[Nexus 7 Android Development] eager27:
I've done this patch and it is working well - thanks!

A couple of questions:

Is there anyway to get rid of the blue frames when swiping between home pages?

And is there something that can make the nav bar/ clock etc a bit smaller? I find the icons look great, and the apps are perfectly sized - much better than when the DPI is changed to 160, but I prefer the smaller nav bar stuff on the DPI change.
[Nexus 7 Android Development] Edward Zhuang:
same problem too got stuck on the boot screen and i hav to reflash the cwm i am on glaze rom based on cm10 and faux kernel
[Nexus 7 Android Development] matthian:
Did an Update last night and now I'm stucked in Bootloop as well. Can't even get into recover... :(

Any recommendations how to fix?
[Nexus 7 Android Development] matthian:
Ok, figured it out... While in bootloop, connect to PC, ADB SHELL into the Nexus and REBOOT RECOVERY got the job done.

Than cleand Dalvik and Cache, install CM10, install Trinity Kernel and reboot... All good again.

Still I'm going to try to flash the patch again. Will let you know.
[Nexus 7 Android Development] Spacemonkie4207:
I'm using Build JRO03S, is that the version of JB installed on my nexus?

Will this patch work?

How would I deodex my ROM?

Thanks,

just replaced my nexus 7 and noticed the build number, I don't see any deodexed Roms with my build number, a little confused.

Galaxy S2 i9100

ROM: Chameleon 1.2 XWLPU (Samsung/AOSP Hybrid)

KERNEL: Speedmod K3-31

MODEM: UGLD3 (On Bell Canada)

LAUNCHER: Apex BETA

DPI: 200

Nexus 7

ROM: Stock JRO03S Rooted

KERNEL: Stock

Launcher: Apex Beta

DPI:170
[Nexus 7 Android Development] jamesst20:
Hi,

What patch did you make to get the rotation working?
[Nexus 7 Android Development] dakpluto:
What version would I use for Slim Bean? I know it's mixed up of source and CM10, so really not sure. Thanks!
[Nexus 7 Android Development] nilsk123:
just applied the odexed version of this to my stock (and rooted) rom.

Seems to work well but there are some annoying issues, its impossible to arrange your homescreen to look well in both portrait and landscape. If it looks good in portrait widgets actually overlap in landscape.

Any known fix for this? its a shame cause i like the tablet ui
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

I had this same problem and ended up using the stock framework and launcher. That gave me tablet ui but it took away the landscape launcher and lock screen.

Rsotbiemrptson
[Nexus 7 Android Development] nilsk123:
How would I go about doing that? I haven't installed any custom launcher, I just rooted my tablet and installed the patch
[Nexus 7 Android Development] z1gackly:
AFAIK, source has not been released yet for this build, so there will not be custom ROMs based on it, or a TabletUI patch.
[Nexus 7 Android Development] Nark.GA60:
Have you tried this to see if the home screen rotates?

http://xdaforums.com/showthread.php?t=1800042
[Nexus 7 Android Development] z1gackly:
Hoping to produce a new CM10 patch in the next 24 hours.
[Nexus 7 Android Development] Rsotbiemrptson:
Hello,

Flash this. It will give you tabletUI still but remove the rotation from the launcher and lockscreen. Hope this helps.

Also wipe cache and dalvik.

https://www.dropbox.com/s/2njc77bgpxu9wgd/TabletUI-no%20rotation.zip?m

Rsotbiemrptson
[Nexus 7 Android Development] z1gackly:
Here is a new Tablet UI patch for Cyanogenmod 10:

http://db.tt/NIwJRND0

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 today's (25/09/2012) CM10 source and tested against a fresh build from it.

Backup feature from Racer of all's flashable zip.

To install this zip on CM10 just boot into recovery and flash it. No wipes required.

Hope you enjoy it!
[Nexus 7 Android Development] DN41:
Running JRO03D, rooted - stock so far.

Flashed your deodexed patch as well as the tablet UI patch - everythings fine so far.

Thanks mate!

DN41
[Nexus 7 Android Development] tharizdun_uk:
just flashed this on my own cm10 build 23/09/2012 (stock source no alterations) trebuchet force closes as soon as the system boots got a fresh build about to finish will flash and test.

did a 3 wipe and fresh install all seems fine now.

is the source code available for this mod as would like to put it in my kang
[Nexus 7 Android Development] soccerwuedo5:
Caused bootloop on M1.

Sent from my Nexus 7
[Nexus 7 Android Development] z1gackly:
I'm not altogether surprised, since it was not built for M1. This is a patch I created from my own build of CM10, which I synced yesterday. It should work with today's CM10 nightly, but I make no guarantees of compatibility beyond that. I will provide new patches when it breaks down for nightly builds in the future. What I don't intend to do is go back to old releases, sorry.

Having said all that, I would recommend you try today's nightly with it because you should also get JRO03R binaries with that, which should make your Nexus 7 a slightly better machine ;)

I didn't need a wipe with my master build, but that was synced since yours. Glad a wipe got it working.

Sure thing. Here is a source code zip. Unpack this in your android/system directory and you should be good to build.

http://db.tt/UvFrVTEn
[Nexus 7 Android Development] tharizdun_uk:
Thanks for that , im at work at the moment so I will download that when I get home.
[Nexus 7 Android Development] soccerwuedo5:
I'll stick with test2.zip until M2 is released. Thank you for your good work!
[Nexus 7 Android Development] tharizdun_uk:
Heres a link to my latest grouper build JRO03R (its cm10 with no mods or cherry picks), built 26/09/12

cm-10-20120926-UNOFFICIAL-grouper.zip
[Nexus 7 Android Development] z1gackly:
CM10 patch does not work with today's nightly. New patch coming as soon as I can build it.
[Nexus 7 Android Development] oldlight:
Thank you for that. My question: will it remove auto-rotation on my N7?

;)
[Nexus 7 Android Development] z1gackly:
Here is a CM10 patch which I have tested on today's nightly build (28th September).

http://db.tt/NJNWwMBA

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 28/09/2012 CM10 source and tested against a fresh build from it.

Backup feature from Racer of all's flashable zip.

Most certainly not. Auto-rotation is still controlled by the settings menu. The only change here is that you have a tablet-style UI instead of a phablet-style one.
[Nexus 7 Android Development] oldlight:
I used your source code, re-build CM10... but auto-rotation can not activated. If check logcat then sensors are not enabled. Should I run make clobber?

Thanks
[Nexus 7 Android Development] z1gackly:
I think you have something else going on. My changes should not affect sensors or auto-rotation!
[Nexus 7 Android Development] jamesst20:
Funny to see you going guys :P I can patch CM10 to Tablet Mode with ANY nightly build in a minute by decompilling to Smali Code :P

If you guys are interested just tell me and I will patch today's nightly ;)

And yes I'm not miss understanding anything, generally we use smali for xml but if you're good enough, can be used to edit the java code too :)

---------- Post added at 09:41 PM ---------- Previous post was at 09:07 PM ----------

Anyway, here is the CM10 Patched files for Tablet UI. These are patched files of CM10 Nightly September 28 : http://www.datafilehost.com/download-361f22a7.html
[Nexus 7 Android Development] z1gackly:
Does your patch also include settings changes to include the notification drawer instead of power widget settings? Does it include a flashable zip with a backup facility? Does it fix the layout in Trebuchet? You don't have to answer, because I can see it does not.

You'll excuse me if I would rather be building my own ROM so I can very simply control every single aspect of it for all my devices using overlays and development branches, and make any changes I wish up front, instead of fumbling around trying to reverse engineer it the way you suggest and doing an incomplete job.

These patches are just a side benefit from builds I am making for myself anyway.
[Nexus 7 Android Development] oldlight:
It is definitely I forgot to run extract-files.sh. Btw, I got it built, but still, when I copied your files in Trebuchet app, errors occurred:

packages/apps/Trebuchet/res/layout/apps_customize_pane.xml:53: error: Error: No resource found that matches the given name (at 'maxGap' with value '@dimen/workspace_max_gap').
packages/apps/Trebuchet/res/layout/apps_customize_widget.xml:29: error: Error: No resource found that matches the given name (at 'paddingTop' with value '@dimen/app_widget_preview_padding_top').
packages/apps/Trebuchet/res/layout/apps_customize_widget.xml:29: error: Error: No resource found that matches the given name (at 'paddingLeft' with value '@dimen/app_widget_preview_padding_left').
packages/apps/Trebuchet/res/layout/apps_customize_widget.xml:29: error: Error: No resource found that matches the given name (at 'paddingRight' with value '@dimen/app_widget_preview_padding_right').
packages/apps/Trebuchet/res/layout-land/hotseat.xml:21: error: Error: No resource found that matches the given name (at 'maxGap' with value '@dimen/workspace_max_gap').
packages/apps/Trebuchet/res/layout-port/hotseat.xml:21: error: Error: No resource found that matches the given name (at 'maxGap' with value '@dimen/workspace_max_gap').
packages/apps/Trebuchet/res/layout/user_folder.xml:25: error: Error: No resource found that matches the given name (at 'widthGap' with value '@dimen/folder_width_gap').
packages/apps/Trebuchet/res/layout/user_folder.xml:25: error: Error: No resource found that matches the given name (at 'heightGap' with value '@dimen/folder_height_gap').
packages/apps/Trebuchet/res/layout/user_folder.xml:40: error: Error: No resource found that matches the given name (at 'paddingTop' with value '@dimen/folder_name_padding').
packages/apps/Trebuchet/res/layout/user_folder.xml:40: error: Error: No resource found that matches the given name (at 'paddingBottom' with value '@dimen/folder_name_padding').
packages/apps/Trebuchet/res/layout/workspace_screen.xml:17: error: Error: No resource found that matches the given name (at 'maxGap' with value '@dimen/workspace_max_gap').

Pls suggest!

Thanks