Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,915 Members 37,086 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  
Seanie280672's Avatar
Senior Member
Thanks Meter 342
Posts: 1,162
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  
Seanie280672's Avatar
Senior Member
Thanks Meter 342
Posts: 1,162
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


Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more

Android App Review: How to Speed Up Your Android Phone – XDA Developer TV

Is your Android device running slow? Is your Android device … more

Make a Pre-Rooted Stock Sony ROMs in Just Few Clicks

Many usersdon’t see any particular reason to change out the stock firmware … more