Page 1 of 1

Hex editor for Android

Posted: 15 May 2024, 10:27
by Duke
Can anyone recommend a good, free and ads free hex editor for Android ?

I've found this one but it can't open files larger than 20 MB :(
https://github.com/Keidan/HexViewer

Hex editor for Android

Posted: 23 May 2024, 21:00
by Jevil7452
It might not be what you're looking for, but maybe running a command line hex editor via Termux will work?

Hex editor for Android

Posted: 25 May 2024, 11:40
by Duke
Jevil7452 wrote: 23 May 2024, 21:00 command line hex editor
I'm not sure to understand what you mean :eh:

Hex editor for Android

Posted: 28 Nov 2024, 22:50
by HajdaM
Hi, you can try BinEd hex editor, but it's a bit unrefined...
It should work for big files if you enable partial files loading in settings.

https://github.com/exbin/bined-android

Hex editor for Android

Posted: 29 Nov 2024, 23:05
by Duke
Thanks, I'll check it out :thumbup:

Hex editor for Android

Posted: 30 Nov 2024, 20:38
by Duke
HajdaM wrote: 28 Nov 2024, 22:50 It should work for big files if you enable partial files loading in settings.
https://github.com/exbin/bined-android
It's quite good! :)
But it looks like it can't load any file over 50 MB. A 63 MB file is loaded but the UI hangs and doesn't react to any screen touch. With a 160 MB file it resets itself to an empty new screen.
I don't have "partial loading" in the settings but "changes only". If I enable that then the app crashes again and again when trying to load a large file.

I think if you can find a way to open and edit large files then your app will be at the top :)
There are some open source hex editors like this one: https://github.com/WerWolv/ImHex
Maybe that can give you some ideas ;)

Hex editor for Android

Posted: 02 Dec 2024, 12:33
by HajdaM
Hi, it seems you found multiple bugs there. Looks like I should have tested with bigger file than 40 MB :-| Hopefully I'll fix some of them in the future...

Also you can use ImHex in browser on your phone: https://web.imhex.werwolv.net/

Hex editor for Android

Posted: 02 Dec 2024, 21:13
by Duke
HajdaM wrote: 02 Dec 2024, 12:33 Also you can use ImHex in browser on your phone: https://web.imhex.werwolv.net/
So it's possible to open large files. I wonder why apps won't do it since I have gigabytes of free memory and we are talking about 50-100 MB :think:

Hex editor for Android

Posted: 03 Dec 2024, 15:23
by HajdaM
Duke wrote: 02 Dec 2024, 21:13 So it's possible to open large files. I wonder why apps won't do it since I have gigabytes of free memory and we are talking about 50-100 MB :think:
In my case, I used normal Java array allocation using heap, which seems to be heavily restricted because of older phones with small memory - which I didn't know before. There is an option to request bigger heap, but there is also an option to allocate memory outside of heap, which other apps written in C (like for example browsers) use by default.

But in changes only mode I have probably rendering bug (integer overflow) :-|

Hex editor for Android

Posted: 04 Dec 2024, 11:25
by Duke
So the blocker is the Java limitation.
Just an idea: I wonder how media players are working because they can play files that are several GB large and even seek into them so they obviously don't entirely load them into memory but just parts.

Hex editor for Android

Posted: 04 Dec 2024, 14:32
by Duke
In fact it's tricky. I can open a 196 MB file but only if I open it first. If I have opened some other files before then it fails. Maybe the memory is not fully released when taping on the Open menu item ?
I can also open this 196 MB file if I tap on New before opening it. However trying to open a 265 MB file always fails, it resets to an empty board.

I also miss the ability to drag the location maker on the right side for navigating faster inside the file.

Hex editor for Android

Posted: 04 Dec 2024, 19:14
by HajdaM
I assume that basically all media players are written in C or at least the video playback part is, so they are not limited by Android runtime heap.

As for scrollbar I tried that, but was not successful - still decided to release the app to have at least some functionality available for users. I'll try to look into it again next time as well as memory allocation issues...

Well, this is my first Android app and side variant of my side project and I have got like hundreds of tasks in my task list and I'm not particularly productive programmer so don't expect much. I guess that's the thing to expect when you are dealing with free software or open source ;-)

Hex editor for Android

Posted: 04 Dec 2024, 20:43
by Duke
I'm not blaming you at all, just reporting things trying to help you :)
Your app is very good, that's by far the best hex editor for Android I've found yet :thumbup:

Hex editor for Android

Posted: 24 Dec 2024, 11:01
by Duke
Duke wrote: 04 Dec 2024, 14:32 trying to open a 265 MB file always fails, it resets to an empty board.
With bined-android-0.2.4-SNAPSHOT.apk I was able to open this 265 MB file, well done :thumbup:

Hex editor for Android

Posted: 19 Feb 2025, 12:27
by K4sum1
It's nice to see this here. I am quite late due to being too busy to be active here.

If you want to, you could post this project here below.
https://board.eclipse.cx/viewforum.php?f=49

Hex editor for Android

Posted: 06 Apr 2025, 16:58
by HajdaM
Duke wrote: 24 Dec 2024, 11:01 With bined-android-0.2.4-SNAPSHOT.apk I was able to open this 265 MB file, well done :thumbup:
Released 0.2.4 - maybe it will be able to edit (at least beginning of) even bigger files...

As to posting into project sections, this isn't Windows application, so it probably doesn't check community guidelines. But there is also variant of BinEd for Java 8 which I assume could run on Windows XP. I could maybe make version for Java 6 with retrolambda - it would then be possible to run it on Windows 3.11 :D

Hex editor for Android

Posted: 06 Apr 2025, 22:39
by Duke
Good news! Thanks :thumbup: