Giter VIP home page Giter VIP logo

virtualxposed_12's Introduction

Build Status

中文文档

Introduction

VirtualXposed is a simple App based on VirtualApp and epic that allows you to use an Xposed Module without needing to root, unlock the bootloader, or flash a custom system image. (Supports Android 5.0~12.0)

The only two restriction of VirtualXposed are:

  1. Unable to modify system, so any Module which modifies system won't be able to work properly.
  2. Currently resource hooks are not supported. (Theming modules use Resource Hooks).

Warning

Usage for Commercial Purposes are not allowed!!! Please refer to VirtualApp's declaration.

Usage

Preparation

Download the latest APK from the release page, and install it on your Android device.

Install APP and Xposed Module

Open VirtualXposed, Click on the Drawer Button at the bottom of home page(Or long click the screen), add your desired APP and Xposed Module to VirtualXposed's virtual environment.

Note: All operations(installation of Xposed Module, APP)must be done in VirtualXposed, otherwise the Xposed Module installed won't take effect. For example, if you install the YouTube app on your system (Your phone's original system, not in VirtualXposed), and then install YouTube AdAway (A YouTube Xposed Module) in VirtualXposed; or you install YouTube in VirtualXposed, and install YouTube AdAway on original system; or both of them are installed on original system, neither of these three cases will work!

How to install

There are three ways to install an APP or Xposed Module to VirtualXposed:

  1. Clone an installed app from your original system. (Click Button at bottom of home page, then click Add App, the first page shows a list of installed apps.)
  2. Install via an APK file. (Click Button at bottom of home page, then click Add App, the second page shows APKs found in your sdcard)
  3. Install via an external file chooser. (Click Button at bottom of home page, then click Add App, use the floating action button to choose an APK file to install)

For Xposed Module, You can install it from Xposed Installer, too.

Activate the Xposed Module

Open Xposed Installer in VirtualXposed, go to the module fragment, check the module you want to use:

How to activate module

Reboot

You only need to reboot VirtualXposed, There's no need to reboot your phone; Just click Settings in home page of VirtualXposed, click Reboot button, and VirtualXposed will reboot in a blink.

How to reboot

Supported Modules

Almost all modules except system-relevant are supported, please try it by yourself :)

Others

VirusTotal

VirusTotal might report VirtualXposed as a malware, it is stupid, you can refer to my explanation.

And obviously, VirtualXposed is open source, so you can refer to the source code. I am sure that it is safe to use.

If you still couldn't believe in me, you can install version 0.8.7; VirusTotal reports this version as safe.

Support

Contributions to VirtualXposed are always welcomed!!

For Developers

Credits

  1. VirtualApp
  2. Xposed
  3. And64InlineHook
  4. VirtualXposed
  5. epic

virtualxposed_12's People

Contributors

247321453 avatar achellies avatar cddjr avatar codehz avatar darkskygit avatar dodola avatar dstmath avatar flyer88 avatar greplay avatar hhkhub avatar imsourcandy avatar jonforshort avatar junelegency avatar kokarare1212 avatar lyc8503 avatar noway211 avatar paulo-raca avatar pekphet avatar playday3008 avatar prife avatar rk700 avatar rover12421 avatar skidanovalex avatar skyoung09 avatar solartcc avatar tiann avatar woaitqs avatar zbtang avatar zhixiaoyang avatar zhx00100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

virtualxposed_12's Issues

[BUG] "VirtualXposed" failed to start several times

Describe the bug
For some reason, this error/warning keeps popping up randomly on my phone. I've never seen this message in my life, this seems to happen only with your VirtualXposed build on my phone. To be very clear, this message appears when I'm not even within VirtualXposed, force closing it seems to not help, it keeps popping up randomly after that. You can see below the attached screenshot.

Smartphone (please complete the following information):

  • Device: OPPO Reno 3 Pro 5G (CPH2009)
  • OS: ColorOS V11.1 (Android 11)

Screenshots
IMG_20220218_130139

getActivity().getExternalCacheDir() not correctly redirected.

Describe the bug
getActivity().getExternalCacheDir() returns /storage/emulated/0/Android/data/com.example.test2/cache, and listFiles returns null instead of empty array.

To Reproduce
Steps to reproduce the behavior:
Run getActivity().getExternalCacheDir() + "\n" + Arrays.toString(getActivity().getExternalCacheDir().listFiles()) in app.

Expected behavior
File.listFiles should return array.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Vivo V2055A
  • OS: Android 12
  • Version: master

The XposedInstaller you used is not supported.

When I tried to open Xposed Installer in VirtualXposed, it shows me "The XposedInstaller you used is not supported."

Any ideas?

I don't have a root, my bootloader is locked. I'm using latest 12.1 on Pixel 4 XL. Sorry for my bad English..

getPackageManager().checkPermission not trans for method proxy in android 11

lpparam.context.getPackageManager().checkPermission("android.permission.ACCESS_NETWORK_STATE", lpparam.context.getPackageName());

ActivityManagerStub can work

PackageManagerStub bind success but no work.

maybe context fix wrong?

can't find diff by cs.android.com about ActivityThread.sPackageManager.set(hookedPM)

java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory"

反馈BUG之前,先issue里面搜看看有没有别人已经反馈过,重复的不予处理!!

问题描述

打不开微信
--------- beginning of system
2022-07-28 17:12:53.819 15125-15125/com.tencent.mm E/LoadedApk: Unable to instantiate appComponentFactory
java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[zip file "/data/user/0/io.va.exposed64/virtual/data/app/com.tencent.mm/base.apk"],nativeLibraryDirectories=[/data/user/0/io.va.exposed64/virtual/data/app/com.tencent.mm/lib, /data/user/0/io.va.exposed64/virtual/data/app/com.tencent.mm/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:275)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:920)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:973)
at android.app.ContextImpl.getClassLoader(ContextImpl.java:426)
at com.lody.virtual.client.VClientImpl.bindApplicationNoCheck(VClientImpl.java:338)
at com.lody.virtual.client.VClientImpl.bindApplication(VClientImpl.java:224)
at com.lody.virtual.client.VClientImpl.bindApplicationForActivity(VClientImpl.java:219)
at android.app.TransactionHandlerProxy.handleLaunchActivity(TransactionHandlerProxy.java:166)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2319)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8215)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)

复现步骤

(请分步骤描述如何复现这个BUG,非毕现BUG请给出如何能大概率复现的步骤)

环境

机型:
系统版本:11
ROM版本:vovo v1981A(请区分内测版和开发版稳定版,除稳定版本外不予修复)
Xposed 插件以及插件版本:
VirtualXposed版本:0.21.2

补充

(别的需要描述的内容)

写完之后,请自己再读一遍自己写的,如果你自己都读不懂,就不用说修复了

Request to build 32bit version of the VirtualXposed

Is your feature request related to a problem? Please describe.

Due to the actual developer discontinuing the armeabi-v7a version, the apk bundle installation feature introduced in the arm64-v8a version cannot be found in the old armeabi-v7a version

Describe the solution you'd like

I would like to ask you to build another version of this app with armeabi-v7a architecture support

Describe alternatives you've considered

Because the package name is 64, please make a version of armeabi-v7a with package name is 32

Additional context

If you can build another 32bit version of this app with bundle app install support it will help me a lot

Sdcard Bug...

Screenshot_20220203-163252_VirtualXposed
Screenshot_20220203-163302_VirtualXposed
Screenshot_20220203-163311_VirtualXposed

Folders Not Reading (Android 11 Bug I Think)

What The Hell?

addSharedLibrary crash

问题描述

release 安装包可以运行wechat,master错误

复现步骤

环境

机型:redmi
系统版本:android11
ROM版本:miui12

补充

io.va.exposed64 E/AndroidRuntime: FATAL EXCEPTION: main
Process: io.va.exposed64:p0, PID: 21331
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object mirror.RefConstructor.newInstance(java.lang.Object[])' on a null object reference
at com.lody.virtual.client.ipc.VPackageManager.libNameToSharedLibraryInfo(VPackageManager.java:214)
at com.lody.virtual.client.ipc.VPackageManager.addSharedLibrary(VPackageManager.java:210)
at com.lody.virtual.client.ipc.VPackageManager.addSharedLibraries(VPackageManager.java:192)
at com.lody.virtual.client.ipc.VPackageManager.getApplicationInfo(VPackageManager.java:225)
at com.lody.virtual.client.VClientImpl.bindApplicationNoCheck(VClientImpl.java:259)
at com.lody.virtual.client.VClientImpl.bindApplication(VClientImpl.java:220)
at com.lody.virtual.client.VClientImpl.bindApplicationForActivity(VClientImpl.java:215)
at android.app.TransactionHandlerProxy.handleLaunchActivity(TransactionHandlerProxy.java:166)
at android.app.TransactionHandlerProxy.handleLaunchActivity(TransactionHandlerProxy.java:163)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2195)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:8087)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)

A lot of glitches with this app. Not working properly.

When opening Xposed I get the first error shown below which prevents from downloading anything from Xposed.
When trying to enable a module I get the second error shown below.
When trying to Install Google Services I get the third error shown below.

Expected behavior:
VirtualXposed to allow me to enable modules, and go through and install modules through the app.
No apps to crash upon opening.
Google services to install as normal
Xposed modules to enable.

Screenshot_20220121-020707_VirtualXposed
Screenshot_20220121-021015_VirtualXposed
Screenshot_20220121-021133_VirtualXposed

Smartphone:

  • Device: Galaxy S10e
  • OS: One UI 3.1 (Android 11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.