yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] siljaer:
Hi ottmi, Wenderer71.

I rolled back to the original stock file and I made a few changes only. Now audio and video recording are loud enough (maybe a bit noisy, but the values can be tweaked, at least that is the way to go).

These are the key sections, the first one:

<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="EAR PA Gain" value="POS_1P5_DB" />
<ctl name="EAR_S" value="Switch" />
</path>

<path name="handset-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="IIR1 INP1 Volume" value="84" />
<ctl name="DEC1 Volume" value="84" />
</path>

and the second one:

<path name="voice-rec-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="IIR1 INP1 Volume" value="127" />
<ctl name="DEC1 Volume" value="127" />
</path>

<path name="camcorder-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="IIR1 INP1 Volume" value="127" />
<ctl name="DEC1 Volume" value="127" />
</path>

Unfortunately, I haven't found the ranges for ADC1 Volume (analog gain for A/D converter #1), IIR1 INP1 Volume (digital gain for infinite impulse response filter #1) and DEC1 Volume (digital gain for the output of decimator #1).

I am not completely sure IIR1 INP1 Volume is needed, but it looks like IIR filters are in the paths. However, if you want to tweak the volume of recordings, you only have to modify the second section.

I rolled back to the stock file because recordings quit working. In principle, it could be simplified: dual mic sections could be deleted and some paths modified.

Namely, MSM8916 has only two ADC, but trunk has only two analog input: handset mic and headphone mic. So, it looks like there's no need for multiplexing here:

<path name="adc1">
<ctl name="DEC1 MUX" value="ADC1" />
</path>

<path name="adc2">
<ctl name="DEC1 MUX" value="ADC2" />
</path>

<path name="adc3">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>

"adc3" and DEC2 are only used for dual mic devices, so "adc3" could be removed, and DEC2 permanently associated to ADC2. Maybe I will try, hoping not to make a mess again. After all, "if it's working, don't touch it".

EDIT: unfortunately, some people reported still some echo during mobile calls, so I have modified the first section:

<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="77" />
<ctl name="EAR PA Gain" value="POS_0_DB" />
<ctl name="EAR_S" value="Switch" />
</path>

<path name="handset-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="IIR1 INP1 Volume" value="77" />
<ctl name="DEC1 Volume" value="77" />
</path>

Now echo has disappeared.

As analog mic gain is "6", maybe digital gain could be further increased, but it would require more tests...
[Miscellaneous Android Development] blahmartinblah:
[MENTION=7529884]siljaer[/MENTION] great work!

I find Bluetooth audio during calls very low. Did you learn anything regarding this as yet?

Martin
[Miscellaneous Android Development] siljaer:
Unfortunately I didn't.

But I would look for:

<path name="bt-sco-headset">
</path>

<path name="bt-sco-mic">
</path>

<path name="bt-sco-headset-wb">
</path>

<path name="bt-sco-mic-wb">
</path>

and I would try:

<path name="bt-sco-headset">
<ctl name="RX1 Digital Volume" value="120" />
</path>

<path name="bt-sco-mic">
</path>

<path name="bt-sco-headset-wb">
<ctl name="RX1 Digital Volume" value="120" />
</path>

<path name="bt-sco-mic-wb">
</path>
[Miscellaneous Android Development] siljaer:
Maybe there's a much easier way! Have you tried AudioFX?

---------- Post added at 22:59 ---------- Previous post was at 22:22 ----------

Back to audio recordings volume: IIR1 volume isn't needed (see post about 410 codec). I can improve audio recordings with this (really loud):

<path name="voice-rec-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="DEC1 Volume" value="120" />
</path>

<path name="camcorder-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="DEC1 Volume" value="120" />
</path>

but it only works when the app can choose the microphone (i.e. camcorder mic works, default mic doesn't).

I found a way to improve audio recordings with any input and app:

from this:

<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
</path>

to:

<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="DEC1 Volume" value="120" />
</path>

problem is, I don't know how this works with call recording apps.... audio recordings are very good for a videocamera, not so much for call recordings, if they use these settings
[Miscellaneous Android Development] ottmi:
Thanks for that effort [MENTION=7529884]siljaer[/MENTION] ! But I have to admit that I'm a bit lost now :-|

So the mixer_paths.xml you've sent me a pull request for already contains all the changes mentioned above (plus the additional comments)? Does this now solve the echo problems? Should I include it in the next build?
[XDA Assist] NiharSamal:
Hello

I need help and procedure to root my Yu Yureka Plus having stock android 4.4

The model of Phone is YU5510A with android 4.4.4

Thanks in advance :) ;)
[XDA Assist] Trafalgar Square:
Hello and thank you for using XDA Assist,

please have a look at this guide:

YUreka PLUS ROOTED!

Kind regards and good luck

Trafalgar Square

XDA Assist
[Galaxy S6 Edge General] Rain_Saeid:
EFS backup and restore G925f

Manually : by adb shell command

​

Requirements :

-G925f

-Root access : root with cf-root or flash twrp and install superSu

(When using su commands press Grant or Autorize Option from SuperSu)

-ADB command : Android SDK

How to do it :

for Backup efs :

- connect G925f Rooted to PC with USB cable

- run CMD in android SDK

- Then enter the following commands :

For later use copy images from internal sdcard to a safe place such as pc.

for Restore efs :

- connect G925f Rooted to PC with USB cable

- run CMD in android SDK

- Then enter the following commands :

Good Lock
[Galaxy S6 Edge General] Iluvatar2000:
What efs is? Is it important? What does it change?
[Galaxy S6 Edge General] Rain_Saeid:
The Device security

Try Backup

Used to repair phone security

If that problem it will use your phone

For more information "Efs" search word
[Galaxy S6 Edge General] mackeeyow:
Hi sir, i got problem with my efs, my phone got stuck in samsung logo after i flash custom rom in my S6 Edge plus (SM-G928F) and has a error "Failed to mount /efs (invalid argument) btw, my s6 in not rooted

please help me :(
[Galaxy S6 Edge General] mackeeyow:
here's some pictures
[Lenovo A6000/Plus Questions & Answers] kabtshino:
hi

Can I flash any rom from here

Because XIAOMI REDMI 2 has same Soc snapdragon 410

Or should I port rom first & And please can some one give me

guide to port rom from XIAOMI REDMI 2 to lenovo a6000
[Lenovo A6000/Plus Questions & Answers] kabtshino:
I'm sorry I've put the Thread in the wrong location
[Lenovo A6000/Plus Questions & Answers] kumar.aman0031:
no u need to modify kernel for a6000/Plus

camera plugins, and hw,modules and some etc files for Audio.

thn your xiaomi and other msm8916 rom properly rum on a6000/plus
[Lenovo A6000/Plus Questions & Answers] sudhakarstuart:
Hey,most of the ROMs are ported from redmi 2 only,google it your device has tons of rom out there
[Galaxy Note 4 Q&A, Help & Troubleshooting] AchillesI:
Hi,

I just get my new note 4. Could you provide me some info about which rom I should try to get the best camera experience on Android 6? :)

Thanks :)
[Galaxy Note 4 Q&A, Help & Troubleshooting] ithehappy:
Best camera experience? Then stay with stock ROMs. You can try all the apps on Play and elsewhere too, and all the custom ROMs too, but it will be the stock camera on stock ROMs giving you the best camera photo output quality.
[Android Q&A, Help & Troubleshooting] Sid12301:
I have ported twrp 2.8.7.7 from msm8916 to my msm8909 device.

Recovery starts but doesn't respond to touches. About 5s later, it reboots.

Can anyone help me to fix this bug?
[Android Q&A, Help & Troubleshooting] lehmancurtis:
I 'm trying to solve the no-touch issue also. Have you gained any ground? The five second delayed loop is either an entry conflict with your recovery.fstab or an unnecessary init file breaking ur image.
[Android Q&A, Help & Troubleshooting] lehmancurtis:
I may have found the solution.

sys/class/input/input*/

*=0-9

Open the file uevent and/or name with a text editor. Look for the input that describes your digitizer. You should be able to find a permission file with the values 1,0. 1 is enabled for boot partition, and 0 is disabled for the recovery partition. To enable touch in recovery both values need to equal 1 persistently.
[Android Q&A, Help & Troubleshooting] Rustamveer:
Build.prop bootloop with little problem Twist! Help Me Out Please

Guyz yesterday I was tweaking builp.prop of my Lava iris 352e mt6572 but due to wrong values it went into bootloop.

My problem is that I cant boot device into fastboot or recovery due to fact that volume key combinations or keys themselves dont work!

So I decided to flash it. I have its ROM File, SP Flash tool. But I cant flash it due proper drivers (vcom drivers etc) & no proper knowledge. PLease help me out.

I dont know where to download drivers for mt6572 chipset.

& ADB pull/push cant work coz I cant go to fastboot/recovery!

THNX
[Samsung Galaxy S Duos] obulesh:
I bought the phone (trend duos s7562) in China. I rooted the phone and installed india firmware now I'm facing network problems, then I installed China firmware for this version (S duos 7562). After that the phone is facing bootloop, can't enter into recovery mode.

please suggest me the firmware or please provide solution for avoiding network problem if I install Indian version.
[XDA Assist] szocske93:
Hi. I have a ZTE Kiss 3 Max ... When i power on my phone and i unlock with my Pin Code , unfortunately appear pop-up box like: 'Unfortunately Launcher 3 has stopped' ; 'Unfortunately Settings has stopped' ; 'Unfortunately Gallery has stopped' ; 'Unfortunately com.google.process.gapps has stopped' ; etc. I can't do anything... I try to take a Hard Reset from Recovery (Volume + and Power) and when i select factory reset..... yes ..... nothing happened... When i try to connect to my PC - no recognized.

Anybody have a ideea? HELP please!

([Sorry for my bad english]):p
[XDA Assist] Trafalgar Square:
Hello and thank you for using XDA Assist,

your device don't have a device specific Q&A section on XDA. Please post in our Android Q&A section:

Android Q&A, Help & Troubleshooting

Kind regards and good luck

Trafalgar Square

XDA Assist
[XDA Assist] szocske93:
Okey. Sorry :)
[XDA Assist] Trafalgar Square:
Why sorry?

XDA Assist is for newbies who need help on finding their way around on XDA.
[HTC Excalibur] crazygman:
Hi, just need a little help,I flashed the new Rogers WM6 to my unlocked Dash and it works great, love it, the only problem I am having is I installed BBConnect old version and new version and it won't connect. The wierd thing is when you try to refresh BBConnect it says "Network Available" then "Data Tunnel etc" then it goes right to "Not Connected" and I can't get it to connect?

I had to re-flash back to WM5 to make it work and I have no problems.

Please any any help would be great as I would like to run WM6.. Oh and yes I am using Roger BB data plan.

Thanks!!
[Android Software/Hacking General [Developers Only]] remittor:
Low Level Console

LLCON - Low Level Console for output kmsg to display.

The main advantage of this method: early initialization LLCON in the kernel.

Drawing graphics on screen is implemented using direct entry of data into FrameBuffer.

Limitation:

1) supports only RGB888 display (24-bit);

2) supports displays with a normal orientation (the flipped panels not tested);

3) is supported only QCOM platform (but you can try to adapt MTK);

Source code:

Kernel 3.4: https://github.com/jsr-d10/android_kernel_jsr_msm8226/commits/mm-llcon5

Kernel 3.10: https://github.com/jsr-d10/android_kernel_jsr_msm8228/commits/d10-llcon5

Device: https://github.com/jsr-d10/android_device_jsr_d10f/commits/cm-11.0-llcon

New kernel param:
androidboot.llcon=<mode>,<delay>,<textwrap>,<fb_addr>,<fb_bpp>,
<fb_height>,<fb_width>,<fb_stride>,<font_size>,<font_color>

Example:
androidboot.llcon=2,100,0,0x03200000,24,1280,720,720,8,0xFFFFFF

mode:
0 = disable LLCON
1 = sync mode (page scroll mode)
2 = async mode (line scroll mode)
delay:
Delay used in output text thread (ms).
textwrap:
0 = text wrap disabled
1 = text wrap enabled
fb_addr:
Physical address of FB.
This value ignored when used llcon_set_fb_addr function.
fb_bpp:
This value ignored.
fb_height:
Display height.
fb_width:
Display width.
fb_stride:
Display stride (pixels or bytes).
font_size:
6 = FONT_6x11, 8 = FONT_8x16, 10 = FONT_10x18, 12 = FONT_SUN12x22
font_color:
Font color in hex RGB format.

Video demonstration:

[YOUTUBE]KwAFpD2wt28[/YOUTUBE] [YOUTUBE]x7kUKmY-4Mo[/YOUTUBE]

LLCON 1: https://youtu.be/KwAFpD2wt28 (page scroll mode, font 6x11)

LLCON 2: https://youtu.be/x7kUKmY-4Mo (line scroll mode, font 8x16)
[Android Software/Hacking General [Developers Only]] sub77:
just build. very nice booting. thanks
[Android Software/Hacking General [Developers Only]] remittor:
LLCON patch for line oriented printk: https://github.com/jsr-d10/android_...mmit/9ceedcfeb2fd3b99e5f2deb18a977b7a15b18b88

Line oriented printk patches for Linux 3.4: https://github.com/olivieer/kernel_msm/commits/LA.BF.1.1.3_rb1.13/kernel/printk.c
[Android Software/Hacking General [Developers Only]] remittor:
New version LLCON support dumping syslogs to persistent ram. For using this function add this to kernel command line:

0x7f200000 - physical address of persistent area

0x100000 - size of persistent area

Also new LLCON contains addon:

LLCON_DBG - debug Android kernel in early stages of kernel initialization
[Android Software/Hacking General [Developers Only]] thewisenerd:
hey,

do you have any plans on working on a aarch64 version of this?
[Android Software/Hacking General [Developers Only]] dum2go:
This is something I was looking for ages. And it is here. But I can not get it running on my 3.4 kernel. Probably because here is no FrameBuffer address in my kmsg nor in devicetree.

Even checking memory.c and memory_reserve_prop, it is not set. So, here is no automatic address assignment.

Regardless. That was amazing!

EDIT: Unfortunately nigher method is working (Frame Buffer Console, LLCON) for my Nexus 5 and Nexus 5X.
[Samsung Galaxy S7 Edge Questions and Answers] salvator101:
Hi I have a galaxy s7 edge purchased from UAE

And recently when I finished my monthly quota of 1.5GB of data allowance.

I realized that Android Os is eating up every bit of my data.

Please help me get out of this, I have tried disabling and updating everything.

Tried safe mode too but still no luck.

I have searched over many forums and haven't come up with a satisfactory solution yet.

Please do help me
[Android Q&A, Help & Troubleshooting] easyX:
Hi,

I have an issue for over a year now. I am feeling kind of cursed. I try to explain my situation without too much detail.

I have a Honor 6 smartphone, after a few weeks my battery time got terrible. From 6h SoT (screen-on-time), I am now at ~2.5hrs on average. Since then, I have this battery draining thing on EACH phone.

I thought my phone was corrupt, so I ordered another Honor from Amazon (different model). I set up my Google account and installed WhatsApp. After a few full-charges, I was looking at my battery time: same terrible thing. People were getting ~7hrs SoT, my average was 2-3hrs.

I thought maybe Huawei made some mistakes with the Honor models, so I tried a OnePlus device. Guess what? Same issue.

I switched my network providers a few times. So it's not a SIM card related problem.

Is it possible that my Google account is somewhat "corrupt"? Because that's the only technical thing that's the same on each device.

