[Android Software Development] riyono:
Hi All, Yeah ... This Is My Second Thread On XDA-Developers Forum :D

Now I Will Share Guide How To Port Dolby Dolby Digital Plus For Universal Devices :good:

Requirement :

JB 4.1.2 / 4.2.2, 4.3 Not Tested

Not For KitKat 4.4.+

Custom Recovery Installed : CWM/TWRP

Not Installed Other Sound Enhancement, Crash :cool:

Notepad++

Deodexed Rom

Tool For De/Recompiling Jar (Recomended Apktool Modded : http://goo.gl/f5DnCp)

Free Space /system (±) 50MB

Download :

Dolby Mobile : http://d-h.st/xK5 Mirror : http://goo.gl/XwruZs

Smali Framework : http://d-h.st/IUb Mirror : http://goo.gl/UWizMb

[IMG="Dolby Mobile"]https://lh6.googleusercontent.com/-1n_P89u-Fw0/U7Af9bOppJI/AAAAAAAAAq8/Pzl0Kl8WCdg/w311-h553-no/Screenshot_2014-06-29-21-11-26.png[/IMG] [IMG="Dolby Mobile"]https://lh6.googleusercontent.com/-PZOnepOLP8Y/U7Af_H4y9bI/AAAAAAAAArI/Zsoxp58PNsA/w311-h553-no/Screenshot_2014-06-29-21-11-41.png[/IMG]

[IMG="Dolby Mobile"]https://lh3.googleusercontent.com/-wsylBolYgis/U7Af_tmzBZI/AAAAAAAAArM/3m8GlfVle6A/w960-h540-no/Screenshot_2014-06-29-21-12-07.png[/IMG]

[IMG="Dolby Mobile Demo"]https://lh3.googleusercontent.com/-nC9WXh_aOTc/U7AgB_rGN1I/AAAAAAAAArY/VTuY3HnAP4I/w960-h540-no/Screenshot_2014-06-29-21-12-13.png[/IMG]​

Step 1 :

Download Smali Framework (Framework_Dolby.zip) , Then Extract

Decompile framework.jar

Add Smali Files On framework From Extracted Framework_Dolby.zip

Look Like This : \smali\android\dolby

See ScreenShot 1 - See ScreenShot 2

Recompile framework.jar

Step 2 (Skip This Step If services.jar Has Been Disabled Signature) :

# Disable Signature From services.jar #

Decompile services.jar

Open smali\com\android\server\pm\PackageManagerService.smali With Notepad++

Find This Method :

.method static compareSignatures

Delete That Line Until Its End Method :

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
-
-
-
- Delete Until Its End Method
-
-
-
.end method

And Replace With :

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 9

const/4 v0, 0x0

return v0
.end method

Save

Recompile services.jar

# Disable Signature Using Lucky Patcher #

How To Disable Signature Check Using Lucky Patcher

Download Lucky Patcher And Install

Open Lucky Patcher

Tap Toolbox - Patch To Android - Disassemble Signature Manager

Apply And Automatic Reboot

Step 3 :

Open Dolby_Mobile.zip With WinRAR/7zip

Drag framework.jar & services.jar Modded To Dolby_Mobile/system/framework

Try Flash The Dolby_Mobile.zip Using CWM/TWRP

Note :

Delete system/vendor/etc/audio_effects.conf If There

Please Backup Your Current Rom First

Force Close : framework.jar Problem

Stuck : Disable Signature Problem

Please Don't Mirror this Link :fingers-crossed:

If You Like, Please Click Thanks Button :good:

Sorry For My Bad English

Video Tutorial By [MENTION=5928271]Jay_Kapoor24[/MENTION]

[YOUTUBE]-zmsyVMlJOg[/YOUTUBE]

Credit & Thanks To :

Allah SWT

Dolby Mobile

HTC Sensation Forum

Smartfren Andromax C Indonesia

Smartfren Andromax U Indonesia

Smartfren Andromax U2 Indonesia

Max Droiders Team Dev

MAAaD

Riyono

[MENTION=4694376]DavidMKD[/MENTION] For Superuser Mod

And Many More, I Can't Remember , Please PM Me If Any Of You That I've Missed :highfive: