[Q] Copying files to /system - Android Q&A, Help & Troubleshooting

Such a question.
There is an application, you need to copy from my RAW folder / system on the phone and reboot it. I am a novice, and questions are:
How to get SU? How to mount (and whether it is necessary) folder / system? How to hold up?
Do not judge me, I'm from Ukraine and my English is bad...
---
There are programmers? Does not interest me how to do it by hand. I need a sample code in Java. ORDER THIS, UNDERSTAND??? I'm an advanced user Android, porting firmware, writing programs, and so on. I need an answer programmer!

Martin_Devil said:
Such a question.
There is an application, you need to copy from my RAW folder / system on the phone and reboot it. I am a novice, and questions are:
How to get SU? How to mount (and whether it is necessary) folder / system? How to hold up?
Do not judge me, I'm from Ukraine and my English is bad...
Click to expand...
Click to collapse
SU - superuser > this is the root management app !
when you root your phone,you will find this in your phone !
and if you deleted it you can get it from playstore !
next I didn't understand whether you needed to copy an app from /system/app or copy to /system/app
anyway I will answer both >
no need to mount /system for these functions .
root your phone,
then download any root browser,
then if you want to copy an app from /system/app then just copy it and paste it in your sd card etc (no reboot required).
OR if you want to copy an app to /system/app then copy the app from whereever you have stored it and paste it in /system/app and set permissions as rw-,r--,r-- and then reboot !

smz2014 said:
SU - superuser > this is the root management app !
when you root your phone,you will find this in your phone !
and if you deleted it you can get it from playstore !
next I didn't understand whether you needed to copy an app from /system/app or copy to /system/app
anyway I will answer both >
no need to mount /system for these functions .
root your phone,
then download any root browser,
then if you want to copy an app from /system/app then just copy it and paste it in your sd card etc (no reboot required).
OR if you want to copy an app to /system/app then copy the app from whereever you have stored it and paste it in /system/app and set permissions as rw-,r--,r-- and then reboot !
Click to expand...
Click to collapse
No. I am writing a program. How to do it by hand or through the Recovery I know. It means you need Java!

You must root your device if u want to mod your system... cause if u dont have superuser user access, impossible to mod your /system... default set in system is r/o if you want to modding you must set system to r/w
Sent from my PICOpadGCE using xda app-developers app

Martin_Devil said:
No. I am writing a program. How to do it by hand or through the Recovery I know. It means you need Java!
Click to expand...
Click to collapse
you mean your building an android app
http://forum.xda-developers.com/showthread.php?t=2092271

smz2014 said:
you mean your building an android app
http://forum.xda-developers.com/showthread.php?t=2092271
Click to expand...
Click to collapse
My God... I can write program, one of them in Google Play has 16500 installations!!!
I want to deal with the root, how to get the program, and how to use it. However, can't get no explanatory instructions or examples!

smz2014 said:
you mean your building an android app
http://forum.xda-developers.com/showthread.php?t=2092271
Click to expand...
Click to collapse
Firstly root your phone, backup your rom and u are free now to mod your /system
Sent from my PICOpadGCE

fresti said:
Firstly root your phone, backup your rom and u are free now to mod your /system
Sent from my PICOpadGCE
Click to expand...
Click to collapse
There are programmers? Does not interest me how to do it by hand. I need a sample code in Java. ORDER THIS, UNDERSTAND??? I'm an advanced user Android, porting firmware, writing programs, and so on. I need an answer programmer!

Related

[Q] Over-right framework-res.apk not working?

Hi,
I want to over-right the framework-res.apk file to mod the battery icon but in Root explorer it says the file is read-only and when I try Android Commander it says I need root to do this. I know I have root working as titanium backup works. So how comes I can't copy over this file?
You need to mount your system patition as r/w.
Before pasting the modified framework-res.apk, click on the "mount r/w" button at the top of the Root Explorer window. Then you'll be able to overwrite it.
Don't forget to click the button again (which is now "mount r/o") to remount the system partition as read only again.
AFK_Matrix said:
Hi,
I want to over-right the framework-res.apk file to mod the battery icon but in Root explorer it says the file is read-only and when I try Android Commander it says I need root to do this. I know I have root working as titanium backup works. So how comes I can't copy over this file?
Click to expand...
Click to collapse
Using root eksplorer to push framework.apk is a good way to get the boot loops, so remember to check that the new framewourk.apk it is the same version you are running.
stian230 said:
Using root eksplorer to push framework.apk is a good way to get the boot loops, so remember to check that the new framewourk.apk it is the same version you are running.
Click to expand...
Click to collapse
Right, it is actually very recommended to make this check even when using ADB or ODIN to push a new framework-res.apk version. I got myself into many bootloops skipping this test when I had my first Android phone

Write files on system directory.

Hi all.
I'm trying to copy some files to the system partition after enabling write on read-only partitions and remounting it and everything is success, but when I restart the phone, files get deleted and partition back to original. I tried ES file explore and Total Commander.
Galaxy S2, cMIUI 2.10 JB
Hmm.. seems like a hard question!
Elancore said:
Hi all.
I'm trying to copy some files to the system partition after enabling write on read-only partitions and remounting it and everything is success, but when I restart the phone, files get deleted and partition back to original. I tried ES file explore and Total Commander.
Galaxy S2, cMIUI 2.10 JB
Click to expand...
Click to collapse
Elancore said:
Hmm.. seems like a hard question!
Click to expand...
Click to collapse
Hey,
no not a hard question but a bit confusing
So the copy to system works without probs?
Do u have root-enabled on it?
U can try Solid explorer once, too, to be sure.
CHEERS
I enabled root explorer and I mounted the file system to be writable, yes I have a rooted phone.
I can copy to system root folders anything (media files), the files stay there until I reboot the phone then they disappear, they get deleted maybe? how to disable that?
Thanks
Elancore said:
I enabled root explorer and I mounted the file system to be writable, yes I have a rooted phone.
I can copy to system root folders anything (media files), the files stay there until I reboot the phone then they disappear, they get deleted maybe? how to disable that?
Thanks
Click to expand...
Click to collapse
That listen like u have to save changes?!
Pls try the Solid explorer (for me the best explorer ever)
Copy files and have a look for root-acces request (should be asked for Solid, if it's new)
The copy/replace the file.
CHEERS
Thanks Hannibal for reply, I got no luck on doing it, they still get removed after reboot. Is there a way to flash these files that I want to copy to system as an update.zip?
Elancore said:
Thanks Hannibal for reply, I got no luck on doing it, they still get removed after reboot. Is there a way to flash these files that I want to copy to system as an update.zip?
Click to expand...
Click to collapse
Sure there's a way, but I can't help u with it, sorry.
With new Titanium Backup u can create flashable .zips but for sure only from isntalled apps.
Maybe u have a look at google. I remind for a tool which u just say what u wanna flash an it creates the flashable .zip.
Much success....
CHEERS
Edit: Sorry but couldn't answer u yesterday.
XDA had a prob for a while

[Q] Rooted Nook Tablet with Cm7 and rom manager issue

When I try to install the premium version of Rom Manager i get "youre trying to replace a system app , do you want to continue ?" .
I click yes and then get "App not installed"
Any help or suggestions plz ?
Thanks
do you have root access? because that is necessary to change any system app in any case. Super User should pop up if you do have root. If it does not, maybe you accidentally denied it root privileges on first start.
Yes im sure its rooted and i checked Superuser logs on rom manager.
"created allowed allowed" and its in the allowed list.
Im guessing the installation is failing because its a system app thats in use or something ?
Since its a system app and installed via CM7 i cant even delete it.
It doesnt show in the installed apps list.
Any help is appreciated.
There is a directory under the /system folder I believe(bin?). Under that directory are a series of apk files and I bet there is still a file there for the rom manager. If you remove that with root explorer or something similar you should be good to go.
troy9829 said:
There is a directory under the /system folder I believe(bin?). Under that directory are a series of apk files and I bet there is still a file there for the rom manager. If you remove that with root explorer or something similar you should be good to go.
Click to expand...
Click to collapse
/system/app is the folder you're looking for.
liquidzoo said:
/system/app is the folder you're looking for.
Click to expand...
Click to collapse
To anyone having a similiar problem this is how I solved it.
-remount system/app dir to RW
-delete offending APK
-remount /data/data to RW
-delete offending dir (in rommanger's case it was com.koushikdutta.rommanger
-reboot
-reinstall.

Access /System ??

How do i access /system of my rom on my computer ??
I want to change whole /system folder from another rom and es file explorer doesn't work for it !
Maybe someone can help me ?
invince2 said:
How do i access /system of my rom on my computer ??
I want to change whole /system folder from another rom and es file explorer doesn't work for it !
Maybe someone can help me ?
Click to expand...
Click to collapse
Es works. You need to go to settings-tools-root explorer-mount R/W and mount system as writeable
donkeykong1 said:
Es works. You need to go to settings-tools-root explorer-mount R/W and mount system as writeable
Click to expand...
Click to collapse
Did that...i wanted to replace the whole /system....and the phone crashes between the copying process...it cannot be done by es.
Need another method to do itfrom my laptop .
invince2 said:
Did that...i wanted to replace the whole /system....and the phone crashes between the copying process...it cannot be done by es.
Need another method to do itfrom my laptop .
Click to expand...
Click to collapse
Crash could happen because you don't have enough memory. I did it for some system files on my phone and it always worked fine. But I always deleted the files I wanted to replace first
donkeykong1 said:
Crash could happen because you don't have enough memory. I did it for some system files on my phone and it always worked fine. But I always deleted the files I wanted to replace first
Click to expand...
Click to collapse
i really need a solution to access that on my laptop !!
Someone help !
http://m.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
I would imagine adb would be your best option
Sent from my PG86100 using xda app-developers app
Oh GOD seriously?
Man you cannot replace the WHOLE system in any way except from recovery or bootloader...........NO ADB NO ES NOTHING will work.
ADB is feature that relies in the system of android. And when replacing the WHOLE system, the files needed for adb to work cannot change as they are in use, or if they change your phone will crash.
You can in no way change necessary system files while android is booted up beacause they are in use. Your whole operating system is in /system. Only recovery or bootloader will do.
mnomaanw said:
Oh GOD seriously?
Man you cannot replace the WHOLE system in any way except from recovery or bootloader...........NO ADB NO ES NOTHING will work.
ADB is feature that relies in the system of android. And when replacing the WHOLE system, the files needed for adb to work cannot change as they are in use, or if they change your phone will crash.
You can in no way change necessary system files while android is booted up beacause they are in use. Your whole operating system is in /system. Only recovery or bootloader will do.
Click to expand...
Click to collapse
I thought you could use adb in fastboot?
Then push the files
Sent from my PG86100 using xda app-developers app
hossman said:
I thought you could use adb in fastboot?
Then push the files
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Im pretty sure you can't. ADB commands does not work in fastboot and vice-versa. ADB only works in Android environment AFAIK. Though you can use fastboot flash commands and not adb push....
Gotcha, thanks for clearing that up.:thumbup:
Sent from my HTCEVOV4G using xda app-developers app
What if i want to just replace some files ??
Is that possible ??
invince2 said:
What if i want to just replace some files ??
Is that possible ??
Click to expand...
Click to collapse
Yes, as long as they are not needed for the system to function properly. You can replace them with ES or Push them via ADB with root access.

Method to copy /system folder from android device

Hi all,
Do we have any method to copy /system folder from android device. adb pull stops in-between due to permission error on non rooted phone.
Thanks in advance.
Best regards,
Vincent
vkvictor1989 said:
Hi all,
Do we have any method to copy /system folder from android device. adb pull stops in-between due to permission error on non rooted phone.
Thanks in advance.
Best regards,
Vincent
Click to expand...
Click to collapse
get an app like Zarchiver or Mixplorer.
Go to system and simply copy the folder to somewhere in SD card.
ADB and other fancy staff not needed.
BatDroid said:
get an app like Zarchiver or Mixplorer.
Go to system and simply copy the folder to somewhere in SD card.
ADB and other fancy staff not needed.
Click to expand...
Click to collapse
Hi BatDroid,
Thank you for the suggestion. However, my phone is not-rooted. Do you think you apps will work?

Categories

Resources