[UNOFFICIAL] Xposed for Samsung Lollipop by arter97

Search This thread

Kudzu Kid

New member
Jun 11, 2017
3
0
Tulsa Metro Area
Samsung S4 & Xposed Framework : I'm Lost!

Hi There,

This is my first posting on the subject so please be kind! :)*

I have a (used) Samsung Galaxy S4 (old Sprint unit, SPH-L720, Android 5.0.1)* that's been rooted that I need to install Xposed Framework on. I don't currently have or need cell service, WiFi is sufficient for my intended purposes. I didn't root it, but I believe it's a very stock ROM, also I see a TWRP directory.* I need to install Xposed Framework on the phone.

However, once I launch the installer APK (v32_de4f0d.apk), it comes up and asks what I want to do. There's red text that says "The latest version of Xposed isn't active. Did you install the framework and reboot?" . The "Install" button is visible but grayed out.

I've tried a couple Rovo89 alphas... 3.1.1,* 3.0 alpha 4,* 3.0 alpha 1. No go. I think it was alpha 1 got stuck in a boot loop. Recovered.

Here's the current info that I hope helps you help me:

Android version is: 5.0.1
Baseband version: L720VPUG0D2
Kernel: 3.4.0-4745659
Build#: LRX22C.L720VPUG0D2
Knox 2.3
ARM V7

If you need additional info, please let me know! I don't think the module itself will be an issue, but installing the framework is more "challenging" than I thought. :D

If Deodexing is the only way to go, in English, what IS Deodexing anyhow?! What are the pros & cons?

Thanks tons,

--Kudzu
 

Aaryan7387

Member
Oct 13, 2017
6
0
You need to give more info about your phone. Which Rom are you using? Which SDK is that? Which file did you flash?
Bro help me
I want to install xposed framework for my Samsung Galaxy j200g
I downloaded sdk22 for 5.1 lollipop and flashed it , bt it got stuck in bootlloop.
I installed stock rom and now my device is ok But i want to install xposed installer for lollipop. .
 

grymkmb

Senior Member
Apr 11, 2013
188
66
Bro help me
I want to install xposed framework for my Samsung Galaxy j200g
I downloaded sdk22 for 5.1 lollipop and flashed it , bt it got stuck in bootlloop.
I installed stock rom and now my device is ok But i want to install xposed installer for lollipop. .
Exactly which Xposed file did you flash? The one from Wanam?
 

fubo73

Senior Member
Oct 24, 2007
2,085
1,107
Bro help me
I want to install xposed framework for my Samsung Galaxy j200g
I downloaded sdk22 for 5.1 lollipop and flashed it , bt it got stuck in bootlloop.
I installed stock rom and now my device is ok But i want to install xposed installer for lollipop. .

In these details you missed to say if you rooted the phone and deodexed the ROM.
 

fubo73

Senior Member
Oct 24, 2007
2,085
1,107
By the way what's wanam

---------- Post added at 09:13 AM ---------- Previous post was at 09:10 AM ----------


Ya i have downloaded from the same link

... then guessing why are you asking support here ...

How did you flash it? Recovery? Flashfire?
I never had issues with both S2 and S5, flashing from TWRP on deodexed ROMs. Never tried on a stock one.
 

sirtweak0

Senior Member
Jul 12, 2016
59
2
Just a heads up, on G4 active i537 with 5.0.1 deodexed stock rom OC7 flashing xposed-v89-sdk21-arm, the one suggested in the apk results in bootloops and inability to get into recovery mode. I'm going to repeat the process and try v75, this one and let you guys know.

