yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] raydm:
is it possible to flash stock rom on Cricket Stylus 5g 2023? i was able to flash the cricket firmware using the Lenovo tool, but wondering if there is a way to force stock rom to flash using lenovo tool ?
[Upgrading, Modifying and Unlocking] Kireej:
Yes please I want this too
[Upgrading, Modifying and Unlocking] chandanroksjsr:
i relocked the bootloader for my XT2135-2 after flashing stock firmware of XT2135-1 accidently

now the oem is locked and device cannot boot saying invalid operating system.

cannot flash via fastboot mode says permission denied

is there a ways to unlock bootloader in edl mode? or flash the whole firmware via edl mode?

i am able to enter the edl mode by sorting the test point.

Moto G(60) is devices name
[Upgrading, Modifying and Unlocking] Blackstratolion:
Hello! I have a Moto G6 PLAY (XT1922) stuck in EDL mode. Even the screen won't turn on, just a white flashing light when connected to USB. I'm going crazy trying to unbrick this phone. Any help will be much appreciated.

Edit: is there a way to flash a G6 Play with QFIL? The stock roms doesn't have a firehose or programmer in it, although they could be inside the .img files, but I don't know. Please Help :-(
[MeMO Pad 7 Q&A, Help & Troubleshooting] Coltie:
Hello to everyone. I have in my possession an Asus Memopad 7 Me173x as the title suggest. It was given to me from a friend to recover it but it seems harder than I figured. Usb debugging mode is not enabled, it cannot go to recovery - when I boot it into recovery it shows me a dead android with a red triangle. I have tried flashing it with numerous different roms using SP Flash Tool, getting all sorts of errors, get past one stumble upon another one. I Installed Linux on my desktop pc to try and flash recovery using fastboot, I added the proper text for the android rules file, but I'm getting the "waiting a device" error. The tablet isnt hardly bricked, like it doesnt turn on. Actually the thing is it boots to android, an error pops, the tablet restarts over and over. When I power it on once, I have to take it apart and remove the battery, because it cant turn off, just keeps rebooting. I thought if I could flash custom recovery and use an sd card to install stock rom using the recovery it should fix. The bootloader is locked, usb debugging isnt checked and the tablet doesnt boot properly. Any guidance towards fixing it will be greatly appreciated. Thank you in advance.

I'm also new to linux, but kind of getting along.

I did a google research if there is a way to enable usb debugging if the tablet is bricked, but sadly I did not find anything.
[Lenovo Yoga Tab 2 Questions & Answers] nkoychev:
Hi all,

I have a strange problem with my display. 2 days ago I just turned it on and had some strange lines that came like out of nowhere (I'll attach pics). The tablet is new, bought it one month ago, I didn't drop it, nor hit it. The part that has the stripes works if I press on it,it just doesn't display properly. The lines show up from the time I turn on the tablet,even before booting up the android OS.

Do you think it's a hardware malfunction or it could be fixed by upgrading let's say my GPU drivers? :(

P.S. When I make a screenshot, the display shows no problem.
[Lenovo Yoga Tab 2 Questions & Answers] s1conan:
hardware problem, factory malfunction maybe
[One (M8) Android Development] Rescue9:
Saved for Info
[One (M8) Android Development] toknitup420:
It's most likely not possible to fix. Boomsound drivers are closed source. Unless HTC decides to make the drivers open source, then we probably won't be able to get sound fixed on cm. [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80] [emoji80]
[One (M8) Android Development] Rescue9:
Yea... that was a statement I made in another thread responding to one of those "Why can't CM fix the audio issues already" posts. I still think that there might be a channel problem, especially with the way that the speakerphone is operating. So far though, I've not found a direct reference to the boomsound drivers in digging through the stock sources.
[One (M8) Android Development] toknitup420:
I'm thinking it could be done through the kernel. But that's beyond my skill level.
[One (M8) Android Development] mrrocketdog:
probably not relevant , but all i got.lol. just found on beanstalk ROM. of course , i wouldnt know what to do with it. lmao.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] Rescue9:
no worries mrrocketdog. can you verify that you do not have audio issues on beanstalk rom? If so, think you can find mixer_paths.xml, audio_effects.xml, and audio_platform_info.xml and post links?

I found up that mixer_paths.xml is indeed used, unlike what some were saying in the other thread. and I'm starting there.
[One (M8) Android Development] mrrocketdog:
no audio issues confirmed. will look for path and report back.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] mrrocketdog:
[MENTION=647836]Rescue9[/MENTION] , all i could find were these under system-lib-hw.

https://www.dropbox.com/sh/3xaqr8nlr19v6mm/AAD2VdLPQf8ijftOxZQiKmeGa?dl=0

if there is some other folder to check just let me know. i think i went thru them all. (maybe just named different?). will also go thru my cm11 nightly and look for above mentioned files. also can confirm no audio distortion on it. ran for about 2 months.

here is cm11.

https://www.dropbox.com/sh/prv441xo5mu25sj/AAAtGuWro9Jz4y3B2E8dtvm9a?dl=0

again , could not find exact files you requested , but uploaded everything with 'audio' in title.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] coal686:
The discussion in this thread is great and definitely development related with an end goal as the rules say. However, since it's unofficial, we decided to move it to Development. Please PM me if you have questions or concerns.

