Compiling TWRP for the Rabbit r1

I can reboot now, but it just shows the logo or whatever, not any TWRP stuff.

[  116.990696] (4)[313:kworker/u16:3][sensorHub] scp_ipi_send fail
[  116.991012] (2)[251:kworker/2:1][sensorHub] scp_sensorHub_req_send fail!

Not sure that should make it fail to do anything though.

Ahh missed another step, with the fstab file. Not sure that’ll fix it though.

If you don’t know what you are doing, and aren’t insane, I don’t recommend attempting.

Even if I get it working, or at least showing the screen, I probably won’t share anything, or how to do it. Took a shit ton of searching to get this far.

This is the best how to, well might be missing some info. I didn’t use the scripts from OrangeFox. Worth using, if you didn’t already install everything. I’m doing it in Distrobox, but those scripts probably work in Distrobox too.

For the Rabbit r1, use bootimage, instead of recovery, so “mka bootimage”.

I can almost shutdown laptop and turn back on, for updates. Rebooting doesn’t work right, no idea why. Still beats using spyware.

To test battery life while sleeping, I’ll turn it off with the reset button and turn it on. In case it needs to be shutdown completely before booting for some reason.

[   14.846569] (2)[265:kworker/2:2]aw87xxx_pa 0-0058: Direct firmware load for aw87xxx_acf.bin failed with error -2

That file doesn’t exist, not on the device, or even in my folder with the code. Not in lib64 folder either.

It exists in vendor_a.img.

find . -name *aw*
./lib/gc05a2_mipi_raw_tuning.so
./lib/hi846_mipi_raw_tuning.so
./lib/libstagefright_soft_rawdec.so
./lib64/gc05a2_mipi_raw_IdxMgr.so
./lib64/gc05a2_mipi_raw_tuning.so
./lib64/hi846_mipi_raw_IdxMgr.so
./lib64/hi846_mipi_raw_tuning.so
./lib64/lib3a.awb.core.so
./lib64/lib3a.awb.so
./bin/awk
./etc/ipsec/ipsec.d/cacerts/thawte.der
./firmware/aw87xxx_acf.bin

Hmm, why is it not mounting it? It can’t?

One more build then bed time. But I wonder, if I need the lib64 from the vendor too.

If it doesn’t work, I’ll inspect the boot.img from Ubuntu Touch, and see if they included the firmware and lib64 in it.