[HOW TO]Sign Your Apk For Google Play - Android Q&A, Help & Troubleshooting

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!

Or, if your using Eclipse just right-click your project and choose Android Tools > Export Signed Application Package.. and follow the export wizard.

@M4ttz
Thanks a lot mate!!!!!!!!!
mytheme_signed.apk is created! Let's go to Google Play
EDIT
Google told me that I need to zipalign my apk file.... If I zipalign Google says that my file isn't signed!!!!

Related

( ADB Help ) how-to set ADB & Windows $Path

HOW-TO Fix **ADB is not recognized in the CMD**​
Navigate to & Left_Click on Start >
Right_Click on Computer >
Left_Click on Advance System Settings >
Left_Click on Environment Variables >
Left_Click on New ( User Variables ) >
Variables Name: ADB ( Or anything you want )
Variables Value: ;C:\SDK\tools ( Just like this, This is the Path of my adb.exe )
You must put a ; in front of ;C:\ ( adb Path goes here / Variables Value: )
That's it.. You now have set up adb to work Global via cmd prompt on win7
~Eugene
eugene373 said:
HOW-TO Fix **ADB is not recognized in the CMD**​
Navigate to & Left_Click on Start >
Right_Click on Computer >
Left_Click on Advance System Settings >
Left_Click on Environment Variables >
Left_Click on New ( User Variables ) >
Variables Name: ADB ( Or anything you want )
Variables Value: ;C:\SDK\tools ( Just like this, This is the Path of my adb.exe )
You must put a ; in front of ;C:\ ( adb Path goes here / Variables Value: )
That's it.. You now have set up adb to work Global via cmd prompt on win7
~Eugene
Click to expand...
Click to collapse
or you can just open up command prompt and cd^ (adb folder location)
thesparky007 said:
or you can just open up command prompt and cd^ (adb folder location)
Click to expand...
Click to collapse
or copy the exe and the needed dll's to system32
however when i type adb it better just work regardless of what folder I'm in...
If you are running .bat & a Noob it will never work.... Just follow the Directs posted in OP
Thanks OP for the tip.
This is the easiest way to start adb.
OK, so I don't know what I did wrong but I named the variable name to adb and then the variable value ;C:\Program Files (x86)\Android\android-sdk\platform-tools which is where my adb.exe is located. But if I open up a command prompt and do adb devices it says:
C:\Users\Tiffany>adb devices
'adb' is not recognized as an internal or external command,
operable program or batch file.
If I cd to that location adb works but I thought it would be cool to just open a command prompt and be able to use adb but it's not working for me. Any suggestions or do u see anything wrong?
Tiffany84 said:
OK, so I don't know what I did wrong but I named the variable name to adb and then the variable value ;C:\Program Files (x86)\Android\android-sdk\platform-tools which is where my adb.exe is located. But if I open up a command prompt and do adb devices it says:
C:\Users\Tiffany>adb devices
'adb' is not recognized as an internal or external command,
operable program or batch file.
If I cd to that location adb works but I thought it would be cool to just open a command prompt and be able to use adb but it's not working for me. Any suggestions or do u see anything wrong?
Click to expand...
Click to collapse
Tiffany, try this from a cmd prompt:
path = %path%;C:\Program Files (x86)\Android\android-sdk\platform-tools
then adb should work regardless of where you are in cmd
RyteSyde said:
Tiffany, try this from a cmd prompt:
path = %path%;C:\Program Files (x86)\Android\android-sdk\platform-tools
then adb should work regardless of where you are in cmd
Click to expand...
Click to collapse
AHH, You are awesome. That worked. So should I delete that variable that I added or just leave it there?
Edit: Ok. So it works when I add that path but if I close that prompt and then reopen and try to use adb with out adding that path again I get the error. So do I have to do that every time I open the command prompt?
Tiffany84 said:
AHH, You are awesome. That worked. So should I delete that variable that I added or just leave it there?
Edit: Ok. So it works when I add that path but if I close that prompt and then reopen and try to use adb with out adding that path again I get the error. So do I have to do that every time I open the command prompt?
Click to expand...
Click to collapse
No you shouldn't have to if you open the cmd window with admin rights and set the path=. Run cmd as administrator or use the posts above and edit the path variable and add a ; to the end of it and then the path to platform-tools
either way should work
and if you get that to stick you won't need the other variable you added before
RyteSyde said:
No you shouldn't have to if you open the cmd window with admin rights and set the path=. Run cmd as administrator or use the posts above and edit the path variable and add a ; to the end of it and then the path to platform-tools
either way should work
and if you get that to stick you won't need the other variable you added before
Click to expand...
Click to collapse
Ok, so I ran the cmd prompt as admin and it still won't stick. So your saying I need to add ; before C: and at the end of it? Sorry. Not the greatest with pc's. Thanks for trying to help though.
Tiffany84 said:
Ok, so I ran the cmd prompt as admin and it still won't stick. So your saying I need to add ; before C: and at the end of it? Sorry. Not the greatest with pc's. Thanks for trying to help though.
Click to expand...
Click to collapse
whatever is in your path variable, leave that and just add this to the end:
;C:\Program Files (x86)\Android\android-sdk\platform-tools
RyteSyde said:
whatever is in your path variable, leave that and just add this to the end:
;C:\Program Files (x86)\Android\android-sdk\platform-tools
Click to expand...
Click to collapse
I named it adb and then the blank spot for the value I just copied and pasted what u had and still nothing. I give up. I guess stuff isn't meant to be easy for me. Story of my life. Thank u so much for trying to help.
Tiffany84 said:
I named it adb and then the blank spot for the value I just copied and pasted what u had and still nothing. I give up. I guess stuff isn't meant to be easy for me. Story of my life. Thank u so much for trying to help.
Click to expand...
Click to collapse
I was referring to updating the system path. Where you created the variable, underneath that should be the "System variables" section. Scroll down in that the the variable "path" and double click it. Move the cursor to the end of the line entry and paste in the ;C:\...etc... line from above
RyteSyde said:
I was referring to updating the system path. Where you created the variable, underneath that should be the "System variables" section. Scroll down in that the the variable "path" and double click it. Move the cursor to the end of the line entry and paste in the ;C:\...etc... line from above
Click to expand...
Click to collapse
BAM!!!!!!!!!!!!!!!!!!!!! Thank u for not giving up on me even though I had. That did it. I"M giving u all my thanks for the day. Thank u again. I really appreciate it.
Tiffany84 said:
BAM!!!!!!!!!!!!!!!!!!!!! Thank u for not giving up on me even though I had. That did it. I"M giving u all my thanks for the day. Thank u again. I really appreciate it.
Click to expand...
Click to collapse
it's no root but glad I could help
RyteSyde said:
it's no root but glad I could help
Click to expand...
Click to collapse
Definitely not root but hey, still pretty cool.
Thread moved to General as not development, thanks for sharing though
I always wanted to know how to set adb so you can use it anywhere. Editing the path in the system variable worked for me. Thanks RyteSyde.
The right way to avoid weird issues.... [Noob Proof sorry in advance]
It actually works perfect if you just do the following:
1. Right Click My Computer -> Properties
2. On the left pane, Find and Click "Advanced system settings"
3. Under the "Advanced" Tab Find and Click "Environment Variables..."
4. In the box for "User variables for [your name here; e.g. David]" there will be a button that says "New..." Click it.
5. Now you have a box in front of you with two fields:
1. Variable name: entering path here is really safer and can help to avoid clogging up the environment namespaces (cluttering your ram/registry)
Code:
Path
2. Variable value: directory containing the adb.exe you want to use**; i.e.
Code:
C:\Android\sdk\platform-tools
**to find this with ease search for "adb.exe" or look for it in "...sdk\platform-tools\" or "sdk\tools".
**This is a version dependent thing for the Android SDK which folder its in.
6. Click OK on all the dialogs and exit the windows we opened here.
7. Hit the windows key + R and type cmd.exe; hit Enter
8. Type adb into the newly opened cmd window. hit Enter
9. If adb runs all is well. Your DONE. If not continue to step 10.
--If it work stop here!--
10. At this point we are going to select our entry from step 5. (in Environment variables...)and delete it. Otherwise windows has two pointers to our adb.exe.
11. Navigate in the "System variables" box and scroll down until you see Path in the Variable Column. Select it and Click "Edit..."
12. Click inside "Variable value:" go to the very end of this and drop a ";" no spaces. Enter the value from Step 5.2
13. Click OK/Apply on all dialogs and reboot your PC.
14. Repeat steps 7-9 and if all is well your done. If not you may need to redownload the AndroidSDK from here: http://developer.android.com/sdk/index.html then repeat this guide.
The reason for first trying to do this under "User" as opposed to "System" is if you need to track your changes to Path in case anything goes wrong as it can be a daunting task to go through the System version (its really full of stuff that needs to be there XD )
But don't take my word for it: My path
Code:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
and my Windows is brand new Store-bought not OEM. It tends get get bigger the more stuff windows needs to globally keep track of that doesn't live in C:\Windows\
Hope this helped!
RyteSyde said:
whatever is in your path variable, leave that and just add this to the end:
;C:\Program Files (x86)\Android\android-sdk\platform-tools
Click to expand...
Click to collapse
I could really use some help I have a windows vista 32-bit
The first time I tried to set up adb I messed up bad and deleted my original environment variable path
so now I can't even do it because I need my original environment variable path then ;C:\Program Files (x86)\Android\android-sdk\platform-tools
I didn't create a system restore point so I am screwed is there anyway I can recover my original environment variable path?
Grandkai said:
I could really use some help I have a windows vista 32-bit
The first time I tried to set up adb I messed up bad and deleted my original environment variable path
so now I can't even do it because I need my original environment variable path then ;C:\Program Files (x86)\Android\android-sdk\platform-tools
I didn't create a system restore point so I am screwed is there anyway I can recover my original environment variable path?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2317790
I would personally use this seeing it's one click go.

Changing the logo Kernel "logo.rle"

Hi Guys ...
For those of you who want to change the logo of your android phone when turned on, it should change the logo on the kernel you are using, with your own logo, I will try to help explain how a simple and more detailed. If you can not do it any other way. Mugkin this way can help you. Tools needed:
- Linuk + Perl
- Windows
- A little patient and creative.
Ok! Go ...............
1. Prepare to be in exstack Kernel. You must open a pack kernel first. "DooMLord" has made the tool easy to us doing that, this tool will work in linuk.
Download the device see here:
+ Unpack-kernelsin:
http://forum.xda-developers.com/showthread.php?t=1262656
+ Kernel.sin-and-FTF-creator-v1.0:
http://forum.xda-developers.com/showthread.php?t=1363460
Run your Linuk ....
Save-kernelsin.pl and unpack the kernel will be open, the folder "HOME" on your linuk.
Call the command prompt, then type:
. / Unpack-kernelsin.pl kernel.sin
or use the command
perl unpack-kernelsin.pl kernel.sin
It will make:
- Folder-ramdisk kernel.sin
- Kernel.sin-ramdisk.cpio.gz
- Kernel.sin-kernel
- Kernel.sin-header
Delete the file "kernel.sin-ramdisk.cpio.gz" and file "kernel.sin-header".
Open the folder "kernel.sin-ramdisk",
Please edit or replace your "logo.rle" in the folder "kernel.sin-ramdisk" according to your desire. When finished editing "logo.rle", then do to repack folder "kernel.sin-ramdisk", by way of
Typing commands at the command prompt:
$ Cd kernel.sin-ramdisk
find. | Cpio-o-H newc | gzip> .. / newramdisk.cpio.gz
This will result in "newramdisk.cpio.gz"
2. Now we take the file "kernel.sin-kernel" and "newramdisk.cpio.gz". Save and make sure that both files in one folder.
3. Now you fire up your windows, preferably on Win-xp.
4. Open the folder kernel.sin-and-FTF-creator for your mobile
5. Enter "kernel.sin-kernel" and "kernel.sin-ramdisk.cpio.gz" into folder-and-FTF kernel.sin-creator.
6. Make sure Java is installed on your windows? or if not, you can follow this step.
7. On BUILD-IT.BAT right click and click edit, in order to be as follows:
echo Manifest-Version: 1.0 > manifest.mf
echo device: X10 >> manifest.mf
echo branding: dooMkernel -v06-BootManager-v1.4 >> manifest.mf
echo Created-By: dooMkernel >> manifest.mf
echo version: 2.3.3 >> manifest.mf
ren kernel.jar X10_2.3.3_dooMkernel-v06-BootManager-v1.4.ftf
8. Remove the line
del manifest.mf
del kernel.sin
save and reflace to BUILD-IT.BAT
9. In the folder-and-FTF kernel.sin-creator instead of the name "kernel.sin-kernel" to "image" and rename "-ramdisk.cpio.gz kernel.sin" to "ramdisk"
*NOTE!!
[Make sure you have change the file name correctly, because if not kernel.sin corupt.
If you have a problem in changing the name, street and do this:
How to Rename File Extensions:
Renaming File Extensions can be very handy when trying to convert one file name to another. There are many programs on the web that can help you do this. But are you aware that windows operating systems can do this for you? Below are instructions on how to do so.
Go to Start
Control Panel
Folder Options
Click on the 'View' Tab
Then simply uncheck 'Hide extensions for known file types'.
Then click Apply
Finally click Ok
Now you will be able to change file extensions, such as .JPG to .jpg.]
10. Then Double-BUILD-IT.BAT then ENTER
11. It generates two files: "kernel.sin" and "MANIFEST.MF"
12. Next create a save file folder "kernel.sin and loader.sin to the folder.
13. Now run Flashtool
14. Click Advanced and select Bundle Creation
15. In the Select source folder, select the folder where you save the file and loader.sin kernel.sin
16. on the choice Devices customize your devices, adjust the version of ROM version, the choice of content with brand Branding your devices.
17. Move all the contents of the folder content list to the Firmware
18. Click OK
19. Click Flash
20. Select the kernel that you create.
21. Click OK ...... connect the PC to your devices.
21. Flash running process ...................
22. And complete ......
As for how to make images become logo.rle, please refer to the way in this post:
http://forum.xda-developers.com/showthread.php?p=26810498#post26810498
The explanation is quite long, but hopefully can be helpful, especially for those of you who are new to this.
Thanks to: Xda-developers
dooMLord for FTF Creator and unpack the kernel
Bin4ry & Androxyde for Flashtool
And you all, in xda forum
linuk?linux ^^
Sadly I don't have a linux OS, and I'm too lazy to install Ubuntu, is this possible to do it all on Windows 7?
lewislulch said:
linuk?linux ^^
Click to expand...
Click to collapse
yes some tools still have to work on linuk
ItBankRock said:
Sadly I don't have a linux OS, and I'm too lazy to install Ubuntu, is this possible to do it all on Windows 7?
Click to expand...
Click to collapse
maybe if those tools, in potring into windows
This 'kernel kitchen' may also be helpful :-D
http://forum.xda-developers.com/showthread.php?t=1659584
From my XPERIA X10S v8.2 @ 1.19ghz. IF SOMEONE HELPS CLICK 'THANKS'
Apif Fuloh said:
Hi Guys ...
For those of you who want to change the logo of your android phone when turned on, it should change the logo on the kernel you are using, with your own logo, I will try to help explain how a simple and more detailed. If you can not do it any other way. Mugkin this way can help you. Tools needed:
- Linuk + Perl
- Windows
- A little patient and creative.
Ok! Go ...............
1. Prepare to be in exstack Kernel. You must open a pack kernel first. "DooMLord" has made the tool easy to us doing that, this tool will work in linuk.
Download the device see here:
+ Unpack-kernelsin:
http://forum.xda-developers.com/showthread.php?t=1262656
+ Kernel.sin-and-FTF-creator-v1.0:
http://forum.xda-developers.com/showthread.php?t=1363460
Run your Linuk ....
Save-kernelsin.pl and unpack the kernel will be open, the folder "HOME" on your linuk.
Call the command prompt, then type:
. / Unpack-kernelsin.pl kernel.sin
or use the command
perl unpack-kernelsin.pl kernel.sin
It will make:
- Folder-ramdisk kernel.sin
- Kernel.sin-ramdisk.cpio.gz
- Kernel.sin-kernel
- Kernel.sin-header
Delete the file "kernel.sin-ramdisk.cpio.gz" and file "kernel.sin-header".
Open the folder "kernel.sin-ramdisk",
Please edit or replace your "logo.rle" in the folder "kernel.sin-ramdisk" according to your desire. When finished editing "logo.rle", then do to repack folder "kernel.sin-ramdisk", by way of
Typing commands at the command prompt:
$ Cd kernel.sin-ramdisk
find. | Cpio-o-H newc | gzip> .. / newramdisk.cpio.gz
This will result in "newramdisk.cpio.gz"
2. Now we take the file "kernel.sin-kernel" and "newramdisk.cpio.gz". Save and make sure that both files in one folder.
3. Now you fire up your windows, preferably on Win-xp.
4. Open the folder kernel.sin-and-FTF-creator for your mobile
5. Enter "kernel.sin-kernel" and "kernel.sin-ramdisk.cpio.gz" into folder-and-FTF kernel.sin-creator.
6. On BUILD-IT.BAT right click and click edit, in order to be as follows:
echo Manifest-Version: 1.0 > manifest.mf
echo device: X10 >> manifest.mf
echo branding: dooMkernel -v06-BootManager-v1.4 >> manifest.mf
echo Created-By: dooMkernel >> manifest.mf
echo version: 2.3.3 >> manifest.mf
ren kernel.jar X10_2.3.3_dooMkernel-v06-BootManager-v1.4.ftf
7. Remove the line
del manifest.mf
del kernel.sin
save and reflace to BUILD-IT.BAT
8. In the folder-and-FTF kernel.sin-creator instead of the name "kernel.sin-kernel" to "image" and rename "-ramdisk.cpio.gz kernel.sin" to "ramdisk"
*NOTE!!
[Make sure you have change the file name correctly, because if not kernel.sin corupt.
If you have a problem in changing the name, street and do this:
How to Rename File Extensions:
Renaming File Extensions can be very handy when trying to convert one file name to another. There are many programs on the web that can help you do this. But are you aware that windows operating systems can do this for you? Below are instructions on how to do so.
Go to Start
Control Panel
Folder Options
Click on the 'View' Tab
Then simply uncheck 'Hide extensions for known file types'.
Then click Apply
Finally click Ok
Now you will be able to change file extensions, such as .JPG to .jpg.]
9. Then Double-BUILD-IT.BAT then ENTER
10. It generates two files: "kernel.sin" and "MANIFEST.MF"
11. Next create a save file folder "kernel.sin and loader.sin to the folder.
12. Now run Flashtool
13. Click Advanced and select Bundle Creation
14. In the Select source folder, select the folder where you save the file and loader.sin kernel.sin
15. on the choice Devices customize your devices, adjust the version of ROM version, the choice of content with brand Branding your devices.
16. Move all the contents of the folder content list to the Firmware
17. Click OK
18. Click Flash
19. Select the kernel that you create.
20. Click OK ...... connect the PC to your devices.
21. Flash running process ...................
22. And complete ......
As for how to make images become logo.rle, please refer to the way in this post:
http://forum.xda-developers.com/showthread.php?p=26810498#post26810498
The explanation is quite long, but hopefully can be helpful, especially for those of you who are new to this.
Thanks to: Xda-developers
dooMLord for FTF Creator and unpack the kernel
Bin4ry & Androxyde for Flashtool
And you all, in xda forum
Click to expand...
Click to collapse
most of it is redundant info, and the op is a little confusing
and my kernel kitchen does it in far less steps & complication
and this should be on themes and apps or general...
this is not development
ItBankRock said:
Sadly I don't have a linux OS, and I'm too lazy to install Ubuntu, is this possible to do it all on Windows 7?
Click to expand...
Click to collapse
Yes, download and install Cygwin.
championswimmer said:
most of it is redundant info, and the op is a little confusing
and my kernel kitchen does it in far less steps & complication
and this should be on themes and apps or general...
this is not development
Click to expand...
Click to collapse
No need to mess around with it, a better job would be the best, be the best developer. Congratulations creative the better. Best wishes. Share the beauty, life is a give and accept each other, cheering for xda developers.
Apif Fuloh said:
Hi Guys ...
For those of you who want to change the logo of your android phone when turned on, it should change the logo on the kernel you are using, with your own logo, I will try to help explain how a simple and more detailed. If you can not do it any other way. Mugkin this way can help you. Tools needed:
- Linuk + Perl
- Windows
- A little patient and creative.
Ok! Go ...............
1. Prepare to be in exstack Kernel. You must open a pack kernel first. "DooMLord" has made the tool easy to us doing that, this tool will work in linuk.
Download the device see here:
+ Unpack-kernelsin:
http://forum.xda-developers.com/showthread.php?t=1262656
+ Kernel.sin-and-FTF-creator-v1.0:
http://forum.xda-developers.com/showthread.php?t=1363460
Run your Linuk ....
Save-kernelsin.pl and unpack the kernel will be open, the folder "HOME" on your linuk.
Call the command prompt, then type:
. / Unpack-kernelsin.pl kernel.sin
or use the command
perl unpack-kernelsin.pl kernel.sin
It will make:
- Folder-ramdisk kernel.sin
- Kernel.sin-ramdisk.cpio.gz
- Kernel.sin-kernel
- Kernel.sin-header
Delete the file "kernel.sin-ramdisk.cpio.gz" and file "kernel.sin-header".
Open the folder "kernel.sin-ramdisk",
Please edit or replace your "logo.rle" in the folder "kernel.sin-ramdisk" according to your desire. When finished editing "logo.rle", then do to repack folder "kernel.sin-ramdisk", by way of
Typing commands at the command prompt:
$ Cd kernel.sin-ramdisk
find. | Cpio-o-H newc | gzip> .. / newramdisk.cpio.gz
This will result in "newramdisk.cpio.gz"
2. Now we take the file "kernel.sin-kernel" and "newramdisk.cpio.gz". Save and make sure that both files in one folder.
3. Now you fire up your windows, preferably on Win-xp.
4. Open the folder kernel.sin-and-FTF-creator for your mobile
5. Enter "kernel.sin-kernel" and "kernel.sin-ramdisk.cpio.gz" into folder-and-FTF kernel.sin-creator.
6. Make sure Java is installed on your windows? or if not, you can follow this step.
7. On BUILD-IT.BAT right click and click edit, in order to be as follows:
echo Manifest-Version: 1.0 > manifest.mf
echo device: X10 >> manifest.mf
echo branding: dooMkernel -v06-BootManager-v1.4 >> manifest.mf
echo Created-By: dooMkernel >> manifest.mf
echo version: 2.3.3 >> manifest.mf
ren kernel.jar X10_2.3.3_dooMkernel-v06-BootManager-v1.4.ftf
8. Remove the line
del manifest.mf
del kernel.sin
save and reflace to BUILD-IT.BAT
9. In the folder-and-FTF kernel.sin-creator instead of the name "kernel.sin-kernel" to "image" and rename "-ramdisk.cpio.gz kernel.sin" to "ramdisk"
*NOTE!!
[Make sure you have change the file name correctly, because if not kernel.sin corupt.
If you have a problem in changing the name, street and do this:
How to Rename File Extensions:
Renaming File Extensions can be very handy when trying to convert one file name to another. There are many programs on the web that can help you do this. But are you aware that windows operating systems can do this for you? Below are instructions on how to do so.
Go to Start
Control Panel
Folder Options
Click on the 'View' Tab
Then simply uncheck 'Hide extensions for known file types'.
Then click Apply
Finally click Ok
Now you will be able to change file extensions, such as .JPG to .jpg.]
10. Then Double-BUILD-IT.BAT then ENTER
11. It generates two files: "kernel.sin" and "MANIFEST.MF"
12. Next create a save file folder "kernel.sin and loader.sin to the folder.
13. Now run Flashtool
14. Click Advanced and select Bundle Creation
15. In the Select source folder, select the folder where you save the file and loader.sin kernel.sin
16. on the choice Devices customize your devices, adjust the version of ROM version, the choice of content with brand Branding your devices.
17. Move all the contents of the folder content list to the Firmware
18. Click OK
19. Click Flash
20. Select the kernel that you create.
21. Click OK ...... connect the PC to your devices.
21. Flash running process ...................
22. And complete ......
As for how to make images become logo.rle, please refer to the way in this post:
http://forum.xda-developers.com/showthread.php?p=26810498#post26810498
The explanation is quite long, but hopefully can be helpful, especially for those of you who are new to this.
Thanks to: Xda-developers
dooMLord for FTF Creator and unpack the kernel
Bin4ry & Androxyde for Flashtool
And you all, in xda forum
Click to expand...
Click to collapse
Hey brother
Would you please help me on this :
http://forum.xda-developers.com/showthread.php?t=1988759
TIA
for windows users these will help:
http://forum.xda-developers.com/showthread.php?t=1090217
http://forum.xda-developers.com/showthread.php?t=1140406
Can't exactly remember how I did and if I used Cygwin or not back in those days but I'm pretty sure I used these two threads for tools & info
riginal said:
for windows users these will help:
http://forum.xda-developers.com/showthread.php?t=1090217
http://forum.xda-developers.com/showthread.php?t=1140406
Can't exactly remember how I did and if I used Cygwin or not back in those days but I'm pretty sure I used these two threads for tools & info
Click to expand...
Click to collapse
Thanks a lot brother :good:
Very usefull info, sorry i just used my last "thank"
for today. Will come back later.
Thanks
Darco

