Computers and the internet gave you freedom. Trusted Computing would take your freedom.
Learn why: https://vimeo.com/5168045

  • 1 Post
  • 183 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle












  • logs are mostly at 2 places.

    kernel logs are read with the dmesg command. use the --follow parameter if you want it to keep printing new messages.
    dmesg does not save logs to disk.

    broader system logs are read with journalctl. use -f for it to keep printing. the journal records kernel messages, but it only shows them when you specifically request it. you can find the param for that in man journalctl.
    the journalctl (journald actually) saves logs to disk. but if you don’t/can’t shut down the system properly, the last few messages will not be there.

    some system programs log to files in /var/log/, but that’s not relevant for now.


    if you switch to a VT as the other user described, you should see a terminal prompt on aback background. log in and run dmesg --follow > some_file, some_file should not be something important that already exists in the current directory. switch to another VT, log in, and run sleep. try to wake up. see if you could have waken up, and if not check the logs you piped to the file, maybe post it here for others to see.

    also, what did you do after setting the deep sleep kernel param? did you rebuild the grub config, and reboot before trying to sleep with it? that change only gets applied if you do those in that order.
    there’s an easier way to test different sleep modes temporarily, let me know if it would be useful








  • Is it possible to set a password for sudo on Android? I’ve never seen anyone talk about it.

    on android you don’t use sudo, or if it is possible, it is not the usual way. usually there is an app that controls access, and when something wants to start a new program with the su command (switch user), the app pops up a prompt about whether you want to allow it. this prompt can be implemented terribly insecurely or not (or rather the “backend” of it really).

    the most common root solution nowadays is Magisk. it only modifies the bootloader. it is open source. if you look up how it works, its like a sophisticated malware, but handing control to you

    Sucks that I can’t control sensors with root. Sensors are my biggest fear on all phones.

    you can’t for the modem. but for other apps, you can, if that’s worth anything. to me it does, because some sensors are not gated by a permission (gyroscope, compass, magnetometer, proximity sensor, light sensor)

    what android version do you have? on newer ones there’s a developer setting to allow to have a “sensors off” quick settings tile

    Well, shit.

    if you don’t need the modem, you may be able to safely wipe the partition holding its firmware. but look it up if it is safe for your phone! it should be, but who knows. also, make a backup! not 1, but 3!! it holds identifiers like the IMEI, and if you lose that… you can’t really just think up a new one, or the carrier may ban you and another poor soul