Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load apps.mbn with python-loader #2

Open
nihilus opened this issue Sep 9, 2016 · 4 comments
Open

Cannot load apps.mbn with python-loader #2

nihilus opened this issue Sep 9, 2016 · 4 comments

Comments

@nihilus
Copy link

nihilus commented Sep 9, 2016

The python loader doesn't seem to do its work. Are there any caveats for it?

@Surge1223
Copy link
Owner

Can you link me to the file? Also check of its actually an mbn file or not.

@techbliss
Copy link

techbliss commented Sep 14, 2016

it works with CyanogenMod
But not with example Xiaomi Note 3 Bootloader

However when python mbn loader can find the correct magic(loader works), only ida-mbn-sbl-loader shows in processor list in ida pro, and if magic is not found i see the option to use regular ARM which can disassembly the loader. So maybe not a big issue.

@Surge1223
Copy link
Owner

Surge1223 commented Sep 19, 2016

So the problem I think is, newer mbn files are not really mbn, but they are ELF files. For now I wrote a simple loader that recognizes the file is ELF but doesn't dissassemble it correctly (yet) if the file is indeed recognized by the python loader (ida-mbn-sbl-loader.py) as an mbn file then I need to see the file so I can correct the parameters for detection/loading. If it's detected as ELF (it will say elf in the load list) than the is a known issue I'm working on.

The problem is newer devices use 64 bit ELF headers, I only have a ida with 32bit load capabilities so ill have to convert the cpp/c++ code to load 64 bit elf headers in python. If you guys want to help me do this we can open a thread on techbliss?

@techbliss
Copy link

I'm abroad now so can't write much. I think you comment it pretty much. On the spot, if we can help on this issue please lets us know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants