Friday, January 15, 2016

Exploiting Spotify Free Again... How to Enable High Quality Streaming

Level: Intermediate

A few days ago I posted on how to block all ads on the music app Spotify. 

Today I'll write about a trick I found online to enable the high-quality streaming of music on Spotify Free. If you have ever noticed the setting menu, you will remember it has the option to enable high quality streaming. It is disabled for free users, however. High quality streaming basically means instead of standard 160 kbps streaming, you get 320 kbps. According to online sources, the difference isn't really heard unless you have good headphones. I have average headphones and I thought I could tell a little difference after trying this... a little crisper treble, a tad deeper bass. Or maybe it was just my imagination. Give it a try and leave me a comment! :)



So, to do this, follow these steps.

1. Close Spotify completely
2. Click start and type %appdata%/Spotify and press enter 
3. Open "prefs" file with text editor (Notepad, Wordpad)
4. After core.flash_version=0 --ADD THESE LINES--
    audio.sync_bitrate=320000
    audio.play_bitrate=320000
5. If your file doesn't have "core.flash_version=0", then add these 3 lines of code at the bottom of the file.

    core.flash_version=0
    audio.sync_bitrate=320000
    audio.play_bitrate=320000

6. Save and close
7. Open "prefs" properties, and check the "read only" box.
8. Restart Spotify.



Disclaimer: I don't know if this is technically hacking or illegal to implement. I tried this only for educational purposes and do not encourage someone to regularly use this.

Also, I can't verify if this works in the latest Spotify version. I tried it and it seemed to help a little bit, but there is no way that I know of to actually verify it. This method might be obsolete now.

Source: https://www.youtube.com/watch?v=JWqk-ieG6fI

13 comments:

  1. It does not work.

    The setting within the application doesn't show it (if it's supposed to, if not nvm), but after I close Spotify and check the file again, those lines I added are gone.

    ReplyDelete
  2. I know this might be late, but this acually works! Checked it out by recording from a virtual soundcard and recorded it's input. After analyzing their spectograms using Spek, freqencies above 16 kHz were present, which means Spotify is receiving the 320kbps audio files!

    ReplyDelete
    Replies
    1. That's pretty awesome. I forgot to add to the guide to mark the file as read only, that will prevent spotify from removing those lines. Thanks for the confirmation!

      Delete
  3. There is also a file "pref.tmp" - a temporary file I guess. But does that file need to be amended also to read only and/or add the " core.flash_version=0
    audio.sync_bitrate=320000
    audio.play_bitrate=320000
    I see different numbers for core flash version - some 12, some 16 - does using 0 take care of it and what does it mean?
    Thank you

    ReplyDelete
  4. This does not work. I used the same song on Spotify and used Virtual Audio Streaming: one with hack adds to prefs (read only )and one without hack and then used Spek to analyze both. Exact same. Spotify was closed each time and reopened.

    ReplyDelete
  5. it does work.. You have to chmod 666 to make the file readable to keep the entries and chmod 444 to make files real only after adding entries. Also u must edit the prefs.tmp file which will show up on first open after editing origin prefs file. I use cygwin run as Administrator in Windows to make these changes. On mac one should be able to chmod from built in termianl

    ReplyDelete
  6. This does work. However you must first chmod 666 prefs file to make it where u can write to it and it will reflect changes. Then you must chmod 444 file to make it read only and cannot be changed back. Upon first run after making these entries another file prefs.tmp will appear. Make the same changes as I stated above to this file. Make sure that it is chmod 444 which sets to read only and you are good to go. On windows I am using cygwin run as Administrator to do this. In Mac chmod is available in normal mac terminal. Hope this helps those who say it doesn't work

    ReplyDelete
    Replies
    1. Can you please give me a guide to how you used cygwin to change chmod

      Delete
  7. JAMBERS Casino: LIVE CHANNELS, DATES, WAGERING
    평택 출장샵 j-mrcar-live-ch › j-mrcar-live-ch Sep 25, 2021 — Sep 25, 2021 과천 출장샵 JAMBERS Casino: LIVE CHANNELS, DATES, WAGERING - Exclusive online slots & casino games 광명 출장마사지 | 계룡 출장마사지 JAMBERS - 경산 출장안마 Sign up now.

    ReplyDelete