[PORT/PATCH][JB] Patching your ROM to look like Xperia 2013 with Almost All Features

Search This thread

Rizal Lovins

Recognized Developer / Themer / Contributor
May 30, 2012
1,617
15,944
Bandung
LG V30
ABOUT ME
WHO IS MASTER RIZAL LOVINS ???

JUST FOLLOW ME OR ADD ME AS YOUR FRIEND ON SOCIAL NETWORKS


603662_4082710605942_429733536_n.jpg


Hello XDA community ... :laugh:

First time, I ported to the ranks Xperia 2011

Finally, i successfully ported almost all features for all devices from Sony Xperia 2013,

And now offering a patch ROM Xperia 2013 build 12.0.A.1.211 for the CUSTOM JELLY BEAN ROM 4.1.2 & 4.2.2 All Device like CM10/CM10.1/AOKP/ParanoidAndroid/PAC

This patch is based from Xperia SP and from my Xperia V using Jelly Bean ROM

This patch not one apps will be replaced but will be removed some apps, this is for more free space on system ROM ... the Patch fully modified by me and some porting library to get it work almost all applications from Xperia 2013

This is very simple if you want flashing custom Jelly Bean ROM with almost all features from SONY Xperia 2013

DISCLAIMER
Code:
#include 
/*
* 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 Patch
* 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.
*/


FEATURES WORKING :

Code:
- Added SONY Media Applications Xperia SP
- Mobile Bravia Engine 2 for Enhance viewing Image Quality in Album & Movies
- Socialife Xperia Z Modified again by me for FB/Twitter/Youtube/Google Reader via Socialife
- Xperia SP Keyboard with fix smiley & symbol
- Movies with download video info
- Album with online photos
- Slideshow in Album but not SensMe Slideshow
- Photo Editor in Album
- Walkman Xperia SP
- Walkman Music extension for find info music on web
- Walkman ClearAudio+ fully working
- Walkman Music Widget 
- Walkman Visulaizer (only work in 4.1.2)
- Photos & Video Widget 
- Friend's & Music in Walkman 
- Latest TrackID Mod with Customized added 
- Xperia Z Launcher
- New Theme Stock Xperia (Lovins Xperia Theme) Theme Chooser


FEATURES NOT WORKING :

Code:
- xLoud in Walkman
- ClearPhase in Walkman
- S-Force in Walkman
- Small Apps 
- Edit/Download Music Info in Walkman
- SensMe in Walkman
- SensMe slideshow in Album


CHANGELOG :

Code:
[B]Changelog Version 1.0 For All Device :[/B]
- Initilal Release for all device
- Full Compatibility for CM10/CM10.1/AOKP/ParanoidAndroid/PAC
- And All features mentioned on Features Working


[B]Changelog Version 3.0 From Xperia 2011 line :[/B]
- Fixed compatibility kernel, so you can use all kernel for your device
- Fixed always reboot to recovery when install this patch
- Removed some framework stuff for fixing compatibility
- Removed some library, for fixing in all ROM original CM/AOKP/Paranoid/PAC & ETC
- Fixed line in build.prop, for improve performance SONY media apps 
- ZipAligned
- Signed


[B]Changelog Version 2.0 From Xperia 2011 line :[/B]
- Removed AudioEffectService.apk (not installed)
- Removed SwiqiSettingService.apk (not installed)
- Removed all drm driver (for fixing Patch on JB 4.1 ROM)
- New media_profile.xml for better camera quality
- Disable buggy video 720p recording (on kernel supported 720p)
- Removed some stuff library for fixing Patch on JB 4.2
- Fix bug on some app (for more stable)
- Added Xperia SP Wallpaper picker
- Added Xperia SP Sound picker
- Added srcipt for deleting system>media>video
- Added script for deleting VideoEditor.apk
- All stuff signed 
- All stuff ZipAligned for better performance apps


[B]Changelog Version 1.0 From Xperia 2011 line :[/B]

