[PORT][CM12] Official Xperia Z3 Lollipop SystemUI + Z3 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 Z3 Lollipop SystemUI and Xperia Z3 Particle Effect Lockscreen for devices running on CM12. I have also added Z3 Lollipop ClockWidgets and Z3 Media Sounds in this MOD. :DHope you 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
  • Z3 Particle Effect Lockscreen With 3 Different Clocks On Lockscreen
  • Xperia Z3 Lollipop Live Wallpaper
  • Xperia Z3 Lollipop ClockWidgets
  • Xperia Z3 Media Sounds

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

Credits:-

  • @serajr for amazing guidance and precious help!
  • @vandroid7 for Z3 ClockWidgets fonts xmls
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:-
attachment.php


attachment.php

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

Attachments

  • SystemUI.jpg
    SystemUI.jpg
    123.1 KB · Views: 138,158
  • Lockscreen.jpg
    Lockscreen.jpg
    129.6 KB · Views: 137,276
Last edited:

STRYDER~007

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

Instructions:-

  • Make sure you're on CyanogenMod 12.(I don't know if this PORT works on AOSP ROMs..Confirmation Required!!:D)
  • Make sure you have Superuser MOD installed.(Guide to create it is given on next post.;))
  • Download My Z3 Lollipop System Apps Port Zip.
  • Go into 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.
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
STEP 5- Shrink it 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:-
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- Change it to the Red line:-
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:

evil.demon_s

Senior Member
Jan 2, 2013
646
721
Bro...finally you made it
Awesome mahn... :D
But update the thread with download links fast or else it would be considered as placeholder

And i hope it works on cm12.1 also
:p
 
  • Like
Reactions: STRYDER~007

STRYDER~007

Inactive Recognized Developer / Recognized Themer
May 13, 2013
2,740
9,247
Pune
Will it work with CM12.1?
I don't think so..Give it a try if you want..Let me know if it woks or not.:D
Cooooooooooooooooooooool Bro. :good::good::good:
Thanks a lot!
Bro...finally you made it
Awesome mahn... :D
But update the thread with download links fast or else it would be considered as placeholder

And i hope it works on cm12.1 also
:p
Thanks!Thread updated..I don't know if it woks on CM12.1 or not..Give it a try!;)
 
W

wolfmannight

Guest
Nope , Not work on 12.1

---------- Post added at 03:51 PM ---------- Previous post was at 03:50 PM ----------

please make it for 12.1
 

vandroid7

Member
Dec 19, 2012
27
35
Features:-
  • Drag And Drop To Add Or Remove Quick Settings
  • Added New Animations
  • Z3 Particle Effect Lockscreen With 3 Different Clocks On Lockscreen
  • Xperia Z3 Lollipop Live Wallpaper
  • Xperia Z3 Lollipop ClockWidgets
  • Xperia Z3 Media Sounds

Hey buddy, the modified fallback fonts.xml and fonts.xml are mine !! and I saw you r using them for clock widgets !! If you didn't ask permission to me I think it's ok, atleast give credit to me :confused:
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 91
    Introduction:-
    Hey guys! Here's My New Port of Official Xperia Z3 Lollipop SystemUI and Xperia Z3 Particle Effect Lockscreen for devices running on CM12. I have also added Z3 Lollipop ClockWidgets and Z3 Media Sounds in this MOD. :DHope you 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
    • Z3 Particle Effect Lockscreen With 3 Different Clocks On Lockscreen
    • Xperia Z3 Lollipop Live Wallpaper
    • Xperia Z3 Lollipop ClockWidgets
    • Xperia Z3 Media Sounds

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

    Credits:-

    • @serajr for amazing guidance and precious help!
    • @vandroid7 for Z3 ClockWidgets fonts xmls
    DON'T FORGET TO HIT THANKS BUTTON!!:good::good::D
    62
    Screenshots

    Screenshots:-
    attachment.php


    attachment.php

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

    Instructions:-

    • Make sure you're on CyanogenMod 12.(I don't know if this PORT works on AOSP ROMs..Confirmation Required!!:D)
    • Make sure you have Superuser MOD installed.(Guide to create it is given on next post.;))
    • Download My Z3 Lollipop System Apps Port Zip.
    • Go into 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.
    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
    31
    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
    STEP 5- Shrink it 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:-
    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- Change it to the Red line:-
    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
    8
    Is there a chance that this will be available for CM12.1 for all devices? If not, maybe you could post a tutorial including the files... Thanks!

    Ported it already.. Will be shared soon.. :)