[PORT][CM12.1/AOSP 5.1/STOCK 5.1] Xperia Z5 SystemUI And Particle Effect Lockscreen

Search This thread

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
Introduction:-
Hey guys! Here's my new port of Official Xperia Z5 Lollipop SystemUI and Particle Effect Lockscreen for Xperia as well as Non-Xperia devices running on CM12.1,AOSP 5.1 as well as Sony Stock 5.1. Possibly working on CM and AOSP variants such as AICP, Resurrection Remix etc. [TESTING REQUIRED!] I have also added Xperia Z5 Home and Z5 Media Sounds in this MOD. :D Hope you guys like it!;)

POST 1- Introduction And Features
POST 2- Screenshots
POST 3- Downloads And Instructions
POST 4- Guide To Create Superuser MOD


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 make nandroid backup before flashing this as a precaution!
*Try this MOD at your own risk!
Features:-
  • Drag And Drop To Add Or Remove Quick Settings
  • Added New Animations
  • Added New Expandable Sound Panel
  • Particle Effect Lockscreen With 3 Different Clocks On Lockscreen
  • Xperia Live Wallpaper
  • Xperia Z5 Home Launcher
  • Xperia Z5 Media Sounds

NOTE- DO NOT USE OR SHARE ANY PART OF MY WORK IN ANY ROM OR ANY MOD WITHOUT MY PERMISSION!!

Credits:-

DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
 
Last edited:

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
Screenshots

Screenshots:-
  • Xperia Z5 SystemUI
attachment.php


  • Xperia Particle Effect Lockscreen
attachment.php

DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
 

Attachments

  • Z5-SystemUI1.jpg
    Z5-SystemUI1.jpg
    97.4 KB · Views: 144,937
  • Z5-SystemUI2.jpg
    Z5-SystemUI2.jpg
    110.4 KB · Views: 144,418
Last edited:

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
Downloads And Instructions

Instructions:-

  • Make sure you have Superuser MOD installed.
  • There are 2 ways of doing Superuser MOD.
    1. Using the guide given in next post. [Recommended for CM and AOSP!]
    2. If you have Xposed framework installed, then use Serajr Xperia Xposed LP module and in system option,click on Superuser MOD.
  • Download Xperia Z5 Lollipop System Apps Port Zip.
  • Go to Recovery.
  • Flash the downloaded zip.
  • Wipe Cache partition and ART/Dalvik-cache.
  • Reboot your phone.
  • Done!Enjoy The New Looks!!;)
Download:-

Bugs:-

  • Some of the Quick Settings tiles are not working.
  • PIN,Pattern and Password locks are not working. (3x3 pattern lock works fine.)
NOTE:- To get Particle Effect Lockscreen, just set Xperia Live Wallpaper as your default wallpaper.:D

DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
 
Last edited:

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
Guide to create Superuser MOD

Superuser MOD disables the signature verification for all apps. After using this MOD you can install apps with different signature!:D

Requirements:-
  • Services.jar from your device. It's located in system/framework/
  • Apktool or some similar software.
  • Decompiling-Recompiling Knowledge.
  • Notepad++ for Editing XMLs.
  • Working brain and patience!!:D
STEP 1- Decompile services.jar using apktool.
STEP 2- Go to \smali\com\android\server\pm\
STEP 3- Find the file named PackageManagerService.smali and open it using Notepad++
STEP 4- Now Find this method:-
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    .locals 11
    .param p0, "s1"    # [Landroid/content/pm/Signature;
    .param p1, "s2"    # [Landroid/content/pm/Signature;

    .prologue
    const/4 v6, 0x1

    const/4 v8, -0x3

    const/4 v7, 0x0

    .line 2955
    if-nez p0, :cond_1

    .line 2956
    if-nez p1, :cond_0

    .line 2988
    :goto_0
    return v6

    .line 2956
    :cond_0
    const/4 v6, -0x1

    goto :goto_0

    .line 2961
    :cond_1
    if-nez p1, :cond_2

    .line 2962
    const/4 v6, -0x2

    goto :goto_0

    .line 2965
    :cond_2
    array-length v9, p0

    array-length v10, p1

    if-eq v9, v10, :cond_3

    move v6, v8

    .line 2966
    goto :goto_0

    .line 2970
    :cond_3
    array-length v9, p0

    if-ne v9, v6, :cond_5

    .line 2971
    aget-object v6, p0, v7

    aget-object v9, p1, v7

    invoke-virtual {v6, v9}, Landroid/content/pm/Signature;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_4

    move v6, v7

    goto :goto_0

    :cond_4
    move v6, v8

    goto :goto_0

    .line 2976
    :cond_5
    new-instance v3, Ljava/util/HashSet;

    invoke-direct {v3}, Ljava/util/HashSet;-><init>()V

    .line 2977
    .local v3, "set1":Ljava/util/HashSet;, "Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
    move-object v0, p0

    .local v0, "arr$":[Landroid/content/pm/Signature;
    array-length v2, v0

    .local v2, "len$":I
    const/4 v1, 0x0

    .local v1, "i$":I
    :goto_1
    if-ge v1, v2, :cond_6

    aget-object v5, v0, v1

    .line 2978
    .local v5, "sig":Landroid/content/pm/Signature;
    invoke-virtual {v3, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    .line 2977
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 2980
    .end local v5    # "sig":Landroid/content/pm/Signature;
    :cond_6
    new-instance v4, Ljava/util/HashSet;

    invoke-direct {v4}, Ljava/util/HashSet;-><init>()V

    .line 2981
    .local v4, "set2":Ljava/util/HashSet;, "Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
    move-object v0, p1

    array-length v2, v0

    const/4 v1, 0x0

    :goto_2
    if-ge v1, v2, :cond_7

    aget-object v5, v0, v1

    .line 2982
    .restart local v5    # "sig":Landroid/content/pm/Signature;
    invoke-virtual {v4, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    .line 2981
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    .line 2985
    .end local v5    # "sig":Landroid/content/pm/Signature;
    :cond_7
    invoke-virtual {v3, v4}, Ljava/util/HashSet;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_8

    move v6, v7

    .line 2986
    goto :goto_0

    :cond_8
    move v6, v8

    .line 2988
    goto :goto_0
.end method
NOTE- It doesn't matter if some of your code in above method differs than this code. Just go to next step!
STEP 5- Shrink the above code to:-
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    .locals 11
    .param p0, "s1"    # [Landroid/content/pm/Signature;
    .param p1, "s2"    # [Landroid/content/pm/Signature;

    .prologue
    const/4 v7, 0x0
	
    .line 2934
    return v7
.end method
STEP 6- Now Find the lines given below:-[Hint-In search box type Cannot to find faster!]
Code:
invoke-static {v4, v0}, Lcom/android/server/pm/PackageManagerService;->compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

    move-result v4

    if-nez v4, :cond_c

    .line 5572
    new-instance v4, Lcom/android/server/pm/PackageManagerException;

    const/16 v5, -0x13

    const-string v11, "Cannot install platform packages to user storage!"

    invoke-direct {v4, v5, v11}, Lcom/android/server/pm/PackageManagerException;-><init>(ILjava/lang/String;)V

    throw v4

    .line 5578
    .end local v89    # "s1":[Landroid/content/pm/Signature;
    :cond_c
STEP 7- Make changes as per the Red line only:-
Code:
invoke-static {v4, v0}, Lcom/android/server/pm/PackageManagerService;->compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

    move-result v4

    [B][COLOR="Red"]if-eqz[/COLOR][/B] v4, :cond_c

    .line 5572
    new-instance v4, Lcom/android/server/pm/PackageManagerException;

    const/16 v5, -0x13

    const-string v11, "Cannot install platform packages to user storage!"

    invoke-direct {v4, v5, v11}, Lcom/android/server/pm/PackageManagerException;-><init>(ILjava/lang/String;)V

    throw v4

    .line 5578
    .end local v89    # "s1":[Landroid/content/pm/Signature;
    :cond_c
STEP 8- Save and recompile your services.jar..Set the permissions to rw-r--r-- and push it to system/framework/
STEP 9- Done! Reboot your device.:D

DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
 
Last edited:

Deleunes254

Senior Member
Jan 2, 2015
409
249
Belgium
Awesome! I would love to try it but you said pattern lock doesn't work :/ Do you mean the 4*4 and 5*5 with that? (so 3*3 works?)

Otherwhise, looking forward to try it on aicp and on the upcoming stryflex update! :D
 

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
Awesome! I would love to try it but you said pattern lock doesn't work :/ Do you mean the 4*4 and 5*5 with that? (so 3*3 works?)

Otherwhise, looking forward to try it on aicp and on the upcoming stryflex update! :D

3x3 pattern lock works fine..Others doesn't..Possibly working on all CM variants such as AICP, Resurrection Remix etc..Give it a try! ;)
 

elmkzgirxp

Senior Member
May 16, 2013
724
236
Are the stock wallpapers included? If not, it would be a great additional feature to Xperia Home (like in /etc/customizations/com/sonyericsson/wallpapers).
 

anakdayak

Senior Member
Jan 8, 2013
1,006
148
Hi OP is it ok if i just push the home-release to system app with correct permission? I'm on 5.1.1 stock odex.
 

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
  • Like
Reactions: osa_misuari

Rohit Salian

Senior Member
Apr 13, 2014
81
13
MumbaI
Hello I tried it on cm12.1 Ressurection Remix 5.5.5 Sprout 4 (android one) but after booting system UI Crashed.. Hoping you could give a solution.. Dalvik and cache were cleared..
Thank You
 
  • Like
Reactions: neonixxx

darth.cabs

Member
Oct 16, 2012
20
2
Has anyone tried this on any Stock Motorola firmware? Can I consider my stock Moto X 2014's Android 5.1 as being AOSP? Since Motorola has kept it as close to the original as possible.

Thanks!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 86
    Introduction:-
    Hey guys! Here's my new port of Official Xperia Z5 Lollipop SystemUI and Particle Effect Lockscreen for Xperia as well as Non-Xperia devices running on CM12.1,AOSP 5.1 as well as Sony Stock 5.1. Possibly working on CM and AOSP variants such as AICP, Resurrection Remix etc. [TESTING REQUIRED!] I have also added Xperia Z5 Home and Z5 Media Sounds in this MOD. :D Hope you guys like it!;)

    POST 1- Introduction And Features
    POST 2- Screenshots
    POST 3- Downloads And Instructions
    POST 4- Guide To Create Superuser MOD


    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 make nandroid backup before flashing this as a precaution!
    *Try this MOD at your own risk!
    Features:-
    • Drag And Drop To Add Or Remove Quick Settings
    • Added New Animations
    • Added New Expandable Sound Panel
    • Particle Effect Lockscreen With 3 Different Clocks On Lockscreen
    • Xperia Live Wallpaper
    • Xperia Z5 Home Launcher
    • Xperia Z5 Media Sounds

    NOTE- DO NOT USE OR SHARE ANY PART OF MY WORK IN ANY ROM OR ANY MOD WITHOUT MY PERMISSION!!

    Credits:-

    DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
    71
    Screenshots

    Screenshots:-
    • Xperia Z5 SystemUI
    attachment.php


    • Xperia Particle Effect Lockscreen
    attachment.php

    DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
    52
    Downloads And Instructions

    Instructions:-

    • Make sure you have Superuser MOD installed.
    • There are 2 ways of doing Superuser MOD.
      1. Using the guide given in next post. [Recommended for CM and AOSP!]
      2. If you have Xposed framework installed, then use Serajr Xperia Xposed LP module and in system option,click on Superuser MOD.
    • Download Xperia Z5 Lollipop System Apps Port Zip.
    • Go to Recovery.
    • Flash the downloaded zip.
    • Wipe Cache partition and ART/Dalvik-cache.
    • Reboot your phone.
    • Done!Enjoy The New Looks!!;)
    Download:-

    Bugs:-

    • Some of the Quick Settings tiles are not working.
    • PIN,Pattern and Password locks are not working. (3x3 pattern lock works fine.)
    NOTE:- To get Particle Effect Lockscreen, just set Xperia Live Wallpaper as your default wallpaper.:D

    DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
    43
    Guide to create Superuser MOD

    Superuser MOD disables the signature verification for all apps. After using this MOD you can install apps with different signature!:D

    Requirements:-
    • Services.jar from your device. It's located in system/framework/
    • Apktool or some similar software.
    • Decompiling-Recompiling Knowledge.
    • Notepad++ for Editing XMLs.
    • Working brain and patience!!:D
    STEP 1- Decompile services.jar using apktool.
    STEP 2- Go to \smali\com\android\server\pm\
    STEP 3- Find the file named PackageManagerService.smali and open it using Notepad++
    STEP 4- Now Find this method:-
    Code:
    .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
        .locals 11
        .param p0, "s1"    # [Landroid/content/pm/Signature;
        .param p1, "s2"    # [Landroid/content/pm/Signature;
    
        .prologue
        const/4 v6, 0x1
    
        const/4 v8, -0x3
    
        const/4 v7, 0x0
    
        .line 2955
        if-nez p0, :cond_1
    
        .line 2956
        if-nez p1, :cond_0
    
        .line 2988
        :goto_0
        return v6
    
        .line 2956
        :cond_0
        const/4 v6, -0x1
    
        goto :goto_0
    
        .line 2961
        :cond_1
        if-nez p1, :cond_2
    
        .line 2962
        const/4 v6, -0x2
    
        goto :goto_0
    
        .line 2965
        :cond_2
        array-length v9, p0
    
        array-length v10, p1
    
        if-eq v9, v10, :cond_3
    
        move v6, v8
    
        .line 2966
        goto :goto_0
    
        .line 2970
        :cond_3
        array-length v9, p0
    
        if-ne v9, v6, :cond_5
    
        .line 2971
        aget-object v6, p0, v7
    
        aget-object v9, p1, v7
    
        invoke-virtual {v6, v9}, Landroid/content/pm/Signature;->equals(Ljava/lang/Object;)Z
    
        move-result v6
    
        if-eqz v6, :cond_4
    
        move v6, v7
    
        goto :goto_0
    
        :cond_4
        move v6, v8
    
        goto :goto_0
    
        .line 2976
        :cond_5
        new-instance v3, Ljava/util/HashSet;
    
        invoke-direct {v3}, Ljava/util/HashSet;-><init>()V
    
        .line 2977
        .local v3, "set1":Ljava/util/HashSet;, "Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
        move-object v0, p0
    
        .local v0, "arr$":[Landroid/content/pm/Signature;
        array-length v2, v0
    
        .local v2, "len$":I
        const/4 v1, 0x0
    
        .local v1, "i$":I
        :goto_1
        if-ge v1, v2, :cond_6
    
        aget-object v5, v0, v1
    
        .line 2978
        .local v5, "sig":Landroid/content/pm/Signature;
        invoke-virtual {v3, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
    
        .line 2977
        add-int/lit8 v1, v1, 0x1
    
        goto :goto_1
    
        .line 2980
        .end local v5    # "sig":Landroid/content/pm/Signature;
        :cond_6
        new-instance v4, Ljava/util/HashSet;
    
        invoke-direct {v4}, Ljava/util/HashSet;-><init>()V
    
        .line 2981
        .local v4, "set2":Ljava/util/HashSet;, "Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
        move-object v0, p1
    
        array-length v2, v0
    
        const/4 v1, 0x0
    
        :goto_2
        if-ge v1, v2, :cond_7
    
        aget-object v5, v0, v1
    
        .line 2982
        .restart local v5    # "sig":Landroid/content/pm/Signature;
        invoke-virtual {v4, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
    
        .line 2981
        add-int/lit8 v1, v1, 0x1
    
        goto :goto_2
    
        .line 2985
        .end local v5    # "sig":Landroid/content/pm/Signature;
        :cond_7
        invoke-virtual {v3, v4}, Ljava/util/HashSet;->equals(Ljava/lang/Object;)Z
    
        move-result v6
    
        if-eqz v6, :cond_8
    
        move v6, v7
    
        .line 2986
        goto :goto_0
    
        :cond_8
        move v6, v8
    
        .line 2988
        goto :goto_0
    .end method
    NOTE- It doesn't matter if some of your code in above method differs than this code. Just go to next step!
    STEP 5- Shrink the above code to:-
    Code:
    .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
        .locals 11
        .param p0, "s1"    # [Landroid/content/pm/Signature;
        .param p1, "s2"    # [Landroid/content/pm/Signature;
    
        .prologue
        const/4 v7, 0x0
    	
        .line 2934
        return v7
    .end method
    STEP 6- Now Find the lines given below:-[Hint-In search box type Cannot to find faster!]
    Code:
    invoke-static {v4, v0}, Lcom/android/server/pm/PackageManagerService;->compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    
        move-result v4
    
        if-nez v4, :cond_c
    
        .line 5572
        new-instance v4, Lcom/android/server/pm/PackageManagerException;
    
        const/16 v5, -0x13
    
        const-string v11, "Cannot install platform packages to user storage!"
    
        invoke-direct {v4, v5, v11}, Lcom/android/server/pm/PackageManagerException;-><init>(ILjava/lang/String;)V
    
        throw v4
    
        .line 5578
        .end local v89    # "s1":[Landroid/content/pm/Signature;
        :cond_c
    STEP 7- Make changes as per the Red line only:-
    Code:
    invoke-static {v4, v0}, Lcom/android/server/pm/PackageManagerService;->compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    
        move-result v4
    
        [B][COLOR="Red"]if-eqz[/COLOR][/B] v4, :cond_c
    
        .line 5572
        new-instance v4, Lcom/android/server/pm/PackageManagerException;
    
        const/16 v5, -0x13
    
        const-string v11, "Cannot install platform packages to user storage!"
    
        invoke-direct {v4, v5, v11}, Lcom/android/server/pm/PackageManagerException;-><init>(ILjava/lang/String;)V
    
        throw v4
    
        .line 5578
        .end local v89    # "s1":[Landroid/content/pm/Signature;
        :cond_c
    STEP 8- Save and recompile your services.jar..Set the permissions to rw-r--r-- and push it to system/framework/
    STEP 9- Done! Reboot your device.:D

    DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
    4
    SystemUI without need of Superuser MOD

    well after installing manually the systemUi.apk you modified in the last post i still have UI fc here log once again :D

    LOGCAT

    @Kianush how did you get systemUI to work? I'm on Xperia sl with chroma 5.1.1
    Try this SystemUI- Manually push into system/priv-app/SystemUI..
    PD: I installed Ibanez7 Walkman port (3.5) and it bootloops with this SystemUI, with Stock CM12.1, don't :(
    It might be conflicting with the Superuser MOD..Try this SystemUI- Superuser MOD not needed for this-