yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] fizbanrapper:
Try this:

1 - Clean flash ROM

2 - Boot into ROM. Let it be for a minute or two so it can finish cookin'

3 - Reboot into recovery

4 - Flash Gapps

5 - Reboot

I personally recommend this installation method for any AOSP ROM on any device. It's the best way to isolate the source of a whole laundry list of potential problems.
[One (M8) Android Development] Keithn:
So is that not an issue for anyone else then? Just wanted to check since this was an issue on earlier AOSP 5.1 ROMs (eg building cm12.1 while still in staging) and it popped up again with this after flashing the same exact way I did with cm12.1 which is working. I'll give it another try and report back if it continues to be an issue.

Sent from my One M8
[One (M8) Android Development] ecs1984:
Yes, I am experiencing this also, following the steps of letting ROM boot before flashing anything else. I've had it on other ROMs as well. I will try again when I get back home since my wifi connection at work is always problematic, but I am really excited to try your build!
[One (M8) Android Development] Keithn:
Didn't think it had anything to do with what I flashed, but I clean flashed only the ROM and it is still not working correctly with passwords on wifi. It will connect if I input the password and then restart. Same issue as pretty much every early 5.1 ROM had. Not exactly sure where the issue is though or how it was fixed. Also gestures aren't working as someone else also said.
[One (M8) Android Development] SiK TL:
WiFi is broken. I can connect by toggling on/off butv that's a pain in the butt. I followed all the steps as OP asks.
[One (M8) Android Development] thelangosta:
Yeah it wouldn't stay on for me either. Clean flash on GPe firmware.
[One (M8) Android Development] fizbanrapper:
I've only had to toggle WiFi once to get it working. It's annoying when I can't duplicate a bug.

I just uploaded a new build using slimroms kernel source. No kexec hardboot patch on the 5/13 build. Please let me know if it's any better!
[One (M8) Android Development] jcole20:
Odd I flashed his builds and had absolutely no Wi-Fi issues. I ended up parting ways simply because there was no long press back to kill app option. I used his builds from his afh page. Overall I liked the ROM a lot. The modified trebuchet / slim launcher had a good settings page, though I prefer stock trebuchets ui.

HTC One (M8) MultiRom: ViperOne + Hypernova Kernel & PACman ROM 5.1
[One (M8) Android Development] t3project:
i have no sound at all on the new build. notifications dont play and if you play a video or music you just get a loud hissing noise on the external speakers. they all work when playing through headphone jack or bluetooth
[One (M8) Android Development] PunkUnity:
I dont see anything new on CM's GitHub. And looking at Slim's Gerrit....

https://review.slimroms.eu/#/q/status:merged+htc

https://review.slimroms.eu/#/q/status:open+htc

Not much going on there either...

---------- Post added at 12:01 PM ---------- Previous post was at 11:56 AM ----------

Don't see anything on Cyanogen's review site either...

If anyone can point my busy ass to the direction of an audio fix, I'd appreciate it. The more we help each other, the quicker and smoother these things get addressed. Thanks again

---------- Post added at 12:02 PM ---------- Previous post was at 12:01 PM ----------

On the newest Kexec build, or stock?

---------- Post added at 12:04 PM ---------- Previous post was at 12:02 PM ----------

edit: fix link

https://www.androidfilehost.com/?w=files&flid=34674

Let me know which build you're using please! From which folder, and which date!
[One (M8) Android Development] t3project:
the one you posted earlier today w/ kexec

there are a few audio related commits that were merged into the new cm build for today. you can see them here: http://www.cmxlog.com/12.1/m8/
[One (M8) Android Development] PunkUnity:
https://www.androidfilehost.com/?w=files&flid=34674
[One (M8) Android Development] ckvisme:
I'm using the kexec ends with -0133.zip ...

It beeps 2x at start of bootanimation the as soon as you unlock the lick screen... Screeeech!!! Lol, scared me the first time (I was half asleep) it snuck up on me haha
[One (M8) Android Development] t3project:
same build. slightly diff sound problem.............screech noise comes through internal speakers when playing music or videos only. notifications dont play at all. sounds do however play through external speaker jack and bluetooth correctly
[One (M8) Android Development] PunkUnity:
Can you tell which change is actually addressing the issue?

http://review.cyanogenmod.org/#/c/102538/

this one maybe?

