send file to system/usr

sigster

Active Member
Licensed User
Longtime User
This is the folder and the file I need to copy to this folder
well when I am finished to modify the file into my language
I am finish to root my Tab


/system/usr/keylayout
/system/usr/xt9/keylayout

asusec.kcm
asusec.kl

this is better url about this how to change the keyboard

Change the dock keyboard layout


Regards
Sigster
 
Upvote 0

sigster

Active Member
Licensed User
Longtime User
Hi

I am almost done with the file I need to send to system folder

Can I copy the file to the folder with b4a without rooted device or is it no poseble

Like
1. mount -o remount,rw /system
2 copy the file !

Regards
Sigster
 
Upvote 0

sigster

Active Member
Licensed User
Longtime User
Hi

I use Shell command copy sample from this forum and it work well
I can copy the file

but if I try this

File.Copy(File.DirAssets,"asource.txt",File.DirInternal,"asource.txt")
File.Copy(File.DirInternal,"asource.txt","/system/usr/keylayout/","asource.txt")

I get this error
java.io.FileNotFoundException: /system/usr/keylayout/asource.tx Open failed: EACCES ( Permission denied)

Regards
Sigster
 
Last edited:
Upvote 0

sigster

Active Member
Licensed User
Longtime User
Hi


I use sample from m0narX to run shell command
http://www.b4x.com/forum/basic4andr...nning-shell-commands-superuser.html#post39820

I send = mount -o remount,rw /system with the shell sample

then I use with no error and it ok
I can send the file to the folder /system/usr/keylayout/

File.Copy(File.DirAssets,"asource.txt",File.DirInternal,"asource.txt")
File.Copy(File.DirInternal,"asource.txt","/system/usr/keylayout/","asource.txt")

Regards
Sigster
 
Upvote 0
Top