yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] cerg2010cerg2010:
I'M NOT RESPONSIBLE FOR YOUR DEVICE! USE AT YOUR OWN RISK!

There is an app called AlsaPlayer which can play loseless FLAC/APE audio without using android's APIs.

You can read about the player and it's benefits in original thread: https://xdaforums.com/general/general/hi-fi-playback-android-developers-t3011925

Source code with my changes: https://github.com/cerg2010cerg2010/alsaplayer

So I made it to work on our device, all you need is attached apk and a kernel that allows writing to "RX1 Mix Digital Volume" and "RX2 Mix Digital Volume" controls. For example, AGNi 12.9 doesn't allow us to do this, but the stock kernel from LokManSiu's repo works fine. I didn't tried the others.

_Currently_ playback works only with headphones. Also if you want to play mp3/aac/others with this player (without android of course), go to Settings -> Device name and choose (Compress1). This will utilze your codec instead of software decoding and reduce CPU usage and power consumption. Full list of formats supported by our device: https://github.com/rn3-los15/androi...oc/msm/qdsp6v2/msm-compress-q6-v2.c#L656-L667

And if you want to see or change your codec settings then find an app called "AlsaMixer" and use a patched kernel that workarounds errors when reading ALSA controls. You can find my "ALSA-friendly" kernel in attachment, it is based on LineageOS from LokManSiu. I'm also attached a patch with my changes.

If you are a random guy who wants this on your own device, there is a short info on cards.xml configuration:

First of all, you need your card name. You can get it from /proc/asound/cards. For example:

0 [msm8976tashalit]: msm8976-tashali - msm8976-tashalite-snd-card
msm8976-tashalite-snd-card

card name will be "msm8976-tashalite-snd-card".

Next thing is paths. You need to figure out how codec needs to be prepared. This info lies in mixer_paths.xml in /system/etc or /vendor/etc. Search for paths called "deep-buffer-playback", "low-latency-playback", "compress-offload-playback", etc. Put values from there to "device" section.

And a device number. See /proc/asound/pcm. Example:

00-09: (Compress1) : : playback 1

Device number is 9.

Volume is hard one because android changes it with software, so you can't see any difference when dumping control vars (at least in my case). Use AlsaMixer and guess...

This blog post can help you: https://arunraghavan.net/2016/01/audio-devices-and-configuration/
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] mehrshad.shafaghi:
Cool. Will try and report

---------- Post added at 12:56 AM ---------- Previous post was at 12:41 AM ----------

Couldn't play any format except for MP3.

What's the use of having a hi-res player if you can't play a hires file? I read from the original thread that flac and ape are supported but donno why mine doesn't.

Plus, the UI is nothing to write home about. I wouldn't use it even if it worked correctly. I hope you can design a better UI.
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] cerg2010cerg2010:
Lol, this is a config issue... Maybe you need to change mixer_path in /sdcard/.alsaplayer/cards.xml. Can you please attach logcat & dmesg output? Which rom you are using?

And player design really looks bad, I'm not a professional designer but I can try to do something with that. Thanks for the report!
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] mehrshad.shafaghi:
I took a logcat during using the app and trying to play a flac file (which leads go the error message). Then I rebooted the device so the dmesg would be smaller and easier to read. I hope the logs help
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] cerg2010cerg2010:
Ok, I can't find something useful in logcat, except that you're playing a file from external sdcard, try to put it in internal storage. And I didn't mentioned that I don't need the boot dmesg, I need it after the initialization error happens. Thanks!
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] mehrshad.shafaghi:
Damn. **** got a bit complicated.

So this is what's happened: I played a 24/192 flac file from the SDcard, didn't play (no sound, to be percise. No error pop-up). Then I copied that file to the root of internal storage. It's working now.

Then I went back to it's original folder in SDcard, all of the files from that folder are also working now. But the other folders' flac files still don't work.

Btw, the player sometimes makes a cracking sound after you resume the song

P.S: I used the application after reboot and before taking the dmesg. However I can still take new ones without rebooting if you want

Update: It's crashing again. I've attached the logs
[Xiaomi Redmi Note 3 Themes, Apps, and Mods] cerg2010cerg2010:
Hmm, that's strange... I though that was a permission issue (and maybe it is), but in dmesg I see a similar errors when I got headphone output not configured because of wrong path to mixer_paths.xml file, but in previous logcat it is read correctly (can't see anything related to it in new logcat because it's loaded when you start the player). Maybe Android is in conflict with the player? Try to select other device in settings, and choosing (Compress1) should fix the crackling sounds also.
[Android Q&A, Help & Troubleshooting] TheUnlockedBootloader:
Recently, I've unlocked my bootloader, installed TWRP custom Recover and rooted my phone. Then I installed the proxy Google play Store to hack a game. But now, when I turn off the proxy Google play Store and try to download and app that needs an object it just says:"Install failed. Error code 0" or something like that.

It works with normal apps that don't have an obb file.

I have a Huawei Mate 10 Lite(RNE-L21) with the Android version 7.0 and the EMUI version 5.1.

If anyone wants to know what app I'm trying to download, it's pixel gun 3d. Yes, I do know that I could just download the apk from the Internet and download the obb file but 2hat I'm trying to do is to connect to one of my Google play Store accounts that has cloud data on it. But when you install an apk you won't be able to log into your Google play Store account.

Has anyone got a solution to this?
[ZTE Axon 7 Themes, Apps, and Mods] tron1:
[MOD]Restore "lock the Bootloader" message after installing nfounds Bootstack O_B12

I missed my start options after installing nfounds Bootstack. So I hacked this little file to get them back.

Just flash in TWRP and your boot options are back.

After leaving nfounds TWRP you'll see a short distortion of the screen. This seems to be the normal behaviour for this constellation of code ;)

Sorry #nfound I love your work. But in this special case I'm not with you that we don't have a choice to have this bootmessage or not.
[ZTE Axon 7 Themes, Apps, and Mods] J0nhy:
Is this for the g only? Or will it work in the U version too? Thanks
[ZTE Axon 7 Themes, Apps, and Mods] tron1:
This should‘nt be necessary for the U version.
[ZTE Axon 7 Themes, Apps, and Mods] nfsmw_gr:
Hey man, thanks for this.

I'm on B01 G Oreo ROM, can I use this or would this cause trouble?
[ZTE Axon 7 Themes, Apps, and Mods] tron1:
I don't see any trouble in your case. Try it.
[ZTE Axon 7 Themes, Apps, and Mods] BaamAlex:
Works. Thx for this.
[LG V30 Questions & Answers] Hisma:
Hey guys, I have a rooted US998 with magisk running on oreo. I was able to successfully install the latest viper4android, version 2.5.0.4, and driver installation went well. I rebooted, and when I check driver status, it says "enabled: yes status: normal". So you would think everything would be working fine. However, when I enable V4A, I hear no difference in the sound. I have an eq and several other changes, so I should definitely hear a difference in SQ when I enable V4A. I have tried both in neutron and poweramp. In poweramp, I turned off DVC (direct volume control), as the app suggest.

Any suggestions? To me, it seems that something on the phone is "overriding" the V4A output settings.

Thanks!
[LG V30 Questions & Answers] Hisma:
i can also confirm that turning the quad dac on or off makes no difference. Viper still doesn't do anything.
[LG V30 Questions & Answers] ricohz:
[/ATTACH]Working fine here

I've installed it with magisk

It's version 2.5.05
[LG V30 Questions & Answers] Hisma:
you are using an earlier version than I am. I am going to uninstall the version I have now, and try to install through magisk modules the version you have and see if it works.

The version I installed was an apk downloaded from the official xda app thread.
[LG V30 Questions & Answers] Hisma:
son of a gun, that did it! I just installed the earlier version of v4a in the official thread and flashed the zip in twrp, rebooted, and all was good. Upon closer look, it seems that version that I used that was an apk install is actually an unofficial version of the app (despite being fully recognized as a magisk module). Too bad, I liked the UI much better :o. But glad to see it's now working. So anyone having issues w/ v4a, install the zip via recovery using the official app, not the unofficial apk.
[LG V30 Questions & Answers] ChazzMatt:
You can edit your thread topic to say SOLVED.

Sent via open market LG US998 V30/V30+
[LG V30 Questions & Answers] XCaliburX:
If you like the material design that much, you can get the material look back. Reflash that same Viper4Android. Just pay close attention to the installation log in Magisk Manager and press Up on the Volume when it says "Test mode". Then you can select the "Material" design instead of Original before selecting which sound driver version you'd like.
[LG V30 Questions & Answers] Sony92:
I would like to know what you are saying about the sound with DAC in connection with Viper4Android. Is there now Rome, where you can turn on the DAC, but not the default settings of LG has? because I found that faked the sound with Viper. Would be glad about feedbacks. I'd love to use only viper, but with the built in DAC together it sounds better again. but just without the stupid sound profiles of LG.
[LG V30 Questions & Answers] BROKEN1981:
So are you saying you chose the older version in the magisk module?

Nothing I do seems to work.
[LG V30 Questions & Answers] Ainz_Ooal_Gown:
Install the fallowing Magisk Modules ViPER4Android FX, Audio Compatibility Patch, Audio Modification Library and Selinux Permissive reboot and you should be good to go.
[Sprint LG G5 Questions & Answers] Truepeace:
Whenever I want to follow some directions using Google Maps, the blue dot that is there when I start the directions feature doesn't turn into the blue arrow that shows my car moving in real time or does it after I have been moving in the car after like 3 minutes on a known highway, and even when the blue arrow appears sometimes it says that GPS signal lost and searching for GPS.

I tried clearing cache of all related Google apps, uninstalling/resetting the Google Maps app to factory default but this didn't fix it for me.

Any suggestion?

Thanks.
[Sprint LG G5 Questions & Answers] ekco06:
In not a software issue its the gps wire inside the phone that looses its connection and make the gps wonder. You'll have to take the phone

Apart for a temp yea i said temp fix. Sorry but lg really failed onthis one....
[Xiaomi Redmi 4 Prime Questions & Answers] Roket1428:
Wich is the best rom (Treble)? The most stable i mean. Please give an answer
[Xiaomi Redmi 4 Prime Questions & Answers] yuba15:
I vote for pixel experience by sonicbsv.. I have been using it for 48 hours, no bug found so far, very stable.. It's just less costumization compare to LOS though.. But it's perfect for me, as I'm fans of Google devices ?
[Xiaomi Redmi 4 Prime Questions & Answers] hendy_:
Can you provide the download link here mate..?

Thx be4
[Xiaomi Redmi 4 Prime Questions & Answers] lunaticDIY:
Pixel Experience by SonicBSV. Everything works fine. The best custom rom for 8.1
[Xiaomi Redmi 4 Prime Questions & Answers] yuba15:
https://4pda.ru/pages/go/?u=https:/.../1lGlSNE6ZIwSAHw4vtT1hnBhpPTM_iJXc&e=73714727
[Xiaomi Redmi 4 Prime Questions & Answers] sinedoOo:
Definately Pixel Experience by SonicBSV.
[Xiaomi Redmi 4 Prime Questions & Answers] RatBeast:
Can magisk installed on pixel experience by sonicBSV, i tried some treble rom like mdroid and los but i have problem with root.

