5,598,718 Members 37,896 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Getting tablet UI on CM9

Tip us?
 
AndroidON
Old
(Last edited by AndroidON; 6th February 2012 at 08:13 AM.)
#1  
Senior Member - OP
Thanks Meter 495
Posts: 154
Join Date: May 2011
Location: Cheongju-si
Default [MOD] Getting tablet UI on CM9

Since I saw some people wants tablet UI on mirroring or lapdock,

I made a file for Atrix's CM9 based on this thread.

http://forum.xda-developers.com/show....php?t=1467051


I didn't post a screenshot cause you can see it at link.

Every UI will change to that of tablet, and every app will act as tablet.


So here's the steps you have to do.


http://api2.ge.tt/0/81rFJED/0/blob/download

1. Download services.jar and overwrite it to /system/framework.
(Of course, need 644 permission.
If you are not sure, see other file's permission in folder.)

(This file is based on alpha 7)

2. Open /system/build.prop

3. Find the line 'ro.build.characteristics=default'
and change the 'default' to 'tablet'

4. Set the screen density to 120 by changing
'ro.sf.lcd_density=240' to 'ro.sf.lcd_density=120'

5. Save and reboot.

6. You will get tablet UI


So, If you want to get back,

just change your density to 240 and it will revert to phone UI.

We need reboot between UI change now,

but maybe devs can do some mod after CM9 have all feature
The Following 16 Users Say Thank You to AndroidON For This Useful Post: [ Click to Expand ]
 
nikidorian
Old
(Last edited by nikidorian; 6th February 2012 at 09:41 AM.)
#2  
nikidorian's Avatar
Member
Thanks Meter 31
Posts: 89
Join Date: Aug 2011
Location: Somewhere In Time
Awesome but, it doesn't look very good on the lap dock - there is something wrong with the resolution. Im sure it will be fixed.
Additionally if the phone could switch the UI from Phone to Tablet when HDMI is connected it would be an awesome way to ditch the awful Webtop.
qhdwallpapers is down, sorry! I cant afford to keep it up any more!!
 
leonardoaraujo
Old
#3  
leonardoaraujo's Avatar
Senior Member
Thanks Meter 1317
Posts: 924
Join Date: Feb 2009
Location: Belo Horizonte
+1 Thanks to you man!!
was trying to do this by editing the services.jar, this is WONDERFUL.

if possible can you tell me how to do a PM? (where changing the file classes), baksmali, simali need not only change which line ...
Samsung Galaxy S III
Rom: Samsung 4.2.1 & AOSPA 3+







Do not be rude, be thankful if you like my work!
 
leonardoaraujo
Old
#4  
leonardoaraujo's Avatar
Senior Member
Thanks Meter 1317
Posts: 924
Join Date: Feb 2009
Location: Belo Horizonte
Default soluttion calls

folks, you should now be aware that the "app called" force close, I've tried the app (phone) several roms without success .. == force close when calling ==
ps: but the calls continue in the background!

some options:

1 - ShakeCall (has other apps)
2 - accessibility options = end call button poweer
Samsung Galaxy S III
Rom: Samsung 4.2.1 & AOSPA 3+







Do not be rude, be thankful if you like my work!
 
^^rac
Old
#5  
^^rac's Avatar
Senior Member
Thanks Meter 20
Posts: 873
Join Date: Dec 2006
Location: Pretoria
This is cool!

I tried it, its like having a small tablet....

Just a pitty about the phone UI, its not actually usuable like that!

Whatching for development
Galaxy SIII / Galaxy Note 10.1 - the perfect pair
 
Notorious544d
Old
#6  
Notorious544d's Avatar
Senior Member
Thanks Meter 2380
Posts: 1,940
Join Date: Aug 2011
Location: London

 
DONATE TO ME
I see great potential in this.

If we could autoscript something, where if the phone recognises that it's been connected via HDMI (for mirroring), then it automatically changes into tablet UI. That'll be so freakin awesome! And it'll be a good webtop replacement for CM9!

-=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
If you like my work, kindly hit the 'thanks' button.
And if you're really kind, consider a small donation by hitting the smiley below.

 
nikidorian
Old
#7  
nikidorian's Avatar
Member
Thanks Meter 31
Posts: 89
Join Date: Aug 2011
Location: Somewhere In Time
Quote:
Originally Posted by Notorious544d View Post
I see great potential in this.

If we could autoscript something, where if the phone recognises that it's been connected via HDMI (for mirroring), then it automatically changes into tablet UI. That'll be so freakin awesome! And it'll be a good webtop replacement for CM9!
Thats what I've been saying...
qhdwallpapers is down, sorry! I cant afford to keep it up any more!!
 
slojko
Old
#8  
slojko's Avatar
Senior Member
Thanks Meter 58
Posts: 687
Join Date: Oct 2011
Quote:
Originally Posted by Notorious544d View Post
I see great potential in this.

If we could autoscript something, where if the phone recognises that it's been connected via HDMI (for mirroring), then it automatically changes into tablet UI. That'll be so freakin awesome! And it'll be a good webtop replacement for CM9!
+1
I thought somebody was already working on this.

Sent from my MB860 using xda premium

N5
 
leonardoaraujo
Old
(Last edited by leonardoaraujo; 7th February 2012 at 07:47 PM.)
#9  
leonardoaraujo's Avatar
Senior Member
Thanks Meter 1317
Posts: 924
Join Date: Feb 2009
Location: Belo Horizonte
Default try

is usable but ...

set large fonts ...
do not set the lcd_density so small, it can be adjusted, try 140 .... (I think)

I find it very usable ... hopefully someone with enough knowledge to resolve calls ...


Quote:
D/AudioMgrRIL( 1321): setting volume, volume = 6
I/AudioService( 1469): AudioFocus requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
D/lights ( 1469): RGB: "attention", color=0x00000000, flash=2, onMs/offMs=0/0 => blink=0, RGB=0 0 0
D/CallNotifier( 2693): showIncomingCall()... phone state = OFFHOOK
D/dalvikvm( 2693): GC_CONCURRENT freed 358K, 27% free 6530K/8839K, paused 2ms+2ms
D/lights ( 1469): LCD: SENSOR, 88 * 1.00 => 88
D/lights ( 1469): LCD: SENSOR, 82 * 1.00 => 82
D/lights ( 1469): LCD: SENSOR, 75 * 1.00 => 75
D/lights ( 1469): LCD: SENSOR, 69 * 1.00 => 69
D/dalvikvm( 2693): GC_CONCURRENT freed 422K, 27% free 6653K/9031K, paused 1ms+2ms
D/lights ( 1469): LCD: SENSOR, 63 * 1.00 => 63
D/lights ( 1469): LCD: SENSOR, 56 * 1.00 => 56
I/ ( 1400): odm_disp_esd_thread is running(200) state=1
D/lights ( 1469): RGB: "attention", color=0x00ffffff, flash=2, onMs/offMs=7/1000 => blink=1, RGB=255 255
255
D/lights ( 1469): LCD: SENSOR, 50 * 1.00 => 50
D/lights ( 1469): RGB: "attention", color=0x00000000, flash=2, onMs/offMs=0/0 => blink=0, RGB=0 0 0
D/lights ( 1469): LCD: SENSOR, 44 * 1.00 => 44
D/lights ( 1469): LCD: SENSOR, 37 * 1.00 => 37
D/lights ( 1469): RGB: "attention", color=0x00000000, flash=0, onMs/offMs=0/0 => blink=0, RGB=0 0 0
I/CustomSpnReader( 2693): operatorNumberic = 72402
I/CustomSpnReader( 2693): oriSpnName = TIM
I/CustomSpnReader( 2693): Current language is : pt
E/CustomSpnReader( 2693): Config File Path : /system/etc/spn-conf.xml
D/lights ( 1469): LCD: SENSOR, 31 * 1.00 => 31
D/lights ( 1469): LCD: SENSOR, 25 * 1.00 => 25
I/CustomSpnReader( 2693): expression : /spnOverrides/spnOverride[@numeric='72402']
W/ActivityThread( 2693): ClassLoader.getResources: The class loader returned by Thread.getContextClassLoa
der() may fail for processes that host multiple applications. You should explicitly specify a context cla
ss loader. For example: Thread.setContextClassLoader(getClass().getClassLo ader());
D/lights ( 1469): LCD: SENSOR, 18 * 1.00 => 18
E/CustomSpnReader( 2693): Not Found : 72402 in spn-conf.xml
D/lights ( 1469): LCD: SENSOR, 12 * 1.00 => 12
D/ComprehensiveCountryDetector( 1469): onServiceStateChanged
D/lights ( 1469): LCD: SENSOR, 6 * 1.00 => 6
D/lights ( 1469): LCD: SENSOR, 0 * 1.00 => 0
I/power ( 1469): *** set_screen_state 0
D/lights ( 1469): buttons: USER, 0
D/SurfaceFlinger( 1318): About to give-up screen, flinger = 0xf918
D/ ( 1400): NVRM_DAEMON(1137): pm_notifier_thread: calling power_displays(false)
I/ ( 1400): DispMgr recv'd NvDispMgrDisplayAttr_Suspend
I/ ( 1400): called NvDispMgrAttrSetTranslate() from attr_common err=0
I/ ( 1400): DispMgr recv'd NvDispMgrDisplayAttr_Suspend
I/ ( 1400): called NvDispMgrAttrSetTranslate() from attr_common err=0
D/ ( 1400): NvDdkDispBacklightTimeout() thread running
I/ ( 1400): enter motDsiSetMode
I/ ( 1400): exit motDsiSetMode
I/ ( 1400):
I/ ( 1400): enter motDsiSetPowerLevel
I/ ( 1400): enter motDsiSuspend
I/nvrm_daemon( 1394): NVRM_DAEMON(1137): pm_notifier_thread: calling power_displays(false)
E/AudioHardwareMot( 1321): Error:Unsupported key = tty_mode=tty_off
D/dalvikvm( 2693): GC_CONCURRENT freed 425K, 27% free 6718K/9095K, paused 3ms+2ms
I/ ( 1400): exit motDsiSuspend
I/ ( 1400):
I/ ( 1400): exit motDsiSetPowerLevel
I/ ( 1400):
D/ ( 1400): NVRM_DAEMON(1140): pm_notifier_thread: returned from power_displays(false)
I/nvrm_daemon( 1394): NVRM_DAEMON(1140): pm_notifier_thread: returned from power_displays(false)
E/AudioHardwareMot( 1321): Error:Unsupported key = screen_state=off
E/DefaultVoicemailNotifier( 2419): No voicemails to notify about: clear the notification.
D/AccelerometerListener( 2693): orientation: horizontal
D/MccTable( 2693): updateMccMncConfiguration: mcc=724, mnc=2
D/MccTable( 2693): locale set to null_br
D/MccTable( 2693): WIFI_COUNTRY_CODE set to br
I/WifiService( 1469): WifiService trying to set country code to br with persist set to true
D/dalvikvm( 1469): GC_EXPLICIT freed 558K, 31% free 9601K/13767K, paused 4ms+5ms
D/dalvikvm( 2693): GC_CONCURRENT freed 421K, 26% free 6839K/9223K, paused 2ms+3ms
D/Tethering( 1469): MasterInitialState.processMessage what=3
D/PicasaSyncManager( 2253): active network: null
D/PicasaSyncManager( 2253): background data: true
I/MediaUploader( 2232): No need to wake up

seems an error of speakers, and also a file in system/etc/spn-conf.xml
Samsung Galaxy S III
Rom: Samsung 4.2.1 & AOSPA 3+







Do not be rude, be thankful if you like my work!
 
meztizo_kid
Old
#10  
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Mar 2011
Smile WOW

I would love to have this ability. I am not a huge fan of the webtop as is, and if there was a method to use this UI through the HDMI connection (especially through a lapdock) I could see some cool things happening.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes