18 pagesV  1 2 3 4 5 6 > »  
 
REPLY
> [Android] Transferring the cache of games and data of other programs to an external memory card | [how-to] is mainly useful for platemakers
Dreamer ...
Message#1
12.01.12, 17:44
Professional Dreamer
*********
[online]

Group: Developers
Messages 11791
Check in: 04.04.07
Xiaomi Redmi Note 4X Snapdragon 4/64

Reputation:-  1179  +

Transferring the cache of games and data of other programs on sdcard2 (ROOT)

!!! More SIMPLE WAY
Download FolderMount !!!


You know yourself that the internal memory is not rubber and when installing the next game with the cache, there is often not enough space.
Last night and I ran into this problem. The solution found pretty quickly ...

In order not to torture linuxoids I will say:mount -o bind / what / you / mount / where / want / mount

And while knowledgeable guys transfer caches and cards to an external USB flash drive, we will begin to comprehend this wisdom from the very beginning: yes2:
The transfer will be considered on the example of game caches from Gameloft.(Yes, I know that there is a special prog: P)

Attention!
This method is considered on the example for DellStreak7 Android 3.2, the mount point of the external flash drive on your device may be called differently !!!
And, of course, everything is at your own peril and risk.


1. Decide where the transferred data will be stored on your sdcard2 and create a folder for them. I created it with the nameBind
2. Create another folder in the folder you just createdgameloft
3. Transferinto hercontentfolders

/mnt/sdcard/gameloft/games download


4. Download the free application from the marketScript Manager
5. Decide where you will have the script. I created a folder on the internal flash drive.Scripts.
6. RunScript Managerand go to this folder.
7. Create a new script (menu - (+)) and name itbind.sh
8. Click on the newly created file and in the menu that appears, click:
Asterisk- this will add our script to favorites.
Shard- run the script with root privileges.
Gearwheel- Add a script to autoload.
Next, click the buttonEditand open the script with your favorite text editor.
9. It is time for the most difficult }-)
Team structure:
mount -o bind</ what / want / mount></ where / want / mount>
Based on this we get:
mount -o bind / mnt / sdcard2 / bind / gameloft / mnt / sdcard / gameloft / games
in other words, we tell the system that the contents of the folder/ sdcard / gameloft / gamesis in the folder/ sdcard2 / bind / gameloft
10. In an open file (have you not closed it yet?;)) We write:
#! / system / bin / sh
mount -o bind / mnt / sdcard2 / bind / gameloft / mnt / sdcard / gameloft / games
exit 0

11. Save the file and close the text editor.
12. Click the buttonRunand go to the folder / gameloft / games
If the caches in it are visible, then you did everything correctly, you can start and check the game.
At the next reboot, the script will run automatically.

By analogy, we transfer other data simply by appending to this script.

An example of my script:
#! / system / bin / sh
## Cashe gameloft
mount -o bind / mnt / sdcard2 / bind / gameloft / mnt / sdcard / gameloft / games
## Cashe Spectral Souls
mount -o bind / mnt / sdcard2 / bind / hyperdevbox / mnt / sdcard / hyperdevbox
## Maps 2GIS
mount -o bind / mnt / sdcard2 / bind / 2gisMobile / mnt / sdcard / 2gisMobile
exit 0


Answers on questions:
Q:I do not have a folder mnt !!!
A:You should read about the file structure of Android.

Q:Is the root required?
A:Yes!

Q:You can just create a symlink!
A:If you tell how to do it on the fat markup - shake the Linux world.

Q:Does not work!!!
A:Works! Do strictly according to the instructions!


Post has been editedDreamer ... - 30.11.15, 09:25
Reason for editing: link to FolderMount
yuter
Message#2
25.03.12, 23:57
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 67
Check in: 30.11.09
Glofiish (E-Ten) G500

Reputation:-  4  +

Be so kind as to tell me in addition how to edit the cache download path, let's say there is a Modern Combat-3 game and its weight is 1637 MB, in the tablet there is a free 1.3 GB. Attempts to mount using GL-to-SD in any case, the cache is transferred to the internal Flash

