xml editing - Hero CDMA Themes and Apps

can someone tell me how to edit xml files. dont understand them at all. im trying to. ive looked and read some threads but not alot of help

Really? You didnt get the PM I just sent you?I explained how to read them and edit them...What more are you looking for?

VinceOB said:
Really? You didnt get the PM I just sent you?I explained how to read them and edit them...What more are you looking for?
Click to expand...
Click to collapse
Could you send me that pm too lol?

VinceOB said:
Really? You didnt get the PM I just sent you?I explained how to read them and edit them...What more are you looking for?
Click to expand...
Click to collapse
Can you send me the PM too? I've tried hexedit, but the bottom part of the file is always scrambled. Found a 'printer' that converts them, but then it's hard to know what to edit in the hex-editor since it's all scrambled.

VinceOB said:
Really? You didnt get the PM I just sent you?I explained how to read them and edit them...What more are you looking for?
Click to expand...
Click to collapse
lol i just got the pm thanks. i guess this posted before i noticed. sorry

cbarlan said:
can someone tell me how to edit xml files. dont understand them at all. im trying to. ive looked and read some threads but not alot of help
Click to expand...
Click to collapse
Down Adobe dteamweaver onto your computer, pull the files you want to edit from your phone then edit them of course then push them back.

str8outtacpt said:
Down Adobe dteamweaver onto your computer, pull the files you want to edit from your phone then edit them of course then push them back.
Click to expand...
Click to collapse
They aren't fully readable by dreamweaver....

regaw_leinad said:
They aren't fully readable by dreamweaver....
Click to expand...
Click to collapse
does that mean dreamweaver will work. also downloaded axmlprinter2.jar as suggested in a pm but dont know how to use it. i clicked on it but it did nothing. do i need to rin it in cmd and tell it which file to convert

cbarlan said:
does that mean dreamweaver will work. also downloaded axmlprinter2.jar as suggested in a pm but dont know how to use it. i clicked on it but it did nothing. do i need to rin it in cmd and tell it which file to convert
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=514412
you can use it to convert them to readable text, but only for a reference. Can't be converted back.
run the command from the path that the axmls file is in w/ the xml in there.

regaw_leinad said:
http://forum.xda-developers.com/showthread.php?t=514412
you can use it to convert them to readable text, but only for a reference. Can't be converted back.
run the command from the path that the axmls file is in w/ the xml in there.
Click to expand...
Click to collapse
ok so i did that. i created a file on desktop. put in the axmlprinter2 file and the xml file. i then went to cmd and went to the directory and typed out
axmlprinter2.jar common_base_browse_list.xml >common_base_browse_list.txt
i hit enter and it created a txt file but there was nothng in it

cbarlan said:
ok so i did that. i created a file on desktop. put in the axmlprinter2 file and the xml file. i then went to cmd and went to the directory and typed out
axmlprinter2.jar common_base_browse_list.xml >common_base_browse_list.txt
i hit enter and it created a txt file but there was nothng in it
Click to expand...
Click to collapse
did you have a space after the > ?
you need one.

regaw_leinad said:
did you have a space after the > ?
you need one.
Click to expand...
Click to collapse
yes i tried it with a space, with out one, with out one on both sides, with one on one side, with one on both sides. nothing

cbarlan said:
yes i tried it with a space, with out one, with out one on both sides, with one on one side, with one on both sides. nothing
Click to expand...
Click to collapse
Aha,
you need to type
Code:
java -jar axmlprinter2.jar (xml) > (txt)

regaw_leinad said:
Aha,
you need to type
Code:
java -jar axmlprinter2.jar (xml) > (txt)
Click to expand...
Click to collapse
that did it thank you

cbarlan said:
that did it thank you
Click to expand...
Click to collapse
No problem, now what to do after is the hard part lol...
Could you forward me that pm he sent you?

regaw_leinad said:
No problem, now what to do after is the hard part lol...
Could you forward me that pm he sent you?
Click to expand...
Click to collapse
Forwarded it to u

cbarlan said:
Forwarded it to u
Click to expand...
Click to collapse
Thanks man

hope you have some magic pixie dust for reconverting those to binary, I found a tool for it once, but was unable to get it to work successfully

obelisk79 said:
hope you have some magic pixie dust for reconverting those to binary, I found a tool for it once, but was unable to get it to work successfully
Click to expand...
Click to collapse
lmao...i think i used up all my magic pixie dust.
just trying to learn how to hex edit man. got any other pointers. i made a little head way last night. kinda makes u dizzy looking at the binary code.

cbarlan said:
lmao...i think i used up all my magic pixie dust.
just trying to learn how to hex edit man. got any other pointers. i made a little head way last night. kinda makes u dizzy looking at the binary code.
Click to expand...
Click to collapse
Once you get the hang of reading the hex it will be much easier. Just remember to search for the hex string in reverse.

Related

Auto-Sign APP for MAC users!

With the help of red_menace over at the apple support forum, I present Mac users with an application that will sign their .apk and .zip files.
It is a droplet application, meaning you just have to drag the file you want signed onto the application itself. A new file will be created with -signed at the end of the file name.
For this to work you need to have testsign.jar in your root directory. The root directory is the first place you come to when you click on the mac hard drive.
If anyone wants to use or edit the script that's fine with me, I really didn't do much, just asked the right people for help.
Android-sign.zip Download
Android-sign.zip has both the testsign.jar and android-sign application.
EDIT: Sorry about the mixup. Testsign.jar is now linked above.
thank you sir! will try tonight
Exception in thread "main"
java.lang.NoClassDefFoundError: testsign
I cant find the testsign.jar its not in the tool directory of my SDK that I downloaded from Androids website
Where can I get this testsign.jar?
*EDIT*
I found the testsign.jar in the forums. You can get it here: http://forum.xda-developers.com/showthread.php?t=538020
But I still get the same error I've placed the program and the testsign.jar file in the same directory.
I have some cool skins in the making! I just need to know how to sign these files! I'm on a mac.
Why am I getting the error?
wow i need this bad...now lets c if i know how to get it 2 work....
MurderDeathKill said:
But I still get the same error I've placed the program and the testsign.jar file in the same directory.
I have some cool skins in the making! I just need to know how to sign these files! I'm on a mac.
Why am I getting the error?
Click to expand...
Click to collapse
are you putting the testsign.jar in your ROOT dir? aka where adb is
same error
Okay, so I'm getting the same error. And yes, my testsign.jar/Android-sign.app are both in my sdk/tools dir.
Not sure what the problem is.
Hope I can get this to work
jaaronmoody said:
are you putting the testsign.jar in your ROOT dir? aka where adb is
Click to expand...
Click to collapse
What file is the adb? I understand what adb means and what it does, but I don't know how to identify it.
Ok so since im new to this can someone can make a really dumb guide for me from dowloading the app to putting the test.jar file please.
im getting the same error, this is a huge step though when u figure out whats going on with the rest of our Auto-sign, repost thanks nd thumbs up
nice...thx for sharing this. will come in handy
oops, still getting used to all this. haha
ffff00 said:
Okay, so I'm getting the same error. And yes, my testsign.jar/Android-sign.app are both in my sdk/tools dir.
Not sure what the problem is.
Hope I can get this to work
Click to expand...
Click to collapse
the testsign.jar needs to be in the root directory of your computer. The app can be placed anywhere you would like. Where ever you put the app, the new signed file will be also.
guys so lets say i put meltus audio hack in cyanogen 4.9999 and i want to sign the whole build back up how would i do that.
thank you
jessetbenton said:
the testsign.jar needs to be in the root directory of your computer. The app can be placed anywhere you would like. Where ever you put the app, the new signed file will be also.
Click to expand...
Click to collapse
Oh okay, thanks.
You said to put it in the same folder as adb is why I was confused.
I'll try this out in a few.
ffff00 said:
Oh okay, thanks.
You said to put it in the same folder as adb is why I was confused.
I'll try this out in a few.
Click to expand...
Click to collapse
no i said that, and it is where adb is.... at least for me... in the root dir, if you move the adb file there you don't have to enter the path every time you enter adb commands in the terminal
ffff00 said:
Oh okay, thanks.
You said to put it in the same folder as adb is why I was confused.
I'll try this out in a few.
Click to expand...
Click to collapse
i think what jaaronmoody was talking about is just putting your adb file into the root directory instead of adding to the bin. but im pretty new to the whole terminal and coding stuff, so i just know what i've picked up since having my g1.
guys does anybody know about signing folders again to make them flashable?
G1_Lucky said:
guys so lets say i put meltus audio hack in cyanogen 4.9999 and i want to sign the whole build back up how would i do that.
thank you
Click to expand...
Click to collapse
well if the file is good. you just have to drag the cm 4.9999.zip file onto the app and it will spit out the new signed version.
What I think is more complicated is actually modifying those files. I use virtualbox to run windows and do everything with 7zip.
Anyone know of a zip program similar to 7zip to edit the apk and zip files?
Dude! Thanks! Alright guys get ready now that I have everything in place ADB, and signing my .zip files expect Luck's turn at android development lol. Im hecka grateful for everybody but now im ready haha thanks guys
Thanks for the help.
Works like a charm.
Awesome droplet.

