[Q] DPI and Screen Recording - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

Hi everyone, I was hoping someone might have the patience to explain to me what I'm doing wrong or if this is just a by-product of the nightly I'm using.
I'm running Beanstalk latest nightly for jflte, I own a USC S4. I've been trying to configure the Screen Recorder to show various functions/themes of a launcher, except when I play it back (I've only tried on the phone with various media players) I get this super imposed discolored fraction of my bottom screen over the top of my video. I can record well enough at lower resolution settings but I'd like to put the best quality I can.
Beanstalk gives me the option to use a custom LCD Density and I've ran through the mid 350's to 480. If I'm not mistaken the S4 DPI is suppose to be 441 at a resolution 1080x1920 but I can not seem to get that to work. I've also notice this issue with other ROMS that allow recording and I've actually had to stop using them because they don't have the option to change recording resolution, with BeanStalk I'm able to change the resolution so I'm able to record at least something.
I'll probably end up being a SCR app so I can bypass the whole problem but if someone could explain to me what I might be doing wrong that would be awesome.
Best Regards, Michael.

Related

[Q] Screen resolution not correct, looks 'fuzzy'?

Hi all,
I recently rooted a friend's wildfire for her and put Cyanogenmod 7 on there.
I put on the latest nightly build.
I gave her the phone back and she's generally loving it but has noticed the screen doesn't seem very sharp.
I had a look and it does seem like the icons and text etc are not very sharp.
Like when you run an LCD outwith it's native resolution.
Is there any way to check that its running the correct resolution or to sharpen things up a bit?
Does anyone else running CM7 notice the screen 'fuzziness'?
Thanks in advance.
If some icons are unsharp, try installing themes that alter the icons (in the development section for wildfire here [theme for theme chooser] topics), that might help
also, there is an app "LCD density changer" of which there is a topic here. Lowering it made everything a bit sharper I heard, but it made my smartphone crash (works for others) so use at own risk: http://forum.xda-developers.com/showthread.php?t=769645

Remove Black Bars on HDMI Output

So I've discovered that a simple terminal command fixes the black bars on the left and right when outputting through HDMI. It's caused by the tablet outputting a 1280x800 display to a 1280x720 signal. This is easily fixed by changing the device's resolution with the following command:
wm size 720x1280
To revert to the tablet's original resolution, use:
wm size reset
You may need to run the "su" command first for these commands to work, and you do need to be rooted in order for it to work. This will cause some things to get wonky, like the nav buttons disappearing in landscape orientation or the status bar being hard to pull down (perhaps solvable with a change to the DPI), but if you're planning to use this trick for gaming (which was my reason), using something like Smart Launcher 2 with a controller makes this a non-issue. If you want a quick and easy way to switch back and forth, try QuickTerminal on the Play Store and set up both terminal commands as "Quick Commands", or at least that's how I've done it. Now, the picture on your TV will fill the screen. This is as close to Console Mode as we'll probably ever see on this device, so I thought this might help a few people out!
rchrdcrg said:
So I've discovered that a simple terminal command fixes the black bars on the left and right when outputting through HDMI. It's caused by the tablet outputting a 1280x800 display to a 1280x720 signal. This is easily fixed by changing the device's resolution with the following command:
wm size 720x1280
To revert to the tablet's original resolution, use:
wm size reset
You may need to run the "su" command first for these commands to work, and you do need to be rooted in order for it to work. This will cause some things to get wonky, like the nav buttons disappearing in landscape orientation or the status bar being hard to pull down (perhaps solvable with a change to the DPI), but if you're planning to use this trick for gaming (which was my reason), using something like Smart Launcher 2 with a controller makes this a non-issue. If you want a quick and easy way to switch back and forth, try QuickTerminal on the Play Store and set up both terminal commands as "Quick Commands", or at least that's how I've done it. Now, the picture on your TV will fill the screen. This is as close to Console Mode as we'll probably ever see on this device, so I thought this might help a few people out!
Click to expand...
Click to collapse
I've been doing something similar with the NOM Resolution Changer app but I can't get the DPI settings right to match the 720x1280 res. It gets a bit tricky getting back into settings etc after changing the res as my app drawer is inaccessible after doing so. I always just resort back to default with the fail safe timer, I really don't want to get stuck in a resolution which i can't get back out of.
Andy4Shurr said:
I've been doing something similar with the NOM Resolution Changer app but I can't get the DPI settings right to match the 720x1280 res. It gets a bit tricky getting back into settings etc after changing the res as my app drawer is inaccessible after doing so. I always just resort back to default with the fail safe timer, I really don't want to get stuck in a resolution which i can't get back out of.
Click to expand...
Click to collapse
I haven't had that probably making the change manually, and I do believe I tried the app you mention and had the same issue, so you might wanna try testing the terminal command out; if it messes up, you can always reboot the tablet and everything will properly reformat for the lower resolution and then you should be able to change it back with "wm size reset".
rchrdcrg said:
I haven't had that probably making the change manually, and I do believe I tried the app you mention and had the same issue, so you might wanna try testing the terminal command out; if it messes up, you can always reboot the tablet and everything will properly reformat for the lower resolution and then you should be able to change it back with "wm size reset".
Click to expand...
Click to collapse
Thanks rchrdcrg, yeah I'll give it a whirl that way. It is really annoying having those black end sections on the output!!
I've got a chromecast and been trying to get the 'cast screen' option to work using r3pwn's method here http://forum.xda-developers.com/hardware-hacking/chromecast/experimental-enable-mirroring-device-t2812193/page167#post55119152
I thought that might be worth a shot to see if the output res remains at 1200 x 800 for the mirror but I can't get a picture to display, only sound, when it connects and tries to cast screen. I'm thinking it probably won't make a difference though as I have just bought a miracast ezcast m2 dongle too and that still displays at the 1200 x 800 resolution when miracast is used. It probably is just a rom limitation at the moment.
Andy4Shurr said:
Thanks rchrdcrg, yeah I'll give it a whirl that way. It is really annoying having those black end sections on the output!!
I've got a chromecast and been trying to get the 'cast screen' option to work using r3pwn's method here http://forum.xda-developers.com/hardware-hacking/chromecast/experimental-enable-mirroring-device-t2812193/page167#post55119152
I thought that might be worth a shot to see if the output res remains at 1200 x 800 for the mirror but I can't get a picture to display, only sound, when it connects and tries to cast screen. I'm thinking it probably won't make a difference though as I have just bought a miracast ezcast m2 dongle too and that still displays at the 1200 x 800 resolution when miracast is used. It probably is just a rom limitation at the moment.
Click to expand...
Click to collapse
Yeah, I "borrowed" a Chromecast from Best Buy and could never get screen casting to work. You might want to see if changing the resolution fixes this issue with Miracast as well... I have a suspicion it will, and that might be useful to some folks. I sure wish I knew how to force the HDMI output to 1080p; it switches over when playing a 1080p video, so I know it's possible, but I don't know enough about development stuff to know how it's doing that, and forcing the resolution to 1080x1920 with the "wm size" command just displays a 1080p picture downscaled to 720p.
try vlc beta off the play store
here's a sort of rant and with a video playback only solution. Not sure how to hide the rant part. I don't forum anything much.
I bought a Belkin miracast adapter off amazon, and have had trouble getting videos playing properly in full screen. It would mirror the 1280x800 with videos played with regular video apps ( MX player, Archos player, stock) which would be 16:10, and would have those bars on either side on both my 1080p insignia tv and our pseudo 720p panasonic (actual res was 1024x768, but at 16:9, which should be illegal to market as a hdtv). I know from previous experience with my galaxy s4, which the samsung video app would mirror only the video at the correct tv resolution, leaving the phone as the remote. You could also use other apps while any video was playing through the samsung watchon (video) app. So randomly downloaded the vlc beta off the play store. It works for the tegra note 7 the same way samsung set up theirs, minus the multitasking(so far). It took me weeks on and off being frustrated with apps that wouldn't recognise that mirroring was enabled to take advantage of the external display. It's kinda whatever now seeing how much time I spent trying to get the video to play properly by itself, for my s4 I tried mhl cables, chromecast, dlna. this works a lot better
So if you just want videos to play, use the vlc player beta. you can use miracast or hdmi. works the same with both. Only if I could miracast surround sound. that would be nice.
I've just started using my tablet and a HDMI cable to run XBMC. This tip has saved me much frustration.
I already use Tasker which can send terminal commands as an action to make it easier. Tasker does have a HDMI plugged state which should allow this to be automated but for some reason tasker doesn't seem to detect it, not sure why yet.
So I've been fiddling a bit more to optimiser the HDMI experience. I've discovered an app called second screen that let's you sert display profiles and launch then the HDMI is plugged in. Thee app sets the size, resolution, dims the screen and force closes the UI to make sure the new settings actually come into effect. It will also revert the changes when the cable is removed. Does need to run on a rooted device but mine is already.

[Q] CM13 any way to change Resolution ? (mean not DPI)

Hi guys,
i tried many things to change the display resolution(to hd instead of fullhd), google'd a'lot ... but whenever i try to change the screen res with CM13, the phone restarts or doesn't apply the res.
the reason why i like to change is because of some heavy 3D games run much smoother (more fps, the phone becomes not hot, lower battery usage) which is working very good in TW roms.
If someone knows a method, or atleast a "per app resoluion change"(don't care about system UI res) please share your knowledge, thanks in advance
things i tried already:
'resolution changer'
'NoMONE' resolution changer
'Screen Shift'
result all in a phone reboot or bootloop
Update:
Ok, it did work over adb wm size, testing some things

Lower Resolution issues with Daydream VR

Alright, I'm reaching out to the community for help on this one. With the recent sale on Daydream VR (they're $50 from Google and Verizon right now), I have been trying to optimize my 6P with the VR set. I have tried some of the suggestions on the form, but I'm still having stuttering issues. So I had the idea about lowering the resolution. So I used the "wm size 1080x1920" trick and successfully dropped by resolution down, and adjusted the DPI accordingly. It runs well, however, when I put it in the VR set, the viewing angles are messed up. When I put the headset on, both eyes are not lined up with each other. I fiddled around with all the wm settings I could find (overscan, scaling, etc), and I can confirm that the viewing angle is messed up in the opposite direction when I set the size over 4k.
I used a Display Settings app to look at my settings, and it seems as though the device thinks the actual screen size is changing when I change the resolution, which may be why Daydream is maligning the eye points.
Is there a way to change the resolution while making the device think the screen size has stayed the same? Or is there a way to change this info just for Daydream?
If it's any encouragement, the Daydream apps ran very smoothly with one eye closed at 1080p. The Google Photos app stuttered at 4k but had no problem at 1080. So if we can figure this out, we could have a smoothly running Daydream setup.
razgriz8426 said:
Alright, I'm reaching out to the community for help on this one. With the recent sale on Daydream VR (they're $50 from Google and Verizon right now), I have been trying to optimize my 6P with the VR set. I have tried some of the suggestions on the form, but I'm still having stuttering issues. So I had the idea about lowering the resolution. So I used the "wm size 1080x1920" trick and successfully dropped by resolution down, and adjusted the DPI accordingly. It runs well, however, when I put it in the VR set, the viewing angles are messed up. When I put the headset on, both eyes are not lined up with each other. I fiddled around with all the wm settings I could find (overscan, scaling, etc), and I can confirm that the viewing angle is messed up in the opposite direction when I set the size over 4k.
I used a Display Settings app to look at my settings, and it seems as though the device thinks the actual screen size is changing when I change the resolution, which may be why Daydream is maligning the eye points.
Is there a way to change the resolution while making the device think the screen size has stayed the same? Or is there a way to change this info just for Daydream?
If it's any encouragement, the Daydream apps ran very smoothly with one eye closed at 1080p. The Google Photos app stuttered at 4k but had no problem at 1080. So if we can figure this out, we could have a smoothly running Daydream setup.
Click to expand...
Click to collapse
It's just a guess, but have you tried to edit the build.prop file in order to "mess around" with declared display density over there?
chk27 said:
It's just a guess, but have you tried to edit the build.prop file in order to "mess around" with declared display density over there?
Click to expand...
Click to collapse
Yes, I messed with any of the build.prop settings that dealt with display. I long ago gave up and now have an Axon 7. Good luck to anyone else trying it!

