Check the commit already mensioned above. https://bitbucket.org/T-Firefly/firefly ... 0462265ae6
This commit a based on the fact that misc partition is writable by all users: diff --git a/system/core/init/devices.c b/system/core/init/devices.c
index 537627e..88287ef 100644
--- a/system/core/init/devices.c
+++ b/system/core/init/devices.c
@@ -188,7 +188,7 @@ static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid)
/* Default if nothing found. */
*uid = 0;
*gid = 0;
- return 0600;
+ return 0666;
}
static void make_device(const char *path,
It's somewhat ugly. Please follow the factory reset code in Setting. |