FORUMS

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

1,413 posts
Thanks Meter: 1,274
 
Post Reply Email Thread
7th February 2020, 05:28 PM |#61  
Senior Member
Flag alcamo
Thanks Meter: 33
 
More
Quote:
Originally Posted by moneytoo

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.

New spotify lite is a great app, it has the same features as stock app (you can download music at max quality too). I tried to mod it with your wearmodder but I get this errore when I try to install:

c:\adb>adb -d install spotify-lite.apk
Performing Streamed Install
adb: failed to install spotify-lite.apk: Failure [INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2]

do you know how to solve it? Thanks for your work
17th February 2020, 09:41 AM |#62  
Member
Thanks Meter: 0
 
More
Getting this error. Does anybody understand why?

Quote:

C:\adb>adb -s localhost:4444 install -p Spotify_Lite.apk
42 KB/s (14996600 bytes in 345.103s)
Error: Failed to parse APK file: null

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Failed to parse APK file: null
at com.android.server.pm.PackageManagerShellCommand.s etParamsSize(PackageManagerShellCommand.java:338)
at com.android.server.pm.PackageManagerShellCommand.r unInstall(PackageManagerShellCommand.java:906)
at com.android.server.pm.PackageManagerShellCommand.o nCommand(PackageManagerShellCommand.java:158)
at android.os.ShellCommand.exec(ShellCommand.java:103 )
at com.android.server.pm.PackageManagerService.onShel lCommand(PackageManagerService.java:21337)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact (IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTran sact(PackageManagerService.java:3856)
at android.os.Binder.execTransact(Binder.java:731)
Caused by: android.content.pm.PackageParser$PackageParserExce ption: Failed to parse null
at android.content.pm.PackageParser.parseApkLiteInner (PackageParser.java:1617)
at android.content.pm.PackageParser.parseApkLite(Pack ageParser.java:1575)
at com.android.server.pm.PackageManagerShellCommand.s etParamsSize(PackageManagerShellCommand.java:331)
... 9 more
Caused by: java.lang.NullPointerException: friendlyName
at com.android.internal.util.Preconditions.checkNotNu ll(Preconditions.java:128)
at android.content.res.ApkAssets.<init>(ApkAssets.jav a:123)
at android.content.res.ApkAssets.loadFromFd(ApkAssets .java:96)
at android.content.pm.PackageParser.parseApkLiteInner (PackageParser.java:1587)
... 11 more

Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes