The day my Rabbit R1 stopped needing the Mac
- Log
- 39 of 39
- Date
- Reading
- 3 min read
Skills in this log
Short answer. My Rabbit R1 now restarts with no cable and no Mac. I press “Restart”, type my code, and Grabit, the interface I had built to replace rabbit’s, comes back to the front by itself. To get there, the R1 needed administrator rights through Magisk, so that it could redo on every boot what the Mac used to do for it.
The problem: a device on a leash
Since the R1 has been running LineageOS, Grabit sits on top of Android: it comes to the front, hides Android’s bars, turns off the banners, the key sounds and the little microphone and camera indicators. All of that was done by the Mac, over the cable.
The result: after every restart, the R1 came back as bare Android. It had to be plugged in again to get its outfit back. A pocket device that needs its computer to switch back on properly is not a pocket device. I had put it simply: I want to be able to restart it without plugging it in.
The fix: let the R1 do it itself
For Android to accept those settings at boot without the Mac, it needs rights the system does not give: administrator rights, what is called root. The usual tool for that is Magisk. It modifies Android’s boot image and lets small scripts run at every start.
Two surprises along the way.
- The expected partition was empty. On a recent Android 14, Magisk normally modifies a partition called
init_boot. On the R1 it exists, but it is empty. It was the olderbootimage that had to be modified. The original image was saved first, so I can go back. - The first cable-free restart launched nothing. Magisk had been installed without its app, so it was missing the tools that run the boot scripts. The R1 started, but as bare Android. Those tools were added by hand, and the second try worked.
Writing the modified image took 1.2 seconds. I ran it myself, with the R1 plugged in, in fastboot mode.
The proof, on video
Tonight, R1 unplugged, standing on the counter: one press on “Restart Grabit”, in the settings. The wait is sped up eight times. I cut the moment where I type my code.
The lock screen now shows a green wireframe rabbit head on black. Once the code is typed, Grabit takes over and the little swivelling camera comes out: that is the sign everything is in place.
What I can’t explain yet
From the press to the lock screen, about 1 min 45 s go by. That is long. Most of the wait sits on a security warning, “Orange State”. It appears on MediaTek devices whose boot lock has been opened, which was needed to install LineageOS. It announces a boot “in 5 seconds”. On mine, it stays on screen for about a minute.
The cause is not established yet. The picture may well stay on screen while the system loads behind it, without the R1 actually waiting. I’ll read the internal timestamps of the next boot to settle it.
What it changes
The R1 can now live in my pocket, switch off, run out of battery, and come back by itself, fully dressed. The Mac no longer keeps it on a leash. Everything else depends on this: a device you carry around has to be able to get back up on its own.