[GUIDE] Recover Notification from Nandroid

Have you ever installed a new rom, but completely forgot which notification sound you were using? I have a nandroid backup of the old rom, but really don't want to completely restore the rom just to figure out which sound I was using. Android stores this in a database, and I'll show you how to access that database. In hindsight, it may just be easier to restore the nandroid backup. But, this is how to do it using a nandroid backup.
I'll be using Ubuntu 12.04 to do this. I believe it can be done with Windows as well, though the commands and programs will differ. Again, this assumes that you don't remember what the filename was. If you do, you can just skip to step 7.
1. Copy your nandroid backup files to your computer. Specifically, the "data.ext4.tar" and any "data.ext4.tar.a", "data.ext4.tar.b", etc. files.
2. The files need to be combined together. Use the command "cat data.ext4.tar data.ext4.tar.a data.ext4.tar.b > data-combined.tar" or similar for your filenames. It combines all of your data.ext4.tar files into one new file, data-combined.tar. This should give you a working tar file. I got this step from http://forum.xda-developers.com/showthread.php?t=2194171.
3. Extract the data-combined tar file. If you're a super-cool linux hacker, you probably know some terminal command to do this, like tar -randomLettersHere (xzvf?). I just right clicked the tar file and selected "Extract Here".
4. Navigate to "./data/com.android.providers.settings/databases/settings.db" and open the file. I didn't have any program to read SQL databases, so I let Ubuntu installed the recommended one for me, called "Sqliteman".
5. Using the list on the left, go under Tables-System. You should see the contents of that table, which look like an excel spreadsheet. The row (or tuple) we're looking for has the field "name" equal to "ringtone" or "notification_sound", depending on which file you're trying to locate. You can scroll through the rows and look for those rows, or you can enter an SQL command in the top box and hit the green arrow to run it and filter just the ones we want. Try this-
Code:
select *
from system
where name='notification_sound' or name='ringtone';
This pulls up all the rows where "name" is exactly equal to either of those strings. You can also search for anything that contains those strings by using this syntax-
Code:
select *
from system
where name like '%notification%';
If you're looking for your ringtone, try a query that just contains "ringtone", like this-
Code:
select *
from system
where name like '%ringtone%';
(That pulled up the actual file for me under the name "ringtone_CONSTANT_PATH")
If you're using a different rom than that I was (or a different device), you might need to tweak what you look for. Try changing the strings you search for. What we're looking for is for the entry where "value" equals something like "content://media/internal/audio/media/238". It might have the word 'internal' instead of 'external'. Note that number at the end, which is some kind of media ID number.
6. Now, open the SQL file "./data/data/com.android.providers.media/databases/external.db" or "./data/data/com.android.providers.media/databases/internal.db" depending on whether the value in step 5 had the word internal or external. Find the row where "_id" equals the number at the end of your "value" string in step 5. You can scroll through the "files" table, or enter a query like this-
Code:
select *
from files
where _id='238';
The field "_data" should show the path for your file. For me, it was "/system/media/audio/notifications/S_Dew_drops.ogg". Oh, how I love you, Touchwiz...
7. Now you know where the file is. If your new rom doesn't have that ringtone/notification sound any more, you can probably retrieve it from two places. First, check the rom installation zip file (probably the easiest way) if it was an included sound. Open the installation zip file, and look in the path you found in step 6. The second way is to go through your Nandroid backup. Follow steps 1-3, but copy, combine, and extract your system.ext4.tar file(s). Again, just look in the same path from step 6, and it should be there. These paths are typically "/system/media/audio/notifications/" and "/system/media/audio/ringtones".
Enjoy your old, familiar sound again!

