BEFORE YOU EVEN THINK ABOUT PORTING A THEME, KEEP IN MIND THAT IF YOU WANT TO USE OTHER PEOPLE'S WORK, YOU BETTER ASK THEM FOR PERMISSION AND GIVE PROPER CREDIT !!
Anyways, here is a guide on how to port a theme assuming you are running Windows.
Requirements:
-Android SDK
-JDK
Build your framework-res.apk off of this file if you want it to be compatible with reboot mod.
Instructions:
1. Download this zip file.
2. Unpack the files on your desktop.
3. Download stock deodex theme template
4. Download the theme you want to port.
5. Copy the contents of the theme you want to port into the proper folders of Theme Porter/old
6. Copy the corresponding files from the stock theme template into Theme Porter/new
7. Run Script.bat
Now you have to get down and dirty with LGE-res.apk which contains the image files for signal and airplane mode.
8. Copy LGE-res.apk from v9optimusS_Deodex_Template/system/framework to Theme Porter/new/framework
9. Navigate to LGE-res/res/drawable
In here you will find the files for signal and airplane mode, but wait! They have the extension .pro .. So what you need to do is find the .png files of signal and airplane mode of theme being ported (framework-res/res/drawable-mdpi) and rename them to match the ones in LGE-res.apk along with the proper extension (.pro). Now put them in the LGE-res/res/drawable folder.
Wasn't that fun? Okay now the new theme is ready to be packaged.
10. copy the contents of Theme Porter/new into the corresponding folders of template.zip
11. Move template.zip to Auto-Sign
12. Open cmd
13. ASSUMING THAT YOU ARE DOING THIS ON YOUR DESKTOP. Type cd c:\\users\(your username)\desktop\auto-sign\
14. Now that you are in the Auto-Sign folder type
15. Now your new theme is in the Auto-Sign folder and its name is "newtheme_signed.zip" W00t!
Credit:
Daneshm90 for his theme porter.
Dave Da illest 1 for his auto-sign tool.
Anyways, here is a guide on how to port a theme assuming you are running Windows.
Requirements:
-Android SDK
-JDK
Build your framework-res.apk off of this file if you want it to be compatible with reboot mod.
Instructions:
1. Download this zip file.
2. Unpack the files on your desktop.
3. Download stock deodex theme template
4. Download the theme you want to port.
5. Copy the contents of the theme you want to port into the proper folders of Theme Porter/old
6. Copy the corresponding files from the stock theme template into Theme Porter/new
7. Run Script.bat
Now you have to get down and dirty with LGE-res.apk which contains the image files for signal and airplane mode.
8. Copy LGE-res.apk from v9optimusS_Deodex_Template/system/framework to Theme Porter/new/framework
9. Navigate to LGE-res/res/drawable
In here you will find the files for signal and airplane mode, but wait! They have the extension .pro .. So what you need to do is find the .png files of signal and airplane mode of theme being ported (framework-res/res/drawable-mdpi) and rename them to match the ones in LGE-res.apk along with the proper extension (.pro). Now put them in the LGE-res/res/drawable folder.
Wasn't that fun? Okay now the new theme is ready to be packaged.
10. copy the contents of Theme Porter/new into the corresponding folders of template.zip
11. Move template.zip to Auto-Sign
12. Open cmd
13. ASSUMING THAT YOU ARE DOING THIS ON YOUR DESKTOP. Type cd c:\\users\(your username)\desktop\auto-sign\
14. Now that you are in the Auto-Sign folder type
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 template.zip newtheme_signed.zip
Credit:
Daneshm90 for his theme porter.
Dave Da illest 1 for his auto-sign tool.
Last edited: