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.
Hi. I am running:
Galaxy S5
SM-G900W8
Android 6.0.1
ARMv7
TWRP
CyanogenMod version 13.0.20160511-NIGHTLY-klte
Can I install Xposed Framework? And if so, which one?
Thanks!
pls I need your reply on this!
hello could you pls help me I followed your guide I own a samsung A7 running in marsmallow 6.0 tried to flash exposed 32 arm7 and my phone went bootloop pls pls pls help
Hello I have a samsung A710FD running in android marsmallow 6.0 can you pls tell what is the correct exposed for this one coz once I installed exposed my phone brick thank you!
nevermind.
Great to see you helping out others! 😉
Hey, thank you your framework works on my Note 4! 🙂
Hello I have a Samsung Galaxy Tab A Marshmallow 6.0.1, and I have armv7 will it work?
Can you please try flashing this zip 87.0 & let me know the results.
I had to install this thing called “Magisk,” and after it installed I immediately installed your zip, and I’m back to a bootloop.
Tried to flash with latest version 87 on my Samsung g900f (rooted with Cynogenmod Marshamallow).
Saw the same issue with flashing – zip verification failed. Flashed the uninstall and rebooted.
So flashing is not working for Xposed.
Hey,
so I followed everything step by step. But I am still stuck on bootloop.
I own a Galaxy J3 (2016) (Also known as SM-J320r4) and I did the Arm32 one for Marshmallow. I flashed it through TWRP.
The zip verification failed at first, so I unchecked the option where it checks it so it could install, and it is stuck at the Samsung logo. I flashed the uninstall, and it went back to normal.
So what do I do? How can I get Xposed without it screwing up so much?
Yeah you should probably try to flash the ARM one.
Hello, I’m having a big problem to installing Xposed. I own the Samsung model “SM-G903M” with Android 6.0.1 ROOTED. I have not found Custom Recovery (TWRP / CWM), I am trying to install through the “FlashFire” app. At the end of the process the following message is displayed:
Failed /system could not be mounted.
Thank you, I wish someone could help me!
Can you try Flashfire App?
Which version should I download for galaxy J2? 32 bit or 64bit??
Hey…i tried to flash the arm64 framework in my Samsung galaxy e500h running on android 5.1.1…but it showed error?. Can you please help
I think you flash the wrong framework. Flash the uninstall then clear dalvik/cache then reflash the ARM.Zip and reboot. Wait for around 5 to 10mins.
Hi…I have a galaxy e500h running on android 5.1.1. Will it work fine without going into bootloop? Moreover which framework should I use?
thanks for information..
very useful..