It says cannot mount/vendor error:1
[Xiaomi Redmi 4 Prime Questions & Answers] kibria.mgk:
You've to use Treble supported magisk. It's available inside Treble TWRP.
[Xiaomi Redmi 4 Prime Questions & Answers] RatBeast:
Thnks for reply. I tried in twrp-tools-root device, but after boot up magisk not installed. I also try to isntall magisk from magisk manager but i get a boot loop. Did you use a treble rom ? Please tell me which treble rom work with latest magisk.
[Xiaomi Redmi 4 Prime Questions & Answers] yuba15:
Use twrp with treble support, then flash this https://androidfilehost.com/?fid=890129502657597190
[Xiaomi Redmi 4 Prime Questions & Answers] RatBeast:
Tnks, but it still same (mount/vendor)
[Essential Phone Questions & Answers] toy187:
Does anybody know if there is anything special with the koodo / telus builds? Even though the June update has been out for a week and a half it is still MIA in Koodoland. I know I can download the OTA and sideload it, it's what I've done the past few times, but the last time I decided to not root the phone again because I didn't feel like going through the trouble again and wanted to start installing OTAs. If there is nothing special with the koodo / telus builds I might just go ahead and do that again... but then why is it taking so long?
[Essential Phone Questions & Answers] crixley:
You don't need to root to flash an ota. Flash it in stock recovery, get the ota file from essential website.

Or are you just saying that sideloading itself is a hassle? I don't find it takes very long and is pretty straightforward. You'll probably get more answers if you post this in Q&A as well since that's what that section is for.
[Essential Phone Questions & Answers] toy187:
Yeah, I meant more the hassle part. I wanted to try it like the normal folks do. :p

And thanks for the suggestion, I wonder if a mod could move it... or else I'll repost it there in a little bit.
[Essential Phone Questions & Answers] crixley:
Np! For the record mine would fail even when I wasn't rooted and I ended up having to sideload anyway. Not sure why!
[Essential Phone Questions & Answers] panpjp:
Got mine from Amazon.ca, unlocked. Bootloader says VARIANT: OPENAM

I'm on Koodo's network and the June update's still not here. Ended up sideloading instead. Don't know what's up with that.
[Essential Phone Questions & Answers] buski:
i just got mine from a guy who was with fido and inserted my videotron sim and got the update right away...
[Xiaomi Redmi Note 5 Pro Questions & Answers] ivanbass1:
My Wi-Fi is slow, 2.4GHz 140Mbps connection, this phone only gets 50Mbps. Tried on different 2.4GHz router, its the same. My P9 Lite and Asus laptop get 100/140Mbps respectively.

Is there a way to solve this without buying a 5GHz router?
[Xiaomi Redmi Note 5 Pro Questions & Answers] goofball2k:
No. This phone has an ~86Mbps 2.4Ghz connection. The best you will get is around 50Mbps.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Nuroxy:
100 mbps connection but my phone gets only 40 mbps. This is bad :(
[Xiaomi Redmi Note 5 Pro Questions & Answers] ivanbass1:
5GHz router it is :D
[Android Q&A, Help & Troubleshooting] mnsaruar:
Hi,

Is anyone have Nubia First Aid Emergency Tool Mtk version. I have a version that is for Snapdragon Chipset but I hava Nubia M2 Lite and it has MTK MT6750 chipset so I need MTK supported Nubia First Aid Emergency Tool.
[Samsung Galaxy S9+ Questions & Answers] Geekser:
I have an Android Tablet in my dashboard of my car. I use it for a variety of things - Navigation - Phone Calls - Digital Radio - etc.

I want to mirror my S9 Plus screen onto the Android Tablet and I am not quite sure how to do it.

Here are how I have things connected:

Phone acts as Mobile Hot Spot for Internet Connectivity

Tablet Connected to Wifi Hot Spot

Phone and Tablet connected via Blue Tooth for phone calls

USB connects to Tablet for File Sharing and Media - I can play music and stuff

How can I mirror my phone screen onto the tablet in this kind of a setup ?

Your suggestions are appreciated.

thanks
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Numpty#1:
Hi :) I apologise in advance if I am posting in the wrong place or I'm just being a numpty.

I suspect it's me being dumb that's the problem but when someone rings one of my 2 SIMs in my Xiaomi Note5Plus with Global ROM from Xiaomi not flashed, I cannot see from the screen which SIM the incoming call is on. OK, I have 2 different ring tones set-up and that is fine but on silent/no vibration or if I miss the call, it's a real nuisance not knowing which SIM received the call. As an example, if I make a call to each of the SIMs from another mobile, then my phone just shows that I have had 2 calls from that mobile, rather than one call on each SIM from that mobile.

My old THL2015 did this automatically and so I could always tell what was going on.

The reason that this is particularly important for me is that SIM1 is for use by everyone who calls me and SIM2 is my back up line. If someone calls me, I need to know (if they are not in my contact list) whether this is a "real" call or a junk call on SIM2.

Hope all that makes sense and one of you kind people can suggest a Settings solution or an app please.

My thanks for any help offered.
[Asus ZenWatch 2] fettergumba:
Hello,

I tried to connect watch and phone via ZenWatch Manager App. It did not work until I Setup the Wear OS App by Google.

And this app needs the Google Search App to work.

I like Android but I dont like Google. I use Linage OS and Duckduckgo as my search engine.

But now I have to install all these app (especially Google Search) to connect my phone and watch.

Does anybody knows a way to avoid the Google Apps and still be able connect phone/watch?

Thank you for all help
[Asus ZenWatch 2] CVertigo1:
I've connected my watch to my S5 running Lineage OS without any issues, but I did flash Gapps. The only way I can see making this work is to flash the most minimalist version of Gapps just to get the framework, then install the Wear app. You don't necessarily have to install any other Google apps, such as Google search.
[Asus ZenWatch 2] nadastry:
you could try microg.org

It is sort of GApps, but reverse engineered, more battery friendly.
[Wing, P4350 Herald Upgrading] nnikolay:
Hi, ALL

subj...

ROM: HTC_P4350_RUS_4.17.411.2_4.1.13.44_02.94.90_Ship

Storage: SanDisk 2GB

then i enter in "Camera" - "an Adjustment" - "a Vault"

i see only "Main memory" its all...
[Wing, P4350 Herald Upgrading] duprade:
Does the storage card show up everywhere else?

Have you tried taking the card out, popping it back in? Soft resetting the phone?

May you should try to re-format the strorage card.
[Wing, P4350 Herald Upgrading] nnikolay:
hellow, duprade.

1. Yes, many program install in "storage".

2. Yes, does not help.

3. Ok I try...

format does not help.
[Android General] Rock_Roc:
MiuiPRO 9 Final

Based on MiuiPro 8.5.14 and 8.4.26

Change logs for Cpn3:

*Fixed Torch

*Fixed low sound

*Fixed zero brightness in auto mode partially

*Call recording works without any Mi-sign in or theme issues

*Bootimg is completely reworked to fix random reboot and support magisk safetynet at the same time

*Rom is unrooted

*Wallpaper Carousel

*Split Screen

*Tez works along with magisk

*No force close of streaming apps like hotstar, etc

*No lags/fc of uc browser

*Spectrum supported

Etc etc

Bugs:

Selfie mirror(use any other camera app)

Fm high volume

Credits:

Miuipro.by

Rock Roc, Kno Noth, Roman, Abhay Kashyap, Macblaze, Irma Nasre, Renz Aljon, Michael Sarno, Team Mad, Uday Hedge, Anurag Rai, Abhishek Singh

Link:

https://rockandabhay.wordpress.com/2018/05/31/miuipro-9-final/
[Honor 8 Questions & Answers] moving on:
Any custom ROM for Honor 8 or any other model firmware which I can flash over FRD-l0r
[Android Q&A, Help & Troubleshooting] samohyes:
Hi, everyone. I am having a problem here and hope someone can give an advise.

