yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] palmtreo5000:
palm treo 500 WM6.1 dictionary applications

I have been trying to get some applications for my palm non touch windows mobile treo 500 ..

it is pain in my asssssssssss..........it is giving me hard time friends..

i m not getting appropriate applications pliz english to english

medical dictionary application..

god bless you..

thanx in advance..
[General Questions and Answers] palmtreo5000:
that means no dictionary app for WM??
[G1 Android Development] Daneshm90:
This script has 2 main uses:

1. Modify an update.zip

2. Create an update.zip

For #1 - You just extract the contents of an update.zip into the placehere folder, modify its contents, and run the script stating to create an update.zip

For #2 - So far these are the options i have in there for create the update-script

1. Copy directories

2. Copy files

3. Create Symlinks

4. Delete file

5. Delete directory

6. Flash boot image

7. Set permissions for file

8. Set permissions for directory

New Features in 2.0 :

- Set java heap size / compression level for zip

- New drag/drop mode.

>>> - If you drag a folder onto the script's icon (as in Script.bat) it will compress the contents of the folder into a zip and sign it.

>>> - If u drag a zip onto the script's icon (as in Script.bat) it will sign the zip for you.

So this script guides u as u select each option, and adds the appropriate command to the update-script file. Then u exit that sub-menu and create update.zip

Heres a video for a better explanation:

[YOUTUBE]<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/i0KzFPMA6-8&hl=en_US&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/i0KzFPMA6-8&hl=en_US&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>[/YOUTUBE]

This script is a result of me constantly wanting to modify roms before i flash them & users who are unaware/lost as to creating/modifying update.zips.

Download : [Windows]
[G1 Android Development] Ohgami_Ichiro:
Awesome Gotta try it out.
[G1 Android Development] marsevern:
I tried using this to just push a single app into /system/app just to see if it would work, but when I try to flash from recovery I get E:Syntax error in update script

when I open my update script it reads thus:

package_extract_file("LearnPython_1.1.1.apk", "/system/app/Python.apk")

Do you know what the issue might be?
[G1 Android Development] Daneshm90:
Hmm thats wierd. Can u try placing the file inside a folder withing the placehere folder? N then try it. Tell me if tht works, in meantime ill try a example, perhaps the new changes i made broke something :(

K i figured it out, i forgot to place a ; after the line. Try placing it and then flashing. Ill fix it.
[G1 Android Development] marsevern:
update-script is now

package_extract_file("LearnPython_1.1.1.apk", "/system/app/Python.apk");

but I still get a syntax error

Edit: I had also tried putting it in a placeholder file, but that didn't help either, even with the added semicolon
[G1 Android Development] Daneshm90:
Hmm so something seems wrong with my package_extract_file syntax :confused:

Even though ive compared it to online update-script samples. Regardless, for now use the copy directories option instead.
[G1 Android Development] Daneshm90:
Retry, cuz i just did it and it works fine.

Created a folder app inside placehere folder

placed my apk inside it

Ran the script, chose option 1

Then chose option 1

Then typed DATA

Then typed app

Then typed app

Then typed 9

Then typed 2

Then flashed the update.zip

Letter Casing matters, if it says SYSTEM or DATA , do that dont do data or system.

Btw, first clear out using the script. So when u run it. type y to clear ur previous work.
[G1 Android Development] Daneshm90:
K i uploaded a fixed one. No file option for now just directory. And added a push to sdcard option. I think wht u were doing was putting it inside a folder and still using the file option.
[G1 Android Development] marsevern:
Yay, it works now. Thank you for creating this and for helping me.
[G1 Android Development] Daneshm90:
Cool, glad to help. Let me know if i can make it more user-friendly ;)
[G1 Android Development] sparksco:
It would be nice if the download link worked and didn't take me to some wierd web sites everytime I click on the download button!
[G1 Android Development] sunzoje:
the link works. it's hosted on mediafire and sometime ad page pops up.
[G1 Android Development] Daneshm90:
Well the reason i do it on something like mediafire is cuz its not xda dependant and that its one of the few sites with no waiting time for downloads. Plus i get to monitor # of downloads, in order to know if something is in demand, hence ill work on improving that.
[G1 Android Development] sparksco:
Ok, well I've tried both firefox and IE and they both do the same thing. Can you post a mirror because I've never had any problems with mediafire downloads before? I even logged into mediafire and it still gives me this error:

