[APP - unsolved] - youtube preloading settings - Sprint HTC EVO 4G LTE

Does anyone know if it is possible to change the preload settings in the new youtube app? I would like the ability to preload a lot more than it currently is.
The youtube.xml had some interesting properties that I think if tweaked would allow for more storage of offline videos. It also had some other interesting properties.
Code:
<long name="prefetch_last_not_used_notification_time" value="1341515076733" />
<boolean name="show_channel_store_turorial" value="false" />
<boolean name="prefetch_watch_later" value="true" />
<boolean name="download_only_while_charging" value="true" />
<int name="transfer_max_connections" value="3" />
<int name="session_summary" value="1" />
<long name="prefetch_last_local_playback_time" value="1342121116028" />
<int name="download_max_rate" value="131072" />
<int name="session_watch_count" value="0" />
<int name="last_ad_delay" value="420000" />
<boolean name="prefetch_subscriptions" value="true" />
<string name="prefetch_quota">512</string>
<boolean name="promo_fullscreen" value="true" />
<long name="last_ad_time" value="1339645854411" />
I think the entry that needs to change is prefetch_quota. I'll be changing mine to 1024 and report back. Another interesting one is transfer_max_connections as well as download_max_rate. The 131072 value for download_max_rate I believe is in bytes or it is also 128kb which aligns with what some other users have noticed.
Thanks.

So after changing the value to 1024 and letting it sit for a night on the charger the file was automatically changed back to 512.
I'm going to try transfer_max_connections and i set mine to 8 next.

I have a feeling 'prefetch_quota' refers to the 'prefetch_subscriptions' line above it. It seems to me that that setting refers to how much to load from your subscriptions, as opposed to buffering a video more before starting to play or preloading more of the general video index.
I'm not sure what you mean by 'preload more than it is', though, so maybe that's what you want.
Good luck.
g

its only for your subscriptions

It still isn't preloading as much as I'd like it too. I'll mess with some more settings over the weekend.

iconeo said:
It still isn't preloading as much as I'd like it too. I'll mess with some more settings over the weekend.
Click to expand...
Click to collapse
Thanks for investigating this. Have you been able to determine which directory or folder Youtube is preloading the cache to?

Related

[app][GB+] beats manager app (sound mod)

well...its been a long time since I've made my last thread. this is an app for you called "beats manager". this app is made to enhance our bass and overall sound quality in our device. it works just like dsp manager. well...it's actually modified dsp manager with beats theme. however, several part of the app has been modified to meet my needs. you'll notice that you have 4 instead of 3 bass strengt setting. you also got more two eq preset and 1 virtual effect preset. long story short.
the link
Beats Manager:
v_0.1 : http://d-h.st/1Zi
v_0.2 : http://www.mediafire.com/?ajajtgghuu0pq4j
v_0.3 : http://www.mediafire.com/?1fqfr06uyrfpwbu
v_0.4 : http://www.mediafire.com/download.php?n46kt5ald2etl2v
note: this app is a modified version of an app I found recently on google play called "equalizer". the original link is https://play.google.com/store/apps/details?id=org.equalizerapp what I do is only rethemed it and rename the app. I didn't take credit for this app and I modify this app only for fun. if you have a lil spare time I hope you could visit their page and give them some appreciation and encouragement.
v_0.5 : http://www.mediafire.com/?a53bukwqayjbof5
based on com.devdnua.equalizer with beats themed version.
v_0.5.1 : http://www.mediafire.com/?s21jwu8js5d33d6
dsp manager for ICS. it doesn't work on GB. I put it here just in case if someone want to use i on ICS.
Miui Player: http://d-h.st/hnf
Click to expand...
Click to collapse
changelog:
Beats Manager
v_0.1 (30-9-12)
- first public release
v_0.2 (1-10-12)
- attempt to fix dynamic compression bug (need tester on stock sgy music player)
v_0.3 (22-10-12)
- complete new app based on an app I found in evanlocked's custom rom
- eq modified.
v_0.3 (27-10-12)
- new base app
- new icon and app name
Miui Player
v_0.1 (30-9-12)
- first public release
Click to expand...
Click to collapse
btw, the new eq setting is- kuro bass (7.5 - 6.0 -1.0 - 3.5 - 4.0), max amp (10-10-10-10-10). you can install this app as an ordinary app. no need to push it to system/app. if you already have dsp manager, you must unistall it before installing this app. for the addition, I included modified miuiplayer which can be installed as ordinary app too. this app is actually intended for GB based rom but it should be working fine on ICS or newer android system version. already tested on my tipo
KNOWN BUG
- v1 and v2 doesn't work with several beats n xloud mod
- v3 lag on slow system.
enjoy...
TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK
Click to expand...
Click to collapse
ADDITIONAL STUFF - HOW TO ADD YOUR EQ PRESET AND MODIFY THIS APP
decompile the app usual. the file required to modify is in /res/values. the other files are untouched. under this folder you'll find four xml files
1. arrays
2. public
3. string
4. ids
we didn't touch the last one. now look into array.xml. you'll find
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="headphone_modes"> //this part contain the virtual effect setting
<item>Studio</item>
<item>Room</item>
<item>Large room</item>
<item>Kuros</item> //kuro-this value is added by me to add one more virtual setting
<item>Stage</item>
</string-array>
<string-array name="headphone_modes_values">
<item>0</item>
<item>250</item>
<item>500</item>
<item>750</item> //kuro-this value is added by me to match the addition above
<item>1000</item>
</string-array>
<array name="equalizer_preset_modes"> // this part is the eq preset stuff
<item>@string/eq_preset_acoustic</item>
<item>@string/eq_preset_bass_booster</item>
<item>@string/eq_preset_bass_reducer</item>
<item>@string/eq_preset_classical</item>
<item>@string/eq_preset_deep</item>
<item>@string/eq_preset_flat</item>
<item>@string/eq_preset_r_and_b</item>
<item>@string/eq_preset_rock</item>
<item>@string/eq_preset_small_speakers</item>
<item>@string/eq_preset_treble_booster</item>
<item>@string/eq_preset_treble_reducer</item>
<item>@string/eq_preset_vocal_booster</item>
<item>@string/eq_preset_kuro_max</item> // this one is the eq preset added by me
<item>@string/eq_preset_kuro_bass</item> // this one too
<item>@string/eq_preset_custom</item>
</array>
<string-array name="equalizer_loudness_modes"> // the loudness compensation setting. doesn't have any noticeable effect. lets leave it
<item>Disabled</item>
<item>Weakest</item>
<item>Weaker</item>
<item>Weak</item>
<item>Strong</item>
<item>Stronger</item>
<item>Strongest</item>
</string-array>
<string-array name="equalizer_loudness_values"> // loudness compensation value
<item>10000</item>
<item>5000</item>
<item>4000</item>
<item>3000</item>
<item>2000</item>
<item>1000</item>
<item>0</item>
</string-array>
<string-array name="equalizer_preset_values"> // eq preset value
<item>4.5;3.5;1.75;3.5;2.5;</item>
<item>7.5;6.0;0.0;0.0;0.0;</item>
<item>-6.5;-4.0;0.0;0.0;0.0;</item>
<item>4.0;3.25;-0.5;2.0;3.5;</item>
<item>4.0;0.5;1.5;-4.0;-4.5;</item>
<item>0.0;0.0;0.0;0.0;0.0;</item>
<item>5.5;3.5;-1.75;1.5;2.5;</item>
<item>4.5;2.75;-0.5;2.75;4.0;</item>
<item>6.5;4.0;0.0;-6.5;-4.0;</item>
<item>0.0;0.0;0.0;4.0;6.5;</item>
<item>0.0;0.0;0.0;-6.5;-4.0;</item>
<item>-2.5;0.0;3.5;1.5;-2.0;</item>
<item>10.0;10.0;10.0;10.;10.0;</item> // this part is added to match the EQ stuff above
<item>7.5;6.0;1.0;3.5;4.5;</item> // this one too :P - max value is 10 to -10. don't forget the sequences!! the first one is - max amp, then - kuro bass if you add more eq preset you should remember their position in <array name="equalizer_preset_modes">
<item>-1337</item>
</string-array>
<string-array name="compression_modes"> // dynamic compression. only works on stock player. it's buggy. so let this one untouched
<item>Low</item>
<item>Medium</item>
<item>High</item>
</string-array>
<string-array name="compression_modes_values">
<item>50</item>
<item>100</item>
<item>300</item>
</string-array>
<string-array name="bassboost_modes"> // the amazing bass boost
<item>Low</item>
<item>Medium</item>
<item>High</item>
<item>X-tra</item> // this one is added by me
</string-array>
<string-array name="bassboost_modes_values">
<item>0</item>
<item>333</item>
<item>666</item>
<item>1000</item> // this one is added to match the modification above. max value is 1000. you can't add something higher than this but you still could add more variable setting on it.
</string-array>
</resources>
now open you public.xml. we need to register our eq preset here
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="drawable" name="icon" id="0x7f020000" />
<public type="layout" name="equalizer" id="0x7f030000" />
<public type="layout" name="equalizer_popup" id="0x7f030001" />
<public type="xml" name="bluetooth_preferences" id="0x7f040000" />
<public type="xml" name="headset_preferences" id="0x7f040001" />
<public type="xml" name="main_preferences" id="0x7f040002" />
<public type="xml" name="speaker_preferences" id="0x7f040003" />
<public type="array" name="headphone_modes" id="0x7f050000" />
<public type="array" name="headphone_modes_values" id="0x7f050001" />
<public type="array" name="equalizer_preset_modes" id="0x7f050002" />
<public type="array" name="equalizer_loudness_modes" id="0x7f050003" />
<public type="array" name="equalizer_loudness_values" id="0x7f050004" />
<public type="array" name="equalizer_preset_values" id="0x7f050005" />
<public type="array" name="compression_modes" id="0x7f050006" />
<public type="array" name="compression_modes_values" id="0x7f050007" />
<public type="array" name="bassboost_modes" id="0x7f050008" />
<public type="array" name="bassboost_modes_values" id="0x7f050009" />
<public type="string" name="app_name" id="0x7f060000" />
<public type="string" name="dB" id="0x7f060001" />
<public type="string" name="select_configuration_title" id="0x7f060002" />
<public type="string" name="headset_title" id="0x7f060003" />
<public type="string" name="speaker_title" id="0x7f060004" />
<public type="string" name="bluetooth_title" id="0x7f060005" />
<public type="string" name="dsp_settings_headset" id="0x7f060006" />
<public type="string" name="dsp_settings_speaker" id="0x7f060007" />
<public type="string" name="dsp_settings_bluetooth" id="0x7f060008" />
<public type="string" name="pref_dsp_title" id="0x7f060009" />
<public type="string" name="pref_dsp_summary_on" id="0x7f06000a" />
<public type="string" name="pref_dsp_summary_off" id="0x7f06000b" />
<public type="string" name="pref_dsp_enable" id="0x7f06000c" />
<public type="string" name="pref_effect_title" id="0x7f06000d" />
<public type="string" name="dialog_effect" id="0x7f06000e" />
<public type="string" name="pref_equalizer_title" id="0x7f06000f" />
<public type="string" name="pref_equalizer_summary_on" id="0x7f060010" />
<public type="string" name="pref_equalizer_summary_off" id="0x7f060011" />
<public type="string" name="pref_equalizer_enable" id="0x7f060012" />
<public type="string" name="pref_equalizer_preset_title" id="0x7f060013" />
<public type="string" name="pref_equalizer_loudness_title" id="0x7f060014" />
<public type="string" name="pref_bassboost_title" id="0x7f060015" />
<public type="string" name="pref_bassboost_summary_on" id="0x7f060016" />
<public type="string" name="pref_bassboost_summary_off" id="0x7f060017" />
<public type="string" name="pref_bassboost_enable" id="0x7f060018" />
<public type="string" name="pref_headset_virtual_title" id="0x7f060019" />
<public type="string" name="pref_headset_virtual_summary_on" id="0x7f06001a" />
<public type="string" name="pref_headset_virtual_summary_off" id="0x7f06001b" />
<public type="string" name="pref_headset_virtual_enable" id="0x7f06001c" />
<public type="string" name="pref_room_title" id="0x7f06001d" />
<public type="string" name="dialog_room" id="0x7f06001e" />
<public type="string" name="menu_reset" id="0x7f06001f" />
<public type="string" name="eq_preset_acoustic" id="0x7f060020" />
<public type="string" name="eq_preset_bass_booster" id="0x7f060021" />
<public type="string" name="eq_preset_bass_reducer" id="0x7f060022" />
<public type="string" name="eq_preset_classical" id="0x7f060023" />
<public type="string" name="eq_preset_deep" id="0x7f060024" />
<public type="string" name="eq_preset_flat" id="0x7f060025" />
<public type="string" name="eq_preset_r_and_b" id="0x7f060026" />
<public type="string" name="eq_preset_rock" id="0x7f060027" />
<public type="string" name="eq_preset_small_speakers" id="0x7f060028" />
<public type="string" name="eq_preset_treble_booster" id="0x7f060029" />
<public type="string" name="eq_preset_treble_reducer" id="0x7f06002a" />
<public type="string" name="eq_preset_vocal_booster" id="0x7f06002b" />
<public type="string" name="eq_preset_kuro_max" id="0x7f06002c" /> //this value is added by me to match the eq preset addition on array.xml
<public type="string" name="eq_preset_kuro_bass" id="0x7f06002d" /> //this one too. remember that the address should be different each other
<public type="string" name="eq_preset_custom" id="0x7f06002e" /> //you should change this address too.
<public type="string" name="dsp_settings" id="0x7f06002f" /> //don't forget this one :P the address is on hexadecimal code, so that the next number will be 0x7f060030
<public type="menu" name="menu" id="0x7f070000" />
<public type="id" name="FrequencyResponse" id="0x7f080000" />
<public type="id" name="reset" id="0x7f080001" />
</resources>
for the last part, open your string.xml. we need to register the eq preset here too.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Beats™ Manager</string> //simply the app name. you can play with it. the rest part of this file is the UI message.
<string name="dB">+0 dB</string>
<string name="select_configuration_title">Menu Configuration</string>
<string name="headset_title">Beats™ Headset</string>
<string name="speaker_title">Beats™ Speaker</string>
<string name="bluetooth_title">Beats™ Bluetooth Device</string>
<string name="dsp_settings_headset">Beats™ Settings - Headset</string>
<string name="dsp_settings_speaker">Beats™ Settings - Speaker</string>
<string name="dsp_settings_bluetooth">Beats™ Settings - Bluetooth Device</string>
<string name="pref_dsp_title">Dynamic Range Compression</string>
<string name="pref_dsp_summary_on">Compression is enabled</string>
<string name="pref_dsp_summary_off">Compression is disabled</string>
<string name="pref_dsp_enable">Enable</string>
<string name="pref_effect_title">Select Effect Strength</string>
<string name="dialog_effect">Effect Strength</string>
<string name="pref_equalizer_title">Beats™ Equalizer</string>
<string name="pref_equalizer_summary_on">Equalizer is enabled</string>
<string name="pref_equalizer_summary_off">Equalizer is disabled</string>
<string name="pref_equalizer_enable">Enable</string>
<string name="pref_equalizer_preset_title">Select Preset</string>
<string name="pref_equalizer_loudness_title">Loudness compensation</string>
<string name="pref_bassboost_title">Beats™ Bass Boost</string>
<string name="pref_bassboost_summary_on">Bass Boost is enabled</string>
<string name="pref_bassboost_summary_off">Bass Boost is disabled</string>
<string name="pref_bassboost_enable">Enable</string>
<string name="pref_headset_virtual_title">Beats™ Virtual Effect</string>
<string name="pref_headset_virtual_summary_on">Virtual Effect is enabled</string>
<string name="pref_headset_virtual_summary_off">Virtual Effect is disabled</string>
<string name="pref_headset_virtual_enable">Enable</string>
<string name="pref_room_title">Select Room Type</string>
<string name="dialog_room">Room Type</string>
<string name="menu_reset">Reset</string>
<string name="eq_preset_acoustic">Acoustic</string>
<string name="eq_preset_bass_booster">Bass Booster</string>
<string name="eq_preset_bass_reducer">Bass Reducer</string>
<string name="eq_preset_classical">Classical</string>
<string name="eq_preset_deep">Deep</string>
<string name="eq_preset_flat">Flat</string>
<string name="eq_preset_r_and_b">R&B</string>
<string name="eq_preset_rock">Rock</string>
<string name="eq_preset_small_speakers">Small Speakers</string>
<string name="eq_preset_treble_booster">Treble Booster</string>
<string name="eq_preset_treble_reducer">Treble Reducer</string>
<string name="eq_preset_vocal_booster">Vocal Booster</string>
<string name="eq_preset_kuro_max">Max Amp</string> //our new eq preset
<string name="eq_preset_kuro_bass">Kuro Bass</string> //this one too :P
<string name="eq_preset_custom">Custom</string>
</resources>
btw, the icon is stored inside /res/drawable-hdpi. you can play with it. this is all I know about this app. please don't ask me how to decompile and recompile it
Hell Yeah Kuro!!! Just great:thumbup:
Sent from my GT-S5360 using xda premium
great brotha :victory:
Compatible with xLoud+Beats+Bravia?
if you're using real xloud, then the answer is no. if you're using the modified one. yes
kurotsugi said:
if you're using real xloud, then the answer is no. if you're using the modified one. yes
Click to expand...
Click to collapse
Just tested it.. its working!
we still have a lot of slot on the eq preset. if you're familiar with this app structure you can modify it by yourself to add more eq and setting.
EDIT: a tut will be nice. however, I didn't want to publish any tut regarding this app modification on public. if anyone interested on how to modify dsp manager you can contact me via PM. apktool/manager/ or anything similar with it is minimum requirement for this modification. a picture editor is also necessary if you want to modify the icon.
kurotsugi said:
we still have a lot of slot on the eq preset. if you're familiar with this app structure you can modify it by yourself to add more eq and setting.
Click to expand...
Click to collapse
Is the dynamic range compression fix? I want to replace dsp manager on CoD Rom sir
Sent from my GT-S5360 using Xparent SkyBlue Tapatalk 2
nope...I didn't touch the smali code
kurotsugi said:
nope...I didn't touch the smali code
Click to expand...
Click to collapse
Yup... Already use it almost broke my eardrum (lol), so I leave it untick
Still it's better ‎​than dsp manager :good:
Sent from my GT-S5360 using Xparent SkyBlue Tapatalk 2
if you want to use dynamic range...you can use it at low setting. it won't give you any those bug. it only work with stock music player.
kurotsugi said:
if you want to use dynamic range...you can use it at low setting. it won't give you any those bug. it only work with stock music player.
Click to expand...
Click to collapse
It just fine to leave it untick coz already try to set it low but the shock rising sound is still occured sir
Sent from my GT-S5360 using Xparent SkyBlue Tapatalk 2
i changed my mind...the tutorial is on 1st post. please don't ask me how to decompile-recompile the app or why your tools can't recompile it.
Awsome sir, you're cool
Sent from my GT-S5360
nice post..
thank u sir.awesome...
post updated. need report from stock music player user
kurotsugi said:
post updated. need report from stock music player user
Click to expand...
Click to collapse
have tested on stock music player.have dynamic....tested in all settings and there was no issue it works perfect.anyway a good work from you,thanx.:good:
Sir..:'(
Fc on my device :crying:
Globally recognised & certified NOOB
alkesh95 said:
Sir..:'(
Fc on my device :crying:
Globally recognised & certified NOOB
Click to expand...
Click to collapse
wich player are u using/did u have previous dsp one deleted?

