0

I have a compiled APK and My workaround to make a shortcut at the home screen is :

 1- Decode the apk with apktool.jar
 2- Modify AndroidManifest (add the <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" /> )
 3- Recompile the apk and put it in the system.img
 4- with yaffey tool i replaced the file and calculate the CRC.

After flashing the smartphone the shortcut is not created on the Homescreen? is there any way to place the shortcut for preinstalled APK ? without code modding of course

leppie
  • 115,091
  • 17
  • 196
  • 297
M. A.
  • 424
  • 6
  • 21

1 Answers1

0

The solution I found is to :

Decompile the Launcher.apk also.
Reorganize the icons positions in the XML file.
Recompile & sign the APK.

It works fine.

M. A.
  • 424
  • 6
  • 21