GN3 Ac3 support mod by pako7 - update : found & working ! - Galaxy Note 3 General

Hi everbody,
pako777 of 4pda.ru (pako7 on xda) was kind enough to send me his patch.
The original patch (as in this topic http://4pda.ru/forum/index.php?showtopic=503233&st=120#entry25623750) is attached to this thread.
As i found too many difference between my original media_codecs.xml and the one in the archive i've juste added these lines to /etc/media_codecs.xml (tagged by <!-- added AC3 support -->, other lines are fyi)
HTML:
<MediaCodec name="OMX.SEC.flac.dec" type="audio/flac" >
<Quirk name="needs-flush-before-disable" />
<Quirk name="decoder-ignores-streamcorrupt-error" />
</MediaCodec>
<!-- added AC3 support -->
<MediaCodec name="OMX.SEC.ac3.dec" type="audio/ac3" >
<Quirk name="needs-flush-before-disable" />
<Quirk name="decoder-ignores-streamcorrupt-error" />
</MediaCodec>
<!-- added AC3 support -->
<MediaCodec name="OMX.SEC.wma.dec" type="audio/x-ms-wma" >
<Quirk name="needs-flush-before-disable" />
<Quirk name="decoder-ignores-streamcorrupt-error" />
</MediaCodec>
Also copied the to .so files to /system/lib
I'm on rooted stock 4.4.2 XXUENB1
Cheers !

So this will add AC3 support to Note 3? got it!

Just a reminder, if you use ES file explorer (not sure about other file managers, don't use anything else), you need to change back file permissions for xml file and both lib files and reboot the phone for it to work.

pete4k said:
Just a reminder, if you use ES file explorer (not sure about other file managers, don't use anything else), you need to change back file permissions for xml file and both lib files and reboot the phone for it to work.
Click to expand...
Click to collapse
I just have to copy and paste these lines <MediaCodec name="OMX.SEC.ac3.dec" type="audio/ac3" > <Quirk name="needs-flush-before-disable" /> <Quirk name="decoder-ignores-streamcorrupt-error" /> </MediaCodec> bc all the other ones are already there so I just want to make sure.

copy the lines between "added AC3 Support" to mediacodecs.xml, copy 2 files to /system/lib, fix permissions for all 3 files, reboot

pete4k said:
copy the lines between "added AC3 Support" to mediacodecs.xml, copy 2 files to /system/lib, fix permissions for all 3 files, reboot
Click to expand...
Click to collapse
OK that's what I did but I didn't have to fix the permissions I had use rom toolbox with browser within that app. It works I didn't reboot but after I did that all is well.

I did this fix and now my youtube, watchESPN soundcloud, netflix, hangouts apps force close. The AC3 audio does work though. Any thoughts?
Factory reset did not fix the issue and AC3 audio is still playing. I guess the reset didn't undo the 'fix' .

AppleJuice3 said:
I did this fix and now my youtube, watchESPN soundcloud, netflix, hangouts apps force close. The AC3 audio does work though. Any thoughts?
Factory reset did not fix the issue and AC3 audio is still playing. I guess the reset didn't undo the 'fix' .
Click to expand...
Click to collapse
Youtube works fine on mine, I don't use other programs,
Double check permissions on the files you accessed, verify you didn't accidentally change anything else in xml file, restore original xml file, if all fails reload original firmware, after factory reset it shouldn't be that much more work.

I fixed it by reflashing. Didn't have the time to really get into it. Might experiment more this weekend.

I guess getting AC3 codecs working on their Note 3s isn't something that's important to a lot of people...sorry for bumping this thread, but I just wanted to let people know that it didn't work for me, but it didn't do anything bad either. I set the octet to 644 (I assume that's what you all meant by fix permissions, but let me know if I am wrong!) and put the three files in the right locations, but Plex, with AC3 turned on in the advanced options, still says "this device cannot play AC3"
So, it seems it isn't working, but it doesn't cause any apps to horse close/crash for me.

Hi could this work on any device?

Who are you asking ?? last post 2015 OP 2014 .

I thought someone was answering me. Since I was interested in my android box. I searched the forum is the only thing I found

Related

[Q] Compiling AOSP Standalone apps

Hi, I've managed to edit, compile, and run the camera app on eclipse, to avoid compile the whole rom just to debug and try things.
(AOSP/CM9 to standalone app)
I just wanted to change the accesibility shutter button, but there are some issues:
I took sources from here: packages\apps\Camera (acual cm9 teamhacksung repo)
Then I removed all the AOSP references and added the correct libraries to make it work.
But the result of it was a different camera app, the differences are:
- The accesibility shutters works by default (power button) ☑
- There is no focus mode option in settings ☐
- Poor preview/picture quality ☑
- Glitched front face camera (green/black flickering) ☑
- etc ☐
(Seems like all the teamhacksung changes are not here)
Where do I need to take the sources to have our actual cm9 camera app to have the latest changes?
My objective is not to compile and finish this app in a standalone or a separated AOSP version, I just want to debug and edit stuff to see how is it working and then when I know that its working fine, push the edited files to the AOSP dir, and compile the whole rom.
Thanks in advance.
Here is the compiled .apk: http://www.mediafire.com/?9bi86dwgaln1abp
EDIT: Some issues are fixed by correcting the AndroidManifest.xml file.
EDIT2: All fixed http://forum.xda-developers.com/showpost.php?p=29418513&postcount=3
If your tree is updated and you just need to build a single part, you can use mmm
Code:
. build/envsetup.sh
lunch
mmm path/to/the/part/
So you don't have to worry about dependencies, libs etc and your sources are updated.
And if you just need to do changes in resources files, like xml files, images (like the wifi signal icon ) etc, you can add them in the overlay directory.
For example, if you need to do changes in config.xml of the Camera app:
Code:
mkdir -p devices/samsung/galaxysl/overlay/packages/apps/Camera/res/values/
and there create your config.xml, adding only the strings you want to override.
nice
Thanks, that's very useful info, so..
If I replace /device/samsung/galaxysl/overlay/packages/apps/Camera/res/values/config.xml (the only file) in my eclipse project it should work as the same app that when I do the mmm thing?
I will try that
EDIT: I've checked that config.xml and just toggle a flag (<bool name="wantsFocusModes">true</bool>)
So I just toggled that flag in my project and everything worked fine, also the alternative shutter.
The poor quality/front face bugs/glitches were becouse of my manifest file that I fixed later.
The question is: Why the accesibility/alternative shutter isnt working with the original one? The config.xml has nothing to do with the shutter >.< , maybe with permissions like this one:
<uses-permission android:name="android.permission.PREVENT_POWER_KEY" />
Click to expand...
Click to collapse
Btw my new Camera.apk works as I wanted to
Also checked this:
http://wiki.cyanogenmod.com/wiki/Loading_source_in_eclipse
and this:
To import the formatter, go to the preferences, section Java > Code Style >
formatter, then click on import and choose
development/ide/eclipse/android-formatting.xml
To import the import order, to go into Java > Code Style > Organize Import,
then click on import and choose development/ide/eclipse/android.importorder
Click to expand...
Click to collapse
Here is my Camera.apk compiled with eclipse, replace the Camera.apk in /system/app with this one. (Sorry for the size)
http://www.mediafire.com/?8plrf0hxxh02262
I was the only one with this "alt. shutter issue" right?
frapeti said:
Thanks, that's very useful info, so..
If I replace /device/samsung/galaxysl/overlay/packages/apps/Camera/res/values/config.xml (the only file) in my eclipse project it should work as the same app that when I do the mmm thing?
I will try that
EDIT: I've checked that config.xml and just toggle a flag (<bool name="wantsFocusModes">true</bool>)
So I just toggled that flag in my project and everything worked fine, also the alternative shutter.
The poor quality/front face bugs/glitches were becouse of my manifest file that I fixed later.
The question is: Why the accesibility/alternative shutter isnt working with the original one? The config.xml has nothing to do with the shutter >.< , maybe with permissions like this one:
Btw my new Camera.apk works as I wanted to
Also checked this:
http://wiki.cyanogenmod.com/wiki/Loading_source_in_eclipse
and this:
Here is my Camera.apk compiled with eclipse, replace the Camera.apk in /system/app with this one. (Sorry for the size)
http://www.mediafire.com/?8plrf0hxxh02262
I was the only one with this "alt. shutter issue" right?
Click to expand...
Click to collapse
No, you are not the only one. Actually it works, but you need to focus first.
I don't know if you built it with eclipse or mmm, but with mmm there's no png optimization and the resulting files are bigger.
loSconosciuto said:
If your tree is updated and you just need to build a single part, you can use mmm
Code:
. build/envsetup.sh
lunch
mmm path/to/the/part/
So you don't have to worry about dependencies, libs etc and your sources are updated.
And if you just need to do changes in resources files, like xml files, images (like the wifi signal icon ) etc, you can add them in the overlay directory.
For example, if you need to do changes in config.xml of the Camera app:
Code:
mkdir -p devices/samsung/galaxysl/overlay/packages/apps/Camera/res/values/
and there create your config.xml, adding only the strings you want to override.
Click to expand...
Click to collapse
Million thanks for the mmm trick and the link to cm web site! It is so hard to find information on building the sources.
May i use this in JB
Sent from my GT-I9003 using xda premium
Code for your App
Can I have code that can be compiled in Eclipse? Would you please email it to me @ [email protected]
Thank you so much for posting this question
Hi first of all billions of thanks, by getting an answer I can not build Settings.apk within few min,
My question is, I want to add activity in Settings.apk, for that I have done following code in AndroidManifest.xml
Code:
<activity android:name="com.android.settings.network.AirplaneModePreference"
android:taskAffinity="com.android.settings"
android:configChanges="orientation|keyboardHidden|screenSize"
android:parentActivityName="Settings"
android:label="Advance Airplane Mode">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
But still, when I want to start Activity in Settings.apk I am getting following an error
Code:
Process: com.android.settings, PID: 24946
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings.network/com.android.settings.network.AirplaneModePreference}; have you declared this activity in your AndroidManifest.xml (which is in Settings/AndroidManifest.xml) ?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2005)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1673)
at android.app.Activity.startActivityForResult(Activity.java:4587)
at android.app.Activity.startActivityForResult(Activity.java:4545)
at android.app.Activity.startActivity(Activity.java:4906)
at android.app.Activity.startActivity(Activity.java:4874)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:379)
at android.support.v7.preference.Preference.performClick(Preference.java:1139)
at com.android.settingslib.RestrictedPreference.performClick(RestrictedPreference.java:78)
at android.support.v7.preference.Preference.performClick(Preference.java:1107)
at android.support.v7.preference.Preference$1.onClick(Preference.java:172)
at android.view.View.performClick(View.java:6597)
at android.view.View.performClickInternal(View.java:6574)
at android.view.View.access$3100(View.java:778)
at android.view.View$PerformClick.run(View.java:25906)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Do you have any idea, then please let me know, thanks alot in advance

[video] [Guide] enable WhatsApp calling feature.. any device (4.4+)

video link https://www.youtube.com/watch?v=8RlIxhEJEOw
STEPS:-Install the latest apk (Of course)
Open any root explorer (es file explorer preferred )
and navigate to /data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml
Add these 2 lines anywhere in the file but within the <map></map> and save
<boolean name="call" value="true" /> <string name="call_allowed">all</string>
now force stop WhatsApp and open it again .... and you are done
Not able to post kink but video id = 8RlIxhEJEOw
Edit if any one can post link then plz add that video...thanks
Seems no one interested
Seems like not working.
I got the call tab, but anyone I'm trying calling to, it's just getting disconnect immediately.
(all the people I tried have the updated version)

[TEST] [Flash Zip] [HD 10] [ROOT] All-in-1: The ultimate hacks, tricks & mods zip

I have been on XDA for 2 and a half years or so. I have gained a vast amount of knowledge and skills and its all in part due to XDA and the individuals who spend their time helping others who have made this all possible. The list of those to thank is too long. So before you see what I have to offer below, I want to thank everyone around the forums here for your help, or criticism . Without you guys, I never would've learned what I know today.
Most of my hacks for the HD 10 are spread out around several threads. That makes it hard to keep everyone updated when I find or create new goodies. It also makes it hard for users to find these goodies. This thread aims to solve that problem. From now on, I will include, if possible, my tricks and hacks in this thread. This aims to make searching for and installing these modifications quick and simple.
I have created a flash zip that installs all my goodies and hacks I have come up with so far. I just need so others to test it and make sure the installation process works and everything that is installed works. So please report back your findings so I can remove test from the thread.
***IIf this zip doesn't work or if it fails the worst that can happen is you will have to flash back to fresh stock and start all over and re-root. So make note of your Fire OS version before installing this zip. I am not responsible for anything that doesn't work. If you install this zip, you are doing so at your own risk.***
This zip does NOT contain the Google Play Store. By installing this zip, I assume you already have it installed. ViPER4Android requires an extra step or two and SELinux switch. See below.
Requirements:
- HD 10 with Fire OS 5.6.1.0 or 5.6.2.0
- Rooted with Xposed installed and Flash Fire functioning properly. See here to get it up and running.
What this zip includes:
- *ALL* of my framework-res mods including WiFi and location service optimizations.
- My rewritten Settings.apk which also includes all of my mods.
- Stock Basic Dreams and Photo Table screensaver. This was one of my goals when I first signed up on XDA. I knew what needed to be done to get this to work, I just didn't know how. Finally after nearly 4 to 6 months of reading and testing, I was finally able to edit the framework-res.apk to bring you this and other features. I also had to track down a working Basic Dreams and Photo Table APK. That was half the battle. Go to settings -> display settings -> Daydream. You can choose colors, clock or set some custom photos in Photo Table. Tap three dots in upper right to decide when Daydream turns on. (Note: Photo table requires your images be placed in internal storage in the 'Pictures' folder).
- Google Calendar (assuming you have deleted Amazon's calendar).
- DeskClock latest update and APK for Google Clock (assuming you deleted Amazon's clock).
- Google Contacts Sync Adapter (Once installed, you can delete Amazon's contact sync adapter as seen here. Also for non-root users). This allows for a small amount of visual customization when you pull down the notification bar. When you customize your profile in Google Contacts (also included in this zip) with a photo, the icon in the notification panel will change to whatever you upload as your contacts photo.
- Google Contacts (requires sync adapter listed above).
- Google TTS. You can delete PicoTTS in /system/app once Google TTS is installed. It's very outdated. You can also delete both of the Ivona folders in /system/priv-app. Best to delete app data for all three before deleting.
- Latin IME (AOSP replacement for stock keyboard. Will only work when you delete Amazon's keyboard (com.amazon.redstone), any other keyboard you have installed, then perform a factory reset without installing a new one.
- Stock Android Marshmallow boot animation. The zip replaces the bootanimation binary file in /system/bin/bootanimation with one from from @ggow custom ROM for the Fire 7. Amazon had modified the stock bootanimation binary to force the gold 'fire' boot animation. Doing this made it impossible to customize the boot animation. So I replaced it under the assumption the Fire 7 ROM binary is from an AOSP build and is pretty much universal among most custom ROMs. And it worked!
- Gallery3d. Replaces Amazon Photos (You have to delete Amazon Photos on your own) with library injection so it is fully featured. You can edit all images with a full stock of editing options. (does not set lock screen wallpaper. To change lock screen wallpaper, see here. Requires root). I was able to find the APK and libraries in this thread. The flash zip there doesn't work for our devices so I modified the APK to be more tablet friendly, allowing for scrolling and viewing in landscape mode then added the relevant files to this zip. In the APK, I removed the options for a settings menu, because it doesn't function, but the library does a great job at making up for the loss of it.
- CM Browser. I was able to port over this APK along with CM File Manager, CM Wallpapers, Lock Clock and Trebuchet from an official CM Lollipop ROM for the Amazon HD 8.9.
- CM File Manager (Can replace your favorite root explorer).
- CM Wallpapers. Cyanogenmod actually had a few good wallpapers. I wish they had made their own live ones though.
- CM Lock Clock with weather. (Yahoo weather doesn't function. Use Open Weather and set update interval to 30mins).
- Trebuchet Launcher with basic launcher settings. (You have to delete fire launcher on your own for this to take effect. /system/priv-app/com.amazon.firelauncher)
- Google Calculator (assuming you deleted Amazon's)
- Stock Android Live Wallpapers and Live Wallpaper Picker (doesn't include Androids add on wallpapers. For all of Android's stock live wallpaper add ons and stock wallpaper images, see this thread.
What this zip DOES NOT include or do:
- Google Play store is NOT installed. It is best advised to do this manually. Even flashing Gapps doesn't stop you from needing to tweak Secure Settings a little bit.
- Does not delete or remove any files or folders. It does however overwrite some. The framework-res, FireTabletSettings and bootanimation files will all be overwritten.
- Not yet a custom ROM, but it's close.
-Build.prop edits are not included. My WiFi optimizations and ViPER4Android need a few tweaks. Please see the 'build.prop' section below for details.
Installation:
NOTE: If you only wish to install certain packages or tweaks such as ViPER4Android, see instructions below installation guide.
1. Simply place the DragonMods.zip into internal storage.
2. Open Flash Fire and tap the '+' and select Wipe.
3. Make sure ONLY Dalvik Cache and Cache Partition are selected and tap the check mark in the upper right of the pop-up.
4. Tap the '+' again and tap 'Flash Zip or OTA'
5. From internal storage, select my zip package DragonMods.zip.
6. Tap FLASH and wait for everything to happen. This will take upwards of 10 minutes or more, depending on many variables so be very patient.
Install only select packages:
1. Place DragonMods.zip on your PC desktop. For this I use 7zip for Windows. Right click on the zip file and select 7-zip and open as archive.
2. Double click on system folder then double click on the folder you you want to delete. Example: If you do not want to install my framework-res APK, delete the framework folder. If you don't want CM Browser, delete that folder.
3. Once you are happy with your custom installation, replace the zip on your tablet's internal storage and follow installation instructions above.
ViPER4Android:
I have not included this in my zip for a few reasons. The foremost one being it requires you to delete a couple key files so I would rather you make the choice yourself rather than me doing it for you. I confirm it is full operational and functional and doesn't force close once installed properly. If you aren't convinced, just activate the notification.
1. Download the V4A2.3.4.0 Lollipop.zip provided at the Google Drive link below or go to this thread and download it. Make sure Selinux switch is installed, set to permissive with notification enabled. Also make sure BusyBox is installed.
2. On your tablet, go to /vendor or /system/vendor and tap etc.
3. Back up both of the audio files, audio_effects.conf and audio_policy.conf then delete them from the folder
4. Go to storage -> downloads and tap on the V4A2.3.4.0 Lollipop.zip, system, etc, and extract the two .conf files.
5. Go to the folder they were extracted into and copy both of them to /system/etc, overwriting the ones that are located there. Set the permissions (rw-r--r--) and reboot.
6. Go to downloads again, tap the V4A2.3.4.0 Lollipop.zip and system, app and extract the APK.
7. Create a folder in /system/app titled 'ViPER4Android'. Rename the APK 'ViPER4Android.apk' and paste it into the folder.
8. Set folder permission rwxr-xr-x, APK permission rw-r--r-- and reboot.
9. Open App and follow instructions. Tap upper right for menu and set UI to expert.
build.prop edits:
1. ViPER4Android needs a few tweaks to the build prop. If these variables and values already exist in your build.prop, please change them to the ones below. You can use Build Prop Editor or a root file explorer to make the edit:
Code:
Ipa.decode=false
tunnel.decode=false
lpa.use-stagefright=false
2. The WiFi needs a tiny bit more tweaking here too. Locate the following line in /system/build.prop and add the value to it as seen below (there is currently no value set and the best ones are 1, 6 or 11. You can use any number as long as it's 11 or less.
Code:
ro.wifi.channels=11
3. Locate the following lines in your build.prop. Back them up to a text file then delete both lines (numbers might be different):
Code:
wifi rssi->bar thresholds
persist.wifi.rssi.thresholds=-84,-75,-66,-55
Downloads:
DragonMods.zip (the main zip you need) - Current as of November 16, 2018
DragonMods5-6-2-0.zip (for users on FireOS 5.6.2.0)
V4A2.3.4.0_Lollipop.zip
That's all for now. This includes pretty much every hack, trick and tweak I have been able to achieve on these tablets so far. I hope you enjoy all of these and watch out for more of my hacks. Thank you everyone for making all of this possible! Don't forget to hit the thank button
Change Log
- November 22, 2018: Updated links to reflect the following: Fixed issue with Trebuchet launcher missing from zip by readding it to the folder. I don't know How I missed that. Replaced google Clock with correct APK. I meant to put in the DeskClock available from the Play Store. If anyone would like a zip containing the CM/AOSP DeskClock that changes colors as the day and night change, let me know and I will upload the APK. The reason for this mess: I used the wrong zip template I have for this package. The one with the mess was intended for my personal device. My apologies.
Problems:
-If you delete Amazon photos, when you tap settings, display settings, wallpaper, it will kick you back to main settings. Solution: download Amazon photos from the play store as a user app then do this:
Code:
adb shell
su
pm disable com.amazon.photos
pm clear com.amazon.photos
.
Function returns.
not sure how to install this
darkfortedx said:
not sure how to install this
Click to expand...
Click to collapse
Flash it in flash fire...says that in the OP
Be advised
I just downloaded it and realized I didn't put th right folder in for Trebuchet launcher so the folder is empty. So don't flash this zip until I can fix it when I get home later.
Update November 22, 2018 1:42PM:
- Fixed issue regarding launcher. See change log at the end of the OP.
after changing the permissions for /system/vendor/etc to rw-r-r and rebooting, get the boot screen then boot to quick flash on desktop then to black, can only get the power down window to show when holding power. I'm trying to change the permissions back in adb. . can you please send code to do this correctly? if this is the correct approach. i backed up the 2 files in es file explored back up folder.
I got it....
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/vendor/etc
this worked... took me a while to figure it out. But it's all part of learning!
---------- Post added at 01:37 AM ---------- Previous post was at 01:33 AM ----------
I missed that it was for the two files not the folder lol....
nikothebarber said:
I got it....
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/vendor/etc
this worked... took me a while to figure it out. But it's all part of learning!
---------- Post added at 01:37 AM ---------- Previous post was at 01:33 AM ----------
I missed that it was for the two files not the folder lol....
Click to expand...
Click to collapse
I have an update of this I'll upload later. I just want to make sure everything works as advertised. Apologies if not. I made a stupid mistake earlier that I fixed but might have missed a small thing or two.
Sent from my MotoG3 using XDA Labs
When I tried to flash it if flashfire, it will juz stuck in the first black screen for over 15 mins.
I can juz simply quit the app and everything remains the same and work fine though.
What would possibly be the problem?
 @DragonFire1024
Tried to Install ViPER4Android with the steps and files you linked but was unsuccessful. When I bring up the Driver status and they all say no to Enabled. It already prompted me to install drivers which I did and re booted and still no go. I'm familiar with installing ViPER4Android and have it installed on my phone but not able to get it going in HD10. This tablet needs some way to higher the sound, sound on this tablet SUCKS. Any help would be greatly appreciated.
Touchpad64gb said:
Tried to Install ViPER4Android with the steps and files you linked but was unsuccessful. When I bring up the Driver status and they all say no to Enabled. It already prompted me to install drivers which I did and re booted and still no go. I'm familiar with installing ViPER4Android and have it installed on my phone but not able to get it going in HD10. This tablet needs some way to higher the sound, sound on this tablet SUCKS. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Sorry I've been very sick the last several days and have spent most of it in bed. Until I can look and see what's wrong, I can suggest you try 'volume boost by goodev' on the play store. You may need to make it a system app though.
Sent from my MotoG3 using XDA Labs
jeffreyyip314 said:
When I tried to flash it if flashfire, it will juz stuck in the first black screen for over 15 mins.
I can juz simply quit the app and everything remains the same and work fine though.
What would possibly be the problem?
@DragonFire1024
Click to expand...
Click to collapse
Flash fire will take approx. 10+ mins sometimes to go through the files then about the same time until the red flash fire bar appears at the top. With flash fire you just have to wait.
Sent from my MotoG3 using XDA Labs
DragonFire1024 said:
Sorry I've been very sick the last several days and have spent most of it in bed. Until I can look and see what's wrong, I can suggest you try 'volume boost by goodev' on the play store. You may need to make it a system app though.
Sent from my MotoG3 using XDA Labs
Click to expand...
Click to collapse
Thanks for your response, get some rest and I'll patiently wait to see what you come up with...Thanks again
Touchpad64gb said:
Thanks for your response, get some rest and I'll patiently wait to see what you come up with...Thanks again
Click to expand...
Click to collapse
Try deleting the viper folder if you installed it via a file explorer. Reboot then install viper as a regular app. Don't open it. In a root file explorer go to /data/app and copy viper folder to /system/app then reboot.
Sent from my MotoG3 using XDA Labs
DragonFire1024 said:
Try deleting the viper folder if you installed it via a file explorer. Reboot then install viper as a regular app. Don't open it. In a root file explorer go to /data/app and copy viper folder to /system/app then reboot.
Sent from my MotoG3 using XDA Labs
Click to expand...
Click to collapse
I did that the first time. I had to enable Selinux Switch and enable Permissive which it seems like you have to enable each time you want to use Viper. The Driver Status now says NEON enabled, Enabled=Yes, Status=Normal, Audio Format= Supported but it still sounds like it makes no difference in boost in volume. The App you suggested Volume Booster works great. On my phone I can notice the difference on Volume quality and boost but not on the HD10 using Viper. What settings are you using? Maybe it's the settings.
Touchpad64gb said:
I did that the first time. I had to enable Selinux Switch and enable Permissive which it seems like you have to enable each time you want to use Viper. The Driver Status now says NEON enabled, Enabled=Yes, Status=Normal, Audio Format= Supported but it still sounds like it makes no difference in boost in volume. The App you suggested Volume Booster works great. On my phone I can notice the difference on Volume quality and boost but not on the HD10 using Viper. What settings are you using? Maybe it's the settings.
Click to expand...
Click to collapse
Did you rename the audio.conf files in vendor?
Sent from my MotoG3 using XDA Labs
DragonFire1024 said:
Did you rename the audio.conf files in vendor?
Sent from my MotoG3 using XDA Labs
Click to expand...
Click to collapse
No, I didn't see any instructions to do so. Was I supposed to?
Touchpad64gb said:
No, I didn't see any instructions to do so. Was I supposed to?
Click to expand...
Click to collapse
Yes. Rename them. But you should do it before installing viper.
Sent from my MotoG3 using XDA Labs
DragonFire1024 said:
Yes. Rename them. But you should do it before installing viper.
Sent from my MotoG3 using XDA Labs
Click to expand...
Click to collapse
The original files were named the same as the files copied over that's why you have to allow it to overwrite. Original files and copied files were both named audio_effects.conf & audio_policy.conf. I also edited the build prop entries you mentioned. Can you share your build prop file so I can compare your entries to mine? What were the names you change audio_effects.conf & audio_policy.conf to?
Touchpad64gb said:
The original files were named the same as the files copied over that's why you have to allow it to overwrite. Original files and copied files were both named audio_effects.conf & audio_policy.conf. I also edited the build prop entries you mentioned. Can you share your build prop file so I can compare your entries to mine? What were the names you change audio_effects.conf & audio_policy.conf to?
Click to expand...
Click to collapse
Just put a _ at the end of .conf. I didn't add the removal of the vendor files in the zip and I think I stated that in the OP.
Sent from my MotoG3 using XDA Labs

How to find and edit AndroidManifest.xml on android 10 non-root after the installatio

How to find and edit AndroidManifest.xml on non-rooted android 10 after the installation of the APP,
do we even have AndroidManifest.xml at all on the app folder, or that's just a file in the pkg that's being used to install the program with certain parameters.
I am trying to edit
<application>
...
android:allowBackup="true"
...
</application>
so I can make a backup of the app's datas via Hellium
THanks

Removing Android 11 Notification Headers: status_bar_notification_section_header.xml

Hi,
What's a clean way to apply changes made to SystemUI.apk in an Android 11 ROM (and have those changes take effect) that I don't maintain? Direct overwriting is fine, but I need the changes applied/running. I'm fine with breaking things, have root, and have resolved boot breakages via ADB etc. I'm trying to get rid of the annoying notification section headers (Conversation, Silent, etc..) that waste screen real estate. I overwrite the XML file in the APK (status_bar_notification_section_header.xml) with 0 padding, and re-sign that APK with LuckyPatcher (its test key). What's a good way to apply my patched APK so that it works like the original, but with my changes? pm install patched_file.apk isn't perfect - APK is internal. And there's ODEX/VDEX files generated for the original APK (/system_ext/priv-app/SystemUI/ .... SystemUI.apk, oat/arm/*.odex, *.vdex). I had to do a pm grant to reading contacts when I applied a revised SystemUI.apk. Assume I don't have Android Studio and just want to work on the mobile.
What I'm attempting:
packages/SystemUI/res/layout/status_bar_notification_section_header.xml - platform/frameworks/base - Git at Google
status_bar_notification_section_header.xml:
<com.android.systemui.statusbar.notification.stack.SectionHeaderView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/notification_section_header_height"
androidaddingStart="0dp"
androidaddingEnd="0dp"
android:focusable="true"
android:clickable="true"
>

Categories

Resources