• 0 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle



  • This needs some simple hardware trigger, that can be queried by bootloader, but specific wnough so it won’t trigger in your pocket. If buttons are unavailable, I can propose several idead:

    • Cover the proximity sensor 10 times per second. Requires good motor skills.
    • Shine separated red, green, and blue lasers into three of the phone cameras. You’ll need a box with three different-colored LEDs to cover cameras module.
    • There is a low-speed data channel in wireless chargers. Just add the button to the charger instead of the phone.
    • Put your phone at exactly 2.5G of acceleration. Accelerometer is easy to use even from the bootloader, however you will need to put your phone in a centrifuge and reboot it while it’s rotating.
    • An option ‘Reboot into recovery’ in system settings, duh. Won’t help if your ROM fails to boot.







  • So if I’m developing a garage door opener using ESP32 RISC-V module, I’m not a RISC-V developer? The dev tools and the cross-compiler only come in x86_64 variant, they simply won’t work on RISC-V laptop. But at least they provide a Linux installer.

    The only use case I can think of is to build Debian packages on a target architecture without cross-compilation, because many packages do not support cross-compilation, but it’s more an issue of poor build scripts.




  • Busybox was quickly replaced by BSD-licensed Toybox everywhere for that exact reason.

    Copyleft licenses (like the Gnu General Public License) mandate that all derivative works remain free.

    This is false. It’s perfectly legal to take GPL-licensed work, modify it, and sell it. As long as the work itself does not reach the general public, you don’t need to release it’s source code to the public (e.g. your work for the military, you take money for your work, and provide source code to them, but not release it publicly).



  • The first one is a fancy CPU warmer. The second one will play loud noise through your headphones, and setsid will make sure you can’t stop it with Ctrl-C.

    There was a thread about console commands seen in movies or TV, when the actors need to do some ‘hacking’ on camera. And the most common one was just installing updates to your Linux distribution of choice.