View Single Post
Old 09-28-2024, 10:08 AM   #22
jlark
Enthusiast
jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.jlark shines like a glazed doughnut.
 
Posts: 36
Karma: 8888
Join Date: Mar 2016
Device: Onyx Boox Max
@Renate, thanks for the reply.

Quote:
Originally Posted by Renate View Post
Do not use a Motorola loader. That _g52.bin file is restricted. Even if you got it working it would not be able to access all of flash. (Yes, I suggested it previously, but I can learn stuff in a year.)
It would be nice if something would happen though.. anything other than an exception.

Quote:
Originally Posted by Renate View Post
Nope

Quote:
Originally Posted by Renate View Post
The thing is, you're not bound by the hash so the possibilities is larger. In such cases I run an automated trial and can try 1000 loaders in 20 minutes. But I don't have one of these NoteAir3C.
So, I did a brute force on everything qualcomm:

Code:
$ shopt -s globstar
$ for l in Loaders/qualcomm/**/*.{bin,elf,mbn}; do
> echo "== Loading $l"
> ./edl/edl printgpt --loader $l
> echo; echo
> sleep 1
> echo "== Loading $l / UFS"
> ./edl/edl printgpt --loader $l --memory ufs
> echo; echo;
> sleep 1
> done
Aaand... nothing. It consistently detects the device and breaks early in python code:

Code:
main - Device detected :)
main - Mode detected: sahara
Traceback (most recent call last):
  File "/home/john/Work/android-tools/./edl/edl", line 293, in run
    version = conninfo.get("data").version
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'req' has no attribute 'version'
I inspected that `conninfo.get("data")` but I didn't get very far...

I could do a script to run unattended on /everything/. But I somehow feel I won't get differing results.

@Renate such brute force works for you without any need to reset the connection between attempts with different loaders?
jlark is offline   Reply With Quote