I got a arm32 binary running on my nexus 6p with android 8.1. I crosscompiled the qemu and use the user mode to run that binary on my nexus 6p. And I found out that there are some ioctls that qemu doesn't support even with the latest version. And for my binary, it opens /dev/jpeg2 and use ioctls. Actually in my device, there are jpeg1-jpeg4 under /dev. So if I want to add those ioctls for qemu, I have to find what ioctls /dev/jpeg2 provides. And the thing is that I can't find that, it seems it's provided by qualcomm and don't have the source code.

One thing I've found is this one:

root/drivers/media/video/msm/jpeg_10/msm_jpeg_sync.c (Seems new users can't put url)

It seems right, but I tried to add those ioctls and failed. And this code has no /dev/jpeg2. I have no idea what should I do. Can anyone give me some suggestions?
[Android Q&A, Help & Troubleshooting] Ibuprophen:
I don't have this device but, your best bet is to post this question within the following Q&A thread that's specific to your device.

https://xdaforums.com/showthread.php?t=3068327

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Lenovo ZUK Z2 (Plus) Questions & Answers] JanLezterGrate:
Hi I want to ask am I only experiencing Sometimes the Signal on Mobile data? Even I have data the icon will Appear an x inside of the signal icon and after that I can't browse I am using Lineage 15.1 by Augustin and with 1.76 Baseband version M8996FAAANAZM 1.70664.3.73637.1

I Dont know if its the problem in the ROM or in my Mobile Carrier or in the Baseband version?
[Huawei Mate 10  Guides, News, & Discussion] badmania98:
Hi.

I am trying to use MATE 10 Pro + Netflix + MirrorShare+Samsung Smart TV to watch movies on TV .

The subtitles and sound are ok but there is no image. The M10P has boot-loader unlocked.

Any advice to solve the problem is welcomed.

Thanks in advance.
[Huawei Mate 10  Guides, News, & Discussion] JoshuaLintag:
Smart TV's usually have built-in netflix (especially Samsung). Why are you trying to make it harder by using screen mirror?
[Huawei Mate 10  Guides, News, & Discussion] badmania98:
When I go to a place where is a Samsung smart tv without internet connection I have to use this way. It is an example. But the main idea is that on Samsung phones work but not on my M10P. And using Netflix on my Samsung 40F8000 means no romanian subtitles.
[Huawei Mate 10  Guides, News, & Discussion] bihariel:
I guess due to the netflix antirip protection, it doesnt let you watch on tv to avoid people from recording netflix content.
[Huawei Mate 10  Guides, News, & Discussion] badmania98:
I agree, but why Samsung galaxy s7 with Oreo it is working?
[Huawei Mate 10  Guides, News, & Discussion] bihariel:
I don´t know, but if it works its because Samsung guarantees the content protection and probably huawei doesn't or not yet.
[Huawei Mate 10  Guides, News, & Discussion] badmania98:
Agree. What is the solution in this case?
[Huawei Mate 10  Guides, News, & Discussion] JoshuaLintag:
Use a usb-c to hdmi and use the EMUI desktop to watch Netflix.
[Huawei Mate 10  Guides, News, & Discussion] badmania98:
Wireless is needed.
[Huawei Mate 10  Guides, News, & Discussion] tokoam:
DRM infringement dude it won't work .
[Huawei Mate 10  Questions & Answers] enderes05:
I tried to unroot my phone using SuperSU and failed so then I restarted my phone and now its doesn't continue to load. :crying: I also tried the eRecovery to restore and failed also to download latest version (Getting package info failed). I also tried to wipe/reformat and it doesn't work either. Now it just keep on loading and after a few minutes it will restart vice versa. Please help me :crying:
[Huawei Mate 10  Questions & Answers] ante0:
Use this guide to extract RAMDISK from your firmwares update.zip and flash using fastboot.

https://xdaforums.com/mate-10/how-to/guide-extracting-stock-firmware-files-t3756733

Or tell me your firmware and I can do it, but you'll have to wait a couple of hours.