NFS wroks now.
but when i modified the init.rc, like below, it stuck at android logo, and in shell i input any commond, even 'ls', it's getting freezed, Ctrl+C no response too, what should i check then, thanks.
on boot
.....
...
# Mount NFS
setprop ro.nfs.mode yes
class_start coreclass_start main
class_start late_start#on nonencrypted
# class_start main
# class_start late_start
i enabled mount_all in init.rc again, and comment the fstab.freescale about mmc mount lines. still stuck at android logo, but class main and late_start works.
attached files is my bootinfo and init.rc, please help to check, thanks.
bootinfo with detailed debug info.
modified like this, it works:
diff --git a/server/RouteController.cpp b/server/RouteController.cpp
index 8873bb1..cccb799 100644
--- a/server/RouteController.cpp
+++ b/server/RouteController.cpp
@@ -27,6 +27,8 @@
#include <map>
+#include <cutils/properties.h>
+
#include "Fwmark.h"
#include "UidRanges.h"
#include "DummyNetwork.h"
@@ -944,8 +946,12 @@ WARN_UNUSED_RESULT int clearTetheringRules(const char* inputInterface) {
} // namespace
int RouteController::Init(unsigned localNetId) {
- if (int ret = flushRules()) {
- return ret;
+ char nfsmode[PROPERTY_VALUE_MAX] = {'\0'};
+ if ( property_get("ro.nfs.mode", nfsmode, "no")
+ && (strcmp(nfsmode, "no") == 0)) {
+ if (int ret = flushRules()) {
+ return ret;
+ }
}
if (int ret = addLegacyRouteRules()) {
return ret;
Good job, It also works for me! :smileyhappy:
thanks