GUID generator with Option.xml generator included. - 8125, K-JAM, P4300, MDA Vario ROM Development

Attached is a GUID generator you can use to generate the GUID numbers to build your OEM packages.
It also generates the contents of option.xml for the Faria-kitchen users (and other kitchens that uses this file)
Generate, select output, copy to desired file.

Thank you very much!

Related

Adding Games into ROM while cooking

Guys,
i have a ROM i and trying to cook as a est. and would like to know how to ad games into the Kitchen...
im using Luca16thebigs Visual Kitchen
Use "Package rebuilder" tools.
1. Put the CAB file inside package rebuilder folder.
2. Run "CAB to new kitchen" batch file.
3. Move the folder created from that CAB file into kitchen's EXT folder.
Just remember, although all CAB file can be rebuild into EXT (inside EXT folder) and/or OEM package, and can be executed after flashing, but some software can only be rebuild into OEM package (inside OEM or SYS folder).
Try to rebuild into EXT first, if it doesn't work after flashing, try to rebuild into OEM and put it inside OEM or SYS folder.
Converting from CAB to OEM package can be done by executing "CAB to OEM" batch file.

[Dev]Automatic Update Zip Generator

Everyone:
I've recently finished creation a program that will take an existing directory structure (i.e with /system and/or /data) in the root directory and generate a signed update zip from it. Let me know if there are any problems and I'll do my best to fix them in a day or so. Enjoy!
Features:
Generates the META-INF folder structure and update-script if the META-INF folder isn't present. If it is present, you folder structure and scripts will not be overwritten
Experiemental: Gives the option to run a script before copying the contents or /system or /data to your phone. I've tested this feature using a simple echo script with no ill-effects, but still use it at your own risk. If you want to verify the command to run a custom script is being written correctly, you can check the source at: (line 18)
code.google.com/p/android-customization-autotool/source/browse/trunk/src/standalones/UpdateZipWizard/CreateUpdateZip.py
Generates a signed update zip (named whatever you want) containing your files (including the META-INF folder) that can be flashed in Clockwork
Download:
code.google.com/p/android-customization-autotool/downloads/list
Report an Issue/Make a feature request/suggestion:
code.google.com/p/android-customization-autotool/issues/entry
Awesome!
Appreciated
No problem. I'm currently trying to finish out the all-in-one tool but if anyone has any feature requests, I'd rather contribute some more new programs to the community than making existing ones better. Any ideas can be submitted here:
code.google.com/p/android-customization-autotool/issues/entry?template=Feature%20Request
If they aren't phone specific, there's a higher chance I'll pursue it. If it is phone specific, I can code it to tutorial specs, but I only have a Droid X to test on so if it's not a Droid X, you'll have to do the testing (or assume it's right --> Bad idea)
Recently made an update to the tool... A user had a problem with the Java heap size so that has been decreased. Additionally, the command window would close before errors could be seen, and this has been fixed.
The updated version can be found at the original link. Let me know if there are any additional issues.
androidfan44 said:
Everyone:
I've recently finished creation a program that will take an existing directory structure (i.e with /system and/or /data) in the root directory and generate a signed update zip from it. Let me know if there are any problems and I'll do my best to fix them in a day or so. Enjoy!
Features:
Generates the META-INF folder structure and update-script if the META-INF folder isn't present. If it is present, you folder structure and scripts will not be overwritten
Experiemental: Gives the option to run a script before copying the contents or /system or /data to your phone. I've tested this feature using a simple echo script with no ill-effects, but still use it at your own risk. If you want to verify the command to run a custom script is being written correctly, you can check the source at: (line 18)
code.google.com/p/android-customization-autotool/source/browse/trunk/src/standalones/UpdateZipWizard/CreateUpdateZip.py
Generates a signed update zip (named whatever you want) containing your files (including the META-INF folder) that can be flashed in Clockwork
Download:
code.google.com/p/android-customization-autotool/downloads/list
Report an Issue/Make a feature request/suggestion:
code.google.com/p/android-customization-autotool/issues/entry
Click to expand...
Click to collapse
How to use this aplication ?

Sign Your APK for the PLAY Store

