yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] EarlyMon:
Impossible is such a charged term, yeah?

Kurt Vonnegut documented in The Sirens of Titan that Tralfalmadorians powered their interstellar craft with UWTB - the Universal Will To Become.

Theoretically, this mod could be ported to any rom with sufficient UWTB, because impossible doesn't have a firm definition.

The questions, in my opinion, are not, "Is it impossible," and, "How come?"

I think that the questions are, "How much UWTB is required," and, "How much can you do to help?"

Didn't the GPE come with Boomsound? I recall it did. Get this mod, open it, match the files to the ones in the GPE rom and note any differences.

If there are dependencies in proprietary files for which source code is not available and those files need modifying, then while not impossible, it may require more UWTB than the entire forum can muster.

Honestly, I don't know.

(But now I'm subscribed so even the app ought to be happy, my other excuse for posting - hi everybody! :))
[One (M8) Android Development] vegetaleb:
Flashed on leedroid, the sound quality changed but I still get the boomsound logo instead of HK
[One (M8) Android Development] Sneakyghost:
Now that's the kind of answer that makes me smile.

UWTB in this project has a clear limit: make HK available for S-OFF sense M8 ROM's.

Why no GPE or even other hexagon powered smartphones?

Simply because it exceeds mine, Guich's and possibly CT's skills.

I said it already earlier: the whole point of this isn't even the mod itself, it's the way it's being applied and made reversible. I see the work of digging into roms and diffing files as excruciatingly painful and I would prefer someone do that for me so Guich and I can do our usual hangout and talk about how the ui should look like, what's safe, what not. Learn aroma and updater along the way and just be playful with the scripting.

Call me lazy, but I've got quite the demanding job and I simply don't want to think when off. So, this is about easy in every possible way.

GPE will be added once someone works out what needs to be done and is able to determine that a simple file swap operation will suffice.

Anything else and it won't happen.
[One (M8) Android Development] mattie_7:
Will this be updated ? Not asking for ETA. Just running Android 6 and bOOmsound just isn't quite cutting it.
[One (M8) Android Development] smeejaytee:
It will when hk edition gets mm,

If someone is still working on it, fingers crossed.
[One (M8) Android Development] trancoss2:
It works with CM13

Enviado desde mi m8 mediante Tapatalk
[One (M8) Android Development] santod040:
No, it doesn't....
[One (M8) Android Development] ashaman25:
I tried this yesterday on sky dragon 1.6.5 and it wouldn't get past boot. Dirty flashed ROM and all good again.
[One (M8) Android Development] santod040:
There is NO H/K ADSP, libs, files, etc for Marshmallow yet.

This is for Sense based Lollipop roms only until a Harman Kardon M8 Marshmallow base surfaces.

There is no need to try it on AOSP, GPE, or any Marshmallow based roms until a new HK base is released by HTC and we update the zip in this thread with those files.
[One (M8) Android Development] Mr Hofs:
That would be "facepalm worthy" .....but i won't, i'm in a good mood

:)
[One (M8) Android Development] xunholyx:
I was tempted
[One (M8) Android Development] ashaman25:
Don't worry... I beat you both to it! :D
[One (M8) Android Development] trancoss2:
Its work in cm13?

Enviado desde mi m8 mediante Tapatalk
[One (M8) Android Development] UltraM8:
Guys can anyone pls pm me with build.prop lines responsible for HK?
[One (M8) Android Development] santod040:
Has nothing to do with Build.prop.

It's /system/lib/(multiple files) + HK ADSP +

/system/customize/ACC/default.xml

<item type="boolean" name="support_harman">true</item>
<item type="boolean" name="support_boomsound_effect">false</item>
[One (M8) Android Development] Leon:
Do you think guys this will work with ViperOne 5 ?
[One (M8) Android Development] xunholyx:
Try it and find out, then report back here with your results.
[One (M8) Android Development] santod040:
No, it will not.

http://xdaforums.com/showthread.php?p=64658634
[One (M8) Android Development] Leon:
Is any of those mods in first page compatible with marshmallow ?
[One (M8) Android Development] santod040:
No, please read the link I posted in my last response to you.

Notice the date of last update?

Audio [MOD][2015.08.18] - HK - BS Aroma Switcher 4.3.1 / most M8's - ADSP v56.2.2, ROM for the HTC One (M8)
[One (M8) Android Development] Sneakyghost:
Thanks bro. Was just about starting to experiment. Saves me a backup/restore session.

To everyone else: patience, guys. I am as eager as you to have it run on ViperOneM8_5.0.0.... we'll get to it as soon as we have files.
[One (M8) Android Development] noob9999:
Here you can check, if htc has released the update yet: http://www.htc.com/us/go/htc-software-updates/#device-content

At the moment: "Sprint HTC One Harman/Kardon Edition

This device is in the 3 - Certification stage of the Android 6.0 Marshmallow update."
[One (M8) Android Development] Sneakyghost:
Thank you, Sir. I am aware of that page.
[One (M8) Android Development] trancoss2:
Its work viper 5.0?

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) Android Development] Kratos90:
You don't read much do you? Look one page back, no it doesn't.
[One (M8) Android Development] arek78:
If installed Harman Kardon - Boomsound is always on the phone and I can enable it if you do not like Haramn kardon?
[One (M8) Android Development] Sneakyghost:
The Harman-Kardon switcher mod is a zip you flash in Aroma. There, you can select what to flash:

- Harman/Kardon with ADSP (pick this for first time use or after a firmware flash)

- Harman/Kardon without ADSP (if you have the ADSP, which is required, already - like after changing ROM)

- BoomSound with ADSP (pick this to fully return to BoomSound)

- BoomSound without ADSP (BoomSound also works with the Harman/Kardon ADSP in some cases)

The mod does NOT currently work on Marshmallow. Don't even try. I will see to updating the mod for marshmallow, once I can lay my greedy hands on the Sprint Harman Kardon Marshmallow update. Not out yet? Oh. No mod then.
[One (M8) Android Development] pisc3s1203:
we all waiting htc and you, can't live without this mod :p
[One (M8) Android Development] drmoeed:
Sprint H&K supposed to get MM this mid week ...

Any good news sprint users ????
[One (M8) Android Development] Leon:
Agree with you. I used it so much time and now after upgrading to MM it's kind a strange... I miss HK
[One (M8) Android Development] hoang555:
M8 HK android 6.0 arrived http://www.htc.com/us/support/htc-one-m8-harman-kardon-edition-sprint/news/
[One (M8) Android Development] santod040:
Sort of :/ ....waiting for OTA.
[One (M8) Android Development] doomscooter:
Nice shared.
[One (M8) Android Development] sun_dream:
S ROM compatible S-ON(adsp Unlimited) harman.

:laugh:
[One (M8) Android Development] santod040:
Synthetic/virtual [emoji12]
[One (M8) Android Development] drmoeed:
OTA Late Next week ...
[One (M8) Android Development] santod040:
Yeah I know, it was delayed, was supposed to be 25th.

RUU not applicabke, so we wait for them to fix.

I'm actually on Verizon, but I'm waiting for files, like others...
[One (M8) Android Development] sun_dream:
Real Harman lol.

M7 5.0.2 sense7 HarmanPort by me.:p
[One (M8) Android Development] doomscooter:
RUU already sprint MM
[One (M8) Android Development] santod040:
http://xdaforums.com/showthread.php?p=64933474
[One (M8) Android Development] josear33:
ARHD 51.0 - BoomSound got killed!

Hi there!

Tricky question... I just flashed yesterday ARHD 51.0 with MM, and flashed firmware 6.xxx.yyy as well (before that, I was running stock lollipop on 4.501.13, s-off and H/K mod). Everything's OK, but it broke boomsound. Now it says it's only available through cable (it can't be turned on).

As suggested on the rom thread, I've tried several reflashes (with and without wiping everything), but I guess... would be ok to restore boomsound with this mod? Would it work? Would it brick my device? Is it worth trying?

Thanks in advance everyone!

Edit;

Tried it. Won't boot up.

Dirty flashing as I type...

Cheers!
[One (M8) Android Development] Sneakyghost:
Just RUU. No difference between RUU and ARHD anyway. If you want stock, run RUU. Safest bet.

And no, the Switcher has no MM compatible files.

Like it wasn't discussed just before you posted...
[One (M8) Android Development] trancoss2:
then hk does not work on Android MM

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) Android Development] josear33:
Yeah, just couldn't find the specific thing (getting back to boomsound). Almost everyone here wants h/k, not BS :P.

Thanks guys!

Cheers!
[One (M8) Android Development] priologiacomo:
hi guys,

i want to know if is possible HK sound with marshmallow.

thank for response
[One (M8) Android Development] Forsaked:
If you just would read the last page, you would find your answer!
[One (M8) Android Development] drmoeed:
Great News :)

Waiting for the magic of OP now :)
[One (M8) Android Development] hoang555:
waiting for great news
[One (M8) Android Development] santod040:
Soon....
[One (M8) Android Development] Spud37:
Which one sounds better on the normal HTC One M8? I thought it got that because the speakers were supposed to be better.

Will this work with a custom Skydragon ROM? or with the stock OTA?
[One (M8) Android Development] santod040:
There is no hardware difference.

It's all about libraries and the ADSP(Advanced Digital Signal Processor).

Once you replace standard M8 ones with those from H/K, you have full capability of the H/K M8.

Up to users to decide which they prefer, most prefer H/K.

As for if it will work with "X" rom or Marshmallow, read the last few pages....
[One (M8) Android Development] Spud37:
Will read, was more curious about speakers, and if they were in fact superior then the standerd HTC One M8 speakers. What I get from you is that its not, its all in coding.

Now is Boomsound or Harmon Kardon better? Will read about ROM support
[One (M8) Android Development] trancoss2:
great job, a ZIP flashing is installed?

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) Android Development] Stephen:
Moderator Information,

Thread has been cleaned up a bit. Please keep posts on topic, regarding this thread only.

Thanks,

Stephen
[One (M8) Android Development] vegetaleb:
Can you port this MOD for HTC A9?
[One (M8) Android Development] smeejaytee:
Don't think that would be possible due to hardware difference
[One (M8) Android Development] drmoeed:
OTA is live now ...

Congratulations to all Sprint Users. ..

Enjoy the mallows ...

Have a nice weekend ...
[One (M8) Android Development] Sneakyghost:
Hi,

Santod is already playing around with the HK files (we got thanks to CaptainThrowback) and I will start to as well now. If you guys are lucky, we will have a working HK mod for Marshmallow soon... no promises though.
[One (M8) Android Development] Forsaked:
Love you [MENTION=1102297]Sneakyghost[/MENTION]!
[One (M8) Android Development] drmoeed:
So genius people are at work on Weekend to make it perfect for us ...
[One (M8) Android Development] Sneakyghost:
Having issues with the shell script executing and changing settings entries.

Switcher works on Marshmallow, regarding the file set. All good. HTC hasn't changed very much. We just need to get the default.xml entries changed by a shell script and currently, that is where I am stuck. Probably needing help with that.

[EDIT]

not much progress yet sorry. Noobs at work. Will take a while. Almost bedtime for Sneaky anyway. Santod and Captain might continue (I hope).
[One (M8) Android Development] drmoeed:
Thanks for keeping us posted ...

It's gonna be done soon hopefully ... :)
[One (M8) Android Development] Sneakyghost:
Yea well. I hope so too. I am quite excited about this. Much emotional attachment to this mod. One of the very few things that have me stick with HTC. Sound is absolutely awesome and the deal with Harman/Kardon was pure profit. Bloody shame it was a Sprint exclusive. When the M10 drops and rumours come true (no front facing speakers anymore) I guess I am pretty done with HTC. This here, this mod, is a true gem making a whole phone worth buying it. So, expect me to try and update this as long as there is anything new from HTC. And I am sure everyone else who contributed to this has just as much love for the Harman/Kardon software as I do.
[One (M8) Android Development] scottie720:
This is the exact reason I bought this phone and ur mod has made my international m8 sound great patiently waiting on viper marshmallow for ur gift to us
[One (M8) Android Development] Spud37:
Is this going to be updated, I would really love to try it on the skydragonROM
[One (M8) Android Development] santod040:
0_0
[One (M8) Android Development] Captain_Throwback:
No, never
[One (M8) Android Development] krazie1:
Santod and Sneakyghost are working on getting HK Mod updated, give it time.

PS: Your answer could of been found no more than 15 posts back, reading keeps the brain strong. ;)
[One (M8) Android Development] drmoeed:
Counting every second of your hard work that you people are putting in coding the MOD for us ...

No words to say thanks to all of you ...

Thumbs up and hats off ... :)
[One (M8) Android Development] Spud37:
Thanks. Okay, I was more leaning towards the question of using with custom ROMs and not just stock or the Viper ROM.
[One (M8) Android Development] xunholyx:
You can use it with any Sense based ROM.
[One (M8) Android Development] santod040:
Updated to v5.0.0 for Marshmallow

Aroma HK / BS Switcher 5.0.0 for Android Marshmallow

​

Features:

- Flash the Harman/Kardon function of the Harman/Kardon Sprint M8 to stock GSM, VZW and Sprint phones

- Flash the BoomSound function back to all phones, make the Sprint H/K Phone a BoomSound phone.

- Both functions being selectable in a neat Aroma UI, flashable via recovery.

Requirements:

- S-OFF is mandatory - do NOT try to flash the ADSP to S-ON Phones - the risks are unexplored. Damage might be inflicted!

- S-ON and S-OFF Harman/Kardon Phones can use this mod too to restore their HK functionality on ROM's that only come with BoomSound like e.g. ViperOneM8!

- Recovery to flash: needs to be a current TWRP! NO Philz, NO CWM please!

- HTC Marshmallow Sense ROM! No AOSP, AOKP, Cyanogen, GPE or whatever Senseless...

Changelog:

5.0.0

Updated all files to Android 6.0 Marshmallow from Harman Kardon Sprint M8 Official 6.20.654.3 OTA.

Reconfigured Installer script and temp shell scripts for usability with the latest Twrp and Marshmallow.

Learned some new tricks in the process and suffered a headache or two, ENJOY!!!

DOWNLOAD:

(for Marshmallow only, Lollipop should use previous version)

HK_BS_Switcher_5.0.0-2016-01-30_PublicBeta
[One (M8) Android Development] EarlyMon:
Nicely done!

Want the requirements to say Lollipop though?
[One (M8) Android Development] santod040:
Thanks! :)

Already fixed from my mobile, probably while you were replying.
[One (M8) Android Development] King_root:
Will this work on S ROM/JW Rom (which is one a9 based?)
[One (M8) Android Development] drmoeed:
Downloading rite away ...

Thanks for the Magic ... ;)

Edit:-

Working Flawlessly ...

Awesomeness ...

Thanksssssssssss to OP and all other who put great effort ... :)
[One (M8) Android Development] xunholyx:
Thanks very much for the work guys! I know this one wasn't easy for you. Cheers!!
[One (M8) Android Development] con_sau_may_tinh:
i just downgrade from Srom MM to viper 4.2.1 yesterday, to test this audio mod

and wonderful about my m8 sound :good:

now, i'll upgrade to viper 5.0.1 :good:​
[One (M8) Android Development] pisc3s1203:
yes it works
[One (M8) Android Development] Chartist:
Yayyyyyyy!!! [emoji1] [emoji1] [emoji1] [emoji1] [emoji1] [emoji1]
[One (M8) Android Development] Ms_Trishlee:
thanks, working perfectly with your new nusenseven rom. :o
[One (M8) Android Development] Forsaked:
I flashed it onto my ARHD 53.1, the bootloader shows "OpenDSP-v62.2.2-00593-M8974-HM.1118" and it sound like it works.

Thank you [MENTION=1331268]santod040[/MENTION] and [MENTION=1102297]Sneakyghost[/MENTION] for that! :)
[One (M8) Android Development] alex6600:
Will work on any MM Sense ROM's?

Like Skydragon 1.5.1?
[One (M8) Android Development] Forsaked:
Let me help you with that.
[One (M8) Android Development] Sneakyghost:
Coding? :laugh:

There is no "coding" here. Just messing around with file combinations and having some scripts install that all. But thanks, yea. Santod has done a good job there.

For those who are interested what happened with Version 5 apart from a regular change log:

I had, some versions ago, moved the execution of the two shell scripts (EarlyMon's work), which edit default.xml to show either BoomSound or Harmann/Kardon in settings, from the updater-script to Aroma-Config. This way, the shell scripts would not be first transferred to /tmp/ and granted permissions (some extra lines in updater-script prone to errors) but rather just opened up from the zip into RAM and executed from there.

For some odd reason, this now kept failing - it might be due to recovery being updated to marshmallow, it might be the new security limitations of /system/ - I have no idea whatsoever.

However, on Version 5.0.0 of this switcher, Santod has moved the execution of these shell scripts back into updater-script, which oddly works now while it had given me issues a few versions back...

Apart from these hiccups with the installer, there was almost nothing to be done file-wise. Except about 5 or 6 files, all were still identical with the previous version. Sprint has libdm.so removed, which it still had in the previous version, while all other variants already had it removed last update.

This is a public beta, meaning, there will probably be parts that don't work properly. If you come across such, please report, if possible with log from install. If you encounter an FC (like with Bluetooth for instance - I did have one FC) please reproduce the FC with logcat running and then post the logcat of the FC.

Here's an updated beta, just cosmetical changes, no changes in functionality or tech:

HK-BS-Switcher_5.0.0_publicbeta2

MD5: 61d24168c2d4456f9e75ee8957a754dd

I think if nobody reports any serious problem, this can be considered the final 5.0.0 - another update will be required when Verizon decides to release their Marshmallow update.
[One (M8) Android Development] mandegar93:
Wow.. I just say this is the best sound MOD I have ever had.. HK on MM.

Too loud and proud.. really thanks guys
[One (M8) Android Development] enerGy:
[MENTION=218096]Sneakghost[/MENTION] thanks for fixing this for MM, my quality is awesome again. This along with dragon-fi and V4A= sweet sweet music lol :thumbup:
[One (M8) Android Development] trancoss2:
You can spend the viper you use on Android 6 do not get any work. HK works great. Thanks for your great work.

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) Android Development] Sneakyghost:
Most of the work on 5 was done by [MENTION=1331268]santod040[/MENTION]. Really. Go thank a few posts of him.
[One (M8) Android Development] TwinCalibre:
Loving HK on my m8! However, think I have found a bug.

I tried playback of a 96khz, 2874k bit rate vinyl rip track, and it was all garbled. Switched back to BoomSound just to check it wasent my phone being weird, and it played fine! Can anyone else report this issue? Not a biggy to be honest, I can just lower the quality a bit, but yeah, thought I would mention it!

Thanks again for this mod!
[One (M8) Android Development] enerGy:
Ah ok bro nice, [MENTION=1331268]santod040[/MENTION] thanks to you too bro awesome work to get this going appreciate all the effort and time from you guys :good:
[One (M8) Android Development] santod040:
Can you upload and PM me a link to the audio file?

