Tablet UI on Nexus 7 [How to / Video / Build.prop Modification]

Search This thread

Galactic2

Senior Member
Apr 14, 2011
401
90
New York City
Looks pretty sweet in both landscape and portrait orientation.

How does the new expandable notification system work with the tablet ui modification? any screenshots of that.
 

iwantanandroid

Senior Member
Mar 12, 2012
139
5
yes, this is essentially the same way ICS works as well, getting a certain pixel density kicks in the tablet UI

the padding on the bottom (in portrait) and sides (in landscape) is kind of annoying, going to try nova launcher to see if it can be lessened.

edit: nova set to a 10x10 with horizontal padding set to small and vertical set to none fixes that

tablet ui seems much more efficient use of screen space compared to the phone UI

Padding?

Sent from my HTC One S using xda app-developers app
 

adiliyo

Senior Member
Oct 25, 2009
1,437
264
Los Angeles
Hold down power button and volume down....thats what it is on my htc one s and my mums Galaxy SII

I tried that and home + power, neither work, i cant remember how i did it on my gnex but I'd assume its something similar to that...





Padding?

Sent from my HTC One S using xda app-developers app

Yes, the distance between the bottom bar and the lowest you can place an icon or widget, ill try to take a screenshot.

Basically lowering the padding let's you utilize more of the screen.

Sent from my Nexus 7 using Tapatalk 2
 

SladeNoctis

Senior Member
May 29, 2010
548
200
New York
ICS and HC as well, nothing new here.

Well people thought there was no more tablet ui due to the standard layout of the nexus 7. Decided to test out the build.prop since i doubt there going to enforce that phone ui on a 10incher. Anyway just wanted to help those that were a bit on the fence due to the nexus 7 phone layout.
 

iwantanandroid

Senior Member
Mar 12, 2012
139
5
I tried that and home + power, neither work, i cant remember how i did it on my gnex but I'd assume its something similar to that...

Yes, the distance between the bottom bar and the lowest you can place an icon or widget, ill try to take a screenshot.

Basically lowering the padding let's you utilize more of the screen.

Sent from my Nexus 7 using Tapatalk 2

Oh ok....so you stated nova removes the padding....I have never used nova but can you use the standard google widgets with it? Is it just like stock?

Sent from my HTC One S using xda app-developers app
 

SladeNoctis

Senior Member
May 29, 2010
548
200
New York
Heres a photo of the expandable notification,
IMG_20120703_175113.jpg
 

thunder9111

Senior Member
Jul 25, 2010
192
20
this is awesome news!!!! thanks!!!

other than the layout changing, how does this affect the font/reading?
this is exactly the way I want my tablet to look like

so basically we have to root it first?
I am familiar with es-explorer, and this looks pretty easy to do
 

SladeNoctis

Senior Member
May 29, 2010
548
200
New York
this is awesome news!!!! thanks!!!

other than the layout changing, how does this affect the font/reading?
this is exactly the way I want my tablet to look like

so basically we have to root it first?
I am familiar with es-explorer, and this looks pretty easy to do

Well now you have a bit more space for more text. But you may need to adjust the size of the font to your liking. And yea you have to root to get into tablet ui.
 

adiliyo

Senior Member
Oct 25, 2009
1,437
264
Los Angeles
Oh ok....so you stated nova removes the padding....I have never used nova but can you use the standard google widgets with it? Is it just like stock?

Sent from my HTC One S using xda app-developers app

Yes, the standard Widgets work, its like the stock launcher but with more options.

I have noticed the play Widgets aren't working though, they won't populate with anything.

I'll try it with the stock launcher when I get hone to see if its a dpi thing or a launcher thing.

Sent from my GT-I9300 using Tapatalk 2
 

Peahnuts

Senior Member
Nov 5, 2010
80
8
I was wondering if anyone knew, do apps load in phone or tablet mode regularly? Say, if I were to theoretically buy this tablet and keep it completely stock, would third party apps like Pulse, BBC News & ICS Browser+ load in tablet or phone mode?
I'm really curious about this because some stock apps load in tablet mode, eg. Chrome while others load in phone mode, eg. Youtube.

It would be kinda balls if apps like Pulse loaded in phone mode. :l

EDIT: I'm also curious as to why they still haven't included a wifi toggle in the notifications panel lol.
 
Last edited:

phil-t

Member
Jan 6, 2010
35
13
Another question I have is that running no standard DPI's on my DHD, the market would lock out loads of apps with (Not compatible with this device).. would we end up the same situation with this tweak?
 

adi6262

Senior Member
May 16, 2011
617
162
I dont know why but i am unable to see the screen shots ! (blank jpg icon )

tried different browsers too . if you could attach them to OP ?

Edit: works , must be a temporary error some where .
 
Last edited:

molesarecoming

Inactive Recognized Developer
Feb 12, 2012
7,532
27,173
Berlin
Awesome. I know many of us will be wanting this when the 7 ships. Is the text still large enough to be easily read?

sent from my evo 3d

it does not matter. soon paranoidandroid will be ported, as soon as source is out. this will enable true hybrid mode. since version 1.6 we are independent of build.prop, you dont need to boot your entire phone into a dpi and by doing so screw things up. you can then simply drop systemUI into either tablet, phablet or phone mode, scaling and displaying everything else (navbar, buttons, widgets, apps, system components, lockscreen, etc.) in the way you want just like you do on the 40~ devices that have it now.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    So tablet ui is possible by a simple editing of the dpi of you Nexus 7.
    Here's how you can do it yourself with an file explorer of your personal preference of file explorer.

    For those wanting a explanation of what dpi does for your device read below
    You are lowering the _value_ that Android _reports_ as it's DPI, you are not changing the screen at all. In effect you are lying about the physical size of the screen

    The default is 213dpi with a resolution of 1280×800 hence it's claiming that the display is 6in x 3.75in (7 inch diagonal)
    If you alter the DPI to 160 you are lying to the system (and apps) and claiming that the 1280x800 display is actually 7.5in x 4.7in (8.8 inch diagonal)

    When the apps think the screen is bigger they make the icons smaller and enable extra features (like multi-pane UIs)

    Requirements

    1. Rooted Nexus 7
    2. Have a nandroid backup and a backup of your original build.prop(just in case)
    3. Any file explorer that has root access to your system files
    4. A bag of jelly beans for a few snack moments :p


    Note: i'm not responsible if your Nexus 7 explodes into a bunch of jelly beans.

    Tip: once you have tablet ui change you font size by going into display settings to your preferred size.

    Video Guide i made, late at night from a busy day...so if i talk funny blame the lack of nutrition and sleep :p

    Method 1(Recommended)

    1. Get Rom Toolbox Lite or Pro if you want to support awesome app
    2. Swipe to performance and press build.prop editor
    3. Now scroll down to ro.sf.lcd_density
    4. Press on it and change the dpi to 160 dpi
    5. After doing that press ok and back out
    6. Reboot your Nexus 7 and enjoy some tablet ui goodness.


    Method 2

    Note: I'll be using ES File Explorer as my file explorer in this method
    1. Get a file explorer such as MIUI File Explorer, File Expert, ES File Explorer
    Note: For ES File Explorer go to settings allow mount rewritable and root access
    2.Then go to system
    Note: ES File Explorer just go to the star button on the top left hand side and click on the phone button and you will see the system folder
    3.You will find a build.prop file make sure to make a copy of it and save it somewhere just in case for a backup.
    4.Then click on the build.prop and open it with a text editor. (ES file manager has its own text editor called ES Text Editor...go figure :p)
    5. Now scroll down to "ro.sf.lcd_density"
    6. Now the original lcd density is 213 so the best result for tablet mode is 160 dpi
    7. Save the file by press the menu button.
    8. Reboot your N7 and then you got Tablet UI.

    Method 3

    1. Get Buildprop Editor
    2. Navigate to system and find the build.prop
    3. Then find the line with "ro.sf.lcd_density"
    4. Now the original lcd density is 213 so the best result for tablet mode is 160 dppi
    5. Now save the file and reboot your device. Enjoy



    Update 07/05/2012 In my personal experience with LCD Density Modder, changing dpi works and will cause you issues(lost root, bootloop, softbrick).:( Will update if the app gets updated for support.

    Update 07/18/2012 Working on a way to get tablet ui without touching the build.prop. Its going to take some time with my tight schedule but i'll do my best. For those that experienced no boot, or lost root

    To gain root access / obtain clockworkmod / unlock bootloader with toolkit

    To return to stock / unbrick you device

    Now all thats left is to edit the systemui to get a more clean result. That will come soon.

    If there's others ways to do this without causing harm to our tablets shoot me a pm and ill post it in the first post. Hope you guys find this helpful. :)

    Enjoy some screenshot of tablet ui.


    screen_20120703_0200.jpg
    screen_20120703_0159.png
    screen_20120703_0156.jpg
    screen_20120703_0155_2.png
    screen_20120703_0151_2.jpg
    screen_20120703_0155.png
    screen_20120703_0156_2.jpg
    screen_20120703_0157.jpg
    IMG_20120703_175113.jpg
    screen_20120703_0158.jpg
    5
    i have trouble understanding this.... seems to me, if you lower the "dots per inch" dpi, you have less dots available on the screen. the resolution has to go down

    You are lowering the _value_ that Android _reports_ as it's DPI, you are not changing the screen at all. In effect you are lying about the physical size of the screen

    The default is 213dpi with a resolution of 1280×800 hence it's claiming that the display is 6in x 3.75in (7 inch diagonal)
    If you alter the DPI to 170 you are lying to the system (and apps) and claiming that the 1280x800 display is actually 7.5in x 4.7in (8.8 inch diagonal)

    When the apps think the screen is bigger they make the icons smaller and enable extra features (like multi-pane UIs)
    4
    >Afaik the only way to have pics/jb kick into tablet mode is via dpi.

    It's not DPI (dots-per-inch), which is a physical measure and can't be changed. Android uses an abstracted measure called "DP" (density-independent pixel), to allow for some standardization of all the varying screen sizes and densities.

    N7 has a 216 DPI; it uses TVDPI (213 DP). Its effective resolution OOB is 600x961.

    Android had four generalized densities: LDPI (120), MDPI (160), HDPI (240), and XHDPI (320). Android 3.2 added a 5th density setting, TVDPI (213). TVDPI was intended for 720p TV (XHDPI was intended for 1080p TV), but was found to fit hi-res 7" devices. If you mod the density, use a standard setting, as apps target these for layout and bitmaps.

    To calculate resolution in DP:
    resolution / density * 160 = DP
    800 / 213 * 160 = 600 dp
    1280 / 213 * 160 = 961 dp

    So N7's effective (DP) resolution is 600x961, using the official 213DP density. For native resolution, use 160DP density. Then you'd effectively have a 10" tablet shrunk to a 7", which won't be optimal for all cases.

    More here,

    http://developer.android.com/guide/practices/screens_support.html

    http://developer.android.com/about/versions/android-3.2.html

    Diane Hackborn has a write-up on G+ about the N7's particular display settings, along with the reasons behind its hybrid tablet/phone UI. Check it out for further insights.

    https://plus.google.com/10505198573...FGLV8#105051985738280261832/posts/6eWwQvFGLV8
    3
    May I ask how you go about changing the dpi?


    Sent from my HTC One S using xda app-developers app

    It's in /system/build.prop


    ro.sf.lcd_density=


    I bought an app called LCD Density Switcher because it cracks the market to still show all the apps that disappear when you mod the density.
    3
    How do the expandable notifications work in the tablet ui? Do you still slide down with two fingers even though it has to slide up since it's at the bottom of the screen?








    Yes its exactly like that I'll post a video Saturday, and cover all the uses of tablet ui on the Nexus 7.

    Sent from my Nexus 7 using xda premium