Play Store Search Results Problem Despite Efforts - Exact Name Ranking Very Low

The app was published about a month ago, and when I do a search for the exact name of the app Turbo Verse it ranks very low 25th at the highest, currently its #92.
I understand the basic SEO rules for the play store (downloads, rankings, compatibility etc.) but I feel this is an anomaly because this is the only app in the entire store that contains the words Turbo and Verse in the title and I can see no reason why it shouldnt be ranked very high for the exact name.
I was thinking it may have something to with the manifest so I will post it below, I have 18 reviews, mostly positive and over 100 downloads.
The full name of the App as it appears in the store is: Turbo Verse KJV - Bible Memory but I am only typing in the first part: Turbo Verse, but when I type the whole name into the search its still ranking about 9 or 10th
I would really appreciate any advice, I am a new developer and I would like to learn from my mistakes.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="url removed because I can post a link in this forum"
package="com.turboverse.scripturememory"
android:versionCode="2"
android:versionName="1.01" >
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="10" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:description="@string/appDescription"
>
<activity
android:name="com.turboverse.scripturememory.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".RequestVerse" android:screenOrientation="portrait" />
<activity android:name=".ByReferenceBookList" android:screenOrientation="portrait" />
<activity android:name=".ByTopicList" android:screenOrientation="portrait" />
<activity android:name=".Chapters" android:screenOrientation="portrait" />
<activity android:name=".Verses" android:screenOrientation="portrait" />
<activity android:name=".PlayVerse" android:screenOrientation="portrait" />
<activity android:name=".MyVersesList" android:screenOrientation="portrait" />
<activity android:name=".ChapterVerses" android:screenOrientation="portrait" />
<activity android:name=".UpdateDownloadVerses" android:screenOrientation="portrait" />
<service android:name=".TurboVerseService" />
</application>
<!-- application android:name="GlobalObjects" android:label="@string/app_name" /-->
<uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"><group gid="media_rw"></group></uses-permission>
<supports-screens android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
</manifest>

