Change device resolution - Android Q&A, Help & Troubleshooting

Hello, I know there’s a lots off topics about this subject but can’t find any answer on this subject.
I have a phone that I need to change resolution. Since I’m developing an app that needs fixed resolution. The problem is that if I try to use an app to change resolution, the apk won’t work. Since that kind of resolution change is not at hardware level. So in order to my app work on the device, need to set resolution as native.
Things I tried so far:
Nomode resolution app and wm size xxxx ( resolution that I want. No luck
After that started to dig into build.prop in order to find a solution, tried the lines:
debug.drm.mode.force=720x1280
ro.sf.lcd_width=720
ro.sf.lcd_height=1280
No luck with this lines in build.prop
I believe theres a way to change device resolution via build.prop but I’m not getting it. Maybe I need more lines in build.prop or edit something related. Maybe frame buffer. Anyway need help. In raspberry it could be done, also could be done on android x86, now need to do it on real phone.
At the moment I’m trying this on an huawei phone, if anyone can help I really appreciate it. Thanks

Related

Secondary Display

I'm wondering how the second display is implemented - is the support built into WM5, or is it handled by a proprietary HTC app?
Would be great if we could display our own data on it - does anyone know if there is a standard API for controling secondary displays on WM5?
Got it - partially. It is possible to manipulate the framebuffer directly. Still need to figure out if there's an elegant way not to conflict with HTCs own Subdisplay service.
Update: Looks like the magic happens in SubDisplay.dll
Zone-MR said:
Got it - partially. It is possible to manipulate the framebuffer directly. Still need to figure out if there's an elegant way not to conflict with HTCs own Subdisplay service.
Update: Looks like the magic happens in SubDisplay.dll
Click to expand...
Click to collapse
Hi Zone-MR,
I'm not able to go so deep, but it may be of some help knowing that there is another user which may help:
http://smartphone.kleinweder.ch/downloads/index.php
He has the same device and many themes for it, some of them with images (even if not "control") of external device.
Writing this message I realized that it is of no use, but... I'm too lazy to cancel it... ;-)
Is there anyway to keep the secondary display alive by reg tweak? If so, can someone share the process?
FYI-I did try, HKLM>Software>HTC>Secondarydisplay and tried to change the display timeout value w/o any success. :x
Thanks
Zone-MR, any more info on using the external display? I found the subdisplayDLL.dll, which appears to be a driver? Couldn't find any documentation as to what the corresponding device is called, or any API for it.
Changing the external display
Guys, I have posted details at modaco of how to change the resources in the subdisplay.dll file, so you can have custom clocks, and change any icon you like.
See http://www.modaco.com/index.php?showtopic=243525&st=0&gopid=764669&[/url]

[Q] Debug/Disassemble Running Process

Hi All,
I have googled this issue and searched the forums, forgive me if I haven't followed the rules (which I have read).
I have a premium app (not mine, 3rd parties), i am not looking to hack it, I have bought it.
I am trying to work out how it does some background calculations with not much luck, it uses ( I am led to believe the NDK was used, so can't be decompiled in the usual way, it has a .so library and the decompiled java doesn't show much.).
So my thought have been turned to the asm of it, and I was wondering if there was a way to attach a debugged to a running android process and be able to disassemble that running process so I can "watch" the calculation happen.
I have a rooted android device, and like I say own the game.
I believe in the iOS world with xcode and a JB device you'd would need to attach a debugger to a running process, then put a hardware watchpoint on the offset you know is the value you need then you continue, do something in the game to trigger reading that value.
I just can't find anything similar for android.
Any help would be appreciated.
If this isnt the right place to ask a question like this can anyone point towards the right place?

I need to force a exact HDMI_GROUP and MODE, but where?

As I can do at any linux, I need to force my Android-MINIX X7(but may the same for other HDMI-capable android-Device) to use a specified mode.
The Problem seems to be, that only HDMI_GROUP=1 (TV-Resolutions) are supported by default, but the screen is only able to show HDMI_GROUP=2 (Computer-Resolutions)
As it is really not possible something different than XGA (hdmi_group=2 mode=16) I search the web for any possible way to do that.
I only found resolution-changer-apps, but this is not what I'm looking for. This apps only changes the virtual used resolution. But not the actual hdmi-output-mode.
Sorry for pushing ...
PLEASE: where is the place in Android where I can set the physical mode/resolution of the HDMI-Interface???
The device is a MINIX-X7 and so don't have a build in LCD/Touch, but a hdmi-connector. But it doesn't recognise the correct resolution from the connected LCD and goes "failsave" to 720p. I really NEED to override that.

file, i.e., text editor that monitors/detects file changes (locally)

Hello @all,<br>I'm kinda new to "asking a question on a forum" hence I kindly ask you in advance to be a bit apologetic for any blunder I'm going to 'produce' .. thx
The reason me being 'new' is because usually I find my way around—not that I consider myself almighty but a simple Google-search does it's magic .. usually. This time I ran out of luck, which surprised me (even a search-string-overhaul was to no avail).
I'm looking for a neat text/script editor that is capable of monitoring file-changes that may happen in the background while a file is open .. a standard for any given IDE on a PC-environment (in fact, the simplest notepad replacement would cover such basics). Or a precocious check upon file-saving would be sufficient. As of now every App I tried so far failed to notice when I "sneak into my own phone and 'secretly' modify a file" currently open by this very App (of course, there are different scenarios conceivable why a file might have changed, though). QuickEdit looked promising but .. alas .. and why the heck is no there UltraEdit available for Android .. but I reckon this would be an entirely different topic and too much to ask.
ps: chose the 'post'-icon because it seemed fit .. although in a slightly different way than probably intended
pps: for the non-working line-break .. just use your imagination

Change App Compatibility?

hello. i thought to be smart and download the APK through a downloader in browser on PC, but is still not able to install. it just says "App not installed".
ANYHOW... i feel this app should work just fine on the phone. problem is is that the company don't want it on other phones. so, there are some HTC and Sony apps from my past that won't install to a Coolpad phone i have.
is there any way to modify the APK so it will properly install? i don't believe the app to actually be incompatible, it is just proprietary to a different brand of phone.
the app i most want right now is > https://play.google.com/store/apps/details?id=com.sonymobile.xperiaweather
i used this to download it > https://apps.evozi.com/apk-downloader/
thanks for reading! i await any responses
@sk74261700027
If your phone's Android is rooted, you can try to edit Android's build.prop file housed in /system, will say change there brand / model settings according to your needs. Use a "BuildProp Editor" app to manage this,
jwoegerbauer said:
@sk74261700027
If your phone's Android is rooted, you can try to edit Android's build.prop file housed in /system, will say change there brand / model settings according to your needs. Use a "BuildProp Editor" app to manage this,
Click to expand...
Click to collapse
shoot. i have yet to figure out how to root this phone. it doesn't seem like there is any public root method for this phone yet. drat.
but if i could do that on the phone... shouldn't it also be possible to do this in the APK? i also don't know exactly what info that would be put there even if the phone was rooted. meh.
i figured worst case, i could use the regular Android software on PC to make changes to the APK. other then that, i think it could be possible to make changes to the APK with luckypatcher, but am not certain about that.
@sk74261700027
I never made use of LP.
You of course can try to decomplie an APK, rewrite app's source code and afterwards recompile it and then correctly sign the APK. Personally never have done so.
jwoegerbauer said:
@sk74261700027
I never made use of LP.
You of course can try to decomplie an APK, rewrite app's source code and afterwards recompile it and then correctly sign the APK. Personally never have done so.
Click to expand...
Click to collapse
oof. that sounds complicated. lol :/
i know there is Android Studio and SDK tools, but there is a lot there and i don't know exactly what is needed. i was just hoping that changing an APK for proprietary apps to install on non-proprietary devices was a normal thing, and that there would be a straight forward way to do this. sadly, i don't see any guides on this.
might just have to look around for something more generalized, like what you were talking about. i am surprised that there isn't a normal process for this type of thing. meh
well, thanks anyhow. thank you for replying here. at least that might give me an idea on where to go from here. in the meantime, imma just give this thread some more time. see if anyone knows anything more specific about this.
P.S. oh yeah! i do recall some kind of google market app that would allow you to change, or emulate, a device to download apps from the Play Store that are stated as not being compatible. will have to look for that and see if it still works. if someone knows where to find this, that would be really great.

Categories

Resources