[Help] Audio Volume and Navbar - Xiaomi Mi Max Questions & Answers

Edit 3- Sound mod is working so far.
For the audio mod, I'm able to decrease/increase the global volume through the following edit in mixer_paths_wcd9326.xml:
Handset volume is increased by adding the following line to <path name="handset">:
Code:
<ctl name="RX0 Digital Volume" value="93" />
It should look like this inside the XML:
Code:
<path name="handset">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="93" />
</path>
I've tried so many things trying to increase headphone volumes to no avail. I will try further.
=====
Hi Folks!
Two things I'm trying to mod on our Mi Max:
Volume Mod - On my previous device, I could modify the /system/etc/mixer_paths.xml and change some RX1 and RX2 values to increase or decrease specific output volumes such as the in call volume, earphone volume etc. Upon looking at the mixer_paths on our Mi Max, I can't seem to find similar values that I can edit.
I tried changing the following values to 0:
Code:
<ctl name="RX1 Digital Volume" value="0" />
<ctl name="RX2 Digital Volume" value="0" />
<ctl name="RX3 Digital Volume" value="0" />
Code:
<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="0" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="EAR_S" value="Switch" />
</path>
to no avail. This is how I tested my sound mod on my previous device. No volume means I shouldn't hear anything. Once I've established which are the values, I can easily increase them rather than blindly increasing values and trying to play it by ear. Can anyone point me to the right direction?
Navbar Mod - This one seemed really simple. Change the value qemu.hw.mainkeys to 0 and you should get it right? Well, I can't seem to do that as it seems like something is overwriting system/build.prop.
I tried doing this by:
1. Directly editing the file in System
2. Using resetprop in Magisk to do it.
I know that the change doesn't reflect because I don't see the navbar and in addition, upon entering the terminal command:
Code:
getprop qemu.hw.mainkeys
in returns with the value:
Code:
1
Is there another place where MIUI reads this particular prop configuration?
Hoping some folks can help. Thanks!

oreo27 said:
Hi Folks!
Two things I'm trying to mod on our Mi Max:
Volume Mod - On my previous device, I could modify the ......
Hi, first thing try with 3 files that begins with mixer in /system/etc
second thing in build prop at the very down it`s present the line qemu.hw.mainkeys but I`m in the last version 8.1.4.0 and it seem don`t work
Click to expand...
Click to collapse

SubwayChamp said:
oreo27 said:
Hi Folks!
Two things I'm trying to mod on our Mi Max:
Volume Mod - On my previous device, I could modify the ......
Hi, first thing try with 3 files that begins with mixer in /system/etc
second thing in build prop at the very down it`s present the line qemu.hw.mainkeys but I`m in the last version 8.1.4.0 and it seem don`t work
Click to expand...
Click to collapse
Edit 3- Sound mod is working so far.
For the audio mod, I'm able to decrease/increase the global volume through the following edit in mixer_paths_wcd9326.xml:
Handset volume is increased by adding the following line to <path name="handset">:
Code:
<ctl name="RX0 Digital Volume" value="93" />
It should look like this inside the XML:
Code:
<path name="handset">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="93" />
</path>
I've tried so many things trying to increase headphone volumes to no avail. I will try further.
Maybe someone can help us with the Navbar issue.
Click to expand...
Click to collapse

Related

[Q] How can I change camera values in AOSP?

As in title - question is simple: How can I change camera values in AOSP? I will add, that I tried to change content of the file media_profiles.xml, replaced it in the right place and... then the camera crashed.
What am I doing wrong, if I only change this:
Code:
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
to this
Code:
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
?
Or maybe I just need to install any additional application that support camera?
I almost forgot - I use this ROM.
help
can any one to know how to port aosp rom to any device?

[guide][s4 style settings/tabbed settings] for jb 4.1.2 touchwiz

guide tabbed settings/s4 style setting for jb 4.1.2 touchwiz
Click to expand...
Click to collapse
hy all, i want to share how to modded your jb 4.1.2 touchwiz settings to be s4 style :d
initially, i just compare from @dikulbahrian mod, but other member want to create their own modding
so, i provided little guide here, and big thanks to sir @Adi Aisiteru Reborn, @BigSplit who inspired me too
if any credits forgotten, please remind me :highfive:
Click to expand...
Click to collapse
ok let's continue to guide​
STEP-1
Decompile your SecSettings.apk
go to res/values/ids.xml and add blue line at the end
Code:
[COLOR="Blue"]<item type="id" name="ikon">false</item>
<item type="id" name="judul">false</item>[/COLOR]
</resources>
go to res/values/strings.xml and add blue line at the end
Code:
[COLOR="Blue"]<string name="ipul_tab1">My device</string>
<string name="ipul_tab2">Connections</string>
<string name="ipul_tab3">Accounts</string>
<string name="ipul_tab4">More</string>[/COLOR]
</resources>
go to res/values/styles.xml and add blue line at the end
Code:
[COLOR="Blue"]<style name="senjakala" parent="@*android:style/Theme.DeviceDefault">
<item name="android:windowNoTitle">true</item>
</style>[/COLOR]
</resources>
go to AndroidManifest.xml
find line like this :
Code:
<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Delete All line, and replace with this :
Code:
<activity android:theme="@style/senjakala" android:name="com.cyan.tabbed.TabActivity" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="PersonalSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="DeviceSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="AppSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="CyanSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Next download resources i provided here
merge to your SecSettings and confirm replace
Recompile your SecSettings and Sign it!! don't forget to sign because we edit AndroidManifest.xml
Go to STEP-2
STEP-2
Decompile again your SecSettings.apk
Download my public.xml here leave open for compare id public from your's
Open your public.xml
Go to smali\com\cyan\tabbed\TabActivity.smali
Find All public id with with code prefix 0x7fxxxxxx
for example, in the TabActivity.smali you will find 0x7f040139
copy these code and search in public.xml that I'm provided
you will find in public.xml like this
Code:
<public type="layout" name="ipul_indikator" id="0x7f040139" />
then copy <public type="layout" name="ipul_indikator" find in your public.xml
so you will find like this
Code:
<public type="layout" name="ipul_indikator" id="0x7fxxxxxx" />
copy your id 0x7fxxxxxx to replace 0x7f040139 in TabActivity.smali
Do for All, you will find 12 id like that
For same method, go to smali\com\android\settings\
Do All for this smali's :
AppSettings.smali
AppSettings$HeaderAdapter.smali
CyanSettings.smali
CyanSettings$HeaderAdapter.smali
DeviceSettings.smali
DeviceSettings$HeaderAdapter.smali
PersonalSettings.smali
PersonalSettings$HeaderAdapter.smali
Settings.smali
Settings$HeaderAdapter.smali
Click to expand...
Click to collapse
Recompile Your SecSettings, sign it!
push to your system, it should work with 4 blank tabs, if FC, check again your bublic
Don't follow next step until you have Work your Settings!
STEP-3
we will fill all the tabs, follow these steps correctly!!!!, or you will get forceclose!!!
go to res\xml
open ipul_account.xml, ipul_connect.xml, ipul_device.xml, ipul_more.xml.
Change from :
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android" />
to like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
</preference-headers>
open your settings_header.xml in res\xml\ and leave ipul_account.xml, ipul_connect.xml, ipul_device.xml, ipul_more.xml open too
Copy some code from your settings_header.xml to ipul_account.xml, ipul_connect.xml, ipul_device.xml, ipul_more.xml
Not All, because not all code is available in your ROM, if you do for all it will forceclosed!!!!
For Compare, I manage like this :
This is my settings_header.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:id="@id/home_settings_category" android:title="@string/home_settings_category" />
<header android:icon="@drawable/APKTOOL_DUMMY_0150" android:id="@id/home_settings" android:title="@string/home_settings_header" android:fragment="com.android.settings.HomeSettings" />
<header android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/APKTOOL_DUMMY_013c" android:id="@id/airplane_mode" android:title="@string/airplane_mode" android:fragment="com.android.settings.AirplaneModeSettings" />
<header android:icon="@drawable/ic_settings_wireless" android:id="@id/wifi_settings" android:title="@string/wifi_settings_title" android:fragment="com.android.settings.wifi.WifiSettings" />
<header android:icon="@drawable/ic_mobilehotspot" android:id="@id/wifi_ap_settings" android:title="@string/wifi_tether_checkbox_text" android:fragment="com.android.settings.wifi.mobileap.WifiApSettings" />
<header android:icon="@drawable/ic_settings_sprint_hotspot" android:id="@id/wifi_sprinthotspot_settings" android:title="@string/wifi_tether_checkbox_text" android:fragment="com.android.settings.wifi.mobileap.WifiApSettings" />
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:icon="@drawable/ic_settings_roaming" android:id="@id/global_roaming_settings" android:title="@string/lgt_service_global_auto_roaming" android:fragment="com.android.settings.GlobalRoamingSettings" />
<header android:id="@id/operator_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.OPERATOR_APPLICATION_SETTING" />
</header>
<header android:icon="@drawable/ic_settings_more" android:id="@id/wireless_settings" android:title="@string/more_settings" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:icon="@drawable/ic_settings_nearby_device" android:id="@id/header_nearby_settings" android:title="@string/allshare_nearby" android:fragment="com.android.settings.nearby.NearbySettings" android:breadCrumbTitle="@string/allshare_nearby" />
<header android:title="@string/header_category_device" />
<header android:icon="@drawable/ic_settings_easy_mode" android:id="@id/easy_mode_settings" android:title="@string/mode_change_title" android:fragment="com.android.settings.EasyModeSettings" />
<header android:icon="@drawable/ic_settings_dormant_mode" android:id="@id/dormant_mode" android:title="@string/dormant_mode" android:fragment="com.android.settings.dormantmode.DormantmodeSettings" />
<header android:icon="@drawable/ic_settings_sim_card_manager" android:id="@id/simcard_management" android:title="@string/sim_card_management_ds">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.NetworkManagement" />
</header>
<header android:icon="@drawable/ic_settings_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_display" android:id="@id/display_settings" android:title="@string/display_settings" android:fragment="com.android.settings.DisplaySettings" />
<header android:icon="@drawable/ic_settings_block" android:id="@id/block_settings" android:title="@string/block_settings_title" android:fragment="com.android.settings.BlockSettings" />
<header android:icon="@drawable/APKTOOL_DUMMY_0153" android:id="@id/customizable_key" android:title="@string/customizable_key_title" android:fragment="com.android.settings.customizablekey.CustomizableKeySettings" />
<header android:icon="@drawable/ic_settings_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<header android:icon="@drawable/ic_settings_powersaving" android:id="@id/power_saving_mode" android:title="@string/power_saving_mode_title" android:fragment="com.android.settings.powersavingmode.MenuPowerSavingModeSettings" />
<header android:icon="@drawable/ic_settings_power" android:id="@id/power_settings" android:title="@string/power_title" android:fragment="com.android.settings.PowerSettings" />
<header android:icon="@drawable/ic_settings_battery" android:id="@id/battery_settings" android:title="@string/power_usage_summary_title" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:id="@id/manufacturer_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
</header>
<header android:title="@string/header_category_personal" />
<header android:icon="@drawable/APKTOOL_DUMMY_014b" android:id="@id/docomoservice_settings" android:title="@string/docomoservice_settings">
<intent android:targetPackage="com.nttdocomo.android.docomoset" android:action="android.intent.action.MAIN" android:targetClass="com.nttdocomo.android.docomoset.DocomoServiceSetting" />
</header>
<header android:icon="@drawable/ic_settings_sync" android:id="@id/user_settings" android:title="@string/user_settings_title" android:fragment="com.android.settings.users.UserSettings" />
<header android:icon="@drawable/ic_settings_location" android:id="@id/location_settings" android:title="@string/location_settings_title" android:fragment="com.android.settings.LocationSettings" />
<header android:icon="@drawable/ic_settings_lockscreen_menu" android:id="@id/lock_screen_menu_settings" android:title="@string/lockscreen_wallpaper" android:fragment="com.android.settings.LockscreenMenuSettings" />
<header android:icon="@drawable/ic_settings_security" android:id="@id/security_settings" android:title="@string/security_settings_title" android:fragment="com.android.settings.SecuritySettings" />
<header android:icon="@drawable/ic_settings_customizedkey" android:id="@id/customizedkey_settings" android:title="@string/customizedkey_settings_title">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.customizedkey.CustomizedKeySettings" />
</header>
<header android:icon="@drawable/APKTOOL_DUMMY_015a" android:id="@id/onehand_settings" android:title="@string/onehand_settings_title" android:fragment="com.android.settings.OneHandSettings" />
<header android:icon="@drawable/ic_settings_language" android:id="@id/language_settings" android:title="@string/language_settings" android:fragment="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
<header android:icon="@drawable/ic_settings_cloud" android:id="@id/scloud_settings" android:title="@string/scloud_settings" android:fragment="com.android.settings.cloud.CloudSettingsMainFragment" />
<header android:icon="@drawable/ic_settings_backup" android:id="@id/privacy_settings" android:title="@string/privacy_settings" android:fragment="com.android.settings.PrivacySettings" />
<header android:id="@id/account_settings" android:title="@string/account_settings" />
<header android:icon="@drawable/backup_assistant_icon" android:id="@id/bua_plus" android:title="@string/bua_plus_title">
<intent android:action="com.samsung.vmmhux.ACTION_VMMHUX_SETUPWIZARD" />
</header>
<header android:icon="@drawable/ic_menu_add" android:id="@id/account_add" android:title="@string/add_account_label">
<intent android:action="android.settings.ADD_ACCOUNT_SETTINGS" />
</header>
<header android:title="@string/header_category_system" />
<header android:icon="@drawable/ic_settings_motion" android:id="@id/motion_settings" android:title="@string/motion_title" android:fragment="com.android.settings.motion.MotionSettings" />
<header android:icon="@drawable/ic_settings_motion" android:id="@id/s_motion_settings" android:title="@string/s_motion_title" android:fragment="com.android.settings.motion2013.SMotionSettings" />
<header android:icon="@drawable/APKTOOL_DUMMY_014e" android:id="@id/finger_air_view_settings" android:title="@string/finger_air_view_title" android:fragment="com.android.settings.FingerAirViewSettings" />
<header android:icon="@drawable/APKTOOL_DUMMY_0162" android:id="@id/dualmode_settings" android:title="@string/sim_card_management">
<intent android:action="com.welgate.DualmodeSetting.DUALMODESETTING_START" />
</header>
<header android:icon="@drawable/APKTOOL_DUMMY_0162" android:id="@id/dualSlot_settings" android:title="@string/dual_standby_management">
<intent android:action="settings.SIM_CARD_NETWORK" />
</header>
<header android:icon="@drawable/ic_settings_pen" android:id="@id/pen_settings_menu" android:title="@string/pen_settings_title" android:fragment="com.android.settings.PenSettingsMenu" />
<header android:icon="@drawable/ic_settings_dock" android:id="@id/dock_settings" android:title="@string/accessory" android:fragment="com.android.settings.DockSettings" />
<header android:icon="@drawable/ic_settings_hdmi" android:id="@id/hdmi_settings" android:title="@string/hdmi" android:fragment="com.android.settings.DockSettings" />
<header android:icon="@drawable/ic_settings_usb_vzw" android:id="@id/usb_settings" android:title="@string/usb_settings_title" android:fragment="com.android.settings.deviceinfo.UsbSettings" />
<header android:icon="@drawable/ic_settings_date_time" android:id="@id/date_time_settings" android:title="@string/date_and_time_settings_title" android:fragment="com.android.settings.DateTimeSettings" />
<header android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.AccessibilitySettings" />
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings_orange" android:title="@string/development_settings_title_orange" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_activate_device" android:id="@id/activate_this_device" android:title="@string/activate_this_device" android:fragment="com.android.settings.ActivateThisDevice" />
<header android:icon="@drawable/ic_settings_system_update" android:id="@id/system_update" android:title="@string/system_update" android:fragment="com.android.settings.SprintUpdateSettings" />
<header android:icon="@drawable/ic_settings_about" android:id="@id/about_settings" android:title="@string/about_settings" android:fragment="com.android.settings.DeviceInfoSettings" />
</preference-headers>
I manage like this
ipul_account.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="Input and control" />
<header android:icon="@drawable/ic_settings_language" android:id="@id/language_settings" android:title="@string/language_settings" android:fragment="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
<header android:icon="@drawable/ic_settings_motion" android:id="@id/motion_settings" android:title="@string/motion_title" android:fragment="com.android.settings.motion.MotionSettings" />
<header android:id="@id/account_settings" android:title="My accounts" />
<header android:icon="@drawable/ic_menu_add" android:id="@id/account_add" android:title="@string/add_account_label">
<intent android:action="android.settings.ADD_ACCOUNT_SETTINGS" />
</header>
<header android:title="Backup options" />
<header android:icon="@drawable/ic_settings_backup" android:id="@id/privacy_settings" android:title="@string/privacy_settings" android:fragment="com.android.settings.PrivacySettings" />
</preference-headers>
ipul_connect.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/ic_settings_wireless" android:id="@id/wifi_settings" android:title="@string/wifi_settings_title" android:summary="@string/tap_to_configure" android:fragment="com.android.settings.wifi.WifiSettings" />
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:summary="@string/tap_to_configure" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:icon="@drawable/ic_settings_more" android:id="@id/wireless_settings" android:title="@string/more_settings" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:icon="@drawable/ic_settings_location" android:id="@id/location_settings" android:title="@string/location_settings_title" android:fragment="com.android.settings.LocationSettings" />
</preference-headers>
ipul_device.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="Personal" />
<header android:icon="@drawable/ic_settings_lockscreen_menu" android:id="@id/lock_screen_menu_settings" android:title="@string/lockscreen_wallpaper" android:fragment="com.android.settings.LockscreenMenuSettings" />
<header android:icon="@drawable/ic_settings_display" android:id="@id/display_settings" android:title="@string/display_settings" android:fragment="com.android.settings.DisplaySettings" />
<header android:icon="@drawable/ic_settings_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_easy_mode" android:id="@id/easy_mode_settings" android:title="@string/mode_change_title" android:fragment="com.android.settings.EasyModeSettings" />
<header android:icon="@drawable/ic_settings_dormant_mode" android:id="@id/dormant_mode" android:title="@string/dormant_mode" android:fragment="com.android.settings.dormantmode.DormantmodeSettings" />
<header android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.AccessibilitySettings" />
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:icon="@drawable/ic_settings_security" android:id="@id/security_settings" android:title="@string/security_settings_title" android:fragment="com.android.settings.SecuritySettings" />
</preference-headers>
ipul_more.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="System manager" />
<header android:icon="@drawable/ic_settings_battery" android:id="@id/battery_settings" android:title="@string/power_usage_summary_title" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />
<header android:icon="@drawable/ic_settings_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<header android:icon="@drawable/ic_settings_date_time" android:id="@id/date_time_settings" android:title="@string/date_and_time_settings_title" android:fragment="com.android.settings.DateTimeSettings" />
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_about" android:id="@id/about_settings" android:title="@string/about_settings" android:fragment="com.android.settings.DeviceInfoSettings" />
</preference-headers>
Reserved
Pertamax sir...
bamzzz said:
Pertamax sir...
Click to expand...
Click to collapse
:laugh: Thank you sir :highfive:
I'm stuck at Step 2. For some reason, after compiling and signing SecSettings.apk, it doesn't work on my phone. I get a Parsing error and the apk doesn't work. I will re-do it again and see if that solves my problem but just for my reference, is this the exact way you did it and is there any chances incompatible smali files that could have caused this issue I'm having?
Thanks in advance.
Sami Kabir said:
I'm stuck at Step 2. For some reason, after compiling and signing SecSettings.apk, it doesn't work on my phone. I get a Parsing error and the apk doesn't work. I will re-do it again and see if that solves my problem but just for my reference, is this the exact way you did it and is there any chances incompatible smali files that could have caused this issue I'm having?
Thanks in advance.
Click to expand...
Click to collapse
Something is forgotten on my guide sir,,, please Check com/android/settings/
if your phone have Settings$1.smali, Settings$2.smali and Settings$3smali, I will attach file Settings$3.smali, AppSettings$3.smali, CyanSettings$3.smali, DeviceSettings$3.smali, PersonalSettings$3.smali
And STEP-2 is ticky part to match public id's
I have tested on two device with Stock JB 4.1.2, Galasy Young GT-S6310 and Galaxy S3 Mini, it's work perfecly,,
But there is a difference in two device, for Galaxy Young there are Settings$1.smali, Settings$2.smali and Settings$3.smali
but Galaxy S3 Mini just have Settings.$1.smali and Settings$2.smali
Sorry bad English
Press thanks if help :angel:
Click to expand...
Click to collapse
syaeful said:
Something is forgotten on my guide sir,,, please Check com/android/settings/
if your phone have Settings$1.smali, Settings$2.smali and Settings$3smali, I will attach file Settings$3.smali, AppSettings$3.smali, CyanSettings$3.smali, DeviceSettings$3.smali, PersonalSettings$3.smali
And STEP-2 is ticky part to match public id's
Click to expand...
Click to collapse
syaeful said:
I have tested on two device with Stock JB 4.1.2, Galasy Young GT-S6310 and Galaxy S3 Mini, it's work perfecly,,
But there is a difference in two device, for Galaxy Young there are Settings$1.smali, Settings$2.smali and Settings$3.smali
but Galaxy S3 Mini just have Settings.$1.smali and Settings$2.smali
Click to expand...
Click to collapse
Hmm yes, I do have Settings$3.smali too. I know Step 2 is a little tricky. I have spent a lot of time and I carefully replaced all the IDs from my public.xml, so I don't think that's the problem. But yes, I will re-do this from the beginning again, very soon
Sami Kabir said:
Hmm yes, I do have Settings$3.smali too. I know Step 2 is a little tricky. I have spent a lot of time and I carefully replaced all the IDs from my public.xml, so I don't think that's the problem. But yes, I will re-do this from the beginning again, very soon
Click to expand...
Click to collapse
good luck sir
I might just be able to help a little bit, because I am still a beginner smali knowledge
Maybe tommorow I will share too, how to make MIUI Settings, many people confused follow guide from sir Adi Aisiteru, because base guide from CM. I manage to work on touchwiz. It's more easy. like this
syaeful said:
Something is forgotten on my guide sir,,, please Check com/android/settings/
if your phone have Settings$1.smali, Settings$2.smali and Settings$3smali, I will attach file Settings$3.smali, AppSettings$3.smali, CyanSettings$3.smali, DeviceSettings$3.smali, PersonalSettings$3.smali
Click to expand...
Click to collapse
Hello. When will you share those smali files? And are you planning on making a similar guide for MIUI style tabbed Settings too?
Sami Kabir said:
Hello. When will you share those smali files? And are you planning on making a similar guide for MIUI style tabbed Settings too?
Click to expand...
Click to collapse
Sorry for slow respon sir... I was busy working out. this is Settings$3.smali sir : Settings$3.smali
and for MIUI Style can found here sir : http://forum.xda-developers.com/gal...ting-jb-4-1-2-touchwiz-t2908858#post56088490;)
can anybody make it a flashable zip??
BrokenNecklace said:
can anybody make it a flashable zip??
Click to expand...
Click to collapse
for S3 Mini?
You can get it from here: http://forum.xda-developers.com/galaxy-s3-mini/themes-apps/mod-t2882766 (but its not flashable)
@syaeful Wow
I would never have believed it was possible to portage double pannel shortcuts tiles included after 4.1.2, and then I say bravo!
Rom said:
@syaeful Wow
I would never have believed it was possible to portage double pannel shortcuts tiles included after 4.1.2, and then I say bravo!
Click to expand...
Click to collapse
yess.. thank you bro :highfive:
maybe you can test too this guide
syaeful said:
yess.. thank you bro :highfive:
maybe you can test too this guide
Click to expand...
Click to collapse
This menu does not interest me, otherwise I would have already put the screenshoots this morning at least :good:
Rom said:
This menu does not interest me, otherwise I would have already put the screenshoots this morning at least :good:
Click to expand...
Click to collapse
Sure?
Thanks I hope that others will try it, so I can know if this works for other devices with the basic 4.1.2
Help Needed
I quite didnt understand the 2nd step clearly..can anyone help me,... it was mentioned to replace the f****** code in tab activity with the one in public.xml it of ipul_indikator... and we have to do the same for 12 such ids ... so do we have to paste the id of ipul_indikator in the entire f***** in tabactivity.smali ??
plz help... thanx

