Increase space for apps, the end of " Insufficient Storage Available" in device ...

lalahamid

New member
Dec 9, 2013
4
0
0
sd card

hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
How do you made it?
Both partitions must primary.
The pv or phone cant see ext4 partition, only after mounted and in data

Sent using XDA One
 

lalahamid

New member
Dec 9, 2013
4
0
0
mount partition

I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?

Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.

Sent using XDA One
 

lalahamid

New member
Dec 9, 2013
4
0
0
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.

Sent using XDA One
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
If you don't have the file or folder you can created, create a folder and must have 755 permission.
You need that folder....

Sent using XDA One
 

berenvacht

New member
Nov 29, 2015
3
0
0
Installing apps

Hello,

untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
Hello,

untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance

Hi!
This is a light version. Has missing some permissions ( fixed ) and busybox tools ... :/ ( fixed to )
It create a full root WITH option to send your apps to sd card automatically!

How?

Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.

LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!

So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!

To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!

If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.

Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...

3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.

UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC

Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE

And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg

Use it only if you need it. Is your option.

I hope this helps you.


is when is installing? When start doing this?!
 
Last edited:

berenvacht

New member
Nov 29, 2015
3
0
0
Can you explan it better?!

is when is installing? When start doing this?!
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.

---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------

I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
Step by Step

I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.

---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------



Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?


See if you miss same thing:

need root

Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)

Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset

download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card

do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.

install Root Browser and link2sd from sd card

execute link2sd to mount ext4 partition from sd card, reboot

execute Root Browser, go to data a rename app folder to _app

look for sdext2 and create a short cut and paste in the same place, rename it app, reboot

activate Google account, now all should be working fine.

you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.

Tell me if you understand it
 

berenvacht

New member
Nov 29, 2015
3
0
0
See if you miss same thing:

need root

Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)

Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset

download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card

do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.

install Root Browser and link2sd from sd card

execute link2sd to mount ext4 partition from sd card, reboot

execute Root Browser, go to data a rename app folder to _app

look for sdext2 and create a short cut and paste in the same place, rename it app, reboot

activate Google account, now all should be working fine.

you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.

Tell me if you understand it
I followed all steps again, but still the same problem. The strange thing is that the whole method works fine, except installing the apps. It's like my phone doesn't accept me using a ext4 partition instead of the 'original app'. Maybe it's because of a software restriction android uses in their operating systems... I have no clue at all. I will keep searching the internet, as soon as find something I will post it here.
 

dinindourden

Senior Member
Dec 18, 2015
171
59
0
You should definitely change the permissions too. However this method seems convenient, it will reduce the lifetime of your sd card and you will risk data loss. I think the repartition script is better.
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
The time life still the same, only the apk goes to sd card.
So is like any other file, like mp3 for example, it writes the file (apk ) , than only reads when need it to load in RAM ( I think you know that all the work is in RAM ). The apps lib files and dalvik-cache still in data partition.
If you do a factory reset the apps still gonna be there, you don't loose them, only need to re-create the process in phone, reboot and they will automatically installed.
This and the resize of data partition will make you a huge amount of data storage, i have 8,5Gb for data storage ....
 

persona78

Senior Member
Apr 12, 2013
2,384
1,203
193
Hi!
Diferent version from KingUser root zip.
It create a full root WITH option to send your apps to sd card automatically!

How?

Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.

LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!

So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!

To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!

If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.

Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...

3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.

UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC

Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE

And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg

Use it only if you need it. Is your option.

I hope this helps you.