It sounds like a conspiracy theory, that Google wants me to have bad battery life :D but I am serious. Could this be possible? I don't want to switch, I use many Google services (contacts, email, drive, etc)

Symptoms of my problem:

Occurs on several devices, sim cards (Austrian network providers A1, HoT, yesss), roms and android versions (from 4.4.2 to 6.0.1)

App usage of Android System is at least ~30% battery

Screen brightness around 30% auto brightness

LTE, GPS/Location, Bluetooth always disabled (I don't use these)

Battery drain while screen off: 3-5% per hour!

SoT around 50% of the values other people have (on the OnePlus I got 3hrs instead of 6, Honor devices 2.5 - 3.5 instead of 5-7)

Screenshot examples:

Does anyone have a clue? I spent too much time with rooting, factory resetting, researching, etc. in the last 14 months - now I have no idea any more.

Thanks in advance!
[Android Q&A, Help & Troubleshooting] easyX:
One more thing: I use GSam Battery Monitor, BatteryBatteryStats, Wakelock Detector - and they can't "help" me.

Is there another tool, which has even more details? I don't think so, but there has to be hope :D
[Galaxy Note 4 Q&A, Help & Troubleshooting] fredphoesh:
Hello guys,

I have tried about 6 different ROM's and even after UNROOTING my Note 4, Android Pay does not work.

It works fine with my wife's Sony Xperia z3 mini with the same bank details etc... so it isn't the bank!

Whenever I try on my Note 4, the shop tells me it failed and said I should try another card. On my phone, the lockscreen pattern comes up, even when my phone is already unlocked. (This should not happen for purchases under £30)

Any luck anyone, what ROM do you use? Rooted or un?

Cheers

Mark
[Xiaomi Mi 5 Questions & Answers] avirana:
Hi all.

I wonder, does the mi5 and mi5 pro uses the same roms?

I have the mi note pro (Leo) and it does not use the roms of the mi note (Virgo).

I want to buy mi5 but don't know which one.

if it uses the same roms, I will buy the pro, but if not, I will buy the mi5 because as the mi note have more roms than the mi note pro.

thanks all
[Xiaomi Mi 5 Questions & Answers] jonkoo27:
I'm using a mi5 pro running CM13. There is no difference between the versions besides the Storage, RAM and the processor clock speed.
[Xiaomi Mi 5 Questions & Answers] avirana:
thank you for the replay. i will download the miui8 and install it now that i know that they are the same.

hope i won't brick anything :)
[Android Q&A, Help & Troubleshooting] DevelopersWork:
Hello Everyone!:D:D:D:D:D

I had started building Cyanogenmod-11.0:angel: from source.I had sucessfully completed the repo sync and now searching for getting device tree but my device haven't had any builds at so finally I've found this Cyanogenmod porting guide.

https://wiki.cyanogenmod.org/w/Doc:_porting_intro[/URL]

;) I'am trying this guide to get device tree out my device.

Now, I've been trying Method-1 you can see image of method I'am using from attachments.

But I get errors can anyone help me.:cool:

https://wiki.cyanogenmod.org/w/Doc:_porting_intro
[Samsung Galaxy Core Prime Questions & Answers] adrian199767:
Hello XDA, you can help me with a problem.

I have a Samsung Galaxy Core Prime SM-G360F is brick hard and I would like if you can create debrick.img for this phone. I can not create it because we did not ATF Box.
[Galaxy S III Themes and Apps] veeru153:
Hey Guys,

I have a Samsung Galaxy S3 SHV-E210K. It is rooted with stock rom and Xposed framework installed and Android Version 4.4.4. Is there a way to get the theme chooser on my device. Also I do not want to lose any data. Is there a way to do this. I am Noob to Xposed and theming android....sorry :p :eek:
[XDA Assist] darkliesbehind:
Hi everyone, I hope that you can help me. My phone was rooted for quite a long time but since it was rooted it wouldn't allow me to access my banking app or PayPal or other apps that I needed to, so around a week ago I decided to unroot it with a simple unroot button in the SuperSU.

However this did not end well and when my phone was rebooting it got stuck in the boot loop and it would not load again, I tried wiping the cache which didn't help. I then wiped the phone completely and that did not help with anything.

So then I read about it and I decided to try using Odin to flash the phone with the stock firmware, and whichever firmware I used the Odin would fail and give me a "Nand write start fail". I tried for hours and day and could not get this to work.

So then I decided I would try contacting Samsung and see if they could fix it for me, they took the phone but today I got an email saying that the can't repair it because the KNOX was tripped and the warranty is voided.

So right now I don't really know what to do, do I buy a new phone?
[XDA Assist] Trafalgar Square:
Hello and welcome on XDA,

you posted this thread here:

Samsung S6 SM-G920F - Hard Bricked need help.

Thread closed.

Kind regards,

Trafalgar Square

XDA Assist
[LG G Flex 2] mcmikechan123:
How do fix this? I don't know why and how this happened all of sudden and I don't root. Pic: http://i.imgur.com/7JiG53v.jpg
[LG G Flex 2] kutulu32:
press the power button until the phone closes completely.

then try to turn on the phone again.
[LG G Flex 2] mcmikechan123:
thanks this worked, but do you know why this happened?
[LG G Flex 2] kutulu32:
Maybe you accidentally entered download mode(volume up +connect usb to pc) or you started some process that left the phone in that screen(root or something else)
[HTC Excalibur] rainmaker002:
I'm not really familiar with how IMAP works, but would the inclusion of IMAP in gmail's service essentially allow push e-mail via the built in Outlook client?
[HTC Excalibur] austinmitchell:
Unfortunately not. I don't believe that Gmail IMAP supports IDLE which would give the push and the built in client doesn't support IDLE anyway.

You can change the 'Automatic Send/Receive' to as little as 5 minutes.

Austin.
[HTC Excalibur] Fixup:
Doesn't the Flexmail support idle?

Anybody knows for sure if idle is in gmail or not?
[HTC Excalibur] ndcart:
Just try setting up to test. I tried it on my Hermes, and it worked like a champ. WM6 BTW.
[HTC Excalibur] Fixup:
ndcart, are you talking about push via idle?
[Android Q&A, Help & Troubleshooting] szocske93:
Hi. I have a ZTE Kiss 3 Max ... When i power on my phone and i unlock with my Pin Code , unfortunately appear pop-up box like: 'Unfortunately Launcher 3 has stopped' ; 'Unfortunately Settings has stopped' ; 'Unfortunately Gallery has stopped' ; 'Unfortunately com.google.process.gapps has stopped' ; etc. I can't do anything... I try to take a Hard Reset from Recovery (Volume + and Power) and when i select factory reset..... yes ..... nothing happened... When i try to connect to my PC - no recognized.

Anybody have a ideea? HELP please!

([Sorry for my bad english])!
[Android Q&A, Help & Troubleshooting] szocske93:
Please! Help me!
[Android Q&A, Help & Troubleshooting] ZmeyNet:
i have same problem with Kiss3 , but in my case [MENTION=1161413]nOt[/MENTION] all@ apps crashing just some maps apps , gplay and few other , in my case i suppose this is due to "out of memory" (256mb ram)
[Android Q&A, Help & Troubleshooting] yashag1603:
I recently purchased Micromax Canvas Spark 2 Plus Q350. It is running Android v6.0 Marshmallow. I am not able to root it by Kingoroot or Towelroot app as they always fails maybe because Marshmallow is a new android version and they do not support it yet. Is there a safe method of rooting my phone without damaging it? Also is there a way to uninstall the inbuilt Indus OS and replace it with TouchWiz OS as Indus is very bad in appearance and UI is not that good....Priority is for the first question.....Thanks...
[Android Q&A, Help & Troubleshooting] aswinp222:
stock rom needed

can someone provide me the stock rom of this phone?
[Android Q&A, Help & Troubleshooting] hayatoxda:
i think here it is