The website declined to show this webpage

HTTP 403

Most likely causes:

•This website requires you to log in.

What you can try:

Go back to the previous page.

This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.

For more information about HTTP errors, see Help.
[G1 Android Development] Daneshm90:
Hmm k sure. Heres an xda attachment.
[G1 Android Development] xaueious:
Did you know you are awesome?

You are awesome
[G1 Android Development] sparksco:
It works just fine for me too. I just combined Chromatic3.7 rom with httclay's theme by changing the framework.apk and the services.jar files. I also deleted some system apps as well as added a couple of my own. I also put my own bootanimation.zip on there and it works fine.
[G1 Android Development] sparksco:
My first successfull update.zip

Ok so I have messed around with this a lot and I have successfully created a update.zip rom that runs stable. I decided to go with the Chromatic 3.7 rom based off of cm-5.0.8-DS Stable. Feel free to download this and give me your feedback. I take no credit for this rom what so ever. All of the credit goes to Chromersmith and the other devs that made this, not me! This rom is only 1mb larger than the original, about 59mb. What this rom includes:

-reverse nexus style bootanimation (added by me)

-Stock ADWLauncher.apk from cm-5.0.8-DS Stable (has the nexus style launcher, but isn't all themed up. It runs smoother because it isn't as much of a system hog. Added by me)

-apps: Mytouch Music (came with rom not added), 3D Gallery (removed Gallery for same reason), cachecleaner (great for freeing up internal memory), Wireless Tether v2.0.2 for eclair, and of course all the regular stock system apps like YouTube, etc.

And of course you can modify this and re-post your own results as well the same way I did. Isn't that the whole point of this thread?

IMPORTANT! Make sure you read the Chromatic 3.7 thread to get all of the requirements and settings correct after flashing:

http://xdaforums.com/showthread.php?t=679135

I take no responsibility for anyone that breaks their phone because they don't know what their doing!

And of course enjoy:

http://www.mediafire.com/?1zzhoj32oqw
[G1 Android Development] nikosrs4:
if we have a lot of files, do we have to write them manually into cmd one by one?
[G1 Android Development] GantengX:
I also tried to create an update-script file to delete the preinstalled apps and ran into the same problem..

Perhaps update-script doesn't allow you to delete apk files? Can anyone confirm this?
[G1 Android Development] Edubyah:
Template?

Would it be too much trouble to publish a template for making update script for complete rom? I am having trouble with data folder apps they get copied but not installed. Any help would be greatly appreciated and if you could point me in right direction I would be happy to make some instruction templates and post here for everybody. Examples=Format system , copy directories (e.g. system , app , framework) set permissions and so on whatever it takes to look like the update scripts we see in today's ROMs. Thanks in advance.
[G1 Android Development] Frank2807:
Hello!

I have a strange problem. Everytime I want to create an update.zip the script compress every file and creates the update.zip. I can watch how it grows.

But after compressing the last file the zip will be canceled. The script gives me no error-message. I see the main menu.

Can anybody help me?

thx! Frank
[G1 Android Development] wang1chung:
daneshm90, would this work to create an update.zip that would flash the contents of the bml1-12 partition?

say if i made an image of the bml5 partition using "dd if=/dev/block/bml5 of=/sdcard/bml5.bak", could i then use that bml5.bak file and make an update.zip to flash it at a later date, say if it got corrupted?
[G1 Android Development] JJEgan:
I have a strange problem. Everytime I want to create an update.zip the script compress every file and creates the update.zip. I can watch how it grows.

But after compressing the last file the zip will be canceled. The script gives me no error-message. I see the main menu.

Same with me zips up starts to sign the rom that has been zipped . You can see the zipped rom as a whole file . Starts to sign then CMD screen closes and zipped rom no longer there .

Guess that it means a failed signing session for some reason .

jje
[G1 Android Development] kunacs:
pls help it tells me i have no java, but as i know i instaled the latest version for windows,