How to increase speaker volume for CM11 Notifications

Hey guys,
Every time I install CM on a phone, I always notice that notifications are always a lot more quiet compared to stock. I have to imagine that this is erring on the side of caution by the CM guys.
Anyway, so I did some digging today and found the setting that you can change to fix this.
Open ES File Explorer, Enable Root Explorer, press on root explorer and mount system as r/w.
The file is located at:
system/etc/mixer_paths.xml
You'll need to have ES File Explorer (doesn't have to be this particular one... basically you need a root browser). Make sure to enable root browser and set system to r/w.
Just navigate to the above file, and look for this section (line 737):
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
<ctl name="RX7 Digital Volume" value="83" />
<!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
<ctl name="SPK DRV Volume" value="8" />
</path>
Click to expand...
Click to collapse
The line you're going to want to focus on is this one:
<ctl name="RX7 Digital Volume" value="83" />
FWIW, <!-- This is a comment and usually I tell you things that are important... not code -->.
This line above: <!-- 67 % of 124 (range 0 - 124) Register: 0x2E7--> Shows you the min and max values (0 - 124), so don't set some stupidly high number here outside of those ranges.
I started at a value of 95 (which I knew was extremely high, but I did it because I was trying to find the upper limit). Long story short, a value of 89 or 90 is right about perfect for volume vs distortion.
Anyway, hopefully this helps someone else.
Edit: in CM 12+ I have found it necessary to increase it to somewhere around 93 to 95.
What is the line to change for earpiece volume?
Also will doing this hinder OTA updates
I am on stock gpe firmware
Pallavgarg10 said:
What is the line to change for earpiece volume?
Also will doing this hinder OTA updates
I am on stock gpe firmware
Click to expand...
Click to collapse
I'm going to take a total guess and go for line 906:
<path name="handset-voice-cfg" >
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x2B7 -->
<ctl name="RX1 Digital Volume" value="83" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<!-- 62 % of 124 (range 0 - 124) Register: 0x356 -->
<ctl name="IIR2 INP1 Volume" value="77" />
</path>
Click to expand...
Click to collapse
Keep in mind, this is for cm11, no other rom (although many other roms use cm as a base, so this MAY apply to them as well. YMMV.).
This edit worked on Stock GPE 4.4.4 ROM with no issues. I tried 90 first but its was right at the edge of speaker limit, so I changed it to 88 and its great. Louder than before and no soft anymore. Thanks for the neat edit.
Thanks!
Do you know how to increase the volume for call ringtones?
Again, thank you.
No, but I would just look through all the sections there, one is likely to jump out at you.
Pallavgarg10 said:
Also will doing this hinder OTA updates
Click to expand...
Click to collapse
No, but whatever you change it to will be overwritten every time you install an update, which can be a bit irritating.

