• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP] [K.A.T - V2.4.2] [Audio enhancer | Scan Filters | GPS QuickFix]

Search This thread

timduru

Senior Member
Apr 13, 2011
2,878
18,014
attachment.php
K.A.T - Kat Android Toolbox - Android Unleasher
Asus TF300T - TF101

Android App | Audio Enhancer | Alsa Mixer | Media Scanner filters | GPS quickFix
(Some of the features requires root)


Hi everyone :)

After the TF101 , K.A.T toolbox is now available for the TF300T :)

attachment.php




Latest K.A.T version :
For KatKiss 7.X: K.A.T_V2.4.2.apk (Requires KatKiss 7.X >=V011)
For KatKiss 6.0 : K.A.T_V2.2.0.apk
For KatKiss 5.1 : K.A.T_V2.1.0.apk

ChangeLog:
2.4.2


2.2.0 - 2.1.0 - 2.0.1 - 1.5.3 - 1.5.2 - 1.5.1 - 1.5.0 - 1.4.2 - 1.4.1 - 1.4.0 - 1.3.2 - 1.3.1 - 1.2.7 - 1.2.5 - 1.2.4 - 1.2.3 - 1.2.2 - 1.2.0 - 1.1.7 - 1.1.6 - 1.1.4 - 1.1.3 - 1.1.2


It includes:
* KatAudio:
- Ability to control individually the hardware volume mixers of the WM8903 sound chip (hardware levels are lower than the max by default, and android controls only the software volumes)
- Audio quality & level enhancement (optimized WM8903 register values for best quality)
- Predefined optimized profiles that can be applied at boot and run time
- Pre Amp Boost
- Speaker front boost( DAC L+R merge)
- Abitility to link Speakers and Headphone analog volume with the volume keys and cascade analog with android digital level.
(Only use the volume keys to control the volume in that case, do not use the digital android volume or another app) see post #2
- reinit FM34 DSP
* Install section allows you to install the different patches/features and fixes
- Ad-blocker (host file replacement)
- GPS assistance Fix (needs reboot after install)

* Media
- Allows you to configure the KAT MediaScanner filters (whitelist, blacklist, alwaysadd directories, disable scan completely) Requires compatible rom like KatKiss
* Storage
- Allows you to mount / unmount drives (with full write NTFS support too)

See post #2 for more details.

See post #3 for compatibility reports, please report if a feature works for you (indicates which feature/version), and with which tablet/ROM/Kernel combination and versions you tested it with.
That way I can update the compatibility post. :)


Disclaimer: The usual ;)
Use at your own risk, I won't be responsible for any damages caused to your Transformer or to yourself.
In most cases if something breaks, flashing a rom on top should fix it.


Please don't repackage or redistribute K.A.T in another thread, as it'll just make it very difficult for me to maintain and understand user feedback if your repackaged version is broken, has too many differences or is outdated.
Also feel free to mention that you've reused some of the K.A.T enhancements but don't call it K.A.T, as if you do that will just generate confusion in user's mind as to where and what is K.A.T.
Thanks :)

Credits:
- Dan Pollock for the original ad-blocker file http://someonewhocares.org/hosts/


XDA:DevDB Information
K.A.T - Kat Android Toolbox, App for all devices (see above for details)

Contributors
timduru

Version Information
Status: Stable

Created 2014-07-22
Last Updated 2016-10-30
 
Last edited:

timduru

Senior Member
Apr 13, 2011
2,878
18,014
Reserved

Features


* KatAudio:
Note that on the TF300T, With some of the media player the first time you play a media, the volumes are reset to their original state. So first open the app & play then adjust the volumes in the K.A.T app. Or if you use the cascade option, push the volume button once after playing and it will set the proper volume level

- ability to control individually the hardware volume mixers of the WM8903 chip
- predefined optimized profiles that can be applied at boot and run time (optimized WM8903 registers for best quality "voodoo sound like" + sound volumes)
- Speaker front boots( DAC L+R merge)
- reinit FM34 DSP feature

