bishopdynamics / superbird-tool

Cross-Platform Spotify Car Thing (superbird) hacking toolkit
133 stars 8 forks source link

--boot_adb_kernel Causing update to fail #4

Closed ivybowman closed 1 year ago

ivybowman commented 1 year ago

I just discovered something that's an issue, booting the ADB kernel from your tool changes the cmd line very slightly so (from a fresh image) it errors on trying to pull the active boot slot. Pictured below is the output of /proc/cmdline with your tool(top) and bulkcmd (bottom) image

bishopdynamics commented 1 year ago

@ivybowman I think you just figured out the problem for both issues! I was accidentally encoding the env data in utf-8, but the device wants ascii. It only appeared to work before because the lower 7 bits of utf-8 are the same as ascii, but that weird line termination in your screenshot gave it away!