hey guys ... after gathering all methods i found the way to use dolby in micromax a110 and all JB device
Here is the guide
Requirements :
1.apktool to decompile jar files
2.Here the resource file--->HERE
3.Here you go Dolby.zip--->HERE
4.Some knowledge to decompile files and work on it
5.patient
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 1:
1.Decompile framework.jar file
2.navigate to classout->android->place the dolby folder there
3,recompile the framework.jar
step 2 : (Skip This Step If services.jar Has Been Disabled Signature) :
Disable Signature From services.ja #
Decompile services.jar
Open smali\com\android\server\pm\PackageManagerService. smali With Notepad++
Find This Method :
Code:
Code:
.method static compareSignatures
Delete That Line Until Its End Method :
Code:
Code:
[COLOR="Red"].method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
-
-
-
- Delete Until Its End Method
-
-
-
.end method[/COLOR]
And Replace With :
Code:
Code:
[COLOR="Blue"].method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 9
const/4 v0, 0x0
return v0
.end method[/COLOR]
Step 3 :
Open Dolby_Mobile.zip With WinRAR/7zip
Drag framework.jar & services.jar Modded To Dolby.zip/system/framework
Flash it with CWM/TWRP
Note: please do back up ur rom and flash it ...
Credits :
@riyono his guide
# Xda for platform
Brother,
Please make this patches as complete flashable zip.........
Carbon Neon V2 ROM use dolby mod, its working superb.....
Related
Well i wrote a guide for my phone wanted to share it here too.
Here is my actuall thread in my own device forum
http://forum.xda-developers.com/showthread.php?p=38495602
Anyone ever wanted to have those sexy on screen buttons that devices like Nexus have?
No need to wait anymore!
Here it is :beer:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Its pretty easy !:beer:
Here are the steps
Instructions for CustomRoms
1)Hit Up Root Explorer
2)Go to System¬>Build.prop
3) add this line at the end of the build.prop then save and exit.And restart.
Code:
qemu.hw.mainkeys=0
This Code for turning off Navigation Bar
Code:
qemu.hw.mainkeys=1
Well that was pretty basic one.
So now in case of our stock ICS ROMs
Instructions for stock ics
1)Decompile Framework-res.apk
(better to use apktool1.5.2 or later)
2)now go to res¬>values¬>bools.xml
3)open bools.xml with notepad++
4) edit this
Code:
<bool name="config_showNavigationBar">false</bool>
TO
Code:
<bool name="config_showNavigationBar'>true</bool>
5)save and recompile apk
6)add The line
Code:
qemu.hw.mainkeys=0
To build.prop then restart
Now if you want to change the size of the navigation Bar
instructions for all roms to change size
1) decompile framework-res.apk
2)Go to res¬>values¬dimens.xml
3)open dimens.xml using notepad++
4) at line number 14,15,16,17
Edit the Dpi values to your choice
Code:
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
<dimen name="navigation_bar_height">28.0dip</dimen>
5)save and recompile apk
Thats so easy :screwy:
Enjoy your "Nexus Bar Experience":thumbup:
If you think this post is helpfull press :thumbup: button
If you wanna buy me a:beer: donate me
Click to expand...
Click to collapse
-Rik[Rittik]
Dear friend,
Just a little thread to explain how to add 3Minit Battery Mod to latest CM12 ROMs.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This tutorial has been made from original Mod thread. You need to have basic knowledge of APK decompiling to make it work.
Steps to follow :
1. Extract SystemUI.apk file from your CM12 ROM,
2. Decompile SystemUI file using Apktool (HowTo here),
3. Copy smali files into smali\com\android\systemui\statusbar directory of decompiled SystemUI,
4. Replace system_icons.xml from res\Layout,
5. Recompile SystemUI,
6. Copy META-INF directory and AndroidManifest.xml file from old SystemUI into the new new,
6. Copy new SystemUI.apk in installer zip file (in \system\priv-app\SystemUI\ directory),
7. Install zip from recovery (backup old config before),
8. Reboot and go to the 3minit settings App to change your battery icons.
You will find attached DevKit.zip containing all file for building the modded SystemUI.
Here is a recovery installer including latest 3Minit Battery setting app (can be used as installer template:
http://www.mediafire.com/download/u164yubucvbhdxj/CM12_3Min_MOD.zip
(made from CM12 20150216-NIGHTLY)
If you have any problem (bootloop), restore your backup or re-install CM12.
Enjoy.
Reserved.
How to add Contributors Credits options of Cyanogenmod ROM in other ROMs
Hello good day XDA
Tested this on MT6577 & MT6589 device running Jellybean. I think this guide will work on other's too.
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL 2 ++
Ok Let's Start
STEP 1
First decompile your Settings.apk.
STEP 2
Merge the files in Settings.apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
STEP 3
Now replace the exiting png named "contributors_cloud.png" present in "assets" folder with your png. But make sure the name of png should be same i.e "contributors_cloud"
STEP 4
Now open "device_info_settings.xml" Or Where ever You Want present in Settings.apk/res/xml and add this code.
Code:
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.gurpreet.ContributorsCloud" />
STEP 5
Now open the "strings.xml" present in Settings.apk/res/values and add these lines above </resources>
Code:
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
STEP 6
- Compile
- Sign it
Special Thanks to :-
Code:
Cyanogenmod
Gurpreet Singh
Note !
You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali
HAPPY MODDING
SCREENSHOTS
Reserved
nice sir...thx for guide
Thanks you.
D2Y aka E said:
nice sir...thx for guide
Click to expand...
Click to collapse
Carlos Arriaga said:
Thanks you.
Click to expand...
Click to collapse
Your Welcome HIT THANKS
Hi to all,
If you have a Lollipop custom ROM with UPSM support and don't have Emergency Mode in power menu and want enable you make this easy tutorial
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Decompile android.policy.jar (You can use APK Manager)
2. Go to "android.policy.jar\smali\com\android\internal\policy\impl" and open GlobalActions$4.smali
3. Search this line
Code:
method public showConditional()Z
-
-
-
.end method
Reemplace by
Code:
.method public showConditional()Z
.locals 1
.prologue
const/4 v0, 0x1
return v0
.end method
4. Save and compile
5. That's all you have Emergency Mode Enabled in Power Menu :highfive:
You can further guidance Black and white mode for Power saving mode like Aurora 8.1 for S4 (Power Saving mode). If UPSM better.(See attack file)
Thank you my friend. Have a good day.:good:
dedichthui said:
You can further guidance Black and white mode for Power saving mode like Aurora 8.1 for S4 (Power Saving mode). If UPSM better.(See attack file)
Thank you my friend. Have a good day.:good:
Click to expand...
Click to collapse
No, already exist a guide for enable UPSM
For gray scale mode you need a kernel that support this function
alemtro said:
No, already exist a guide for enable UPSM
For gray scale mode you need a kernel that support this function
Click to expand...
Click to collapse
"No, already exist for enable UPSM" This problem. I solved completely. It works fine on my stock rom. And this í my mod.
how to get flashlight in power menu???
Hello guys…
This guide is for developers who are still developing Android 2.3 GingerBread devices. Before adding, make sure your ROM has CM7 Screenshot app.
Let's start!
1. Decomplie SystemUI.apk
2.Unzip the smali folder in smali.zip and copy the smali folder to decomplied smali folder.
3.Open the layout xml which you want to add button, and add this line according to your layout:
<com.vesa.actionbar.BackButton android:layout_height="32.0dip" android:layout_width="fill_parent" android:text="@string/meui_ssbtn" android:background="#00000000" />
4.Open res/values/strings.xml, and before </resources>
add this line:
<string name="meui_ssbtn">Take Screenshot</string>
5. (Additional) If you want Simplified Chinese support, open res/values-zh-rCN/strings.xml, before </resources>
Add this line:
<string name="meui_ssbtn">屏幕截图</string>
6.Recompile SystemUI, sign(if you have patched signature) and put it in system.
Sorry for my English…
Smali comes from:
https://forum.xda-developers.com/an...buttons-titlebar-height-t2825667/post54349163
Thanks!
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Attachment:
https://mega.nz/#!xYMi1ZpY!vSWC9pXeA6VTt1Ie-XVDIEAPM-elZoW1u7r60AJDwcM
Key to link: !vSWC9pXeA6VTt1Ie-XVDIEAPM-elZoW1u7r60AJDwcM
(If your ROM doesn't have screenshot support, put the apk into /system/app and set permission 0644, put the screenshot file into /system/bin and set permission 0755. )
Created: 2017-3-4
Last updated: 2017-3-4
如果您的母语是中文,前往:http://tieba.baidu.com/p/4649407787
Sent from my Honor 4C 『天生急性子』
Reserved.
Sent from my Honor 4C 『天生急性子』
If this guide helps you, please click thanks button…
Sent from my HUAWEI CHM-TL00H using XDA Labs