Change Resolution, Density and Overscan Easily! - Galaxy S6 General

Screen Shift​Change the screen resolution, density and overscan of your Android device​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Test your apps in a variety of screen resolutions using a single device
Improve gaming performance by playing at lower resolutions
Material design interface
In-built profiles of popular devices; more can be added manually
Screenshots
Downloads
Apk attached to this post.
Alternate download link: http://bit.ly/1H30hdT
Important Information
Some devices/ROMs are having reboot issues, a nandroid/Ti backup is recommended before trying the app.
If your screen becomes unusable after setting a resolution, wait for ~15 seconds. It should revert to your default resolution.
If that does not work, reboot -> wait for 2 min (for the service to start) -n reset[/QUOTE]> reboot again -> wait for service to start.
If that too does not work (I certainly hope that you won't have to do this), issue the following commands in adb shell (using a pc):
For JB 4.3 and above
wm size reset
wm density reset
wm overscan reset
Click to expand...
Click to collapse
Also please note that uninstalling the app won't restore default display settings. So please switch the service off first, if you want to uninstall. Also tell me why you uninstalled it.
Developed by
Aravind Sagar​

Please link to the original post instead of reposting.
http://forum.xda-developers.com/android/apps-games/app-screen-shift-change-screen-t3138718/post61432384#post61432384

Related

Hrck mods v1 (Color and stock roms only)

I spent my earlier part of this evening making this with a tool.It's an aroma installer package and for those who don't know what that is it's a mod which gives u an extra GUI in recovery and allows you to pick what mods you want to install.It's limited right now and read all here before messing up your device and coming back to report an error you made.
Disclaimer:I'm not responsible if your phone explodes,shocks you or melts or whatever.Do this at your own risk if there really are any.
The first version of this mod has 3 sections.
-You'll find root apps.Framaroot,root tools and xposed installer.Choose if you want them.
-You'll find nodo camera mod(don't use if you aren't on stock),and the xperia gallery app and more in the app section.Don't install oppogallery2 if your not on the stock rom except you want to try and you know how to revert.
-The clock widget section is a choose one only option to choose between the Oppo green,red,yellow clock widget respectively.Don't choose the 3 or you'll end up with the yellow.I included the order in the title so you don't have to remember.(due to renaming issues I had with the aroma compiler you need to go into /sytem/app and rename any oppodigitalclockwidgetG or r to "OppoDigitalClockWidget.apk")
This is the beginning and I'll add more and keep the package apps updated.
Hit thanks to say thanks and happy flashing.This are all compiled by me so if you share give me credit.Included apps[4.3camera,framaroot,Oppoclock widgets(R,G,Y),nodo-gt camera mod,recoverytools,G.E.sunbeam live wallpaper,xperia walkman,xperia gallery,xperia z ultra launcher,xposed framework]
Thanks to:
Sony
OPPO
bbs
nodo-gt
Mods link
V1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Trying to enable FULL Multiple User Support on G2 (not to be confused with GuestMode)

Hello everyone, I bring you this topic knowing that our G2s have some sort of crippled multi-user functionality.
But I was used to use the full multi-user support on my Galaxy Note since 4.2.2 (or any other Android with 4.2.2) which differs from LGs by a mile.
LGs implementation is limited to show only the apps you allow without means of changing wallpaper, pulling down the notification shade, etc. Android 4.2.2 can handle more than what LG gave us, like having a totally new and independent full session, including Sync accounts and apps which I found very convenient.
However when I tried the procedure described here it errors out for some reason with a "couldn't create user" error.
But when you get into the System Settings you get to see the new option "Users and Restrictions"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you go there you'll see:
If you click Add User:
If you click OK:
Obviously that's because of the error I got inside Terminal. I also disabled LG's Guest Mode in case it had something to do with it but it was a no go.
I'll try some other methods and keep you posted. Any ideas are welcome.
Cheers!
this is neat, @Rayan are you already has the fix?
Nope, unfortunately I have not found a solution yet.
I have tried all methods available but no solution yet.
Sent from my LG-D801 using Tapatalk

Get Fire TV Advanced Options via CommandLine or Libary (dev)

Hello guys,
I think many of you know these advanced options of the fire tv stick.
For my current project I need to be able to query the displayed video information (especially the color standard) via commandline or some libary. I have almost no experience with android development, but if someone has a solution I should be able to figure the rest out myself.
I suppose I would have to root the fire tv stick. After that I have no idea what to do. Since the information can be displayed via the advanced options, I assume that there must be a way to query them via command line or a libary.
Maybe someone with more experience in this field has an idea
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@chikko80
https://developer.amazon.com/docs/fire-tv/developer-tools.html#snapshot
>adb shell "dumpsys activity service com.amazon.ssm/.OverlayService|grep colorstandard"
[com.amazon.ssm.multimedia.video.colorstandard]: [BT709_8_SDR]
@Kramar111 Thats exactly what i need! Thank you!
I didn't even know that you can do this kind of stuff with adb.. Buts its really cool this way that you can ask remote via adb and run the scripts on another device
@Kramar111
I tested it today, and yeah basically its doing what i need, but the problem is, that i don't want to have open the Advanced Options all the time. The idea was to read out the color standard in the background without limiting the tv experience. So the advanced options menu should not be visible.
Do you have another idea?
@chikko80
No

Screen problem with MT8227L

Hello.
I have a problem with the screen, the whole top line of the screen is not working.
I tried updating version from android 8 to android 10, and then did format but without success.
In Google I saw that this is a known problem but without a solution, does anyone know how to fix it?
Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thats crazy.
My original unit year ago was like this, edge swiping from the top was a roll of the dice if it worked.
Does it function with a touchscreen pointer?
When you play a full screen video, and touch the screen there, does it repsond?
If your touchscreen is defective and they wont replace it. try doing a wm overscan 0,40,0,0
more info here : https://forum.xda-developers.com/t/...gb-128gb-10-1-1920x1200.4365419/post-85990887
and by googling 'wm overscan android'
forgivegod said:
Thats crazy.
My original unit year ago was like this, edge swiping from the top was a roll of the dice if it worked.
Does it function with a touchscreen pointer?
When you play a full screen video, and touch the screen there, does it repsond?
If your touchscreen is defective and they wont replace it. try doing a wm overscan 0,40,0,0
more info here : https://forum.xda-developers.com/t/...gb-128gb-10-1-1920x1200.4365419/post-85990887
and by googling 'wm overscan android'
Click to expand...
Click to collapse
There is no "wm overscan android" in the settings...
In full screen video it does not work
Cr4syMan said:
There is no "wm overscan android" in the settings...
Click to expand...
Click to collapse
you need to use the `wm` command in the adb shell

Spoof android.software.leanback feature

Hello,
I'm in the process of developing a single Android application that runs on multiple different types of devices.
From normal smartphone, tablet to Android TV.
The layouts and styling for each tend to look quite different.
To manually test these applications I can resort to using emulators.
A big downside to emulators is that they tend to take up a lot of valuable resources from the development machine.
Therefor I prefer using real devices. (Ideally just 1 device).
I can use my smartphone to test both the normal layout AND
with the help of the smallest width option in the developer settings I can also test the tablet layout.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However there is no such option available to spoof/fake Android TV/Google TV on my test smartphone.
AFAIK Android has a kind of prioritisation which layout it tries to inflate.
When it detects a device that has the android.software.leanback feature it will inflate the TV-layout which typically resides in the `layout-television` folder.
Programmatically I check it as such:
Java:
getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK));
// PackageManager.FEATURE_LEANBACK == "android.software.leanback"
Reference documentation https://developer.android.com/reference/android/content/pm/PackageManager#FEATURE_LEANBACK
Since this system feature is missing for normal smartphones it will never work.
You can find the supported features with:
Code:
adb shell pm list features
After some digging I found you can add these system features when you have root access.
They are kept in the /system/etc/permissions folder.
So I simply copy-pasted the `tv_core_hardware.xml` from the Android source code after which I briefly saw my phone render my application in Android TV.
Also the hasSystemFeature(PackageManager.FEATURE_LEANBACK) returned true!
Unfortunately the screens goes completely black after a second or two and reboots in panic mode.
TLDR; How can you force Android TV on a rooted smartphone/tablet?
FYI my rooted test device is an OnePlus 6
Thanks in advance.

Categories

Resources