How to delete file in folder system/etc/permisions with adb - Android Q&A, Help & Troubleshooting

Hi everybody
I have one question about adb
I want delete one file in system and push another file confusederform.xml) how to replace ????
My device full rooted and recovery not work (no commond line)and cant anything install app because dont show anything (memory empty)but my storage is half_full

Related

[Q] Installing Stock apps

I m using OptimusXromv1.1 posted in the forum..However i m not able to install stock apps like Fmradio,Native Android Browser on my P500..tried Every thing COpying files (with root of course) to /system/app and changing permissions to rw,r,r similar to other files however on reboot there is no FMRadio in my app drawer HElp..Tried both Root Explorer and Adb ..Partition was always mounted rw..HElp ?? I dont want to give up on this ROm it Rocks!!
http://forum.xda-developers.com/showpost.php?p=10746505&postcount=31
Try that.
Didn't i just say that i tried all that already..ISnt anybody else having this problem with this rom
Go to recovery, mount system and then push them via adb. They should work.
Sent from my LG-P500 using XDA App
u cud plz post that adb push command with all its parameters(if needed - something) .one more thing i have both the apk and the odex from original STock Firmware do i need to push these both or just apk is fine??
Isn't the ROM deodexed ? You should get the apps deodexed before pushing them.
You could give a try and push them both, but I think you'll be ending with a FC.
When you are in recovery mode:
1. Go to Mounts and then click on mount system.
2. With ADB while in recovery mode type:
adb push file.apk /system/app/file.apk (replace file.apk with your app, ex: browser.apk)
Didnt work! All it does it to copy the file there's a difference in date of creation of file mayb thats the reason
Sent from my LG-P500 using XDA App
I did so with devoid. I took the apps from delta package and I've pushed them through recovery.

Rooted, flashed, but no write/delete access in System FIles

Hey Guys,
i have unlocked, rooted and flashed my Phone with Hassons ToolKit.
I have a problem getting full write access to my system folder, and all other folders / files which are in same path where system folder is.
I have just rights in SdCard Folder..
THis is the path where i dont have any permission to change something: is this normal?
If yes, so how can i push an apk to system folder then, if i need a new keyboard for instance...?!
acct
cache
config
d
data
dev
devlog
etc
mnt
proc
rca
rfs
root
sbin
sdcard (just in this one i have rights)
storage
sys
system
vendor
...
some files...
Ropb said:
Hey Guys,
i have unlocked, rooted and flashed my Phone with Hassons ToolKit.
vendor
...
some files...
Click to expand...
Click to collapse
Are you using adb or some Android based file manager to copy the file?
If it is adb = use adb remount, this normally solves the problem. If you are using some file manager - make sure system is mounted in RW mode..
Ropb said:
Hey Guys,
i have unlocked, rooted and flashed my Phone with Hassons ToolKit.
I have a problem getting full write access to my system folder, and all other folders / files which are in same path where system folder is.
I have just rights in SdCard Folder..
THis is the path where i dont have any permission to change something: is this normal?
If yes, so how can i push an apk to system folder then, if i need a new keyboard for instance...?!
acct
cache
config
d
data
dev
devlog
etc
mnt
proc
rca
rfs
root
sbin
sdcard (just in this one i have rights)
storage
sys
system
vendor
...
some files...
Click to expand...
Click to collapse
i guess you want to acces those folders with a file explorer? afaik it is normal that you don't have acces to other folders than sdcard, you have to use a file explorer with root capability to acces/write the other folders.
I'd recommend you to use ES File Explorer, very good app for me.
To grant root acces for it:
open the app -> press menu -> Tools -> Root Explorer (now the app should ask for root acces) -> Mount R/W -> set the paths where you want write acces to RW
now you should be able to write to the other folders.
If you want to use adb push (USB Debugging mus be enabled):
- copy the desire file or apk to your adb/fastboot folder
- connect your phone to your computer, open command line, navigate to adb/fastboot folder on your pc if necessary
- type "adb devices" (to see if your phone is recognized)
- type "adb push <name_of_your_file.file_extension> /path_of_your_destination_folder/<name_of_your_file.file_extension>"
Example: adb push example.apk /folder1/folder2/example.apk

Set folder permissions through ADB

