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.
Our Pleasure!
I just wanna say, thank you very very much. I tried from the actual website and it didn’t even properly work, I just had bootloop after bootloop, I flashed the firmware over 10 times time trying to run Xposed and the one you provded in the download actually worked. I appreciate this post 🙂
It will work fine with n9005.
hi, work it by note3 sm-n9005 international stock lollipop 5.0 rom?
Yes it will work just fine! 🙂
great work thanks.
1. “flash xposed-v87.1-sdk22-arm-custom-build-by-wanam-20161125”
2. Wipe Dalvik & System cache
3. install “XposedInstaller_3.0_alpha4.apk”
is it true 🙂
thanks for this great work 🙂
1. flashing “xposed-v87.1-sdk22-arm-custom-build-by-wanam-20161125”
2. Wipe Dalvik & System cache
3. install “XposedInstaller_3.0_alpha4.apk”
is it true for n9005 international stock lolli 5.0?
Yes you can. 🙂
ARM> 6.0.1 is the correct framework.
it says cannot mount sd card…. can i sideload?
I am using sm-a700f marshmallow… i dont know what is correct frame work zip for me…so plz guide me
Just want to say, successfully running exposed on a resurrection remix MM ROM, using this guide… although my i337m now thinks its an M919… Also worth noting, u can run i9505 ROMs on the i337 versions as well. Search XDA if you need to learn more…
still goes in bootloop
¡Alegra oírlo! Disfrute de Xposed, asegúrese de revisar los 10 mejores módulos Xposed aquí: Xposed modules
Excente tutorial, ya tengo instalado correctamente el Modulo Xposed en mi Samsung Galaxy A3(6)
https://uploads.disquscdn.com/images/fdd3b49ee0f95f4344d5b6020b55a6c00089f5980316d2c6a7583d192be74d5d.png
arm64 or arm?
Install the file through TWRP Recovery. I won’t suggest flashing it from Flashify.
i need xposed framwork for samsung galaxy s5 NEO
i have a galaxy note edge i used flashify and twrp to flash. flash went well. how do i install now. when i click on file it ask me to extract it??? Im at a loss here