The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP geek654

4th July 2014, 10:16 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Jul 2014
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
5th July 2014, 12:06 PM   |  #2  
OP Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Jul 2014
Quote:
Originally Posted by geek654

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
5th July 2014, 12:32 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: 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?
5th July 2014, 12:45 PM   |  #4  
Seanie280672's Avatar
Senior Member
Flag Halesowen
Thanks Meter: 347
 
1,172 posts
Join Date:Joined: Feb 2012
Donate to Me
More
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: [ View ]
5th July 2014, 01:09 PM   |  #5  
OP Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Jul 2014
Quote:
Originally Posted by Seanie280672

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 ?
Last edited by geek654; 5th July 2014 at 01:18 PM. Reason: extra info
5th July 2014, 01:24 PM   |  #6  
Seanie280672's Avatar
Senior Member
Flag Halesowen
Thanks Meter: 347
 
1,172 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by geek654

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes