[FIX] Speaker playback distortion solution (CM11/AOSP 4.4 only) - G2 Android Development

Hi! this fix is for AOSP/CM android 4.4.2 roms only (root required)
It fixes speaker distortion occurring on loud playback. What it does it applies high pass filter on the lower frequencies that a speaker so small cant really playback anyway. Enough lower frequencies still come through so playback sound is good.
edit /system/etc/mixer-paths.xml
scroll / search for the "speaker" path
add this before the closing line of the speaker path:
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
same can be applied to "voice-speaker". it will give a slightly better speakerphone quality.
its gonna look like this:
Code:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="67" />
<ctl name="SPK DRV Volume" value="6" />
<ctl name="SPK DAC Switch" value="1" />
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
</path>
reboot to recovery, clear cache&dalvik, reboot system.
i've included a flashable zips with a moded mixer paths file taken from CM11. it can be flashed on any CM11/AOSP/AOKP rom. although backup of the original file is recomended as the devs could apply their own tweaks or changes to this file.
so sometimes its better to edit it manualy.
initial-just HPF applied to speaker
v1.1 - has the seam HPF tweak applied to speakerphone + set vol 70 to speakerhpone
v.1.1.louder- well guess. (speaker 70, speakerphone72)
i dont recommend using the louder or even values beyond that.. as it may damage your speaker

i am on rom cloudyflex 1.3 and there is no such file.
however, what exactly does that command?

noris08 said:
i am on rom cloudyflex 1.3 and there is no such file.
however, what exactly does that command?
Click to expand...
Click to collapse
oh yeah.. forgot about LG roms.. this is AOSP/CM only.
it just cuts off the low frequencies which such a small speaker has most trouble playing.

It works great!

