[G2 Q&A, Help & Troubleshooting] thequietman1979:
Message error permission denied

First thank you so much Kickoff for this tuto, my problem is that I have all the time error message permission denied when I type the command, files are copied in bin system permission set, but I rooted my lg g2 with Chinese tool coz iroot10 doesn't work for me also I allozwed Shell in superuser

could you help, I really appreciate

---------------------------------------------------------

Microsoft Windows [Version 6.3.9600]

(c) 2013 Microsoft Corporation. All rights reserved.

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

List of devices attached

07459cead6cc4ddf device

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

/system/bin/sh: /system/etc/mkshrc[9]: getprop: can't execute: Permission denied

/system/bin/sh: /system/etc/mkshrc[10]: id: can't execute: Permission denied
[MENTION=5711379]ANDROID[/MENTION]:/ $ su

su

sh: /system/etc/mkshrc[9]: getprop: can't execute: Permission denied

sh: /system/etc/mkshrc[10]: id: can't execute: Permission denied
[MENTION=5711379]ANDROID[/MENTION]:/ # su

su

sh: /system/etc/mkshrc[9]: getprop: can't execute: Permission denied

sh: /system/etc/mkshrc[10]: id: can't execute: Permission denied
[MENTION=5711379]ANDROID[/MENTION]:/ # adb devices

adb devices

List of devices attached

[MENTION=5711379]ANDROID[/MENTION]:/ # cd /system

cd /system
[MENTION=5711379]ANDROID[/MENTION]:/system # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Model: MMC 032G96 (sd/mmc)

Disk /dev/block/mmcblk0: 31.3GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 16.8MB 83.9MB 67.1MB fat16 modem

2 83.9MB 84.9MB 1049kB sbl1

3 84.9MB 85.5MB 524kB dbi

4 101MB 101MB 524kB DDR

5 117MB 118MB 1049kB aboot

6 118MB 120MB 1049kB rpm

7 134MB 151MB 16.8MB boot

8 151MB 152MB 1049kB tz

9 152MB 152MB 1024B pad

10 168MB 171MB 3146kB modemst1

11 171MB 174MB 3146kB modemst2

12 174MB 174MB 1024B pad1

13 185MB 201MB 16.8MB misc

14 201MB 235MB 33.6MB ext4 persist

15 235MB 252MB 16.8MB recovery

16 252MB 255MB 3146kB fsg

17 268MB 269MB 524kB fsc

18 269MB 269MB 524kB ssd

19 269MB 269MB 1024B pad2

20 269MB 270MB 524kB encrypt

21 285MB 294MB 8389kB ext4 drm

22 294MB 302MB 8389kB ext4 sns

23 302MB 336MB 33.6MB laf

24 336MB 369MB 33.6MB fota

25 369MB 403MB 33.6MB ext4 mpt

26 403MB 403MB 524kB dbibak

27 403MB 404MB 1049kB rpmbak

28 404MB 405MB 1049kB tzbak

29 405MB 405MB 8192B rct

30 419MB 3322MB 2902MB ext4 system

31 3322MB 3959MB 638MB ext4 cache

32 3959MB 4043MB 83.9MB tombstones

33 4043MB 4060MB 16.8MB spare

34 4060MB 4110MB 50.3MB ext4 cust

35 4110MB 15.7GB 11.6GB ext4 userdata

36 15.7GB 15.8GB 37.7MB grow

(parted) quit

quit

quit
[MENTION=5711379]ANDROID[/MENTION]:/system # quit

quit

sh: quit: not found

127 [MENTION=5711379]ANDROID[/MENTION]:/system # ./dd if=/system/sgpt32g.img of=/dev/block/mmcblk0 bs=512

seek=61071327 conv=notrunc

of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc <

sh: ./dd: not found

127 [MENTION=5711379]ANDROID[/MENTION]:/system # dd if=/system/sgpt32g.img of=/dev/block/mmcblk0 bs=512 se

ek=61071327 conv=notrunc

=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc <

sh: dd: can't execute: Permission denied

126 [MENTION=5711379]ANDROID[/MENTION]:/system # /dd if=/system/sgpt32g.img of=/dev/block/mmcblk0 bs=512 s

eek=61071327 conv=notrunc

f=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc <

sh: /dd: not found

127 [MENTION=5711379]ANDROID[/MENTION]:/system #

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

/system/bin/sh: /system/etc/mkshrc[9]: getprop: can't execute: Permission denied

/system/bin/sh: /system/etc/mkshrc[10]: id: can't execute: Permission denied
[MENTION=5711379]ANDROID[/MENTION]:/ $ su

su

sh: /system/etc/mkshrc[9]: getprop: can't execute: Permission denied

sh: /system/etc/mkshrc[10]: id: can't execute: Permission denied
[MENTION=5711379]ANDROID[/MENTION]:/ # cd /system

cd /system
[MENTION=5711379]ANDROID[/MENTION]:/system # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Model: MMC 032G96 (sd/mmc)

Disk /dev/block/mmcblk0: 31.3GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 16.8MB 83.9MB 67.1MB fat16 modem

2 83.9MB 84.9MB 1049kB sbl1

3 84.9MB 85.5MB 524kB dbi

4 101MB 101MB 524kB DDR

5 117MB 118MB 1049kB aboot

6 118MB 120MB 1049kB rpm

7 134MB 151MB 16.8MB boot

8 151MB 152MB 1049kB tz

9 152MB 152MB 1024B pad

10 168MB 171MB 3146kB modemst1

11 171MB 174MB 3146kB modemst2

12 174MB 174MB 1024B pad1

13 185MB 201MB 16.8MB misc

14 201MB 235MB 33.6MB ext4 persist

15 235MB 252MB 16.8MB recovery

16 252MB 255MB 3146kB fsg

17 268MB 269MB 524kB fsc

18 269MB 269MB 524kB ssd

19 269MB 269MB 1024B pad2

20 269MB 270MB 524kB encrypt

21 285MB 294MB 8389kB ext4 drm

22 294MB 302MB 8389kB ext4 sns

23 302MB 336MB 33.6MB laf

24 336MB 369MB 33.6MB fota

25 369MB 403MB 33.6MB ext4 mpt

26 403MB 403MB 524kB dbibak

27 403MB 404MB 1049kB rpmbak

28 404MB 405MB 1049kB tzbak

29 405MB 405MB 8192B rct

30 419MB 3322MB 2902MB ext4 system

31 3322MB 3959MB 638MB ext4 cache

32 3959MB 4043MB 83.9MB tombstones

33 4043MB 4060MB 16.8MB spare

34 4060MB 4110MB 50.3MB ext4 cust

35 4110MB 15.7GB 11.6GB ext4 userdata

36 15.7GB 15.8GB 37.7MB grow

(parted) quit

quit

quit
[MENTION=5711379]ANDROID[/MENTION]:/system # ./dd if=/system/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek

=61071327 conv=notrunc

=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc <

sh: ./dd: not found

127 [MENTION=5711379]ANDROID[/MENTION]:/system #

---------- Post added at 06:52 AM ---------- Previous post was at 06:34 AM ----------

When I copy files to system/bin and reboot phone, I lost network, its normal?

Thank you again