Ok So I rooted my phone manually a while back but noticed that after a reboot I would get the shell $ prompt in ADB... So I would have to Re-exploit the /data/local.prop file and set the line ro.sys.atvc_allow_all_adb=0 to =1 then reboot and then ADB would have # root access again. Long story short I got tired of using echo command to rewrite the /data/local.prop file so pulled it and edited with wordpad then pushed it back down to the phone overwriting the original. After I powered the phone off and back on it just keeps looping at the Droid Animation.
I think that I may have overwrote the file permissions for /data/local.prop file by pushing it with ADB shell as root # . Any ideas on how to access this file to fix the permissions?
Here is a log of what I did:
C:\Users\Jason\android-sdk-windows\platform-tools>adb shell
root@cdma_targa:/# cat /data/local.prop
cat /data/local.prop
ro.sys.atvc_allow_netmon_usb=0
ro.sys.atvc_allow_netmon_ih=0
ro.sys.atvc_allow_res_core=0
ro.sys.atvc_allow_res_panic=0
ro.sys.atvc_allow_all_adb=0
ro.sys.atvc_allow_all_core=0
ro.sys.atvc_allow_efem=0
ro.sys.atvc_allow_bp_log=0
ro.sys.atvc_allow_ap_mot_log=0
ro.sys.atvc_allow_gki_log=0
root@cdma_targa:/#
C:\Users\Jason\android-sdk-windows\platform-tools>adb pull /data/local.prop
140 KB/s (288 bytes in 0.002s)
C:\Users\Jason\android-sdk-windows\platform-tools>"%ProgramFiles%\Windows NT\Accessories\wordpad.exe" local.prop
C:\Users\Jason\android-sdk-windows\platform-tools>adb push local.prop /data/local.prop
72 KB/s (298 bytes in 0.004s)
C:\Users\Jason\android-sdk-windows\platform-tools>adb shell
root@cdma_targa:/# cat /data/local.prop
cat /data/local.prop
ro.sys.atvc_allow_netmon_usb=0
ro.sys.atvc_allow_netmon_ih=0
ro.sys.atvc_allow_res_core=0
ro.sys.atvc_allow_res_panic=0
ro.sys.atvc_allow_all_adb=1
ro.sys.atvc_allow_all_core=0
ro.sys.atvc_allow_efem=0
ro.sys.atvc_allow_bp_log=0
ro.sys.atvc_allow_ap_mot_log=0
ro.sys.atvc_allow_gki_log=0
root@cdma_targa:/#exit
I think that I may have overwrote the file permissions for /data/local.prop file by pushing it with ADB shell as root # . Any ideas on how to access this file to fix the permissions?
Here is a log of what I did:
C:\Users\Jason\android-sdk-windows\platform-tools>adb shell
root@cdma_targa:/# cat /data/local.prop
cat /data/local.prop
ro.sys.atvc_allow_netmon_usb=0
ro.sys.atvc_allow_netmon_ih=0
ro.sys.atvc_allow_res_core=0
ro.sys.atvc_allow_res_panic=0
ro.sys.atvc_allow_all_adb=0
ro.sys.atvc_allow_all_core=0
ro.sys.atvc_allow_efem=0
ro.sys.atvc_allow_bp_log=0
ro.sys.atvc_allow_ap_mot_log=0
ro.sys.atvc_allow_gki_log=0
root@cdma_targa:/#
C:\Users\Jason\android-sdk-windows\platform-tools>adb pull /data/local.prop
140 KB/s (288 bytes in 0.002s)
C:\Users\Jason\android-sdk-windows\platform-tools>"%ProgramFiles%\Windows NT\Accessories\wordpad.exe" local.prop
C:\Users\Jason\android-sdk-windows\platform-tools>adb push local.prop /data/local.prop
72 KB/s (298 bytes in 0.004s)
C:\Users\Jason\android-sdk-windows\platform-tools>adb shell
root@cdma_targa:/# cat /data/local.prop
cat /data/local.prop
ro.sys.atvc_allow_netmon_usb=0
ro.sys.atvc_allow_netmon_ih=0
ro.sys.atvc_allow_res_core=0
ro.sys.atvc_allow_res_panic=0
ro.sys.atvc_allow_all_adb=1
ro.sys.atvc_allow_all_core=0
ro.sys.atvc_allow_efem=0
ro.sys.atvc_allow_bp_log=0
ro.sys.atvc_allow_ap_mot_log=0
ro.sys.atvc_allow_gki_log=0
root@cdma_targa:/#exit