• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][MOD] Spotify Lite - scaled for standalone use on Wear OS

Search This thread

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
This is a mod of the Spotify Lite v0.6.6. The official Spotify app for Wear OS is not able to stream music standalone. Sideloading any Spotify works but the UI is obviously giant on Wear OS - see this recent Spotify screenshot from Wear OS.

It's possible to change system wide density but it takes away the usability and look of Wear OS. I did a quick experiment with pure resource mod and it works surprisingly nice so I'm sharing it with you. Downscaling other well written apps is therefore possible.

What it took:
  • Replace all sizes (dip/sp in layouts, dimens etc.) - I divided them by 2
  • Few quick fixes - set bottom tab layout alignment to center instead of fill, set custom height for actionBarSize, set horizontal margin for toolbar (so far only on Home screen)
It takes only quite a few commands to create such downscaled modded app. The current version of the size replacement script is really ugly and slow but I think that it would make a great universal script/tool for conversion of any user app (right?)...

spotify-lite-wear-screenshot.png spotify-lite-wear-screenshot-2.png spotify-lite-wear-screenshot-3.png

Spotify Lite mod is attached to this post. (Lite version doesn't support offline playback but the whole app is supposed to be snappy.)
Full version of modded Spotify (8.4.62.490) is available from mega.nz or AndroidFileHost. Mod v2 (improved top toolbar): mega.nz or AndroidFileHost.

Here's the raw (but trivial) tool - WearModder.jar

How to use it:

Code:
# Decompile apk
java -jar apktool_2.3.3.jar d spotify-lite.apk

# Mod resources (use directory or individual files as arguments)
java -jar WearModder.jar spotify-lite/res

# Perform additional manual tweaks

# Build apk
java -jar apktool_2.3.3.jar b spotify-lite

# Sign
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore spotify-lite/dist/spotify-lite.apk alias_name

WearModder modifies all files in-place so do not run it more than once on the same files (d'oh). Feel free to try modding your favorite apps and let me know how well it works.

Update 2018/10/04: Uploaded mod of Spotify Lite v0.9.5.

Chech also uploads of others who shared their (newer) versions.
 

Attachments

  • spotify-lite-wear-mod.apk
    5.1 MB · Views: 22,740
  • spotify-lite-wear-mod-v0.9.5.apk
    5 MB · Views: 8,054
  • WearModder.jar
    2.6 KB · Views: 2,103
  • WearModder-v20200225.jar
    2.7 KB · Views: 620
Last edited:

unrealmac

Senior Member
Oct 12, 2014
70
29
This is probably the coolest thing I've seen here for a while! If this app would have existed when I had my Huawei Watch, I probably wouldn't have sold it!

GJ. This could be a game changer for Wear OS. Sad that such things doesn't come from Google directly.

I want to see more screenshots of such apps! :)
 
  • Like
Reactions: MrVicio

demitryh

New member
Jul 13, 2018
1
0
Amazing job!

I am testing this like for an hour now and well it is buttery smooth on my old but amazing Huawei Watch.
I used Wearify (third party app) for spotify music on my watch without the phone but this app was limited to playlists only.

With this solution i can search for music on my watch and play them. and it works really well.
only think to note for people with spotify premium:
I have spotify premium but it shows only the option to shuffle play and i CANNOT save music for offline playback.
but still i wasn't expecting offline playback. only think i expected was a horrible but at least working search button.
But while it is true that it works, it is such an amazing smooth experience so well done!
 

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
I'm not a Spotify subscriber but I will try modding the full version of Spotify next (I'm really curious how well it will go). I have just learned that there is "Wearify for Spotify" (also online only) so something for actual offline playback is welcome I guess.
 

ckarv

Senior Member
Dec 7, 2012
324
64
Xiaomi Mi 9
Let me know if you need help testing offline playback, if you think of a way to include it somehow.

Thanks for the work!
 

garzacorporations

Senior Member
Mar 12, 2011
439
43
33
Valencia
Not playing anything for me in my Huawei Watch 2. It opens it finds songs but cannot play them it says something is wrong with internet (even it can find whatever you search)...
 

seahorsepip

Senior Member
Jan 22, 2012
459
176
I'm not a Spotify subscriber but I will try modding the full version of Spotify next (I'm really curious how well it will go). I have just learned that there is "Wearify for Spotify" (also online only) so something for actual offline playback is welcome I guess.

I've been working on offline playback but that's sadly not that easy, current download implementation consists of ripping the audio stream and saving it as ogg file, works but slow since 1h of music takes 1h to download. And obviously I can't put that on the play store. If you're interested feel free to look at the source.
 

widezu69

Senior Member
Aug 17, 2009
142
20
This is great. Especially useful for people with sim-enabled watches such as the LG Watch Sport.
@moneytoo there's a request a few threads down of trying to use the Polar Flow wear apk (not the full phone one) on Wear OS watches that aren't the M600. Because the apk is only designed for the M600 which has a 240x240 display, all the elements are off place on watches with other res displays. Would you be able to take a quick looksy and see if you could work your magic on resizing the apk for other watches? In this case the resolution actually needs to be scaled up.

Would love to be able to use the Flow apk on my LG Watch Sport which has a 480x480 screen.

I can help provide the most up to date apk if needed.
 
Last edited:

laasworld

Senior Member
Jan 22, 2013
55
37
Munich
LG G6
Huawei MediaPad M5 Lite
I have just added link to modded version of the full Spotify to the first post. The bottom bar still doesn't look right but it should be manageable. Let me know if offline playback works.

Wow, that's a huge step forward! I already tested the full mod, and it's incredibly slow on my brand new ticwatch pro, though. Took awhile to load the login screen, then much patience to login (bg animation = lag), but the home screen isn't so bad. Unfortunately that's where the usability stops, because I can only scroll up/down to see the latest playlists/albums, and trying to queue one for offline download is broken because the app thinks I was on cellular, despite wifi being enabled. I couldn't access the settings interface to override this. I don't have a small smartphone, and without gesture functionality or an interface redesign, I can't imagine a usable interface from the main app that shows everything one might hope to operate.. :confused:
 

Attachments

  • IMG_20180716_162448.jpg
    IMG_20180716_162448.jpg
    242.5 KB · Views: 1,263
  • IMG_20180716_162647.jpg
    IMG_20180716_162647.jpg
    245.6 KB · Views: 1,235

tinyqu

New member
Jul 16, 2018
2
1
hey guys,
i tested the full version on my ne ticwatch pro, because of some connetction issues with the spotify wear app.
the full version (by moneytoo) worked fine, exept some usability problems because of the resultion with 400x400px

if searched for one of my public playlists and it was possbile to download the songs. disconected my watch from the wlan and the songs could stil be played.

could it be possible to adjust the dpi settings in the app for 400x400px?
not only the bottom bar, althoug the settings button and the searchbar are out of the screen.
 
  • Like
Reactions: ckarv

Top Liked Posts