- Pre Amp Boost
4 modes: 0 (no boost) , 1 (+6dB boost), 2 (+12dB boost), 3 (+18dB boost)
That will allow you to boost the level in hardware before sending it to the audio chip amplifier
This is to use mostly for apps/medias that have a low input level for example some of the streaming apps like Netflix with which that new option does wonders :)
Keep in mind that if your media already has a normal audio level you will saturate the amp input and generate clipping / bad quality.

- Cascade option: Abitility to link Speakers and Headphone analog volume with the volume keys and cascade analog with android digital level. (This will give you the best quality results. )

When you increase the volume it will first increase the digital android volume, then increase the real chip analog volume as you keep pushing up once the digital volume has reached the maximum.
When you hit the volume down button, it will first decrease the analog chip volume, while keep the digital volume at max.Then once it has reached a low analog level it'll decrease the digital slider as you keep pushing.
(Only use the volume keys to control the volume in that case, do not use the digital android volume or another app)

If you prefer not to have that behavior and set the volumes separately, just uncheck the cascade option.

* Storage
Allows you to mount / unmount drives:
- Mount(Auto): will try to mount vfat, ext4 and ntfs with what the kernel support (ie if the kernel only supports ReadOnly NTFS, the drives will end up being mounted ro)
- Mount(NTFS with full write support) : this one will try to mount the drive directly with full read-write support through ntfs-3g compiled and included with the app.
- Unmount: does what it says ;) if the drive is busy or used by an application, it'll usually fail.
In that case and if you know what you're doing you can try to check the force box, it might be able to force unmount.

* Media
Allows you to configure the KAT MediaScanner filters
Always been annoyed by the MediaScanner eating 50% of the cpu and doing intensive IO, bringing your tablet to its knees ?
Well this enhancement is for you, it'll allow you to black/white list and force specified directories scanning, or disable scanning completely.

The way the default MediaScanner works is that everytime the tablet starts, that you mount / unmount a storage, or that the tablet wakes up,
the MediaScannerService receives an order to scan.. *everything* on all mounted medias *again*:
/storage/sdcard0, /Removable/MicroSD, /Removable/USBdisk1, /Removable/USBdisk2, /Removable/SD

That's where the K.A.T MediaScanner comes to the rescue.
With it you can rewrite / filter the scan orders. :)

- Whitelist:
Everything added in it will continue and be scanned if the order is received.
If you work in whitelist most, you should add at least /system/media to it, unless you don't want the system to find these. (default audio notifications and such)

- Blacklist
Everything in this list will be discarded from the scan order received.

- Always add directories
The directories in this list, will be always appended to the scan order.

- Scan checkbox: if unchecked all orders are cancelled
You can choose to still let the "always add directories" list pass or not with the additional check box

One thing to understand: the MediaScannerService is in charge of "top level" recursive scan orders.
Meaning that it receives the order to scan /Removable/MicroSD for example.
(It can also receive individual scan orders for files if an application forces it, but that's not how android is doing it for you general "media files")
So it is these "orders" that the filters can intercept and what the white/black list are matching against.
You won't be able to match onto individual files.

Also keep in mind it takes time for the scanner to update its DB.
Until it's done you might still see medias that you've filtered out, or might not see new medias you're trying to force scanning.
If you currently have a big media DB, the cleanest and faster way to do it, is to configure the filters you want, wipe MediaStorage data, then reboot.
 
Last edited:

timduru

Senior Member
Apr 13, 2011
2,878
18,014
What the heck?! How do you know how to do all of this???

Haha thanks so much!!!! Thus is awesome :)

Sent from my SM-N9005 using XDA Free mobile app

hehe, you're welcome ;)
Took some time to dig into the sound chip documentation, but yeah since the TF300T and TF101 share the same sound chip
the TF300T can now benefit from it too
and the few other things ;)
 

d08speed3

Senior Member
Jul 23, 2010
2,723
522
CROM-bi KK. Geass Kernel.TF300t. ROM came with Viper4android and that makes no difference on its own. Yea I did all of that. I see all of that too. Tinkering with the values and preset one makes it no louder.

HTC DNA
LG Optimus G
 

d08speed3

Senior Member
Jul 23, 2010
2,723
522
do you hear volume changes when you move the mixer sliders in the K.A.T app ; ie if you decrease it will it decrease volume ?

