Android SDK Emulator - Android Q&A, Help & Troubleshooting

Hello. Currently, I am looking for a solution for the most precise Android device emulation so no app inside couldn't tell that it is inside an emulator. For now, the most suitable option for me, in my opinion, is Android SDK Emulator, because they tell that it is qemu fork and there are many pre-built profiles available. What I don't understand is that can I create a virtual device for Android Emulator that will retain all information that I will download from, for example, google play? Can I create a virtual device with custom rom? If yes, how can I create virtual device that would be compatible with Lineage OS for Xiaomi Redmi 5 (it is an example, put any real device model here)?
Thank you vin advance for dedication!

You could use Android studio. I'll send you a Lineage OS Android Studio image (will build from source). Here are instructions if you want to do it yourself (remember to export to Android Studio)

traman124 said:
You could use Android studio. I'll send you a Lineage OS Android Studio image (will build from source). Here are instructions if you want to do it yourself (remember to export to Android Studio)
Click to expand...
Click to collapse
Thank you so much for the link! The only thing I want you to clarify is: why should I compile image in a specific manner to run it inside emulator? I thought that Android Emulator is a precise copy of real device and able to boot regular images.

It isn't, it needs generic images to work

EverlastingSuffering said:
Hello. Currently, I am looking for a solution for the most precise Android device emulation so no app inside couldn't tell that it is inside an emulator. For now, the most suitable option for me, in my opinion, is Android SDK Emulator, because they tell that it is qemu fork and there are many pre-built profiles available. What I don't understand is that can I create a virtual device for Android Emulator that will retain all information that I will download from, for example, google play? Can I create a virtual device with custom rom? If yes, how can I create virtual device that would be compatible with Lineage OS for Xiaomi Redmi 5 (it is an example, put any real device model here)?
Thank you vin advance for dedication!
Click to expand...
Click to collapse
Hello and good morning, @EverlastingSuffering
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Related

[Q] Android Execution environment for linux???

i read kubuntu 11.10 finally has integrated phone capabilities and is going to be heavily geared towards mobile devices http://apachelog.wordpress.com/2011/05/20/kubuntu-11-10-mobile-devices-sneak-peak/ .
and so i was wondering if anybody ever heard anything about the development of
Android execution environment for the android os that allows you tu run .apk in linux if so i think this would be full of win for kubuntu with it being the first linux distro with integrated phone capabilities and if the AEE was available that would just be the coolest phone ever
Bump f0r teh [email protected]
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A

[Q&A] Which SDK are you using?

Q&A for Which SDK are you using?
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for Which SDK are you using?. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
tesuri said:
Tizen wearable SDK 1.0.0 or Tizen SDK 2.3.0b wearable profile?
Click to expand...
Click to collapse
I installed the wearable SDK but realized it doesn't support Tizen Native App development. So I really need both.
csears31907 said:
I installed the wearable SDK but realized it doesn't support Tizen Native App development. So I really need both.
Click to expand...
Click to collapse
I had both installed but couldn't get the emulator to work correctly with the regular Tizen SDK, had to remove it and install the Tizen Wearables SDK.
Why do you need native app development? Are you working on other non-Gear projects? Since we don't have root, stand-alone applications don't seem to be an option right now.
Responding to a post (new member, so creates a new post?)
My current development model with the Tizen Wearable SDK:
On my Mac (late 2013 MBP), the Gear S emulator is at times sluggish and at times requires a coordinated restart (Tizen IDE and Emulator).
I have found an alternative is to use Apache Tomcat, setup a context path to the root of the Tizen project and launch the index.html via Chrome/Firefox with Developer tools. I setup a custom device profile of 360 x 480, and it seems to be the best alternative to running an emulator when debugging Javascript / CSS issues.
I use the standard samsung Tizen Wearable SDK : Eclispe IDE, emulator, debugger.....

QEMU question

Hello everyone
I wanted to test another solution for having Linux on Android, which is Virtual Machine. I found this Limbo thing but I have doubts. Can someone tell me which QEMU adaptation for android (Limbo) is real and which one is either outdated or plain fake/malware?
One is on Android Play Store:
https://play.google.com/store/apps/...be.android.app.com.limbo.emu.main.armv7&hl=pl
...and seems kinda fake'y because of the terrible "english" description and dead website link.
The other is from this site:
https://limboemulator.weebly.com/
...which also links to GitHub but it doesn't appear on Play Store so it's not "approved".
Versions of those two don't add up, that's why I don't think they are one and the same. Thanks in advance.
necxelos said:
Hello everyone, I wanted to test another solution for having Linux on Android, which is Virtual Machine. I found this Limbo thing but I have doubts. Can someone tell me which QEMU adaptation for android (Limbo) is real and which one is either outdated or plain fake/malware?...
Click to expand...
Click to collapse
I don't use this but, I believe that one or both of the following threads may be helpful for what you are looking for and don't be afraid to ask for some member guidance within one of them too.
https://forum.xda-developers.com/showthread.php?t=1868326
https://forum.xda-developers.com/showthread.php?t=1893838
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Sadly one topic is about rooting Kindle (using some edited QEMU exploit) and the other offers old QEMU from mediafire links without linking directly to any official QEMU for Android project.
What I need to know is which source of Android QEMU is the legit one as both that I found seem fishy in some aspect and I'd prefer not to install some malware. I just need the most recent version possible of legit QEMU project for Android. Which and who's project it is doesn't matter as long as it works and it's actively maintained.
necxelos said:
What I need to know is which source of Android QEMU is the legit one as both that I found seem fishy in some aspect and I'd prefer not to install some malware. I just need the most recent version possible of legit QEMU project for Android. Which and who's project it is doesn't matter as long as it works and it's actively maintained.
Click to expand...
Click to collapse
You should be able to obtain some member guidance within one of the following General Q&A threads.
https://forum.xda-developers.com/showthread.php?t=2259645
https://forum.xda-developers.com/showthread.php?t=2257421
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

need recommendation to learn how to bulid and modify smartphone ROM based source codes

Hello, every one.
I am a beginner of this forum.
I had a Huawei Gr5 rogers version, i tried lots to upgrade my phone and successfully upgrade to android 10. With the instruction of this forum i just flash lineage os 17.1 to my phone, i used rom for honor 5x.
It is not too hard to find the way to flash my phone.
I did struggling to root huawei gr5, but after keeping trying and searching, i did my work.
I want to learn how build and modify ROM for smartphones, not just for GR5, and try to get android 11 to my phone, enven 12, because after lineage os 17.1 there is no develop code for honor 5X. I saw a person who named "Boom_hacker" is working on lineage os 18 for honor 5x. i want to be like him to develop code for my phone, even other phones
I am working in Mechanical Engineering, but i like to learn knowledge of IT, i start from Zero to learn linux and use linux.
I need help for recommendation to learn how? Like some books i can read to develop my skills.
Is it too hard for me? Maybe i can learn some skills to modify rom based some people's work.
I learn those skills just for fun, do not think i can be a professor on developing android codes.
Please give some suggestions.
Thanks your time.
david3709 said:
Hello, every one.
I am a beginner of this forum.
I had a Huawei Gr5 rogers version, i tried lots to upgrade my phone and successfully upgrade to android 10. With the instruction of this forum i just flash lineage os 17.1 to my phone, i used rom for honor 5x.
It is not too hard to find the way to flash my phone.
I did struggling to root huawei gr5, but after keeping trying and searching, i did my work.
I want to learn how build and modify ROM for smartphones, not just for GR5, and try to get android 11 to my phone, enven 12, because after lineage os 17.1 there is no develop code for honor 5X. I saw a person who named "Boom_hacker" is working on lineage os 18 for honor 5x. i want to be like him to develop code for my phone, even other phones
I am working in Mechanical Engineering, but i like to learn knowledge of IT, i start from Zero to learn linux and use linux.
I need help for recommendation to learn how? Like some books i can read to develop my skills.
Is it too hard for me? Maybe i can learn some skills to modify rom based some people's work.
Please give some suggestions.
Thanks your time.
Click to expand...
Click to collapse
@david3709
Although you're a very long time member but it's your first post, a very warm welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to
Android Q&A, Help & Troubleshooting
This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.
forum.xda-developers.com
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
david3709 said:
I need help for recommendation to learn how? Like some books i can read to develop my skills.
Click to expand...
Click to collapse
And regarding your request. There're quite a few tutorials available like e.g. the ones of @AlaskaLinuxUser. Just use the search function:
[Guide][Video Tutorial] How to build Custom ROMs and Kernels![10,P,O,N,M,L]
Hey everyone! There is also a telegram channel where you can drop in for some help: https://t.me/joinchat/HR_8JgyDBdw_DvmndPl0kg I really hope that you have enjoyed the series, and that it was helpful to you in your Android career! Praise...
forum.xda-developers.com
[Guide][Video Tutorial] Intermediate to Advanced Custom Rom and Kernel Building
Hey everyone! There is also a telegram channel where you can drop in for some help: https://t.me/joinchat/HR_8JgyDBdw_DvmndPl0kg I really hope that you have enjoyed the series, and that it is helpful to you in your Android career! Praise God...
forum.xda-developers.com
[Video Tutorials] XDA Etiquette, Compiling Custom Roms/Kernels
Praise God! A video tutorial about XDA etiquette! These videos express my personal opinion, and are not necessarily the opinion of XDA. I am not speaking on their behalf. This is just a video series that I put together based on a recommendation...
forum.xda-developers.com
or
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
NOTE: THIS GUIDE WILL WORK ANY ANDROID DEVICE BUT HAS FEW EXTRA PRE-SUGGESTED LINKS FOR GALAXY ACE PLUS USERS. Special Thanks to - dsixda for his awesome kitchen. Please Hit Thanks button for him. inspired by isidromxz's thread. Please kindly...
forum.xda-developers.com
The XDA University might also be helpful:
XDA-University
Tutorials, How-To Guides and More. Learn about mobile phone development, hacking, flashing, rooting and many other topics!
forum.xda-developers.com
Regards
Oswald Boelcke
Senior Moderator
sorry for that, i did not notice that. And also thanks a lot for your suggestion. I will go to read them, hopefully i can get into them and make some good works, like other people who contribute this forum.

Allwinner H3 MXQ Pro 4K : A change to the display resolution does not survive the reboot

Hi,
hoping this is the right place for posting this question...
I'm working building my own custom ROM starting from an Allwinner Android/Linux source code.
Build and .img flashing/starting-up are OK.
Platform is :
TV Box : Allwinner H3 MXQ Pro 4K 1GB RAM / 4GB ROM
Android : 7.0
Kernel : 4.4.55
Problem:
A change to the display resolution (for example from 720p_50Hz to 1080p_24Hz)
does not survive the reboot.
I have other "untouched" Allwinner H3 TV Box's with same HW (e.g an Andowl)
and same pre-installed (by the manufacturer) Android/Kernel versions, where the resolution change survives the reboot.
As probably you know , Allwinner U-Boot 2014.07 reads
(in \lichee\brandy\u-boot-2014.07\board\sunxi\common\bootGUI\dev_manage.c)
the display format from Reserve0 partition (Reserve0/disp_rsl.fex (eg 0x408))
and passes it to kernel for display system initialization.
Here a short UART log from a working TV BOX
-------------------------------------------------------------------
U-Boot 2014.07 (Aug 28 2020 - 08:44:29) Allwinner Technology
.............
get format[408] for type[4]
get format[20b] for type[2]
.............
save_int_to_kernel disp.boot_disp(0x408) code:<no error>
save_int_to_kernel disp.init_disp(0x20b0000) code:<no error>
-------------------------------------------------------------------
For some reason, in my case, nobody (Android or Kernel) updates Reserve0/disp_rsl.fex
with latest format when changing the resolution from GUI, so U-Boot always sets the default resolution
taken from sys_config.fex.
I tried to debug the issue without success,
Any help on this?
Tnx
Mx56
Micromax56 said:
Hi,
hoping this is the right place for posting this question...
Click to expand...
Click to collapse
Hello and good afternoon, @Micromax56
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Please advise if you rather like the thread to be moved to
Android Stick & Console AllWinner based Computers
Use this forum to discuss AllWinner based computers
forum.xda-developers.com
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Hi Oswald,
sorry for posting in the wrong forum. It is OK the Q&A forum.
Thx
Mx56
​

Categories

Resources