Tuesday 13 October 2015

How to install and use Xposed modules on Htc desire 820

Note :- This Xposed framework is only for kitkat version.



The great devs introduce the Xposed framework, which gives you the possibility to modify your ROM - without modifying any APK (developers) or flashing (users)! 
For a quick start, have a look at XDA's "Android Basics 101" on Xposed:


Some technical details:
The devs extended the /system/bin/app_process executable to load a JAR file on startup. The classes of this file will sit in every process (including the one for system services) and can act with their powers. And even more: I have implemented something that allows developers to replace any method in any class (may it be in the framework, systemui or a custom app). This makes Xposed very powerful. You can change parameters for the method call, modify the return value or skip the call to the method completely - it's all up to you! Also replacing or adding resources is easy, thanks to many helpers in Xposed's API that developers can use.

Advantages:
* No need to modify any APKs. This means:* No need to decompile, change things in smali, compile, sign, ...
* It will work for odexed and deodexed ROMs.
* Your mod is not bound to a specific version of the ROM. Unless there is a major change in the methods called for a certain functionality, your mod will continue to work even when you upgrade your ROM. Many modules work for a wide range of ROMs from different vendors.
* Multiple mods can be installed at the same time, even if they modify the same app. So you can use these battery icons and those quick toggles. Even hooking the same method twice is possible. Of course, this only works properly if the mods are not trying to do incompatible things.

It does its magic at runtime. That means that developers can implement settings and do changes based on them (instead of statically forcing a certain behavior). Or you can have some extra logic for certain ROMs, without building different mod versions.It can be disabled easily without having to reflash.It's open source and free (as in beer and in speech).There is a repository with many popular modules.
Download:
You can download the installer from http://dl.xposed.info/latest.apk. The attached disabler zip is only needed if you are in a boot loop.

Requirements before installing Xposed framework.
1. Rom must be rooted.
2. Any custom recovery installed.
3. You must know the basic information about your device explains:-
    Rom version, Processors architecture(32bits or 64bits) for install compatible Xposed     version.

How to install:
First step for everything you do: Create a nandroid backup and make sure you know how to restore it!
I'm not responsible for anything you do with your phone/tablet/rice cooker.
There is also the risk to soft-brick your device. In such a case, see below for ways to recover from it.

Installation of the framework:
1. Download the Xposed Installer APK and install it
2. Launch the Xposed Installer, go to the "Framework" section and click on "Install/Update"
3. Reboot
4. Done!


You can verify this by starting the Xposed Installer again and making sure that the numbers in the "Framework" section are green.
If app_process jumped back to an older version (or none at all), you probably have a ROM with S-On or similar, which reverts any changes to /system after a reboot. Use installation via recovery in such cases.

Installation of any modules:
1. Download <module>.apk (e.g. via the builtin repository browser) and install it
2. Launch the Xposed Installer and go to the "Modules" section (you will also get there if you click on the notification warning you that the module is not enabled yet)
3. Enable the module by checking the checkbox
4. Reboot
5. Done!

(note that you can install the framework and enable/disable multiple modules at once and reboot afterwards)

In case you get into a boot loop:
First, try using the safemode by pressing any hardware key repeatedly.
If that doesn't work, you can flash the Xposed-Disabler-Recovery.zip by Tungstwenty. It will be copied to your (external) SD card when you install Xposed as well. The only thing it does is copying /system/bin/app_process.orig back to /system/bin/app_process, which you can also do yourself (e.g. with adb shell in recovery mode).

Modules:
The official repository for Xposed modules, which can also be access from within the app itself (with download/update support), can be found at http://repo.xposed.info
All useful information about every module is given in download section respectively.






4 comments:

  1. Can you make a tutorial to install xposed on lollipop please?

    ReplyDelete
  2. While i was installing xposed framework in htc desire 820 kitkat version after reboot
    frameworks are not installed app_process is showing like this. --- in active.
    error coming like this app_processversion "58" has been installled previously but version "---" was found now. If you didn't expect an old file to be stored, you might want to try installing via recovery (auto or manual). please help

    ReplyDelete
  3. does Xposed work in my 820u(India) if properly installed with correct files,I'm currently on MM 6.0.1 sense 7.

    ReplyDelete