- Initial Release
- Removed Bloatware Automatic
- Removed some CM/AOKP/PAC apps Automatic
- Ported Driver sound ALSA Fully working for better audio 
- All system framework from Xperia Z JB Deodexed
- New gps.conf Xperia 2013
- Optimizing led flash & torch 
- Latest driver sound from Xperia SP
- Patching SemcGenericUxpres.apk
- Fixed Walkman music extension not installed
- Fixed layout SoundEnhancement Xperia SP (Clear Audio EQ) 
- Fixed smiley & icon Xperia SP Keyboard
- Added build.prop line for SONY Media Apps
- Added sony optimized audio resampling
- Updated Google Play Store 4.0.27 Blue Black Edition


DOWNLOAD :

NEW Version

Download Patch v.1.0 Official JB ROM Xperia 2013 for All Device

Download GAPPS For JB 4.2.2 from Goo.im

Download GAPPS For JB 4.1.2 from Goo.im

Download Walkman Music Visualizer (only work on JB 4.1.2) Install Normally

Download Stock Xperia Theme (Lovins Xperia Theme/Theme Chooser)



HOW TO INSTALL :

- Download ROM Original you want to use (JB 4.1.2 & 4.2.2) i mean like CM10.1/AOKP/PAC ETC without modifications
- Download This Patch
- Please Download GAPPS
- Make sure you have a backup
- Reboot into Recovery
- Wipe data
- Wipe cache
- Wipe dalvik cache
- Format system
- Install the ROM you want to use
- Install Patch
- Install Gapps
- Reboot


ENJOY!!! :p :good: :cowboy: ;)


NOTE : PLEASE ALWAYS BACKUP BEFORE FLASHING THIS PATCH!!!

THIS PATCH DOESN'T SUPPORT BASED STOCK ROM (OFFICIAL ROM)

FOR LOW END DEVICES, PLEASE MAKE SURE YOU HAVE FREE SPACE ON SYSTEM ROM!!




CREDITS :
Code:
    * [URL="http://forum.xda-developers.com/member.php?u=4663391"][B]abcdjdj[/B][/URL] For Xperia SP system dump [URL="http://forum.xda-developers.com/showthread.php?t=2240516"][B]Here[/B][/URL]
    * [URL="http://forum.xda-developers.com/member.php?u=3085909"][B]ra3al[/B][/URL]  For Xperia Z Launcher [URL="http://forum.xda-developers.com/showthread.php?t=2103403"][B]Here[/B][/URL]
    * [URL="http://forum.xda-developers.com/member.php?u=4898631"][B]erorcun[/B][/URL] For Original Socialife [URL="http://forum.xda-developers.com/showthread.php?t=2229625&nocache=1"][B]Here[/B][/URL]
    * [URL="http://forum.xda-developers.com/member.php?u=4569900"][B]My brother ibanez7[/B][/URL]
    * Thanks to SONY for Awesome Media apps on Xperia 2013 
    * All Member XDA-Developers
    * All Member Official FB Group Galaxy S II / Galaxy S 4 & Galaxy W
    * All Member Official FB Group Xperia Indonesia

      Excuse me if i forgot someone, just post in this thread or PM me
 
Last edited:

Rizal Lovins

Recognized Developer / Themer / Contributor
May 30, 2012
1,617
15,944
Bandung
LG V30
GUIDE Xperia SP Lockscreen Only For JB 4.1.2 (JB 4.2.2 currently doesn't support)

Visit this thread for how to decompile
>>CLICK HERE<<

Required file from Xperia SP

- Xperia SP android.policy.jar deodexed ( for source code ) Download in attachcement
- Download Xperia SP Lockscreen modified in attachcement



Instructions :


- Red (remove code)
- Blue (add code)
- Green (change/replace code)


Step 1
- Decompile Xperia SP android.policy.jar
- Go to smali/com/android/internal/policy/impl and copy ExtendedKeyguardScreen.smali and ExternalLockScreen.smali
- ExternalLockScreen.smali need to be editing

Find invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z

Code:
.line 238
    sget-object v9, Lcom/android/internal/policy/impl/ExternalLockScreen;->sLockScreenInfoLock:Ljava/util/concurrent/locks/Lock;

    invoke-interface {v9}, Ljava/util/concurrent/locks/Lock;->unlock()V

   [COLOR="Red"] .line 241
    if-nez v4, :cond_2[/COLOR]

    .line 242
    invoke-static {p0}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getExternalLockScreenPackage(Landroid/content/Context;)Landroid/content/ComponentName;

    move-result-object v4

    [COLOR="red"].line 246
    :cond_2
    invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z

    move-result v8

    .line 250
    if-eqz v8, :cond_3[/COLOR]

    .line 251
    invoke-virtual {v4}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v9

Find .method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z


Code:
 .method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
    .locals 4
    .parameter "context"
    .parameter "info"

    .prologue
    const/4 v1, 0x0

    .line 131
   [COLOR="red"] if-eqz p1, :cond_0[/COLOR]

    invoke-virtual {p1}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;

    move-result-object v2

   [COLOR="red"] if-eqz v2, :cond_0[/COLOR]

    invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v2

   [COLOR="red"] if-nez v2, :cond_1

    .line 132
    :cond_0
    const-string v2, "ExternalLockScreen"

    const-string v3, "External lockscreen name and package info has not been set correctly!"

    invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
[/COLOR]
    .line 147
    :goto_0
    return v1

    .line 140
    :cond_1
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    .line 141
    .local v0, pm:Landroid/content/pm/PackageManager;
    const-string v2, "com.sonyericsson.permission.EXTERNAL_LOCKSCREEN"

    invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/pm/PackageManager;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I

    move-result v2

   [COLOR="red"] if-nez v2, :cond_2[/COLOR]

    .line 143
    const/4 v1, 0x1

    goto :goto_0

   [COLOR="red"] .line 146
    :cond_2
    const-string v2, "ExternalLockScreen"

    const-string v3, "Validation of external lockscreen failed!!"

    invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0[/COLOR]
.end method

Save it!!!


Step 2
- Next extract your phone/rom android.policy.jar and decompile it with baksmali/smali program. From the output, copy and paste the ExtendedKeyguardScreen.smali and the modified ExternalLockScreen.smali to smali/com/android/internal/policy/impl
- Then open smali/com/android/internal/policy/impl/ LockPatternKeyguardView.smali

Code:
.field private mHasDialog:Z

.field mInfoCallback:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallbackImpl;

[COLOR="Blue"].field private mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]

.field private mIsTalkbackDrvModeOn:Z

Find # virtual methods.method public cleanUp()V

Code:
# virtual methods
.method public cleanUp()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    [COLOR="blue"]const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]

    .line 1096
    iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mLockScreen:Landroid/view/View;


Find .method createLockScreen()Landroid/view/View;

Code:
      .prologue
   [COLOR="blue"] iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;

    invoke-static {v1, v2}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getLockScreen(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)Landroid/view/View;

    move-result-object v0

    .local v0, lockView:Landroid/view/View;
    if-eqz v0, :cond_1

    const/4 v1, 0x1

    :goto_0
    iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z

    .line 1038
    iget-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z

    if-nez v1, :cond_0[/COLOR]

    .line 1268
    new-instance v0, Lcom/android/internal/policy/impl/sec/LockScreen;

   [COLOR="blue"] .end local v0           #lockView:Landroid/view/View;[/COLOR]
    iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mConfiguration:Landroid/content/res/Configuration;

    iget-object v3, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;

    iget-object v4, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;

    iget-object v5, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;

    invoke-direct/range {v0 .. v5}, Lcom/android/internal/policy/impl/sec/LockScreen;->(Landroid/content/Context;Landroid/content/res/Configuration;Lcom/android/internal/widget/LockPatternUtils;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)V

    .line 1274
  [COLOR="Lime"]   .restart local v0       #lockView:Landroid/view/View;[/COLOR]
  [COLOR="blue"]  :cond_0[/COLOR]
    invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View;)V

    .line 1275
    return-object v0

   [COLOR="Blue"] :cond_1
    const/4 v1, 0x0

    goto :goto_0[/COLOR]
