CM12.1 Camera App - G 2014 Q&A, Help & Troubleshooting

Can anyone port the CM12.1 Camera app. ( .apk or .zip file ).
Thanks

I wouldnt recommend that..
Instead Just use Google camera or Open Camera... (But your choice)
Too lazy... Just install the apk
(Dont know whether itll work or not. depending on which rom you're running on)
http://drive.google.com/file/d/0Bx8B-WYmLpHIY3ZlNm1uYXdQVkE/view

sagar846 said:
Instead Just use Google camera or Open Camera... (But your choice)
Too lazy... Just install the apk
(Dont know whether itll work or not. depending on which rom you're running on)
http://drive.google.com/file/d/0Bx8B-WYmLpHIY3ZlNm1uYXdQVkE/view
Click to expand...
Click to collapse
does it support slomo video recording at 60 fps and 120 fps ?

You can't shoot slowmotion with CM Roms , only stock .

Valentin4ou93 said:
You can't shoot slowmotion with CM Roms , only stock .
Click to expand...
Click to collapse
actually you can on moto g 2013/motox 2014. i got it working by messing with media_profiles.xml. i can try fixing it for moto g 2014 too, just give me the cm12.1 media_profiles.xml file from /system/etc/. but it will only work on moto camera app.

ask in question thread.

kraatus90 said:
actually you can on moto g 2013/motox 2014. i got it working by messing with media_profiles.xml. i can try fixing it for moto g 2014 too, just give me the cm12.1 media_profiles.xml file from /system/etc/. but it will only work on moto camera app.
Click to expand...
Click to collapse
Files are the same, just show me your modified falcon one and I might push it to CM if I confirm it working on my device.

LuK1337 said:
Files are the same, just show me your modified falcon one and I might push it to CM if I confirm it working on my device.
Click to expand...
Click to collapse
these are the additional lines needed for slowmo ( from motox2)
Code:
[COLOR="Red"]<!ATTLIST VideoEncoderCap maxHFRFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>[/COLOR]
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="65000000"
minFrameWidth="176" maxFrameWidth="3840"
minFrameHeight="144" maxFrameHeight="2160"
minFrameRate="15" maxFrameRate="120"
[COLOR="Red"] maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
maxHFRMode="120" />
[/COLOR]
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="720"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="15" maxFrameRate="30"
[COLOR="red"]maxHFRFrameWidth="0" maxHFRFrameHeight="0"
maxHFRMode="0" />[/COLOR]
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="65000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="60"
[COLOR="red"]maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
maxHFRMode="120" />[/COLOR]
slowmo will work with stock moto camera app, but there's a little problem. on stock firmware slowmo video is recorded at 120fps and runs at 15 fps (1/8 speed ) , and by this method it will record video at 120fps but it will run it at 30fps ( 1/4 speed ). atleast it's better than having nothing.

kraatus90 said:
these are the additional lines needed for slowmo ( from motox2)
Code:
[COLOR="Red"]<!ATTLIST VideoEncoderCap maxHFRFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>[/COLOR]
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="65000000"
minFrameWidth="176" maxFrameWidth="3840"
minFrameHeight="144" maxFrameHeight="2160"
minFrameRate="15" maxFrameRate="120"
[COLOR="Red"] maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
maxHFRMode="120" />
[/COLOR]
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="720"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="15" maxFrameRate="30"
[COLOR="red"]maxHFRFrameWidth="0" maxHFRFrameHeight="0"
maxHFRMode="0" />[/COLOR]
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="65000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="60"
[COLOR="red"]maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
maxHFRMode="120" />[/COLOR]
slowmo will work with stock moto camera app, but there's a little problem. on stock firmware slowmo video is recorded at 120fps and runs at 15 fps (1/8 speed ) , and by this method it will record video at 120fps but it will run it at 30fps ( 1/4 speed ). atleast it's better than having nothing.
Click to expand...
Click to collapse
Kk it actually does work, thank you for contributing to CM lol.

LuK1337 said:
Kk it actually does work, thank you for contributing to CM lol.
Click to expand...
Click to collapse
thanks , i was kinda surprised when i got it working considering im a noob.

Please upload the file.
kraatus90 said:
thanks , i was kinda surprised when i got it working considering im a noob.
Click to expand...
Click to collapse
Please @LuK1337 or @kraatus90 upload the modified file.
Does this enable HDR mode as well?

tbiwalkar said:
Please @LuK1337 or @kraatus90 upload the modified file.
Does this enable HDR mode as well?
Click to expand...
Click to collapse
don't have modified file for this device, give me original so i can modify it, or just add those red lines by yourself.
HDR in videos or photos ? if you are asking about videos then no.

Photos.
---------- Post added 28-10-2015 at 12:03 AM ---------- Previous post was 27-10-2015 at 11:43 PM ----------
kraatus90 said:
don't have modified file for this device, give me original so i can modify it, or just add those red lines by yourself.
HDR in videos or photos ? if you are asking about videos then no.
Click to expand...
Click to collapse
https://drive.google.com/file/d/0B-j7fkMgO998U21PMGh5RWZWeDA/view?usp=docslist_api

tbiwalkar said:
Photos.
---------- Post added 28-10-2015 at 12:03 AM ---------- Previous post was 27-10-2015 at 11:43 PM ----------
https://drive.google.com/file/d/0B-j7fkMgO998U21PMGh5RWZWeDA/view?usp=docslist_api
Click to expand...
Click to collapse
don't flash it,just extract and replace. enjoy

lel i changed media_profiles.xml and now it only records in 288p 15 fps and i cant switch front camera xD

kraatus90 said:
don't flash it,just extract and replace. enjoy
Click to expand...
Click to collapse
Thanks a lot! slow motion is working fine . also Camera can click pictures in HDR. only thing left is cropping slowmo videos like in stock based roms. thanks a ton @kraatus90

Related

[FIX] Voice messages

First of all, thank user @Bobgle for the fix. He killed the fish with that, so big kudos.
I just had to add a little line of code to the /system/etc/media_profiles.xml. I know it's not your rom which has the problem, I'll tell the other developer how to fix it as well. I first found out that it was a common problem through your NOPE Kernel FAQ, though, so it's definitely worth adding.
This is the line of code:
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
Has to go right between these two and should look like this:
Code:
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="8000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
Once you've done that it's working. I also replaced this line in the media_codecs.xml:
Code:
<MediaCodec name="AACEncoder" type="audio/mp4a-latm" />
with:
Code:
<MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm" />
I'm not sure if that was necessary. Anyway, it's working.
Click to expand...
Click to collapse
I've put his message in the spoiler. I'll put it simply below, hopefully correctly.
-Open /system/etc/media_profiles.xml
-Find
Code:
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="8000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
-After that line of code squeeze in this:
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
-Save and close
-Open: media_codecs.xml (Same folder.)
-Find:
Code:
<MediaCodec name="AACEncoder" type="audio/mp4a-latm" />
-Replace the line with:
Code:
<MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm" />
-Save, close reboot.
Post results, and stuff and hopefully he will be able to answer stuff. The issue was in the ROM itself apparently, so it should work for any CM10 based such.
Edit: Of course, since this is not thoroughly tested, make sure you do a backup before you edit anything.
Not helped.
Desire C,MiniCMv7,NOPE Kernel
Dark_AssassinUA said:
Not helped.
Desire C,MiniCMv7,NOPE Kernel
Click to expand...
Click to collapse
I'm using the CyanogenMod10 (Build #3 by cute_prince) so I guess that MiniCM uses different encoders and decoders. I'll take a look at it, the fix should be similar.
Edit: Okay, it seems to be completely the same. The encoder should be included and working, are you sure you've edited all the things you have to edit? I was just messing around so I don't know what exactly I've changed, it could be that I've forgotten something, I'll upload my files. I've taken these directly from my phone where voice messages are working flawlessly with WhatsApp and Facebook.
To test if your aac encoder is now working, you could try downloading a recorder which supports the filetype. I used Easy Voice Recorder. Make sure to select AAC.
The problem with voice messages was simply that most apps use aac files, most cm roms did have the codec, but it simply wasn't registered in the files.
Edit2: If it still doesn't work after pushing my files in the correct directory (/system/etc/) try clearing all the caches (dalvik cache, too). If it isn't working after you did that, I would guess that this fix only works for cute_prince's rom.
Bobgle said:
I'm using the CyanogenMod10 (Build #3 by cute_prince) so I guess that MiniCM uses different encoders and decoders. I'll take a look at it, the fix should be similar.
Edit: Okay, it seems to be completely the same. The encoder should be included and working, are you sure you've edited all the things you have to edit? I was just messing around so I don't know what exactly I've changed, it could be that I've forgotten something, I'll upload my files. I've taken these directly from my phone where voice messages are working flawlessly with WhatsApp and Facebook.
To test if your aac encoder is now working, you could try downloading a recorder which supports the filetype. I used Easy Voice Recorder. Make sure to select AAC.
The problem with voice messages was simply that most apps use aac files, most cm roms did have the codec, but it simply wasn't registered in the files.
Edit2: If it still doesn't work after pushing my files in the correct directory (/system/etc/) try clearing all the caches (dalvik cache, too). If it isn't working after you did that, I would guess that this fix only works for cute_prince's rom.
Click to expand...
Click to collapse
Wow,it`s working!
Huge thanks from Ukraine!
From newbies(like me) made flashable zip
Dark_AssassinUA said:
Wow,it`s working!
Huge thanks from Ukraine!
From newbies(like me) made flashable zip
Click to expand...
Click to collapse
Glad I could help.
wwooowwwww .....thnxx bro...really it worked....i always had to switch back to sense bcoz of voice message problem in watsapp n other such apps...u saved my life...

[Guide] AC3 sound for stock player & others

How to add support for AC3 audio format​
Guide (need root):
1. Put the file media_codecs.xml in the folder system/etc
2. Put the files libsac3d.so & libsomxac3d.so in the folder system/lib
3. Set permissions to all 3 files: 0644 (owner: root/root)
4. Reboot
Thanks to: Pako777
Download:
View attachment AC3_Tab_S.rar
what is it ? ^^
androidrouen said:
what is it ? ^^
Click to expand...
Click to collapse
Stock player can not play the AC3 audio format (the video can be seen but there is no audio). With this trick the problem disappears..
Nice.
A word of caution
Set the permissions of all 3 files (and not only the last 2... ) to 0644, otherwise you end up with the software video mode...
Niice more reason for me to root this beauty..
Sent from my SM-T705 using Tapatalk
works great thanks
A few days ago I configured a Tab S 10.5 for a relative. They will not root so I installed the free version of MX Player and its ARM7 codec package. This gave me AC3 support without rooting and the loss of the warranty. I also configured MX Player to use HW+ acceleration for all playback.
If the tablet was mine I would have rooted within 10 minutes of confirming that all the hardware works, so I'm only mentioning this alternative for non-root users that want to play AC3 content. I personally bought MX Player Pro as the app is the best video player for Android as far as I'm concerned.
P.S. Thanks for this valuable post.
Sent from my Nexus 10 using XDA Premium HD app
3DSammy said:
I installed the free version of MX Player and its ARM7 codec package. This gave me AC3 support without rooting and the loss of the warranty.
Click to expand...
Click to collapse
Thanks.
Thank you very much.
Any reason why would samsung remove this libs when they are present in older note 3 phones ?
leojab said:
Thank you very much.
Any reason why would samsung remove this libs when they are present in older note 3 phones ?
Click to expand...
Click to collapse
Save money on licensing it for these series of tablets?
Is there a way to also get DTS?
Could anyone guide on how to play Ultra HD videos?
I am not able to play them either through MX with all custom codecs installed and not even through the built in video player with the additional libraries.
no sound on AVCHD.mts (has ac3 from Sony DSC-HX
MX Player with S/W or H/W+ Decoder plays it with Sound (not the H/W Decoder). I installed the files and corrected the permisssion, but still no sound with the preinstalled Video app. it says "no Audio ... not supported Audio codec"
here is the format info:
Code:
Vollständiger Name : \PRIVATE\AVCHD\BDMV\STREAM\00401.MTS
Format : BDAV
Format/Info : Blu-ray Video
Dateigröße : 89,1 MiB
Dauer : 28s 253ms
Modus der Gesamtbitrate : variabel
Gesamte Bitrate : 26,4 Mbps
maximale Gesamtbitrate : 28,0 Mbps
Audio
ID : 4352 (0x1100)
Menü-ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format_Settings_ModeExtension : CM (complete main)
Format-Einstellungen für Endianess : Big
Codec-ID : 129
Dauer : 28s 320ms
Bitraten-Modus : konstant
Bitrate : 256 Kbps
Kanäle : 2 Kanäle
Kanal-Positionen : Front: L R
Samplingrate : 48,0 KHz
BitDepth/String : 16 bits
Stream-Größe : 885 KiB (1%)
Video
ID : 4113 (0x1011)
Menü-ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : [email protected]
Format-Einstellungen für CABAC : Ja
Format-Einstellungen für ReFrames : 2 frames
Format_Settings_GOP : M=1, N=12
Codec-ID : 27
Dauer : 28s 320ms
Bitraten-Modus : variabel
Bitrate : 25,1 Mbps
maximale Bitrate : 26,0 Mbps
Breite : 1 920 Pixel
Höhe : 1 080 Pixel
Bildseitenverhältnis : 16:9
Bildwiederholungsrate : 50,000 FPS
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8 bits
Scantyp : progressiv
Bits/(Pixel*Frame) : 0.242
Stream-Größe : 84,8 MiB (95%)
Text
ID : 4608 (0x1200)
Menü-ID : 1 (0x1)
Format : PGS
Codec-ID : 144
Dauer : 27s 775ms
I also looked at the differences in the .XML:
Code:
<MediaCodec name="OMX.google.vpx.decoder" type="video/x-vnd.on2.vp8" />
instaed of
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" />
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" />
additional
Code:
<MediaCodec name="OMX.SEC.hevc.sw.dec" type="video/hevc" >
<Quirk name="decoder-ignores-streamcorrupt-error" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.mpeg4.enc" type="video/mp4v-es" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="video-controller-check-enable" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.h263.enc" type="video/3gpp" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="video-controller-check-enable" />
</MediaCodec>
<MediaCodec name="OMX.Exynos.avc.enc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="video-controller-check-enable" />
</MediaCodec>
TheGoD said:
Is there a way to also get DTS?
Click to expand...
Click to collapse
MX Player allows you to install custom decoders. There is an XDA forum that publishes the DTS decoder file which you can add to MX Player. No root is required but sometimes when MX Player is updated you'll have to wait until the DTS decoder is also updated. That's not a big deal just something you'll need to I aware of. This is a licensing issue and a work around. A long time ago MX Player included DTS support with the player install.
Sent from my Nexus 10 using XDA Premium HD app
Thanks, I know about that. Would prefer to get a solution for the stock player though too.
TheGoD said:
Thanks, I know about that. Would prefer to get a solution for the stock player though too.
Click to expand...
Click to collapse
Could one of you please upload a media file (Video would be best) with AC3 that works for him ... so I can test
Why do you guys try XBMC?
Sent from my Galaxy Note 2
needs testing
Could one of you please upload a media file (Video would be best) with AC3 that works for him ... so I can test
I dont think its a good idea just to take the media_codecs.xml from here, as it has more changes than just AC3. I'd suggest to just add those lines to your original media_codecs.xml
Code:
<MediaCodec name="OMX.SEC.ac3.dec" type="audio/ac3" >
<Quirk name="needs-flush-before-disable" />
<Quirk name="decoder-ignores-streamcorrupt-error" />
</MediaCodec>
I m still not having AC-3 sound on my AVCHD.mts video files. Stock video player says unknown audio codec.

Enable Noise Cancellation in Temasek

Flash the provided zip it will enable noise cancellation in temasek
And edit the build prop like this
persist.audio.fluence.audiorec=true
persist.audio.fluence.speaker=true
All thanks to kumajya
Nirbhay2 said:
Flash the provided zip it will enable noise cancellation in temasek
And edit the build prop like this
persist.audio.fluence.audiorec=true
persist.audio.fluence.speaker=true
All thanks to kumajya
Click to expand...
Click to collapse
There is no persist.audio.fluence.audiorec. Only persist.audio.fluence.voicerec. Should I add it to build.prop?
This should do it
actually you need add following 4 lines for Qualcomm fluence in build.prop
ro.qc.sdk.audio.fluencetype=fluence persist.audio.fluence.voicecall=true persist.audio.fluence.voicerec=false persist.audio.fluence.speaker=true
fluencetype can be "none" "fluence" or "fluencepro"
also this should work in all custom ROMs since it is a feature of snapdragon 410

build.prop tweaks [Signal,Rotation,Performance,Boot,Camera - Tweaks]

Just copy and paste this codes into your build.prop
Method 1
If you don't know about editing build.prop then better download build.prop editor from playstore and then add this codes. After editing save it and reboot your mobile.
Method 2
Open Root --> System --> build.prop
Open build.prop as a text file and start editing and then save as it is, reboot mobile.
#im not responsible for anything you do to your mobile, proceed at your own risk #im not the creator of this build.prop this props are common from android #dont forget to hit the like button.
1 - Power Saving
Code:
ro.mot.eri.losalert.delay=1000 (could brake tethering.)
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
ro.mot.eri.losalert.delay=1000
2 - 3G tweaks.
Code:
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
3 - Disables logcat
Code:
logcat.live=disable
4 - Screen recognizes only two fingers.
Code:
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
5 - Support for ipv4 and ipv6.
Code:
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
6 - Phone rings immediately.
Code:
ro.telephony.call_ring.delay=0
ring.delay=0
7 - Disables blackscreen issue after a call.
Code:
ro.lge.proximity.delay=25
mot.proximity.delay=25
8 - Better signal.
Code:
persist.cust.tel.eons=1
9 - Better call voice quality.
Code:
ro.ril.enable.amr.wideband=1
10 - Disable notification while adb is active
Code:
persist.adb.notify=0
11 - improved performance
Code:
debug.performance.tuning=1
12 - Faster boot.
Code:
ro.config.hw_quickpoweron=true
13 - Enable Auto Rotation on Lock Screen
lockscreen.rot_override=true
14 - Enable Auto Rotation on Home Screen
log.tag.launcher_force_rotate=VERBOSE
15 - Force 270-Degree Rotation on All Apps
windowsmgr.support_rotation_270=true
16 - camera api2
persist.camera.HAL3.enabled=1
If you want all the tweaks above copy and paste the below codes
ro.mot.eri.losalert.delay=1000
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
ro.mot.eri.losalert.delay=1000
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
logcat.live=disable
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.telephony.call_ring.delay=0
ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
persist.cust.tel.eons=1
ro.ril.enable.amr.wideband=1
persist.adb.notify=0
debug.performance.tuning=1
ro.config.hw_quickpoweron=true
lockscreen.rot_override=true
log.tag.launcher_force_rotate=VERBOSE
windowsmgr.support_rotation_270=true
persist.camera.HAL3.enabled=1
Don't forget to reboot the mobile after editing the build.prop
Hit like if you like my work.
Credits
Me + @Er Ic Ks
This is my personal build.prop I use in my Resurrection Remix rom. If you want it you can give it a try https://mega.nz/#!BCJmXSpQ!qvsNPiYi0ctHLKJ4y05bR4yGnHZ7HQ6Q0e9VfEdLRLo
Before using my moded build prop take your build.prop backup.
Any bad impact on the device after using the tweaks? Any?
Any con?
YoYoRishi said:
Any bad impact on the device after using the tweaks? Any?
Any con?
Click to expand...
Click to collapse
No !!
Attention guys,
Request any app, theme or Mod thread moved to guides and discussion page.
#14 not working for me
zao.remy said:
#14 not working for me
Click to expand...
Click to collapse
Make sure you enabled rotation in launcher setting
Wonder Wicked Witch said:
Make sure you enabled rotation in launcher setting
Click to expand...
Click to collapse
I have. Only the home screen does not rotate. I'm using Remix Resurrection custom ROM
zao.remy said:
I have. Only the home screen does not rotate. I'm using Remix Resurrection custom ROM
Click to expand...
Click to collapse
I'm also using RR rom and everything works fine.
Wonder Wicked Witch said:
I'm also using RR rom and everything works fine.
Click to expand...
Click to collapse
Can you please recheck the code what you've uploaded? I've downloaded the build.prop app and entered the code in the last line and saved it. That's the way?
zao.remy said:
Can you please recheck the code what you've uploaded? I've downloaded the build.prop app and entered the code in the last line and saved it. That's the way?
Click to expand...
Click to collapse
There is nothing to edit, it's fine dude, I will upload a mod build.prop for RR rom in few mins.
This is my build.prop I use RR rom, if you want you can replace it with mine.
Download link https://mega.nz/#!BCJmXSpQ!qvsNPiYi0ctHLKJ4y05bR4yGnHZ7HQ6Q0e9VfEdLRLo
Take backup of your current rom before replacing.
Thanks man but when I try the camera API 2. It lags on camera and don't record 4k on my stock rom. And all the camera features remove like slow mo. Hdr.pro. etc btw thanks for working for p2
Tarif.tk said:
Thanks man but when I try the camera API 2. It lags on camera and don't record 4k on my stock rom. And all the camera features remove like slow mo. Hdr.pro. etc btw thanks for working for p2
Click to expand...
Click to collapse
My pleasure dude, if you don't want camera api2 remove this line inside build.prop (open as text file or use build prop editor)
persist.Camera.HAL3.enabled=1 and reboot

Incall Volume fix + Crystal clear audio recording mod v3.0

Helllo , friends I am developed this mod for users who love recording .....!
Steps to install this mod :
TWRP and Other recovery
then install this from recovery
reboot system and enjoy clear crystal clear recording.
Features of this mod :
Incall volume fixed.
Noiseless recording.
also working same for nougat and oreo roms only files is different....!
Downloads:
Nougat:
https://www.androidfilehost.com/?fid=746010030569959423
Oreo:
https://www.androidfilehost.com/?fid=962187416754465960
Your mod gave me static sound in recording.
Sushant9096 said:
Hello welcome all of you , I am developed this mod of crystal clear audio recording for users who loved recording and use starmaker and another applications like this.....
Let's enjoy my mod ......
Must remember your device is unlocked for install this mod...!
Steps to install this mod :
TWRP and Other recovery
then install this from recovery
reboot system and enjoy clear crystal clear recording.
Downloads :
Crystal clear recording mod v1.0:
How To Download :
1 . Search redmi 4x androidfilehost on google
2 . Go to Redmi 4x downloads
3 . find my name sushant9096
4 . go to sushant9096 files
5 . go to crystal clear recording mod
6 . then download file in this folder
Click to expand...
Click to collapse
Instead if this long process just give link of your file here,
Can't find
Het OP, why not save a lot of typing and post direct link?
https://androidfilehost.com/?w=files&flid=252043
Looks like you changed the ACDB id for mic to 2 (default is 4, other mods use 1)
Can you explain? Is this for Nougat and Oreo?
Cheers
I am unable to post links because I am new user in xda so my account not have allowed to post external link
...thank you @tweakradje
@Sushant9096 Ah I see. You're welcome.
@Sushant9096
I have looked at the new files. Can you tell me where you get all the ACDB profile id's from? From audio.primary.msm8937.so? The acdb profiles databases cannot be read without Qualcomm tools. (/etc/acdbdata/*acdb)
I don't think it is very useful to override every device's acdb id in audio_platform_info.xml
in the <acdb_id> section.
In this case you want other acdb profile for recording in stereo?
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="21"/>
Other acdb sound profiles to try: (assuming that are defaults from your audio config file)
SND_DEVICE_IN_MAIN_MIC acdb_id="4"
SND_DEVICE_IN_TOP_MIC acdb_id="11"
SND_DEVICE_IN_FRONT_MIC acdb_id="11"
SND_DEVICE_IN_HANDSET_DMIC_MUSIC acdb_id="21" <--- I took this profile
SND_DEVICE_IN_HANDSET_DMIC_VOICE acdb_id="533"
SND_DEVICE_IN_HANDSET_DMIC_INTERVIEW acdb_id="1045"
SND_DEVICE_IN_HANDSET_DMIC_HD acdb_id="2581" <--- Interesting profile
If your mappings are correct and represent the default profiles id's in your audio_platform_info.xml then acdb id 21 is the audio profile for SND_DEVICE_IN_HANDSET_DMIC_MUSIC
Of course you need to disable Fluence for audio recording too with this line in build.prop
persist.audio.fluence.audiorec=false
Please tell more about how you get this so we can learn.
Cheers
tweakradje said:
@Sushant9096
I have looked at the new files. Can you tell me where you get all the ACDB profile id's from? From audio.primary.msm8937.so? The acdb profiles databases cannot be read without Qualcomm tools. (/etc/acdbdata/*acdb)
I don't think it is very useful to override every device's acdb id in audio_platform_info.xml
in the <acdb_id> section.
In this case you want other acdb profile for recording in stereo?
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="21"/>
Other acdb sound profiles to try: (assuming that are defaults from your audio config file)
SND_DEVICE_IN_MAIN_MIC acdb_id="4"
SND_DEVICE_IN_TOP_MIC acdb_id="11"
SND_DEVICE_IN_FRONT_MIC acdb_id="11"
SND_DEVICE_IN_HANDSET_DMIC_MUSIC acdb_id="21" <--- I took this profile
SND_DEVICE_IN_HANDSET_DMIC_VOICE acdb_id="533"
SND_DEVICE_IN_HANDSET_DMIC_INTERVIEW acdb_id="1045"
SND_DEVICE_IN_HANDSET_DMIC_HD acdb_id="2581" <--- Interesting profile
If your mappings are correct and represent the default profiles id's in your audio_platform_info.xml then acdb id 21 is the audio profile for SND_DEVICE_IN_HANDSET_DMIC_MUSIC
Of course you need to disable Fluence for audio recording too with this line in build.prop
persist.audio.fluence.audiorec=false
Please tell more about how you get this so we can learn.
Cheers
Click to expand...
Click to collapse
@tweakradje
Fluence is needed for noiseless audio recording , Check my mod by recording something you like and see clarity and then give me feedback.
Fluence is already disabled..in build.prop
Sushant9096 said:
@tweakradje
Fluence is needed for noiseless audio recording , Check my mod by recording something you like and see clarity and then give me feedback.
Fluence is already disabled..in build.prop
Click to expand...
Click to collapse
I am looking into it.
Can you answer this: Can you tell me where you get all the ACDB profile id's from?
Thanks
tweakradje said:
I am looking into it.
Can you answer this: Can you tell me where you get all the ACDB profile id's from?
Thanks
Click to expand...
Click to collapse
@tweakradje
Join Qualcomm Developer Network and another devices source code of Xiaomi devices like redmi 4x to know more acdb_id profiles
Your Welcome....!
@Sushant9096 Thanks for the info!
tweakradje said:
@Sushant9096 Thanks for the info!
Click to expand...
Click to collapse
@tweakradje
Your Welcome....!
speaker stopped working! How to uninstall it??
sayansadhukhan62 said:
speaker stopped working! How to uninstall it?
Click to expand...
Click to collapse
If you are using pure kernel then its not my mod issue my mod isnt supported for this kernel so change your kernel to lh or stock kernel ....!
Let me share my findings to get perfect calibrated stereo professional sound recording for Redmi 4X Nougat.
in /etc/audio_platform_info.xml only add one override line in the acdb_ids section:
Code:
<!-- dual mic for video and audio recording (def 34), override with SND_DEVICE_IN_HANDSET_DMIC_MUSIC acdb_id 21 -->
<!-- with acdb id 4 set "DEC1/2 Volume" max to 94, else use 104 -->
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="21"/>
in /etc/mixer_paths_qrd_sku1.xml increase default recording volume. Make sure there is no extra "DEC1 Volume" lines in handset-stereo-dmic-ef or speaker-dmic-endfire path. (presuming you are not using broadside)
Code:
<!-- tweakradje increase default recording level from 84, if acdb id is 4 then max 94
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" /> -->
<ctl name="DEC1 Volume" value="104" />
<ctl name="DEC2 Volume" value="104" />
You can override the recording level anytime with for example:
Code:
adb shell su -c tinymix 'DEC1 Volume' 114
adb shell su -c tinymix 'DEC2 Volume' 114
Someone should build an mixer app for setting recording levels.
You can increase volume levels at any time with this for example:
Code:
adb shell su -c tinymix 'RX1 Digital Volume' 92
adb shell su -c tinymix 'RX2 Digital Volume' 92
adb shell su -c tinymix 'RX3 Digital Volume' 92
That is it. Please try and let us know.
tweakradje said:
Let me share my findings to get perfect calibrated stereo professional sound recording for Redmi 4X Nougat.
in /etc/audio_platform_info.xml only add one override line in the acdb_ids section:
Code:
<!-- dual mic for video and audio recording (def 34), override with SND_DEVICE_IN_HANDSET_DMIC_MUSIC acdb_id 21 -->
<!-- with acdb id 4 set "DEC1/2 Volume" max to 94, else use 104 -->
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="21"/>
in /etc/mixer_paths_qrd_sku1.xml increase default recording volume. Make sure there is no extra "DEC1 Volume" lines in handset-stereo-dmic-ef or speaker-dmic-endfire path. (presuming you are not using broadside)
Code:
<!-- tweakradje increase default recording level from 84, if acdb id is 4 then max 94
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" /> -->
<ctl name="DEC1 Volume" value="104" />
<ctl name="DEC2 Volume" value="104" />
You can override the recording level anytime with for example:
Code:
adb shell su -c tinymix 'DEC1 Volume' 114
adb shell su -c tinymix 'DEC2 Volume' 114
Someone should build an mixer app for setting recording levels.
You can increase volume levels at any time with this for example:
Code:
adb shell su -c tinymix 'RX1 Digital Volume' 92
adb shell su -c tinymix 'RX2 Digital Volume' 92
adb shell su -c tinymix 'RX3 Digital Volume' 92
That is it. Please try and let us know.
Click to expand...
Click to collapse
Thank you for this useful info I will try this In next version of my mod...
I'm currently using "Sound Fix v1" by thejayyadav (Magisk module)
Which is the main difference with yours? ?
Do this mod affect smule app ? Or other karaoke app? I means "noiseless"
Hey @Sushant9096, is this mod compitible for other devices like redmi 3s

Categories

Resources