what can'i do?
[G1 Android Development] Frank2807:
Copy the jde.exe (i hope it's the right name. I mean the exe in your Java program-folder) into the folder of the update-script files.

That worked for me.

sent not from my IPhone
[G1 Android Development] kunacs:
Thnx man that worked
[G1 Android Development] kunacs:
I never see any update.zip after creating, what do i do wrong??????????

pls
[G1 Android Development] Frank2807:
Try another folder for the exe. Not that where the bat-file is. There is another folder with some other files (7z.exe e.g.).

Sorry, but I have here no computer. That's'why I don't know what the name of the folder is. I copied the "java-exe" in booth folders.

Frank

sent not from my IPhone
[G1 Android Development] jimmyjohnIII:
Java needs to be added to your path. Just having the java.exe in the current dir is not enough.

Before running the script.bat (from the command line) enter this command:

set path=%path%;"C:\Program Files (x86)\Java\jre6\bin"

Or even easier, add it to the top of script.bat. Obviously if the path to the java bin is different on your machine, modify to match your machine.
[G1 Android Development] reflex9000:
Hello Guys

I will delete folders in /dbdata/databases/

How must set the permissions in the update script for that ?

this does not work!

set_perm 0 0 0777 DBDATA:databases/com.fede.launcher

Hope you can help me.
[G1 Android Development] Rozza C:
Sorry to thread necro.

But I seem to be having problems using this.

No matter what I try to do, I can't seem to get it to work.

I've got the Java.exe set in my PATH variable and I even put it in the Script.bat as an extra precaution.

But my updateold.zip file still disappears at the end of the create update.zip process.

On that note, is there any reason in particular my zip file is named updateold.zip when it's made?

---EDIT---

Ok it seems to have been fixed. However the resulting update.zip file that comes out of it, still isn't signed.

I'm a little stumped as to what could be the issue.

Tried doing it on both 32-bit and 64-bit systems.
[G1 Android Development] Daneshm90:
Okay, if anyone would like to test and give me feedback id appreciate it.

New version is for updater-script. (aka Edify which seems to be what most recoveries are supporting now)

Download
[G1 Android Development] despotovski01:
The 2.0 version is not working for me. Can you help me?
[G1 Android Development] Daneshm90:
I need more info.

What do you mean not working ?

As in the update.zip's it creates are not flashable ?

Like i said, a lot of recoveries are switching to edify syntax. That's why i put out the update above your post.
[G1 Android Development] despotovski01:
The program isn't even creating the update-script.
[G1 Android Development] Daneshm90:
Ok whats ur path ?

Try putting it somewhere like

C:\script
[G1 Android Development] despotovski01:
Still doesn't work.
[G1 Android Development] Ajthescot:
awesome news mate will give it a shot tonight save having to use two apps as i was using your app plus amend2edify_v1.0.0.6.

I can confirm it does work very much so i use it daily
[G1 Android Development] despotovski01:
OK, for me it's not working, so can you help me? Like I said, it doesn't even make update-scripts. I tried both v2.0 and v3.0.
[G1 Android Development] Ajthescot:
its hard to say mate as it doesnt work isnt much to go by .

have you defonatly got your classpaths set prperly http://xdaforums.com/showpost.php?p=8105110&postcount=2

what files are you trying to create a zip for

most of the time im only doing themes so mainly systemui.apk framework res files.

create folders app and framework inside the placehere folder .

important that the files are in the correct folders.

i run the script option 1 create the updater script .

6 to exit 2 to create the update zip .

works fine every time for me mate .

i just tested by shoving a load of junk from my desktop into placehere and it ziped it up
[G1 Android Development] theraf90:
Orig:

Ok guys I found my mistake!!! it was all my fault, I didn't create the new scripts for the apps! Dumb me!!! Ahahaha
[G1 Android Development] TheNewGuy:
I have been using your tool to make update.zips for a long time and I love this tool. Now that things are changing to edify I started looking to see if you made a new one and it looks like you did.... however after looking at the 3.0 version I don't see anything diferent? Am I missing something? Maybe you could update the op to include instructions for edify updater-script creation. I feel like a newbe cause I am sure there is an easy answer... but thanks for all your great work! And if you can point me in the right direction I would appritiate it and I am sure it would help others too. Cause I bet that I am just the first of many.
[G1 Android Development] Red_81:
Quick question. Does this overwrite directories or merge them? I'm wanting to create one that adds in ringtones, notifications, and alarms from the other ROMs. But I don't want to delete everything that is already in the folders.
[G1 Android Development] DooMLoRD:
thank you... this is great!!
[G1 Android Development] Tibedabeeto:
When creating an update script and need to place file at the root directory of my phone and not in system folder or data. What do I put when the program asks what folder? Do I just hit enter without typing anything so it knows to just place the file in the root of my phone? Thanks
[G1 Android Development] Tibedabeeto:
Anyone know the answer to my question above?
[G1 Android Development] craigmack:
Question?

In Version 3.0 how have the instructions changed? I noticed when you go to $1 (create updater-scripts) there is now a new option at #5 (mount, make sure you do this first). So if i enter #5 it asks what is the filesystem of the partition you are mounting.

This is where I am getting lost. I often am making mods to my framework & resources files and occassionaly some apps which are all under the system folder from the root directory.

My question is are the clear directions and what the heck am I suppose to enter on #5 (referenced above)? :) I am lost!!!
[G1 Android Development] roscoenr:
Am I blind I dont see version 3.0 anywhere
[G1 Android Development] roscoenr:
any one

...............................
[G1 Android Development] affmalg:
Hi,

It worked to create an Update.zip but it won't flash.

I am using Amon-Ras Recovery and it says "Can't mount system:app" so there must be something wrong with the update-script.

I have done in like the tutorial...
[G1 Android Development] roscoenr:
I have never had a problem with it
[G1 Android Development] -viperboy-:
Sent you a PM buddy! I'm getting a status 6 error and it won't flash. Thanks in advance!
[G1 Android Development] kaufmanj67:
yeah

+1 for staus 6 error
[G1 Android Development] kaufmanj67:
whole-file signature verified

I:verify_file returned 0

Installing update...

Installation aborted.

HELP!!!!!!!! If we still have a leader in here I'm so close to making this work but have no idea why or how to fix this
[G1 Android Development] torq1337:
hmmm... no problems here ! YOU ARE MY HERO m8 ! :) thx for the great app !
[G1 Android Development] scotte9999:
In case you didn't figure out the "Status: 6" issue, change your line endings to Unix format. That works fine for me (with 3.0 of this script).
[G1 Android Development] Cy4n1d3:
I don't know what's wrong but it can't be file endings. Getting status 6 as well on CWM v3 - using a proved working update-script (non-modified).
[G1 Android Development] qwer23:
Hi Daneshm90!

That's a great tool, thanks!

I'm trying to create an update.zip to replace wpa_supplicant with a modified one. I found out most of the settings (I think UID:GID for wpa_supplicant should be 1000:1010 for all devices, right?), but what do I have to enter when the script asks for MODE?

Regards

qwer23
[G1 Android Development] jing000l:
:-?? where is the dl link?
[G1 Android Development] RayToombs:
OK I tried this and followed your video I will be loading my update zip and seeing if it works.
[G1 Android Development] RayToombs:
So here is what I got when I tried.

Installing update

Copying files

E:can't mount system:framework

E:failure at line 1:

Copy_dir package:framework system :framework

Installation aborted

Any help would be great
[G1 Android Development] Lewcid:
which version of java do i need to install? Im racking my brain as ive installed Java SE Runtime Environment 5.0u22. Forgive my noobness, but what version should i be installing so i can run this thing and have it sign my zip?
[G1 Android Development] Lewcid:
Ok so how do i implement these instructions? Ive found the java.exe but how do i add it to the top of script.bat? do i open the script.bat in notepad and do something there or what? Im auper noob and im just trying to get this to work.

Update:

Followed these intrux and got it working:
[G1 Android Development] adrianmak:
The created update.zip is not compatible with CWM3

is there any update ?
[G1 Android Development] hyun18:
Is this the same as installing/flashing a zip file from sdcard??
[G1 Android Development] Restorer:
Yes. Post #194 has version 3. I missed it having gone through this thread 3 times! Thanks to roscoenr for pointing it out.
[G1 Android Development] Red_81:
Here is Post #194 for easy access.
[G1 Android Development] Guerric:
Hi guys,