[GUIDE][WINDOWS] Easy MD5 and SHA1 calculation via command prompt

Original Webpage
This needs you to download a small file which lets you calculate the sha1 and md5 right from the command prompt!
Tested on Windows 8.1, but should work on any windows, XP and above.
Step 1: Download this file from Microsoft's site.
Step 2: Open the downloaded file and select "Yes" then extract to any desired folder. ( I extracted it to C:/Windows/SysWoW64/ )
Step 3: Open command prompt and type set path=%path%;XXXX , where "XXXX" is the actual folder path where you placed the fciv.exe file while extracting. Then hit Enter.
Step 4: Now type fciv and hit enter to check if everything is working, it should display a large wall of text.
How to check/ generate the sha1 or md5sums for any file
Step 1: Open command prompt.
Step 2: Type "fvic -sha1 'filenamewithpath' ", where filenamewithpath means exactly that.
PROTIP: To make it easier just press and hold shift and right click anywhere in the file residing folder and right-click. Then select open command window here. Now you can just type the filename without the path.
Sometimes it may appear like it has frozen but it hasn't, it'll just take a while depending on the size of the file.
Enjoy!

[GUIDE] How to make a custom android rom with DragonFace.

Whats sup guys?I been using dragonface to make custom roms for my android device.So i decided to make a guide showing you how to make your own.Enjoy.Make sure to thank me! alright lets get started
Basic Requirements: - Dragonface V2.2.0 V2.2.3 (download here in this Forum)
- Dragonface Tutorial, and knowledge of the basic functions (download here in this tut)
- Windows Explorer
- Notepad++ (http://notepad-plus-plus.org/download/v6.6.9.html)
- ROM you want to modify
- Phoiexcard
If additional tools are requiered, they are mentioned in the regarding Instruction.
Common Steps for all modifications: STEP 1: extract your ROM (*.img) with Dragonface
STEP 2: change to Windows Explorer
ATTENTION: don't shut down DragonFace or copy the needed directories and
files some where else if you want to work "offline" (Directories: CPFOP, fsop -
Files: sysconfig.lhs), because DragonFace erases everything while shuting
down
STEP 3: Save the modified ROM with Dragonface
ATTENTION: If you worked "offline", do first Step 1, and then replace the
created Directories/Files with your modified
STEP 4: Flash your ROM (.img) with the Onda Suite
So let`s start.
PS.: If you try your own modification, it would be good to make only one after the other, and test between two modification. This makes it easier to solve problems when it´s not working like you except it, because you know what causes the problem.
HowTo - Increase the available space for your Apps (Firmware V1.0.0 - V2.1.3 all Versions)
1. You have done Step 1&2 in the first post
2. Now navigate to the following directory with the Windows Explorer ( must be set to show hidden Files/Directories!)
c:/User/..your Username../AppData/Local/Temp
3. Find the file sysconfig.lhs
4. Open it with Notepad++
5. Navigate to the following:
;------------------------------>mmcblk0p8/nande
[partition]
name = data
size = 4194304
user_type = 0x8000
6. Now change the value of size to the space you want
The current value of 4194304 stands for 2GB, that means you have to multiply 2097152 by the amount of GB you want to have for your Apps
for example: 6GB = 12582912
7. Save sysconfig.lhs
8. Save .img in Dragonface
9. Flash your ROM - Done!
Her is a link to a video tutorial (in chinese): http://v.youku.com/v_show/id_XODEzODEwNzQ4.html&usg=ALkJrhhE_ACHQznY8ibrYYK7wMCYzcWCJg
Since the test version of Android 5, there is no seperat app partition in the firmware anymore.
HowTo - PreRoot your ROM (Firmware V1.0.0 - V2.0.2 all Versions)
1. You have done Step 1&2 in the first post
2. Now navigate to the following directory with the Windows Explorer
.../Dragonface_2.2.0/CPFOP/bootfs/skel
3. Find the file init.rc
4. Open it with Notepad++
5. Insert after Line 293:
su root
chown root root /system/app/superuser.apk
chown root root /system/xbin/su
chown root root /system/xbin/daemonsu
chown root root /system/bin/.ext/.su
chown root root /system/etc/.installed_su_daemon
chown root root /system/etc/install-recovery.sh
chown root root /system/etc/init.d/99SuperSUDaemon
chmod 6755 /system/xbin/su
chmod 6755 /system/xbin/daemonsu
chmod 0777 /system/bin/.ext
chmod 6755 /system/bin/.ext/.su
chmod 0644 /system/etc/.installed_su_daemon
chmod 0755 /system/etc/install-recovery.sh
chmod 0755 /system/etc/init.d
chmod 0755 /system/etc/init.d/99SuperSUDaemon
chmod 0644 /system/app/superuser.apk
chmod 0755 /system/xbin/busybox
6. Save init.rc
7. Now navigate to the following directory with the Windows Explorer
.../Dragonface_2.2.0/fsop/system
8. create the directories and place or replace the needed files if not already present (check filesize, paths and files see
Step 5)
Download needed files here: https://mega.co.nz/#!XU5EFaBK!9ZFnDrzJnlGWoMOISkzQ-dczBKUB6cM8O3aswEjI2IY
Attention: Windows Explorer is not able to create the directory /system/bin/.ext, because it doesn't like the
leading dot.
So open "Command Prompt" and type mkdir .ext to create the directory (navigate before to ..system/bin)
9. Save .img in Dragonface
10. Flash your ROM - Done!
HowTo - PreRoot your ROM (Firmware V2.1.0 - V2.1.3 all Versions)
Step 1 - 10 are the same, only change:
Step 5:
chmod 0755 /sbin/busybox (Instead of: chmod 0755 /xbin/busybox)
Important: If you reopen a prerooted ROM with Dragonface, you have to recreate the .ext folder again and place .su again in it. During the extracting the .ext folder disappears due the restrictions of Windows. Saving without recreating breaks the prerooting!
HowTo - Theming your system:
The following instructions are made for the new V2.1 Firmware and should work with all Versions.
Indroduction: now we start modifying existing APPs. In the first step there are HowTo´s which can be easy done without using any app tools. The simple reason for that is, as long as we don´t take away or add graphics inside an app, and only modify them, for Android everything is fine. When we start to add or remove files inside the app or we want to change the behaviour of an app or add Features, for example in the Settings menu, we will need to de- and recompile and sign the app, ortherwise it won´t work. But this will come later.
Change the default Wallpaper:
additional needed programs: WinRAR
1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer
2. Rename the Wallpaper to default_wallpaper.jpg
3. Do the steps 1&2 in the first Post
4. Navigate to fsop/system/framework and find: framework-res.apk
5. Open it with WinRar and navigate to the folder drawable-nodpi
6. Now insert your Wallpaper with drag´n drop
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
7. Close WinRAR and you are done!
8. Save .img in Dragonface
9. Flash your ROM - Done!
Change the Wallpaper on the LockScreen (Firmware V2.1.0 - V2.1.3 all Versions)
additional needed programs: WinRAR
1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer
2. Rename the Wallpaper to wallpaper_03.jpg
3. Do the steps 1&2 in the first Post
4. Navigate to fsop/system/priv-app and find: JuiKeyguard.apk
Alternativ, on a running system, copy JuiKeyguard.apk to your PC, make the changes descriped in the next
steps and copy the modified apk back to the tablet. Don't forget to set the right permissions for the apk.
5. Open it with WinRar and navigate to the folder drawable-nodpi
6. Now insert your Wallpaper with drag´n drop
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
7. Close WinRAR and you are done!
8. Save .img in Dragonface
9. Flash your ROM - Done!
When you chance the Lockscreen Wallpaper direct on the tablet (already running system), wipe the Dalvik Cache, otherwise the Wallpaper won't change.
Change the icons in the Statusbar
additional needed programs: WinRAR
Paint.net (optional)
1. Do the steps 1&2 in the first Post
2. Navigate to fsop/system/priv-app and find: JuiSystemUI.apk
3. Open it with WinRar and navigate to the folder drawable-xhdpi
4. Look for the icons you want to change and notice the resolution
Optional: you can edit the icons by using Paint.net
5. Replace the icons you want with drag´n drop or replace the icon with an already existing in the folder (make a duplicate and rename the duplicate to the correct filename)
THEY SHOULD HAVE THE SAME RESOLUTION AND MUST BE IN .PNG FORMAT!
DON`T ADD OR REMOVE ICONS, ONLY REPLACE THEM USING THE CORRCT FILENAME - OTHERWISE YOU
CORRUPT THE APP
IF YOU WANT TO ADD OR DELETE ICONS OR ADD NEW FEATURES YOU HAVE TO DE- AND RECOMPILE IT
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
6. Close WinRAR and you are done!
7. Save .img in Dragonface
8. Flash your ROM - Done!
Enjoys and press Thanks!!!!!!!!!!!!!!!!!
Dragonface software
Hello,
Are there any guides/tutorials for the Dragonface software in english anywhere please? I have googled but they are in Chinese or some other other language. Something for Dragonface v2.2.5 would be appreciated.
Thank you.
trustytrev.
Sir this is tutorial for dragonface in english
more space for apps in V989 v1
Hello,
firmware
989 Air Core8 v1.0.6_v2.img
onda v989 v1
I use dragonface to add space for apps. then i use phoenixsuite to apply img file modified... but it no works!
i need to back 989 Air Core8 v1.0.6_v2.img
this table have 2Gb for apps 2gb RAM and 32Gb more...
heeelp please
Devmountsu77 said:
Sir this is tutorial for dragonface in english
Click to expand...
Click to collapse
Hello,
Sorry I was meaning how to video tutorials of using the dragonface software in english.
I have now found something that was suitable for me as a complete novice.
Thank you.
trustytrev.
A83T
I have tried using Dragon Face for A83T image file. But looks like I am stuck.
The Software does unpacking properly. But during packing image, I am not sure what goes wrong, the initial Green Progress bar of Flashing Firmware also does not show up in the device.
I have in fact tried - unpacking stock firmware and packing the firmware without making any changes to the Image.
It fails!
Any help will be greatly appreciated.
bumping this old thread trying to root this POS irulu tablet I got the firmware image rooted and resaved
flash it but it hangs at the pre-boot splash
edit: I am pretty sure its either a int.rc or su binary problem, if I flash just the stock boot/env it boots
so there is something in the init.rc it doesn't like
here is my init rc
https://pastebin.com/NwZ9ntEB
after hours of monkeying about with it I am pretty sure its a issue with dragonface
any attempt to modify int scripts results in it hanging on splash, possibly some form of boot image checking
I can modify system all day long but I can't touch the boot partition
I don't have the capability to build a generic twrp image for the A33 so I can't even get to a decent recovery
Bringing this thread back to life, is there a way to set the default launcher through file manipulation (as with the above tutorial) rather than with ADB or in the Android Settings app? I've been searching, but haven't found any good information.
Edit: Nevermind, it was an issue with the default launcher and possibly pheonixcard. Got it resolved

Categories

Resources