ads

dimanche 20 septembre 2015

[TUT] [HOW TO] ADD custom sounds in your Xperia theme



Introduction :
Hi guys .. Sony developers have added a hidden feature in their theme engine since we got the official lollipop update and it is that we can add custom sounds in our themes ! I have tested this feature and worked for me , the cool part is it works also on un-rooted devices NO NEED FOR SUPER USER MOD DUDES :fingers-crossed: .

What do you need :
  • A PC / Laptop .

  • An Xperia device ( Running LP - Not sure if this will work on a lower platform ) .

  • Apktool and a knowledge in how to use it .

  • Songs to add :P .

  • A brain .


Instructions :
  • Download my zip file in the attachment below .

  • Decompile it in your apktool folder .

  • Go to Res / Raw .
    - There you will find 3 files ( Ogg types ) called :
    • Alarm_sound : Sound of Alarm .

    • Notification_sound : The sound when an notification appear .

    • Ringtone_sound : The sound when a call is coming .


  • Replace the 3 Ogg files with the songs / sounds you want . ( No need to change the type of them for Ogg ! ) .

  • Recompile the file using apktool .

  • Move the zip to your assets folder inside your theme .

  • Add this line in your theme's AndroidManifest.xml file :

    Code:


    <asset path="com.sonymobile.runtimeskinning.core.zip" target="com.sonymobile.runtimeskinning.core">
                <laf-version-filter from="1" to="1"/>
            </asset>










Aucun commentaire:

Enregistrer un commentaire