I'd like to edit a modded firmware, an update.zip containing a system.img, recovery.img, etc..

I tried unyaffs.exe and cygwin for windows, but none of them lets me extract the content of the .img...

Can anyone help?

unyaffs gives an access violation error and cygwin doesn't know about 'cpio'.
[G1 Android Development] francomile:
Keep having the error (6) when flashing my zips made with v.3 for cwm3.i've tried creating the zips with several ways but i keep getting the same error when flashing it.any small trick to get through it??

Enviado desde mi GT-I9000 usando Tapatalk
[G1 Android Development] francomile:
Feel the same way....

Enviado desde mi GT-I9000 usando Tapatalk
[G1 Android Development] francomile:
Could the author please answer our questions. Make a small guide please. The update script doesn't work after trying diferent mounts etc...wich is a pitty because this is such a great tool:(

Enviado desde mi GT-I9000 usando Tapatalk
[G1 Android Development] francomile:
Well, never mind. Just got the way to make edify scrips using your v2.0 version and then using Amend2Edify to convert the script :)

Enviado desde mi GT-I9000 usando Tapatalk
[G1 Android Development] Travis90x:
Thanks!!! Today...^_^" ...I discovered that....

Amend scripting was deprecated by Google in Android 1.5

It was necessary to remove it when upgrading to Clockworkmod 3.0 Gingerbread based recovery. Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
[G1 Android Development] Matrix44:
I have problem:

"Java was not found, you will...................."

Can someone help me?

Many thx,

Matrix44
[G1 Android Development] Travis90x:
Maybe you have to install JDK!

Install x86 version (not x64, even if you have that)...
[G1 Android Development] Matrix44:
Edit

Thx,

Matrix44
[G1 Android Development] chrisrj28:
I also discovered this problem
[G1 Android Development] strachg:
Hi, i wonder if anyone can help me, Iam trying to make an update.zip to overwrite sone .png icon files which are located here. system/app/LauncherPro.apk/res/drawable-port-hdpi but i cant seem to get it made up. i have tried loads of version of it but just not working. Could someone tell me what options and what paths i should be using.

thanks

Graham
[G1 Android Development] strachg:
can anyone help ?
[G1 Android Development] chillje:
I have a problem.

Using 2 (create update.zip) but after "singing" it is no update.zip in folder...

any ideas?
[G1 Android Development] hellhawk741:
Try changing the heap size to 1024
[G1 Android Development] nullinger:
Creating flashable themes with this tool should be posible or not?

i have app_s, framework_s and font folder, in the placehere folder

then i made these steps:

1. create update script

2. copy directorys

a. set the partition to place the files, in my case sd-ext

b. set folder within the partition, app_s in my case

c. folder from placehere, app_s in my case

did this for all folders in placehere and then created the simlinks and then created the update.zip

Then used amend2edify and flashed the theme.zip via recovery, everything works the script updates but when i restart my device, nothing is changed.

Somebody who can help me ?

Greetz Nulli
[G1 Android Development] Rodman101:
Hey,

I'm trying to push a build.prop to a device with stock recovery and no adb or fastboot support at the moment. I put the build.prop in a "system" folder in placehere and then i opened the script. When i make the update script i put

1.SYSTEM

2.(Blank)

3.system

I've tried different combinations as well as putting "root" instead of (blank) and everytime it goes to install the update.zip it will start, verify the package and then once the installation bar is about a third full it will abort.

Any help?
[G1 Android Development] droidiser:
where does the update.zip go,i can't find it in any folder and unable to push it to sdcard.Where is it stored?
[G1 Android Development] Jayman007:
Is there a more recent version of this set of scripts? I tried creating a script but CWM is telling me that the scripting language is no longer supported. I also see that an update-binary is now in the folder with the script. How do I create that?
[G1 Android Development] roscoenr:
Post #194 has version 3

=================================

Swyped from my Warm Gingerbread Evo 4D (smellaphone)