Tutorial [XposedModule] EUI Moder

Discussion in 'EUI' started by ArunB29, Jul 11, 2016.

?

What do you think about EUI Moder?

  1. Awesome

  2. Nice but requires improvement

  3. Just okay

  4. Didn't like it

  5. It is not working for me.

Results are only viewable after voting.
  1. ArunB29
    ArunB29 Member
    Joined:
    Jun 17, 2016
    Messages:
    38
    Likes Received:
    53
    Trophy Points:
    10
    Gender:
    Male
    1
     
    Hi all, I have developed a small Xposed module to tweak EUI. It can disable most of the EUI customizations and bring back vanilla android features.

    Features
    1. Disable EUI Lockscreen, Status Bar and Notifications
    2. Disable EUI Control Center for Default app switcher
    3. Enable Vanilla Lockscreen with Fingerprint support
    4. Enable Vanilla 3D Recent apps (no clear all button yet :( )
    5. Enable default Status Bar and Quick Settings (even with System UI Tuner, long press settings icon in QS to enable)
    6. Transparent Notifications in Lockscreen (like EUI)
    7. Dark Material theme notifications in drawer (Light Material didn't work properly)
    8. All notification icons in Status Bar (instead of 3 dot icon by EUI)
    9. Force enable Standard scale mode. (EUI doesn't allow you change Zoom mode after boot image patch)
    10. Android's Multi-user support (switch from quick settings)
    11. Semi-transparent status bar patch for EUI apps.

    There are more small tweaks I didn't mention here. The module is still work in progress. I have only tested it in EUI 5.8 on Le2 (X526) since I only have that device. It should theoretically work on other devices assuming EUI code base remains same. Not sure about version below 5.8 and Android Lolipop (testers are welcome, use Xposed uninstaller if you ran into some trouble).

    How to Install Module
    1. Unlock bootloader and root your device (many tutorials available ;))
    2. Install Xposed version 86 (follow steps provided below)
    3. Install module APK (attached with post)
    4. Open EUI Moder app and enable and disable things as you wish ;)
    5. Reboot to see changes
    How to Install Xposed
    1. Visit http://forum.xda-developers.com/showthread.php?t=3034811
    2. Download installer from http://dl-xda.xposed.info/framework/sdk23/arm64/xposed-v86-sdk23-arm64.zip
    3. Download uninstaller from http://dl-xda.xposed.info/framework/uninstaller/xposed-uninstaller-20150831-arm64.zip
    4. Download Xposed APK from http://forum.xda-developers.com/attachment.php?attachmentid=3383776 (or XposedInstaller_3.0-XX.apk)
    5. Copy all three to internal memory
    6. Flash xposed-v86-sdk23-arm64.zip from TWRP. (Do not flash xposed-uninstaller-20150831-arm64.zip unless Xposed cause you problems)
    7. Reboot and Install Xposed APK
    Screenshots

    a.png b.png c.png d.png e.png f.png g.png h.png

    Known Bugs
    1. Semi-transparent status bar won't become active sometimes, open recent apps once and going back to app will fix it.
    2. Fixed in v1.1 Lockscreen will force you to use pattern sometimes, to fix it, enable EUI lockscreen, use pattern/password to login, disable EUI lockscreen.
    3. Enabling recent apps or disabling control center won't work on EUI 5.5 (thanks to @gajendrakn87 )
    4. Problems with Custom EUI ROMs
    Tried Xposed Modules
    • Most options in GravityBox[MM] works
    • Most options in Android Nify works

    Download

    Version 1.1 : https://drive.google.com/open?id=0B3mgk_YZVwLEcWJ4b29EeWItYmc
    Version 1: https://drive.google.com/open?id=0B3mgk_YZVwLEbGJqYWtza19NdVE


    Changelog

    • Fix fingerprint not working after 10 failed attempts
    • Darker statusbar for EUI apps


    Enjoy :D

    Credits:
    Myself :p
    Xposed developers
    apktool and baksmali developers
    ASOP Team (for code references)
    EUI Team (for making EUI easily modable :p)
     
    Last edited: Jul 24, 2016
  2. gajendrakn87
    gajendrakn87 Well-Known Member
    Joined:
    May 31, 2016
    Messages:
    573
    Likes Received:
    484
    Trophy Points:
    240
    6
    43%
    This is awesome man :)
    testing on Le 1s hope it should work... :)

    Edit: Tested on Le 1s LeEco eui 5.5.014
    Most of the things works except this
    2. Disable EUI Control Center for Default app switcher
    4. Enable Vanilla 3D Recent apps (no clear all button yet :( )

    xposed logs attached..
     

    Attached Files:

    Last edited: Jul 12, 2016
    reyaz3609 and Shavi_Suri like this.
  3. Hit_5
    Hit_5 New Member
    Joined:
    Jul 3, 2016
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    Gender:
    Male
    0
     
    Will it work on rooted Le 2 x526 on EUI 5.6?
    any bugs or crashing report? o_O
     
  4. gajendrakn87
    gajendrakn87 Well-Known Member
    Joined:
    May 31, 2016
    Messages:
    573
    Likes Received:
    484
    Trophy Points:
    240
    6
    43%
    Do you mind reading the first post...

    Edit : @ArunB29 will u share this module in xda-developers.. so that u will get more testers and more feedback
     
  5. Hit_5
    Hit_5 New Member
    Joined:
    Jul 3, 2016
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    Gender:
    Male
    0
     
    Trying to be oversmart ? i asked that coz xposed may put your device on bootloop.!
     
  6. FrancescoScala
    FrancescoScala New Member
    Joined:
    Jul 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    0
     
    I've tested it on a Leeco le 2 x620 with eui 5.8 by BB72. With the first option (lockscreen+status bar) the phone stucks at the request of the sim's pin. If I boot the phone without the sim it force close the system ui app, so I can't use the phone. The option for active the recent apps works good.
     
  7. gajendrakn87
    gajendrakn87 Well-Known Member
    Joined:
    May 31, 2016
    Messages:
    573
    Likes Received:
    484
    Trophy Points:
    240
    6
    43%
    Forget smartness its basic common sense.. Read below line carefully said by @ArunB29 and look at the screenshots in First post.

    if u have fear of bootloop better dont use xposed. simple
     
  8. ArunB29
    ArunB29 Member
    Joined:
    Jun 17, 2016
    Messages:
    38
    Likes Received:
    53
    Trophy Points:
    10
    Gender:
    Male
    1
     
    I was reading the logs you provided. It seems the code for Control center or recent apps switcher is different for 5.5. So this wont work there :(. EUI moder is hooking on a method responsible for opening recent apps. Since that method is not present or is with a different name, this wont work. Sorry :( I will update this on main post.
     
    gajendrakn87 likes this.
  9. ArunB29
    ArunB29 Member
    Joined:
    Jun 17, 2016
    Messages:
    38
    Likes Received:
    53
    Trophy Points:
    10
    Gender:
    Male
    1
     
    Last edited: Jul 12, 2016
    gajendrakn87 likes this.
  10. ArunB29
    ArunB29 Member
    Joined:
    Jun 17, 2016
    Messages:
    38
    Likes Received:
    53
    Trophy Points:
    10
    Gender:
    Male
    1
     
    I don't know how this will behave in custom ROMs. Custom ROMs themselves have many changes from EUI code and that might interfere with my modifications. I havent tested with SIM card pin or without pin. Can you try a SIM without pin? Thanks
     
  11. gajendrakn87
    gajendrakn87 Well-Known Member
    Joined:
    May 31, 2016
    Messages:
    573
    Likes Received:
    484
    Trophy Points:
    240
    6
    43%
    Thanks for the reply.. how can i help u in making this work with eui 5.5?
    I can upload systemui and framework apk If u need...
     
  12. ArunB29
    ArunB29 Member
    Joined:
    Jun 17, 2016
    Messages:
    38
    Likes Received:
    53
    Trophy Points:
    10
    Gender:
    Male
    1
     
    I can try if you provide the systemui.odex and framework.apk. But I don't have a device to test if it will work or not (developement is with lot of trial and errors). I can give you versions to test yourself.
     
  13. 0091996xxxxx03_484
    0091996xxxxx03_484 Well-Known Member
    Joined:
    Jul 4, 2016
    Messages:
    38
    Likes Received:
    15
    Trophy Points:
    50
    Gender:
    Male
    2
    67%
    TWRP on Le 2 x526 Tutorial???
     
    NCKSaheb likes this.
  14. Captain_Sandy
    Captain_Sandy Well-Known Member
    Joined:
    Jun 25, 2016
    Messages:
    70
    Likes Received:
    33
    Trophy Points:
    50
    Gender:
    Male
    Occupation:
    CAE Engineer
    Location:
    Bengaluru
    2
    67%
    Just search the forum, there is a thread.. and watch a YouTube video if you are new to root..
     
  15. 0091996xxxxx03_484
    0091996xxxxx03_484 Well-Known Member
    Joined:
    Jul 4, 2016
    Messages:
    38
    Likes Received:
    15
    Trophy Points:
    50
    Gender:
    Male
    2
    67%
    hey need help twrp is asking for decrypt password...

    and now i am not able to use my phone it ask for password to start android

    please help

    what should i do??
     
    rishabhrao likes this.
  16. FrancescoScala
    FrancescoScala New Member
    Joined:
    Jul 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    0
     
    I have tried without sim but it stucks
     
  17. rishabhrao
    rishabhrao Well-Known Member
    Joined:
    Jun 20, 2016
    Messages:
    191
    Likes Received:
    182
    Trophy Points:
    190
    Gender:
    Male
    Location:
    Mumbai
    Home Page:
    5
    67%
    Just do this:
    Boot to recovery mode again (TWRP Recovery)
    Then when it asks for password in TWRP, just press cancel.
    Then go to Wipe and Wipe Data.

    Then Install SuperSU zip (If you havent Already)

    Then reboot and Enjoy Rooted Le 2 X526
     
    0091996xxxxx03_484 likes this.
  18. 0091996xxxxx03_484
    0091996xxxxx03_484 Well-Known Member
    Joined:
    Jul 4, 2016
    Messages:
    38
    Likes Received:
    15
    Trophy Points:
    50
    Gender:
    Male
    2
    67%

    Thanks..... But in Internal storage shows nothing

    and USB storage is also not getting mounted
     
  19. rishabhrao
    rishabhrao Well-Known Member
    Joined:
    Jun 20, 2016
    Messages:
    191
    Likes Received:
    182
    Trophy Points:
    190
    Gender:
    Male
    Location:
    Mumbai
    Home Page:
    5
    67%
    Maybe internal storage isn't showing anything because there is nothing in it.
    I dont know much bout the method u used...
    But maybe ur internal storage was wiped during unlocking bootloader???

    Did u try copying something (e.g. supersu.zip) from ur pc back to phone thru mtp of twrp?
    Try it once...
     
    0091996xxxxx03_484 likes this.
  20. 0091996xxxxx03_484
    0091996xxxxx03_484 Well-Known Member
    Joined:
    Jul 4, 2016
    Messages:
    38
    Likes Received:
    15
    Trophy Points:
    50
    Gender:
    Male
    2
    67%
    Yeah...I booted my phone after wiping, setted up back as new phone and copied Supersu.zip in phone.
    But still in twrp it shows nothing.
    Can U provide TWRP recovery.img for le 2 x526 .