P.S. Your explanation described above turned out to be very useful, thanks in advance for further help.


--------------------
There are no bad things, and there are crooked hands and dull brains.
Dreamer ...
Message#3
26.03.12, 09:20
Professional Dreamer
*********
[online]

Group: Developers
Messages 11791
Check in: 04.04.07
Xiaomi Redmi Note 4X Snapdragon 4/64

Reputation:-  1179  +

yuter,
Just like in the example ...
MC3 game from gaylofta, and accordingly enough to domount -o bind / mnt / sdcard2 / bind / gameloft / mnt / sdcard / gameloft / games
and all gaylofes caches will be dumped on an external flash drive ..


--------------------
Dell Streak 7 WiFI ->Google Nexus 7 (2012) SlimKat 4.4.4
lexdoom1
Message#4
27.04.12, 22:34
Local
*****
[online]

Group: Friendssavagemessiahzine.com
Messages 282
Check in: 12.11.11
DNS S4505M

Reputation:-  23  +

There is a question. Is it possible to mount not a separate folder, but the entire section on an external memory card?


--------------------
Ainol Novo7 Aurora II ->Chuwi vi8
Club lovers overseas shopping
goldwin83
Message#5
03.05.12, 11:25
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2052
Check in: 12.09.10
Samsung Galaxy Note8 SM-N950F / DS

Reputation:-  128  +

And if the cache is mainly in the directory / sdcard / Android / data then in the script to substitute this directory? Will work?


--------------------
Galaxy Note 8
Asus TF201 Prime- [JB 4.2.1] AndroWook Prime Hairy Bean v2.2
arsen1997hit
Message#6
07.05.12, 15:45
Local
*****
[online]

Group: Friendssavagemessiahzine.com
Messages 192
Check in: 30.12.10
Samsung Galaxy Note8 SM-N950F / DS

Reputation:-  17  +