.end method

Save it!!! Recompile/compile, if done, download Xperia SP Lockscreen and put android.policy.jar modified to system framework and install via recovery!!

Thanks to Arsaw for the Guide :good:
 

Attachments

  • android.policy.jar
    158.8 KB · Views: 213
  • Xperia_SP_Lockscreen_For_JB4.1.2_Xperia_2011_By_Rizal_Lovins_Sudanesse.zip
    4.8 MB · Views: 799
Last edited:

Rizal Lovins

Recognized Developer / Themer / Contributor
May 30, 2012
1,617
15,944
Bandung
LG V30
ABOUT SONY MEDIA APPLICATIONS

5d456s.png

walkman.png
album.png
movie.png

5d456s.png

WALKMAN (Music Player) :

253319_4212419688588_1318620347_n.jpg


Walkman music player which has been in existence in the world music lovers ... why I call already in existence? .. since about 1979 the Walkman has been born ...

Year after year continues to change physical walkman and software, and finally of DAP (digital audio portable) perched on a phone is the SE W800 to W995 is a very powerful sound for the size of the phone in his time .. due to the use of technology ClearAudio (Clear stereo and clear bass), Around the year 2011, Sony released the Android Smartphone that in the mix with Walkman, the first time the W8 and continue to Live With Walkman.

in 2012 Sony released the new Walkman ... that in injek into Smartphone Xperia S.. proved the existence of technology ClearAudio ... and in the end Sony released the Walkman features in almost all implanted into a smart phone Xperia V with ClearAudio+ (Clear Bass, Clear Stereo, Dynamic Normalizer, Surround Sound VPT, xLoud, ClearPhase & s-Force Surround)



MOVIES with BE 2 :

936177_4212419848592_23587166_n.jpg


Movies is a pretty good video player, with features similar to the sound of the music player (Clear Stereo, Clear Phase, xLoud & Surroundsound VPT) and with feature download video info, automatically your video title will be the same with video from You Tube if available in youtube



ALBUM with BE 2 :

936177_4212419848592_23587166_n.jpg


Album to open the picture or photograph you with a unique look, and you can display your photos contained in social networks like FB, Twitter, Picasa
 
Last edited:

Mtakween

Senior Member
Nov 27, 2012
973
1,192
Dubai
Great work ;)

keep up ur Good Work

when i saw SS i was thinking about a Sec that this is an xperia device lol
 

vanitea

Senior Member
Jan 13, 2012
222
57
bandung
Overall it's work fine on my phone except
1. I have to disable sound enhancment
2. Fb music like just stuck on creating post
I try to clear data xperia music like.apk but no data saved on it,
Any idea for that?



Sent from my innos i6c using xda premium
 

mrpeev

Senior Member
Mar 27, 2013
252
69
will this work on Sense based rom ?

