nevermind. I'm going to write up a longer version of this later, but from my history :P
365 python3 edl --loader=sm6225.bin
366 python3 edl
367 python3 edl --help
368 python3 edl getactiveslot
369 python3 edl printgpt
370 python3 edl printgpt | grep boot
371 python3 edl --help
372 python3 edl --memory=ufs r boot_a boota.bin
373 python3 edl --memory=ufs r boot_b bootb.bin
374 python3 edl --resetmode=reset reset
375 adb
376 adb devices
377 adb push boot_a.bin /sdcard
378 ls -al
379 adb push boota.bin /sdcard
380 adb push bootb.bin /sdcard
381 adb pull /sdcard/Download/boota-patched.img .
382 adb pull /sdcard/Download/bootb-patched.img .
383 adb reboot edl
384 python3 edl --loader=sm6225.bin
385 python3 edl printgpt | grep boot
386 python3 edl --memory=ufs w boot_a boota-patched.img
387 python3 edl --memory=ufs w boot_b bootb-patched.img
388 python3 edl --resetmode=reset reset
|