Affichage des articles dont le libellé est alone. Afficher tous les articles

So if you bought, or got the app Thomas was Alone from the amazon appstore and tried to install it on your 5.0+ device you would get a rather nice(/s) screen saying "App not Installed", after wanting it to play on my dd (a 5.1.1 nexus 5)i decided to take a look on it, and found how to fix.
What you will need:
- PC
- Apktool: https://ibotpeaches.github.io/Apktool/
- Signapk: https://code.google.com/p/signapk/
- Thomas was alone apk http://www.amazon.com/Bossa-Studios-.../dp/B00LXFHI60
(you can dump it using root, downloading it via appstore, using a root file explorer, then going to /data/data/com.amazon.venezia/files/apks)
How to:
- Decompile the app using a cmd line on a folder where both apktool and signapk are, the command is "java -jar apktool.jar d <apk name>.apk" without quotes (since the apk is named as hash by the appstore, it will differ per device, also its without quotes and <>).
- Navigate to the folder with the same name as the apk, open AndroidManifest.xml and delete
android:installLocation="preferExternal" from the manifest tag(line 2)
before:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.bossastudios.twadroid">
after:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.bossastudios.twadroid">
- recompile it using "java -jar apktool.jar b <name of folder of decompiled apk>"
- sign it using "java -jar signapk.jar <key>.x509 or .pem key.pk8 <Name of the decompiled apk folder>\dist\<Name Of Decompiled Apk>.apk ThomasFixed.apk
- done, now you can install it via phone or via adb install ThomasFixed.apk