Skip to content

Informations and Updates #37

@lopestom

Description

@lopestom

Hi @R0rt1z2 ,
I hope you are well.
I have given many suggestions to users about your project. For some it worked, I believe it was because they had devices with previous Android where the bootloader referenced something like in your example lk.img file in the https://github.com/R0rt1z2/liblk/tree/master/tests/files

0A:DC04  4F 72 61 6E 67 65 20 53 74 61 74 65 0A 0A 00 00  Orange State.... 
0A:DC14  59 6F 75 72 20 64 65 76 69 63 65 20 68 61 73 20  Your device has  
0A:DC24  62 65 65 6E 20 75 6E 6C 6F 63 6B 65 64 20 61 6E  been unlocked an 
0A:DC34  64 20 63 61 6E 27 74 20 62 65 20 74 72 75 73 74  d can't be trust 
0A:DC44  65 64 0A 00 59 6F 75 72 20 64 65 76 69 63 65 20  ed..Your device  
0A:DC54  77 69 6C 6C 20 62 6F 6F 74 20 69 6E 20 35 20 73  will boot in 5 s 
0A:DC64  65 63 6F 6E 64                                   econd

So, trying to understand more about how the project makes the change in the lk.img file, I came across the reference patches.json and also that the user can create their own config.json, which was a great idea.
Even trying to know and convert the references, I didn't understand/couldn't figure out what 30b583b002ab or 40f2a6534E means, since nothing made sense about the text Orange State.

With the update of Androids and their bootloaders, the text above was changed to:

08:F987  4F 72 61 6E 67 65 20 53 74 61 74 65 0A 0A 00 4F  Orange State...O 
08:F997  53 20 4E 6F 74 20 42 65 69 6E 67 20 56 65 72 69  S Not Being Veri 
08:F9A7  66 69 65 64 20 4F 72 20 43 75 73 74 6F 6D 20 4F  fied Or Custom O 
08:F9B7  53 2E 20 44 69 73 6D 69 73 73 20 41 66 74 65 72  S. Dismiss After 
08:F9C7  20 35 20 53 65 63 6F 6E 64 73                     5 Seconds

It would be interesting to know about the references. However, if it is not possible, I leave a lk_New.img in the lk_New.zip file for you to manipulate and update the information, since many of the new issues (I believe) are because of this.

Hugs

Good luck and success in your projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions