Thanks for your tutorial.
I followed it to recompile android htc live wallpapers apk, signed it, and reinstalled it into the device /system and it seemed to work.
Now I am trying to decompile dockmode.apk from the /system folder, and fix some stuff. I notice in the main AndroidManifest.xml file that they spelled HTCBuletoothconfirm wrong, it was supposed to be HTCBluetoothconfirm maybe?
I am also trying to remove the default live wallpaper from dock mode (right now it is com.htc.WeatherLiveWallpaper and I want to change it to the one I'm using now.
But when I try to build the apk, I get the following error:
c:\Users\asus\Desktop\apktool>apktool b DockMode
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: c:\Users\asus\Desktop\apktool\DockMode\res/values-w1dp
invalid resource directory name: c:\Users\asus\Desktop\apktool\DockMode\res/values-w2dp
invalid resource directory name: c:\Users\asus\Desktop\apktool\DockMode\res/values-w3dp
I notice that the directory separator \ is switched to / and I have no idea why. Because of this I can't rebuild the apk.
Any suggestions what I should do? Do I need to go into each smali file and change everything?