Thanks,

coal686

Forum Moderator
[One (M8) Android Development] mrrocketdog:
[MENTION=647836]Rescue9[/MENTION], found maybe something else. beanstalk - system - media - soundimage.

https://www.dropbox.com/sh/whqk8elvgjbd7jh/AACoqdZrxrNH3C1BMn2IHzXha?dl=0

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] CJ-Wylde:
Some possible Kernel help.

Not sure if this will help or not, but I'm running the CM12 based rom Resurrection Remix by: Brian Koluch

The Kernel he includes seems to fix a lot of the speaker distortion issues I was having with my M8. The Kernel is: B14CKB1RD v3.4.36 (g1069d49)

Here's his Google+ RR Community Post: https://plus.google.com/115522815889154627721/posts/d9BApKK8nbx

Maybe you guys can review that Kernel and see what's different, it has some audio commits in it.
[One (M8) Android Development] blackwing182:
nothing is imposible.
[One (M8) Android Development] fcukmayank:
What about using v4a or using a volume limiter ??
[One (M8) Android Development] Rescue9:
Those are band-aid solutions. The goal is to fix the problem once and for all.
[One (M8) Android Development] Rescue9:
This is very informative! After playing around extensively with the config files in /etc/ I'm beginning to think that this is indeed a problem wholely related to the kernel. I remember using Quantum on my GS3 simply because the kernel fixed a number of issues.

Part of the problem that I'm facing is the fact that my M8 doesn't sound all that distorted on the high end. I feel as I'm trying to grease a squeaky wheel when I don't even hear the squeak.
[One (M8) Android Development] CJ-Wylde:
I know that with the build I'm on now with the Kernel I mentioned, things are definitely more clean & clear on the speakers. I'm glad I can help a little bit.
[One (M8) Android Development] krazie1:
Thanks [MENTION=5744719]CJ-Wylde[/MENTION] never knew this Brian guy built Roms for the m8. I see the kernel is a from wyldstallyn using blackbirds git.

OP maybe ask Brian on G+ if he can direct you to who built the kernel and ask them what they changed if anything that is maybe fixing the distortion
[One (M8) Android Development] Rescue9:
That's a good idea [MENTION=2631637]krazie1[/MENTION]. Would you take care of that for the team. I'm still working through lines of code looking for a connection.

I did install the blackbird kernel straight over the 02/28 CM12 build I'm running now and the speakers actually sounded worse. Very distorted at half volume. I didn't even want to increase the volume fie fear of damaging them.
[One (M8) Android Development] krazie1:
Here is the wyldstallyn's kernel github https://github.com/wyldstallyns

I will be flash testing the resurrection remix 5.3.7 build later when my phone charges up
[One (M8) Android Development] Rescue9:
What I really need is a video of someone using their M8 and demonstrating the difference between clear crisp sound, whether stock or GPE or aosp, and the distortion everyone seems to be hearing. Would you also go through your AudioFX settings as well in the video.
[One (M8) Android Development] krazie1:
OK I tried the latest Resurrection Remix 5.3.7 with the Custom Wlydstallyns Kernel & these are the results. From what i've seen the headphones looks to be fixed & for speaker it is fixed in Youtube & Ringtones only.

Tested

1. Ringtones/Notifications [Speakers - Sounds Improved] [Headphones - Sounds Greatly Improved]

2. Youtube [Speakers - Sounds Improved] [Headphones - Sounds Greatly Improved]

3. Play Music [Speakers - Still Sounds Distorted] [Headphones - Sounds Greatly Improved]

4. Eleven [Speakers - Still Sounds Distorted] [Headphones - Sounds Greatly Improved]

5. Pandora [Speakers - Still Sounds Distorted] [Headphones - Sounds Greatly Improved]
[One (M8) Android Development] toknitup420:
Just crank the volume up and listen to a loud notification tone. That usually does it. Or press the Google now Mic button with media volume maxed out. You will hear it there as well. Also certain types of music will show it. I'll have to restore a back up before I can make a video so you can hear the distortion. I'll get back to you soon with that.

https://vimeo.com/121092802

Bare with me I recorded it using my OG gnex from work. But you can hear it.
[One (M8) Android Development] Rescue9:
That helps out. I can now hear what you're talking about on my own phone. I use different tones and usually don't have volume maxed so I've never heard this before. Can someone get me a video of the Elara tone on a "fixed" phone. I'm curious about the difference.
[One (M8) Android Development] Rescue9:
I was able to flash Blackbird over CM12 tonight and verify that kernel alone does not fix problem. I also tried with nuplayer enabled and disabled... Same result. I guess I'm going to have to flash the ROM listed above to hear the difference.

Maybe I'll try to flash the ROM, hear the difference, then flash CM12 kernel and see if ROM still plays without distortion.
[One (M8) Android Development] toknitup420:
Did you try pulling the boot.img from that Rom and flashing that. I believe someone said that it uses blackbird kernel but it's a custom version.
[One (M8) Android Development] Rescue9:
No. I'll try that tonight if possible.
[One (M8) Android Development] DroidManIc:
I actually thought about the same thing. Rescue has a great point in making the final goal a permanent solution, but maybe a volume limiter is a really good temp solution. In my experience the problem only appears on the last 1 or 2 volume levels. Just my two cents. :D
[One (M8) Android Development] kickassdave:
The lack of actual development posted is sadly indicative of how little devs can do to fix this. I'm sure they have probably tried all this.

There is a Creative sound pack and when you use the acoustic one on the speakers in conjunction with massively reduced base and treble results in much much better sounding set of speakers. But yes, it is still a bandaid.

Just limiting the volume doesn't fix it. As it only occurs with certain frequencies rather than all when loud.
[One (M8) Android Development] Slicktune:
This is what I've been saying!!!

Finally someone said it!!!!

I'm guessing no one really appreciates audio....being that this phone is known for its speakers its so sad that ppl don't care...smh what's the point of showing off my cm 12 if the speakers suck and sound distorted... Since May (cm12) it's gonna be a year already...smfh
[One (M8) Android Development] krazie1:
Resurrection Remix 5.3.7 https://plus.google.com/115522815889154627721/posts/d9BApKK8nbx

WlydStallyns Kernel 20150227 Flashable https://www.androidfilehost.com/?fid=95916177934537025
[One (M8) Android Development] Slicktune:
Does this have the audio fix??

Thanks in advance!
[One (M8) Android Development] krazie1:
That kernel is the one that comes with Resurrection Remix 5.3.7 in which i've tested, below are results.
[One (M8) Android Development] adtino:
Has anyone tried this mod? I'm thinking about trying the beats audio only install, but just wondering if this has already been tested.

http://xdaforums.com/android/software/mod-beatsaudio-e-xloud-installer-t3029951
[One (M8) Android Development] Rescue9:
Would be nice to see what you come up with.
[One (M8) Android Development] Rescue9:
No, the lack of development posted is indicative of someone who usually bug fixes and develops features for CM actually tackling a major problem rather than pissing and moaning like 95% of the people in other threads whining about the audio. I personally have no problems with audio myself because I don't turn the volume on my device up to 11. I listen to my headphones at a moderate volume, with little distortion there due to the fact that I'm old and don't want to lose any more of my hearing than I already have.

In short, the lack of development comes from me trying to learn what's going on and where the breakdown really is. I'm completely out of my element here and am relying on others to help.

