[Miscellaneous Android Development] dharary:
As long as when you type "adb devices" you get a device listed you can continue with the steps. Go slow and make sure the commands work. I hope my instructions are clear and without mistakes. I have two R2's and successfully rooted them both successfully. Good luck![/QUOTE]

Does this mean I did it right?

Microsoft Windows [Version 10.0.17134.885]

(c) 2018 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices

List of devices attached

320693840043 recovery

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

~ # [6nwhoami

root

~ # [6nmount

rootfs on / type rootfs (rw,seclabel,size=906256k,nr_inodes=226564)

tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=935792k,nr_inodes=233948,mode=755)

devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)

proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)

sysfs on /sys type sysfs (rw,seclabel,relatime)

selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)

none on /acct type cgroup (rw,relatime,cpuacct)

tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=935792k,nr_inodes=233948)

pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)

adb on /dev/usb-ffs/adb type functionfs (rw,relatime)

/dev/block/mmcblk0p47 on /cache type ext4 (rw,seclabel,relatime,data=ordered)

/dev/block/dm-0 on /data type f2fs (rw,lazytime,seclabel,relatime,background_gc=on,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,resuid=5)

/dev/block/dm-0 on /sdcard type f2fs (rw,lazytime,seclabel,relatime,background_gc=on,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,resuid=5)

/dev/block/mmcblk1p1 on /external_sd type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072,blksize=4096)

~ # [6nmount /vendor

~ # [6nmount

rootfs on / type rootfs (rw,seclabel,size=906256k,nr_inodes=226564)

tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=935792k,nr_inodes=233948,mode=755)

devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)

proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)

sysfs on /sys type sysfs (rw,seclabel,relatime)

selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)

none on /acct type cgroup (rw,relatime,cpuacct)

tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=935792k,nr_inodes=233948)

pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)

adb on /dev/usb-ffs/adb type functionfs (rw,relatime)

/dev/block/mmcblk0p47 on /cache type ext4 (rw,seclabel,relatime,data=ordered)

/dev/block/dm-0 on /data type f2fs (rw,lazytime,seclabel,relatime,background_gc=on,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,resuid=5)

/dev/block/dm-0 on /sdcard type f2fs (rw,lazytime,seclabel,relatime,background_gc=on,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,resuid=5)

/dev/block/mmcblk1p1 on /external_sd type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072,blksize=4096)

/dev/block/mmcblk0p52 on /vendor type ext4 (rw,seclabel,relatime,data=ordered)

~ # [6ncd /external_sd/

/external_sd # [6ncp /vendor/etc/fstab.qcom /external_sd/fstab.qcom.bak

/external_sd # [6ncp /external_sd/fstab.qcom /vendor/etc/fstab.qcom

/external_sd # [6nchmod 644 /vendor/etc/fstab.qcom

/external_sd # [6nls -l /vendor/etc

-rw-r--r-- 1 root root 4078 Dec 31 2008 IPACM_cfg.xml

-rw-r--r-- 1 root root 36924 Dec 31 2008 NOTICE.xml.gz

-rw-r--r-- 1 root root 2090 Dec 31 2008 a2dp_audio_policy_configuration.xml

drwxr-xr-x 4 root shell 4096 Dec 31 2008 acdbdata

-rw-r--r-- 1 root root 1056 Dec 31 2008 apdr.conf

drwxr-xr-x 2 root shell 4096 Dec 31 2008 audio

-rw-r--r-- 1 root root 7673 Dec 31 2008 audio_effects.conf

-rw-r--r-- 1 root root 2334 Dec 31 2008 audio_output_policy.conf

-rw-r--r-- 1 root root 4983 Dec 31 2008 audio_platform_info.xml

-rw-r--r-- 1 root root 5277 Dec 31 2008 audio_platform_info_extcodec.xml

-rw-r--r-- 1 root root 8069 Dec 31 2008 audio_policy.conf

-rw-r--r-- 1 root root 12629 Dec 31 2008 audio_policy_configuration.xml

-rw-r--r-- 1 root root 10484 Dec 31 2008 audio_policy_volumes.xml

-rw-r--r-- 1 root root 2463 Dec 31 2008 audio_tuning_mixer.txt

-rw-r--r-- 1 root root 30438 Dec 31 2008 cacert_location.pem

drwxr-xr-x 4 root shell 4096 Dec 31 2008 camera

drwxr-xr-x 3 root shell 4096 Dec 31 2008 cne

drwxr-xr-x 2 root shell 4096 Dec 31 2008 data

-rw-r--r-- 1 root root 2617 Dec 31 2008 default_volume_tables.xml

drwxr-xr-x 2 root shell 4096 Dec 31 2008 drc

-rw-r--r-- 1 root root 2931 Dec 31 2008 flp.conf

-r--r--r-- 1 root root 0 Dec 31 2008 fs_config_dirs

-r--r--r-- 1 root root 920 Dec 31 2008 fs_config_files

-rw-r--r-- 1 root root 2281 Aug 11 22:52 fstab.qcom

-rw-r--r-- 1 root root 11313 Dec 31 2008 ftm_test_config

-rw-r--r-- 1 root root 26985 Dec 31 2008 ftm_test_config_wcd9335

-rw-r--r-- 1 root root 6129 Dec 31 2008 gps.conf

-rw-r--r-- 1 root root 130 Dec 31 2008 gpsInterval.xml

drwxr-xr-x 2 root shell 4096 Dec 31 2008 hbtp

drwxr-xr-x 3 root shell 4096 Dec 31 2008 init

-rw-r--r-- 1 root root 7649 Dec 31 2008 izat.conf

drwxr-xr-x 2 root shell 4096 Dec 31 2008 lm

-rw-r--r-- 1 root root 727 Dec 31 2008 lowi.conf

-rw-r--r-- 1 root root 11849 Dec 31 2008 media_codecs.xml

-rw-r--r-- 1 root root 18451 Dec 31 2008 media_codecs_8956.xml

-rw-r--r-- 1 root root 1639 Dec 31 2008 media_codecs_dolby.xml

-rw-r--r-- 1 root root 4835 Dec 31 2008 media_codecs_google_audio.xml

-rw-r--r-- 1 root root 973 Dec 31 2008 media_codecs_google_telephony.xml

-rw-r--r-- 1 root root 7132 Dec 31 2008 media_codecs_google_video.xml

-rw-r--r-- 1 root root 5693 Dec 31 2008 media_codecs_google_video_le.xml

-rw-r--r-- 1 root root 7294 Dec 31 2008 media_codecs_performance.xml

-rw-r--r-- 1 root root 1035 Dec 31 2008 media_codecs_vendor_audio.xml

-rw-r--r-- 1 root root 16331 Dec 31 2008 media_profiles.xml

-rw-r--r-- 1 root root 23338 Dec 31 2008 media_profiles_8956.xml

-rw-r--r-- 1 root root 16331 Dec 31 2008 media_profiles_V1_0.xml

-rw-r--r-- 1 root root 22508 Dec 31 2008 media_profiles_vendor.xml

-rw-r--r-- 1 root root 39398 Dec 31 2008 mixer_paths.xml

-rw-r--r-- 1 root root 45264 Dec 31 2008 mixer_paths_mtp.xml

-rw-r--r-- 1 root root 40527 Dec 31 2008 mixer_paths_qrd_sku1.xml

-rw-r--r-- 1 root root 40330 Dec 31 2008 mixer_paths_qrd_sku2.xml

-rw-r--r-- 1 root root 28879 Dec 31 2008 mixer_paths_qrd_skuh.xml

-rw-r--r-- 1 root root 28680 Dec 31 2008 mixer_paths_qrd_skuhf.xml

-rw-r--r-- 1 root root 28879 Dec 31 2008 mixer_paths_qrd_skui.xml

-rw-r--r-- 1 root root 32195 Dec 31 2008 mixer_paths_qrd_skum.xml

-rw-r--r-- 1 root root 80882 Dec 31 2008 mixer_paths_qrd_skun.xml

-rw-r--r-- 1 root root 43964 Dec 31 2008 mixer_paths_sdm439_pm8953.xml

-rw-r--r-- 1 root root 28542 Dec 31 2008 mixer_paths_skuk.xml

-rw-r--r-- 1 root root 48351 Dec 31 2008 mixer_paths_wcd9306.xml

-rw-r--r-- 1 root root 88272 Dec 31 2008 mixer_paths_wcd9326.xml

-rw-r--r-- 1 root root 78138 Dec 31 2008 mixer_paths_wcd9330.xml

-rw-r--r-- 1 root root 95776 Dec 31 2008 mixer_paths_wcd9335.xml

-rw-r--r-- 1 root root 459 Dec 31 2008 mkshrc

-rw-r--r-- 1 root root 39 Dec 31 2008 msm_irqbalance.conf

drwxr-xr-x 2 root shell 4096 Dec 31 2008 perf

drwxr-xr-x 2 root shell 4096 Dec 31 2008 permissions

-rw-r--r-- 1 root root 178 Dec 31 2008 public.libraries.txt

drwxr-xr-x 3 root shell 4096 Dec 31 2008 qti-logkit

drwxr-xr-x 2 root shell 4096 Dec 31 2008 qvr

-rw-r--r-- 1 root root 2105 Dec 31 2008 r_submix_audio_policy_configuration.xml

-rw-r--r-- 1 root root 2410 Dec 31 2008 sap.conf

-rw-r--r-- 1 root root 12240 Dec 31 2008 sec_config

drwxr-xr-x 2 root shell 4096 Dec 31 2008 seccomp_policy

drwxr-xr-x 2 root shell 4096 Dec 31 2008 selinux

drwxr-xr-x 2 root shell 4096 Dec 31 2008 sensors

drwxr-xr-x 3 root shell 4096 Dec 31 2008 silead

-rw-r--r-- 1 root root 5267 Dec 31 2008 sound_trigger_mixer_paths.xml

-rw-r--r-- 1 root root 6300 Dec 31 2008 sound_trigger_mixer_paths_wcd9306.xml

-rw-r--r-- 1 root root 4890 Dec 31 2008 sound_trigger_mixer_paths_wcd9330.xml

-rw-r--r-- 1 root root 6095 Dec 31 2008 sound_trigger_mixer_paths_wcd9335.xml

-rw-r--r-- 1 root root 4187 Dec 31 2008 sound_trigger_platform_info.xml

drwxr-xr-x 2 root shell 4096 Dec 31 2008 surround_sound_3mic

-rw-r--r-- 1 root root 3037 Dec 31 2008 thermal-engine.conf

-rw-r--r-- 1 root root 2237 Dec 31 2008 usb_audio_policy_configuration.xml

drwxr-xr-x 2 root shell 4096 Dec 31 2008 wifi

-rw-r--r-- 1 root root 1265 Dec 31 2008 xtra_root_cert.pem

-rw-r--r-- 1 root root 3296 Dec 31 2008 xtwifi.conf

/external_sd # [6nunmount /vendor

/sbin/sh: unmount: not found

/external_sd # [6n