Emulator AVD configuration - Streak 5 Android Development

Finally got some free time and i'm setting up the emulator to emulate the Streak.
Anyone wanna share there AVD.ini with me or does anyone know all the hardware options?
http://developer.android.com/guide/developing/tools/avd.html#hardwareopts
Most are obvious but anyone know the following?
Device ram size: 512MB
Cache partition size? (I think its 256MB but not sure)
Max VM application heap size ?
---
So i got it running but not all the variables i want to set. From the link above there are many more options to the avd.ini then in the GUI drop down list. Guess you add the other ones via terminal?
Also anyone know how to set the aspect ratio of the device to "long"? Or is that done by setting it to 5inch display?
I'm trying to help out in fixing apps that don't appear properly on our devices

Did you find out any more options for the AVD? I'm trying to setup the emulator too and not sure what al the settings should be for the streak.
Can you share what you have set for it currently?

Related

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.

Please help with Pokemon Go

Guys i have samsung galaxy trend lite s7390 which is running KK custom rom, so my problem is:
i get to niantic logo and then later it just throws me out of game, so im wondering is there any way that somehow to run it like using gl tools. So any ideas?
emils223501 said:
Guys i have samsung galaxy trend lite s7390 which is running KK custom rom, so my problem is:
i get to niantic logo and then later it just throws me out of game, so im wondering is there any way that somehow to run it like using gl tools. So any ideas?
Click to expand...
Click to collapse
Sorry i forgot to mention but my phone has 512 mb ram, 1ghz cpu with broadcom videocore IV proccesor
Pokemon GO requirements
Hi there,
i found this,
Supported devices
Android
Android 4.4 to Android 6.0.1
(Android N will not supported until the official Android release)
Preferred resolution of 720x1280 pixels (Not optimized for tablet)
Strong internet connection (Wi-Fi, 3G, or 4G)
GPS and Location Services
Intel CPUs are not supported
Source : "https://support.pokemongo.nianticlabs.com/hc/en-us/articles/221958248-Supported-devices"
Personaly i know that you need at least 2gb of RAM to run this app
Best regards
Well you are right about that, but im asking if there is a way to run it with low end phone with kitkat and maybe somehow reduce the ram usage so it can launch correctly not crash
EDIT: guys i actually found a good settings for gl tools to launch the game try you guys too, this may help the crash
P.S. idk xda app doesnt let me to upload screenshots so i will type all of this (oh boy this will be long :c)
Disable anti alliasing
Force 16 bit rendering
Optimize glsl shaders
Enable texture decompression-all
Enable texture recompression-all
Downscale textures-0.5x
Enable simple mapbuffer emulation
Enable use packed stencil buffer
Enable fix fbo attachment sizes
Enable decode sRGB
Enable Lower depth buffer size limits
Thats it! You can thank me later and tell if you still have problems
I again forgot to mention, dont worry about the long loading and it might crash the first time like i got when i tried to enable gps, but i rebooted the phone and wolla!
Doesnt recompression actually take more CPU? Because it has to compress graphics.
Might be better for RAM but worse for CPU.
Please correct me.
Well yes and no. You see pokemon go has a big requirement to run the game, and you also need more ram to just open the game. So the only option here is to use the recompression that will free more ram to launch the game, but the only thing i need to solve is how to fix the lag for now :/

Changing LMK minfree values has no effect

I have a dual boot Android 5.1/Win 10 tablet (the Onda oBook10) that I recently managed to acquire root on (for any owners of this device that would like to know how, I'll be posting a guide soon). This thing has 4 gigs of RAM, but starts kicking apps out as soon as 1 GB is occupied. I've tried setting minfree using both Kernel Adiutor and by echoing manually to /sys/module/lowmemorykiller/parameters/minfree, but neither has any effect. I know that this change doesn't persist across reboots on any Android, but in this case, it has no effect even on the current session. What's even stranger, going by the default values that have been set, there shouldn't be any issues at all - it's actually less aggressive than most other devices I've seen. The values are:
Code:
13107,16384,19660,22937,26214,32768
According to Kernel Adiutor, that translates to (in MB):
Code:
51,64,76,89,102,128
Yet, running apps shows 2.8 to 3.1 GB free constantly, even though apps are reloading.
Does anyone know what might be causing this? It's an x86 device, in case that's relevant. I have access to the boot image (in case it's some kind of kernel flag), and can unpack to ramdisk and zImage, but I have no experience with kernels, and have no idea where to even begin looking; if someone could point me in the right direction, that would be awesome.
Thanks,
SirVer

How to force a resolution change in Remix OS for PC

Hello,
I recently installed Remix OS for PC and I have an app that does not display properly. The app window comes up, and only the black background shows, but none of the app's buttons or text fields show. If I randomly click around with the mouse, I'll get a popup initiated by the app (i.e. a drop down menu, etc), which tells me it is running, just not displaying its content.
I suspect it might just be the fact that my laptop has a high resolution, as I ran the Remix OS Player from Windows 10 and the app doesn't have an issue, and all of the available resolutions in Remix OS Player are lower than my laptop's resolution.
With that said, I'm having trouble finding a definitive way to force a resolution change. I found a page stating that you can change the resolution through Shift+CTRL+ALT+F5/F6/F7/F8, however these don't work, and the article referred to Remix OS 2.0, I'm on 3.0.
I've tried several ways through editing the boot menu lines in the boot loader, but I don't feel I've found the correct commands for that.
Is someone able to clarify on how this can be done? Alternatively, another suggestion trying to get an app to display properly would be fine. This particular app does not have the icon in the top of the window which let's you put it into windowed mode at its proper resolution.
If anyone has a better way to emulate analog touch screen controls with a wired PS3 controller, I'd like to hear that suggestion as well!
My system info:
Make & Model: Lenovo y510p laptop
OS Setup: Windows 10 Home 64-bit installed on internal SSD drive, Remix OS for PC (3.0.207) installed on 1TB USB Hard Drive
Memory: 16GB
App in question: GameKeyboard (latest version on Play Store)
have u try
"wm size 1024x768" to change resolution
and "wm density 140" to change dpi
.
edit: this is terminal command not grub parameter
ariadeneva said:
have u try
"wm size 1024x768" to change resolution
and "wm density 140" to change dpi
.
edit: this is terminal command not grub parameter
Click to expand...
Click to collapse
Hello, thanks for the response! I tried this and the command "wm" is not recognized. I tried typing just wm in the terminal to see if possibly I could get a list of commands or at least a syntax error to show the command itself exists. No dice though. Any other thoughts? There just doesn't seem to be a lot of information on this topic. I'll keep looking too
LinuxLemon said:
Hello, thanks for the response! I tried this and the command "wm" is not recognized. I tried typing just wm in the terminal to see if possibly I could get a list of commands or at least a syntax error to show the command itself exists. No dice though. Any other thoughts? There just doesn't seem to be a lot of information on this topic. I'll keep looking too
Click to expand...
Click to collapse
Try adding "shell" to the beginning of the command.
Like this: "shell wm size 1024x768",
and: "shell wm density 140".
moriel5 said:
Try adding "shell" to the beginning of the command.
Like this: "shell wm size 1024x768",
and: "shell wm density 140".
Click to expand...
Click to collapse
Thank you, I tried this and it appears that "shell" isn't recognized either. I did try downloading and installing a resolution changer app which successfully changed the resolution to 1024x768. It caused a lot of display issues and the GameKeyboard app still didn't run properly.
Since I don't have any important data, I uninstalled Remix OS 64-bit and installed the 32-bit version of 3.0.207, just to see if the app might work in 32-bit. This didn't work either, and I have a lot of strange display glitches that didn't happen on the 64-bit version.
I think I may have to deem myself as defeated for now, as it may simply be a compatibility issue with my display device, as I would think that would make the most sense as to what's difference between my PC's hardware and the Remix OS Player.
Thank you for your help, though!
LinuxLemon said:
Thank you, I tried this and it appears that "shell" isn't recognized either. I did try downloading and installing a resolution changer app which successfully changed the resolution to 1024x768. It caused a lot of display issues and the GameKeyboard app still didn't run properly.
Click to expand...
Click to collapse
With the app, did you also try changing the density?
That could help with the display issues.
moriel5 said:
With the app, did you also try changing the density?
That could help with the display issues.
Click to expand...
Click to collapse
Hello,
Sorry for the late reply! Thanks again for the suggestion. I actually ended up having to go back to 64-bit Remix, since 32-bit had multiple quirky issues related to display and performance on my laptop. I found a better app called "Easy DPI Changer" which lets you also change the resolution. It does it in a far less buggy way than the other app I used. However, still the same result, unfortunately.
So perhaps the issue isn't related to resolution or DPI, but maybe a display driver issue or a hardware related issue. I'm going to try to run Remix on another machine totally to see if the problem is with Remix OS for PC (vs. Remix OS Player), or something with my laptop.
I'll keep you update! I may actually end up contacting the developer to see if I can get their opinion. I'll keep you updated!

Change device resolution

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

Categories

Resources