Quote:
Originally Posted by jlark
This doesn't scare me, and I bet I could come up with something using a microcontroller...
|
I'll bet that you could. If you have a 9 pin serial port you could use that too. By enabling and disabling "break" you have one bit control. You could also programmatically control the other two control signals for three bits total. You need a level shifter/relay driver, but that's only a transistor. You could do the same with a USB UART.
I bought an old TinkerKit DMX controller with 4 relays for $5 and rewrote the software to be a USB controlled relay set.
I also have a little homebrew CV/CC power supply that is USB controlled. I can use that to generate the 5V for USB Vbus.
Oh, I forgot to mention. You have to jumper the EDL test points so that it will come up in EDL mode all the time. Finding the EDL test points is a big theme. In olden days Onyx made it obvious. Now they are tricky. Compare the test points of the Poke3 (reed.jpg) vs. the Poke5 (reed3.jpg). Both of these have a reed magnetic switch on them so that I can always get to EDL without opening the cases (again).
You could also just use the power button. You could mechanically press it. You could electrically press it. It's easy enough to find with a DVM. Moreover, they always have an accessible test point for powering up the board by itself.
Worst case, 10 second press of power button, 30 second normal boot up to system, "adb reboot edl" to get to edl mode, loader attempt, repeat.
Quote:
Originally Posted by jlark
Try only ufs?
|
Loaders have some combination of support for eMMC, UFS, NAND, NOR. But you don't have to specify that until after you get the loader loaded. Loaders also support some subset of processors AND some subset of power management ICs. So without the limitation of PK hash, the field is wide open.
Quote:
Originally Posted by jlark
Why say you that, what hurdles are you thinking of?
|
For most folks, simply installing Magisk is the easy way out. If you're going to be difficult (I am) you can patch the kernel, resize internal partitioning of super, unshare system & vendor, rewrite sepolicy...