Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Stericson
Old
#1  
Stericson's Avatar
Retired Senior Mod / Elite Recognized Developer - Godfather of Android Theming - OP
Thanks Meter 345
Posts: 1,187
Join Date: Nov 2008
Default can't work in /sys directory...

Why is it that I cannot copy a file from my sdcard to /sys and its subfolders?
I have change permissions for every directory to 0777 and I remounted the file system using
mount -o remount,rw /dev/block/mtdblock3 /

What am I missing?
 
livesourav
Old
#2  
livesourav's Avatar
Senior Member
Thanks Meter 45
Posts: 184
Join Date: Nov 2011
Location: Bangalore

 
DONATE TO ME
Quote:
Originally Posted by Stericson View Post
Why is it that I cannot copy a file from my sdcard to /sys and its subfolders?
I have change permissions for every directory to 0777 and I remounted the file system using
mount -o remount,rw /dev/block/mtdblock3 /

What am I missing?
A brain :P

<?bug testing>

The Following 2 Users Say Thank You to livesourav For This Useful Post: [ Click to Expand ]
 
hrk
Old
#3  
hrk's Avatar
Recognized Developer
Thanks Meter 824
Posts: 912
Join Date: Sep 2008
Location: Rome

 
DONATE TO ME
/sys is a virtual directory built/populated by the kernel. You can only write to existing files in it (and only selected ones).

You probably want to work on /system but then your command is wrong on the mount point which must be /system, not /.

I am not sure the block device is the right one, I can't check my Dream right now.


Sent from my HTC Vision using xda app-developers app
HTC Desire Z (Vision) [VISION PVT SHIP S-OFF][HBOOT-0.84.2000][RADIO-26.13.04.19_M]
Recovery: 4EXT TOUCH 1.0.0.5 RC3
ROM: CyanogenMod 7.2

HTC Dream (G1) [DREAM PVT 32B SHIP S-ON][HBOOT-1.33.0013d][RADIO-2.22.28.25]
Recovery: RA-dream-v1.7.0-cyan
ROM: ADS_Magpie Gingerbread (2.3.7) based on ezGingerbread and Firerat's magpie

My apps: "No-frills" CPU Control, Ghostly SMS, DCIM Helper & DCIM compliant Camera, Tile Map Editor
 
hrk
Old
#4  
hrk's Avatar
Recognized Developer
Thanks Meter 824
Posts: 912
Join Date: Sep 2008
Location: Rome

 
DONATE TO ME
Wait a second... WTF resurrecting a 2008 thread?!?

I'll report it to a mod asking to delete it.

Sent from my HTC Vision using xda app-developers app
HTC Desire Z (Vision) [VISION PVT SHIP S-OFF][HBOOT-0.84.2000][RADIO-26.13.04.19_M]
Recovery: 4EXT TOUCH 1.0.0.5 RC3
ROM: CyanogenMod 7.2

HTC Dream (G1) [DREAM PVT 32B SHIP S-ON][HBOOT-1.33.0013d][RADIO-2.22.28.25]
Recovery: RA-dream-v1.7.0-cyan
ROM: ADS_Magpie Gingerbread (2.3.7) based on ezGingerbread and Firerat's magpie

My apps: "No-frills" CPU Control, Ghostly SMS, DCIM Helper & DCIM compliant Camera, Tile Map Editor
The Following 2 Users Say Thank You to hrk For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...