[Q] Reduce the maximum media volume permanently

Hello everyone. I use the Android 4.1.1 (HTC Desire X) and I want to reduce the maximum media volume permanently at about 75-80% of the current one... I have found many apps and settings but they reduce it temporarily... Any help?
Thanks in advance...
energeiakos said:
Hello everyone. I use the Android 4.1.1 (HTC Desire X) and I want to reduce the maximum media volume permanently at about 75-80% of the current one... I have found many apps and settings but they reduce it temporarily... Any help?
Thanks in advance...
Click to expand...
Click to collapse
Editing the mixer XML would do this.
And how can I do it?
From the root directory, go to /system/etc/mixer_paths.xml this file can break audio for you so please make a backup of the original before editing it, now you're going to be looking for something very similar or the same as I've pasted for example,
<path name="speaker">
<path name="fb-protection" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX3 Digital Volume" value="67" />
<ctl name="RX4 Digital Volume" value="67" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="SPK Amp Volume" value="4" />
<ctl name="SPK Amp CLK" value="On" />
</path>
For the lines that read RX3 Digital volume value and RX4 Digital volume value you'll be editing the values of those two lines. For example if I wanted a lower maximum volume I'd change both RX3 and RX4 from 67 to 66 for a lower 100% volume, the 67 will not be the same on your device however it'll be different from mine just so you don't use mine as an exact example, lastly make sure the permissions are good and the end result should be where you want it.
PS:You're going to need to edit this several times and reboot after each time to have the changes take effect.
Remember to listen for a comfortable volume level each time after editing so you don't make it too low. And last but not least, Goodluck!
---------- Post added at 04:58 PM ---------- Previous post was at 04:55 PM ----------
energeiakos said:
And how can I do it?
Click to expand...
Click to collapse
This is assuming that you're rooted of course. If you need any help just ask me, I can edit this file for you if aren't comfortable with doing it yourself.
This particular tutorial is for the phones speaker by the way, If your question is intended for headphone use that can be changed also.
Really, thank you for your help. But I cannot find the file mixer_paths.xml. I use root explorer and root browser, but it is nowhere in system/etc. Maybe it is a hidden file?
It may be elsewhere within your device, I'm not too familiar with the root directory of HTC devices.

Screen Orientation is not changing in Manifest file.

I am not getting the desired output. Please correct me where I am wrong. This is my Manifest file.
<activity
android:name=".Main2Activity"
android:label="@String/app_name"
android:theme="@Style/AppTheme.NoActionBar">
android:screenOrientation="Landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Thanks
According to the Android docs, it is "android:screenOrientation="landscape" - so better avoid the uppercase "L".
This attribute is not enough to keep your app in landscape mode. You need to prevent the system from rotating your view. You need to indicate that your activity will handle screen rotation by itself. Add
android:configChanges="orientation|screenSize"
to <activity>.
See the docs at https://developer.android.com/guide/topics/manifest/activity-element.html#config .

Categories

Resources