Hi,
I new on XDA, I heard that this is the biggest android developers community.
first of all, sorry if my english is bad.
I have a problem with my device.
I was stupid and i've set my /system folder permissions (with ES File Explorer) to un-read and un-write able.
I dont know how to explain it, but the result of my doing is that the device had reboot himself a second after, and wont boot up anymore...
The device cant read the system folder because i've changed the permissions!
how can I restore the permissions through ADB on my PC?
or through recovery mode with the "apply update from ADB", by open it and somehow send an permission-command through ADB...
NOTE: I have a chinese phone "AKAI DRAGON" AND I DONT HAVE THE UPDATE.ZIP! I cant reinstall the android.
any help?

Deleted /system/vendor folder using ES File Manager Explorer

Hello,
I have Lenovo S720 running on Android 4.0.4 that I recently factory reset because It has only few little internal storage (~1,4 GB), and cannot support many updating apps.
After I do that, whats left in the internal storage is about 500 MB of storage, the rest being taken up by the system (I suppose).
I installed Framaroot to root the device, then System App Uninstaller (ROOT) and ES File Explorer.
First, I try to uninstall any bloatware with the System App Uninstaller -> I didn't get much free internal storage.
Then, I use ES File Explorer to seek, which folder took up the most space.
-> One of the is /system/vendor folder.
-> So, I copied that folder to /mnt/sdcard/backupsys/ (or /sdcard/backupsys/ [little bit forget]), Thinking it would come in handy later.
-> Then, I (foolishly) proceed to delete the folder using the root privileges .
-> It took a moment until all of my app start crashing (including the ES File Explorer!).
-> I turned-off the device, and now it still stuck in the (what I think as) "bootloop" mode.
Fortunately I still can communicate to the phone using adb tools, which I have a little knowledge of. But, the pm and am command cannot function well.
Now, I'm only thinking about moving back the vendor folder from /mnt/sdcard to the /system folder.
But I encounter some problem:
1) I can't (& don't know how to) write to the /system
2) I can't (& don't know how to) read from the /sdcard
- command 'ls' inside this dir returned nothing.
Glad I have the "su" tools from the Framaroot. I searched on the Internet and it seems the problem can be solved with mount tools, but I don't know how.
ls -la tools on root (/) return:
(other dir)
root /system ,,,,,,,,,,other info,,,,,,,
system /sdcard ,,,,,,,,,,other info,,,,,,,
(other dir)
So maybe because I can't gain system account, I can't access the folder and read it...
I try to hard-reset in the recovery mode, but I can't select the options! (I can move the selector with volume up/down) but I cant click it with the power button!
The phone seems to be worse every second.
My main question is: can I recover my phone (copying the vendor folder back) using command tools on my development computer? Or is there any other ways?
I'm willing to install any custom ROM best suited to my phone.
Thanks in advance.
Hello,
Welcome to XDA.
If you have a copy of what you deleted or can get it from somewhere and you want to adb push your missing files and folders back to your device then you need to have the files you want to push stored on your PC and push them from there to the device. For instructions on how to use adb read through the thread linked below and go from there.
http://forum.xda-developers.com/showthread.php?t=2141817
If you have further questions or need further help with using adb then you can post in the Q&A forum linked below:
http://forum.xda-developers.com/android/help

NEED HELP!! adb and shell commands experts!

so, don't ask what i was doing but,
using the aroma file manager in recovery i copied the data of some apps from /data/data/package.name.app~
to a directory in my external sdcard ..
(i use cm13 so my sdcard is formatted as internal)
and the thing i copied them for-- never worked ... so now they are use less for me (8 folders)
and now when i try to delete them with a root file manager they don't delete and also shows size 0 bytes in properties
i tried using terminal emultor - since they are non empty directories, used "rm -r" but it says "no backup ~~~ permission denied"
in adb shell it says the same thing "No backups ~~~ Permission denied"
when i tried to delete with aroma file manager in recovery... it got stuck and then i had to power off the phone
also... it doesn't show any file or folder inside the folders i copied but in recovery's aroma fm it shows all the data inside them...
i don't know how to delete them.... please help me!!
for the people who'd say "leave them be" -- i can't, they have a massive size of 250 mb! :crying: :crying: :crying: :crying: :crying: :crying:

Categories

Resources