Thanks
[One (M8) Android Development] TwinCalibre:
Sure, doing it now. Is pretty big, but ill PM you a link to it when its done.
[One (M8) Android Development] Forsaked:
I have no such problem, sounds like it should!
[One (M8) Android Development] TwinCalibre:
I use the stock HTC music app, could that be why? It plays fine with BoomSound though. I also realised I had the public beta 1 flashed, so ill reflash v2 and see if thats any better, I did see that there werent any technical changes...

Ill report back in a mo!
[One (M8) Android Development] nightcervant:
I flash beta v2 on Wolla v3.5 and work fine
[One (M8) Android Development] xunholyx:
There was a problem in a past version with the stock player and 320 flac. It didn't happen with third party players.
[One (M8) Android Development] Sneakyghost:
I was hoping we wouldn't see incompatible audio problems :cool:

I tested with the usual linnrecords testfile (flac studio master) and it is fine.

I additionally have some other high quality audio files, partly my own EAC rips, and they all work.

I am not sure what that guy's track is made of (specific encoder settings??) but to me that rather looks like issues with the tracks encoding than with anything else.
[One (M8) Android Development] TwinCalibre:
Can confirm it works fine with poweramp, I just prefer the stock player :/. Santod040 is avin a look!

---------- Post added at 10:07 PM ---------- Previous post was at 09:20 PM ----------

Is that with stock player?
[One (M8) Android Development] mandegar93:
Installed beta 1 and played flawlessly my flac music in htc stock music app... thanks

Edit: ok , I think beta 1 can be a final version. . No problem. . Sounds in every format is really great
[One (M8) Android Development] santod040:
Updated to v5.0.1 Stable

Changelog:

5.0.1

Removed Beta tag/considered stable

Fixed some file duplicates from Beta 2 upload

Added HTC Audio Configuration from HK and stock configs for return to BS

LINK added to OP
[One (M8) Android Development] galijanach:
Thanks for that.

Can you please let me know where to download version 5.01? it isn't in the download section
[One (M8) Android Development] hdorius:
First post?
[One (M8) Android Development] santod040:
Correct, it's in the OP.

I didn't add to download tab for DevDb at this time.

See bottom of the OP for AFH link...
[One (M8) Android Development] galijanach:
Cheers for that!
[One (M8) Android Development] Spud37:
It doesn't make any sound when I try to play an music. It still rings for notifications, messages, and ringtones.

T-Mobile HTC One M8 Running Skydragon.
[One (M8) Android Development] wiQbold:
did you flashed the adsp Firmware within the Installer?
[One (M8) Android Development] EarlyMon:
Surely not Skydragon GPE?
[One (M8) Android Development] santod040:
Added v5.0.1 to DevDB Download tab as well now...

So now it's available in the OP via AFH link and in the Downloads tab.
[One (M8) Android Development] Spud37:
Yes I did. I even reflashed the adsp when i went back to BS and it then worked. but HK wont work.

Nope. Its the Sense one. I didn't think this would work on any GPE based ROM. It is the T-Mobile Skydragon sense rom though.

This was with the 5.0.1 switcher.
[One (M8) Android Development] santod040:
You ARE s-off, correct?

Haven't seen anyone else have "no" audio from music player...
[One (M8) Android Development] threetwentyfizzle:
Hey thank you guys for getting HK working on MM! Had to pull my M8 out of my drawer and dust it off to use this and Viper MM :) forgot how much I love this phone.
[One (M8) Android Development] Sneakyghost:
Yea well seems I found some non-playing files too.

Santod and CaptainThrowback figured the Kernel problem is back and were right. Mod needs kernel with HD Audio flag enabled again. Seems like on the past few versions, HTC had that enabled by default in all variants but now its off again by default.
[One (M8) Android Development] TwinCalibre:
Ahh ok, is this something that can be done manually? or is it not as simple as that?
[One (M8) Android Development] Sneakyghost:
Let's see. Not too sure. I think it's going to need kernel sources from HTC. Captain can comment on a fix for that issue better than I can.
[One (M8) Android Development] Captain_Throwback:
Using the HK kernel should work for anyone having the issue.