How do i sign Zip Files?

That i wanna flash?
xda search function
feefeeboomboom said:
xda search function
Click to expand...
Click to collapse
Agree , but here it is http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
derekstory said:
Agree , but here it is http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
Click to expand...
Click to collapse
Tried no luck on finding it....but thanx! lol
rogerbean101 said:
Tried no luck on finding it....but thanx! lol
Click to expand...
Click to collapse
Q: How do I sign my zip or apk?
A: First you must have java installed on whatever OS you're running. Windows users download the Win-sign.zip attachment. Linux users download Linux-sign.zip attachment.
derekstory said:
Q: How do I sign my zip or apk?
A: First you must have java installed on whatever OS you're running. Windows users download the Win-sign.zip attachment. Linux users download Linux-sign.zip attachment.
Click to expand...
Click to collapse
What do i do next? lol im HELLA NOOB at all this
rogerbean101 said:
What do i do next? lol im HELLA NOOB at all this
Click to expand...
Click to collapse
unzip and read the text file for directions
derekstory said:
unzip and read the text file for directions
Click to expand...
Click to collapse
LMAO Still lost
rogerbean101 said:
LMAO Still lost
Click to expand...
Click to collapse
go to the link i posted. At the bottom of the post #1 there are 2 zip files. one for Windows and one for Linux, pick the one for your OS. After download double click then read the Readme.txt file and it will tell you what to do
derekstory said:
go to the link i posted. At the bottom of the post #1 there are 2 zip files. one for Windows and one for Linux, pick teh one for your OS. After download right double click then read the Readme.txt file and it will tell you what to do
Click to expand...
Click to collapse
i did that and all it says is
"SignApk.jar is a tool included with the Android platform source bundle.
testkey.pk8 is the private key that is compatible with the recovery image included in this zip file
testkey.x509.pem is the corresponding certificate/public key
Usage:
java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip"
You must have the linux android sdk installed to use this.
Place the sign folder inside the android sdk tools folder so you have a path IE ~/android-sdk-linux/tools/sign
Place the androsign file the tools folder.
Open a terminal and cd into the android sdk tools folder
Type the following command to sign your .zip/.apk:
sudo androsign ~/folder_containing_zip/nameofzip.zip
This will output a file with original zip name plus -signed IE rom-signed.zip
Actually, I think it would be cool if we could have something like this on the "All Current Guides" wiki page or something. Trying to figure out how to do pretty minuscule stuff like signing a zip requires some pretty deep thread searching. Want to learn how to customize a ROM? Search the threads. Unfortunately, that thread will refer to another one. Only to have that one point to another.
It would be nice to have a How-To guide for things like rooting, signing zips, customizing, etc. I just think that a How-To wiki for all these things would reduce the number of threads like this. And I'm saying this as someone who knows how to do all those things. I just remember the confusion and frustration.
bigronaldo said:
Actually, I think it would be cool if we could have something like this on the "All Current Guides" wiki page or something. Trying to figure out how to do pretty minuscule stuff like signing a zip requires some pretty deep thread searching. Want to learn how to customize a ROM? Search the threads. Unfortunately, that thread will refer to another one. Only to have that one point to another.
It would be nice to have a How-To guide for things like rooting, signing zips, customizing, etc. I just think that a How-To wiki for all these things would reduce the number of threads like this. And I'm saying this as someone who knows how to do all those things. I just remember the confusion and frustration.
Click to expand...
Click to collapse
Yeaaa i Deff Agree cuz im beyond lost right now with this! lol Its nuts lol
you must be using windows. let me do some more resesarch. I will send a PM if I find out anything so we are not using up thread space.
derekstory said:
you must be using windows. let me do some more resesarch. I will send a PM if I find out anything so we are not using up thread space.
Click to expand...
Click to collapse
Yeaa windows xp! lmao Thanx!!

Help with Cab files!

