Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,480 Members 44,943 Now Online
XDA Developers Android and Mobile Development Forum

[Q] where is /data/preload folder on my phone?

Tip us?
 
geek654
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jul 2014
Question [Q] where is /data/preload folder on my phone?

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
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jul 2014
Quote:
Originally Posted by geek654 View Post
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
Does anyone know?
Thanks
 
geek654
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jul 2014
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?
 
Seanie280672
Old
#4  
Senior Member
Thanks Meter 267
Posts: 874
Join Date: Feb 2012
Location: Halesowen

 
DONATE TO ME
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.
The Following User Says Thank You to Seanie280672 For This Useful Post: [ Click to Expand ]
 
geek654
Old
(Last edited by geek654; 5th July 2014 at 12:18 PM.) Reason: extra info
#5  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Jul 2014
Quote:
Originally Posted by Seanie280672 View Post
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.
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 ?
 
Seanie280672
Old
#6  
Senior Member
Thanks Meter 267
Posts: 874
Join Date: Feb 2012
Location: Halesowen

 
DONATE TO ME
Quote:
Originally Posted by geek654 View Post
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 ?
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
The Following User Says Thank You to Seanie280672 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Control Your Toast Notifications with SlicedToasts

Toasts are delicious, even in their Android flavor. In Android, toast doesn’t lead … more

Rotation Lets You Take Full Control of Your Device’s Orientation Settings

To be brutally honest, the native options for screen … more

Change the Alarm Icon in the Status Bar with Xposed

It’s hard to find a more hated object than your alarm clock. They wake us up nearly … more

Return to Outer Space Outer Space with Ship Up Game

Since the release of Flappy Birds, we’ve had the “fortune” to see … more