Moving android / data does not rob (and the rest robs


--------------------
Nokia 6070 =>Nokia N82 =>Lg optimus one =>Fly turbo + Samsung galaxy note 10.1 =>Sony xperia SP =>Htc One =>Sony Xperia Z1 Compact =>Xiaomi MI 5=>Samsung Galaxy Note 8 + Nintendo Switch + Sony Smartwatch 3
Aleck
Message#7
10.05.12, 22:12
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 297
Check in: 21.11.07
Sony Xperia Z

Reputation:-  23  +

did as in the description
everything worked first (cache yandexkart and cache ms3 endured).
then I decided to register one more cache .... and everything stopped working. already and prog reinstalled and wrote everything as it was.
when you click run it writes
mount: no such file or directory

earned - the target folder (where we mount) should already be (empty) on the card

Post has been editedAleck - 10.05.12, 23:02
Fabrikator
Message#8
24.05.12, 13:24
a guest
*
[offline]

Group: Users
Messages 9
Check in: 09.05.12

Reputation:-  0  +

Hello, I can not write please write an example. My game is in the folder / mnt / sdcard / Android / data folder name us.konami.pes2011 in it another folder files I want to transfer to the flick its name extern_sd doing this:

mount -o bind / mnt / extern_sd / bind /mnt/sdcard/Android/data/us.konami.pes2011

see mount: no such file or directory
did everything by example, what's wrong?
so also does not roll:

mount -o bind /mnt/extern_sd/bind/us.konami.pes2011 /mnt/sdcard/Android/data/us.konami.pes2011

Post has been editedFabrikator - 24.05.12, 13:29
Fabrikator
Message#9
24.05.12, 18:09
a guest
*
[offline]

Group: Users
Messages 9
Check in: 09.05.12

Reputation:-  0  +

and the article does not say that you need to reboot the device after running the script, after restart everything works
CleverLol
Message#10
29.05.12, 23:22
a guest
*
[offline]

Group: Users
Messages 2
Check in: 14.05.12

Reputation:-  0  +

I misunderstood something ...
Do you need to delete the contents of the caches folder from the internal drive, or do you need to drop them on the card, but at the time of writing the script it should be both there and there?
YaaHoORuS
Message#11
19.06.12, 21:24
a guest
*
[offline]

Group: Users
Messages 7
Check in: 21.03.12
Xiaomi Mi Max 2 4/64

Reputation:-  1  +

Many thanks to the author, everything works up to Android / data. Samsung GT-I9003 device, made some corrections to the code as The second flash drive is on the path / mnt / sdcard / external_sd /, tobish a flash drive inside a flash drive (I don `t know which drug addict in the company came up with).
AlerT-STM
Message#12
21.06.12, 14:38
Visitor
**
[offline]

Group: Users
Messages 11
Check in: 17.06.12
AGM A8

Reputation:-  2  +

To make my script work, I put quotes in the text ... Here:

#! / system / bin / sh
mount -o bind "/ mnt / sdcard / external_sd / bind / ANDROIDDATA" "/ mnt / sdcard / android / data"
exit 0


and without quotes, there was no folder ...
Art-tour
Message#13
30.06.12, 22:39
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 479
Check in: 10.08.10
Samsung Galaxy Note 3 SM-N900

Reputation:-  90  +

People please help me samsung galexy tab 7 plus path to a flash drive in general idiotic mnt / sdcard / exStorages / SdCard / tell me how to write a script?


--------------------

rog3rqa
Message#14
06.07.12, 20:26
Visitor
**
[offline]

Group: Users
Messages 12
Check in: 29.06.12
Acer Aspire Switch 10

Reputation:-  1  +

help with writing a script from EA (Electronic Arts). Just a single game is not installed on the phone due to the fact that there was not enough memory on the phone. There is a place on the flash drive.
By passing this method there is another one. Who is interested canhereto read.
kauk96
Message#15
16.07.12, 19:52
Visitor
**
[offline]

Group: Active users
Messages 20
Check in: 23.05.12
Samsung Galaxy S 2 GT-I9100

Reputation:-  0  +

And what is the mechanism? If after these manipulations all the caches are visible in sdcard / gameloft / games, that is, on the internal map, then the meaning of all this ... will they take up space both there and there?
or now you can delete sdcard / gameloft?
Aleck
Message#16
16.07.12, 22:29
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 297
Check in: 21.11.07
Sony Xperia Z

Reputation:-  23  +

the point is that physically all the data on external media
but in the internal they do not occupy a place

Post has been editedAleck - 16.07.12, 22:30
kauk96
Message#17
16.07.12, 22:52
Visitor
**
[offline]

Group: Active users
Messages 20
Check in: 23.05.12
Samsung Galaxy S 2 GT-I9100

Reputation:-  0  +

AleckThat is, I see them on the inside, when installing games on the internal map, cache folders appear, but in fact all this stuff on the outside takes place?
amkar_fun
Message#18
23.07.12, 06:29
Visitor
**
[offline]

Group: Users
Messages 11
Check in: 21.07.12

Reputation:-  0  +

tell me how to create a new script (menu - (+))?
denissky2
Message#19
31.07.12, 23:17
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 398
Check in: 03.05.11
Apple iPhone 7 Plus

Reputation:-  85  +

I register the path to several games at once in one folder, and from the gayloft and from the EA, the script runs, but does not work, what's wrong, tell me:
#! / system / bin / sh
mount —o bind mnt / sdcard / external_sd / bind / gameloft mnt / sdcard / Android / data exit 0
StrikerXx
Message#20
08.08.12, 11:47
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1438
Check in: 12.12.11
Samsung Galaxy Tab 2 7.0 3g

Reputation:-  134  +

denissky2,
I think you did not put a slash to the right next to mnt in 2 cases)))


--------------------
StrikerXx
Message#21
08.08.12, 20:23
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1438
Check in: 12.12.11
Samsung Galaxy Tab 2 7.0 3g

Reputation:-  134  +

People who managed to put on the Galaxy Tab 2 7.0? I do not want to constantly not see the folder even with quotes, although there is no (((


--------------------

18 pagesV  1 2 3 4 5 6 > » 


 mobile version    Now: 06/23/19 00:38