It's from 2 days ago, but looks like the main audio merge. There are a couple others tho too. I just wonder why my previous build didn't have it and the newest one does... And does KEXEC work or no?
[One (M8) Android Development] t3project:
its not just the kexec. just flashed stock as well and the sound issue is there as well. and i didnt test kexec yet.
[One (M8) Android Development] PunkUnity:
I dunno then. I have the 0706 build installed and it works great. I'd say just fall back to that version until I can figure it out or get some help in doing so.
[One (M8) Android Development] fizbanrapper:
I don't think slim ever merged in the audio fix for our device.

Use your local_manifest folder to swap out the slim qcom audio, then replace it with CM's caf source.

Repo sync, then make another build to make sure you don't get any errors.

What repo are you using for vendor blobs? Depending on the answer, you may need to switch that too.

You'll definitely need to patch your device tree to get it working properly, but I wouldn't do that until you know if slim can be built for the m8 with CM's audio repo.
[One (M8) Android Development] PunkUnity:
OK .I'm out of my house ATM. I'll try that. I'm using the muppets I believe for vendor.

---------- Post added at 02:28 PM ---------- Previous post was at 01:29 PM ----------

[MENTION=5676253]fizbanrapper[/MENTION]

Im in my local_manifest dir, but all I have in there is slimz.xml (roomservice). Do I need to just add a new .xml file and add in CM's qcom audio repo?

My slimz.xml onlhy has 3 lines

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="SlimRoms/device_htc_m8" path="device/htc/m8" remote="github" revision="lp5.1" />

<project name="PunkUnity/kernel_htc_msm8974" path="kernel/htc/msm8974" remote="github" revision="lp5.1" />

<project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-12.1" />

</manifest>

---------- Post added at 02:39 PM ---------- Previous post was at 02:28 PM ----------

I found it in my default.xml i guess. I will get rid of Slim's and replace it with cm-caf. Only thing is, I can only find cm-12.0 not 12.1
[One (M8) Android Development] ckvisme:
On the last kexec build... I ran restorecon and it stopped screeching long enough for me to install multirom... Still no multirom support... Wasn't sure we covered that... Just FYI..
[One (M8) Android Development] PunkUnity:
OK, replaced it. Im using the muppets-cm-12.1 for vendor blobs I believe.... Will this interfere with my audio repo being cm-12.0? We'll see.... Repo Sync in progress, then I'll build

---------- Post added at 02:46 PM ---------- Previous post was at 02:44 PM ----------

I dont understand how multirom works on some M8s and not others. It works fine on mine, I just got MultiROM from Play Store, and that seemed to install it just fine....

---------- Post added at 02:47 PM ---------- Previous post was at 02:46 PM ----------

https://www.zerobin.net/?89389de8dab145ab#sZ41AYt8dg+XDcQQc7diE1COhnF7KM0wWP7OgpVup1Q= [MENTION=5676253]fizbanrapper[/MENTION]

It doesn't seem to like this lol

---------- Post added at 02:49 PM ---------- Previous post was at 02:47 PM ----------

and then this right after. I'll just build and see what happens before doing commits or push

https://www.zerobin.net/?33b9ace1be63c788#V6Q0rXIxSjY3rHIjy/6c2GPwBDbOLALNObedqsoDFwg=
[One (M8) Android Development] fizbanrapper:
This will get rid of slim audio. Put this in an xml in your local manifest directory.

<remove-project path="hardware/qcom/audio-caf/msm8974" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8974" />

Note that this actually gets rid of all of these.

<project path="hardware/qcom/audio/default" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1" />

<project path="hardware/qcom/audio-caf/apq8084" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8084" />

<project path="hardware/qcom/audio-caf/msm8226" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8226" />

<project path="hardware/qcom/audio-caf/msm8610" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8610" />

<project path="hardware/qcom/audio-caf/msm8660" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8660" />

<project path="hardware/qcom/audio-caf/msm8916" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8916" />

<project path="hardware/qcom/audio-caf/msm8960" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8960" />

<project path="hardware/qcom/audio-caf/msm8974" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8974" />

remove-project cares about the name, not the path or revision. All of the above share the same path.

Cm has lines in their default.xml that correspond to these from slim:

<project path="hardware/qcom/audio/default" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1" />

<project path="hardware/qcom/audio-caf/msm8974" name="SlimRoms/hardware_qcom_audio" remote="github" revision="lp5.1-caf-8974" />

Copy those lines from CM and paste them directly beneath the remove-project slim line. Then repo sync.
[One (M8) Android Development] PunkUnity:
Everyone....

http://xdaforums.com/showthread.php?t=2861778

---------- Post added at 02:59 PM ---------- Previous post was at 02:58 PM ----------

Just to clarify... Put it in my room service, not my default xml right? I know those lines are from cms default xml, just want to make sure to put those in my room service with the remove lines?
[One (M8) Android Development] fizbanrapper:
Correct. Never touch the default.xml
[One (M8) Android Development] PunkUnity:
Im using this for the cm source btw...

https://gist.github.com/invisiblek/19c3531023339eac6a9c

---------- Post added at 03:09 PM ---------- Previous post was at 03:04 PM ----------

I only see the 2nd of those 2 lines. The first says /audio/default and just qcom_audio, but CM doesnt have a line like that in general.

---------- Post added at 03:16 PM ---------- Previous post was at 03:09 PM ----------

Sorry for so many random, crack headed posts lol. I got a clean repo sync this time after making those changes in my roomservice. So the building will commence! AND! I don't understand why or how the kexec patch didnt work. But I will work on this audio issue first, and then hopefully get kexec patched in. Might have to see if the Slim team can help out with it
[One (M8) Android Development] PunkUnity:
ok. New build up. Should have CM Audio Fix in it!

https://www.androidfilehost.com/?fid=24052804347770259

Let me know
[One (M8) Android Development] ckvisme:
Booted up and sounds good to me...lol, no screaming at me anyway. ?
[One (M8) Android Development] jxcorex28:
Makes a lot of sense,but I never had the issues I mentioned and I always flashed gapps right after ROM since gingerbread,and never once had an issue. It was an issue with every 5.1 ROM I tried and I know that its not my device,because it never has those touch issues on 4.4.4...Anyways, I don't wanna keep on going with the same mess, so I'll try what y'all said....
[One (M8) Android Development] PunkUnity:
PLease try the newest build and report back. I believe the audio is fixed. But then again, I have almost no clue what I am doing lol. I thought I understood some things, but Im going to start over with the whole thing and pretend I don't know anything at all and relearn it all. Back to basics..
[One (M8) Android Development] jxcorex28:
I thought it might have something to do with the fact that I was on Sense partitions, and not GPE....Im not sure how many people are using Sense partitions with these CM roms, but Im pretty sure it might be a majority or a few. Ive switched to 5.1 GPE partitions, and right now Im downloading Carbon 5.1 (latest)...When I test that rom, Ill test SlimLP....give me a day or two....I wish I could provide more assistance, but school has me tied down right now. Im sure someone here could use a guy with experience in code work....
[One (M8) Android Development] PunkUnity:
Hey guys. Got a build uploading now. Should be done by the time you read this! I fetched CM's repo, then committed, then git pushed it into my github repo. It said everything was ok, but I dont see any of the commits. Please test and report back. There was a list of like 25 changes that I thought I merged into my repo. Idk... Im starting over soon, probably friday. Ive been taking more courses just on git and github. Hopefully that will help me to focus on the right way to do things. Also, I can't log in to my laptop as my normal username (punkunity) anymore lol. I can log in as root, so I guess I'm still ok since I build as root anyways. So, let me know and I will do my best to get my brain up to par with what's needed for me to be a good maintainer, official or not. Titles don't matter to me. Your patience is greatly appreciated and I hope it will pay off for everyone. Thanks again guys and gals!

https://www.androidfilehost.com/?fid=24052804347770759

---------- Post added at 03:34 PM ---------- Previous post was at 03:31 PM ----------

@fizbanrapper

this is what git status shows me in my main slim build directory lol

https://www.zerobin.net/?7a0304191558d585#Sd1brLmWQ/PE6CJ2169cONETUJuFky4tWxNhWbVkm2I=

So definitely starting over soon. I think I totally dooshed this up
[One (M8) Android Development] fizbanrapper:
Lol don't run a git status from your ROM's root directory. Go into your device tree, or wherever you're trying to go.
[One (M8) Android Development] ckvisme:
#OT:

Anyone know what file/s set the default Max volume? (like default_gain.conf or whatever would be close)

Have a rom, slim based, and handset volume is extremely low... headphone volume is good, in-call volume is good... But system ui sounds, media through handset speakers is almost in-audible.... Ideas?

Sorry for the OT... ?
[One (M8) Android Development] PunkUnity:
I decided to redo my entire OS, wipe my entire GitHuyb repos, and just start over. Im just going with Debian Testing this time, instead of a Debian-basd OS thats mostly for gaming. MIght take some time, but I think a clean slate is in order

---------- Post added at 06:39 PM ---------- Previous post was at 06:26 PM ----------

https://www.youtube.com/watch?v=kyCxhpo5PHE

maybe?
[One (M8) Android Development] henrypootel:
I've flashed this and been running it for a few hours now - it's running really well so far!

Buttery smooth and lag free so far. So good to have some Slim back.

Thanks for all the work - much appreciated!
[One (M8) Android Development] ckvisme:
Thank you... That's exactly what I was looking for... I didn't work.. The problem is somewhere else.. Lol, of course.. Thx again.. Great find BTW
[One (M8) Android Development] PunkUnity:
Update:

New OS is installed and running. It's pretty much purpose built for compiling ROMs. I have almost nothing else installed besides what I need to compile ROMs. Currently running a clean, fresh and stock Slim Rom build. I should be able to upload it in the morning. From there we can start over with feature requests/cherry-picks. I'm open to suggestions. If after this build is solid with no audio issues, then I will retry the kexec patch.

Thanks again
[One (M8) Android Development] jxcorex28:
That's good to know SK...I wish my POS dell hybrid was compatible to run with Linux,but its not...Darn things good enough for IDE compiler (CodeBlocks, Dev-C++,etc), but not Linux OSs...Anyhow, just a point across...I don't think its a good idea to have requests for feature to Slim..Other than what's already included...Soon,you'll have a lot of new users asking for the same features as Candy,Bliss, and other feature packed CM ROMs...
[One (M8) Android Development] ckvisme:
Awesome, sounds great.

As far as feature requests.. I only want the ones that are included in bliss, Candy... Oh and Viper sense roms... Shouldn't be a problem... Right.. Look forward To it by Friday.... ?

Sorry.. Couldn't resist.. But seriously the audio and kexec sound like a good place to begin.. then maybe we can help you find some interesting mods. Goodnight guys ?
[One (M8) Android Development] jxcorex28:
I can't remember if Slim uses CM theme engine or RRO Layers. That's about the only feature I can think of. Without changing the slim of things :)
[One (M8) Android Development] ckvisme:
Layers... and I prefer it... It's not as 'ready to go ' as CM theme yet but definitely more versatile IMO
[One (M8) Android Development] PunkUnity:
Ya. RRO Layers is another one. So audio, Kexec, and RRO Layers, in that order is what I'll work on.
[One (M8) Android Development] PunkUnity:
New Build up! STOCK

https://www.androidfilehost.com/?fid=24052804347771459
[One (M8) Android Development] PunkUnity:
Does anyone know if Blackbird kernel works with slim?

http://xdaforums.com/showthread.php?t=2954751

Intersting talk going on over there...
[One (M8) Android Development] fizbanrapper:
It should, though I haven't had a chance to try that particular combination. You just need to swap out the repo in your local manifest and then build.

I've been meaning to get in some more builds with that kernel, but just haven't had the time. Too busy!
[One (M8) Android Development] ckvisme:
Have you noticed that storage doesn't mount after initial flash.. Not until I go back and flash GApps....can't download anything and can't save a screen shot for example...

Is there a setting in the rom to change this manually?

---------- Post added at 01:49 PM ---------- Previous post was at 01:28 PM ----------

OK question #2 :

Do you remember when I was asking about the audio stuff, cause another rom I was using had extremely low volume... Like you can't hear it unless you put you earon the phone...

Yep, this build is has the same low volume... And when you make a phone call the in-call volume is OK, but it starts the audio feed back (loud screeching tone).

*ui volume And media play back extremely low volume

*loud feedback (high pitched tone) when using audio

*in-call volume seems ok

?...im guessing CM made some uh-oh's ?
[One (M8) Android Development] fizbanrapper:
I think it's because he started over with a stock slim device tree, which doesn't have the audio fix commits.
[One (M8) Android Development] ckvisme:
Lol, makes sense.. Just wanted to report.. It's no prob... My favorite part of this is that it's a WIP ?
[One (M8) Android Development] PunkUnity:
Ya I'll have to fix the audio again. On a side note, installing a fresh OS on my laptop freed up over 100gb of space. Even after setting up CCache to 25gb lol. I'll be working on audio tonight!
[One (M8) Android Development] ckvisme:
PS the head phone volume is good too...

