yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] platinumandroid:
Everything seems to be working great, I haven't logged for you because everything is working perfectly. Thanks so much for starting this project, I had been running my N7 with a build.prop edit of 170 since I got it and in the process I have been just dealing with all the problems that come along with the dpi edit. I'm so thankful to have the market back to normal,Text looks crisp again and everything even seems to be faster (Not sure if it's because of having a stock build.prop,The system being deodexed or if it's just a placebo of my perception) but I'm loving everything about this tablet now,Thanks again and if you still need a logcat or someone to test anything just let me know:)
[Nexus 7 Android Development] barrmulio:
logcats only needed for issues at this point, but thanks for the offer
[Nexus 7 Android Development] platinumandroid:
Yeah for sure,No problem :)
[Nexus 7 Android Development] Tapek-AU:
woo! my Nexus 7 arrived today, glad to catch up and see a working version of this patch is out...will give it a try as soon as I decide on a ROM to flash and root the device
[Nexus 7 Android Development] Holyoblation:
Tablet ui patch runs great on modaco jr5 with linaro kernel and apex launcher, though I wish the width on the stock launcher could be fixed.

Now if only if only I had recovery, screen capture, and hide status bar in extended power menu and performance options in settings my nexus 7 would be perfect.
[Nexus 7 Android Development] daveleebond:
managed to get it installed and works really well, but, messes up Wallet in JR5, tried to reinstall since the deodex removes it but will not have it
[Nexus 7 Android Development] barrmulio:
jr5 should already be deodexed..?

what do you mean by "messes up" ?
[Nexus 7 Android Development] barrmulio:
working on that still :)

this is breaking because of android.policy...unfortunately i don't think the j5 source is public so i can't bake in the changes for a clean merge

i can just add them to my patch though, probably more easily than fixing the width has been...it's a bit of scope creep but i want it too so i'll work on it
[Nexus 7 Android Development] neilrl79:
I'm on Jr5 and Wallet works perfect on mine, just used my $10 last night to fill up the Buell. :)
[Nexus 7 Android Development] Saint Wacko:
Yeah, that's the sole reason I haven't patched yet. I don't really like the looks of the dual-pane display in portrait.
[Nexus 7 Android Development] Mischaseb:
Until the stock launcher issue is fixed, nova seems to perform better than apex. I've also found that a 6x6 grid with no dock is the best setup for combined portrait and landscape use :)
[Nexus 7 Android Development] earlyberd:
What are my options if I want to keep the phone layout for the notification and nav bar, but still force some apps to use the tablet UI? Specifically, I want Talk to use the tablet UI.
[Nexus 7 Android Development] barrmulio:
folks - just a quick update and next steps

1) the focus for this patch is aosp, altho the popularity of jr5 may make me want to try and patch that too or just reach out to paulobrien when it no longer has bugs - this will remain in alpha until the code is cleaned up in a way that isn't static

2) it seems the bugs are all tied together to the way the hack is done, and manifests itself in different ways - dropbox is crashing, riptide is visually rendered too long (behind the bottom bar and too far right/left) and the stock launcher is rendered too long on only one side - please continue to send these as i'll need them for testing the next release

3) there are completely different approaches, already released on roms like sgt7 that don't have 'true' tablet ui (ie the apps won't render like they would on a native tablet with dual-pane), so if all you want is the system to have a single navbar and don't mind how the apps look in stock, check those out - this is much easier to implement - or just hang around for Paranoid Android

4) i like the hybrid portrait/landscape concept and i'll pursue, but i'm not sure how dynamic things are (e.g. can the rotation trigger a change to these variables that then reset the UI) until i dig in deeper

i'm taking a step back to set up a repo and source, which will help merge in some additional changes (like the power menu and some better notification toggle) and alleviate some of the issues on 3rd party roms

i wont have a lot of time in the next few days, but still hammering away at a few things to better understand WindowManagerService.java
[Nexus 7 Android Development] barrmulio:
Paranoid Android, when it comes (molesarecoming posted a few pages back that he's waiting for CM10)

but nova free can't hide apps! but it does have 5 cols in the drawer :) i already burnt thru my $25 :

agreed on no dock unless you have a gazillion widgets
[Nexus 7 Android Development] MWBehr:
Ya, I'm guessing the portrait/landscape thing is pretty difficult, otherwise Paranoid Android probably would have already included it. Here's hoping you can figure it out though ;)
[Nexus 7 Android Development] dcooterfrog:
i use apex that's funny I use a 8x6 / 6x8. then when I rotate I have differnete widgets. I only see weather when i am in portrate its on the bottom. and I only see toggles when I a landscape because its on the right hand side.
[Nexus 7 Android Development] fleshdeep:
Is this patch working with EOS nightlies? I would love to run it, i love the dual panes.
[Nexus 7 Android Development] Shawn_230:
Anyone tinkered with the DPI settings?

Obviously the point of this hack is so you don't need to make everything super small at 160 to force tablet UI, but personally I think 213 is a little too bulky with tablet UI which is what this mods ends you up with.

Also apps like Dropbox seem to run fine with smaller DPI like 160, anyone know the maximum DPI you can use in tablet UI where these apps wouldn't FC?

Edit: I think 190 DPI looks pretty good, nothing seems to get cutoff with stock launcher even though the actual boundaries are still off screen.
[Nexus 7 Android Development] the3dman:
I dont know if this will work in JB, but we had issues with our G-Tablet ROM and the ICS launcher showing half icons off the edges, and I fixed it by changing some launcher code. Here is how I fixed it: http://pastebin.com/bu4L1Zg7 and http://pastebin.com/FbnQ0vbu. Maybe when I have some free time from working on the G-Tablet, I can look into this on the N7. OP and everyone who helped, great fix for the UI btw. You can also change the icon sizes like this: http://pastebin.com/asvprBUx but keep in mind thats how I did it on ICS, I am not sure it will be exactly the same in JB you might have to play with the values a bit.
[Nexus 7 Android Development] oasis9389:
Can we see some more photos have how this looks? I have been running dpi on 160 since day one and it has been mint. Everything works great don't even see a reason to make this change.
[Nexus 7 Android Development] barrmulio:
i like smaller than 213 too

going down in dpi isn't an issue, it will keep scaling the 720 folders

going up will cause fc at a point where it tried to grab resources from mdpi which don't exist

what about the photos at the bottom of the op? or you want others?

this is great - thank you for posting!

i was hoping to not need to patch launcher, but now that i look at the code it that may not be possible, and also explains why the overlay is there

edit: the code is different, but it led me to the right place for a launcher patch
[Nexus 7 Android Development] barrmulio:
ok launcher is fixed, mad props to the3dman for getting me to the right location and working code

patched launcher apk: link

adb to system/app for testing - please reply back with any issues

will revise the zip in the op tomorrow to include this, unless racer of all beats me to it again ;)
[Nexus 7 Android Development] Dexter_nlb:
my quick comments,

i used it on Flyer running 160dpi, tablet is 1024x600.. icons are a little off in the upper part of the tablet. but rest looks pretty good here.

buttons and such all seems to fit perfectly on their right positions.

would anyone know if i could use this trick to use HTC framework from a 240dpi (oneV) on Flyer using 160DPI, by patching this way? (i might give it a go for testing)

reason is we got no tabletUI on my flyer onexxl rom, but it might be graphics are just included for 240dpi.

can confirm it works :)
[Nexus 7 Android Development] tumpin:
This patch is great, thanks all!
[Nexus 7 Android Development] barrmulio:
can you pm me a screenshot?

we probably want to take this discussion to pm or another area, but:

first question is whether your rom is jellybean based or not, because both the edited files were changed between ics and jb, but i think the code may actually be easier on the ics side since there's no silly tvdpi resolution mucking things up

the WindowManagerService.java will force it to draw from the sw720 bucket, don't worry too much about the res for the current alpha because it's circumventing the calculations that use it, but do need to make sure that the right mdpi, hdpi folders are setup for your device

I'm assuming the Flyer uses mdpi, does the one V also use mdpi?

if you dont need/want the dual-paned apps, you can just patch PhoneWindowManager.java and ensure the sw600 xhdpi folders have all the pngs and xml from the sw720 to sw600 - the kindle fire dev forum is full of solutions like that that work very well
[Nexus 7 Android Development] TaintedByte:
Did someone challenge me to a race?!

See what I did there?

Haha, anyway, here's the updated ZIP for those of you who need it 0.0

barrmulio, I named it alpha 2. I don't know if that's what you were planning on, but feel free to rip the zip apart and reupload it to the OP with whatever label you want. :silly: Again, awesome work man, glad to help out in any small way I can!

Download (Mirror)

MD5: 1c85cc5fe772f687ce9beaa8dab57130
[Nexus 7 Android Development] theoneofgod:
Will the latest version work with jr5?
[Nexus 7 Android Development] pHaez:
Yup. Works fine on jr5.
[Nexus 7 Android Development] barrmulio:
dude you must have a camera in my house, i was updating the op and patching your zip just as you posted this lol

alpha 2 is perfect
[Nexus 7 Android Development] barrmulio:
i wouldn't bother, the only patch is launcher and jr5 doesn't use stock launcher (apex and nova don't have the issue)
[Nexus 7 Android Development] morell2:
Thanks! Work very good on JR5!

but have a 3-5 games don't work!because that soultion i return to Phone UI!

when it will be don't alpha I will be return that!

Thanks about the all work!

waiting for new updates in the future
[Nexus 7 Android Development] fleshdeep:
Could anybody enlighten me as to why i am getting an error that says "Process %1$s isn't responding?"
[Nexus 7 Android Development] barrmulio:
rom details, what you were doing and logcat needed please to answer

did it literally say %1$s ?

are you sure you deodexed properly? that's the common cause for that error
[Nexus 7 Android Development] barrmulio:
details needed please on the games that didn't work, and what the issue was - thanks
[Nexus 7 Android Development] morell2:
behind the navbar and overscanning too far

ripetide!

death racing

and more
[Nexus 7 Android Development] barrmulio:
thanks morell, so similar issues to the riptide report
[Nexus 7 Android Development] fleshdeep:
It was a user error. I needed to wipe everything and re- deodex my rom. Working now.
[Nexus 7 Android Development] Celtyc:
I would really like to try and flash this but I do have a question. I just install the BAMF ROM and it is JRO03H. Does the difference between H and D matter, and for curiosity sake, what is the difference between a D and H?
[Nexus 7 Android Development] fleshdeep:
Im using the bamf rom and it works... Except my settings force close still.
[Nexus 7 Android Development] barrmulio:
H is android 4.1.1_r3 and D is r2

H was just delivered to the xoom starting this week

as for working on bamf and other 3rd party roms - read the op - this is made with patches from aosp and not guaranteed to not cause issues on 3rd party roms...the further away they are from aosp (ie more customized), the more likely you will see problems
[Nexus 7 Android Development] derekedw:
Is this causing play store compatibility issues for anyone? For instance, Asphalt 6 shows to be incompatible, but my friend who's 100% stock says that his view from play store shows it as a supported device.

thanks!
[Nexus 7 Android Development] fleshdeep:
Hope it eventually works with teameos builds. I don't like their tablet bar without the dual pane. No matter what on that ROM it bootlops. I can't get the battery life I get on eos from any other ROM yet. Settled with this on Jr for now.
[Nexus 7 Android Development] ejchis:
I installed this over the pure AOSP rom, and everything is looking great so far. Thanks for the good work.
[Nexus 7 Android Development] BCD90:
Hey guys have a quick question. Is it just me or is everyone getting a big gap on the bottom of the home screen (See pic below). On the op the screen shots looks like they have a much smaller gap. I'm running jr5. Is this just me or is this an illusion or what? Otherwise absolutely love it. Thanks to anyone involved.
[Nexus 7 Android Development] Celtyc:
Sorry not used to how the ROMS work for this device yet. I did install it and it looked nice but the settings constantly fc so not worth using. Bummer :(
[Nexus 7 Android Development] ejchis:
What launcher are you using? You might need to adjust the vertical margin.
[Nexus 7 Android Development] BCD90:
Launcher version 4.1.1-402395. Its the stock launcher that comes with modacos jr5. How would I go about editing vertical margins. Is that in the build.prop?

Just went and looked at op for jr5. Default launcher is nova. Could that be the problem ?
[Nexus 7 Android Development] barrmulio:
i dont remember exactly what it's called, but basically it's space for a dock with icons (can't place widgets there) - go to nova settings and try to turn off the dock if you can (in my screenshots i use apex, and the setting to turn it off is under dock)
[Nexus 7 Android Development] barrmulio:
without a logcat i can only speculate:

with bamf and other roms that have the pseudo-tablet ui, they are typically just changing images and a few xmls in the standard sw600 folders

with these patches, if the rom doesn't contain the proper files in the sw720 folders, then it will bomb
[Nexus 7 Android Development] tonker83:
so I'm using the pure AOSP rom, tablet ui looks great. One thing that's a deal breaker, Chrome won't open! it says "critical functionality required to run chrome is missing; either your chrome installation is incomplete, or not compatible with this version of android." any ideas? I used the GAPPS from the pure aosp .
[Nexus 7 Android Development] Mischaseb:
I've also got large vertical margins on portrait view with the stock launcher using alpha2. This is stock rooted and deodexed rom.

I don't have that problem... have you tried deleting chrome's app data? or try uninstalling it and reinstalling it from the market.
[Nexus 7 Android Development] tonker83:
I can't uninstall and re install from the play store. I'm going to try installing another GAPPS and see if that fixes it.
[Nexus 7 Android Development] player911:
Meh, I flashed this on CM10 and it's bootlooping. Now I'm having a problem booting into recovery to fix it.
[Nexus 7 Android Development] theoneofgod:
Plug tablet into pc.

Hold power button until screen goes off.

When it does, hold power and vol -

Boot into recovery using bootloader.
[Nexus 7 Android Development] Fusion777:
Using it now. Running Apex. Loving it Bigtime. This is how the device shoulda come stock. Thanks a lot!

Sent from my Nexus 7
[Nexus 7 Android Development] player911:
Yea that didn't work. With Tablet>PC, the bootloader menu would lock up. If I hit recovery while unplugged, it would just crap out. I just manually used fastboot commands to boot into recovery, and wiped.
[Nexus 7 Android Development] barrmulio:
i did warn it was for aosp only...in the future you can just push the 3 apks/jar rather than do a full recovery
[Nexus 7 Android Development] player911:
Yea I know. I saw the warning but that's not fun.
[Nexus 7 Android Development] barrmulio:
i use chrome all the time, even during testing when things go source, and this doesn't come near impacting it

try the latest gapps, i think it's 07-17 now
[Nexus 7 Android Development] barrmulio:
no, when either aosp is stable or cm10 is out i'll focus on that,

it's not a difficult task, just time consuming to compile two versions and i haven't gotten cm10 to compile properly yet
[Nexus 7 Android Development] gnice18:
Really great stuff here, thank you so much. like an earlier post said, this its how it should have shipped.
[Nexus 7 Android Development] JeremyNT:
Patiently awaiting cm10 support - I just can't go back to stock! Thanks a ton for working on this.

It would be rad if an option for this kind of functionality could be merged into CM proper...
[Nexus 7 Android Development] barrmulio:
they're smarter than me..it's bound to happen :)

if not there, then aokp with it's never ended customizations
[Nexus 7 Android Development] Ellerbestyle:
Can someone tell me what ROM does work. I thought I had one that would work and I keep getting an error System UI has stopped.
[Nexus 7 Android Development] barrmulio:
aosp JRO03D is what it's designed for

aosp based roms, like jr5/6 are working, but some features (like the reboot/recovery power menu) get lost - some of this i plan on integrating this weekend/coming week

cm10 roms will be very hit or miss, more on the miss side if they have gui customizations and their own tablet ui

there is no way to make these patches universally acceptable...there are many shared files packaged within them that when a rom developer does a customization beyond aosp, going back to an aosp version will cause bootloops or fcs
[Nexus 7 Android Development] fleshdeep:
I have never been humbled so much in my life. I just opened up PhoneWindowManager to check the code out, and it's nothing like what you mention in your 1st post. I see certain sections but they are lacking everything with extra words thrown in. I appreciate EVERYTHING you have done so far. I was going to try my hand and customizing BAMF rom with this mod but I have a long road of learning ahead of me.

THANK YOU for this mod.
[Nexus 7 Android Development] foxmeister:
Apologies for the OT reply, but what is the clock&weather widget shown on the OP's screenshots?

Thanks,

Dave
[Nexus 7 Android Development] NYConex:
And where can we find that awesome wallpaper! Im finally going to root my nexus 7 just to give this is a try.
[Nexus 7 Android Development] barrmulio:
One More Clock (Chrome Rings theme) from market - Free Paid

Paperland (Live Wallpaper) from market - Free Paid
[Nexus 7 Android Development] Ellerbestyle:
Well I tried this patch on jr6 and that where I get the error. I thought well maybe I didnt do it right now I tried again. I made sure I cleared the cache and stuff also. Just seems weird to me.
[Nexus 7 Android Development] barrmulio:
to clarify, it still didn't work the second time?
[Nexus 7 Android Development] Ellerbestyle:
Correct. I still get the system UI error.
[Nexus 7 Android Development] barrmulio:
can you post logcat please - see my signature
[Nexus 7 Android Development] CharFalco:
Same thing here with JR6. I think it's because it's 4.1.1 JR004 "C"
[Nexus 7 Android Development] Multisaft7:
Me 2...wipe Cache and dalvik and dann install zip

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Nexus 7 Android Development] barrmulio:
there are many reasons apps force close, without a logcat, i cannot help you guys
[Nexus 7 Android Development] Multisaft7:
I hope the logcat is right ;)

https://dl.dropbox.com/u/16552038/fc_systemui.txt
[Nexus 7 Android Development] CharFalco:
JR6 comes deodexed, right? I don't need to install your deodexer with that, right?
[Nexus 7 Android Development] Fusion777:
Just had to share the love
[Nexus 7 Android Development] barrmulio:
yes
[Nexus 7 Android Development] barrmulio:
yes - it's pinpointing a permissions issue, which is probably in the launcher apk

thanks a lot - hopefully you backed up - if you could restore to that and try alpha 1 instead (which doesn't have the launcher, which isn't needed for jr6 anyways) and let me know? if you didnt backup let me know so we can restore yours
[Nexus 7 Android Development] CharFalco:
Just tested with alpha 1, same story. Never done a log cat before, but il try for this.
[Nexus 7 Android Development] babybacon:
Is anyone else noticing a huge slowdown when rotating in the app drawer on a2?
[Nexus 7 Android Development] Multisaft7:
I didnt Make a backup ;) but i did a full wipe before because switched the rom;) i try the alpha 1 tell you later if it works

Gesendet von meinem Nexus 7 mit Tapatalk 2
[Nexus 7 Android Development] barrmulio:
not a huge slowdown, but certainly not as fluid as third party launchers, almost like when there's no hw rendering present