[Q] any way to increase speaker volume(rooted)

as title says,does anyone know what line we can edit in mixerpaths.xml file to get louder speaker volume?
Here i have made a tutorial video... https://youtu.be/2MPrIn8Xtjk
singhkamal said:
Here i have made a tutorial video... https://youtu.be/2MPrIn8Xtjk
Click to expand...
Click to collapse
Thanks! I definitly noticed it on my headphones, but not so much on the speakers? How much higher can it go? Also, will it make bluetooth things louder?
It should also make bluetooth voice louder
Thanks to you.
Try Viper4Android FX if you have root.
https://forum.xda-developers.com/showthread.php?t=2191223
1. Install the app.
2. Allow root access.
3. Allow the driver update/install when prompted.
4. Under the "Phone Speaker" section, switch on "extra loud".
5. Adjust the settings to suit your own preference.
It works for me to increase the speaker volume, as my phone's volume is too soft even at full volume last time.
Hope it works for you
increasing in-call volume?
Hello friends,
I wanna know how to boost the volume while speking with someone on the phone. (samsung j700F rooted stock custom MM)
Which parts should I edit on folders for example mixer.paths.xml
By the way I successfully boosted speaker and headset volume as they are shown below.
I try to boost in-call / handset/ call volume , however you call it
In order to increase speaker Volume change "3" with "5 or 6 "
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Speaker Volume" value="3" />
</path>
In order to increase headset Volume change "36" with "38 or 39 "
<path name="gain-media-headset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Headphone Volume" value="36" />
</path>
komikaze said:
Hello friends,
I wanna know how to boost the volume while speking with someone on the phone. (samsung j700F rooted stock custom MM)
Which parts should I edit on folders for example mixer.paths.xml
By the way I successfully boosted speaker and headset volume as they are shown below.
I try to boost in-call / handset/ call volume , however you call it
In order to increase speaker Volume change "3" with "5 or 6 "
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Speaker Volume" value="3" />
</path>
In order to increase headset Volume change "36" with "38 or 39 "
<path name="gain-media-headset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Headphone Volume" value="36" />
</path>
Click to expand...
Click to collapse
mixer.paths.xml does not exist in the huawei p10 lite as i can do???????
broky said:
as title says,does anyone know what line we can edit in mixerpaths.xml file to get louder speaker volume?
Click to expand...
Click to collapse
See if my solution can help you:
https://forum.xda-developers.com/showpost.php?p=82526989&postcount=3
user0701 said:
See if my solution can help you:
https://forum.xda-developers.com/showpost.php?p=82526989&postcount=3
Click to expand...
Click to collapse
Thanks m8 but I don t have my A5 anymore:good:
Hi everyone I am new here I want to root my Samsung galaxy A5 2017 ,I have some doubts regarding rooting phone.my question is ,is it necessary to flash Rmm State Bypass and no verity opt encrypt 6.0 after installing TWRP ?or can I directly flash magisk manager by skipping those two zip files? Because I watched so many videos on YouTube as they didn't flashed those two zip files so I am not sure to flash or not.
I'm currently on Oreo version,country India,Android security patch level is 1 Feb 2020.your answer will be appreciable
Thanks

