Good Games to Show off Graphics on My Phone?

Mobile games may not be ready to replace your consoles, but they have seen incredible … more

Apple CEO Implies Users are Dumping Android for iPhones

Apple CEO Tim Cook told The Wallstreet Journal that just 15% of the newest iPhone … more

Easily Generate Layers Projects on Windows

This Windows tool by XDA Recognized Contributorbunchiescreates a Layers projectready to be … more

Xiaomi Releases the Kernel Code for Redmi Note LTE

Xiaomi is not well known for being GPL compliant. A nice step towards changing this … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] True Full screen? (fake hardware buttons)

OP Deathracelord

24th July 2014, 01:17 PM   |  #1  
OP Junior Member
Thanks Meter: 0
7 posts
Join Date:Joined: May 2014
Hi, I haven't been able to find much information about it so... I am trying to run a game - FF IV - in full screen on my Nexus 5. Usually it runs with the soft keys on the edge, but I can get rid of them by forcing immersive mode, however the game remains the same width but is pillarboxed. I have seen videos and images of this game running on other android devices and can confirm it can run in true 16:9 so I am trying to work out a way to do that.

Is there some way to trick the app into thinking the phone has hardware keys? Or to change the default resolution of the app?

Any help would be appreciated if you know anything about thus, or even something similar to this.

Edit: I am using the Xposed module app settings to force immersive mode for this app(I have also tried universal immersive mode) and have experimented with the DPI settings as well, but with no success. Will keep thread updated as I try new things.
Edit 2: Well, just checked out build.prop, nothing that seemed promising other than the DPI is 480... will keep searching.
Last edited by Deathracelord; 24th July 2014 at 01:37 PM.
24th July 2014, 01:59 PM   |  #2  
StupidIdea's Avatar
Recognized Developer
Thanks Meter: 1,399
1,249 posts
Join Date:Joined: Jun 2011
Donate to Me
My app GMD AHSK (root) will turn on hardware buttons setting. Other than some advanced setting it is free to use:

I don't know if it will help with FF form factor.
24th July 2014, 02:08 PM   |  #3  
OP Junior Member
Thanks Meter: 0
7 posts
Join Date:Joined: May 2014
Thanks for the reply! The app is able to hide the soft keys but the game still refuses to remove the black bars... I am wondering if it is some profile based on phone model? Well at least we know it's not a hard key issue.
24th July 2014, 02:32 PM   |  #4  
Lethargy's Avatar
Senior Member
Flag In a daydream
Thanks Meter: 2,946
4,737 posts
Join Date:Joined: Jan 2014
qemu.hw.mainkeys in build.prop determines whether the device has hardware keys or not, 0 means it doesn't and 1 means it does.

You can add qemu.hw.mainkeys=1 to the end of build.prop to disable soft keys however you'll have to reboot and its not practical to do just for one app lol.
24th July 2014, 02:53 PM   |  #5  
OP Junior Member
Thanks Meter: 0
7 posts
Join Date:Joined: May 2014
Thought I'd test it anyway to see if it worked... 3 reboots later and I'm still getting the black bars! I'm starting to suspect the images may have been stretched slightly... I might test on bluestacks or AVD tomorrow. *sigh* This is bugging me more then it should
24th July 2014, 03:23 PM   |  #6  
OP Junior Member
Thanks Meter: 0
7 posts
Join Date:Joined: May 2014
Changed pmy DPI to 160 as per this post:
However, while everything on my phone is now tiny FF IV still has black bars.
On a hunch I disabled immersive mode on the game, as in tablet mode the soft keys are down the bottom of the screen in landscape mode.
What happened was that the game resized to have larger black bars(maintaining its original form factor) due to the loss of vertical resolution due to the soft keys.
So it appears the game's resolution is set, perhaps it's only the iPhone 5 version that's 16:9? I'm going to switch back the DPI now, before the tiny text destroys my eyes. If anyone else has any ideas, let me know.
24th July 2014, 03:40 PM   |  #7  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 14,616
26,088 posts
Join Date:Joined: Aug 2010
I just stop using navbar and use Pie instead

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes