android-x86

How to deal with apps that force screen orientation in android-x86 on VirtualBox?

最后都变了- 提交于 2021-02-17 19:41:19
问题 If you've used an Android device, you're aware that there are some apps that force the display to portrait and ignore the device's orientation sensor. On a real device, this is not a problem, as you can physically rotate the device in your hands to use the app. However, I am trying to use such an app on android-x86 in Oracle's VirtualBox on a Linux Mint PC, and cannot physically rotate my monitor. I have tried the f9-f12 keys that send a rotation event to the app, but since the orientation is

How do I set/send geolocation parameters lat/long to an Android-x86 emulator

不打扰是莪最后的温柔 提交于 2021-02-08 07:55:39
问题 I downloaded an Android iso from the website Android x86 4.0 RC2 reconfigure keyboard. Installed VirtualBox selecting a Linux distro ,256 MB RAM, 8 GB HDD. I loaded the iso into the CD to finally install it on the virtual HDD, the emulator runs smoothly. I allowedmock locations on the developer settings. I can connect to internet trough the navigator using a NAT* * * after executing the command on my host machine VBoxManage modifyvm AndroidVM --natpf1 adb,tcp,*,5555,*,5555 * If I select the

How do I set/send geolocation parameters lat/long to an Android-x86 emulator

橙三吉。 提交于 2021-02-08 07:55:35
问题 I downloaded an Android iso from the website Android x86 4.0 RC2 reconfigure keyboard. Installed VirtualBox selecting a Linux distro ,256 MB RAM, 8 GB HDD. I loaded the iso into the CD to finally install it on the virtual HDD, the emulator runs smoothly. I allowedmock locations on the developer settings. I can connect to internet trough the navigator using a NAT* * * after executing the command on my host machine VBoxManage modifyvm AndroidVM --natpf1 adb,tcp,*,5555,*,5555 * If I select the

How to build AOSP for Android Automotive OS?

你离开我真会死。 提交于 2021-02-07 09:28:35
问题 I have downloaded AOSP codebase for x86 from https://www.android-x86.org/. It builds fine. I wonder how I setup the config or .mk , so that I can compile or build Android with Android Automotive OS flavor. Any pointers? 回答1: Refer to /device/generic/car/ repository where AOSP car emulator configuration is available. The following target variants are available: aosp_car_arm-userdebug aosp_car_arm64-userdebug aosp_car_x86-userdebug aosp_car_x86_64-userdebug I recommend to follow the official

mac使用frida

烈酒焚心 提交于 2021-01-07 06:57:54
mac使用frida 安装 https://github.com/frida/frida/releases 根据手机的cpu的版本,选择相应的文件,一般通过手机信息可以看到 我这里是frida-server-12.6.7-android-arm64.xz 解压frida-server-12.6.7-android-arm64.xz,然后把解压后的文件重命名frida-server 后来我使用genymotion,查看系统为x86。 所以下载了frida-server-12.7.5-android-x86.xz文件,然后解压并重命名为frida-server。 执行命令frida-server。 依次执行下面命令 $ adb push frida-server /data/local/tmp/ $ adb shell "chmod 755 /data/local/tmp/frida-server" $ adb shell "/data/local/tmp/frida-server &" 然后在电脑上测试手机是否连通 $ adb devices -l Frida大致原理是手机端安装一个server程序,然后把手机端的端口转到PC端,PC端写python脚本进行通信,而python脚本中需要hook的代码采用javascript语言。所以这么看来我们首先需要安装开始安装frida了

Does Android support log2

笑着哭i 提交于 2020-01-14 09:33:09
问题 Does android supports log2 ? I already find that android doesnt support long double. When i tried to compile cdce3.c I received following error: g++.dg/cdce3.C: In function 'void mlog2f(int)': g++.dg/cdce3.C:87: error: 'log2f' was not declared in this scope g++.dg/cdce3.C: In function 'void mlog2(int)': g++.dg/cdce3.C:87: error: 'log2' was not declared in this scope g++.dg/cdce3.C: In function 'void olog2f(int)': g++.dg/cdce3.C:108: error: 'log2f' was not declared in this scope g++.dg/cdce3.C

How does native android code written for ARM run on x86?

試著忘記壹切 提交于 2020-01-08 17:36:13
问题 Motorola just released an x86 based Android phone. I'm a little confused as to how native apps/libraries written for ARM(netflix for example) can run on this phone. I'd be grateful if someone could explain. 回答1: Yes, ARM native code runs on Intel x86 using an emulation feature named Houdini What this library does is reads ARM instructions on the fly and converts them to equivalent x86 instructions. This is the reason why many apps may work as is on x86 without actually having to build an

Bootable pendrive as live cd

折月煮酒 提交于 2020-01-06 07:51:06
问题 I want to create pendrive as bootable disk of android x86 2.3 gingerbread,can it will work as a live cd. give suggestions how to create it? 回答1: I use UNetbootin in order to make bootable flash drives. I have gone through their supported operating systems, and although android-x86 is not listed, neither is xbmc, which is the last thing I made a bootable flash drive out of. Great software, cross platform and very useful. 回答2: Use liveusb-creator as it works on Linux and Windows. I've used it

no network in Android x86 on VirtualBox 4.4.2

六月ゝ 毕业季﹏ 提交于 2020-01-03 02:52:40
问题 I created a VM based on this tutorial How to Create an Android Emulator in Windows to use as android emulator for Eclipse. I took the latest Iso version The Android-x86 4.4-RC1 released (kitkat-x86) from this site : android-x86 All went fine, untill android first launch setup appears, I had to choose wifi, I put skip, and after that am stucked at a screen telling connecting but nothing happened till i get a blanc page that i have network problem (check image) ... I tried bridge adapter, i

Use proxy in Visual Studio Emulator for Android

本小妞迷上赌 提交于 2020-01-01 10:48:13
问题 Here is a link to the emulator announcement (included with Visual Studio 15 CTP): https://www.visualstudio.com/en-us/msft-android-emulator-vs.aspx I would like to set up a proxy for the Internet connection in this VM. My purpose is to connect through port 8888 on my host machine so that I could see this Android VM's traffic in my Fiddler. Is this possible? The android settings in the VM itself do not contain any mobile network access points and therefore I can't figure out how to set up a