[Q] where is /data/preload folder on my phone? - One (M7) Q&A, Help & Troubleshooting

Hey fellas,
I need to copy a file into folder /data/preload/ .
I cannot find this folder using the root explorer. Where is it?
I know it exists (or should exist) since system gives me an error message while applying OTA updates saying that a file is missing in that folder.
I have got the file now and want to put it back.
my phone:
HTC One M7,
rooted
stock recovery
s-on
bootloader unlocked/tampered

geek654 said:
Hey fellas,
I need to copy a file into folder /data/preload/ .
I cannot find this folder using the root explorer. Where is it?
I know it exists (or should exist) since system gives me an error message while applying OTA updates saying that a file is missing in that folder.
I have got the file now and want to put it back.
my phone:
HTC One M7,
rooted
stock recovery
s-on
bootloader unlocked/tampered
Click to expand...
Click to collapse
Does anyone know?
Thanks

Could it be in the system partition?
How can I access system partition?
In TWRP recovery I see an option named "mount" when I select it only the "data" in ticked.
Should I tick "system" as well, and it will mount the system partition? If so, then i can probably use the file browser of TWRP, find the data/preload folder and copy the missing file back in place. right?

download root browser, there is a free edition from play store as soon as you open it you will see the data folder on the list, its not in system, that's a separate folder.
you will need to copy the preload folder and its contents to that folder and change the permissions of the folder and contents.
you need to be rooted to use it.

Seanie280672 said:
download root browser, there is a free edition from play store as soon as you open it you will see the data folder on the list, its not in system, that's a separate folder.
you will need to copy the preload folder and its contents to that folder and change the permissions of the folder and contents.
you need to be rooted to use it.
Click to expand...
Click to collapse
Thanks Seanie.
So by default that folder does not exist? That's why I couldn't find it then!
I created the folder via root browser. What should be the permission for folder/apk file ?
now the preload folder permissions are rwsrwsrwt and apk file permissions are rw-rw----
does it make sense or should I change permission of filder and file both to 777 or 666 ?

geek654 said:
Thanks Seanie.
So by default that folder does not exist? That's why I couldn't find it then!
I created the folder via root browser. What should be the permission for folder/apk file ?
now the preload folder permissions are rwsrwsrwt and apk file permissions are rw-rw----
does it make sense or should I change permission of filder and file both to 777 or 666 ?
Click to expand...
Click to collapse
It does initially exist, but if you've been flashing custom rom's and recoveries, then when you clear data it gets deleted, set permissions to rw-r-r- for the apk's etc and rwxr-xr-x for the folder

Related

[Q] Can not change permissions using Root Explorer

I have Root Explorer installed and I am trying to rename a file in the directory system\media and copy a new .zip file to the location. When I have executed the process it changes back to original file.
I have checked the Mount R/W button at the top of Root Explorer as well.
I have checked to make sure the superuser is in the whitelist for Root Explorer.
I also can not add .apk files to the apps folder as well.
What can I do to resolve this.
TIA.
RacerXO said:
I have Root Explorer installed and I am trying to rename a file in the directory system\media and copy a new .zip file to the location. When I have executed the process it changes back to original file.
I have checked the Mount R/W button at the top of Root Explorer as well.
I have checked to make sure the superuser is in the whitelist for Root Explorer.
I also can not add .apk files to the apps folder as well.
What can I do to resolve this.
TIA.
Click to expand...
Click to collapse
I resolved it. I needed Busybox.

[Q] Corrupted nv_data.bin

I corrupted my nv_data...
Flashing efsbackup didnt help...
A friend friend from the same country as me uploaded his nvdata, but i dont know how to apply it, ADB says device not found, debugging is on, and im using Win 7 x64 SP1.
If you have a complete backup of your /efs folder, a good way to restore it is: With root explorer, go into backuped /efs and multiselect and copy every file. Go to actual /efs folder and paste files in. Reboot, and things should be good now.
fps249 said:
If you have a complete backup of your /efs folder, a good way to restore it is: With root explorer, go into backuped /efs and multiselect and copy every file. Go to actual /efs folder and paste files in. Reboot, and things should be good now.
Click to expand...
Click to collapse
I have only nvdata.
And root explorer says no permission, although i enabled System RW.
8ax said:
I have only nvdata.
And root explorer says no permission, although i enabled System RW.
Click to expand...
Click to collapse
try long clicking the file, select permisions, make a note of whats ticked, then select them all, press ok, make sure the root "/" is mounted as R/W and try again. If sucessful change the permisions back to what they were... Hope that helps

[Q] Backup entire custom rom and settings via Clockwork or other

Hello!
I have a new european HTC One with Trickdroid v8 installed and Clockwork 6.0.3.3
How to backup entire rom with settings ? I have used the backup function in Clockwork recovery, but I cant find the back file on my internat memory - i want to copy it to my computer just in case.
What is best solution to make backup of my entire phone with rom ? Using clockwork recovery software or some other function ?
cavist said:
Hello!
I have a new european HTC One with Trickdroid v8 installed and Clockwork 6.0.3.3
How to backup entire rom with settings ? I have used the backup function in Clockwork recovery, but I cant find the back file on my internat memory - i want to copy it to my computer just in case.
What is best solution to make backup of my entire phone with rom ? Using clockwork recovery software or some other function ?
Click to expand...
Click to collapse
The CWM backup is located in '/data/media/clockworkmod/backup/' (from root) and is not visible from the pc.
Using ES file explorer or root explorer copy the folder in the '/data/media/clockworkmod/backup/' directory to '/data/media/0/' and then you'll be able to see it from your pc and copy across....... remember to delete the copy from '/data/media/0/' afterwards
rider5512 said:
The CWM backup is located in '/data/media/clockworkmod/backup/' (from root) and is not visible from the pc.
Using ES file explorer or root explorer copy the folder in the '/data/media/clockworkmod/backup/' directory to '/data/media/0/' and then you'll be able to see it from your pc and copy across....... remember to delete the copy from '/data/media/0/' afterwards
Click to expand...
Click to collapse
Unfortunately, i do not have such directory path like you specified.
I installed Clockwork Rom Manager and it tells me the backup is in inaccesible area, path: Device: mnt/shell/emulated/clockworkmod/backup
But the mnt/shell folder is empty and I cant find clockword folder. Any solution to this ?
cavist said:
Unfortunately, i do not have such directory path like you specified.
I installed Clockwork Rom Manager and it tells me the backup is in inaccesible area, path: Device: mnt/shell/emulated/clockworkmod/backup
But the mnt/shell folder is empty and I cant find clockword folder. Any solution to this ?
Click to expand...
Click to collapse
When navigating to root with a file explorer are you unable to see the directories I listed?
rider5512 said:
When navigating to root with a file explorer are you unable to see the directories I listed?
Click to expand...
Click to collapse
Using your path, I can only go for: Device: /data/ and it is empty
cavist said:
Using your path, I can only go for: Device: /data/ and it is empty
Click to expand...
Click to collapse
No it can't be empty.... check your file explorer is root enabled, if you're using ES then settings>tools>root explorer
rider5512 said:
No it can't be empty.... check your file explorer is root enabled, if you're using ES then settings>tools>root explorer
Click to expand...
Click to collapse
Now it works like a charm. Thank you very much for your help!

Accidentally deleted the Downloads folder

So I accidentally deleted the Downloads folder on my internal storage while browsing the files on my PC and I immediately recreated it but its not working. I mean whenever anything is downloaded by the native Downloads manager app it shows up inside the app but not in the folder. I tried using both Download and Downloads as folder name but its still not working. My device has root access but I'm not able to find a Download(s) folder anywhere in the root directories either. Any ideas on how to fix this?
Did you check the permissions of the folder you recreated? Here's a snapshot (assuming I can figure this stupid app) of the permissions for the download folder on my htc m8. I imagine the permissions should be the same across devices.
Thanks for the response. I don't use ES File manager, only Solid Explorer for normal activities and Root Explorer for root related stuff etc. but if I'm not mistaken the dialogue in your screenshot represents global permissions, not just the permissions granted to the Download folder. Since the Download folder is located in the sdcard directory I believe the r/w permissions are automatically granted to the system. The issue probably lies somewhere else. The system download manager keeps storing downloaded files somewhere else, just not in the Download folder I created, and I've go no idea where or how to reassign it.

can not create file/folder in system area (phone already rooted)

I want to use root explorer to copy some file into some system folder,
root explorer can successful mount system as RW. but when I copy files, it failed and show "read-only".
the strange things is: I can rename or modify a file/ folder, for example: I can modify "build.prop" and save it successfully.
so the problem is: I can't create new files or folders, but I can modify existing file an folders?

Categories

Resources