All that being said.... I'm running into brick walls no matter what I try. I still think it's a proprietary driver issue either in the kernel or the rom, or both.
[One (M8) Android Development] Keithn:
That's how I've been looking at it. And if it is a proprietary driver issue (which I would be more surprised if it weren't) it would be a serious task to get it even somewhat close. If I could help I'd try but I don't really know where to go with this either.

Still, I think the thread was a good idea. A place to talk about or post any findings is one step to possibly improving the issue.

Sent from my HTC M8
[One (M8) Android Development] adtino:
So far just tried the beats installer with no change in regards to distortion. I'll try the full installer and see if there's any difference.

---------- Post added at 12:38 AM ---------- Previous post was at 12:18 AM ----------

Tried the version specifically for CM, also no difference.
[One (M8) Android Development] Rescue9:
Nothing to see here... move along.

But just in case: http://review.cyanogenmod.org/#/c/83791/

And some more interesting: http://xdaforums.com/htc-one-m8/help/mixerpaths-xml-t3003004
[One (M8) Android Development] Keithn:
Basically the amp was disabled. It looks like it was using some M7 stuff and then never touched again.

https://github.com/CyanogenMod/android_device_htc_m8/tree/cm-12.0/libaudioamp
[One (M8) Android Development] Rescue9:
That's kindof what I'm running into. I re-enabled the amp on my latest build. I want to see a logcat first, but I think there might be an issue with the m7 code that was ported.

Logcat: http://pastebin.com/aSyHB5Mf

Delving through hardware/qcom/audio-caf/ now.
[One (M8) Android Development] Slicktune:
Any luck?[emoji18]
[One (M8) Android Development] krazie1:
I know off-topic but a new RR build is up with a updated wlydstallyn's kernel https://plus.google.com/115522815889154627721/posts/SYNpLqBoR4y
[One (M8) Android Development] Rescue9:
I'm still playing with the driver files as my CPP foo is weak.
[One (M8) Android Development] miffymiffy:
Has anyone tried to guage the decibel levels for a 'fixed' phone and a 'broken' phone?

When I am on CM, it seems alot louder as if the volume has been amped up.

It sounds to me that it is just the distortion of the tiny speakers.
[One (M8) Android Development] Rescue9:
See, that's honestly what I've thought all along. But since I don't crank my speakers up to max, I don't hear it. Also, since I've never heard a stock / sense m8, the only thing I have to go off is others impressions and descriptions.

By the way, I couldn't figure out where the issue lies in the driver files. The only way to check I can think of is to clone another Repo's driver files dir. However, I'm not willing to do that myself. I've bricked my fair share of phones and I can't afford to brick this one.
[One (M8) Android Development] Keithn:
I've been doing the same, keeping it down 2 from max seems to keep it sounding fine. Even headphones seem a little louder.

I have a friend with an M8 so maybe I can put them side by side and compare with mine on CM12 and his on GPE and listen for quality vs sound level and step. Might be able to this weekend.
[One (M8) Android Development] toknitup420:
I'm on sense right now and there is no distortion. I've used cm for a long time so I'm very familiar with the distortion. There's a big difference between sound on sense and sound on cm. Until the boomsound drivers for this phone are open source we are SOL.
[One (M8) Android Development] Krunk_Kracker:
The difference between Sense/GPE and CM sound quality is night and day., I wish there was some way to demonstrate, I don't think video will accurately show it.

For what it is, the sound quality is extremely good with Boomsound/Harmon Kardon.
[One (M8) Android Development] mrrocketdog:
+1 confirmation. flashed a sense rom yesterday(skydragon) and sound was on the opposite end of spectrum from CM nightly which also had the incredibly annoying on-off buzz after a call. now back on CM snapshot M12. probably just my old-deaf ears but sound is better than nightly.

EDIT : nevermind , buzz after call bug IS on CM M12. crap.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] Rescue9:
You guys are going to make me do it aren't you. UGH! I can't stand sense. I'll flash that, take a listen, and go from there.
[One (M8) Android Development] mrrocketdog:
thank you & thank you.

& +1 on 'cant stand sense' (or lollipop for that matter).

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] Heisenberg420:
Fwiw I flashed the h/k adsp (adsp only) on cm12 and slimlp and it seems to improve sound quality a lot. That paired with v4a, I lowered output gain slightly and I'm very impressed with audio quality. Can barely tell the difference from sense. I can share the adsp only zip I made if anyone's interested.
[One (M8) Android Development] Slicktune:
I am interested, thanks in advance![emoji106]
[One (M8) Android Development] Heisenberg420:
Attached it. I just took the adsp image from latest HK/boomsound switcher and used the original h/k adsp only zip and swapped out the old adsp with the new one.