Hey Guys,
I found it very hard to find this method on the net. I looked for around 12 hours (over a period of 2 days). But here it is!
This method is very helpful if you need to increase the length of your signature on your apk. As Google Play has a minimum length of validity for signatures.
This tutorial contains some knowledge from other websites and some from my own self. Please feel free to use my hard work below. But try to reference me if you can. Thanks!
First of all,
jarsigner and keytool are .exe files that help create your "signed" application for release to the market to prevent fraud.
1.
Make a folder somewhere called "keytools" and make a folder in that called "key"
2. Now move your apk file to the folder keytools.
(Not inside any other folders)
3. Check
"C:\Program Files\Java\jdk1.7.0_11\bin" for jarsigner and keytools..
... or whatever jdk version you have
If you DONT have it install the following: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
4. open cmd.exe,
5. cd your way to where you have your keytools folder...
I had to do.. cd desktop, and to keytools to get to C:\Users\Matt\Desktop\keytools\
In this directory is you apk file which we will manipulate.
Now add the directory C:\"Program Files"\Java\jdk1.7.0_11\bin\ or something like that to PATH in Environment Variables.
Directions on how to do this can be found here: http://www.computerhope.com/issues/ch000549.htm
type the following now (or something similar to my example)
keytool -genkey -alias xda.keystore -keyalg RSA -validity 20000 -keystore keys/xda.keystore
Then you will have be presented with:
Enter keystore password: (type in a password you will use)
Re-enter new password: (type in same password here)
What is your first and last name? Matt <LAST NAME HERE>
What is the name of your Organization unit? (You dont NEED to type anything)
What is the name of your city or locality? <What it says>
What is the name of your state or providence? <What it says>
what is the two-letter country code for this unit? AU
is CN=Matt C=AU.....etc. correct?
[no]: yes (type yes there)
Enter key password for <xda.keystore>
<RETURN if same as keystore password>: (push enter)
6.
To add the directory of jarsigner to the PATH variable just do the steps from here: http://www.computerhope.com/issues/ch000549.htm but with the path of jarsigner. Which should be something like this: echo "PATH=/cygdrive/c/Program\ Files/Java/jdk1.7.0.11/bin:\${PATH}" >> .bash_profile
Now, type the following now (or something similar to my example) NOTE: This is all in cmd.
jarsigner -verbose -keystore key/donate.keystore -signedjar Donate_signed.apk xda.apk xda.keystore
Enter Passphase for keystore: (your password you made earlier)
DO NOT TYPE --> adding: META-INF/MINFEST.MF ....
.......
.....
...Signing: classes.dex <--DO NOT TYPE
and you're all set! you signed your apk file or whatever you wanted to create!
Congratulations.
NOW STOP BEING FRUSTRATED LIKE I WAS FOR HOURS!
Come on guys! Post what you think AKA I just bumped this thread.
I did this but the file gets signed , but when trying to install on device the signed file, it says its not signed .
LOL
Thanks but I can not do this

[How to] XMLGenerator.jar + batch script v2.0

I created this script to help me create redirection xml's using @nhnt11's XMLGenerator.jar found here. I may as well share it with people who use it.
You need
XMLGenerator.bat (link below).
Bulk rename utility Link.
Windows to run the .bat
Java in your environment variables path. How to
Usage of XMLGenerator.jar:
I'll break down how XMLGenerator.jar works by using the following command. If your not intersted then just scroll down.
java -jar XMLGenerator.jar framework_res -f Resources android.xml
framework res is the package/apk name added to your images to differentiate them from other images with the same name, example- "btn_check_on". This is found in the AndroidManifest.xml. You can use any name you want as long as it is consistent throughout. I'm using framework_res.
-f. This tells XMLGenerator to add redirection tags to the output.xml.
Resources is the directory containing your images/xmls to be used in the redirection.xml.
android.xml is the output name of the redirection list. Again you can name this what you choose but i advise sticking to the package name using "_" instead of "."
Running the above command would output an xml containing a list of resources from the "Resources" folder and remove the "framework_res" tag from the first drawable instance for correct redirection.
Correct output:
Code:
<item name="drawable/ab_bottom_solid_dark_holo">@drawable/framework_res_ab_bottom_solid_dark_holo</item>
Incorrect output:
Code:
<item name="drawable/framework_res_ab_bottom_solid_dark_holo">@drawable/framework_res_ab_bottom_solid_dark_holo</item>
Using the script:
The options presented in the script are:
1) Set package name.
2) Set xml output name.
3) Create redirection xml.
5) Quick create redirection xml. You can ignore options 1+2 but the output.xml will contain the package name at the first drawable instance and have to be removed manually.
9) About
0) Exit
Creating a correct output.xml
Extract the zip.
Place your resources to be redirected into the "Resources" folder with package/apk tags prefixed (replace the period " ." with an underscore " _ ").
Run the bat.
Choose option 1. Enter your package name.
Choose option 2. Enter your xml output name.
Choose option 3.You will be presented with a redirection xml to be added/modified for use with Theme engine and XTheme.
Add to created package.xml "redirections.xml"
Feel free to make improvement suggestions or leave feedback.
Credits:
@Daneshm90 and @Stericson for samples of various scripts.
@nhnt11 for XMLGenerator.jar.
The zip includes .bat, resources folder and XMLGenerator.jar
Tested and running perfect on my Windows 7 machine.
Changelog:
27/06/2013-
Fixed typo when using the package name as xml name in option 2.
08/06/2013-
Added quick create option.
Added "-f" to create command for complete xml.
Cleaned up some synatx.
Updated script and added a usage tutorial to OP.

CMD easy input / Terminal easy input

Hi guys, I wanna share a little tool I made for cmd input
Basically this tool stores all the commands you input in it and then it allows you to easily repeat them just by typing the corresponding number. If you input a command that is not in the database the command will be added to it; if you input the number, the corresponding command will be executed. There are other options but the tool is pretty enough self-explanatory so just try it by yourself. Remember to put the .exe or .py file in a directory which is writeable (e.g. Desktop) since the script need to create a .txt file for the command database.
This is particularly intended for when you need to repeat the same commands over and over again (specially when you mess up something while flashing a ROM or something else) but you can use it at your will
I'm attaching the .exe and the .py file; I've tried it on windows but i guess it should work also on linux (try and let me know).
Donation appreciated, paypal: paypal.me/maurosilvestricj

Categories

Resources