OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Is There A Hex Editor For The Zaurus?
sdjf
post May 9 2007, 06:30 PM
Post #1





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



I found four linux hex editors out there, Hexer, Shed, Hexedit, and Bless. Have any of them been ported for the Zaurus? If so, which ROMs and models will they run on?

I checked both http://www.killefiz.de/zaurus and http://www.handheld-linux.com/swi/index.php without any luck.

Here's what I found otherwise.

Bless is the full featured hex editor at freshmeat:

http://freshmeat.net/projects/bless

Shed (Simple Hex Editor) is based at SourceForge:

http://sourceforge.net/projects/shed

Hexedit for the Mac is at sourceforge:

http://sourceforge.net/project/showfiles.php?group_id=9366

Hexcurse and Hexedit for Linux are listed at:

http://www.openbsd.org/3.8_packages/arm.html
hexcurse-1.54.tgz - a user-friendly ncurses-based hexeditor
hexedit-1.2.10.tgz - to view and edit files in hexadecimal or ASCII

Hexer in Debian Unstable:

http://packages.debian.org/unstable/utils/hexer

I am asking because a hex editor for the Z could come in handy for checking compatability of IPKs. I don't know what else I would use one for.

Thanks,
sdjf
Go to the top of the page
 
+Quote Post
Capn_Fish
post May 9 2007, 07:08 PM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Pick the one you want and I'll do my best to compile it for pdaXrom (2.6.x kernel, though, unless somebody has a link to a 2.4.x cross sdk for pdaX).
Go to the top of the page
 
+Quote Post
sdjf
post May 9 2007, 08:37 PM
Post #3





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



I'm on Sharp ROM, and sticking with it, so maybe we'd better also hear what pdaXrom users want.

I'll try to read up more on them and see which I'd like, though. I didn't expect I'd have a choice. wink.gif

I know I'd prefer a command line based one, but I'll bet many Z owners would prefer a GUI.

Thanks,
sdjf
Go to the top of the page
 
+Quote Post
Jon_J
post May 9 2007, 09:24 PM
Post #4





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



I don't remember where I got this, but I have it in my Sharp/Cacko "Programs" folder on my desktop PC, where I keep backups of all zaurus related apps, etc.
I think I tried it once, but commandline things go over my head, so I uninstalled it.
Attached File(s)
Attached File  hexedit_1.2.12_arm.ipk ( 26.7K ) Number of downloads: 28
Attached File  hexedit_doc_1.2.12_arm.ipk ( 11.12K ) Number of downloads: 24
 
Go to the top of the page
 
+Quote Post
pgas
post May 9 2007, 09:52 PM
Post #5





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



emacs knows how to do this.
the editor in mc also has a hex mode
(F3 F4 then F2)

* edit: I don't know why I wrote in french previously
Go to the top of the page
 
+Quote Post
sdjf
post May 9 2007, 10:56 PM
Post #6





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



Thanks, Jon_J. Well, the downloads are still broken, but at least I could get the urls to wget the files properly. I will try working with them when I have more time over the weekend.

pgas, I don't know if emacs is available for my ROM, but I guess that is something else worth considering.

I'm also trying to put together a list of hex editing tools for the Zaurus, so if people know of others and what ROMs they work on, please post!

thanks,
sdjf
Go to the top of the page
 
+Quote Post
sdjf
post May 11 2007, 04:05 PM
Post #7





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



I just found out about the "od" (octal dump) command.

If I could figure out how to use it, I might not even need a hex editor. It is available in the arm utilities package.

Has anyone here used it to examine the first line of an ipk?

sdjf
Go to the top of the page
 
+Quote Post
Meanie
post May 11 2007, 05:09 PM
Post #8





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(sdjf @ May 12 2007, 10:05 AM)
I just found out about the "od" (octal dump) command.

If I could figure out how to use it, I might not even need a hex editor.  It is available in the arm utilities package.

Has anyone here used it to examine the first line of an ipk?

sdjf
*


why not just use this http://zaurus.daemons.gr/menaie/feed/hexedit_1.2.12_arm.ipk

or

head -1 blahblah.ipk
Go to the top of the page
 
+Quote Post
sleet01
post May 12 2007, 11:08 AM
Post #9





Group: Members
Posts: 6
Joined: 5-May 07
Member No.: 16,242



Depending on how extensive your hex editing needs to be, you might be able to get by with just vim and xxd (see section 23.4 specifically)
Go to the top of the page
 
+Quote Post
speculatrix
post May 12 2007, 02:21 PM
Post #10





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



od despite its name will also do hex dumping

you can also use sed to change data IF it's a unique pattern!
Go to the top of the page
 
+Quote Post
sdjf
post May 12 2007, 08:44 PM
Post #11





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



meanie,

"head -n1 blabla.ipk" never yields any output. "head -n2" does, but it's pretty unintelligible. The output from "less" is a little better, but I wanted to find a better tool with clearer output.

I will try that ipk when I can clear space and time...

sleet01 and speculatrix, I was more just interested in examining and not needing to edit at this point, so I'm trying to figure out "od". It might be all I need, although I am always interested in finding alternate editors, so I still want to try the ipk when I can.
sdjf
Go to the top of the page
 
+Quote Post
sdjf
post May 13 2007, 08:13 AM
Post #12





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



I found really great command reference with clear simple examples of how to use od:

http://www.linuxhotbox.com/adminguide/lnag_learning.html

sdjf
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th December 2014 - 01:01 PM