Dolby Atmos ( all android 4.3 and above ) - Android Software Development

DOLBY ATMOS​
For Android 4.3x​
Since this is a software, it should work on all android ( 4.3 and above ). Also contains two types of installation 'one with custom recovery and other without custom recovery' . If you have installed other dolby, it may conflict. Links are given at the bottom. .
***WARNING***​1. DO THIS AT YOUR RISK. (I am not responsible for any damage).
2. MAKE A BACKUP OF YOUR ROM/FIRMWARE
3. BACKUP THE AUDIO_ EFFECTS.CONF into your sd card as there is some reason. ( located in the path /system/etc/audio_effects.conf.)
REQUIREMENTS​1. Rooted android device. ( compulsory )
2. Custom recovery if you have. ( not compulsory ).
3. If you dont have custom recovery, then download ES file explorer from playstore open it and given it permission of root with superuser . Steps below.
INSTALLATION STEPS​
Install Without Recovery​
1. Open ES file explorer
2. Go to left top and tap menu.
3. Go to the bottom to the tab 'tools' .
4. In the 'tools' tab, tap on 'Root explorer' and give permission to superuser.
Note:- whatever you paste( the files of dolby) , then you have to change that file's or folder's permission, ( only to be done after you paste each file and make each folders) steps below =
I. ( for the files) keep holding on the file you have pasted and go to 'properties' and tap 'change permission' , now tick all in the first column, in second column only the first to be ticked. Now tap OK ( these are for the files you create or paste).
II. ( for the folder) same steps as above, now in the first column tick all, second column only the first to be ticked. In the third column all to be ticked.
5. Now go to path /system/app
6. Make folders 'As' and 'AsUI' ( only if other apps are in each folders / if all the apps are mixed then skip this step).
7. Paste As and AsUI in apps (if other are mixed. Any doubt means feel free to ask).
OR​
7. Paste 'As.apk' in the folder 'As' and 'AsUI.apk' in the folder 'AsUI' ( if other apps are in each folder).[ Any doubt means feel free to ask.]
8.Change those folders and apps permission as given above.
9. Go to path /system/etc/ and now paste audio_effect.conf (if already exists take a backup of yours and paste there. If you want me to edit your phones original audio.conf, then upload it and I will add dolby to that for you, so that everything in your audio_effect.conf remains same ( I will just add some lines there and it's still your audio_effect.conf.
10. Change permission of that.
11. In the same path, make a folder 'dolby'. Change permission of that folder.
12. In the folder 'dolby' paste the file 'ds-default.xml' and change its permission.
13. Go to path /system/lib and paste the file 'libdlbdapstorage.so' and change its permission.
14. Go to path /system/lib/sounds and paste the file 'libswdap-mod.so' and change its permission.
15. Go to path /system/vendor/etc (if path not available make a folder and change permission).
16. In the above path, paste 'audio_effects.conf' and change the permission.
17. Just reboot your device and you have successfully installed.
Install with Recovery​
1. Just flash it with your custom recovery.
2. Boot your device and have successfully installed.
UNINSTALLATION STEPS​
Uninstall Without Recovery​
1. Just delete the files you have pasted to install dolby atmos with ES File Explorer. ( only the files I gave )
2. Replace the audio_effects.conf with your backup and change permission as defined above. ( delete the one I gave you and paste there with your old one.)
3. Reboot your device and you have successfully uninstalled.
Uninstall with Recovery​
1. Just flash the UNINSTALL.zip with your custom recovery. ( links below)
2. Reboot your device and you have successfully uninstalled.
Links :-​
MOD EDIT: Removed
Enjoy

MODS
http://forum.xda-developers.com/android/apps-games/mod-dolby-atmos-t3109446
OP, please delete this thread of worstenbrood's dap_r6.5. zip so XDA moderation does not have to do so. Even the main zip's MD5 matches dap_r6.5, not to mention this forum section is already diluted with sound mod after sound mod at this point.

Thread closed. Please review the forum rules, specifically rules 5 and 12.
Continue discussion in this thread: http://forum.xda-developers.com/android/apps-games/mod-dolby-atmos-t3109446
Nathan
Forum Moderator

Related

[Q] Build.prop :D

What is the best build.prop configuration for our defy???
I use White Rabbit.
Thanks
I'm not using a defy so I will help u with The best way I can
1. unzip ur rom from the computer
2. open the rom's folder
3. open system
4. their will be a file called build (this is it)
5. copy it to ur sdcard
6. install es file manager
7. go to the es file manager's settings
8. enable all the root settings
9. copy the buld.prop which u took from the computer
10. go to system directory itself
11. open system folder
12. past it and replace there
13. I hope I helped.
next time take a copy of the buld.prop before playing with it.
email me for any more help (btw I'm still a beginner in developing things)

How do I Hydra script working in KT kernel?

Hello
Im trying to run Hydra script with KT kernel...
When I run the script with Script Manager I get the ( se screenshot in this post)
What do I do wrong? I have followed some guide lines and thing, but manye of the options mentioned in these are not in KTweaker....
Can someone help?
I think I have some settings in Ktweaker wrong before running the script
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
thnx
Sent from my Samsung Mobile with XDA Premium
nikzDHD said:
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
Click to expand...
Click to collapse
In step one, is it important to rename the file as .txt? Or can I just put it straight into KT Kernel folder on mobile?

CM12 superuser mod without computer

Since Serajr 'one click' superuser mod only works on stock ROM, you have to use apktool to achieve the same on CM. Here's how you can do it on your phone. Only tested on official CM12 on Xperia Z1c, with a clean flash of /system, (unmodified), but probably can be applied elsewhere, maybe with some adjustment.
1. Follow steps 1 and 2 in this post, (except for the part about copying theme files) - http://forum.xda-developers.com/sony-xperia-z1-compact/general/tweak-theme-computer-t3279649 Note that the /system/framework/SemcGenericUxpRes/SemcGenericUx file is not present in CM ROM, so instead you would copy /system/framework/org.cyanogenmod.platform-res.apk. Also copy /system/framework/services.jar to the same directory.
2. Import the first 2 files as framework, according to step 3 in the link above, then tap on services.jar, and 'decompile all'. You will end up with a folder called 'services-src'.
3. Using a root browser and capable text editor, (I used Mixplorer and Jota+), follow instructions to mod PackageManagerService.smali file here - http://forum.xda-developers.com/showpost.php?p=62909773&postcount=4
Notes on this step: This file is over 60,000 lines long, which is why I specified 'capable' above. Many text editing programs won't handle it very well. Even if they can display it OK, you're going to need something that has a good search function, and copy/paste ability or it will be a big headache trying to do this on a phone. I found the first line to edit somewhere around line 8,700, by searching for 'compareSignatures'. The tutorial recommends using the word 'cannot' to help find the second one, but that didn't work for me. I used 'compareSignature' for that also, and just used the arrows to jump ahead through the search results until I found it.
4. Once the mods are made, save and exit. Then go back to apktool, and tap on 'services-src' folder and choose 'recompile'. You will end up with a file called 'services.apk'. All that is in the 'apk' is a classes.dex file. Use Mixplorer or RTB to extract the classes.dex from the apk. Then, with Mixplorer, go into your original services.jar, (that you copied into apktool folder), and delete the classes.dex file in there. Then go back to your new classes.dex, that you extracted from services.apk, and copy it into the services.jar. Using Mixplorer, you don't have to unzip/rezip or extract anything. Just long-press your new classes.dex, choose copy, then go into the jar just by tapping it, and then paste.
5. Move the new services.jar to /system/framework and reboot, (of course back up your original just in case).
The only way I know to test su mod is to attempt to use something that claims to require it, so I tested it with this - http://forum.xda-developers.com/cro...t-xperia-z5-systemui-particle-effect-t3206206 (the same thread as above). See screenshots for success verification.
very nice

[Guide] 3Min Battery Mod(Step By Step Instructions) using BatchApkTool

Hi guys, i really love the 3Min battery Mod from @gharrington Tyvm bro. There is a lot of threads of how to make it yourself but i think most of them are not too detailed and cover everything. So since i use these instructions my self i thought of sharing them in case someone may benefit from it.
Preparation: :
1. Download the latest BatchApkTool .
2. Tools needed and how to extract System.img.
3. Recommended tools needed: Notepad ++, 7zip or Winrar
Instructions::
A.
1. Download the latest BatchApkTool unzip it and move the need files to their designated folders explained in the next step.
2. We need to get SystemUI folder and framework folder(Inside it Framework_res.apk and arm64 folder is needed) either from a System.img in that case use the guide in the preparation section on how to extract it or import them from your device using any file manager with root.
3. Put SystemUI folder in _priv-app folder, and framework folder in to _framework folder.
B.
Open BatchApkTool select your language make sure that all the settings match your rom, enter the following numbers for changes:
83. Smali(By default it's the latest "2.2 latest when writing this" so just check it in case)
84. Api level: ------------- select 23( for Marshmallow)
85. Apktool(By default it's the latest stable version "it was 2.2.0 when writing this" just make sure it is)
C.
1. Under Smali section select '01 Deodex all apks and jars'(In case your rom isn't deodexed yet if it is skip this step). If your rom is stock then your SystemUi.apk needs to be deodexed for this to work. (For Nexus 6p select Arm64 when asked)
2.Under Smali section select '02' to move the deodexed files to _Input_Apk folder.
*Make a backup of META-INF folder and AndroidManifest.xml after extracting them from the deodexed SystemUI.apk file using Winrar or 7zip.
3.Under ApkTool section select '1' to decompile Apks.
4. After that go to _Input_Apk folder and open the decompiled SystemUI folder, navigate to res/layout/system_icons.xml and open with notepad ++
5. Find:
Code:
android:layout_width="9.5dip"
and
Code:
android:layout_height="14.5dip"
Note: These values may not be an exact match, doesn't matter
Change both values to
Code:
android:layout_width="0.0dip"
and
Code:
android:layout_height="0.0dip"
6. Hit enter and directly underneath that line add the following:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
7. Save your work and close notepad ++
8. You now need to navigate to smali/com/android/systemui/statusbar/policy folder
** Download the latest Modfiles package(3MinitBatterySettings, MinitBatteryResources, 3 Smali files) needed from here or main website.
9. Copy the 3 smali files(files that end with .smali) into that policy folder.
10. Time to recompile the SystemUI.apk. Under ApkTool section select '3 recompile apks' in Batchapktool.
11. Once recompiling of SystemUI.apk is complete go to it in _OUT_APK you will find it there, open it with 7zip or Winrar and Don't Extract.
12. Delete META-INF folder and AndroidManifest.xml from newly recompiled SystemUI.apk and replace them with the original backup we took in step C.2.
13. Download the 3MinitBattery_Template1.zip(will remove original SystemUi.apk and replace it) or 3Minit_Battery_Template2.zip(Will not remove the original SystemUi.apk and will leave it for you to remove it manually in case you want to back it up).
14. Use one of the template zips then open it don't extract it just open it with Winrar or 7zip and drop 3MinitBatterySettings, MinitBatteryResources that we got in step C.8 to their respective folders in the zip file. Drop the newly recompiled SystemUI.apk to SystemUI folder if you choose template 1 and if you choose template 2 put it in priv-app folder.
P.s: If you choose template 2 after flashing it go to system/priv-app/SystemUI folder in your device and with any file manger with root delete SystemUi.apk after you back it up to where ever you choose then reboot the device.
15. After this make a backup of your rom and flash the zip.
16. To use 3minBattery app open it and choose your customization then reboot you should see the changes after that. Good luck! :good:
Credits go to:
- @gharrington for his Mod&Guide.
- bursoft for Batch ApkTool.
- @bdorr1105 for his Thread.
- https://androidmtk.com for the Guide&Tools.
Awesome tutorial.. I am looking to add it into a modified stock rom for a Samsung tablet that I have.. Do you know of any easy to follow tutorials for that? i am very new to this part of android..lol.. i am usually on the flashing end and now i am trying to help out for this tab because it has no custom roms until mine. Again, awesome tutorial.
glockman4519 said:
Awesome tutorial.. I am looking to add it into a modified stock rom for a Samsung tablet that I have.. Do you know of any easy to follow tutorials for that? i am very new to this part of android..lol.. i am usually on the flashing end and now i am trying to help out for this tab because it has no custom roms until mine. Again, awesome tutorial.
Click to expand...
Click to collapse
Ty much appreciated. It has been a while since I created this thread since then I have stopped using this mod because it's kind of a headache to do it for every update add to that since Google already enabled the battery percentage inside the battery there was no need any more for the mod. Anyway it's still great to be able to change from time to time. Regarding the tutorial I am sorry to say I haven't tried to create a custom ROM so I can't help you much with that but I am sure there are a lot of tutorials but will require some time to search. Good luck with your project.

[Zips][Devs]Helpful zip files

Hi devs. Hi users. Hi testers!
I made two zips that might help you in some random point of time in future.
:laugh:
Both zips are flashable via recovery. Note that I have only tested working on aosp and cm-based roms. No custom skinned-oem ROM tested. However, it would be good if you provide info on what roms they work (or not)
This zip will remove the password/pin/pattern from your lock screen and reset it to swipe-to-unlock mode.
Not tested with smart lock modes.
Link : https://drive.google.com/file/d/0BxkDSj8MtdPQQTQ4a1VWQl8wME0/view?usp=drivesdk
This zip allows you to authenticate ADB from device, without booting the ROM first. Useful for devs who need ADB access even while booting the ROM for the first time.
Things you must have :
Code:
1) A pc which you have previously used to authenticate ADB access.
2) The zip from my link.
3) Some non-noob brain. Majorly this zip is for devs.
How to proceed :
Code:
1) First we need to obtain a file named "adbkeys.pub".
1a) For windows, go to the windows drive (usually c: drive) and browse to /users/(your-username-here)/.android/
1b) For most Linux distros : go to home directory, browse to /.android/
Generally .android will be hidden by default. In that case, just enable hidden files and folders from folder view options.
2) After you get the adbkeys.pub file, open it with a text editor. You will see a code there. Copy all of that code. Or use the shortcuts (ctrl+A) and then (ctrl+C).
3) Extract my zip. You will see a file in /data/misc of the extracted zip. Open that file with text editor. Erase any previous text in my file. Or use the shortcut (ctrl+A) and then (del). Paste the previously copied code into that file. Or use the shortcut (ctrl+V).
4) Save the file, rezip the extracted folders (which are data and meta-inf).
5) Flash that final zip file from recovery.
Link for ADB zip : https://drive.google.com/file/d/0BxkDSj8MtdPQdkZNeVp6U3ppR0k/view?usp=drivesdk
Please hit thanks button if it helps you

Categories

Resources