-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md: add hardening paragraph #109
base: main
Are you sure you want to change the base?
Conversation
Are you seeing any issues because the sdcard is writable? We should not be writing anything apart from the bt config anyway. If we're not writing anything, sdcard should be safe anyway, no? Is some other process trying to write to sdcard? |
Not exactly. I had a problem with the Pi Zero 2 W stopped booting. I was plugging it to the car's USB multiple times and it was not booting at all. Finally I just inserted the SD card to my main linux machine and mounted the filesystem, dmesg told "recovery complete" and It was working back again in the Pi and AndroidAuto was working fine again. |
I think I also have my sdcard corrupted, I will try this with a new card.... In the mean time... how about this? |
Also, this could be even automated via ansible or something similar... maybe a bash script with ssh... or with Termux, from the phone itself (so that it could be mounted/remounted at will from the phone...) |
I also have faced this issue on both raspberry pi 4 and zero 2 w that it does not work after some switching between android devices I can make fs read only but I dont want to lose Android switching functionality |
this looks like a good idea in general:
this project is fantastic...i hope i will have time in the future to create some companion app to do:
|
We already log on RAM, but even then looks like there was continuous activity. Couldn't really figure out who and what it was trying to write. See #159, which makes root readonly and creates a new partition for required persistent data. Have a look if it makes sense? My hunch is that it should greatly reduce chances of SD card failure. |
No description provided.