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"
}
Related
Hi guys,
Anyone have experience with lists? I've made one that seems to work fine (enough for now), but my problem is that it isn't scrolling in the emulator. I can see one item partially, and I can scroll up just enough to see this, but I cannot see any more items. I know there are like 41 items in the list, so I cannot figure why it's not showing.
Here's my xaml
Code:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<StackPanel Name="SearchPanel">
<Image Height="150" HorizontalAlignment="Left" Margin="0,6,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="450" Source="/Prissøk;component/Images/partner_teknofil.png" />
<TextBox Height="72" HorizontalAlignment="Left" Name="textBox1" VerticalAlignment="Top" Width="493" />
<Button Content="Button" Height="72" HorizontalAlignment="Center" Name="button1" VerticalAlignment="Top" Width="381" Click="button1_Click" ManipulationStarted="button1_ManipulationStarted" />
</StackPanel>
<ScrollViewer Name="SearchResultPanel" Visibility="Collapsed">
<!--<StackPanel>-->
<ListBox Name="ProductList">
<ListBox.ItemTemplate>
<DataTemplate>
<Button Width="460" Height="120">
<StackPanel Orientation="Horizontal" Height="80" Width="400">
<Image Source="{Binding img}" Width="80" Height="80"/>
<StackPanel Orientation="Horizontal" Height="40">
<TextBlock Width="100" FontSize="22" Text="Navn: " Height="40"/>
<TextBlock Width="200" FontSize="22" Text="{Binding title}" Height="40"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Height="40">
<TextBlock Width="100" FontSize="22" Text="Pris: " Height="40"/>
<TextBlock Width="200" FontSize="22" Text="{Binding price}" Height="40"/>
</StackPanel>
</StackPanel>
</Button>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<!--</StackPanel>-->
</ScrollViewer>
</Grid>
</Grid>
I've tried putting the listbox directly in a stackpanel, I've tried putting this inside a scrollviewer etc etc.
Anyone got any good tips for me?
Cheers!
It looks like you're trying to get your ListBox to be clickable by adding a Button which contains everything. Your ListBox as a whole should use an event, like SelectionChanged, unless you want a ListBox to have multiple things in the same list item you can click on. (say a list of a album, and a play button, where the album opens a detail page and the play button plays the album)
Here's a ListBox i'm using:
Code:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<ListBox Margin="0,10,0,6" ItemsSource="{Binding Items}" Name="serverListBox" SelectionChanged="serverListBox_SelectionChanged" d:LayoutOverrides="VerticalAlignment">
<ListBox.ItemTemplate>
<DataTemplate>
<toolkit:WrapPanel Margin="0,0,0,17" Width="400">
<TextBlock Text="{Binding servername}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyleWithoutForeground}"/>
<toolkit:WrapPanel x:Name="Layout" Width="380" Orientation="Horizontal">
<TextBlock Text="{Binding ip}" Style="{StaticResource PhoneTextSubtleStyleWithoutForeground}"/>
<TextBlock Text="{Binding isDefault}" Style="{StaticResource PhoneTextSubtleStyleWithoutForeground}"/>
</toolkit:WrapPanel>
</toolkit:WrapPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
This is the corresponding list it generates:
{
"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"
}
in code, you would define the SelectionChanged event handler, and have something like this.
Code:
private void serverListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if (serverListBox.SelectedIndex == -1)
return;
MyItem item = (MyItem)serverListBox.SelectedItem;
}
Thanks, still doesn't scroll, though :S
One other thing - what's that toolkit your code refers to?
tiwas said:
Thanks, still doesn't scroll, though :S
One other thing - what's that toolkit your code refers to?
Click to expand...
Click to collapse
http://silverlight.codeplex.com/releases/view/52297
The silverlight toolkit has a ton of features, and a pretty great solution you can download which shows you what everything is.
If you aren't able to scroll, are you seeing more than 1 item on the screen? You may not be having the ListBox update properly.
Are you using a List as your ItemsSource? You should be using an ObservableCollection instead. (using System.Collections.ObjectModel
What is the type your storing? You may need to make it implement INotifyPropertyChanged.
https://soumya.wordpress.com/2010/0...tifypropertychanged-and-observablecollection/
Thanks for helping me out.
I have an array of Product, which contain all the details I need. The list is just an example I found on the net that I changed the bindings for, so I guess that part should work.
When I populate the list, it shows me 8 items, which is 7 fully displayed and the last one is partially displayed. It will let me scroll just enough to see the last one of the 8, but not the 30+ more in my Array. Could this be a binding problem?
This is what I have in the callback function to my WebClient downloader
Code:
if (e.Error == null)
{
Stream responseStream = e.Result;
DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Products));
Products prods = (Products)ser.ReadObject(responseStream);
if (prods.Count() > 0)
{
SearchPanel.Visibility = System.Windows.Visibility.Collapsed;
SearchResultPanel.Visibility = System.Windows.Visibility.Visible;
ProductList.ItemsSource = prods;
}
}
tiwas said:
Thanks for helping me out.
I have an array of Product, which contain all the details I need. The list is just an example I found on the net that I changed the bindings for, so I guess that part should work.
When I populate the list, it shows me 8 items, which is 7 fully displayed and the last one is partially displayed. It will let me scroll just enough to see the last one of the 8, but not the 30+ more in my Array. Could this be a binding problem?
This is what I have in the callback function to my WebClient downloader
Code:
if (e.Error == null)
{
Stream responseStream = e.Result;
DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Products));
Products prods = (Products)ser.ReadObject(responseStream);
if (prods.Count() > 0)
{
SearchPanel.Visibility = System.Windows.Visibility.Collapsed;
SearchResultPanel.Visibility = System.Windows.Visibility.Visible;
ProductList.ItemsSource = prods;
}
}
Click to expand...
Click to collapse
If you put a Breakpoint after ProductList.ItemsSource = prods, is the Count 8 or the number you're expecting?
The Products Object is a container for a array of Product? If it's that easy, I'd try just changing it into an ObservableCollection and seeing if that fixes your problem.
You might want to post this on create.msdn.com and see if you get any responses there too.
Thanks
Guess I'll have to - the reason I posted here is that most of the time people around here are more interested in helping people And...I don't have a developer account, so I wasn't sure if people would help me over there, but I'll give it a shot
Did the breakpoint to be sure
prods.Count(): 75
ProductList.Items.Count: 74
Visible items: 8 :S
Guess I will have to take a look at what the ObservableCollection is all about...never heard of it
Your problem seems to be that you have a listbox inside a scrollviewer...
Listboxes allready have scroll viewers inside them, so you dont need it.
And use x:Name rather than Name for naming xaml elements.
Inspired by this, this, this thread, as well as my own frame drops during recording.
Most agreed that the class of the sdcard did not effect the frame drops.
Not sure if anyone has tried this yet:
Code:
/system/etc/media_profiles.xml
Music in this vid is from the Pandora app running in the back ground, White balance = incandescent
Lighting was pretty low, and I did not touch the screen for it refocus while shooting.
YouTube's video info log showed every little frame drop compared to other vids I saw, my original 4000000 setting had even less. So maybe I will settle for 4400000?
This is the profile I used. per usual, YMMV. I haveStock ROM on diet/ stock Kernel/class2,8gb sdcard/32mb VM heap
I don't know what the quality 90/80/70 and the memCap do, if you know, please help.
Code:
[URL="http://forum.xda-developers.com/#"]-[/URL] <MediaSettings>
- <!-- Each camcorder profile defines a set of predefined configuration parameters -->
[URL="http://forum.xda-developers.com/#"]-[/URL] <CamcorderProfiles>
[URL="http://forum.xda-developers.com/#"]-[/URL] <EncoderProfile quality="[B]high[/B]" fileFormat="[B]mp4[/B]" duration="[B]60[/B]">
<Video codec="[B]h264[/B]" bitRate="[COLOR=Red][B]4800000[/B][/COLOR]" width="[B]720[/B]" height="[B]480[/B]" frameRate="[COLOR=Red][B]30[/B][/COLOR]" />
<Audio codec="[B]amrnb[/B]" bitRate="[COLOR=Red][B]4800[/B][/COLOR]" sampleRate="[B]8000[/B]" channels="[B]1[/B]" />
</EncoderProfile>
[URL="http://forum.xda-developers.com/#"]-[/URL] <EncoderProfile quality="[B]low[/B]" fileFormat="[B]3gp[/B]" duration="[B]30[/B]">
<Video codec="[B]m4v[/B]" bitRate="[B]256000[/B]" width="[B]176[/B]" height="[B]144[/B]" frameRate="[B][COLOR=Red]30[/COLOR][/B]" />
<Audio codec="[B]amrnb[/B]" bitRate="[COLOR=Red][B]4800[/B][/COLOR]" sampleRate="[B]8000[/B]" channels="[B]1[/B]" />
</EncoderProfile>
<ImageEncoding quality="[B]90[/B]" />
<ImageEncoding quality="[B]80[/B]" />
<ImageEncoding quality="[B]70[/B]" />
<ImageDecoding memCap="[B]20000000[/B]" />
<Camera previewFrameRate="[B]0[/B]" />
</CamcorderProfiles>
<EncoderOutputFileFormat name="[B]3gp[/B]" />
<EncoderOutputFileFormat name="[B]mp4[/B]" />
- <!-- If a codec is not enabled, it is invisible to the applications In other words, the applications won't be able to use the codec or query the capabilities of the codec at all if it is disabled -->
<VideoEncoderCap name="[B]h264[/B]" enabled="[B]true[/B]" minBitRate="[COLOR=Red][B]64000[/B][/COLOR]" maxBitRate="[COLOR=Red][B]4800000[/B][/COLOR]" minFrameWidth="[B]176[/B]" maxFrameWidth="[B]1280[/B]" minFrameHeight="[B]144[/B]" maxFrameHeight="[B]720[/B]" minFrameRate="[B][COLOR=Red]30[/COLOR][/B]" maxFrameRate="[B][COLOR=Red]30[/COLOR][/B]" />
<VideoEncoderCap name="[B]h263[/B]" enabled="[B]true[/B]" minBitRate="[COLOR=Red][B]64000[/B][/COLOR]" maxBitRate="[COLOR=Red][B]4800000[/B][/COLOR]" minFrameWidth="[B]176[/B]" maxFrameWidth="[B]800[/B]" minFrameHeight="[B]144[/B]" maxFrameHeight="[B]480[/B]" minFrameRate="[COLOR=Red][B]30[/B][/COLOR]" maxFrameRate="[COLOR=Red][B]30[/B][/COLOR]" />
<VideoEncoderCap name="[B]m4v[/B]" enabled="[B]true[/B]" minBitRate="[COLOR=Red][B]64000[/B][/COLOR]" maxBitRate="[COLOR=Red][B]4800000[/B][/COLOR]" minFrameWidth="[B]176[/B]" maxFrameWidth="[B]1280[/B]" minFrameHeight="[B]144[/B]" maxFrameHeight="[B]720[/B]" minFrameRate="[COLOR=Red][B]30[/B][/COLOR]" maxFrameRate="[COLOR=Red][B]30[/B][/COLOR]" />
<AudioEncoderCap name="[B]amrnb[/B]" enabled="[B]true[/B]" minBitRate="[COLOR=Red][B]4800[/B][/COLOR]" maxBitRate="[COLOR=Red][B]4800[/B][/COLOR]" minSampleRate="[B]8000[/B]" maxSampleRate="[B]8000[/B]" minChannels="[B]1[/B]" maxChannels="[B]1[/B]" />
- <!-- FIXME: We do not check decoder capabilities at present At present, we only check whether windows media is visible for TEST applications. For other applications, we do not perform any checks at all. -->
<VideoDecoderCap name="[B]wmv[/B]" enabled="[B]true[/B]" />
<AudioDecoderCap name="[B]wma[/B]" enabled="[B]true[/B]" />
</MediaSettings>
this one min 128000 max 4400000
fast motions low lighting
original profiles
this was the vid that really got me wanting to do something about the frame drops
Interesting. It does seem to be improved.... nice find!
I've been waiting for something like this!!!
Tried the following w/out any success.
First:
Video codec - bitRate cut in half to 4000000
Audio codec - bitRate lower to 9600
Then:
Video codec - bitRate cut in half to 15000000
Audio codec - bitRate lower to 9600
Forgot to mention i chnaged vm heap to 32m as will in build prop as well before all this. Fwiw Galaxy 4g is at 48m
[via XDA premium]
I'll try changing the vm heap and post again later or tomorrow.
What's the functionality of changing the vm heap size?
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
Update: No luck, changed vm heap to 32m, and duplicated your bitrate settings no changes. I was hoping it'd work...
anyone else test this w/any success?
Look up vm heap tool on market, there is a short explanation on there.
[via XDA premium]
So lowering it to 32 will give better performance to the camera/ camcorder
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
markjnj said:
I'll try changing the vm heap and post again later or tomorrow.
Click to expand...
Click to collapse
Edit, try 50fps.
[via XDA premium]
Well. I just tried 50fps. Seems to shoot fine.
*edit, changing the fps does not make it shot any higher fps according to YouTube video info log.
[via XDA premium]
Ok, i reverted the bitRate to 8000000 correct me if that is not the stock setting. And used 50fps, shot 2 vids and Wow.
But for the sake of file size, i will be lowering the bitRate to prob 4800000 rage. But i think the fix is upping the fps.
[via XDA premium]
Edit: I thought that was it. but I think for mine bitrate was at 30000000 stock...I don't even remember anymore. Let me try changing fsp to 50. btw, are you running custom kernel? wondering what you're running at. I'm using faux latest build.
mine stock had bitrate of video 30000000 and audio 12200
I think i realized why I may have been getting choppiness after changing the settings. I forgot that I was underclocking... :X
Anyway. I'm currently got video bitrate at 15000000 and audio still at 12200. I've been taking a few test videos at 1.3mhz max. no freezing yet. will try a more videos throughout the rest of the day and keep you posted.
Where is the profile for HD 720p I only see high and low
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
@mark. Nope stock rom/kernel /sdcard. 32mb vm heap
kyokyle said:
Where is the profile for HD 720p I only see high and low
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
Click to expand...
Click to collapse
Just few lines down from the high low
{
"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"
}
[via XDA premium]
It doesn't seem to change. When I open up in windows and checked the the recorded file. Fps is still 20 even though I changed max to 50 and min to 30. I restarted my phone too
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
Anything after the camcorder profile tag doesn't affect camcorder I think
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
sleepyfu said:
@mark. Nope stock rom/kernel /sdcard. 32mb vm heap
Just few lines down from the high low
[via XDA premium]
Click to expand...
Click to collapse
ok, did you change anything under high? I kept entries under high at default w/the exception of changing the fps to 30 there.
and now all the entries below that for the different sizes I have matching yours. So far so good vm heap 32.
kyokyle said:
It doesn't seem to change. When I open up in windows and checked the the recorded file. Fps is still 20 even though I changed max to 50 and min to 30. I restarted my phone too
Rom: orange sense v1.01
Kernel: Faux .975 LV
Governor: Smartass
Recovery: CWM 3.0.0.6
Click to expand...
Click to collapse
Interesting, i never check it with other software. It should have been at least 30 since that's default if by editing the xml didnt change anything. I do notice the files sizes being smaller so the xml has direct effect to the cam. Asides from the possible false fps, hows is the recording part? Still dropping frames like it used too?
@mark, in the 'high' profile i have lowered the bitRates(vid+aud) and 50fps. "online hd 10min" is what it effects.
[via XDA premium]
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
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:
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?