thanks man, I suggest to submit this fix to cyanogenmod repository so it can be included into the official rom
in the meantime, is it possible to have this fix in a flashable zip from recovery? it would be very handy when you flash new builds (so you don't have to manually edit the file each time)

provolinoo said:
thanks man, I suggest to submit this fix to cyanogenmod repository so it can be included into the official rom
in the meantime, is it possible to have this fix in a flashable zip from recovery? it would be very handy when you flash new builds (so you don't have to manually edit the file each time)
Click to expand...
Click to collapse
I'll look into it...meanwhile you can just save the file and copy it over, or replace the one in zip. Will have to check sometimes though if the file gets changed in any way by cm.
Sent from my LG-D802 using Tapatalk

darkobas said:
I'll look into it...meanwhile you can just save the file and copy it over, or replace the one in zip. Will have to check sometimes though if the file gets changed in any way by cm.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
thanks a lot
btw, editing the same file, line
<ctl name="RX7 Digital Volume" value="88" />
could be useful to increase maximum volume
so we could create a fix for distorsion+volume

noris08 said:
i am on rom cloudyflex 1.3 and there is no such file.
however, what exactly does that command?
Click to expand...
Click to collapse
for cloudyflex you want to go to system/etc/snd_soc_msm and open the file called snd_soc_msm_Taiko.

freebee269 said:
for cloudyflex you want to go to system/etc/snd_soc_msm and open the file called snd_soc_msm_Taiko.
Click to expand...
Click to collapse
i have 3 files named:
- snd_soc_msm_Taiko
- snd_soc_msm_Taiko_revA
- snd_soc_msm_Taiko_revB
1. i have to edit just the first one, right?
2. all i have to do is to add the same line like in the first post?
3. where do i add it?
thank you!

noris08 said:
i have 3 files named:
- snd_soc_msm_Taiko
- snd_soc_msm_Taiko_revA
- snd_soc_msm_Taiko_revB
1. i have to edit just the first one, right?
2. all i have to do is to add the same line like in the first post?
3. where do i add it?
thank you!
Click to expand...
Click to collapse
yes it's the first file that doesnt have _rev after it. you put it in the same spot as the OP mentioned.

freebee269 said:
for cloudyflex you want to go to system/etc/snd_soc_msm and open the file called snd_soc_msm_Taiko.
Click to expand...
Click to collapse
I was unaware flex roms had this problem too. So is this confirmed working? Can i add in op or was this fix for flex already listed somewhere?
Sent from my LG-D802 using Tapatalk

darkobas said:
I was unaware flex roms had this problem too. So is this confirmed working? Can i add in op or was this fix for flex already listed somewhere?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
i dont have a distortion problem on my cloudyflex. i was just helping out the person that wanted to try this.

freebee269 said:
yes it's the first file that doesnt have _rev after it. you put it in the same spot as the OP mentioned.
Click to expand...
Click to collapse
the file is way to complicated for me. i have no ideea where to add that line, i am totaly lost
if there isn't too much trouble, can you post a screen shot with the exact position where that line should be added?:angel:
thank you very much!

noris08 said:
the file is way to complicated for me. i have no ideea where to add that line, i am totaly lost
if there isn't too much trouble, can you post a screen shot with the exact position where that line should be added?:angel:
thank you very much!
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-D802 using Tapatalk

this is strange
my snd_soc_msm_Taiko file doesn't look like yours,
i have no <path name=....>. nowhere!

noris08 said:
this is strange
my snd_soc_msm_Taiko file doesn't look like yours,
i have no <path name=....>. nowhere!
Click to expand...
Click to collapse
Are you sure you have distortion? I have not heard of this on 4.2.2 lg roms.
My fix is not tested on taiko as I don't use it.
But it probably already looks something like this.
Sent from my LG-D802 using Tapatalk

Finally I'm no more ashamed when my speaker plays a song on full volume. Really sounds better. At least less distortion. Thank you very much!

darkobas said:
Are you sure you have distortion? I have not heard of this on 4.2.2 lg roms.
My fix is not tested on taiko as I don't use it.
But it probably already looks something like this.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
that is exactly how my file looks
maybe i understand this wrong
i have a slight distorsion during calls, for some voice speaking frequencies and i thought this is a solution for that (i was thinking to replace my headset speaker)
if this is not the case, then please disregard all my previous posts

noris08 said:
that is exactly how my file looks
maybe i understand this wrong
i have a slight distorsion during calls, for some voice speaking frequencies and i thought this is a solution for that (i was thinking to replace my headset speaker)
if this is not the case, then please disregard all my previous posts
Click to expand...
Click to collapse
Nope sorry.

darkobas said:
Hi! this mod is for AOSP/CM roms only
anyone with distorted speaker on high volume can try this: (root only)
edit /system/etc/mixer-paths.xml
scroll / search for the "speaker" path
add this before the closing line of the speaker path:
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
reboot to recovery, clear cache&dalvik, reboot system.
Click to expand...
Click to collapse
very nice, under review for NamelessROM right now , hit me back a PM with your email so I can give you proper credit for this :good:

Related

[MOD] ICS Style Settings for GB. ~ALPHA!

Hey guys, this morning I was in modding mood and I started making this mod to Settings.apk.
Here are the screenshots of the Alpha version, the final one will look just like ICS.
Thanks to balamu96m for THIS GUIDE!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This looks similar to the one done by doles. Great work~
Great Look ... but I try to apply the ICS Style Setting By doles in ROM XXLM6, It Work fine.
but unfortunately can not be Set Face Unlock/Recognition .. Maybe because of the ROM based JPLC1. Can you make it from the Default Settings.apk XXLM6?
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
doles said:
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
Click to expand...
Click to collapse
I'm trying to make it with the toggles too, but it's kinda hard since I don't know anything about code so I'm kinda going randomly :
I actually managed to add the toggles, but they don't do anything >.<
Code:
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
What do I need to add to make the toggle actually toggle Wifi?
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
That is the code in Wifi_Settings, and in that tab the toggle works, of course.
fender90 said:
I'm trying to make it with the toggles too, but it's kinda hard since I don't know anything about code so I'm kinda going randomly :
I actually managed to add the toggles, but they don't do anything >.<
Code:
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/settings_ics_radio" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
What do I need to add to make the toggle actually toggle Wifi?
Code:
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_quick_toggle_title" android:key="enable_wifi" android:summary="@string/wifi_quick_toggle_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/wifi_notify_open_networks" android:key="notify_open_networks" android:summary="@string/wifi_notify_open_networks_summary" android:dependency="enable_wifi" />
<com.android.settings.ProgressCategory android:persistent="false" android:title="@string/wifi_access_points" android:key="access_points" android:dependency="enable_wifi" />
<Preference android:persistent="false" android:title="@string/wifi_add_network" android:key="add_network" android:dependency="enable_wifi" />
</PreferenceScreen>
That is the code in Wifi_Settings, and in that tab the toggle works, of course.
Click to expand...
Click to collapse
i thing we must find the activity first
doles said:
i thing we must find the activity first
Click to expand...
Click to collapse
Must be around here.
doles said:
I already make that thing on Blacknote Hybird 2nd gen plus little theme modification with ICS trasision effect, etc
if some one interested just PM me.
i cant post on dev thread coz iam undur 10 post lol
Click to expand...
Click to collapse
Yup. But Rio have taken down the ICS layout as it doesn't show the Face unlock function. Maybe u can amend it with adding in the option of face unlock.
yewsiong said:
Yup. But Rio have taken down the ICS layout as it doesn't show the Face unlock function. Maybe u can amend it with adding in the option of face unlock.
Click to expand...
Click to collapse
that true, coz JPLC1 doesnt have facial unlock.
and i already sent my modded theme and setting to rio
but how to download it?? i cant even see the download link.. sorry noob..
Umm.. Fender... is it... uhh..
Does the title area a bit. you know.. to small? Like the font is cut down there.. the 'p'
Maybe you want to search something to make it a bit bigger
Italian developer,good
Inviato dal mio GT540 con Tapatalk 2
deodexed odexed rom?
Download link please?
thanks

[MOD][CNA] Bottom Notification Power Widget [Updated 9/28]

I made this mod for CNA 3.6.0. It should work for CM10 and AOKP, but the changes may be somewhat different.
Updated September 28, 2012
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How To:
1. Decompile SystemUI.apk
2. Edit status_bar_expanded.xml, which is located in: \res\layout
2a. Move this line:
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:layout_gravity="bottom" android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" android:layout_marginTop="44.0dip" />
2b. Place it here and add: android:layout_gravity="bottom":
Code:
</FrameLayout>
[COLOR="Red"] <com.android.systemui.statusbar.powerwidget.PowerWidget [B]android:layout_gravity="bottom"[/B] android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" android:layout_marginTop="44.0dip" />[/COLOR]
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
2c. Change
Code:
android:layout_marginTop="44.0dip"
to
Code:
android:layout_marginBottom="32.0dip"
2d. Optionally add: android:background="#ff000000"
Code:
</FrameLayout>
<com.android.systemui.statusbar.powerwidget.PowerWidget android:layout_gravity="bottom" [COLOR="Red"][B]android:background="#ff000000"[/B][/COLOR] android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" android:layout_marginTop="44.0dip" />
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" [COLOR="Red"][B]android:background="#ff000000"[/COLOR][/B] android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
3. Edit dimens.xml, which is located in: \res\values
3a. Change "notification_panel_header_and_widget" from 96.0dip to 48.0dip.
4. Recompile
5. Copy your modified status_bar_expanded.xml and resources.arsc files into the ZipThemer file I have attached.
6. Make a flashable zip with ZipThemer and flash in recovery.
The attached ZipThemer file is good to go for CNA 3.6.0, so if you are already running this version just follow step 6.
For those running CNA 3.6.0: Here is a flashable zip. And an undo zip just in case.
Very nice, now what about the brightness toggle?
I'll check it out. I also want to move the settings button down, but these may be more tricky.
Love your work but any chance to get a zip file just to flash? Not very good at decompile/compile sort of things.
Thanks in advanced
tyraelasd said:
Love your work but any chance to get a zip file just to flash? Not very good at decompile/compile sort of things.
Thanks in advanced
Click to expand...
Click to collapse
Attaching one now
creeve4 said:
Attaching one now
Click to expand...
Click to collapse
it worked perfectly, many thanks.
tyraelasd said:
it worked perfectly, many thanks.
Click to expand...
Click to collapse
My pleasure! Glad you can enjoy it!
SICK
Thanks!!
I love you.
Sent from my Galaxy Nexus using xda app-developers app
UPDATED: I figured out how to get rid of the gap between app notifications and the clock!!!
OP. You opened my eyes. Once I saw this mod and applied it, I noticed a few things that would be really cool if they could be included. The mod itself is great, I love it. I wouldn't normally ask unless I could make it worth your while as I know you have a life outside XDA, but I'm not currently in a position to send any donations right now(broke-as-a-joke)... but I have quite a few requests, or ideas rather, for this mod. Like I said as sad as it is, I can't donate to you, but if you want and are willing I would gladly help you in any way I could. I'm not a developer in any means, but I do have a lot of experience messing with computers, etc. Electronics have always been my thing. PM me if you're interested in at least listening to my ideas and maybe making them a part of this mod. I wouldn't mind learning how to do a few thing on Android OS to help out. I just think if the notification drop down could be changed up just a bit more it would probably be one of the, if not, THE best MOD currently available for CNA.
Thanks again for the mod regardless.
RoyJ said:
OP. You opened my eyes. Once I saw this mod and applied it, I noticed a few things that would be really cool if they could be included. The mod itself is great, I love it. I wouldn't normally ask unless I could make it worth your while as I know you have a life outside XDA, but I'm not currently in a position to send any donations right now(broke-as-a-joke)... but I have quite a few requests, or ideas rather, for this mod. Like I said as sad as it is, I can't donate to you, but if you want and are willing I would gladly help you in any way I could. I'm not a developer in any means, but I do have a lot of experience messing with computers, etc. Electronics have always been my thing. PM me if you're interested in at least listening to my ideas and maybe making them a part of this mod. I wouldn't mind learning how to do a few thing on Android OS to help out. I just think if the notification drop down could be changed up just a bit more it would probably be one of the, if not, THE best MOD currently available for CNA.
Thanks again for the mod regardless.
Click to expand...
Click to collapse
I wouldn't call my self a developer, maybe a modder... Feel free to share your ideas, If it is within my ability (and time) I will see what I can do.
Well like I said, I would be more than glad to help. Currently reading up on how to compile flashable zips and a few other stickies that I figure could help me. So for example if I give you an idea, you could tell me that this or that would need to be done in order for it to happen and I could do it if you're too busy, etc. This phone is practically unbrickable and with nandroid backups I have no problem with a little (or a lot) of trial and error. I am just in the middle of downloading CNA again along with all the rest of the mods I use again. Factory stocked it, now going back. Once I get my phone set up and ready to flash I will start dumping my ideas in this thread.
Shouldn't be anything TOO complicated. Basically the same idea as the OG mod.
I came accross this site and this is for the Onex They both managed to bring the clock down and centered, however this only works for AOKP. Do you know how to bring the clock down by any chance?
Okay so here it goes...
The custom carrier label. It sort of gets in the way with the power widgets on the bottom. Is it possible to move it? Possibly to the gap in between the clock- that you found out how to remove? Maybe just make the gap a little smaller and place it in there near the top. I also use the notification toggles and this mod just moves the widget buttons. It just looks sort of weird with my notifications in between the widget buttons and the toggles. If the toggles could also be moved to the bottom that would be pretty cool. It would pretty much just be the opposite of stock CN(A). Everything at the bottom instead of the top...
I personally use Holo HD Launcher and I use a simple 'swipe down' on my home screen to open notifications. Most of the time I hold my phone in 1 hand and use my thumb to navigate through the menus. Sometimes depending on which toggle I need to press I will need to either reposition my hand or use my other hand (first world problems) to get it done. If everything was on the bottom, my thumb could reach it all. Quickly and easily. I also think it would be nice to have any notifications at the top right there for me to see.
Well that's all I can remember from yesterday. I think I had a few more ideas, but I can't remember for the life of me. Oh well. I'm sure I'll remember eventually. So...what do you think?
Just put in a space for the carrier label text, then it will be blank
F4M0U569 said:
I came accross this site and this is for the Onex They both managed to bring the clock down and centered, however this only works for AOKP. Do you know how to bring the clock down by any chance?
Click to expand...
Click to collapse
Looks like they give instructions to do it,should be pretty much the same for CNA
Well I did at first. Just a ghetto fix haha. I think it would be sick to have everything inverted from where it was and still be able to use a custom carrier label is all
Thanks! This is a great mod :good:
i just flashed the zip for cna and its working great, except that there is still a space between the notifications and the clock
anyway to fix this?
vincentistan said:
Thanks! This is a great mod :good:
i just flashed the zip for cna and its working great, except that there is still a space between the notifications and the clock
anyway to fix this?
Click to expand...
Click to collapse
Pull your Systemui.apk, decompile it and make sure the value mentioned in step 3 matches.

[1/3][EG04][Trailblazer101] Custom Ticker Settings + More

Alright guys, finally got around to releasing this! I have tested it immensely, and haven't noticed any real bugs...
New Features Included in this Package:
-Custom Settings for Ticker Within TSM Parts-
--Ticker Style (Add/Remove the Weather/History Icon)
--Date/Time Text Options (Change the Color for both)
--Custom Sleep Text (exactly that!)
--Set Custom Apps (Lets you pick what is in the Quick Launch Screen)
--Ticker Rotation (Enables/Disables it)
-Triple Tap the Weather Icon To Update The Icon (and the Weatherbug Widget)
-Integration with Google Voice (When you get a Google voice text message, it shows up in the ticker)
NOTE: I made a slight adjustment in the way the "Double Tap Grip Sensors" aspect of my mods works... Due to it accidentaly being activated when the phone was off and I was taking it out of my pocket, I made it so it will only work when the ticker is on... Whether that be just the ticker, or the phone itself, either works... Just FYI
PICS:
coming soon...
DOWNLOAD:
Flash this package on a deodexed EG04 ROM! I guess it doesn't have to be stock, but it might help!
[CWM]: http://www.mediafire.com/?61uguo8b8uwwrvo
Why even ask? Let's have it! We're always interested!
trailblazer101 said:
Alright, that package with the customization options for the ticker is finished, and has been for a while I was just working on optimizing the code for a little bit, which was fun... But, if anyone wants the package, i'll release it
Also, is anyone interested in integration with google voice? that's right: I got it just right so that when you get google voice messages, they will show up in the ticker! The icon will be the google voice icon, and clicking it will go to the google voice app
If you have the number in your contacts, it will show that person's name, also Of course, the text for the message will be shown, just like a normal text message I'm pretty proud of myself for this one, haha..
Click to expand...
Click to collapse
This is seems extremely interesting. Thanks for all the hard work on it!
Hmm... Yes!
Sent from my SCH-I400 using xda app-developers app
Please?!?
trailblazer101 said:
Alright, that package with the customization options for the ticker is finished, and has been for a while I was just working on optimizing the code for a little bit, which was fun... But, if anyone wants the package, i'll release it
Also, is anyone interested in integration with google voice? that's right: I got it just right so that when you get google voice messages, they will show up in the ticker! The icon will be the google voice icon, and clicking it will go to the google voice app
If you have the number in your contacts, it will show that person's name, also Of course, the text for the message will be shown, just like a normal text message I'm pretty proud of myself for this one, haha..
Click to expand...
Click to collapse
Heck yeah!
I'm actually setting up the Continuum right now for my daughter. Would love to have it. I was trying to download a new update.zip file because for some reason my phone shows Update.zip is GONE. Not sure why so I'm looking for drivers and software to bring back to stock.
Moved to General, while it is development related, it isn't a development thread because nothing has been posted. Look forward to your thread in development if you release it!
sytech55 said:
Heck yeah!
I'm actually setting up the Continuum right now for my daughter. Would love to have it. I was trying to download a new update.zip file because for some reason my phone shows Update.zip is GONE. Not sure why so I'm looking for drivers and software to bring back to stock.
Click to expand...
Click to collapse
Did you flash cwm via odin?
Sent from my SPH-M580BST using Xparent Green Tapatalk 2
ciscogee said:
Did you flash cwm via odin?
Sent from my SPH-M580BST using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Didn't flash cwm via odin. This was a stock phone that I had pulled out for daughter to use as wifi only. I did get the phone to actually boot up last night. Not sure how that happened, so I've got a factory installed rom running. Added her gmail information through wifi connection, but I can't update the android version from "2.1-update1". Just keeps showing connecting. Left if overnight and this morning, no change. Still "connecting". I believe this phone was one I just couldn't get to update no matter what when it was an active phone on my plan. Verizon store tech said some phones do that. I didn't worry since my wife was using it and she doesn't need a rooted phone. But now I'm wondering if I can push an update to it. Not sure what version the continuum is the latest. Is it android 2.3?
My goal here is to let my daughter use it to load some games from Play Store since she doesn't have a smartphone yet.
Hmm, if your only doing wifi then I would just flash the stock eg04 and go from there, its gb, both of my continuums are just wifi gamers for me and my son.
I'm hoping to return to dev'n but in the past 6 weeks I've moved twice and got married, school just started back and I miss y'all...
Sent from my SPH-M580BST using Xparent Green Tapatalk 2
Tried it and worked like a charm. thanks for this! also ciscogee congratulations on your marriage!
So, I managed to do this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's the MIUI battery, but down in the ticker... I personally like it! However, I would like to have it on the bottom of the ticker instead... I am having some difficulties doing such, though... If anyone wants to try and help out, here is the XML code for above:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/standbymode_default_vertical" android:background="@null" android:layout_width="480.0px" android:layout_height="96.0px"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/battery_indicator" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<View android:id="@id/battery_indicator_charging" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<RelativeLayout android:layout_gravity="top|left|center" android:id="@id/RelativeLayout01" android:layout_width="103.0px" android:layout_height="96.0px">
<ImageView android:layout_gravity="top" android:id="@id/WeatherIcon" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" />
<AnalogClock android:id="@id/analogClock1" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<ImageView android:id="@id/IconSel" android:background="@drawable/weather_press" android:visibility="gone" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" android:layout_marginBottom="8.0px" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:id="@id/LinearLayout02" android:layout_width="0.0dip" android:layout_height="96.0px" android:layout_weight="1.0">
<TextView android:textSize="@dimen/data.text.size" android:textStyle="bold" android:textColor="#ffffffff" android:layout_gravity="top|left|center" android:id="@id/TextView02" android:layout_width="wrap_content" android:layout_height="@dimen/data.layout.height" android:layout_marginTop="@dimen/data.layout.margin.top" android:layout_marginBottom="@dimen/data.layout.margin.bottom" />
<LinearLayout android:gravity="top" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="@dimen/time.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView03" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
<TextView android:textSize="@dimen/data.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView04" android:paddingLeft="5.0px" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
</LinearLayout>
</LinearLayout>
<RelativeLayout android:id="@id/RelativeLayout02" android:layout_width="68.0px" android:layout_height="wrap_content">
<ImageButton android:id="@id/HistoryButton" android:background="@null" android:focusable="true" android:layout_width="68.0px" android:layout_height="wrap_content" android:src="@drawable/tt_tickerhistory_buttonup" android:scaleType="fitXY" android:layout_alignParentRight="true" />
</RelativeLayout>
</LinearLayout>
Now this is what is added to existing mod in this thread?
Sent from my SCH-I400 using Tapatalk 2
I didn't release this yet, because I would like to move the battery to the bottom Butttt, if you/someone likes it as is, I shall share
How is kernel compiling going?!
Oh I was just wondering where to insert code over.
Compiling has been slow cause wife has been using HER laptop for school all the time and I use her laptop for vmlinux. I'm bout to reinstall cygwin and tar on my win7 laptop to get my files inorder to tarball for easy Odin flashes and kernel repacked. She has 3 tests this week so I won't be back to playing with sources until next week sometime
Was then gonaa get into aroma for rebloat and mods and themes.
Sent from my SCH-I400 using Tapatalk 2
Code:
It's a matter of moving around the "battery_indicator" and the "battery_indicator_charging" views, and maybe putting them in a RelativeLayout, just right....
But you have a good point, you can't test it yourself without the modded Services.jar Here's a thrown together package with just services.jar and framework-res and TSMParts... Those are the only files that make this feature unique (compared to my most recent package...)
Link: http://www.mediafire.com/?11530qabpm8dftc
And oh, okay! Sounds like fun Hope she does good on all those tests; I feel her pain, I have both a Math 141 and Physics 211 Exam coming up
Nevermind, I figured it out haha... I used Eclipse to make the layout from scratch, with the MIUI battery on the bottom I also added an option in TSMParts for "auto color" for the time... This setting sets the color of the time as the current battery state.... Sooo, whatever you set the auto-colors to be for the MIUI battery in the statusbar to be, that will be the color of the time I think it matches nicely with the battery...
PICS:
Awesome! So do you think one (possibly you ) could actually make a ported rom or aosp work the ticker since you know how to "talk" to it? Sorta like a display whisperer.
Fix your paypal soon we owe you!
Dear lord I hope his Paypal is working. . . I haven't seen anything returned . . . It's not much but with a 4 month old in the house it's what I can do.
I just checked my Paypal, and saw that wonderful surprise Jaycush! Thank you so much!!! Now if only I was allowed to touch it, haha... I really need to get it up and working again, haha... If there is any ideas that you have to increase the capabilities of the ticker, or anything else, I'll look into it for sure!
and hmmm... I know you ciscogee were getting close to compiling EH03 for the fascinate for the Continuum... Technically, it should work, but without the ticker... THEN, I might be able to shove it back in It's still a matter of compiling a working AOSP/CM kernel and ROM, which I have only dabbled in...
trailblazer101 said:
I just checked my Paypal, and saw that wonderful surprise Jaycush! Thank you so much!!! Now if only I was allowed to touch it, haha... I really need to get it up and working again, haha... If there is any ideas that you have to increase the capabilities of the ticker, or anything else, I'll look into it for sure!
and hmmm... I know you ciscogee were getting close to compiling EH03 for the fascinate for the Continuum... Technically, it should work, but without the ticker... THEN, I might be able to shove it back in It's still a matter of compiling a working AOSP/CM kernel and ROM, which I have only dabbled in...
Click to expand...
Click to collapse
Do you still have your continuum or has it been retired?
Sent from my SCH-I400 using xda app-developers app

[How To] Lower/Increase Headphone Volume

I was sick of the loud volume in android i always kept it at the 3rd 4th step out of the 15 not sure what kind of person would want super loud volume but i saw this thread http://forum.xda-developers.com/showthread.php?t=2442883 and i gave it a try on our device to see if i could do the opposite but with the headphone plugged in only.
Requirements: Rooted device, knowledge editing files with any text editing app.
First navigate to system/etc/snd_soc_msm and find the file named "snd_soc_msm_2x_Fusion3_es325" open it with your text editor on your phone i personally use fx explorer with the root add on app and search the following.
Code:
SectionDevice
Name "Headphones"
Comment "Headset Rx device"
EnableSequence
'SLIM_0_RX Channels':0:Two
'RX1 MIX1 INP1':0:RX1
'RX1 MIX1 INP2':0:RX6
'RX2 MIX1 INP1':0:RX2
'RX2 MIX1 INP2':0:RX7
'HPHL DAC Switch':1:1
'HPHR DAC Switch':1:1
[COLOR="Red"] 'RX1 Digital Volume':1:51
'RX2 Digital Volume':1:51[/COLOR]
'HPHL Volume':1:90
'HPHR Volume':1:90
'SLIM TX3 MUX':0:RMIX1
'SLIM TX5 MUX':0:RMIX2
EndSequence
You will only edit these 2 lines 'RX1 Digital Volume':1:51 and 'RX2 Digital Volume':1:51 i set my value to 1:40 to make it less loud increase the value to make it louder, then save the file with its original permissions R-W-R-R remount if necessary(not) and reboot your device.
I'm gonna try that when I go back to stock, except I dint think the headphones are loud enough, raising it up. Thanks for the tutorial.
Sent from my LG-E980 using Tapatalk 2
i can confirm that this works.. i changed mine to 55.. tried it first @ 60 but i noticed that it became too loud, the sound comes out distorted.. now, im trying to find out which setting is for the speaker... thanks for this.. really helpful..
Sent from my LG-E988 using xda premium
Why not just download this app and use it...don't need be rooted to use it
https://play.google.com/store/apps/details?id=mobi.omegacentauri.SpeakerBoost
Go to settings and allow to 100 percent if you want your phone to be loud
Enviado desde mi LG-E980 usando Tapatalk 2
This mod doesn't take up room, the less apps the better.
Sent from my LG-E980 using Tapatalk 2
Any way to increase in call volume?
Sent from my LG-E980 using xda app-developers app
NardVa said:
Any way to increase in call volume?
Sent from my LG-E980 using xda app-developers app
Click to expand...
Click to collapse
Try this
In the same file look for "earpiece" by itself not accompanied by + or anything just earpiece and look for the digital volume values you will need to change both. if it doesn't work i'll look into the other files.
I was wondering if this would be where I'd look into messing with the volume settings for when I receive notifications while listening to music with my headphones, and the music volume drops to play the notification tone. it's annoying
Sent from my LG-E980 using Tapatalk 2
Does this change increase the volume when using Bluetooth headphones or just wired headphones?
Can somebody do me a solid and make this a flash-able-zip please?
Emmanuel2000 said:
I was sick of the loud volume in android i always kept it at the 3rd 4th step out of the 15 not sure what kind of person would want super loud volume but i saw this thread http://forum.xda-developers.com/showthread.php?t=2442883 and i gave it a try on our device to see if i could do the opposite but with the headphone plugged in only.
Requirements: Rooted device, knowledge editing files with any text editing app.
First navigate to system/etc/snd_soc_msm and find the file named "snd_soc_msm_2x_Fusion3_es325" open it with your text editor on your phone i personally use fx explorer with the root add on app and search the following.
Code:
SectionDevice
Name "Headphones"
Comment "Headset Rx device"
EnableSequence
'SLIM_0_RX Channels':0:Two
'RX1 MIX1 INP1':0:RX1
'RX1 MIX1 INP2':0:RX6
'RX2 MIX1 INP1':0:RX2
'RX2 MIX1 INP2':0:RX7
'HPHL DAC Switch':1:1
'HPHR DAC Switch':1:1
[COLOR="Red"] 'RX1 Digital Volume':1:51
'RX2 Digital Volume':1:51[/COLOR]
'HPHL Volume':1:90
'HPHR Volume':1:90
'SLIM TX3 MUX':0:RMIX1
'SLIM TX5 MUX':0:RMIX2
EndSequence
You will only edit these 2 lines 'RX1 Digital Volume':1:51 and 'RX2 Digital Volume':1:51 i set my value to 1:40 to make it less loud increase the value to make it louder, then save the file with its original permissions R-W-R-R remount if necessary(not) and reboot your device.
Click to expand...
Click to collapse
THIS IS FOR THE G2, and this is a G Pro forum !,
Attention Moderator or Admin. , Please remove these postings as the are ONLY FOR THE G2 and NOT the G Pro.
The Line entries do not exist on an "Optimus G Pro" AT&T 4.2.1 e980, wasted my time..
Ok, it seems many people are referring to cyanogenmod ROM Android system files which are Different than Stock LG 4.2.1 Optimus G Pro. (additional note: maybe the AT&T e980 version is different than other G Pro e98x versions ?)
Thanks.
Increased the headphones volume.
Doing wonders.
And to the post above....
If you use root explorer to open the file, it shows the truncated version. Truncated version means shortened version.
So...
Copy that file to some other place. Then use ES FILE EXPLORER TO open the copied file and activate the edit mode.
Go to about 44-46% and change the values.
Save the file.
Copy this file via root explorer.
Now via root explorer go to original place.
Paste here (overwrite)
Change permissions to rw-r-r.
Reboot enjoy.
---------- Post added at 09:01 PM ---------- Previous post was at 08:58 PM ----------
For the lowest frequency bass lovers...
Use Endomedia player from play store.
But overall all players give marvelous output.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[AUDIO-SOUND MOD] [C69xx][LOLIPOP Z1 5.0.2] DSEE HX, Noise Canceling, Mic Sensitivity

Hello! I Created new sound mod, wich include DSEE HX, Hi-Res, Noise Canceling, Mic Sensitivity for Z1 14.5.A.0.242
I put audio.primary.msm8974 from z3 to system/lib/hw, and libs:
libaudioroute.so
libc.so
libcutils.so
libdl.so
libexpat.so
liblog.so
libm.so
libstdc++.so
libtinyalsa.so
libtinycompress.so.
And now, sound working only in headphone. Speakers not working! Buts Sounds Great!!!!
Can anyone help me? With this mod? For working Speakers???
forget the noise canceling, its a hardware limitation on the snapdragon 800 and phone jack
Why you ??
Sent from my C6903 using XDA Free mobile app
XpRoPhEtX2015 said:
Hello! I Created new sound mod, wich include DSEE HX, Hi-Res, Noise Canceling, Mic Sensitivity for Z1 14.5.A.0.242
I put audio.primary.msm8974 from z3 to system/lib/hw, and libs:
libaudioroute.so
libc.so
libcutils.so
libdl.so
libexpat.so
liblog.so
libm.so
libstdc++.so
libtinyalsa.so
libtinycompress.so.
And now, sound working only in headphone. Speakers not working! Buts Sounds Great!!!!
Can anyone help me? With this mod? For working Speakers???
Click to expand...
Click to collapse
That's a dangerous game you're playing... Z3 has 2 audio amplifiers on which that audio hardware driver relies (that can be the reason the speakers don't work). Z2 has 1 amplifier. Z1 doesn't have any.
But if you used "mixer_paths.xml" from Z3, you might get the headphones to work (they don't rely on the amplifier) but the speakers won't work because Z3's "mixer_paths.xml" channels the audio signal to the audio amplifiers.
Those lines need to be removed from the mixer_paths.xml:
Code:
<!-- tfa98xx speaker -->
<ctl name="TFA98XX_SPKR_AMP" value="0" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia9" value="0" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia10" value="0" />
<ctl name="QUAT_MI2S_RX_Voice Mixer CSVoice" value="0" />
<ctl name="QUAT_MI2S_RX_Voice Mixer Voice2" value="0" />
<!-- tfa98xx speaker end -->
Find lines that have "TFA98XX", which refer to the TFA9890 amplifier, and get rid of them - change them to lines from Z1 but don't leave them empty.
Also, look at these lines:
Code:
<path name="deep-buffer-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback speaker">
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
"SLIMBUS_0_RX" refers to the normal audio channel, while "QUAT_MI2S_RX" refers to the amplifier.
Those lines mean: channel the audio signal to the normal channel, unless it's a signal to the speaker, in that case channel the audio signal to the amplifier for processing.
Change ANY instances you find that have "SLIMBUS_0_RX" and after that "QUAT_MI2S_RX" so they look like this:
Code:
<path name="deep-buffer-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback speaker">
<path name="deep-buffer-playback" />
</path>
Make sure you don't have any "QUAT_MI2S" or "TFA98XX" lines in the file remaining.
When done, it should hopefully retrieve the speakers' audio.
If you can pack all the files you used we can test it together.
Use z1 mixer_path and add line codes from z3 mixer_path
Alvian_P said:
Use z1 mixer_path and add line codes from z3 mixer_path
Click to expand...
Click to collapse
I want to ask, is it possible to fix ?
dstrikersZ1 said:
I want to ask, is it possible to fix ?
Click to expand...
Click to collapse
I don't know, maybe can. try @LaguCool guide.
I think if want great audio quality try compare any audio files from z1 LP with z1 KK . I dont know why in LP have low quality (sound, camera, battery life time.)
I have compare mixer_paht z1 LP and KK in my work -> here
---------- Post added at 09:52 PM ---------- Previous post was at 09:45 PM ----------
wait update till august http://www.xperiablog.net/2015/05/07/android-5-1-coming-to-xperia-z-series-in-august-says-telstra/
keep calm
Alvian_P said:
I don't know, maybe can. try @LaguCool guide.
I think if want great audio quality try compare any audio files from z1 LP with z1 KK . I dont know why in LP have low quality (sound, camera, battery life time.)
I have compare mixer_paht z1 LP and KK in my work -> here
---------- Post added at 09:52 PM ---------- Previous post was at 09:45 PM ----------
wait update till august http://www.xperiablog.net/2015/05/07/android-5-1-coming-to-xperia-z-series-in-august-says-telstra/
keep calm
Click to expand...
Click to collapse
DSEE HX doesn't really work in your audio mod, it's placebo. Your mod has no modified audio driver nor it has "audio_policy.xml" which allows Hi-Res audio content and DSEE HX. Moreover your "mixer_paths.xml" doesn't have any Hi-Res and/or DSEE HX entries. 96KHz doesn't exist in that audio mod, which is what DSEE HX is all about.
dstrikersZ1 said:
I want to ask, is it possible to fix ?
Click to expand...
Click to collapse
IaguCool said:
DSEE HX doesn't really work in your audio mod, it's placebo. Your mod has no modified audio driver nor it has "audio_policy.xml" which allows Hi-Res audio content and DSEE HX. Moreover your "mixer_paths.xml" doesn't have any Hi-Res and/or DSEE HX entries. 96KHz doesn't exist in that audio mod, which is what DSEE HX is all about.
Click to expand...
Click to collapse
right, its not really work. I have try add code like "tfa98xx speaker or high res or hi-res" etc. but bootloop
Alvian_P said:
right, its not really work. I have try add code like "tfa98xx speaker or high res or hi-res" etc. but bootloop
Click to expand...
Click to collapse
Xperia Z1 doesn't have a TFA98XX amplifier (which Z2 and Z3 have, TFA9890 to be specific).
IaguCool
Z3 files with audio lib and files!
Headphone works fine, but speakers.... not working...
XpRoPhEtX2015 said:
IaguCool
Z3 files with audio lib and files!
Headphone works fine, but speakers.... not working...
Click to expand...
Click to collapse
I don't understand why people always include that "/vendor/etc/smt_vj19x_chfile_20140116.csv" file. It's not even related to audio, it's a One Seg digital TV tuner driver config. Well, at least I got this baby working properly on my Z1. Also modified it to shrink it to barely 1 MB and changed the theme to Material.
(Surround Virtualizer is enabled when you plug in headphones)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@ IaguCool
we will be glad if you can share it.. thank you...
benlenspace said:
@ IaguCool
we will be glad if you can share it.. thank you...
Click to expand...
Click to collapse
To make it accessible and work properly there are mods needed to SoundEnhancement.apk, MusicFX.apk and Settings.apk --- which are device-specific.
The procedure is too long to describe. It is a part of my custom ROM project which I hope to release soon. The best ROM for Z1 you can get.
IaguCool said:
To make it accessible and work properly there are mods needed to SoundEnhancement.apk, MusicFX.apk and Settings.apk --- which are device-specific.
The procedure is too long to describe. It is a part of my custom ROM project which I hope to release soon. The best ROM for Z1 you can get.
Click to expand...
Click to collapse
Sounds interesting
IaguCool,
So! What we have!!! DSEE HX, Noise Canceling, Mic Sensitivity - works fine with this lib audio.primary.msm8974 from z3: libaudioroute.so, libc.so, libcutils.so, libdl.so, libexpat.so, liblog.so, libm.so, libstdc++.so, libtinyalsa.so, libtinycompress.so.
Headphone works, speaker..... Can you edit mixer_paths - for working speakers. Or, its problem in audio.primary.msm8974?
XpRoPhEtX2015 said:
IaguCool,
So! What we have!!! DSEE HX, Noise Canceling, Mic Sensitivity - works fine with this lib audio.primary.msm8974 from z3: libaudioroute.so, libc.so, libcutils.so, libdl.so, libexpat.so, liblog.so, libm.so, libstdc++.so, libtinyalsa.so, libtinycompress.so.
Headphone works, speaker..... Can you edit mixer_paths - for working speakers. Or, its problem in audio.primary.msm8974?
Click to expand...
Click to collapse
Right now my guess is that audio.primary.msm8974 from Z3 routes the audio signal to places that don't exist on Z1. The headphones channel is the same for Z1 and Z3, but the speaker channels are not.
How we can edit audio.primary.msm8974.so? Any programms? Any ideas?
XpRoPhEtX2015 said:
How we can edit audio.primary.msm8974.so? Any programms? Any ideas?
Click to expand...
Click to collapse
It's a native C/C++ binary, you can't edit it. First here's some quote from Sony website:
Xperia Z2 was compatible with Hi-Res Audio but you needed a converter to listen to it. So in Xperia Z3, we’ve built that converter into the phone. If you have Hi-Res compatible headphones you can just plug them in to the headphone jack like any other pair and listen away.
Click to expand...
Click to collapse
I compared the two audio.primary.msm8974.so libraries to see, basically, what different exported functions it has (like every library should have, hence it's a library).
First I learned that truly, that library is the one that loads "mixer_paths.xml". An interesting thing: a file named "/data/misc/audio/audio.cal" should force the driver to re-calibrate the speakers. These files should show you how a driver looks like: https://github.com/dtsinc/DTS-Eagle-Integration_CAF-Android-hardware-qcom-audio/tree/master/hal/audio_extn
Also I learned that only the D6603 has functions for Hi-Res Audio, ANC (Active noise control), DNC (Digital noise cancelling) and TFA98XX (hardware audio amplifier) equalizer parameters. By the end of the file, only the Z3's file has "high-res-playback" and "high-res-playback-dsee", which means even if we put the "hi-res-playback" and "hi-res-playback-dsee" in "mixer_paths.xml", only Z3's driver knows how to treat those items.
Without that driver we have no chance of playing Hi-Res content on Z1, and to remind you, DSEE HX is Hi-Res.
So why doesn't that driver work on Z1? Probably because either it tries to route the audio to the amplifiers, or different speaker channels, or just fails to activate because the amplifiers are missing. There's no easy way to know.
XpRoPhEtX2015 said:
IaguCool
Z3 files with audio lib and files!
Headphone works fine, but speakers.... not working...
Click to expand...
Click to collapse
Am i the only one who have bootloop after flashing this?

Categories

Resources