edit: ahhh sry my JB version is 4.1.1 so it will not work definetly:(
 
Last edited:

Rizal Lovins

Recognized Developer / Themer / Contributor
May 30, 2012
1,617
15,944
Bandung
LG V30
Overall it's work fine on my phone except
1. I have to disable sound enhancment
2. Fb music like just stuck on creating post
I try to clear data xperia music like.apk but no data saved on it,
Any idea for that?

Sent from my innos i6c using xda premium

yeah FB Music like doesn't work, need some change, if work but no TrackID link, so soudenhancement doesn't work on your Official ROM? This patch will working fine if you use CM based ROM


will this work on Sense based rom ?

edit: ahhh sry my JB version is 4.1.1 so it will not work definetly:(

Try this, I mean doesn't support official ROM Xperia & maybe Galaxy
Will work too on 4.1.1 but please backup before installing ;)
 
  • Like
Reactions: Dzol Cp

J0k4r

Member
Sep 29, 2012
16
2
works perfectly on my sgs2 i9100 with newest PACman rom.

walkman player, gallery, and widgeds on homescreen.

the only thing i miss is a design for cm, i found some here in the xda-forums some times ago in a thread where someone collected all xperia things (keyboard, gallery, walkmanplayer etc) and also an apk with a theme for cyanogenmod... someone knows where it is? would be very nice ;D



greetings.
 

tzpm

Senior Member
Oct 5, 2012
137
20
good job,will have a try!

Sent from my LT29i using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    ABOUT ME
    WHO IS MASTER RIZAL LOVINS ???

    JUST FOLLOW ME OR ADD ME AS YOUR FRIEND ON SOCIAL NETWORKS


    603662_4082710605942_429733536_n.jpg


    Hello XDA community ... :laugh:

    First time, I ported to the ranks Xperia 2011

    Finally, i successfully ported almost all features for all devices from Sony Xperia 2013,

    And now offering a patch ROM Xperia 2013 build 12.0.A.1.211 for the CUSTOM JELLY BEAN ROM 4.1.2 & 4.2.2 All Device like CM10/CM10.1/AOKP/ParanoidAndroid/PAC

    This patch is based from Xperia SP and from my Xperia V using Jelly Bean ROM

    This patch not one apps will be replaced but will be removed some apps, this is for more free space on system ROM ... the Patch fully modified by me and some porting library to get it work almost all applications from Xperia 2013

    This is very simple if you want flashing custom Jelly Bean ROM with almost all features from SONY Xperia 2013

    DISCLAIMER
    Code:
    #include 
    /*
    * 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 Patch
    * 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.
    */


    FEATURES WORKING :

    Code:
    - Added SONY Media Applications Xperia SP
    - Mobile Bravia Engine 2 for Enhance viewing Image Quality in Album & Movies
    - Socialife Xperia Z Modified again by me for FB/Twitter/Youtube/Google Reader via Socialife
    - Xperia SP Keyboard with fix smiley & symbol
    - Movies with download video info
    - Album with online photos
    - Slideshow in Album but not SensMe Slideshow
    - Photo Editor in Album
    - Walkman Xperia SP
    - Walkman Music extension for find info music on web
    - Walkman ClearAudio+ fully working
    - Walkman Music Widget 
    - Walkman Visulaizer (only work in 4.1.2)
    - Photos & Video Widget 
    - Friend's & Music in Walkman 
    - Latest TrackID Mod with Customized added 
    - Xperia Z Launcher
    - New Theme Stock Xperia (Lovins Xperia Theme) Theme Chooser


    FEATURES NOT WORKING :

    Code:
    - xLoud in Walkman
    - ClearPhase in Walkman
    - S-Force in Walkman
    - Small Apps 
    - Edit/Download Music Info in Walkman
    - SensMe in Walkman
    - SensMe slideshow in Album


    CHANGELOG :

    Code:
    [B]Changelog Version 1.0 For All Device :[/B]
    - Initilal Release for all device
    - Full Compatibility for CM10/CM10.1/AOKP/ParanoidAndroid/PAC
    - And All features mentioned on Features Working
    
    
    [B]Changelog Version 3.0 From Xperia 2011 line :[/B]
    - Fixed compatibility kernel, so you can use all kernel for your device
    - Fixed always reboot to recovery when install this patch
    - Removed some framework stuff for fixing compatibility
    - Removed some library, for fixing in all ROM original CM/AOKP/Paranoid/PAC & ETC
    - Fixed line in build.prop, for improve performance SONY media apps 
    - ZipAligned
    - Signed
    
    
    [B]Changelog Version 2.0 From Xperia 2011 line :[/B]
    - Removed AudioEffectService.apk (not installed)
    - Removed SwiqiSettingService.apk (not installed)
    - Removed all drm driver (for fixing Patch on JB 4.1 ROM)
    - New media_profile.xml for better camera quality
    - Disable buggy video 720p recording (on kernel supported 720p)
    - Removed some stuff library for fixing Patch on JB 4.2
    - Fix bug on some app (for more stable)
    - Added Xperia SP Wallpaper picker
    - Added Xperia SP Sound picker
    - Added srcipt for deleting system>media>video
    - Added script for deleting VideoEditor.apk
    - All stuff signed 
    - All stuff ZipAligned for better performance apps
    
    
    [B]Changelog Version 1.0 From Xperia 2011 line :[/B]
    
    - Initial Release
    - Removed Bloatware Automatic
    - Removed some CM/AOKP/PAC apps Automatic
    - Ported Driver sound ALSA Fully working for better audio 
    - All system framework from Xperia Z JB Deodexed
    - New gps.conf Xperia 2013
    - Optimizing led flash & torch 
    - Latest driver sound from Xperia SP
    - Patching SemcGenericUxpres.apk
    - Fixed Walkman music extension not installed
    - Fixed layout SoundEnhancement Xperia SP (Clear Audio EQ) 
    - Fixed smiley & icon Xperia SP Keyboard
    - Added build.prop line for SONY Media Apps
    - Added sony optimized audio resampling
    - Updated Google Play Store 4.0.27 Blue Black Edition


    DOWNLOAD :

    NEW Version

    Download Patch v.1.0 Official JB ROM Xperia 2013 for All Device

    Download GAPPS For JB 4.2.2 from Goo.im

    Download GAPPS For JB 4.1.2 from Goo.im

    Download Walkman Music Visualizer (only work on JB 4.1.2) Install Normally

    Download Stock Xperia Theme (Lovins Xperia Theme/Theme Chooser)



    HOW TO INSTALL :

    - Download ROM Original you want to use (JB 4.1.2 & 4.2.2) i mean like CM10.1/AOKP/PAC ETC without modifications
    - Download This Patch
    - Please Download GAPPS
    - Make sure you have a backup
    - Reboot into Recovery
    - Wipe data
    - Wipe cache
    - Wipe dalvik cache
    - Format system
    - Install the ROM you want to use
    - Install Patch
    - Install Gapps
    - Reboot


    ENJOY!!! :p :good: :cowboy: ;)


    NOTE : PLEASE ALWAYS BACKUP BEFORE FLASHING THIS PATCH!!!

    THIS PATCH DOESN'T SUPPORT BASED STOCK ROM (OFFICIAL ROM)

    FOR LOW END DEVICES, PLEASE MAKE SURE YOU HAVE FREE SPACE ON SYSTEM ROM!!




    CREDITS :
    Code:
        * [URL="http://forum.xda-developers.com/member.php?u=4663391"][B]abcdjdj[/B][/URL] For Xperia SP system dump [URL="http://forum.xda-developers.com/showthread.php?t=2240516"][B]Here[/B][/URL]
        * [URL="http://forum.xda-developers.com/member.php?u=3085909"][B]ra3al[/B][/URL]  For Xperia Z Launcher [URL="http://forum.xda-developers.com/showthread.php?t=2103403"][B]Here[/B][/URL]
        * [URL="http://forum.xda-developers.com/member.php?u=4898631"][B]erorcun[/B][/URL] For Original Socialife [URL="http://forum.xda-developers.com/showthread.php?t=2229625&nocache=1"][B]Here[/B][/URL]
        * [URL="http://forum.xda-developers.com/member.php?u=4569900"][B]My brother ibanez7[/B][/URL]
        * Thanks to SONY for Awesome Media apps on Xperia 2013 
        * All Member XDA-Developers
        * All Member Official FB Group Galaxy S II / Galaxy S 4 & Galaxy W
        * All Member Official FB Group Xperia Indonesia
    
          Excuse me if i forgot someone, just post in this thread or PM me
    17
    GUIDE Xperia SP Lockscreen Only For JB 4.1.2 (JB 4.2.2 currently doesn't support)

    Visit this thread for how to decompile
    >>CLICK HERE<<

    Required file from Xperia SP

    - Xperia SP android.policy.jar deodexed ( for source code ) Download in attachcement
    - Download Xperia SP Lockscreen modified in attachcement



    Instructions :


    - Red (remove code)
    - Blue (add code)
    - Green (change/replace code)


    Step 1
    - Decompile Xperia SP android.policy.jar
    - Go to smali/com/android/internal/policy/impl and copy ExtendedKeyguardScreen.smali and ExternalLockScreen.smali
    - ExternalLockScreen.smali need to be editing

    Find invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z

    Code:
    .line 238
        sget-object v9, Lcom/android/internal/policy/impl/ExternalLockScreen;->sLockScreenInfoLock:Ljava/util/concurrent/locks/Lock;
    
        invoke-interface {v9}, Ljava/util/concurrent/locks/Lock;->unlock()V
    
       [COLOR="Red"] .line 241
        if-nez v4, :cond_2[/COLOR]
    
        .line 242
        invoke-static {p0}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getExternalLockScreenPackage(Landroid/content/Context;)Landroid/content/ComponentName;
    
        move-result-object v4
    
        [COLOR="red"].line 246
        :cond_2
        invoke-static {p0, v4}, Lcom/android/internal/policy/impl/ExternalLockScreen;->validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
    
        move-result v8
    
        .line 250
        if-eqz v8, :cond_3[/COLOR]
    
        .line 251
        invoke-virtual {v4}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
    
        move-result-object v9

    Find .method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z


    Code:
     .method private static validateExternalLockScreen(Landroid/content/Context;Landroid/content/ComponentName;)Z
        .locals 4
        .parameter "context"
        .parameter "info"
    
        .prologue
        const/4 v1, 0x0
    
        .line 131
       [COLOR="red"] if-eqz p1, :cond_0[/COLOR]
    
        invoke-virtual {p1}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;
    
        move-result-object v2
    
       [COLOR="red"] if-eqz v2, :cond_0[/COLOR]
    
        invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
    
        move-result-object v2
    
       [COLOR="red"] if-nez v2, :cond_1
    
        .line 132
        :cond_0
        const-string v2, "ExternalLockScreen"
    
        const-string v3, "External lockscreen name and package info has not been set correctly!"
    
        invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    [/COLOR]
        .line 147
        :goto_0
        return v1
    
        .line 140
        :cond_1
        invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
    
        move-result-object v0
    
        .line 141
        .local v0, pm:Landroid/content/pm/PackageManager;
        const-string v2, "com.sonyericsson.permission.EXTERNAL_LOCKSCREEN"
    
        invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;
    
        move-result-object v3
    
        invoke-virtual {v0, v2, v3}, Landroid/content/pm/PackageManager;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I
    
        move-result v2
    
       [COLOR="red"] if-nez v2, :cond_2[/COLOR]
    
        .line 143
        const/4 v1, 0x1
    
        goto :goto_0
    
       [COLOR="red"] .line 146
        :cond_2
        const-string v2, "ExternalLockScreen"
    
        const-string v3, "Validation of external lockscreen failed!!"
    
        invoke-static {v2, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    
        goto :goto_0[/COLOR]
    .end method

    Save it!!!


    Step 2
    - Next extract your phone/rom android.policy.jar and decompile it with baksmali/smali program. From the output, copy and paste the ExtendedKeyguardScreen.smali and the modified ExternalLockScreen.smali to smali/com/android/internal/policy/impl
    - Then open smali/com/android/internal/policy/impl/ LockPatternKeyguardView.smali

    Code:
    .field private mHasDialog:Z
    
    .field mInfoCallback:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallbackImpl;
    
    [COLOR="Blue"].field private mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]
    
    .field private mIsTalkbackDrvModeOn:Z

    Find # virtual methods.method public cleanUp()V

    Code:
    # virtual methods
    .method public cleanUp()V
        .locals 2
    
        .prologue
        const/4 v1, 0x0
    
        [COLOR="blue"]const/4 v0, 0x0
    
        iput-boolean v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z[/COLOR]
    
        .line 1096
        iget-object v0, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mLockScreen:Landroid/view/View;


    Find .method createLockScreen()Landroid/view/View;

    Code:
          .prologue
       [COLOR="blue"] iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;
    
        iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
    
        invoke-static {v1, v2}, Lcom/android/internal/policy/impl/ExternalLockScreen;->getLockScreen(Landroid/content/Context;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)Landroid/view/View;
    
        move-result-object v0
    
        .local v0, lockView:Landroid/view/View;
        if-eqz v0, :cond_1
    
        const/4 v1, 0x1
    
        :goto_0
        iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z
    
        .line 1038
        iget-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mIsExternallyLoadedLockScreenEnabled:Z
    
        if-nez v1, :cond_0[/COLOR]
    
        .line 1268
        new-instance v0, Lcom/android/internal/policy/impl/sec/LockScreen;
    
       [COLOR="blue"] .end local v0           #lockView:Landroid/view/View;[/COLOR]
        iget-object v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mContext:Landroid/content/Context;
    
        iget-object v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mConfiguration:Landroid/content/res/Configuration;
    
        iget-object v3, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;
    
        iget-object v4, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mUpdateMonitor:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
    
        iget-object v5, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;>mKeyguardScreenCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
    
        invoke-direct/range {v0 .. v5}, Lcom/android/internal/policy/impl/sec/LockScreen;->(Landroid/content/Context;Landroid/content/res/Configuration;Lcom/android/internal/widget/LockPatternUtils;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)V
    
        .line 1274
      [COLOR="Lime"]   .restart local v0       #lockView:Landroid/view/View;[/COLOR]
      [COLOR="blue"]  :cond_0[/COLOR]
        invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View;)V
    
        .line 1275
        return-object v0
    
       [COLOR="Blue"] :cond_1
        const/4 v1, 0x0
    
        goto :goto_0[/COLOR]
    .end method

    Save it!!! Recompile/compile, if done, download Xperia SP Lockscreen and put android.policy.jar modified to system framework and install via recovery!!

    Thanks to Arsaw for the Guide :good:
    7
    ABOUT SONY MEDIA APPLICATIONS

    5d456s.png

    walkman.png
    album.png
    movie.png

    5d456s.png

    WALKMAN (Music Player) :

    253319_4212419688588_1318620347_n.jpg


    Walkman music player which has been in existence in the world music lovers ... why I call already in existence? .. since about 1979 the Walkman has been born ...

    Year after year continues to change physical walkman and software, and finally of DAP (digital audio portable) perched on a phone is the SE W800 to W995 is a very powerful sound for the size of the phone in his time .. due to the use of technology ClearAudio (Clear stereo and clear bass), Around the year 2011, Sony released the Android Smartphone that in the mix with Walkman, the first time the W8 and continue to Live With Walkman.

    in 2012 Sony released the new Walkman ... that in injek into Smartphone Xperia S.. proved the existence of technology ClearAudio ... and in the end Sony released the Walkman features in almost all implanted into a smart phone Xperia V with ClearAudio+ (Clear Bass, Clear Stereo, Dynamic Normalizer, Surround Sound VPT, xLoud, ClearPhase & s-Force Surround)



    MOVIES with BE 2 :

    936177_4212419848592_23587166_n.jpg


    Movies is a pretty good video player, with features similar to the sound of the music player (Clear Stereo, Clear Phase, xLoud & Surroundsound VPT) and with feature download video info, automatically your video title will be the same with video from You Tube if available in youtube



    ALBUM with BE 2 :

    936177_4212419848592_23587166_n.jpg


    Album to open the picture or photograph you with a unique look, and you can display your photos contained in social networks like FB, Twitter, Picasa
    3
    I have a Xperia tablet now :victory:
    But there is no sound while playing music :crying:

    Galaxy tab 2 10.1 p5110,Jellybam 7.8.0

    Try to disable sound enhancment

    Sent from my Andromax U using xda premium