I actually do lol. Let me mess around with it .

Sent from my TF300T using xda app-developers app

---------- Post added at 09:56 PM ---------- Previous post was at 09:50 PM ----------

Guess I was expecting some huge change lol. It does get louder tho.

Sent from my TF300T using xda app-developers app
 

timduru

Senior Member
Apr 13, 2011
2,878
18,014
I actually do lol. Let me mess around with it .

Sent from my TF300T using xda app-developers app

well then it works ;)
For speakers, default hardware level is at 60, max of the chip is 63, so it's not going to add that much hardware boost.
Where you will hear the most changes are with the headphones which have a level by default of 45
so the app will allow you to increase it up to 63 max (careful with your ears ;) )
The register settings change + cascading option will allow you to get better sound quality. (ie better signal/ noise level)
as it will keep the hardware amp analog level just at what you need while keeping the android digital level to the max.
That's not really going to do miracles with the crappy speakers either, but with the headphones it will :)
 
Last edited:
  • Like
Reactions: d08speed3

Mars73

Member
May 15, 2012
46
2
Very interested in this app or maybe your rom.
I have the cromb kk rom and the neutron player (imo the absolute best music player) to use as a player for my Phillips Fidelio X1 headphone.
What will this app/rom bring me extra, even beter sound? (am happy already but always on the search to improve things).
The Wolfson DAC is quite good, was good to see it is in the tf300 as well.
Is it best to wipe the tablet or can the rom be installed 'over' it?
 

timduru

Senior Member
Apr 13, 2011
2,878
18,014
Very interested in this app or maybe your rom.
I have the cromb kk rom and the neutron player (imo the absolute best music player) to use as a player for my Phillips Fidelio X1 headphone.
What will this app/rom bring me extra, even beter sound? (am happy already but always on the search to improve things).
The Wolfson DAC is quite good, was good to see it is in the tf300 as well.
Yep the app will bring you better sound quality, signal/noise ratio and allow you to increase the amp further.
Might be good to drive the speakers of that type of over the ear headphones.

Is it best to wipe the tablet or can the rom be installed 'over' it?
For the rom it's best to wipe when coming from another rom.
 

bmonster

Senior Member
Mar 15, 2011
179
63
Was looking forward to using this, but avast mobile blocks it as malware, any idea why this is being flagged as a virus..

Sent from my TF300T using Xparent Blue Tapatalk 2
 

Mars73

Member
May 15, 2012
46
2
I installed the ROM and KAT apk and with titanium backup and Apex all was well again ☺
The Neutron music player is using Opensl ES driver (or you can use a generic driver).
With KAT on or off I don't hear any difference (could be a good thing though). I'm just not sure if the Neutron player is overriding your driver/settings.
I could already gain more amp with the player, but it is now also possible with your apk.
I'll just use this ROM some time and see how things go.
I did notice the battery is going empty much quicker then the cromb kk btw.

Update: I do notice I can get it louder with the KAT tool, so I'm keeping it running.
I noticed no distortion.

---------- Post added at 06:39 PM ---------- Previous post was at 05:56 PM ----------

Just did an uninstall of the KAT tool and the volume can still be upped with the neutron player (up to non listening levels).
I'm still interested in how these things work in combination or that they are biting each other.
 
Last edited:

timduru

Senior Member
Apr 13, 2011
2,878
18,014
I installed the ROM and KAT apk and with titanium backup and Apex all was well again ☺
The Neutron music player is using Opensl ES driver (or you can use a generic driver).
With KAT on or off I don't hear any difference (could be a good thing though). I'm just not sure if the Neutron player is overriding your driver/settings.
I could already gain more amp with the player, but it is now also possible with your apk.
I'll just use this ROM some time and see how things go.
I did notice the battery is going empty much quicker then the cromb kk btw.

Update: I do notice I can get it louder with the KAT tool, so I'm keeping it running.
I noticed no distortion.

---------- Post added at 06:39 PM ---------- Previous post was at 05:56 PM ----------

Just did an uninstall of the KAT tool and the volume can still be upped with the neutron player (up to non listening levels).
I'm still interested in how these things work in combination or that they are biting each other.

