After the unfortunate recent events regarding kernel development, I would like to help get development back on track for this great device. I'm not a kernel dev, so I can't make use of this myself, but I thought it would be useful to anyone else looking to release their own custom kernel.
After a few hours of searching through the kernel source, I found the config file which controls write protection of the system partition.
The flag is contained in \arch\arm\configs\apq8064_defconfig at line 2933, as seen in the screenshot below.
I haven't had time to test it, but either changing it to "n" or removing the line completely (most of the code relating to it is built with #ifdef statements, so it would render the relevant code inoperable) should allow writing to /system while booted. As I haven't had time to test it, please be careful when using it (usual disclaimer: i'm not responsible if your phone explodes, kills your grandma, creates a portal to the underworld, etc.).
Thanks to all who participated in the effort to S-OFF the HTC G2/Desire Z (the first phone to use this write protection). Their great documentation made it possible to find this.
After a few hours of searching through the kernel source, I found the config file which controls write protection of the system partition.
The flag is contained in \arch\arm\configs\apq8064_defconfig at line 2933, as seen in the screenshot below.
Code:
CONFIG_MMC_MUST_PREVENT_WP_VIOLATION=y
Thanks to all who participated in the effort to S-OFF the HTC G2/Desire Z (the first phone to use this write protection). Their great documentation made it possible to find this.