Okay so I just got a windows mobile phone and i was so excited to download all these cabs that i found online, but when i got them they were in a zip file and then in the folder there were a lot of files including a .xml called started. So i put this into my phone thinking it would work but it didn't. how do i get this to work!?
pablojavier said:
Okay so I just got a windows mobile phone and i was so excited to download all these cabs that i found online, but when i got them they were in a zip file and then in the folder there were a lot of files including a .xml called started. So i put this into my phone thinking it would work but it didn't. how do i get this to work!?
Click to expand...
Click to collapse
Odds are they just added the .zip extension to upload them. Just delete the .zip out of the name and try to install the cab then.
dwizzy130
dwizzy130 said:
Odds are they just added the .zip extension to upload them. Just delete the .zip out of the name and try to install the cab then.
dwizzy130
Click to expand...
Click to collapse
wow this worked, haha thanks so much !!!!!!!!!
pablojavier said:
wow this worked, haha thanks so much !!!!!!!!!
Click to expand...
Click to collapse
Yea! No problem!
Most of the time when you see a file named cabname.cab.zip, they just added the .zip so they could upload it.
dwizzy130
dwizzy130 said:
Yea! No problem!
Most of the time when you see a file named cabname.cab.zip, they just added the .zip so they could upload it.
dwizzy130
Click to expand...
Click to collapse
well i downloaded the file and well now when i try entering the password on my phone it doesn't work D=
pablojavier said:
well i downloaded the file and well now when i try entering the password on my phone it doesn't work D=
Click to expand...
Click to collapse
Wait, what cab did you install?
dwizzy130
dwizzy130 said:
Wait, what cab did you install?
dwizzy130
Click to expand...
Click to collapse
it was a swype cab that i found i think on this website.
pablojavier said:
it was a swype cab that i found i think on this website.
Click to expand...
Click to collapse
Oh dang.... That was a known issue with Swype when installed via cab file... It kills most peoples lockscreen passwords... Only one way to fix it. Hard reset.
Sorry to be the bearer of bad news...
dwizzy130
dwizzy130 said:
Oh dang.... That was a known issue with Swype when installed via cab file... It kills most peoples lockscreen passwords... Only one way to fix it. Hard reset.
Sorry to be the bearer of bad news...
dwizzy130
Click to expand...
Click to collapse
well i dont mind, but how do i hard reset 0_0 i have an htc imagio
pablojavier said:
well i dont mind, but how do i hard reset 0_0 i have an htc imagio
Click to expand...
Click to collapse
1. While the phone is off, press and hold Volume Down + Talk/Send + End/Power.
2. When the device displays a message about wiping the data, release all 3 buttons.
3. Press Volume Up to complete the hard reset.
dwizzy130
dwizzy130 said:
1. While the phone is off, press and hold Volume Down + Talk/Send + End/Power.
2. When the device displays a message about wiping the data, release all 3 buttons.
3. Press Volume Up to complete the hard reset.
dwizzy130
Click to expand...
Click to collapse
thank you so much you've been a great help
pablojavier said:
thank you so much you've been a great help
Click to expand...
Click to collapse
Just doin my job. haha
dwizzy130
if you got any problems installing them i made a short video on how to install CAB files
the vids abit sketchy but it may help so check it out if you want.
http://www.youtube.com/watch?v=R9ac6-6m5OI

Android Theme Creation Help!!!!!!!!!! Mac Users.