Neutron player most likely control digital volumes / boost things all in software.
The K.A.T app control the hardware amp levels.
To get the best quality you basically need to avoid boosting volume in software.
Just leave the android digitial volume at 100%
And let the K.A.T app control the analog hardware level.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    attachment.php
    K.A.T - Kat Android Toolbox - Android Unleasher
    Asus TF300T - TF101

    Android App | Audio Enhancer | Alsa Mixer | Media Scanner filters | GPS quickFix
    (Some of the features requires root)


    Hi everyone :)

    After the TF101 , K.A.T toolbox is now available for the TF300T :)

    attachment.php




    Latest K.A.T version :
    For KatKiss 7.X: K.A.T_V2.4.2.apk (Requires KatKiss 7.X >=V011)
    For KatKiss 6.0 : K.A.T_V2.2.0.apk
    For KatKiss 5.1 : K.A.T_V2.1.0.apk

    ChangeLog:
    2.4.2


    2.2.0 - 2.1.0 - 2.0.1 - 1.5.3 - 1.5.2 - 1.5.1 - 1.5.0 - 1.4.2 - 1.4.1 - 1.4.0 - 1.3.2 - 1.3.1 - 1.2.7 - 1.2.5 - 1.2.4 - 1.2.3 - 1.2.2 - 1.2.0 - 1.1.7 - 1.1.6 - 1.1.4 - 1.1.3 - 1.1.2


    It includes:
    * KatAudio:
    - Ability to control individually the hardware volume mixers of the WM8903 sound chip (hardware levels are lower than the max by default, and android controls only the software volumes)
    - Audio quality & level enhancement (optimized WM8903 register values for best quality)
    - Predefined optimized profiles that can be applied at boot and run time
    - Pre Amp Boost
    - Speaker front boost( DAC L+R merge)
    - Abitility to link Speakers and Headphone analog volume with the volume keys and cascade analog with android digital level.
    (Only use the volume keys to control the volume in that case, do not use the digital android volume or another app) see post #2
    - reinit FM34 DSP
    * Install section allows you to install the different patches/features and fixes
    - Ad-blocker (host file replacement)
    - GPS assistance Fix (needs reboot after install)

    * Media
    - Allows you to configure the KAT MediaScanner filters (whitelist, blacklist, alwaysadd directories, disable scan completely) Requires compatible rom like KatKiss
    * Storage
    - Allows you to mount / unmount drives (with full write NTFS support too)

    See post #2 for more details.

    See post #3 for compatibility reports, please report if a feature works for you (indicates which feature/version), and with which tablet/ROM/Kernel combination and versions you tested it with.
    That way I can update the compatibility post. :)


    Disclaimer: The usual ;)
    Use at your own risk, I won't be responsible for any damages caused to your Transformer or to yourself.
    In most cases if something breaks, flashing a rom on top should fix it.


    Please don't repackage or redistribute K.A.T in another thread, as it'll just make it very difficult for me to maintain and understand user feedback if your repackaged version is broken, has too many differences or is outdated.
    Also feel free to mention that you've reused some of the K.A.T enhancements but don't call it K.A.T, as if you do that will just generate confusion in user's mind as to where and what is K.A.T.
    Thanks :)

    Credits:
    - Dan Pollock for the original ad-blocker file http://someonewhocares.org/hosts/


    XDA:DevDB Information
    K.A.T - Kat Android Toolbox, App for all devices (see above for details)

    Contributors
    timduru

    Version Information
    Status: Stable

    Created 2014-07-22
    Last Updated 2016-10-30
    10
    Reserved

    Features


    * KatAudio:
    Note that on the TF300T, With some of the media player the first time you play a media, the volumes are reset to their original state. So first open the app & play then adjust the volumes in the K.A.T app. Or if you use the cascade option, push the volume button once after playing and it will set the proper volume level

    - ability to control individually the hardware volume mixers of the WM8903 chip
    - predefined optimized profiles that can be applied at boot and run time (optimized WM8903 registers for best quality "voodoo sound like" + sound volumes)
    - Speaker front boots( DAC L+R merge)
    - reinit FM34 DSP feature

    - Pre Amp Boost
    4 modes: 0 (no boost) , 1 (+6dB boost), 2 (+12dB boost), 3 (+18dB boost)
    That will allow you to boost the level in hardware before sending it to the audio chip amplifier
    This is to use mostly for apps/medias that have a low input level for example some of the streaming apps like Netflix with which that new option does wonders :)
    Keep in mind that if your media already has a normal audio level you will saturate the amp input and generate clipping / bad quality.

    - Cascade option: Abitility to link Speakers and Headphone analog volume with the volume keys and cascade analog with android digital level. (This will give you the best quality results. )

    When you increase the volume it will first increase the digital android volume, then increase the real chip analog volume as you keep pushing up once the digital volume has reached the maximum.
    When you hit the volume down button, it will first decrease the analog chip volume, while keep the digital volume at max.Then once it has reached a low analog level it'll decrease the digital slider as you keep pushing.
    (Only use the volume keys to control the volume in that case, do not use the digital android volume or another app)

    If you prefer not to have that behavior and set the volumes separately, just uncheck the cascade option.

    * Storage
    Allows you to mount / unmount drives:
    - Mount(Auto): will try to mount vfat, ext4 and ntfs with what the kernel support (ie if the kernel only supports ReadOnly NTFS, the drives will end up being mounted ro)
    - Mount(NTFS with full write support) : this one will try to mount the drive directly with full read-write support through ntfs-3g compiled and included with the app.
    - Unmount: does what it says ;) if the drive is busy or used by an application, it'll usually fail.
    In that case and if you know what you're doing you can try to check the force box, it might be able to force unmount.

    * Media
    Allows you to configure the KAT MediaScanner filters
    Always been annoyed by the MediaScanner eating 50% of the cpu and doing intensive IO, bringing your tablet to its knees ?
    Well this enhancement is for you, it'll allow you to black/white list and force specified directories scanning, or disable scanning completely.

    The way the default MediaScanner works is that everytime the tablet starts, that you mount / unmount a storage, or that the tablet wakes up,
    the MediaScannerService receives an order to scan.. *everything* on all mounted medias *again*:
    /storage/sdcard0, /Removable/MicroSD, /Removable/USBdisk1, /Removable/USBdisk2, /Removable/SD

    That's where the K.A.T MediaScanner comes to the rescue.
    With it you can rewrite / filter the scan orders. :)

    - Whitelist:
    Everything added in it will continue and be scanned if the order is received.
    If you work in whitelist most, you should add at least /system/media to it, unless you don't want the system to find these. (default audio notifications and such)

    - Blacklist
    Everything in this list will be discarded from the scan order received.

    - Always add directories
    The directories in this list, will be always appended to the scan order.

    - Scan checkbox: if unchecked all orders are cancelled
    You can choose to still let the "always add directories" list pass or not with the additional check box

    One thing to understand: the MediaScannerService is in charge of "top level" recursive scan orders.
    Meaning that it receives the order to scan /Removable/MicroSD for example.
    (It can also receive individual scan orders for files if an application forces it, but that's not how android is doing it for you general "media files")
    So it is these "orders" that the filters can intercept and what the white/black list are matching against.
    You won't be able to match onto individual files.

    Also keep in mind it takes time for the scanner to update its DB.
    Until it's done you might still see medias that you've filtered out, or might not see new medias you're trying to force scanning.
    If you currently have a big media DB, the cleanest and faster way to do it, is to configure the filters you want, wipe MediaStorage data, then reboot.
    5
    New Version 2.2.0

    attachment.php

    K.A.T_V2.2.0.apk


    ChangeLog:
    - MarshMallow 6.0 compatibility (requires KatKiss 6.0 >= #008)
    5
    New Lollipop 5.1 version

    attachment.php

    K.A.T_V2.1.0.apk


    ChangeLog:
    - Lollipop 5.1 compatibility (requires KatKiss 5.1 >= #021)
    3
    New version 2.0.1

    attachment.php

    K.A.T_V2.0.1.apk


    ChangeLog:
    - Lollipop compatibility
    - Core audio rewrite

    Note: Audio cascading is disabled on Lollipop as not compatible yet.