[HOW-TO] Sign update.zip in Ubuntu - myTouch 3G, Magic Android Development

MODS CAN MOVE THIS IF NEEDED
There may be some people that aren't too terminal friendly and others that don't like typing so i made a simple GUI signing script this morning just to try it.
SETUP:
1. Install Java JRE (If you haven't already)
Code:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
2. Download testsign.jar
--Place testsign.jar in home folder.
3. Download my script
--Place script "sign" in home folder
4. Open terminal
Code:
chmod a+x sign
Running:
Double click on sign file and run
Select zip file to be signed:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Enter output zip name:
Let it sign.... Progress bar doesn't work yet so just let it do its thing...
And your done!
Your new signed Zip file is in the home folder!
Hope some people find this helpful!

Question
Can we make our updates with this and flash the perfected spl's such as 1.76.0009/.0010?

arpitjain91 said:
Can we make our updates with this and flash the perfected spl's such as 1.76.0009/.0010?
Click to expand...
Click to collapse
Sorry for the late reply. Yeah you can sign your own updates with this. Not sure about the perfected spl though.. anyone?

we need a new signed key
illconcepts said:
Sorry for the late reply. Yeah you can sign your own updates with this. Not sure about the perfected spl though.. anyone?
Click to expand...
Click to collapse
We need a new test key to sign that works on perfect spl device.

Related

[SCRIPT] Services.jar De/Compiler/Signer

This is a script I created for personal use which will work on a Mac using the Terminal.
Services.jar is responsible for theming your phone, for example how the battery status and notification bar works, and general things such as those.
This script allows you to easily:
1. Create a working directory with all required files included.
2. Allow you to drag and drop the services.jar file you want to modify into the terminal for ease of use.
3. Automatically decompile services.jar into your working directory
4. Open your working directory from the Terminal to allow you to make modifications/changes.
5. Automatically re-compile services.jar after edits have been made.
6. Option to sign services.jar so that it is flash ready for your Desire.
Setting up is no problem,
1. Download the attachment and extract it to your desktop.
2. Open up terminal and cd (change directory) to the folder, eg: cd ~/desktop/services-jar
3. Then simply type: ./menu
This will display the easy-to-use menu for navigation around the script shown below
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: only for mac users.
CURRENTLY WORKING ON:
1. Automatic ripping of services.jar from a signed ROM. COMPLETE
2. De-compiling, editing, re-compiling and automatic signing of .apk files.
All requests are welcome
great hope we get an update for linux users soon.
inkredi said:
great hope we get an update for linux users soon.
Click to expand...
Click to collapse
I'm sure it can be done.
Updated: ability to extract file directly from a zipped ROM.

[Q] Problems with Java

Hi
I wanted to start writing my own .apk's, so I read the instructions etc., and got to the point where I have to install java for developers.
I wanted to test a fw things using Apk.Manager 4.9 and what I get is the info:
Java was not found, you will not be able to sign apks or use apktool
Click to expand...
Click to collapse
As well as (any action):
Error occurred during intialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Click to expand...
Click to collapse
I looked for a resulution using Google and all I found was a few posts telling me to set Javas path. So I went into cmd and tried to set the path, but it didn't work, so I don't know what am I doing wrong.
Additional info:
Java installed: jdk1.6.0_20 + jre6 + javafx-sdk1.3
System: Win 7 64 bit (Java is installed in folder named Program Files (x86))
I'd appreciate a detailed instruction - noob type one :E
"So I went into cmd and tried to set the path" ? how do you set the path in cmd?
I usually right click my computer, go to advanced system options, click enviroment variables and edit path there...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thx. I followed Your ss and the path seems to be ok. :/
C:\Program Files (x86)\JavaFX\javafx-sdk1.3\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.3\emulator\bin; (...)
Click to expand...
Click to collapse
If the path is ok, then I don't get why the problem still occurs? Should I add jdk1.6.0_20 from normal Java folder (not JavaFX) to the path? :E
edit: in cmd it's like... "path=C:\etc.?" :E
The path i put in is "C:\Program Files\Java\jdk1.6.0_22\bin"
It works now, thx!

[Bootscreen+welcome screen]Leo

Ok, be gentle. It's my first try at this.
I made a couple of bootscreens and welcome screens based in two wallpapers I found while searching at google.
Hope you like it.
Feel free to comment.
Just put the file leoimg.nbh in the root of the sd card, enter bootloader mode and flash.
For the welcome screen, just copy the file well.png to the windows directory in the device.
Version 1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Version 2
I like the first one .
Very beautiful. Maybe you could do some animation with these wp.
Can't get Bootscreen to work.
I'm a newbie, and I followed the instructions
1. copy .nbh file to root of sd-ram directory
2. copy .png file to windows directory
3. go into bootloader
The question I have is do I need to flash hardspl again?
Hey thanks its works great
illiadk said:
I'm a newbie, and I followed the instructions
1. copy .nbh file to root of sd-ram directory
2. copy .png file to windows directory
3. go into bootloader
The question I have is do I need to flash hardspl again?
Click to expand...
Click to collapse
Nope..........
tnx alot man
That'ts work for Me perfect
My Rom:HD2O
How can I give my own image?
Could use a point in the right direction please
I have created some welcome screens and boot animations for the HTC HD2. I was wondering if there is a place i should post them where others have theirs or if i should just make my own thread. I dont want to bother anyone or make anyone mad by doing the wrong thing.

[TOOL][PC][07/05/13]APK Installer v1.01

Hi dear XDA users. This is my first work for android. I made a simple apk installer for my own use and wanted to share everyone. This app is based on standart batch executables, visual basic and mortscript scripts
and combined neccesary adb tools.
With this program you can transfer apk files from your Windows PC to your phones data/app or system/app
folders. For affecting changes, I added reboot option after installition. It has ui completly so you won't
write codes on cmd screen or anything else. Only working mouse is enough
! It uses adb interface for communicating with phone. So you MUST INSTALL ADB DRIVERS on your PC.
! You MUST ENABLE ADB DEBUGING from your phone.
! For system/app installitions, you MUST HAVE ROOT PERMISSIONS in all phone models
! In HTC devices, nand protection must be removed (S-OFF)
! I strongly recommend to SELECT REBOOT option after installition.
For developers, this project is open-source. You can edit/modify it freely. But don't forget to credit
me in your work This app based windows bat, vbs and basic mortrun script files. So you can open this exe
file via an unrar app and modify via notepad.
For users, if you have suggestions or issues with it, feel free and write here
Code:
CHANGELOGS:
-1.01
*Initial realase
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Good.if i ever buy Motorola again this will be useful

[TUTORIAL]How to install Play Store on CM11!

So, I have a Samsung Galaxy S2 GT-i9100 running a CM11 Android 4.4.4 Nightly, and I got errors while attempting to install the Gapps package.
And, I didn't even want Gapps! I only wanted Play Store, like many of you reading this. So, this was what I did.
1) Download the zip file below. All of the apk files were taken from the latest PA-Gapps package for 4.4.4 .
2)Extract the files to your device, put them on some folder.
3)Use a root explorer (like CM File Manager, which comes with CyanogenMod), and copy the 4 apk files to /system/priv-app
4)Now set the permissions. (You can do it via the terminal, set the permissions to 644, but this is easier). All files must be set like this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5)Finally, reboot. Open Play Store. Ta-da
Download:
https://www.mediafire.com/?1qnase152jvbwc9
DISCLAIMER: I shall not be held responsible for any damage dealt to any device.
Old news bro .... We can just download a superlite gapps package and flash it we're done
But nice that you have figured it out yourself
DanielBink said:
Old news bro .... We can just download a superlite gapps package and flash it we're done
But nice that you have figured it out yourself
Click to expand...
Click to collapse
Doesn't work for me. For some reason, I haven't been able to flash ANY Gapps.
That's weird

Categories

Resources