Im Posting Here Because I Need An App To Help Me Finalize My Theme. Something Like "7-Zip" But For Mac. I've Searched, Searched, And Searched.
So Basically Im Looking For An App For Mac OSX That Can Go Within An Archive And Change/Update Files Within It Without Extracting It.
I've Found "Better Zip" Which Claims I Can Edit/Update An Archive But I Have Not Been Able To Do So.
Thanks In Advance.
Rydah805 said:
Im Posting Here Because I Need An App To Help Me Finalize My Theme. Something Like "7-Zip" But For Mac. I've Searched, Searched, And Searched.
So Basically Im Looking For An App For Mac OSX That Can Go Within An Archive And Change/Update Files Within It Without Extracting It.
I've Found "Better Zip" Which Claims I Can Edit/Update An Archive But I Have Not Been Able To Do So.
Thanks In Advance.
Click to expand...
Click to collapse
Why did you.... Capitolize Every Word In Your Statement???
Anyway, regarding your app why don't you try http://gaygamer.net/images/grab_onto_your_ostrich_its_gon/ostrich_head.jpg
Its A Habbit. Lol ****. =[
Anyways, Try What?
Rydah805 said:
Its A Habbit. Lol ****. =[
Anyways, Try What?
Click to expand...
Click to collapse
Their You Go Again! Lol....
I know exactly what you need, but can't find it ATM. I will search for you. In the meantime after "try" in my last statement, highlight the white text copy/paste it and follow the link.
thanks, but are you really gonna help me or did you just want me to see that pic? lol i just cant find anything....
Rydah805 said:
thanks, but are you really gonna help me or did you just want me to see that pic? lol i just cant find anything....
Click to expand...
Click to collapse
Actually I am planning on helping, and good job not going all caps crazy
Do you have bootcamp?
cant you just..
1. extract
2. edit
3. pack
4. sign
5. ???
6. Profit!
PurpleSmurfLlama said:
Actually I am planning on helping, and good job not going all caps crazy
Do you have bootcamp?
Click to expand...
Click to collapse
Nope. Sorry. Well doesn't it come with mac OS x? Just without Windows?
And the solution posted above won't work. The files should not be extracted. Unless there's an app that will let you package a bundle of files into an .apk within a .zip file. Which would work but I can't find a .apk compressor.
Thanks so far guys.
ooor you could make it into a zip and rename it to .apk...
Ive tried that.
extract the .apk, edit what i want, zip it up then rename it to myfile.zip to myfile.apk right?
thanks again for the help so far guys.
ante0 said:
ooor you could make it into a zip and rename it to .apk...
Click to expand...
Click to collapse
This does not work.
Rydah805 said:
Ive tried that.
extract the .apk, edit what i want, zip it up then rename it to myfile.zip to myfile.apk right?
thanks again for the help so far guys.
Click to expand...
Click to collapse
If you can extract the files, it seems like you dont need 7zip/WinRAR... Just drag the files you have edited overtop of the window of whatever program you used to extract. No?
im not exactly sure what you mean but from what i think your saying, no i cant just drag a file into the apk like i can on 7-zip
Ah yea, sorry, I used APK builder in the sdk :/
If you can, you could run windows/linux in a vm, then you should be able to pack em correctly.
Or ask a friend if he/she can do it for you
Rydah805 said:
Nope. Sorry. Well doesn't it come with mac OS x? Just without Windows?
And the solution posted above won't work. The files should not be extracted. Unless there's an app that will let you package a bundle of files into an .apk within a .zip file. Which would work but I can't find a .apk compressor.
Thanks so far guys.
Click to expand...
Click to collapse
Well boot camp is free and included in Leopard/Snow Leopard but, you defenatelly have to buy Windows. I suggest going on ebay, buy a re-install dell disk for seven (they are around $20) and just temporaily use it for your needs until the 30 day trial expires. Or you can just buy it....
Purple Drama Llama said:
Well boot camp is free and included in Leopard/Snow Leopard but, you defenatelly have to buy Windows. I suggest going on ebay, buy a re-install dell disk for seven (they are around $20) and just temporaily use it for your needs until the 30 day trial expires. Or you can just buy it....
Click to expand...
Click to collapse
i have the disc. i came from windows about 7 mon. ago. horrible days but.....oh well.

Looking for the OB9 stock boot.img

Hey guys,
I did something wrong with my device.
Can someone upload the stock boot.img from OB9?
Would be great, thanks!
Baldesarra said:
Hey guys,
I did something wrong with my device.
Can someone upload the stock boot.img from OB9?
Would be great, thanks!
Click to expand...
Click to collapse
Here ya go https://mega.nz/#!Pd0DURBa!tEY0J8fyW3lIBit1HNrGBjGOojKKITbzuUWCuajLJzY
H4X0R46 said:
Here ya go https://mega.nz/#!Pd0DURBa!tEY0J8fyW3lIBit1HNrGBjGOojKKITbzuUWCuajLJzY
Click to expand...
Click to collapse
Thank you!
H4X0R46 said:
Here ya go https://mega.nz/#!Pd0DURBa!tEY0J8fyW3lIBit1HNrGBjGOojKKITbzuUWCuajLJzY
Click to expand...
Click to collapse
Thank you for this. I don't currently need it, but it's good to have it if things start to go wrong.
stmims1124 said:
Thank you for this. I don't currently need it, but it's good to have it if things start to go wrong.
Click to expand...
Click to collapse
Yeah for sure! I always extract the boot images from the stock builds myself, I use this tool
https://androidfilehost.com/?fid=818070582850510260
It's a windows exe, just download the full zip and extract the payload.bin into the input folder and everything you need is placed in output
Antivirus might flag this as a virus, but it's totally clean, I use it all the time.
H4X0R46 said:
Yeah for sure! I always extract the boot images from the stock builds myself, I use this tool
https://androidfilehost.com/?fid=818070582850510260
It's a windows exe, just download the full zip and extract the payload.bin into the input folder and everything you need is placed in output
Antivirus might flag this as a virus, but it's totally clean, I use it all the time.
Click to expand...
Click to collapse
Mighty kind of you. THANKS!

Categories

Resources