Eclipse Community

Hex editor for Android

Post Reply   Page 1 of 1  [ 17 posts ]
First unread post
Author Message
Duke
Post subject: Hex editor for Android
+ Posted: 15 May 2024, 10:27
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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


Top
Profile Quote
Jevil7452
Post subject: Hex editor for Android
+ Posted: 23 May 2024, 21:00
Offline
 
Posts: 37
Joined: 14 Jan 2024, 15:21
OS: Windows 7 x64 Ent
 
It might not be what you're looking for, but maybe running a command line hex editor via Termux will work?

_________________



Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 25 May 2024, 11:40
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
Jevil7452 wrote: *  23 May 2024, 21:00
command line hex editor
I'm not sure to understand what you mean :eh:


Top
Profile Quote
HajdaM
Post subject: Hex editor for Android
+ Posted: 28 Nov 2024, 22:50
Offline
 
Posts: 5
Joined: 28 Nov 2024, 11:24
 
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


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 29 Nov 2024, 23:05
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
Thanks, I'll check it out :thumbup:


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 30 Nov 2024, 20:38
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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 ;)


Top
Profile Quote
HajdaM
Post subject: Hex editor for Android
+ Posted: 02 Dec 2024, 12:33
Offline
 
Posts: 5
Joined: 28 Nov 2024, 11:24
 
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/


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 02 Dec 2024, 21:13
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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:


Top
Profile Quote
HajdaM
Post subject: Hex editor for Android
+ Posted: 03 Dec 2024, 15:23
Offline
 
Posts: 5
Joined: 28 Nov 2024, 11:24
 
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) :-|


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 04 Dec 2024, 11:25
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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.


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 04 Dec 2024, 14:32
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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.


Top
Profile Quote
HajdaM
Post subject: Hex editor for Android
+ Posted: 04 Dec 2024, 19:14
Offline
 
Posts: 5
Joined: 28 Nov 2024, 11:24
 
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 ;-)


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 04 Dec 2024, 20:43
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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:


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 24 Dec 2024, 11:01
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
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:


Top
Profile Quote
K4sum1
Post subject: Hex editor for Android
+ Posted: 19 Feb 2025, 12:27
Lazy Owner
User avatar
Offline
 
Posts: 1185
Joined: 11 Jan 2021, 07:40
Location: ur dads house
OS: Windows 8.1 x64
 
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

_________________

I don't know what I'm doing hit album by Brad Sucks


Top
Profile Quote
HajdaM
Post subject: Hex editor for Android
+ Posted: 06 Apr 2025, 16:58
Offline
 
Posts: 5
Joined: 28 Nov 2024, 11:24
 
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


Top
Profile Quote
Duke
Post subject: Hex editor for Android
+ Posted: 06 Apr 2025, 22:39
Full Moderator
User avatar
Offline
 
Posts: 312
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
 
Good news! Thanks :thumbup:


Top
Profile Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 1  [ 17 posts ]
Return to “Mobile Devices”
Jump to:

Who is online

Users browsing this forum: No registered users and 1 guest