Rooted, flashed, but no write/delete access in System FIles - HTC One X+

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

Related

[Q] how to access phone memory via pc?

Dear all,
Good day.
I would like to ask,can I access phone memory (HTC aria A6380)
on pc?
It was because I accidentally move a script file "sh"
from my /system/bin folder to my sd card.
Now I would like to cut back the file and paste it back to the original folder which in system file...
But,without the "sh" file in /system/bin/ folder,the root explore .apk can't work
So,I would need some expert advise...
You could just re-flash you rom.
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
drumist said:
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
Click to expand...
Click to collapse
how to add a command line?
peter tham said:
how to add a command line?
Click to expand...
Click to collapse
Open command prompt if you are on windows
Sent from my Liberty using XDA App
can this be done to remove system app?
Mysteryagr said:
can this be done to remove system app?
Click to expand...
Click to collapse
Yes. BUT... make sure you aren't removing a vital app, aka settings.apk.
Sent from my HTC Intruder

[Q] Unable to change file permission on rooted Samsung Galaxy S III

Hi,
I tried changing file permission on one of the folders where I saved my photos to read-only using "Root Browser Lite".
The following error message came up: "Changing permission was not successful. Please note that some file systems do not allow permission changes".
I tried using ES file explorer but it also failed.
Could someone please tell me how I could change the file or folder permission. I wanted to prevent the photos from being accidentally deleted by my children when I let them browse their photos..
My phone I9300 was rooted using CF Auto Root.
Thanks
Get root explorer, it's much better.
Simply long press on a folder and the permissions option is there.
Sent from my GT-I9300 using xda premium
Don't forget to set to rw at the top of root explorer before attempting to change permissions
If you're talking about the internal memory, you can do chattr +i /data/media/[name of folder] to set the immutable bit. EDIT: You need BusyBox installed for the chattr command
This works because /storage/sdcard0 (JB's usual mountpoint for the internal eMMC) is a fake FAT32 file system Google created for compatibility; the internal eMMC can really be found at /data/media, which is of the ext4 filesystem.
For the external memory, you can try SGS3 Easy UMS and set the read only property on the folder using your computer. (I can't find mattrib for Android.) There is no guarantee that Android/Linux programs will obey the RO attribute, however.
The reason why Root Browser Lite & ES File Explorer didn't work is because they work on UNIX file permissions, while a file system formatted using FAT obviously doesn't understand them - it would expect DOS/FAT attributes. That said, though, have you already backed up the data you consider to be important?
100% work
Try this.....
http://forum.xda-developers.com/showthread.php?t=2038243
this will help you 100%..
qwerty12 said:
If you're talking about the internal memory, you can do chattr +i /data/media/[name of folder] to set the immutable bit. EDIT: You need BusyBox installed for the chattr command
This works because /storage/sdcard0 (JB's usual mountpoint for the internal eMMC) is a fake FAT32 file system Google created for compatibility; the internal eMMC can really be found at /data/media, which is of the ext4 filesystem.
For the external memory, you can try SGS3 Easy UMS and set the read only property on the folder using your computer. (I can't find mattrib for Android.) There is no guarantee that Android/Linux programs will obey the RO attribute, however.
The reason why Root Browser Lite & ES File Explorer didn't work is because they work on UNIX file permissions, while a file system formatted using FAT obviously doesn't understand them - it would expect DOS/FAT attributes. That said, though, have you already backed up the data you consider to be important?
Click to expand...
Click to collapse
=============
Thank you all for your advice. The file system explanation betw FAT and ext4 fs makes sense. I have BusyBox installed.
Via Terminal Emulator, when I did "chattr -i /data/media/DCIM/Camera", I got a "permission denied".
Is there something that prevented me from this?
I'm running ICS.
Thanks
Did you type su before the command..
Just asking..
sent from here, there, somewhere!!
zoot1 said:
Did you type su before the command..
Just asking..
sent from here, there, somewhere!!
Click to expand...
Click to collapse
Thanks Zoot1.
I did that.
Image Gallary is still showing /mnt/sdcard/DCIM/Camera as "writeable".
What is the difference between two folders /data/media/DCIM/Camera and /mnt/sdcard/DCIM/Camera?
Thanks,
Note that I used +i in my example invocation of chattr. - removes the attribute; + sets it, which is what you want
Sent from my GT-I9300 using Tapatalk 2
Thanks qwerty12, after 'chattr +i folder name' , I return to root browser lite to change permission on mnt/sdcard/DCIM/Camera, I still get permission denied. What did I do wrong?
Sent from my GT-I9300 using xda app-developers app
Mount System RW
The problem is that your system is currently in RO (Read-Only) mode.
Even if you are root, can't mess with system files if the setup is like that.
ES File Explorer works because it has an option (that DOES work) to mount the system in RW (Read-write) mode.
On my ES File Explorer Version 3.0.0 it goes like this:
Android menĂº button--->Tools---->Root Explorer--->Mount R/W.
Set: /system (or all of the options) to: RW----->OK.
Now, explore your files using the ES File Explorer interface on your phone and you should be able to erase every file and apk you want even if they are system files.
Vanyna said:
The problem is that your system is currently in RO (Read-Only) mode.
Even if you are root, can't mess with system files if the setup is like that.
ES File Explorer works because it has an option (that DOES work) to mount the system in RW (Read-write) mode.
On my ES File Explorer Version 3.0.0 it goes like this:
Android menĂº button--->Tools---->Root Explorer--->Mount R/W.
Set: /system (or all of the options) to: RW----->OK.
Now, explore your files using the ES File Explorer interface on your phone and you should be able to erase every file and apk you want even if they are system files.
Click to expand...
Click to collapse
finally its worked for me thx very much dude:laugh::good:

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

Mounting /system as rw

Is there any way to mount /system as writable? I want to change the name of a file, but I cannot since the partition is set to read only. I am rooted and I have even tried adb shell commands via pc. Help :crying:
Download root explorer apk, make sure its a legit and then u can set system as rw and do anything u want.
FX explorer is a great root file explorer. Once installed,enable the root mode and when browsing the system folder, enable r/w access from the top right menu
lingarajug said:
Download root explorer apk, make sure its a legit and then u can set system as rw and do anything u want.
Click to expand...
Click to collapse
I have Root Explorer but the problem is there are some .xml files that can't be edited through Root Explorer. I have to use solid Explorer to edit the xml file. Do u know what could be the problem?
If u long press the file options will come up (if enabled in settings) and then there will be option for editing file u need if it is editable.

Mount /system RW / RO Android 7.1.1 Lenovo Tab 4 10"

I have a problem with making a /system folder into read/write permission. I made root (TWRP 3.2.3, SuperSU-v2.82 - in TWRP is unchecked read-only) and the problem is tablet freezes EVERY time a make change from RO to RW.
I used Root explorer, ES file explorer, Root file manager, Super manager... Every time when I change it and press "ok" tablet freezes. Also I try via terminal "mount -o rw,remount /system", nothing, a download apk "Mount system RO RW ROOT" and apk said it did it, by when I check in file explorer it is still read only. (also I try via fastboot and comannds pull and push and it said that file is read only)
I really need to make changes in /system/build.prop and I'm out of options...
Anyone?
krzysztofica said:
I have a problem with making a /system folder into read/write permission. I made root (TWRP 3.2.3, SuperSU-v2.82 - in TWRP is unchecked read-only) and the problem is tablet freezes EVERY time a make change from RO to RW.
I used Root explorer, ES file explorer, Root file manager, Super manager... Every time when I change it and press "ok" tablet freezes. Also I try via terminal "mount -o rw,remount /system", nothing, a download apk "Mount system RO RW ROOT" and apk said it did it, by when I check in file explorer it is still read only. (also I try via fastboot and comannds pull and push and it said that file is read only)
I really need to make changes in /system/build.prop and I'm out of options...
Anyone?
Click to expand...
Click to collapse
Hey have you found a fix for this???
I have the same problem.
device x00id os 7.1.1 (downgrade from aosp 9.0 > 8.1 > 7.1.1 because everytime i upgrade i had battery issue)
twrp 3.1.1.0.zip
supersu 2.79.zip (i've tried to use magisk.zip before)
1. flash twrp
2. flash su.zip
3. reboot system
4. open root explorer
5. copy folder /su to sdcard or internal storage. (my device doesnt freeze when copy file from root to sdcard, but my screen freeze when try to switch 'ro' to 'rw')
6. reboot to twrp again
7. mount system
8. advance > file manager
9. copy all item in /sdcard/su to /system/xbin and /system/bin (i only copy file su to /system/bin)
10. tap every files that you copy and click 'chmod 755'
11. reboot system
now you can try to switch your 'ro' / 'rw' button in your root explorer. i think screen freeze while access root happens because root method (twrp and magisk) doesnt instal root as system ('respecting encryption' or whatever)
but i hate to see my device forced to keep updating apps like fb, messenger, ig that i dont use it. a lot bloatware that forced to instal in customer device that drain battery.
i hope this help you or whoever that has same problems. good luck.

Categories

Resources