Giter Club home page Giter Club logo

Comments (6)

TomKing062 avatar TomKing062 commented on July 21, 2024

sign process is same

after automatic upgrade, don't reboot
dd if=/dev/block/by-name/boot of=/sdcard/boot.img
sign
dd if=/sdcard/boot_signed.img of=/dev/block/by-name/boot
now reboot will be safe

from cve-2022-38694_unlock_bootloader.

ferlanero avatar ferlanero commented on July 21, 2024

sign process is same

after automatic upgrade, don't reboot dd if=/dev/block/by-name/boot of=/sdcard/boot.img sign dd if=/sdcard/boot_signed.img of=/dev/block/by-name/boot now reboot will be safe

Commands must be entered in a console like Termux?

from cve-2022-38694_unlock_bootloader.

TomKing062 avatar TomKing062 commented on July 21, 2024

yes, termux, adb shell …

from cve-2022-38694_unlock_bootloader.

ferlanero avatar ferlanero commented on July 21, 2024

sign process is same

after automatic upgrade, don't reboot dd if=/dev/block/by-name/boot of=/sdcard/boot.img sign dd if=/sdcard/boot_signed.img of=/dev/block/by-name/boot now reboot will be safe

Ok, I understand. But which is the process to sign boot.img? Maybe following your guide (https://github.com/TomKing062/CVE-2022-38694_unlock_bootloader/wiki/Magisk) after step 3?

I mean, with this command would be enough?

python2 avbtool add_hash_footer --image AIK/boot.img --partition_name boot --partition_size 36700160 --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --salt 5F55215FD2302D021F850B55912ED48D176784678692DC012E054B1ECD0BE025

At this point I don't know if I need to follow Step 2 or directly apply in Step 3

from cve-2022-38694_unlock_bootloader.

TomKing062 avatar TomKing062 commented on July 21, 2024

magisk patched boot is still 35M, so avbtool will give size error
goal of unpack and repack is to decrease image size

from cve-2022-38694_unlock_bootloader.

ferlanero avatar ferlanero commented on July 21, 2024

magisk patched boot is still 35M, so avbtool will give size error goal of unpack and repack is to decrease image size

Thanks. I´m trying to unpack & repack with AIK boot.img which I get from dd if=/dev/block/by-name/boot of=/sdcard/boot.img but when I do unpackimg.bat boot.img AIK gives me this error:

Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers

Supplied image: boot.img

Setting up work folders . . .

Unrecognized format.
Error!

I can´t continue with the process. Do you have any advice, please?

from cve-2022-38694_unlock_bootloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.