------------------------

General Note TO EVERYONE - this is meant for AOSP/Stock, so when reporting an issue I will assume and try to replicate in AOSP/Stock unless told otherwise
[Nexus 7 Android Development] Multisaft7:
With alpha 1 i have already system ui fc

Gesendet von meinem Nexus 7 mit Tapatalk 2
[Nexus 7 Android Development] barrmulio:
thanks

so whatever paul did between jr5 and jr6 (maybe the button mods) borked it because there were lots of folks using it on jr5 (and i tested it too)

it's possible to use dex2jar and implement these changes into his rom (possibly needing to add res folders to systemui as well) but as i mentioned the priority is stabalizing stock right now
[Nexus 7 Android Development] CharFalco:
So I've got it working on AOSP, deodexed with your zip. But I'm getting the Missing Critical Functionality for Chrome.

What can I do to fix this?
[Nexus 7 Android Development] Holyoblation:
OK I was running jr5 with alpha one. All was fine. Flashed launcher update. Still good. Flashed jr6 with alpha two. Still no problems. Guess I'm just lucky. :p

Just a suggestion, would love to see hide status bar in power menu.

Edit: Paul's button mods don't seem to be an issue because your alpha two removes them (flashes over them)

or at least it did for me
[Nexus 7 Android Development] Ellerbestyle:
I am having the worse luck. I just can't get it to work.
[Nexus 7 Android Development] fleshdeep:
Alpha2 worked for me on JR6.
[Nexus 7 Android Development] barrmulio:
molesarecoming just posted that PA is coming - that'll solve the vast majority of the issues here guys

keep a close eye on that
[Nexus 7 Android Development] PhilDX:
hey barrmulio - i used both your deodexed apps zip + this tablet UI mod tonght and i'm very happy :D

what's your paypal donate email addy?
[Nexus 7 Android Development] barrmulio:
much appreciated!!! i just added it over to the left (it's my username @ gmail)

-----------

update for tonight:

my git is finally up, and I can build a JRO03H rom with the edits from the op + launcher patch

what that means is faster turnaround trying to get some of these errors fixed and a better way to do it

I don't have plans to release the rom (it's mostly next revision aosp + superuser/root + bootani + these edits ; so it's not much more than the patch) but if there's interest I can....i'll probably merge in the advanced power menu into that when i have the change

i haven't noticed anything different about JRO03H from JRO03D - JRO03H was released to the xoom wifi this past week - but i figure since it was the official release for a big tablet it may have some better underlying code for what we want
[Nexus 7 Android Development] barrmulio:
re: jr6 - so i'm pretty confused, we have reports of it not working (system UI crashes - even a logcat), but others saying it's working fine??
[Nexus 7 Android Development] PhilDX:
donation sent
[Nexus 7 Android Development] PhilDX:
its working fine on my tablet with stock *deodexed* ROM. I'm guessing some people didn't read all the warnings in the second post...
[Nexus 7 Android Development] neilrl79:
Test builds are up! From my limited usage the rom is solid.