Dalvik cache-too much space - Honor 4C Questions & Answers

Hello. I have honor 4c. At the beginning I had android 5 rooted phone but there wasnt any problem. After updating to marshmallow and rerooting I have problem with storage. When I wipe dalvik cache and reboot phone, recreated dalvik cache have 800MB. After few days I have internal storage totally full(100%). I dont understand. Everything is OK, dalvik cache takes the same storage but during one night I have full storage.... When I whake up there is notification that the storage is full. Can anyone help me? I dont want to delete that regularly as it takes more time to load all apps.

i have the same problème but after rooting i solved this issue
disable the automatic update on play store in order to choose the applications I need to update
* (do not automatically update)
<<<<< phone mast be rooted>>>>>>
1- sd card class 10 (for beter read & write)
2-partionne the sd card (2 partitions ( 1st as fat32 , 2nd as ext2,ext3,ext4)
3-using apps2sd all in one to creat mount script of the 2nd partition
4-move apps to sd card
this is the 1st solution
the second solution that i do personnaly is:
/////this is from :
https://www.facebook.com/groups/1615569825367117/permalink/1741006046156827/
How to remove space from your android
requirements
Require to have any version of mm
Requires Root and root explorer
Tutorial
Vamos to go to our file application and we will clean our phone as seen on the first image.
Despired to do the above checks how much you have internally in my case I had 84? after doing that, so that you see if it works.
- we will go to root explorer and look for the system folder and open the build. Pro and this, until the end we will add the following line as
dalvik.vm.dex2oat-filter = interpret-only
Save Changes
We went back to the root and looked for the data folder and opened
We go to dalvík cache and we first open the arm folder and delete that
System @ [email protected]
System @ [email protected]
-open the folder arm64 and delete the same thing
- in this part comes the most important we go back to the root and we open data and then the app folder
- in this folder you will find all our apps installed, we open one by one and we will delete the folder bat(oat)
After removing all the bat(oat) files from all our apps, we left the super-Root Explorer and checked our space and we'll have more room.
Every time you install an app, you only enter the root explorer and delete the bat folder of this application to continue to free

Related

How to get more internal space on galaxy fit

firstly I'm not responsible for any kind of damage caused to you
but I have tried all the things on my galaxy fit before explaining here
It's not copied from somewhere instead It's based on my experience on my galaxy fit.
For Non Rooted Devices
There is nothing other then using app2sd apps. Then move all the movable items to sd card. After installing app2sd all newly installed apps are automatically moved to external storege.
I uses app2sd by sam lu.
But for non rooted users I will highly recommend to root there device and make the best use of this smartphone.
for beginners everything about rooting/custom roms/nandroid backups etc is explained in this thread
http://forum.xda-developers.com/showthread.php?t=1606380
thanks a lot to A.cid for this wonderful guide
For Rooted Device
apps required
1.Root explorer or similiar
2.Link2SD (Link2sd Setup is explained later in this post)
step 1.Removing Useless system apps from stock or custom rom
go to /system/app using root explorer and mount as r/w
now delete unwanted apps
I will prefer freezing the app first using link2sd and then if phone is working fine then you can unfreeze and then delete that app
Step 2. Removing dalvik cache files
go to /data/dalvik-cache
now search for the dalvik cache files of deleted system apps
it will having name like
[email protected]@[email protected]
delete this file
Step 3. Linking files to Sd-ext or second partition of Sd card
if you have finished Link2sd setup then you can proceed further
open link2sd and then create Link for all the apps you want to linked to sd card
check all the 3 box 1. link apk 2. link dex 3. link lib files
and then your app will be moved to the sd-ext partition
if there are apps which are used very frequently then i prefer not linking dex files to sd card. link only apk for them.
currently system apps can't be linked using link2sd
In the case if app is not working properly after linking then remove links for that app.
Plz help me to improve this article.
suggestions and questions are welcomed.
forgive me for my poor english
Plz help in improving this article. If there is anything wrong in this post let me know. and if you have any other simple method to do this plz post here and help beginners to get more space. But try not to post complicated method which beginners find hard to perform
this post is for beginners
Link2SD steup on galaxy fit
Copied from A.cid main article from
http://forum.xda-developers.com/showthread.php?t=1606380
There are a lot of ways and scripts to transfer apps from your internal memory to the sd ext partition, but the most consistent method I found was Link2sd.
This method works across all roms (rooted stock and custom, both) that I’ve tried, even on all variations of CyanogenMod7 (CM7) as well as on ICS CM9, and is very easy to setup and use.
However, if a custom rom already has DarkTremor's a2sd (a2sdgui app will be present) or any similar script, then DO NOT configure them.
for example: Creeds v3 has a2sdgui, and if i want to use Link2sd, then after flashing Creeds, i SHOULD NOT run a2sdgui, and directly install (and configure) Link2sd...if you run/configure a2sdgui, then it will clash with the working of Link2sd.
Similarly, if any custom rom has any memory hack already implemented, then you cannot use Link2sd...
Steps to setup Link2sd:
• Download Link2sd from Play Store (it’s a free app).
• After it gets installed, run it, and allow root access.
• You will get a message to select the format of your sd partition, select “ext3”.
• Link2sd will then automatically create mount scripts that it requires to work, and will then tell you to reboot your phone.
• Do a proper reboot, and not a ‘hot reboot’.
• After rebooting, open up Link2sd, press menu then select “settings”.
• Select/check the options “automatically link newly installed applications to sd”, “auto link notification”, “relink lib files at boot” (and “fast scroll”, if you want).
• For “install location” option, select “internal”.
• Then go to “auto link settings” and select/check all the three options (you can skip/ unselect “link dalvik-cache file” if you wish)
• Done
Now, every new app that you will install will automatically be moved to your sd ext partition.
Link2sd is also an excellent (and fast loading) app manager, with which you can freeze, uninstall, re-install…though you can move only user apps to sd-ext partition.
Also, there is no point in having your entire phone memory empty, so you probably should unlink the dex (dalvik cache) of your apps. I usually link only the apk and lib files, and leave the dex files unlinked and on the phone storage, so as to avoid any sluggishness in operation., though if your phone memory still fills up, you can link the dex of your rarely-used apps, and leave the dex of important and frequently used apps on the phone storage.
Suppose a custom rom has s2e/app2sd pre-implemented, then after a fresh install, FREEZE the app (rather than uninstall), and then install Link2sd...
Also, if you get error "mount script not created", then choose partition as ext4 (rather than ext3 mentioned below), even though your partition might be ext3...(don't know why this happens with some roms )
In some custom Roms Link2sd doesn't mount sd-ext partition even after selecting correct type of partition in that case try to select other types whether they are working or not
Like in Chocobread v3.2 it worked after selecting partition as ext4
Plz view this thread if you are still facing any problem
Go through this thread
http://forum.xda-developers.com/showthread.php?t=1698813
What happens when we install a new app??
I'm not a developer but this is what I experienced
/data directory is the space which is shown as Internal Storage in phone
/system directory has nothing to do with this internal storage
when we install a new app then it during the installation process three things happens
1.it creates an apk file in /data/app
2.creates an .dex file in /data/dalvik-cache
3.creates one folder in /data/data
when we move apps to sd that apk file moved to sd storage in
.android secure folder and creates an .asec file there
so basically that .dex file and data files are responsible for eating our internal space and for the apps which can't be moved to sd that apk file is also responsible.
we can't use widgets if app is on sd storage.
so in order to use widgets we have to move back to internal storage.
this is where Link2sd helps us
link2sd links selected files to sd-ext partition and for system it still appears in internal storage but it's not there actually.
While for system apps
.apk files remains in /system/app
only .dex files are in data/data directory
we can use widgets of system apps even apk files are not in /data/app directory
so it is recommended that if you want to use widget of the app but you don't want it on internal space(as it is using much more space while it is in internal memory)
here is the solution
create an apk file for that app using any backup app
then move that file to /system/app
change the permissions to rw-r--r--
for this simply see the permissions of any other system app and apply same here
to system
Simply partition your sd card via cwm.. U can get as much internal space as u want..
amn_grg said:
Simply partition your sd card via cwm.. U can get as much internal space as u want..
Click to expand...
Click to collapse
Let consider your post now tell me how to install 100 apps having size more than 500 mb
Without using link2sd or a2sd or any simliar app
Sent from my GT-S5670 using xda premium
Nikhil_G said:
Let consider your post now tell me how to install 100 apps having size more than 500 mb
Without using link2sd or a2sd or any simliar app
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
By symlinking apps manually, one by one...:beer:
Possible - yes
Feasible - no
Everything is possible bro!
Typed using a small touchscreen
a.cid said:
By symlinking apps manually, one by one...:beer:
Possible - yes
Feasible - no
Everything is possible bro!
Typed using a small touchscreen
Click to expand...
Click to collapse
Yeah right...
Informative Thread
amn_grg said:
Simply partition your sd card via cwm.. U can get as much internal space as u want..
Click to expand...
Click to collapse
can you detail the procedure please.
vikrant prabhakar said:
can you detail the procedure please.
Click to expand...
Click to collapse
partition ur sd card through cm recovery then install s2e from play store now all cm7 rom come with pre install s2e script .
Another way is to use terminal emulator .
Download terminal emulator from the PlayStore and then run the following codes:
Code:
su
*grant/allow superuser permissions*
Code:
pm set-Install-Location 2
exit
exit
Note: sometimes if you get an error you may have to run
Code:
pm setInstallLocation 2
if it fails.
All this does is it allows moving many apps that aren't normally movable to the SD card. After running these codes you should be able to move apps to the SD card via Settings>Apps.
This code also sets the default location for apps to install into as the SD card.
What i do for more internal memory..!
Partitioning your sd card is an option. But if you have a sd card of less storage then this option is ruled out. I use a 2gb sd card and partitioning it is not very feasible for me. so...
1. If I'm on a stock gingerbread ROM i use this script http://forum.xda-developers.com/showthread.php?t=2303856 .
(I dont use it very often. Only if necessary.) And i odex the ROM if it is de-odexed by using http://forum.xda-developers.com/showthread.php?t=2303856 Universal Odex Script by MatrixDJ96. Odexing works very well!!! :good:
2. For a custom ROM not many modifications are needed. I just remove the unwanted apps using Link2SD. :good:

[Alcatel OT-991] Apps 2 Sd

This Script + boot.img Aims to make as much as possible use of the sdcard (ext2 Partition) and use it as the internal space of the phone.
Anyone who got the time to download v2 can use the "upgrade-from-v2" script to upgrade to version 3 (you need 2 reboots), in version 3 (if you installed v1 you need to wipe/factory + format ext2)
In version 3 the script deletes Maps.apk and Street.apk & language Packs of keyboard. (if you want it, backup those apks and install them again to /data) with the space left in /custpack partition the script is able to link all dalvik of system and custpack apps, this drives the reads/write of the sdcard to 0 zero, everything in the phone is fast as normal since it will use its nand, and the sd is dedicated to every new apk is installed.
Change log:
Version 5
1. Changed the way it copies files to retain file attributes
2. Copy with force over-write
3. Check for deleted apps and delete files from ext durring the schedule check for linking.
This change will correct problems were one app would brake after a reboot (if this app was installed before)
Note: file name says v4 but its v5
Version 4 Deals with random broken libraries after a reboot.
Notice:
Use a Fast SDCard class 6 or 10 with good response time
* First boot up takes much longer.
* Then you have to reboot again 1 time to be fully installed.
* Give the ext2 partition 1.5 Giga Or 2giga its enough.
Troubleshooting:
* If you having problems with an app, uninstall it, reboot, then install it again.
Back up all of your apps:
adb shell
mkdir /sdcard/myapps
cp /data/app/* /sdcard/myapps
Click to expand...
Click to collapse
And after the wipe etc.
adb shell
cp /sdcard/myapps/* /data/app/
reboot
Click to expand...
Click to collapse
Installation
1. While the phone is turned on completely, (and rooted run Setup.bat
2. Turn off phone and flash the new boot.img (sd-boot.img )
3. Turn on phone enter to recovery and wipe/factory data.
4. Format sdcard with ext2 Partition, insert it, turn on phone and wait a lot for the first boot as it will take time
Only at your own risk Be careful because you have to flash the modified boot.img to use it.. flash it using the files you used to flash boot for rooting the phone.
Note: All bugs have been fixed, version 6. Actually with a class 10 my phone runs more smoothly and faster even than stock rom... if anyone is intersting for a release.. leave a comment.
frapedas said:
This Script + boot.img Aims to make as much as possible use of the sdcard (ext2 Partition) and use it as the internal space of the phone.
Anyone who got the time to download v2 can use the "upgrade-from-v2" script to upgrade to version 3 (you need 2 reboots), in version 3 (if you installed v1 you need to wipe/factory + format ext2)
In version 3 the script deletes Maps.apk and Street.apk & language Packs of keyboard. (if you want it, backup those apks and install them again to /data) with the space left in /custpack partition the script is able to link all dalvik of system and custpack apps, this drives the reads/write of the sdcard to 0 zero, everything in the phone is fast as normal since it will use its nand, and the sd is dedicated to every new apk is installed.
Change log:
Version 5
1. Changed the way it copies files to retain file attributes
2. Copy with force over-write
3. Check for deleted apps and delete files from ext durring the schedule check for linking.
This change will correct problems were one app would brake after a reboot (if this app was installed before)
Note: file name says v4 but its v5
Version 4 Deals with random broken libraries after a reboot.
Notice:
Use a Fast SDCard class 6 or 10 with good response time
* First boot up takes much longer.
* Then you have to reboot again 1 time to be fully installed.
* Give the ext2 partition 1.5 Giga Or 2giga its enough.
Troubleshooting:
* If you having problems with an app, uninstall it, reboot, then install it again.
Back up all of your apps:
And after the wipe etc.
Installation
1. While the phone is turned on completely, (and rooted run Setup.bat
2. Turn off phone and flash the new boot.img (sd-boot.img )
3. Turn on phone enter to recovery and wipe/factory data.
4. Format sdcard with ext2 Partition, insert it, turn on phone and wait a lot for the first boot as it will take time
Only at your own risk Be careful because you have to flash the modified boot.img to use it.. flash it using the files you used to flash boot for rooting the phone.
Note: All bugs have been fixed, version 6. Actually with a class 10 my phone runs more smoothly and faster even than stock rom... if anyone is intersting for a release.. leave a comment.
Click to expand...
Click to collapse
Hi frapedas, sorry for the late reply
This works in 991D?
I cant get dalvik cache in SD card with Yuwing scriptz
qashqool said:
Hi frapedas, sorry for the late reply
This works in 991D?
I cant get dalvik cache in SD card with Yuwing scriptz
Click to expand...
Click to collapse
yes it should work

[Q] [MEMORY LEAK] Device Memory is full, but it's unknown what filled it! +screenshot

The total space is 1.57 GB. The "Apps" (used space) and "Available" (free space) doesn't add up to the total space.
512 + 0.82 = 512.82 MB, where is that missing 1000 MB?
There must be some unknown files that I can't see with Astro file manager (hidden files enabled) because I don't have root.
So how to delete those unknown files (without root)? How to get back that missing 1000 MB?
Looks like your /data/ partition (installed apps) is full, but the /system/ partition (rom+stock apps) has some space left, hence what you see in the storage manager.
If you install Link2SD and go to Storage Info (you will see something like on this screenshot)
What do you see on your device ?
To make space on the /data/ partition you could try to move more apps to the internal SDCard (settings -> apps -> select app -> "move to" button) or you could try to use Link2SD to do more, but you will need root.
Alternatively it is possible to resize the /data/ partition by taking space allocated to the internal memory /SDCard0/ partition.
This guide will explain you how.
You will need root and a kernel with recovery, also knowing your way around in ADB and have some basic knowledge about storage partitions.
I've already moved everything that I can to the internal memory and deleted the cache of many apps and removed the updates of all Google apps.
This problem appeared when I tried to download a file with Dolphin browser. I went to this site:
openstreetmap.hu/letoltesek
and tried to download this file:
TuraReteg.sqlitedb
The phone become unresponsive and something drained the whole memory. So there must be unknown files in that partition.
As I know, it's not possible to access the device memory without root. The Astro file manager shows empty folders. The phone is not mine. So how to delete those unknown files that waste the internal memory without root? (The Clean Master is useless, it cleans the "internal memory" only, NOT the "device memory".)
Maybe what happened is that after the download the contents of that .sqlitedb file got merged into the internal databases of your device...which would mean at least 186MB being injected or copied somewhere, hopefully on the /data/ partition.
Have you tried to do a factory reset (from the phone settings) ?
This should wipe the /data/ partition (and also the SDcard, so remove if there are file on it you wish to keep).
Backup what you need to keep on your device (messages, media and so on).
If that doesn't help and you are on a stock ROM, what you can try after that is connect the phone to a computer and reflash the latest Sony ROM with Sony Companion (it is called "repair phone" in the program if I recall correctly)

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

Increase space for apps, the end of " Insufficient Storage Available" in device ...
Hi!
I have a new post with a better and functional solution here:
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Any one that try it, please let me know how it goes with you.
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?
lalahamid said:
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?
Click to expand...
Click to collapse
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
persona78 said:
How do you made it?
Both partitions must primary.
The pc or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
Click to expand...
Click to collapse
Sent using XDA One
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?
lalahamid said:
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?
Click to expand...
Click to collapse
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
persona78 said:
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
Click to expand...
Click to collapse
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?
lalahamid said:
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?
Click to expand...
Click to collapse
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
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
berenvacht said:
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
Click to expand...
Click to collapse
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?!
persona78 said:
Can you explan it better?!
is when is installing? When start doing this?!
Click to expand...
Click to collapse
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 ----------
berenvacht said:
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.
Click to expand...
Click to collapse
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?
Step by Step
berenvacht said:
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?
Click to expand...
Click to collapse
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
persona78 said:
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
Click to expand...
Click to collapse
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.
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.
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 ....
Hi!
I re-edit the main post with a functional solution.
lalahamid said:
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?
Click to expand...
Click to collapse
try this option, this works but was tested in 4.4.2 ROM
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
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.

Unroot Android (remove symlinks by Link2SD)

Before posting this, I tried looking at other forum threads and over the internet in the last week, but could not find a solution so far.
I have a Huawei Y300 with Android 4.1.1. It was rooted and was pretty much fine except for some issues (they happened in time, are not caused by the rooting itself). Meanwhile, I changed the SD card and the defects include:
- cannot set contact photos (it stops when it tries to crop image)
- cannot change theme (it shows it empty and says "internal storage full" - which is not true, plenty of free space shows up in app manager)
- can't use file manager - doesn't see anything from Local
- without a card in it, gallery and camera don't work at all
I did a factory reset and cleaned the davlik folder, but didn't change anything.
The problems come, I think, because Link2SD creates symbolic links to some folders, and those folders are not the same in a new card. For instance, when I use Root Browser and click Properties on some folders, I get:
Path: /sdcard
Symlink:/storage/sdcard0
But, when I use phone's File Manager, it does not see the files from "storage0", it shows only files located in "storage/sdcard1"
I tried to do a system update, by putting a firmware zip (or app) on the card. But it does not see it there, because it sees what the symlink tells it to see. So I'm stuck in a loop.
Because it was impossible to make Link2SD see the new card, I used another phone, with Android 4.4. After endless attempts, I got that phone to see the two partitions on the card and function. (I had to make Link2SD system app and chose ext4 for second partition.)
I took the card back to the problem phone and only sees the first partition, not the ext4 one.
In Link2SD storage info it shows:
Internal (69% free)
SD Card (unmounted)
External SD (93% free)
Second Partition (not found)
System (33% free)
Cache
When I click Recreate mounting script - it says sd card not found.
Relink files: /data/sdtext2 not found
I basically would like to get the folder structure back to the original settings, maybe use the phone without card or with a new card, with or without rooting - just the simplest way possible, but to be able to use photos for contacts and wallpapers.
update
After numerous attempts, I managed to get into recovery mode from Link2SD (the same ) and started firmware update.
It lists doing some operations, but very soon it says wiping cache... and installation aborted.
Should I try with a different ROM? This one is from Huawei website, official, general version.
it's done!
Not that anyone answered, but in case you have the same problem: it's fixed!
Again with Link2SD. Made a third partition on the card, than in Link2sd click the left upper corner for more options. Scroll down for Restart. It gives options for recovery. Deleted everything with the two options to wipe cache and I don't know what else. And than chose restart from volume keys and upper button as enter.
It didn't do an upgrade, rather a downgrade to a previous factory version but i'm happy with it.
Won't risk another rom change.

Categories

Resources