No sound | LineageOS for MicroG 16.0 | Samsung A7 (2017) SM-A720F

My phone doesn't have any sound from: Loudspeaker and jack (Bluetooth is ok). When i was using Stock ROM everything was fine.
Here are the contents of the files inside /system/vendor/etc/
mixer_gains.xml
https://pastebin.com/dy43st09
mixer_paths.xml
https://pastebin.com/1Z4Z59xq
mixer_paths_0.xml
https://pastebin.com/tms1bNnZ
Hey guys any help, pelase? I'm still struggling with that. I've tried to change the values in these files, but nothing changed.
My Bluetooth headphone and the voice at calls are ok. But the: ringtone, headphone connect to jack and speakers don't sound.
I solved the problem by myself. I flashed the crDroid 6.x for the Galaxy A5/A7 2017 (https://forum.xda-developers.com/sa...nt/unofficial-crdroid-6-x-a5-a7-2017-t4054989) and the sounds were all ok, so i backuped mixer_paths.xml , re-flashed the LOS, and replaced the mixer_paths.xml from crDroid.
Here is the contents of the mixer_paths.xml from crDroid:
https://pastebin.com/sk48DqVy
The diff -c between mixer_paths.xml from LOS and crDroid:
Code:
*** mixer_paths(LineageOS_sound_problem).xml 2020-05-09 21:51:52.651774000 -0300
--- mixer_paths(Crdroid_sound_ok).xml 2020-05-09 21:39:06.471758000 -0300
***************
*** 1,6 ****
<mixer>
<!-- In this model, directly connect AP to external DAC & AMP for speaker path, not use codec DAC & AMP -->
! <include name="/system/etc/mixer_gains.xml" />
<pcmdai playback_link="7" />
<pcmdai playback_jam_link="8" />
--- 1,6 ----
<mixer>
<!-- In this model, directly connect AP to external DAC & AMP for speaker path, not use codec DAC & AMP -->
! <include name="/system/vendor/etc/mixer_gains.xml" />
<pcmdai playback_link="7" />
<pcmdai playback_jam_link="8" />
***************
*** 1036,1043 ****
<!-- WifiCall input -->
<path name="wificall_wb-handset-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_wb-speaker-mic">
--- 1036,1042 ----
<!-- WifiCall input -->
<path name="wificall_wb-handset-mic">
! <path name="media-mic" />
</path>
<path name="wificall_wb-speaker-mic">
***************
*** 1050,1057 ****
</path>
<path name="wificall_wb-headphone-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_wb-bt-sco-headset-in">
--- 1049,1055 ----
</path>
<path name="wificall_wb-headphone-mic">
! <path name="media-mic" />
</path>
<path name="wificall_wb-bt-sco-headset-in">
***************
*** 1059,1066 ****
</path>
<path name="wificall_nb-handset-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_nb-speaker-mic">
--- 1057,1063 ----
</path>
<path name="wificall_nb-handset-mic">
! <path name="media-mic" />
</path>
<path name="wificall_nb-speaker-mic">
***************
*** 1073,1080 ****
</path>
<path name="wificall_nb-headphone-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_nb-bt-sco-headset-in">
--- 1070,1076 ----
</path>
<path name="wificall_nb-headphone-mic">
! <path name="media-mic" />
</path>
<path name="wificall_nb-bt-sco-headset-in">
***************
*** 1182,1188 ****
<path name="incall_nb-headphone-mic">
<path name="route-cp" />
! <path name="dev-dual-mic" />
</path>
<path name="incall_nb-bt-sco-headset-in">
--- 1178,1184 ----
<path name="incall_nb-headphone-mic">
<path name="route-cp" />
! <path name="dev-main-mic" />
</path>
<path name="incall_nb-bt-sco-headset-in">
I didn't need to change anything in mixer_gains.xml and mixer_paths_0.xml.

[MOD] DualSpeaker SoundMod - Tutorial

Hi!
I let you here a litle tutorial how to activate earpieace as a second speaker.
Don´t hope you gonna get any super sound system... Is a very tiny speaker!
Try it at your one risk, ok?
Let´s start!
Suposing that you already now how this all works!
Pull from Vendor/etc the file mixer_paths_tashalite.xml.
Add this line under speaker lines:
Code:
<path name="earpieace">
<ctl name="COMP7 Switch" value="1" />
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="two" />
<ctl name="RX INT7_1 MIX1 INP0" value="RX0" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="86" />
</path>
Save the file.
Now with root or in TWRP.
Copy the file to ext sd card.
Got to vendor/etc and rename de stock file as mixer_paths_tashalite.xml.bk
Copy the mod file to vendor/etc and chmod to 644 (in TWRP is easy, just select the file and you will see chmod option).
Reboot!
I must thanks to @Dante63 for his tutorial, it help me in the right way.
Check it if you noticed any change, i had to try a few times because earpiece have a low power sound, i try to rise Digital Volume above but it cut off.
See you around!
I have to try it!
"earpieace" ?
I don't understand where to add this lines. Please share the modified xml!
kennethstarr said:
I have to try it!
"earpieace" ?
I don't understand where to add this lines. Please share the modified xml!
Click to expand...
Click to collapse
Rename the stock file by adding at end .bk.
Place this one in system /etc.
Thanks! It works.
Salam Aleykum.
How to unenable this mode?
Is it possible?
Thanks! It works on my Redmi Note 7 with eu rom 12.5 rom using stormbreaker kernel.
Redskitter said:
Thanks! It works on my Redmi Note 7 with eu rom 12.5 rom using stormbreaker kernel.
Click to expand...
Click to collapse
Hello , where should i put the lines?

Categories

Resources