mercredi 12 mars 2014

Help on pushing files to device (ADB) topic




Hello guys, experiencing another problem now :silly:

So I was just making a rom, which I have already installed. It's based on Cataclysm (personal use only - Till I ask for perm).
I have installed the rom, then I decided to theme some system files. And so I did. I theme the "Settings.apk" for now, and decided to push it to my device instead of installing the whole rom over again. Now mind you when I made roms and modified system apps, pushing these files to the device was straight forward. However on this Hammerhead, I've been running into some issues.

When pushing the file to my device like this

Code:


adb push Settings.apk system/priv-app

.
I get an error that says -

Code:


failed to copy "Settings.apk" to "system/priv-app/Settings.apk" : Read only file system.

So I then decided to try the following -


Code:


[x] adb root - Permission Denied
[x] adb remount - Permission Denied


So then I decided to use some shell commands to set the system as rw, I did the following.


Code:


[x] adb shell
[x] $ su - gave it permission
[x] $ mount -o rw,remount /system - It mounts it.


I then restarted cmd with root permission.

Code:


adb root"

- it restarted however, this time it stated.

Code:


Device not found.

I probably did the wrong thing above, so how exactly can I push files to /system?





1 commentaire:

  1. I noticed that it's hard to find your site in google, i found it on 20th spot, you should build some quality backlinks to rank it in google and increase traffic. I had the same problem with my site, your should search in google for - k2 seo services - it helped me a lot

    RépondreSupprimer