Never ran into any problems, even though they say it's not compatible with non-sense ROMs. I'd make a backup before flashing just to be safe though.

Also forgot to mention a good convolver IRS helps a ton. I'm using wavesmaxx base from vinardos thread
[One (M8) Android Development] Krunk_Kracker:
You can flash a GPE rom instead of Sense if you want. Check out Digitalhigh's GPE rom.

You'll get the same sound quality with GPE as you will Sense.
[One (M8) Android Development] Igneo676:
Would you mind linking to the thread with the convolver IRS? I can't seem to find it

Edit: for clarity
[One (M8) Android Development] mrrocketdog:
5 posts above yours.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] Igneo676:
For the convolver irs he mentioned?
[One (M8) Android Development] Heisenberg420:
I uploaded the zip in my post above. Or do u mean vinardos?
[One (M8) Android Development] Igneo676:
Vinardo's please :)
[One (M8) Android Development] Heisenberg420:
here ya go http://xdaforums.com/showthread.php?t=2765331
[One (M8) Android Development] mrrocketdog:
srry , thought you meant the adsp. ooops

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] jxcorex28:
Is that zip from HK ? Where's that adsp IMG from ? Do you remember what page that wavesmaxx convolver is on ? I couldn't find that specific one. Which v4a have you been using. I tried v4a a few months ago,but haven't touched it since January.
[One (M8) Android Development] Heisenberg420:
Adsp is from latest h/k boomsound switcher and latest v4a. I will upload the convolver when I get a minute later. You can also ask in that thread for a suggestion on a good bass convolver, that's how I found it. There may be a newer one that's better than wavesmaxx
[One (M8) Android Development] jxcorex28:
I'll switch out adsp's from that zip I just downloaded a few threads back when I flash AICPs latest nightly. Is that zip a flashable zip or do I drop it in a specific system folder ?
[One (M8) Android Development] Heisenberg420:
Flashable
[One (M8) Android Development] Heisenberg420:
Here is the Wavesmaxx irs, from vinardos thread
[One (M8) Android Development] jxcorex28:
Any idea as to what v4a version you use ? I've tried a number of em,but can't seem to find one that actually works
[One (M8) Android Development] Heisenberg420:
I have been using v2.3.4.0 with no issues.

Make sure u use the 4.x apk not the 2.3

If u still can't get it to work id ask in the v4a thread, ive never had issues running it on any roms
[One (M8) Android Development] Keithn:
After playing around with both CM/GPE it sounds like it's being pushing the speaker harder, is lacking lows and/or has too much in the highs. Also trying to use V4A to give the speaker more of a flat sound, it doesn't seem to do anything. And thats with the driver status showing it works.
[One (M8) Android Development] adtino:
I also can't get v4a to work with CM, however, I have been successful with other AOSP roms in the past such as bliss and RR. Anyone know why it works with those and not with CM?
[One (M8) Android Development] kickassdave:
Flash the 2.3.4.0 version that removes Audio FX from the Viper thread.

Then once you've done that, use their thread for support. I thought people were trying to actually fix this crap audio, not troubleshoot V4A...
[One (M8) Android Development] Rescue9:
I've been pulling different repos from different ROMs trying to get something functional, but alas...... No go. I'm at a loss. Has anyone been able to pull a different driver from another ROM and get it to work?
[One (M8) Android Development] Slicktune:
Exactly I see everyone talking about V4A....smh
[One (M8) Android Development] adtino:
This is exactly why I'm asking about v4a. I can't find any way to fix the problem altogether, and I feel like a sitting duck. Might as well have a working alternative in the meantime. Doesn't mean we are less concerned with finding an actual fix.
[One (M8) Android Development] Rescue9:
I understand that. But V4A has a development thread. This thread is for figuring out a fix without V4A. All V4A questions should be addressed in that thread.
[One (M8) Android Development] kickassdave:
This ^^

Please note there is also a thread in the M8 general section that has some tips for V4A. Any queries best going there beyond this.
[One (M8) Android Development] Rescue9:
I finally had a successful build last night after all the radio issues w/ m8. I am going to try pulling more drivers with different ROMs this weekend.
[One (M8) Android Development] Keithn:
Sounds like there were GSM radio issues up until the 3/20 nightly. Which ROMs are you trying to use to pull from? Unfortunately I haven't really seen anything that was significantly better than cm.