Can anyone else with a s4a post which version worked successfully?
Thank you for the work!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 826
    /* Intro */

    3 months after the first functional Xposed for Lollipop by @rovo89 was introduced,
    now here comes *somewhat* functional Xposed for Samsung Lollipop firmware.

    Embrace yourself.

    /* Technical background */

    Why were Samsung users left out of the Xposed party?
    Because Samsung has massively customized ART runtime included in their firmwares compared to AOSP.
    And plus, because the system partition has so little space left, they have additionally implemented xz decompression on top of ART.
    Those 2 main reasons has differentiated Samsung's ART from the rest of the ROM's ART.

    More technical information on post 2.

    /* Disclaimer */

    Your warranty is now void.
    I am not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this project
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.

    /* Prerequisite */

    Due to my skills limitation, only deodex'ed ROMs are supported for now.
    For more explanations, checkout post 2.

    /* Supported firmwares */

    Every ARMv7(32-bit) Samsung Lollipop Android 5.0 deodex'ed firmware should work.
    But please note that I have tested this only on Galaxy S4, Note 3 and S5.

    For 64-bit, please check http://forum.xda-developers.com/xposed/unofficial-xposed-samsung-lollipop-t3180960 by @wanam
    For 32-bit on Android 5.1, I cannot develop on it as I don't have any 32-bit devices capable of running Android 5.1.

    /* Before you download ... */

    Donate to @rovo89
    Donate to @wanam
    Show your thanks to @_riddle
    Without these people, this would not have been possible at all.

    /* Details about binaries */

    CyanogenMod's ART runtime changes merged - Performance improvements
    Compiled using Linaro GCC 4.8
    Method in-lining optimizations made in Android 5.1 merged
    Few Android M ART runtime changes which were early-adopted by Samsung merged
    -O3 and other compiler optimizations added
    Release separated to "exynos" and "snapdragon" versions for more compiler optimizations
    Optimize everything enabled

    /* Download */

    Attached below on XDA

    /* How to install */

    1. No matter what you do, back-up first.
    2. Install XposedInstaller app from http://forum.xda-developers.com/showthread.php?t=3034811
    3. Flash the attached Xposed framework zip on the custom recovery.

    /* How to uninstall for V1 ~ V7 */

    1. Flash the attached Xposed uninstaller zip on the custom recovery.

    /* v75+ sticky note */

    With v75 and up, this port do not longer touches core-libart.jar, thanks to @wanam.
    This would potentially increase compatibility and fix other weirdness such as malfunctioning email app.
    However, this introduces some variables.

    First, there are more versions that you should choose.
    Exynos and Snapdragon is quite self-explanatory, but there are now new "requestConcurrentGC" version for maximizing compatibility.

    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.


    As far as my testing goes, only the Korean Note 3 firmwares should install "requestConcurrentGC" version.

    Uninstaller part have changed too.
    You need to use uninstaller provided directly by @rovo89.
    Do not use my uninstaller for v75 and up.
    216
    /* Technical information and Q&A */

    Q: What took you so long?
    A: @rovo89 has explained himself. http://forum.xda-developers.com/showpost.php?p=58949255&postcount=3

    Q: Okay, you don't seem like a better developer than @rovo89. How did you do it?
    A: Of course not. This is the main reason why deodex'ed ROM is a prerequisite.
    Samsung has implemented all sorts of funny stuffs on their version of ART. See the link above.
    To workaround this, converting a ROM to deodex'ed format somewhat brings back the oat formats to *AOSP-like* dex format(Huge thanks to @_riddle).
    After deodexing is done, we can use source-built ART binaries with minimal modifications.
    But due to my coding skills, I had to modify core-libart.jar to make it work again.
    The core-libart.jar differs from every single device out there and it'll be a real headache to match with 1 ART binary version. That's why I've included the core-libart.jar on the installation zip file.
    The included core-libart.jar has 2 different versions to correspond on the type of ROM user is using.
    1 : Firmwares with appStartup
    2 : Firmwares without appStartup
    After deodexing, installing new ART stuffs, we can start the boot-up sequence.
    Unfortunately again, /system/bin/installd passes some arguments that AOSP version of dex2oat do not understand. To bypass this, I've patched oat tools to ignore unimplemented arguments.
    Now we can see the good old "Android is upgrading" pop-up and go have a cup of coffee while it dexopts all those hundreds of bloatwares.

    Q: Fantastic, but now I get a continuous logcat burps - http://pastebin.com/MxeAE76n
    A: To avoid that, that's why I've put 2 different versions of core-libart.jar. But unfortunately on those cases, my installer has failed to recognize which version your ROM uses.
    During the installation, the installer will output a message on which core-libart.jar is installed on your system.
    After you see that logcat stuffs, please change to the opposite version of core-libart.jar the installer told you.
    So for example, if the installer says core-libart1.jar is installed, extract the zip and replace /system/framework/core-libart.jar with core-libart2.jar within the zip.

    Q: How do I deodex my ROM?
    A: @joeldroid and @svadev have an awesome tool for you to deodex your ROM.
    Go check http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857 and http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
    Both worked flawlessly for me.

    Q: Gimme tha sources!
    A: https://github.com/arter97/android_art/tree/samsung-lollipop

    Q: AAA and BBB modules are incompatible!
    A: Most likely because they don't support Touchwiz Lollipop *yet*.

    Q: You mother father gentleman, you bricked my phone!
    A: Unfortunately, I had tested those only on 3 devices which, ironically, has the same processor. Maybe Exynos family is not support, I don't know.
    I told you to back-up beforehand. Post log and we can probably work together and add your device/ROM supported.
    186
    I wanted to have one that works without debloating /system...

    I wanted to have one that works without debloating /system...

    So I made it myself.

    Installer v86.0 : Download Link (md5: ab25e60edad09fe27923d9e613a1199f)
    Note: v86.0 seems to have troubles for some people. If you don't want any problem, stick to v85.0, otherwise please send me logcats if it errors.

    UNINSTALLER v83.0 or above : Download Link (md5: 544636ff7a42766ac3db4d84f8b10986)

    This works with stock odexed / deodexed Samsung 5.0.x SDK21 Touchwiz firmwares. Debloating is not needed but there is a little possibility that it doesn't work on some devices. Have to use the bundled uninstaller when you want to revert it.

    IMPORTANT: It is only a test version which means it's not stable. Don't try this unless you enjoy beta testing.

    I appreciate all the feedbacks. Thank you guys!

    [Change log]
    v86.0
    1. Updated to v86 (http://forum.xda-developers.com/showpost.php?p=67658523&postcount=35)
    v85.0
    1. Updated to v85 (http://forum.xda-developers.com/showpost.php?p=67062979&postcount=34)
    v83.0
    1. Updated to v83 (http://forum.xda-developers.com/showpost.php?p=66512549&postcount=31).
    2. Modified the installd binary not to exclude dexopt process on '*.odex' files. As a result, the installer script v83.0 doesn't append '.xposed' on odex files any more (Have a look at the flash-script.sh). This is kind of an experiment and probably needs more testing.
    Users coming from v80.1 or below MUST uninstall it using THIS_UNINSTALLER_v80.0 first!!
    v80.1
    1. Fixed an issue where KakaoTalk crashed.
    v80.0:
    1. Based on arter97's v79 test (http://forum.xda-developers.com/showpost.php?p=64900847&postcount=3681)
    2. Made it work with stock odex firmware without debloating /system
    3. Merged official xposed v80 changes (http://forum.xda-developers.com/showpost.php?p=65113226&postcount=28)
    4. Added MatrixDJ96's fix regarding Flashfire support. (http://forum.xda-developers.com/showpost.php?p=65230465&postcount=3900)

    [Old versions]


    [References]
    1. android_art (5.0) : https://github.com/arter97/android_art/tree/samsung-lollipop-new
    2. android_art (5.1) : https://github.com/wanam/android_art/tree/xposed-lollipop-mr1
    3. xz-embedded : https://github.com/wanam/xz-embedded
    4. XposedBridge : https://github.com/wanam/XposedBridge

    < This is not my product. What I've done is assembling various people's works into one piece. Let's thank @rovo89, @wanam, and @arter97 for their great efforts. >

    * source: https://github.com/Liliniser/android_art

    Thanks.
    153
    /* Changelog */

    v75
    Xposed v75 merged
    (Fixes boot issue with latest Android 5.0 firmwares)
    Method changed to use @wanam's XposedBridge

    /* v75+ sticky note */

    With v75 and up, this port do not longer touches core-libart.jar, thanks to @wanam.
    This would potentially increase compatibility and fix other weirdness such as malfunctioning email app.
    However, this introduces some variables.

    First, there are more versions that you should choose.
    Exynos and Snapdragon is quite self-explanatory, but there are now new "requestConcurrentGC" version for maximizing compatibility.

    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.


    As far as my testing goes, only the Korean Note 3 firmwares should install "requestConcurrentGC" version.

    Uninstaller part have changed too.
    You need to use uninstaller provided directly by @rovo89.
    Do not use my uninstaller for v75 and up.


    V6
    Xposed v71 merged
    Possible performance degradation issue fixed
    Releases renamed to "exynos" and "snapdragon", now the "exynos" version is properly optimized for Exynos processor
    Uninstaller added
    Optimize everything enabled

    V5
    Xposed v65 merged - Now compatible with alpha4
    Do not attempt to use uninstaller provided by rovo89, it will brick your device for now - TODO

    V4
    ART runtime & Xposed binary changes by rovo89 merged - Fixes logging and some other misc issues
    CyanogenMod's ART runtime changes merged - Performance improvements
    Compiled using Linaro GCC 4.8
    Method in-lining optimizations made in Android 5.1 merged
    Few Android M ART runtime changes which were early-adopted by Samsung merged
    Few core-libart.jar smali durps fixed
    -O3 and other compiler optimizations added
    Release separated to "generic" and "krait" versions for more compiler optimizations
    Generic - Devices with Exynos or other non-Krait Snapdragon SoCs; If you don't know which to choose, go with Generic.
    Krait - Devices with Quadcore Krait Snapdragon SoCs.

    V3
    Another version of core-libart.jar added for GT-i9505 compatibility
    (Firmwares without isMdfEnforced)
    This update is unnecessary for devices which already runs Xposed with no issues.

    V2
    Source code modification attempted to hopefully fix boot issues with devices like Galaxy Alpha.
    https://github.com/arter97/android_art/commit/eed217701cc2d3a57f940c5bd69b393c768777a9
    This update is unnecessary for devices which already runs Xposed with no issues.
    97
    /* Known issues */

    - Galaxy Alpha users apparently get a bootloop with this.
    A kind user provided a logcat, will look into it ASAP.

    Solved with V2.

    - GT-I9505 users apparently get a continuous Google Apps FCs with this.
    Solved with V3.