yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] jordanprudent:
Been trying frantically to make this work but phone is to unreliable. Installed properly, wiped cache fixed permissions, installed apk etc. Phone keep crashing, re installing apk gets it working but then it cuts back off around 30mins later. Any fix for that and I'll be using this 100% of the time

Using aokp b31

J
[Samsung Galaxy Nexus] molesarecoming:
did you clear data & cache in androids app manager under settings/apps? i did this and afterwards pushed it via adb again. at some point it finally started working and without the awful cut. when it cuts your incomming call layout im guessing it still somehow draws from cached ressources.

another idea would be to try out an actual phone.apk from a true tablet ics branch. if im not mistaken this should be aokp's for samsung galaxy tab: https://rapidshare.com/files/1930756666/Phone.apk

pls report back if it works!

.

.

.

i just did and for me it works, looks and feels like the old one, has no cut. i went to settings/apps/all and wiped data & cache + forceclose for everything that had that blue phone for an icon. then i adb pushed the apk into /system/app
[Samsung Galaxy Nexus] molesarecoming:
hate to say it but theres nothing we can do about it for now. this would be the rom cooks job. navigation bar hide is already implemented in aokp for normal operation but it doesn't work for tablets. now a real tablet cannot hide it by design so we can only hope that this will be soon fixed in aokp.
[Samsung Galaxy Nexus] LxRAYRAYXL:
i had the same problem man. i finally decided to just changed my dpi to 240 and leave it there.it still has that tablet look. all its missing are the tablet apps and the bottom notification bar :( but its all good atleast the app drawer is full size. :D

---------- Post added at 03:45 PM ---------- Previous post was at 03:44 PM ----------

yes trust me. im not new to forums so i know how to search before asking for help.but thanks alot for your help :D
[Samsung Galaxy Nexus] EcHoFiiVe:
Help

Hey guys, I'm from the Samsung Galaxy Player forums. First off, very nice job, this looks great! Major props to the dev who found this out! But, I need a little bit of help. Ive tried and people from the Samsung Galaxy Player forums have tried. Tried what? Well, a lot of us have really wanted this "Hybrid Tablet Mode" on our devices, but no dev has done/succeeded yet at solving this for us. We have both CM9 and AOKP Roms and people have tried setting/modding their DPI values but only certain apps have changed into tablet mode. If someone experienced enough can either (A)Try to port it over for us or (B)Point me to the right direction and help me out, I'd be very very appreciative. Thanks, nice day!
[Samsung Galaxy Nexus] idan_mo:
works great now!
[Samsung Galaxy Nexus] molesarecoming:
what about the last apk i posted few posts up there, from galaxy tab. this comes from a real tablet and i tried, it works.

240 is too high for tablet mode, 192 is the highest possible value you can take, lower than that is alright, higher won't do.
[Samsung Galaxy Nexus] molesarecoming:
i do not believe apps are switching because something in the system says "tablet mode." they simply switch because the dalvik loader sees theres enough space so he'll simply choose higher level resources. an app can define all by itself when and how to drop into different views by providing these ressources. the notification center and the new bar down there come from the system and that is because theres a switch somewhere checking against the dpi, it needs a certain amount of shortest side device pixels, 600 to be precise. to reach that we must adapt our dpis, the formula is on the op. the issue for you im guessing is that you're using a hardbutton device - but its evident that tablet mode touches many buttonbar specific things. to make ics work on your device they might have changed parts of the code, maybe by disregarding the tablet functionality because it seemed useless at that moment. you need to find out what has been changed in that regard and compare it to aosp code. both aokp and cm9 are open source. otherwise you'll be stabbing into the dark.
[Samsung Galaxy Nexus] Xylograph:
Great job done here ;)

I use this mod on AOKP build 31, but had to make a modified services.jar for TabletUI to function right on my 240 dpi device (and probably other 240 dpi devices as well)

I also modified the phone.apk to work at a low dpi setting.

Be aware that these files are for AOKP build 31 and will probably only work on TabletUI mode (max 128 dpi) on devices with their default dpi @ 240.

Before installing make sure to make a nand backup just in case, disable the navigation bar > set your dpi at 128 in rom control and flash TabletUI_AOKP_b31.zip in recovery.
[Samsung Galaxy Nexus] molesarecoming:
can you explain what you did there? did you manage to unlock tablet mode on a hardware button device? this would be a breakthrough as many people are waiting for this already. :)

or did you manage to actually lower the threshold? putting shortsizedp to something lower than 600?!!
[Samsung Galaxy Nexus] nick w:
Is there anything we can do in regards to video play back. The youtube looks rubbish

Thanks

Nick
[Samsung Galaxy Nexus] twistedumbrella:
Following the link to the linked guide I think what you want is http://blog.sola-dolphin-1.net/lite/archives/4076628.html
[Samsung Galaxy Nexus] bill12690:
Tried that also, when i went back to tablet mode it went small again. Oddly, i couldn't download it from the swype installer. On both 240 and 320 it gave me a resolution error
[Samsung Galaxy Nexus] EcHoFiiVe:
Okay thanks so much, I'll look into that. And we do have hard button devices, but a dev at our forum came out with a mod to disable the buttons and put on virtual ones. And our dpi # we already know is 129. I'll compare the source code, thanks!
[Samsung Galaxy Nexus] Tyrany:
The aokp zip s corrupted =( craaaaap
[Samsung Galaxy Nexus] Xylograph:
What twistedumbrella quoted is what I have done.. and yes I have a device with hardware buttons and it's working for me ;)

I have no idea what is wrong lately with xda and attachements.. anyway try this :

TabletUI_AOKP_b31.zip - (mirror)
[Samsung Galaxy Nexus] Tyrany:
Tried with bezke aokp and boot loop can someone try on hydrogenics?
[Samsung Galaxy Nexus] twistedumbrella:
I used the equation for deciding the exact value to enter tablet mode and that one line change to make a toggle in setting. It's pretty nice to just switch on and off.
[Samsung Galaxy Nexus] Tyrany:
Im so envious of you guys ive been missing this mode for ages, after the mod broke on sgs2 my phone never was the same looks big and fugly but im lacking the skills and a good PC to compile myself : (
[Samsung Galaxy Nexus] molesarecoming:
way to go! would you share that with teamkang? another brick in the wall for 26 devices and countless of ports. :)

one question, how hard would it be to implement a runtime custom dpi for individual apps, maybe via hooking displaymetrics? system & gapps in threshold dpi, all the rest running in standard dpi. this would once and for all make it usable on each and every phone out there.
[Samsung Galaxy Nexus] molesarecoming:
i will carefully ask my gf if she lends her s2 for that, its running on hydrogenics.
[Samsung Galaxy Nexus] twistedumbrella:
It would be a hefty task but I imagine display metrics could be hacked to not need a reboot. Honestly the easiest way is just to change it and hot reboot. I still haven't looked into a way to trigger that from settings though instead of the reboot even though it makes more sense.

Ill have to clean up the code to fit back into their settings, but it was basically just calling

private void determineTablet() {
Display display = ((WindowManager)getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
int width = display.getWidth();
int tabletValue = width * DisplayMetrics.DENSITY_DEFAULT / 600;
setLcdDensity(tabletValue, true);
mStockDensity.setSummary("Density set to: " + tabletValue);
}

With a secondary set density preference option and I have the reboot portion as a boolean parameter of setLcdDensity to avoid duplication.
[Samsung Galaxy Nexus] itsjusttim:
Maybe an app or something that runs in a shell and the user can choose the dpi for each app selected. As some apps look great at stock dpi and some slightly smaller, some at tablet dpi.. Somehow it fools the apps?

I have no idea if this is actually possible but seems somewhat logically possible in my head.. And if we had a developer who could do it they could make a lot of money
[Samsung Galaxy Nexus] Samiej6:
Tested with hydrogen and got a boot loop too
[Samsung Galaxy Nexus] molesarecoming:
im thinking it'd be not so hard to implement a hook into the framework that can be accessed from outside at runtime. all we need to do is fix the part where the apk loader boots up the package and decides which layout to choose from the res-library. the hook should draw from public properties that tell it when to intervene for individual apps by simply re-calculating for standard dpi (320). the loader takes up the corresponding layout and thats that: pure hybrid mode. no more crashing phone, no more facebook with tiny fonts, no more market trouble, no more launcher problems. all problems gone. plus, tablet mode will reach all phones, even those with small displays, like the s2 and smaller.

but im crippled with my silly no-ram laptop. i don't think it can compile ics.
[Samsung Galaxy Nexus] twistedumbrella:
Makes sense but it would be a nightmare in smali. The biggest issue sounds like getting it to work without causing a lot of lag and inconsistency. It really shouldn't though. The market hack uses the same concept. Intercept the build property read and more or less ignore it. Problem is apps are often designed to read it locally and leave you almost spoofing the value to the app but using the values you want.
[Samsung Galaxy Nexus] molesarecoming:
you are right, the market is something else, i didn't think of it. the market needs to read that value locally for restriction purposes. all apps on the other hand, as i have read, simply hand out their ressources and ics does with it what i wants. low-res, high-res, its for the os to decide. if that is really true, then i think here we'd have a nice leverage point. with that breaching strategy an app could drop up into standard dpi, even though the system is running in tablet mode, simply because the apk loader is dishing out "wrong" layouts based on a hooked displaymetrics result.

i studied the source a little bit, actually google themselves implemented such hooks. for instance right in the function which determines the system dpi they have an emulator prop (emu.sf.lcd_density) overriding ro.sf.lcd_density. i tried that one out by softbooting and it works nicely. we'd need something fast in there, something that can make a quick sanity check if to intervene or not. i don't think that this would slow down the system at all.

something like that:

File: DisplayMetrics.java, changes are in red

all thats missing is a way to know which app is using displaymetrics at that moment. im lacking a deeper android knowledge right now to know if that can be retrieved easily. but if it could that would probably be it. if at that point we cannot know the apps name we'd need to go higher, at some point the package loader must know for whom to dish out what. we now could define per app dpi's at boot time by a simple build.prop edit: qemu.sf.lcd_density.com.skype.raider-1 = 320, BAM, skype runs in default dpi. with this in check tablet mode ain't no problem anymore. well, except for the damned marked. :p
[Samsung Galaxy Nexus] molesarecoming:
i hacked this into an aokp request over at rootz: http://rootzwiki.com/topic/23112-request-per-app-dpi-setting-to-once-and-for-all-solve-tablet-mode/ lets see what happens. :)
[Samsung Galaxy Nexus] twistedumbrella:
Not sure how compatibility mode works but it seems to be along the lines of intending to do that and with ics it ics a per app setting. Problem is it always seems to break apps instead of fixing them.
[Samsung Galaxy Nexus] molesarecoming:
i actually tried that. it was one of the first things i tried with apex, to force it into compatibilty mode and it worked indeed. the problem was that compatibility mode does not mind the resource mechanism to pick out what fits best, i'll simply take the base resources and blow them up. it looked horrible, graphics were screwed beyond repair, yet the layout was correct. maybe there is a way to do something about it but i wouldn't know because im just stabbing into the dark.
[Samsung Galaxy Nexus] :
The notification I got when my phone was on Vibrate or Silent is no longer showing up in tablet mode... anyway I can go around this?

I can live without the alarm icon, but I really do need to know if my phone is on vibrate or not....

any ideas?
[Samsung Galaxy Nexus] bill12690:
For anyone interested, I downloaded ice cream sandwich keyboard from the play store....works great. Just like stock
[Samsung Galaxy Nexus] molesarecoming:
great addition! i've put it up. :)
[Samsung Galaxy Nexus] bill12690:
Just for reference, although I'm sure it says it in the description in the play store... the paid version has a key height setting, although it isn't really needed. Just in case someone decides they need it, its there
[Samsung Galaxy Nexus] bill12690:
I have a question, any way to disable the IME switcher? I'm assuming its a tablet mode thing, I have it disabled in the aokp settings, and if I enable it I have 2..
[Samsung Galaxy Nexus] molesarecoming:
i noticed that one, too. but somehow i like it, its more functional than the old one since you can immediately access your keyboards without dropping something down and tapping here and there, get into the settings or setup each keyboard individually. i havent actually tried to kill the standard switcher, good that you mention it, i'll try and see if it works. don't think though that we can solve deeper issues without hacking or re-compiling the framework. :)

.

.

.

yay, it works! one icon less, better switcher remains. : D

aaaand its up on the op. thx for the hints man!
[Samsung Galaxy Nexus] Salem24:
Where can I change the number of icons in the dock of nova launcher? The dock option is missing in settings.
[Samsung Galaxy Nexus] molesarecoming:
no idea if nova can do this. i havent taken it away thats for certain : P

its an issue with your rom or maybe tablet mode in general. they haven't included it for whatever reason. no chance to change it unless someone fixes and recompiles the framework. you'll have to live with it. alarm works though.
[Samsung Galaxy Nexus] bill12690:
I see I got thanks in the OP! Ha, thanks :) I was actually hoping to maybe disable both. While it is convenient, I only plan to use one keyboard and sometimes hit it, interrupting my typing.

EDIT: Guess I asked too soon, I figured out how to disable both. I'm used to being at work all the time so I'm too busy to do things for myself, but I got it this time lol. What I did was navigate to /system/app and rename LatinIME.apk to LatinIME.apk.bak, which removed it from the "language & input" section of settings. Now when I type, i have no IME notification at all unless I have more than one checked in my settings.
[Samsung Galaxy Nexus] sdfguerreiro:
Would this work on a SGS2?...:D
[Samsung Galaxy Nexus] itsjusttim:
Yes but is not really usable as the dpi would have to be terribly low
[Samsung Galaxy Nexus] sdfguerreiro:
128 dpi, right? I'm sooo sad....:(
[Samsung Galaxy Nexus] cchant:
Thumb Keyboard works

https://play.google.com/store/apps/details?id=com.beansoft.keyboardplus&hl=en
[Samsung Galaxy Nexus] loonsy:
Any chance of a mirror other than rapidshare? Thanks.
[Samsung Galaxy Nexus] Farhang:
Hi.

Sorry if this has been asked before, but now that I`m using Tablet Mode, what resolution should I search for a wallpaper since 1440x1280 pics doesn't fit anymore. (Kinda zoomed in)

Much appreciated.
[Samsung Galaxy Nexus] jellydroid13:
Any chance you guys can get the browser running at stock?
[Samsung Galaxy Nexus] molesarecoming:
not without a deeper framework change. i submitted a request for that in aokp's forum but i woudn't hold my breath for this.

i uploaded it to mediafire. you find the links in the opening page. whats wrong with rs, though?

a few pages back someone figured it out for 160 i believe but for 192 its unclear at the moment. if you wanna try please go ahead and report back. im using livewallpapers mostly so i haven't been trying to resolve it but i'll be glad putting it up if someone does.
[Samsung Galaxy Nexus] molesarecoming:
btw, that market ... its making my blood boil. just when you think you have it working, woosh, it craps out. im getting barely any apps again, no imdb, not catlog, nothing, what - the - fff?! wiped caches, data, nothing. then i tried changing to another of my gmail accounts and oh wonder it works like a charm again. this thing is a pest, they must have overloaded it with so much cleverness its outwitting itself.
[Samsung Galaxy Nexus] psycho2097:
tried this today, long overdue, been trying to put this off for a long time, but gave in today. Love everything about it, love the gmail, camera, talk apks, not so much the browser,but i can live with it. Really adore the notification bar+navbar, been wanting that ever since i got the GN. Anyhoo, one problem though, none of my weather+clock widgets fit the screen properly. HD widgets, Sense flip clocks(3 of them), world weather widget, BW, none of them fill the screen properly, centering in the middle 3 columns insead(i use 5x5). I tried other grids but even then, NADA. Any ideas ?
[Samsung Galaxy Nexus] molesarecoming:
well thats strange? nothing should change in that regard. maybe you have weird margins throwing it off. maybe set them to none and see what that does. im using a couple of widgets, snowstorm for weather, bobclockd3, email, couple of others, on 5x4 though, small margins because i like the overscroll effect better.

no problems until now:
[Samsung Galaxy Nexus] psycho2097:
Thanks for your fast response. Here's what I mean.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] molesarecoming:
well, resize it, blow it up. if its not switched on yet: nova settings/behaviour/resize all widgets.

if it doesn't work the widget has a fixed layout and that'll be shrunk of course because it obeys the system dpi. i noticed that some widgets do adapt nicely and some don't. that clock for instance you see on my homescreen can't adapt, it sucks, but i live with it-its supposed to be twice as big actually.
[Samsung Galaxy Nexus] psycho2097:
Yea of course its turned on,doesn't help.stays centered. I guess fixed layout.oh well,know of any expandable type weather Widgets?

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Chilled26:
Can you share your wallpaper? Looks great.
[Samsung Galaxy Nexus] saintsmmx:
Thank you milesarecoming for the really great work, really appreciate it.

Where can I find these wallpapers? :D

Also, AOKP Build 32 is out, these 6 steps will still work for that right?
[Samsung Galaxy Nexus] molesarecoming:
its androidify from the market, comes with a livewallpaper

32 is out? yay! sure it'll work, and i just see theres tablet relevant stuff in it.

if the first point is what i think it is all netflix/youtube users will rejoice...

installing it now. :D
[Samsung Galaxy Nexus] Medic97:
Just installed 32 restored all my apps getting ready to set this up again. I was using this mod on 29 till now with no problems. other then the fact the navbar didn't always open when I pushed it. Are the steps the same for 32?

Note: if you download using mediafire rename zip to apk.
[Samsung Galaxy Nexus] nick w:
I thinks this is a fantastic mod but i have reverted to MoDaCo Rom IR13

There were some key issues i found.

Rotation was shocking. I wanted to keep it enabled but i thought that rotating the caller screen was very annoying during calls and would sometimes "stick"

Youtube wouldnt play full screen, infact no videos would play full screen

GoogleTalk was tricky to read and didn't look very pleasant under the new constraints of the screen resolution

Phone would loose signal on AOKP build 31 and would take 5 mins switching airplane mode on then off or i would bounce the phone, baseband or kernal update might solve

Alternative keyboards are never as good as stock i think. always a bit buggy

If these would get resolved i would very much be happy to move over!

Nick
[Samsung Galaxy Nexus] saintsmmx:
Hey thanks for that.

How did B 32 work for you? I think I'm going back to my backup of 31 because there are too many bugs on this one
[Samsung Galaxy Nexus] Medic97:
What bugs you running into? the only issue im having is the menu button. Instead of the 3 dots it has a another design and its making all the nav button TINY. Other issus is that the font seems smaller even on huge for some reason.
[Samsung Galaxy Nexus] saintsmmx:
Yeah I ran into that one, where the Menu button problem would actually cause FC's. Plus my Nav buttons where really close together and the buttons were difficult to press.
[Samsung Galaxy Nexus] Medic97:
Yes they are close and i have big fingers so this sux.
[Samsung Galaxy Nexus] molesarecoming:
wow - b32 is bugged - i'd say unusable for tablet mode, DO NOT INSTALL IT! :(
[Samsung Galaxy Nexus] Medic97:
Yup thats the issue i was talking about. going back to my nandroid which is B29.
[Samsung Galaxy Nexus] molesarecoming:
hmmmm, most of these issues i do not have. signal is like before, keyboards work great (those on the op at least and swype kills the android standard keyboard, but i'll admit it looks crappy), rotation is normal, fonts are readable if you set them to huge-a few apps fall out though because they were hardcoded and use px instead of sp for their fonts. fullscreen is not featured by tablets i guess, i was hoping that aokp b32 was going to change that but we'll have to wait for 33 and see if it does. for now i'd suggest you leave modaco and revert to aokp b31 as modaco seems to introduce alot of bugs. aokp is optimized for both handsets and tablets, im guessing that could be the reason its more stable.
[Samsung Galaxy Nexus] nick w:
thanks for your reply, is there a fix for full video playback?

Or am i the only one with this issue?

Thanks

N
[Samsung Galaxy Nexus] molesarecoming:
no, its just how a tablet deals with this. that doesn't make it right of course but to change it in this context would be impossible since everyone's running a different rom. little fixes like nova, google play and so on are plattform independant that's why we can share them here. a framework fix on the other hand would only work for a small amount of people though.

this issue will either be solved if aokp or another team decides to do so and you should push them always with requests, or if a good cook steps up and helps us baking a hybrid rom. "tablet roms" are out there, but they change those two values in build.prop and thats that, but we all know its not enough by far as we need real fixes and real solutions, true fullscreen being one of the many necessities.
[Samsung Galaxy Nexus] nick w:
Wow, what a fantastic reply. Thanks very much!

I didnt realise it was so much work to implement

n
[Samsung Galaxy Nexus] molesarecoming:
it probably isn't but the parts it concerns belong to the rom in particular. such a change would become obsolete in no time and you'd need to compile a whole bunch of them for each rom that is out there, maybe even gsm & cdma. that's why im crossing my fingers that one day we'll have a dedidated rom for this kind of stuff. :)
[Samsung Galaxy Nexus] molesarecoming:
btw, thanks to everyone who has voted for this: http://feedback.novalauncher.com/fo...tting-for-tablet-mode-on-high-density-phones-

we are way up there, #7 of 203 requests in just a couple of days, its quite amazing and just cannot be overlooked anymore. :)
[Samsung Galaxy Nexus] psycho2097:
Foxhound default wallpaper. Btw,ne1 know how to turn down the vibration intensity of the fixed ics keyboard? Its way 2 strong 4 me......

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] molesarecoming:
input settings/ice cream sandwich keyboard/advanced settings/vibration duration settings/10ms