4K option or forced 1080p?

Was wondering if this display shows native 4K all the time or has user selectable option for it?
Was super pissed with my XZ Premium being forced to render at 1080p in all but a few apps.
4K is only useful on this size screen for VR, so won't make the same mistake again.
gaijin1% said:
Was wondering if this display shows native 4K all the time or has user selectable option for it?
Was super pissed with my XZ Premium being forced to render at 1080p in all but a few apps.
4K is only useful on this size screen for VR, so won't make the same mistake again.
Click to expand...
Click to collapse
Forced 1080p but you could make the xz 4k all the time through adb look it up
ariy11 said:
Forced 1080p but you could make the xz 4k all the time through adb look it up
Click to expand...
Click to collapse
Thanks for the reply. You answered my question.
Actually, the adb method was only emulated 4K, not native. Still selected the resources from xxhdpi folders and blew them up. Doesn't even select the xxxhdpi higher resolution images for 2K. For the best I guess. then it would scale it down to 1080p before enlarging to 4K adding extra blur.
ariy11 said:
Forced 1080p but you could make the xz 4k all the time through adb look it up
Click to expand...
Click to collapse
What command in adb can force this screen resolution?
For the XZ Premium apparently the following would have worked:
In an ADB shell:
wm size 2160×3840
wm density 820
In my case the wb size command gives me:
Error: bad size 2160×3840
Probably we need another resolution
After change it to 4K, the screenshot have an issue ( not capturing the whole screen as 4k but the screen at a corner with other space in black. How do you guys solve this issue?
wm size 2160×3840
wm density 820
In my case the wb size command gives me:
Error: bad size 2160×3840
Try....2160x3840
Not ....2160*3840
I just placed my xz2p into native 4k mode with the dpi set at 640/xxxhdpi. I really like the increase in real estate and the integer scaling makes everything look crisp.
That said, I've currently got two hiccups (not already mentioned, I also have the screenshoting issue hereto described) related to dpi change:
(1) The monochrome viewfinder is behaving strangely, but still serviceable (wrong aspect ratio & tap to focus doesn't move the focus indicator)
(2) The rotation animation is really broken and is either firing twice or has some other timing related issue.
#1 I can live with, but #2 is a real drag. I've turned the transition animations off in the dev setting, but it still looks really weird when i rotate.
Any ideas? It seems like sony has made some additional changes to deal with the 4k/1080p pop in and out. Simply setting the WM mode doesn't appear to manipulate those hidden settings. Perhaps one of the on phone apps needs to be disabled?
Edit: https://forum.xda-developers.com/xz...20hz-quest-t3852052/post78603665#post78603665
...according to the xzp forums, its not actually 4k? how can one verify this?
Edit2: Saying things that will have me eating crow in no time!
I'm at least somewhat convinced the xzp peps are wrong. I have been swapping the phone from [email protected] dpi to [email protected] dpi. If they are correct either both would look exactly the same or the 4k version would look worse (because of the double scaling). It clearly looks better. A good test to try; make the icons and text as large as you can in nova launcher and switch between the two. If you look at the top and bottom of the dark ring inside the camera icon you'll see clear aliasing at 1080p and smooth curves at 4k. Just a reminder anything that is not a perfect multiple of 160 will always cause scaling on android. same with dpi values over 640.
I've got a pretty decent canon camera(xc10) with 10x optical zoom, once I find the charger for it I'm going to try to get some clean photos of the screen in the two mode and post 100% crops here.
blinksilver said:
I've got a pretty decent canon camera(xc10) with 10x optical zoom, once I find the charger for it I'm going to try to get some clean photos of the screen in the two mode and post 100% crops here.
Click to expand...
Click to collapse
Can you do that? Also a comparison of Instagram, or VSCO high quality photos?

Categories

Resources