Just out of curiosity.. Is there a file I can edit/switch out to correct the sound?... I had tried swapping the mixer_paths.xml from the previous build...lol, but nope, not it..

Or is it a 'have to re-build' situation?
[One (M8) Android Development] PunkUnity:
There should be a way for you just to edit a file. I thought it was that mixer path. I can try and bring in CMs audio fix. Also, I'm wondering if Blackbird kernel will bring Kexec in or not. If you feel adventurous, flash it and wipe cache and dalvik, see if it helps. That kernel sounds awesome otherwise. I used to run it in the past on other phones... Reventech is a bad ass dev as well.
[One (M8) Android Development] ckvisme:
OK, I will try the kernel (I've used it for others.. It's great)..

Actually I will try try the file switch again (I had tried with switching it on Tesla not this build yet)

? thx

---------- Post added at 03:32 PM ---------- Previous post was at 02:39 PM ----------

OK, BB kernel working great (yay multirom support)

But swapping out the mixer_paths.XML was not it...also changed the permission to rw-r-r , which I think is what it was in the previous build...

maybe mixer_profiles.XML?...I'll try that next..?

Update: re-swapped

mixer_paths.xml

media_profiles.xml

Set permissions to rw-r-r

Booted to recovery wiped cache/dalvik ....

No good...?

...so maybe I'll try all of the media_xyz.xml files I can find in system/etc...?
[One (M8) Android Development] PunkUnity:
Did Blackbird give you Kexec?

---------- Post added at 04:42 PM ---------- Previous post was at 04:26 PM ----------

OK.... here we go, again lol

BUT, this time, I did the whole cherry-pick for kexec without ANY issues at all. I git fetched, git cherry-pick for kexec. Then I made ALL the changes exactly right, and then git add -A, then git push https etc. I did not commit any changes yet, nor did I repo sync yet. Im building with the changes I made locally first. Seems good so far.

:fingerscrossed: [MENTION=5676253]fizbanrapper[/MENTION]
[One (M8) Android Development] ckvisme:
Yes, kexec-hardboot is working with BB kernel ?...

I didn't have any luck playing with audio... So unless you know where/what else I can try, I think the audio will have to be done on ur end... (I was hoping to find a work-around in case the issue ever popped up again)

You're kick A$$...so keep taking those names ?
[One (M8) Android Development] ckvisme:
OK [MENTION=4983354]SonneKonig[/MENTION] downloading now bro

FYI... For everyone... I don't know what file manager you guys use, but I searched around forever and finally stuck with Solid Explorer (I used ES b4)...

Anyway they just updated and HOLY freaking crap this is an awesome app

(really, it's so good im excited about a file browser)

It's got tons of goodies:

*dual panel landscape mode

*multiple cloud storage

*material design- it's THEMEABLE

*and a bunch more I can't think of?

14 day trial.. Then $2 I think...

Awesome app.. (the new one not Solid Explorer Classic)

Just wanted to share?
[One (M8) Android Development] PunkUnity:
I use JRummy's "Root Browser" for file manager. Best overall. But this app DOES seem pretty slick! BTW. I fixed earlier error. AND. KEXEC seems to be working and added to my git repo! Finally...
[One (M8) Android Development] ckvisme:
Sweet! I just flashed ...going back to flash gapps ...and see if we have kexec ?

JRummy is a good app... But not much to look at IMO.. although function is the most important part obv ...i definitely recommend trying out SE for the trial period... Just so damn good..

Optimizing on GApps.. Haha.. Won't be long now
[One (M8) Android Development] PunkUnity:
OK. Kexec wasn't working on the first build from today. I will now flash the build I just uploaded to Slim Kexec folder of my androidfilehost.com page
[One (M8) Android Development] ckvisme:
No luck... This last build.. No kexec.. Low volume.. Lol, so that just means more room for improvement.. Sounds like you about have the kexec figured out ?

---------- Post added at 11:03 PM ---------- Previous post was at 10:58 PM ----------

Any ideas on what they (who ever is at the source) messed up to Jack the audio volume?... Liken said yesterday, the audio problem isn't just on your build
[One (M8) Android Development] jxcorex28:
I've been using Solid for 2 years now, and before that I was using Root Explorer. I still use Root to extract ROM zip and rezip because I don't think Solid has that ability. I say this because I tried unzipping a ROM, then zipping back to flash the edited ROM, but it didn't work (this was years ago when I actually had time).