If you would have tried using the traditional Xposed in Samsung devices, you might have experienced random bootloops & force close after installing it. Samsung made a lot of changes to ART without providing the sources so official Xposed doesn’t provide any support for Samsung devices & clearly says, Xposed framework will cause bootloops in Samsung devices, you must try unofficial xposed builds meant for Samsung devices.
If you are new to Android rooting, you might have heard people saying the first thing they install after rooting their device is Xposed framework. As Xposed gives them freedom to customize system files without installing custom ROMs. In this guide, we’ll learn How to install Xposed framework in Samsung devices without bootloops & other errors. This Xposed supports all other Samsung devices (GS5, Note 4/5, GS6E, GS6E+…) running Touchwiz Android Lollipop, Marshmallow, Nougat, Oreo, Pie, Q (Android 10) and R (Android 11).
What is Xposed for Android?
Xposed framework uses root access to directly access core Android resources and utilize them to run different modules on the device that bring new features to the OS. The potential here is virtually unlimited, and many developers have already started switching to it for delivering their mods. So, how do you get the framework on your device? For devices other than Samsung, you can follow this method: How to install Xposed framework & Installer.
Now lets learn about installing Xposed in Samsung devices. We’ll install unofficial Xposed in Samsung devices. Now, this unofficial Xposed version does NOT break support for any other device supported by official Xposed, which means it still support all devices supported by the official one, this version adds Samsung and XZ compressed odexes support.
Disclaimer: Please follow this guide at your own risk. Devsjournal won’t be held responsible for any bricked devices. We have tested this method in some our devices & it works perfectly fine.
Prerequisites:
- You must have a Rooted Samsung Smartphone. (What is Rooting?).
- A Custom Recovery like TWRP/CWM.
- Unlocked Bootloader
- Stock (Odexed and Deodexed) 5.1/6.0 Roms
- (Optional) Backup all your data & Apps before flashing the Xposed framework file to avoid data in case anything goes wrong or your device doesn’t boot up.
How to install Xposed framework in Samsung devices
Step 1. After Android Kitkat, one cannot install Xposed directly i.e just an APK. You first need to flash the Xposed framework. Similarly, we first have to flash Xposed framework in our Lollipop/Marshmallow device.
Step 2. Download the given files at the end of the post & transfer it in your Internal memory/SDcard.
Step 3. Now Switch off your device. Press & hold the required key combinations. For devices having hardware keys, the key combination is mostly Vol Up+home+Power button to boot into Recovery mode.
Step 4. After booting into recovery mode, Goto Install zip from SDcard (in CWM) or Install (in TWRP) & locate the Xposed framework file that you transferred in your device.
Step 5. Select the zip & Install. Wait for the installation to complete.
Step 6. Now, Wipe Dalvik & System cache. Reboot your device.
Step 7. You will now have to install the Xposed framework APK on your Android device. Using a file manager like ES File Explorer, navigate to the location where you had saved the APK and install it. If you get an error saying “Unknown installations blocked” similar to this:
Just Goto Settings App > Security > Enable Unknown sources. Now install the Xposed app.
Step 8. To check if everything is done perfectly, launch Xposed App & goto Framework. It would show app_process and Xposed Bridge with some no. below Active.
Download Xposed Framework for Samsung devices
For Android Pie (9.0/10.0/11.0)
- You need to have Magisk pre-installed. You can read this article to install Magisk.
- Flash framework in Magisk. Download framework from here.
- Install Xposed apk file. Download
For Android Oreo (8.0/8.1)
- ARM: Download (devices that are running arm32 operating system like Galaxy S5, Note4 & others)
- ARM64: Download (devices that are running arm64 operating system like Galaxy S7/S6, Note5 and all their variants.)
For Android Nougat (7.0/7.1)
- ARM: Download (devices that are running arm32 operating system like Galaxy S5, Note4 & others)
- ARM64: Download (devices that are running arm64 operating system like Galaxy S7/S6, Note5 and all their variants.)
For Android Marshmallow (6.0/6.0.1)
- ARM: Download (devices that are running arm32 operating system like Galaxy S5, Note4 & others)
- ARM64: Download (devices that are running arm64 operating system like Galaxy S7/S6, Note5 and all their variants.)
For Android Lollipop (5.1.x)
- ARM: Download (devices that are running arm32 operating system like Galaxy S5, Note4 & others)
- ARM64: Download (devices that are running arm64 operating system like Galaxy S7/S6, Note5 and all their variants.)
For Android Lollipop 5.0
For Android Lollipop 5.0, you first need to deodex your ROM. You can follow the procedure below to deodex your ROM.
Procedure to deodex your ROM
Step 1. Extract the below given 7z file to desktop
Step 2. Hold shift key + right mouse click, “Open Command Prompt Here”. Open it.
Step 3. Now, place .apk and .odex.xz file in the command prompt and type “7za x *.odex.xz” and press enter. This will cpmpress xz and will output odex.
To convert the given odex, we need oat2dex.
Step 4. Enter this command “oat2dex.bat *.odex” and press Enter.
Step 5. Now, Enter command “oat2dex.bat *.odex temp.dex”. This will convert the file to the required format i.e .temp.dex.
Step 6. To decompile dex and get a deodex output folder we will use baksamli/smali.
Step 7. To de-odex use command “java -jar baksmali-2.0.3.jar -a 21 -x temp.dex -o deodex”.
Step 8. Compile the output back to classes.dex using this command “java -jar smali-2.0.3,jar -a 21 deodex -o classes.dex”.
Step 9. Put classes.dex into apk use this command “7za u -tzip *.apk classes.dex”
Tool to deodex Lollipop: Download
After this, you can flash the Xposed Framework files given below, make sure to flash the proper files depending on your smartphone’s processor (Snapdragon/Exynos).
Don’t know what to choose? Don’t worry, it won’t break your device if you install a wrong one. If you install a wrong one, the installer will simply tell you that you should go with the other version.
Xposed Installer APK
Xposed installer app acts as a middle man between Xposed framework & Xposed modules which manages all the system functions: Download
Xposed Framework Uninstaller
If in case things didn’t go as mentioned & your device ends up in boot loop, you might require this zip file that will bring back your device status to the previous state: Download
If in case anything goes wrong & your device fails to boot up, always transfer Xposed framework uninstaller zip along with Xposed framework zip in your Internal storage. If anything goes wrong, Boot into recovery & flash the uninstaller. Everything will be back to normal.
T mobile note 4 using overdrive rom with armv7a, marshmallow 6.0.1. Any file for that config? The one downloaded above keeps me stuck at the Samsung screen. Thanks
My SM-P555 v6.0.1 rooted + TWRP 3.0 when flash xposed-v85.1-sdk23-arm-custom-build-by-wanam-20160530.zip,can’t reboot normal, alway reboot to recovery. Can someone help me please. thanks so much
What is meant by odexed and deodexed? And how do we get them?
Have a read here
Please help me,
My phone is rooted,
Samsung galaxy A8 SM-A800I
Marshmallaw 6.0.1 updated
Please give me xpose framwork…thanks.
is it going to be successful for samsung galaxy a7 sm-a700fd to flash?
if yes,mail me.
I need to install xposed framework on mu s4 i9515 plz help
Tested with my gs4-mini (serranoltexx) with CM13, works perfectly.
Thanks
My device samsung note3(sm-n9005) (armv7l)armeabi-v7a.
Which framework will work in my device?
I hope I’ve provided you with enough information.
Overall this tutorial is crystal clear and well covered, thanks for this!
my device samsung Note3 N9005 armeabi-v7a. which framework will work in my device? L 5.0
I hope I’ve provided you with enough information.
Overall this tutorial is crystal clear and well covered, thanks for this!
ARM download link are broken. please fix
I have a note 4 N910W8 with armv7 and marshmallow 6.0.1, Stock rom, rooted I’ve tried flashing “xposed-v85.1-sdk22-arm-custom-build-by-wanam-20160530” through twrp, but keeps getting stuck in Samsung logo afterwards, even wipe cache and dalvik.. What did I do wrong?
I have same exact problem
THANKS! It WORKS for SM-G900H on Marshmallow.
** EDIT ** It does not work for SM-G900H on Marshmallow – sorry.
It’s been working on my G900H pretty good so far.
Thx a lot man. (and for the other who replyes because of them i make and another try with “xposed-v85.1-sdk22-arm-custom-build-by-wanam-20160530”)
🙂
Finally i used “xposed-v85.1-sdk22-arm-custom-build-by-wanam-20160530.zip” and WORKED. The other fails(“xposed-v86-sdk22-arm”)
I have a galaxy s5 plus SM-G901F with armv7 and marshmallow 6.0.1 Stock rom rooted with cf-autoroot… I’ve tried with flashing sdk23-arm trough twrp, but keeps getting stuck in Samsung logo afterwards, even wipe cache and dalvik.. What do I do wrong?
im on note 3 with phronesis N5 roms running MM(6.0.1)..can it worked ?