____________________________________________________________________________________________________________________________________________________________Thank you, I had no clue how, but my phone's (MUCH Snail, aka MUCH W1, aka MUCH 78P01) manufacturer (China's Snail Mobile) had removed from Android's Developer Options menu the option to Enable/Disable USB Debugging.
I was looking all over the web for days, this was the only way I could effectively turn on USB debugging in my phone. Thanks!
There's only one difference, instead of performing the above steps from an ADB console window (for obvious reasons) I did it with Build.prop Editor, but first I needed to change permissions to 666 on the default.prop file (otherwise it wouldn't save my changes).
Curiously, every time I do a full reboot the default.prop file somehow is overwritten with the manufacturer's original settings - that doesn't happen when I soft reboot my device though. Any clues as to what could be reversing my changes at boot?
Errr... you do not even seem to have ADB installed... try this:http://xdaforums.com/showthread.php?p=48915118Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Windows\system32>adb shell
'adb' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>su
'su' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>mount -o remount,rw /system
'mount' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>cd /
C:\>echo "persist.service.adb.enable=1" >> default.prop
C:\>echo "persist.service.debuggable=1" >> default.prop
C:\>echo "persist.sys.usb.config=mtp,adb" >> default.prop
C:\>echo "persist.service.adb.enable=1" >> /system/build.prop
The system cannot find the path specified.
C:\>echo "persist.service.debuggable=1" >> /system/build.prop
The system cannot find the path specified.
C:\>echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop
The system cannot find the path specified.
C:\>
Getting this on S$..any1 here to help me!
I have loaded TWRP on my phone and I can successfully enter the ADB shell by running "adb shell" to it when in recovery mode. However when I run "su" I get the following
"/sbin/sh: su: not found"
I suppose I need to root my phone?
persist.service.adb.enable=1 persist.service.debuggable=1persist.sys.usb.config=mtp,adbHow would i do this with my skyrocket? same problem, broken screen, adb disabled. Some instructions would be sweet, cause im not really clear with what you did here.
I'm going to stay general and assume that a skyrochet is a phone, you have a linux or windows pc with ADB installed (and the drivers to connect to your phone) and have TWRP or CWM Recovery installed already...How would i do this with my skyrocket? same problem, broken screen, adb disabled. Some instructions would be sweet, cause im not really clear with what you did here.
adb shellsumount -o remount,rw /systemcd /echo "persist.service.adb.enable=1" >> default.prop echo "persist.service.debuggable=1" >> default.propecho "persist.sys.usb.config=mtp,adb" >> default.propecho "persist.service.adb.enable=1" >> /system/build.prop echo "persist.service.debuggable=1" >> /system/build.propecho "persist.sys.usb.config=mtp,adb" >> /system/build.prop# cd /system/system # ls -la__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!drwxr-xr-x 3 root root 0 Jan 1 1970 .drwxr-xr-x 22 root root 0 Jan 1 17:07 ..drwxr-xr-x 2 root root 0 Jan 1 1970 binWhen you are in adb shell what do you get with just the mount command?
# mountrootfs on / type rootfs (rw)tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)proc on /proc type proc (rw,relatime)sysfs on /sys type sysfs (rw,seclabel,relatime)selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)tmpfs on /storage type tmpfs (rw,seclabel,relatime,mode=050,gid=1028)tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,mode=700)tmpfs on /mnt/fuse type tmpfs (rw,seclabel,relatime,mode=775,gid=1000)/dev/block/mmcblk0p12 on /cache type ext4 (rw,seclabel,relatime,user_xattr,barrier=1,journal_async_commit,data=ordered)Try this:Code:sumount -o rw,remount /dev/block/by-name/system /system
# mount -o rw,remount /dev/block/by-name/system /systemmount: mounting /dev/block/by-name/system on /system failed: Invalid argument# mount -o rw,remount /dev/block/by-name/system /system2mount: mounting /dev/block/by-name/system on /system2 failed: No such file or directory/dev/block # mount -o rw,remount /dev/block/mmcblk0p13 /system2mount: mounting /dev/block/mmcblk0p13 on /system2 failed: No such file or directory/dev/block # mount -o rw,remount /dev/block/mmcblk0p13 /systemmount: mounting /dev/block/mmcblk0p13 on /system failed: Invalid argumentcd /mkdir /system2mount -o rw /dev/block/mmcblk0p13 /system2echo "persist.service.adb.enable=1" >> default.prop echo "persist.service.debuggable=1" >> default.propecho "persist.sys.usb.config=mtp,adb" >> default.propecho "persist.service.adb.enable=1" >> /system2/build.prop echo "persist.service.debuggable=1" >> /system2/build.propecho "persist.sys.usb.config=mtp,adb" >> /system2/build.propFirst off, this may seem a noob question, but I am definitely not.
I have an Iconia A200 that now has a broken lcd screen. No display, no touch. I am able to get into the tablet from TWRP via adb, but not from Android (Jelly Bean). It seems I never enabled usb debugging when I installed the custom rooted rom.... I can access the file system and modify anything... Which files need to be modified to enable debugging in Android? Here is what I tried:
Added to default.prop and /system/build.propCode:persist.service.adb.enable=1 persist.service.debuggable=1persist.sys.usb.config=mtp,adb
Edit: Must have had typos... It now works.
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Windows\system32>adb shell
'adb' is not recognized as an internal or external command,
operable program or batch file.
. . .
Getting this on S$..any1 here to help me!
"'adb' is not recognized as an internal or external command,
operable program or batch file."