Related
"AUDIOVIDEOFIX"
Why does our LG LEON has such an awful quality sound in Whatsapp, audio recordings, and stuff? This is a mix between: Low gain for main mic, terrible noise reduction, and (for some apps like Whatsapp voice messages) low bitrate and frequency for the acc encoder.
So, the "AUDIOVIDEOFIX" will: put more gain (dB) to the main mic - set the min bitrate and frequency for the acc encoder higher, so apps like Whatsapp are forced to record in better quality (REALLY BETTER QUALITY). Cameras has also slightly higher video bitrate, which means less compression noise, and audio quality, for both frontal and main camera. Set volume a little higher for headset and speaker. Also, we will enable panorama mode and HDR for the main camera app.
How to do it?
- You need to be rooted
- Download attached AUDIOVIDEOFIX.zip file and unzip it
- Use root explorer or another file explorer that supports root and setting permissions to files
- Go to /system/etc and backup the original files before replacing them. You can copy them to your sdcard.
- Now replace those original 3 .xml with these you have downloaded from this thread.
- SET PERMISSIONS of those files as rw-r--r-- (If you don't do this, the phone might not boot again! bootloop warning)
- re-check, and be sure that the permissions are correct, same as any other file in the same folder, and everything is correct
- reboot and done!
If you are a whatsapp voice messages guy like me, smash that microphone icon and send a voice note. You will instantly notice the difference!
Camera sound quality workaround: After applying this patch, camera app will record with more volume, bitrate and frequency. But noise reduction will still be active. To avoid that, after applying this fix, download Open Camera from PlayStore and select default audio source ( should be the 3rd option in the list) in audio source, inside video recording settings. Use that new app to record videos.
---------------------------
"MULTITHREADFIX"
The "MULTITHREADFIX" will prevent the system to be SO agressive with background processes. Again using whatsapp as an example, if you put it on background while hearing some voice note, and you open other app, the audio may stop because of the process being killed by the system. LG setted up a REALLY TOO MUCH aggressive method for OOM. Also, zRam is setted too high in this device (half of physical RAM). That's why I made (thanks to the help of @Filip98 here) a FIX on init.lge.zramswap.sh located on /system/etc
How to fix?
PART A:
- You need to be rooted
- Go to /system and backup the file "build.prop" just in case of failure
- Now edit the build.prop under /system with root explorer OR use build prop editor from Play Store
Find these lines:
ro.sys.fw.mOomMinFree1=73728
ro.sys.fw.mOomMinFree2=92160
ro.sys.fw.mOomMinFree3=122880
ro.sys.fw.mOomMinFree4=204800
ro.sys.fw.mOomMinFree5=266240
ro.sys.fw.mOomMinFree6=327680
Click to expand...
Click to collapse
- Change them to:
ro.sys.fw.mOomMinFree1=10240
ro.sys.fw.mOomMinFree2=20480
ro.sys.fw.mOomMinFree3=40960
ro.sys.fw.mOomMinFree4=81920
ro.sys.fw.mOomMinFree5=122880
ro.sys.fw.mOomMinFree6=163840
Click to expand...
Click to collapse
- Save the file build.prop
- check that permissions has not changed and that you didn't mess up any other line in build prop.
- reboot and done!
PART B:
Stock zRam is setted to around 450Mb, half of instaled memory. That's why I made the attached MULTITHREADFIX, which will set zram to A THIRD of available memory (that will be 300MB actually) instead of 450MB.
- You need to be rooted
- Download attached MULTITHREADFIX.zip file and unzip it
- Use root explorer or another file explorer that supports root and setting permissions to files
- Go to /system/etc and backup original file before replacing it. You can copy the original one to your sdcard.
- Now replace the original .sh script with the one you have downloaded from this thread.
- SET PERMISSIONS as rw-r--r-- (If you don't do this, the phone might not boot again! bootloop warning)
- re-check, and be sure that the permissions are correct, same as any other file in the same folder, and everything is correct
- reboot and done!
DISCLAIMER: I'm not responsible of what you do with these fixes. Be careful. If you feel you don't really understand what you're doing, read, read read, and read. Follow instructions carefully. Tested on Leon LTE H340AR running stock Lillipop 5.0.1. But should work for all LG Leon and maybe others like Spirit. If it did, tell me.
reserved
I used your guide right now and its seems to be working perfectly
Thanks
charnoha said:
I used your guide right now and its seems to be working perfectly
Thanks
Click to expand...
Click to collapse
Thanks for the feedback. If you discover any way to disable noise supression for all camera audio path, please tell me. I'm trying to discover new stuff and, if so, I gonna upload it here.
thank you for your work, i believe the following lines in the build.prop should be responsible for that;
lge.fm_gain_control_headset=0.53
lge.fm_gain_control_speaker=0.63
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
other fluence lines
is it alright if i use your work in a tweaks compilation thread?
edit;
in system\etc there iz a file called init.lge.zramswap.sh
'# Evaluate the zram size for swap
# sz_zram=$((((memtotal_kb/4) / ${nr_zramdev}) * 1024))
sz_zram=$((((memtotal_kb/2) / ${nr_zramdev}) * 1024))'
i believe this is what you've been looking for also ;p i might want to leave it at a higher proportion tho, like memtotal_kb/3
Filip98 said:
thank you for your work, i believe the following lines in the build.prop should be responsible for that;
lge.fm_gain_control_headset=0.53
lge.fm_gain_control_speaker=0.63
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
other fluence lines
is it alright if i use your work in a tweaks compilation thread?
edit;
in system\etc there iz a file called init.lge.zramswap.sh
'# Evaluate the zram size for swap
# sz_zram=$((((memtotal_kb/4) / ${nr_zramdev}) * 1024))
sz_zram=$((((memtotal_kb/2) / ${nr_zramdev}) * 1024))'
i believe this is what you've been looking for also ;p i might want to leave it at a higher proportion tho, like memtotal_kb/3
Click to expand...
Click to collapse
Yeah,if you put the link to this original thread, there s no problem.
Great! I'll check that, respecting zram
Thanks
I've taken a closer look at your media_profiles and found
Code:
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
on line 45
and
Code:
<ImageEncoding quality="99" />
<ImageEncoding quality="90" />
<ImageEncoding quality="89" />
<ImageDecoding memCap="20000000" />
on 272-275
&
Code:
<ImageEncoding quality="99" />
<ImageEncoding quality="95" />
<ImageEncoding quality="90" />
<ImageDecoding memCap="20000000" />
on 402-405
I think thease need to be defined in line 45 and I don't understand why did you put different encoding qualities for the rear and front camera?
also I've found mismatching bitrate settings for timelapsed and non-timelapsed versions of videos? maybe to keep the size in check?
and last, i don't think a 720p profile for the front camera is going to work well, but if it does then great
Viejo, que cambios has notado con respecto a lo de la multitarea? A mi no se me cierra el whatsapp como dices vos por lo de escuchar audios pero si siento que mantiene muy pocas aplicaciones en segundo plano antes de que las tengas que volver a abrir. Por ejemplo, estas en Chrome, y cambias a Snapchat y zas, se te reinicia el Chrome.
Esos ajustes ayudan un poco con es? Gracias!
I've just updated the post with some improvements. Any feedback is appreciated. If you hitted NO on the poll, please explain why. Otherwise I will take that as a YES
Chakapack said:
Viejo, que cambios has notado con respecto a lo de la multitarea? A mi no se me cierra el whatsapp como dices vos por lo de escuchar audios pero si siento que mantiene muy pocas aplicaciones en segundo plano antes de que las tengas que volver a abrir. Por ejemplo, estas en Chrome, y cambias a Snapchat y zas, se te reinicia el Chrome.
Esos ajustes ayudan un poco con es? Gracias!
Click to expand...
Click to collapse
Si, la parte de multithread fix es la que tenes que seguir.
Follow the multithreadfix part to fix that. Please write spanish and english, forum rules.
i appreciate your work on this. just downloaded the files, will probably do the fixes tomorrow and let you know how it goes.
Nope. There's a problem with this (at least, for me). If you change the build prop there is a improved for multitasking like change between snapchat and instagram for example or Chrome-snapchat-instagram but the problem comes with the opening apps. The apps take more time to boot.
I checked this with a before-after and yes, there a plus for multitasking but a minus for starting apps
This happen to me. Dont know if anyone is with the same problem
Chakapack said:
Nope. There's a problem with this (at least, for me). If you change the build prop there is a improved for multitasking like change between snapchat and instagram for example or Chrome-snapchat-instagram but the problem comes with the opening apps. The apps take more time to boot.
I checked this with a before-after and yes, there a plus for multitasking but a minus for starting apps
This happen to me. Dont know if anyone is with the same problem
Click to expand...
Click to collapse
You should try the zram part but living original too-aggressive killers on the build.prop.
We can improve it together.
For me, it works just fine, but maybe your use is different.
Hey, leandeganis, do you know if is there any custom rom for the lg leon h320, because the original rom takes like 4.5gb and it would be great to have that space allowed to be used.
leandeganis said:
You should try the zram part but living original too-aggressive killers on the build.prop.
We can improve it together.
For me, it works just fine, but maybe your use is different.
Click to expand...
Click to collapse
My original build.prop settings were different from yours. I wonder if maybe that has to do with why your settings differ from Chakapack.
These were my values:
ro.sys.fw.mOomMinFree1=73728
ro.sys.fw.mOomMinFree2=92160
ro.sys.fw.mOomMinFree3=110592
ro.sys.fw.mOomMinFree4=153600
ro.sys.fw.mOomMinFree5=199680
ro.sys.fw.mOomMinFree6=245760
I have only done the zram multithread fix at first and noticed some improvement in speed but the apps did seem to continue to have to "relaunch" even if multitasking in another app for a few seconds. I went ahead and modified these values on build.prop and will report if there is noticeable improvements in multitasking with no other issues.
I just did the "multithread fix" (both build.prop and zram tweaks) and the difference is brutal. For example, "Relay for reddit" used to reload all the goddamned time (seriously, I couldn't even switch apps without the phone killing it) and now it works like a charm. Same thing with Chrome. I didn't notice any difference in apps startup loading times, as mentioned by Chakapack. My build.prop settings were just like OP's (my LG Leon model is H340AR), if that's of any use to anyone. Great job, OP!!
LGV_123 said:
I just did the "multithread fix" (both build.prop and zram tweaks) and the difference is brutal. For example, "Relay for reddit" used to reload all the goddamned time (seriously, I couldn't even switch apps without the phone killing it) and now it works like a charm. Same thing with Chrome. I didn't notice any difference in apps startup loading times, as mentioned by Chakapack. My build.prop settings were just like OP's (my LG Leon model is H340AR), if that's of any use to anyone. Great job, OP!!
Click to expand...
Click to collapse
Great to reaed it worked well for you! Same for me.
Problem with Panorama
Unfortunately for me, the panorama mode doesn't work on my phone. When I try to take a panorama, the app crashes. I tried using 3rd party apps but none seem to have the panorama mode. Is there any way to make it work or what can I do other than that everything else is flawless :good:
Buenas! Como va Lean? Curiosamente me llamo igual jajaj! Che boludo, me pasa q ahora q aumenté los dB del mic, me pasa q con snapchat grabo un vid y sale RE saturada la música x ej, y es un pijjjjazo eso. Después todo joya, multithread no lo probé todavía, ahora en un toquesito lo voy a mandar.
Hi! I'm actually using the AUDIOVIDEOFIX, but now that I changed the dB's of main mic, when I record something in snapchat the sound is horrible, it gets really satured.
So I've tried to unzip the file and can't, also tried to download root explorer and again can't. I have an lg leon and this isn't working. Please help!
Kernel source:
https://github.com/omnirom/android_kernel_nubia_nx609j
Device tree:
https://github.com/omnirom/android_device_nubia_nx609j
Download:
http://dl.omnirom.org/nx609j
Unofficial TWRP:
https://drive.google.com/file/d/1tEeemZJlNMJ3P5Ieu-8mlDcQtcoS2YlU/view?usp=sharing
Install TWRP:
Code:
fastboot oem nubia_unlock NUBIA_NX609J
fastboot flash recovery <image>
XDA:DevDB Information
Official Omni for Nubia Red Magic, ROM for the ZTE nubia Red Magic
Contributors
maxwen, darkobas, kldoc
ROM OS Version: 8.x Oreo
Version Information
Status: Stable
Created 2018-07-06
Last Updated 2018-07-05
First weekly build scheduled on 2018-07-07
Sweet, thanks. I'll try this on one of mine when it's out. Anything specifically not working? Does the switch still function, or is that proprietary? I haven't looked at the code for it yet.
Harfainx said:
Does the switch still function, or is that proprietary? I haven't looked at the code for it yet.
Click to expand...
Click to collapse
We use the switch for DND like on op devices
That "Game mode" is too cheesy and we have not decided what to do with that. Also there is only basic support for the led stripe (charging and notifications)
The link is gone:crying:
水利泽 said:
The link is gone:crying:
Click to expand...
Click to collapse
First weekly build scheduled on 2018-07-07 24:00 MESZ
Could take up to 6h until all builds are available
man I couldnt find the sim card network.Maybe the baseband problem?And do you guys have the original android 8.1 tester rom by nubia official?
缸情王爷 said:
man I couldnt find the sim card network.Maybe the baseband problem?And do you guys have the original android 8.1 tester rom by nubia official?
Click to expand...
Click to collapse
No idea about what modern variants exisr
缸情王爷 said:
man I couldnt find the sim card network.Maybe the baseband problem?And do you guys have the original android 8.1 tester rom by nubia official?
Click to expand...
Click to collapse
Are you a part of the test group? You should be able to find it there.
La rom oficial se puede encontrar aqui, el problema es que no trae Play Store y ahora estoy intentando flashear las Gapps
http://ui.nubia.cn/rom/detail/53
Conseguí descargar la versión V2.18 y después de instalar me pidió una contraseña de google, la cual no me aceptaba, es mia y estaba bien puesta, pero no me dejaba por lo que encendí en modo Recovery e hice Wipe Data y ya consiguió encender y ya solo saltó la actualización V2.21 y seguida tras instalarla, saltó la V2.23 que es en la que estoy ahora
sakilxda said:
La rom oficial se puede encontrar aqui, el problema es que no trae Play Store y ahora estoy intentando flashear las Gapps
http://ui.nubia.cn/rom/detail/53
Conseguí descargar la versión V2.18 y después de instalar me pidió una contraseña de google, la cual no me aceptaba, es mia y estaba bien puesta, pero no me dejaba por lo que encendí en modo Recovery e hice Wipe Data y ya consiguió encender y ya solo saltó la actualización V2.21 y seguida tras instalarla, saltó la V2.23 que es en la que estoy ahora
Click to expand...
Click to collapse
Talk a useful language
maxwen said:
Talk a useful language
Click to expand...
Click to collapse
Spanish is a languaje useless? You can use google traductor friend.
I said that you can download the Red Magic last firmware in the link. I could download V1.8 version and after install in my phone push up a new version and you can install with FOTA V2.1 and V2.3
Do you understand?
---------- Post added at 03:45 PM ---------- Previous post was at 03:42 PM ----------
IMPORTANT: This versions haven´t got Play Store
http://ui.nubia.cn/rom/detail/53
sakilxda said:
Spanish is a languaje useless? You can use google traductor friend.
Click to expand...
Click to collapse
I am not your friend
And you should stop assuming I have to do anything for you
maxwen said:
I am not your friend
And you should stop assuming I have to do anything for you
Click to expand...
Click to collapse
I do not understand why you say that, I just asked, I've been in forums for many years and it's the first time that a user gets angry for trying to be nice to him. I guess you do not usually ask for help, do you? Then good luck. And of course, we're not friends, we do not even know each other, it's a way of speaking but if I do not write to you in English it seems you do not want to help. A greeting. Pd .: Sorry for my English, I use Google translator.
---------- Post added at 03:08 PM ---------- Previous post was at 03:05 PM ----------
By the way, I have not even asked for help or asked you anything. I have provided a link to download the official Roms. I like to help without asking for anything in return.
Thank you for this rom, the best CFW for RMAGIC
Very fast rom, great peformance, seems more smooth than stock.
Very happy with it.
But cant make the RGB bar working, any tips?
---------- Post added at 01:35 PM ---------- Previous post was at 01:32 PM ----------
sakilxda said:
I do not understand why you say that, I just asked, I've been in forums for many years and it's the first time that a user gets angry for trying to be nice to him. I guess you do not usually ask for help, do you? Then good luck. And of course, we're not friends, we do not even know each other, it's a way of speaking but if I do not write to you in English it seems you do not want to help. A greeting. Pd .: Sorry for my English, I use Google translator.
---------- Post added at 03:08 PM ---------- Previous post was at 03:05 PM ----------
By the way, I have not even asked for help or asked you anything. I have provided a link to download the official Roms. I like to help without asking for anything in return.
Click to expand...
Click to collapse
Thanks for your help with the Chinese rom, i was seeking it.
I understand you, english isnt my primary language too. But this is an english forum.
Lets forget this disagreement, Helping each other, as there are still few ROM options for this phone
unegro said:
Thank you for this rom, the best CFW for RMAGIC
Very fast rom, great peformance, seems more smooth than stock.
Very happy with it.
But cant make the RGB bar working, any tips?
Click to expand...
Click to collapse
Right now I don't have enough time to really play with the led stripe aside from the basic support for charge and notifications but there are a few things possible for the future
If you build from source you can try
https://gerrit.omnirom.org/31286
That allows to test all different patterns
Ok, no problem. I can try write in English.
Finaly Nubia sent me a link with the original Beta international firmware with Google play services but I think Chinese firmware is better. My problem is that I can't Install play store. I proved all methods that I know, root, etc. Chinesse firmware is full and it have much options and adjust.
sakilxda said:
Ok, no problem. I can try write in English.
Finaly Nubia sent me a link with the original Beta international firmware with Google play services but I think Chinese firmware is better. My problem is that I can't Install play store. I proved all methods that I know, root, etc. Chinesse firmware is full and it have much options and adjust.
Click to expand...
Click to collapse
Please, send me this link, i was seeking it!
We only have the Betatester and the link isn't public.
Please, send me a private with your email ok?
unegro said:
Please, send me this link, i was seeking it!
Click to expand...
Click to collapse
Can we get a update on this rom what's working what's not features?
Hola tengo un redmi 9 y le instalaron una ROM pixel ui me da error al grabar video y aveces el sistema también se queda congelado
MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example), translation added below:
Hello I have a redmi 9 and they installed a ROM pixel ui gives me error when recording video and sometimes the system also stays frozen
You have to flash latest vendor. There is a post about latest vendor for redmi 9. You can search for it here
Hello can I install a rom for POCO M2(lava) in my redmi 9(lancelot)?
I successfully installed a Custom ROM called pixel plus ui android 12 in redmi 9. then i noticed a bug that few minutes later my device gets into a state that looks it turned OFF automatically . But it's not OFF then i have to use manual reboot to turn it on...................Any solutions????Thanks Advance.
Can anyone clarify what these two options pictured below are ment for?
Found on Samsung Galaxy S21 Ultra 5G running Android 12 one UI 4.0
Buck mode and Bypass Mode:
Found here - com.sec.android.app.status.BypassMode
No idea what the buck that would be used for
Lol I see what you've done here
But I think I figured it out - quite interestingly, it led me to a vulnerability in Android 12 BL5 on the device which in turn let me carrier unlock and bootloader unlock this Verizon G998 (qcom) which as far as I understand, hasn't been done yet.
Hola como entraste en ese menu, puede explicar
Translated by GT: Hello, how did you get into that menu, can you explain?
K0mraid3 said:
Pero creo que lo descubrí: curiosamente, me llevó a una vulnerabilidad en Android 12 BL5 en el dispositivo que, a su vez, me permitió desbloquear el operador y desbloquear el cargador de arranque este Verizon G998 (qcom) que, según tengo entendido, no tiene se ha hecho todavía.
Click to expand...
Click to collapse
Hola es posible el explicar como ingresaste al menu
Translated by GT: Hello, is it possible to explain how you entered the menu?
Carse0597 said:
Hola es posible el explicar como ingresaste al menu
Translated by GT: Hello, is it possible to explain how you entered the menu?
Click to expand...
Click to collapse
Greetings. As a courtesy, I have translated your last two posts. I will ask you politely to please be respectful and observant of XDA Rule #4 for all of your future posts.
Spoiler: XDA Rule #4
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.
Thank you for your cooperation, and have a pleasant day.
-Regards: Badger50 FSM
How did you get to this menu in the first place?
nixnixnixnix4 said:
How did you get to this menu in the first place?
Click to expand...
Click to collapse
Give me a bit and I'll figure out exactly what activity I executed to bring that up. You are going to need ADB & Fastboot platform tools to remotely excute commands, alternatively you can use "Alliance Sheild X" from the app store/Galaxy store or something similar to execute the activities (make their UI open on the device).
K0mraid3 said:
But I think I figured it out - quite interestingly, it led me to a vulnerability in Android 12 BL5 on the device which in turn let me carrier unlock and bootloader unlock this Verizon G998 (qcom) which as far as I understand, hasn't been done yet.
Click to expand...
Click to collapse
Hey brother is there any chance you could tell me exactly how you were able to unlock that bootloader? That's pretty impressive.
Is there any update on this or any info you can share in the mean time
Hey there,
so i've just updated my 11T Pro from 12.5 to 14. Unfortunately i'm not able to set pictures as a wallpaper. The Theme App simply says it can't use the picture i'm choosing as a background (either as a wallpaper or lockscreen) or it says it can't add it to the wallpaper caroussel.
Also setting the wallpaper over the gallery does not work as it always goes to the caroussel / miui theme app.
Is there any way to circumvent this or do i need to install a custom rom just so that i can use custom wallpapers which i made with the camera?
thanks and best regards
It has been due to the update, send him an email, support and comment on what happened, the same thing, they can help you.
pagero a sido por la actualizacion madale un correo soprte y coments lo que tr a sucedido lo mismo te pueden syudar
Mod. edit: post translated. alecxs