I just came across this script "AD2SDX - AMARULLZ DATA TO SD-EXT" which is still in alpha stages it works fine on Arc. I tested today on my MIUI ROM.
WHAT IS IT??
This mod will move all Internal Memory (data) into sd-ext, "but not like data2ext", this mod will maintain the performance, because it still place dalvik-cache and system application data in Internal Memory.
Here is a screenshot of my "Manage Application" :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: This script is still in alpha stages so users who are not sure please don't try it. It can potentially brick you SD or can cause bootloops. I don't know a method to uninstall this yet.
HOW IT WORK??
The script will do this in the first boot:
Move Mounting Internal Memory (/data) Into /sd-ext
Mount SDCard-Ext (mmcblk0p2) partition into /data
Create dalvik-cache directory in Internal Memory data (/sd-ext), and symlink it to mmcblk0p2 (/data)
Create data directory in mmcblk0p2 (/data) And symlink it into Internal Memory data (/sd-ext)
Create symlink of app, app-private, app_s and lib_s from mmcblk0p2 (/data) to Internal memory data (/sd-ext)
Create symlink for all non-symllink of Internal Memory data (/sd-ext) into mmcblk0p2 (/data)
After Initializing Setup (First Boot), reboot the system (Just reboot, don't go into recovery), the mod will automatically do this following:
Create data_s in Internal Memory data (/sd-ext)
Move All mmcblk0p2(/data)/data/com.htc* and com.android* into Internal Memory data(/sd-ext)/data_s
Create symlink all files/directory from Internal Memory data (/sd-ext)/data_s/* into mmcblk0p2(/data)/data/ So the System Application Data still read into Internal memory, but rest Application Data will read Into SDCard.
More Information and download:[MOD][AD2SDX][ALPHA02] New Data To SD-EXT Mod - AMARULLZ DATA TO SD-EXT
A lot of people has read your thread, but nobody has answered.
I tried to use it. I have an sd-ext partition, but I don't remember if it's ext2, 3 or 4. I tried anyway and out caused a boot loop. So I'm guessing I don't have my partition formatted as ext4. I don't have access to a computer right now, so I will have to wait to test it again.
Thank you for your link.
Fb
can this be used with the neo ? using inteks kernel (it doesn't have ext support yet) i.e can this add the ext support to that kernel ? thanks !
skyboyextreme said:
can this be used with the neo ? using inteks kernel (it doesn't have ext support yet) i.e can this add the ext support to that kernel ? thanks !
Click to expand...
Click to collapse
Your kernel need init.d support. Then I believe it should work.
ShyamSasi said:
I just came across this script "AD2SDX - AMARULLZ DATA TO SD-EXT" which is still in alpha stages it works fine on Arc. I tested today on my MIUI ROM.
WHAT IS IT??
This mod will move all Internal Memory (data) into sd-ext, "but not like data2ext", this mod will maintain the performance, because it still place dalvik-cache and system application data in Internal Memory.
Here is a screenshot of my "Manage Application" :
Note: This script is still in alpha stages so users who are not sure please don't try it. It can potentially brick you SD or can cause bootloops. I don't know a method to uninstall this yet.
HOW IT WORK??
The script will do this in the first boot:
Move Mounting Internal Memory (/data) Into /sd-ext
Mount SDCard-Ext (mmcblk0p2) partition into /data
Create dalvik-cache directory in Internal Memory data (/sd-ext), and symlink it to mmcblk0p2 (/data)
Create data directory in mmcblk0p2 (/data) And symlink it into Internal Memory data (/sd-ext)
Create symlink of app, app-private, app_s and lib_s from mmcblk0p2 (/data) to Internal memory data (/sd-ext)
Create symlink for all non-symllink of Internal Memory data (/sd-ext) into mmcblk0p2 (/data)
After Initializing Setup (First Boot), reboot the system (Just reboot, don't go into recovery), the mod will automatically do this following:
Create data_s in Internal Memory data (/sd-ext)
Move All mmcblk0p2(/data)/data/com.htc* and com.android* into Internal Memory data(/sd-ext)/data_s
Create symlink all files/directory from Internal Memory data (/sd-ext)/data_s/* into mmcblk0p2(/data)/data/ So the System Application Data still read into Internal memory, but rest Application Data will read Into SDCard.
More Information and download:[MOD][AD2SDX][ALPHA02] New Data To SD-EXT Mod - AMARULLZ DATA TO SD-EXT
Click to expand...
Click to collapse
how come ur internal storage is 2.2GB...
That's what this script does it Internet storage will be your ext partition
martin132014 said:
how come ur internal storage is 2.2GB...
Click to expand...
Click to collapse
because the script re-mounts the internal storage partition to sd/ext
does anyone else have try this method and work...please do tell. i really like to apply it to my arc...
martin132014 said:
does anyone else have try this method and work...please do tell. i really like to apply it to my arc...
Click to expand...
Click to collapse
Me.....
ShyamSasi said:
Me.....
Click to expand...
Click to collapse
how did you do to make it work??
Edit: do i need just to flash the file for the recovery? with Ext4?
i got stuck on the Sony white text with Ext3...
Edit2: nevermind, it works now.
martin132014 said:
does anyone else have try this method and work...please do tell. i really like to apply it to my arc...
Click to expand...
Click to collapse
Is working perfect on Arc. Just have patience at boot - it's a long start up session.
i guess this will only works with fresh flashing...
nujhum said:
i guess this will only works with fresh flashing...
Click to expand...
Click to collapse
No! I have even used the "old" App2SD which I just deleted in init.d and copied AD2SDX into same directory. Then reboot a after waiting it worked.
em, so i need to delete the init.d before flashing ad2sdx...
this is what i did and caused me to bootloop.
1. restoring my backup rom, and flash the ad2sdx.
2. did fresh install rom and flash ad2sd without rebooting.
nujhum said:
em, so i need to delete the init.d before flashing ad2sdx...
this is what i did and caused me to bootloop.
1. restoring my backup rom, and flash the ad2sdx.
2. did fresh install rom and flash ad2sd without rebooting.
Click to expand...
Click to collapse
No, you have to delete the contents of init.d, not the folder.
Sent from my LT15i using xda premium
harfot said:
No, you have to delete the contents of init.d, not the folder.
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
no, didnt delete the folder. just the specified file.
btw, it works fine now.
hm, but there is too many program keep FC, and lags, seem its getting heavier... hm. booting take minutes to load.
ShyamSasi said:
Me.....
Click to expand...
Click to collapse
well....i know its u first, i mean someone else....anybody....
nujhum said:
hm, but there is too many program keep FC, and lags, seem its getting heavier... hm. booting take minutes to load.
Click to expand...
Click to collapse
You're right - I'll try to change from ext2 to ext4 and see what happens.
It works fine for me I'm using Ext3 it works fine so far with MIUI ROM, I don't use lot of application only few everyday apps and lot of widgets
Additional Info:
When I updated the ROM version I had to format the ext3 partition (Mini Partition Tool) then re-apply the script to get it to work. Otherwise I had boot loops.
Related
Just installed cyanogens rom and started adding apps from an 'appmanager' folder on the SD card- but I cannot see them in a seperate folder on the SD - is it just running them in the 'appmanager' folder? Or is apps2sd not working and installing stuff on my internal memory?
( I have 3 partitions by the way, one ext2 /3 not sure which, the last one a 'swap' from early 'hero' install)
Thanks
you need an ext2/ext3 partition for apps2sd to work. if you have such a partition then cyanogen rom is installing apps there automatically.
open an adb shell and cd to /system/sd
if there are some folders, the apps2sd is running (the ext partition is mounted under /system/sd)
You can also run this in terminal but there you need to run the "su" command first
Sorry, noob!
Ok I opened 'terminal emulator', did 'su' allowed root and then
cd /system/sd
'ls' to see directory right? just shows 'placeholder' so somethings wrong?
Is there an easy fix and can I move all the apps I just installed over?
Thanks!
looks like no apps2sd(the partition might be there, but no apps were moved at this time)
just create an ext3 partition on your sd card and install your favourite rom. cyanogen will move all apps automatic (long long first boot).
on other roms you might have to run the apps2d.sh script to move the apps. just read the corresponding thread for your rom. you will find all information there.
FireFart - you mean cyanogen? That's the one I installed, before adding these apps!
If I flash it again won't it wipe all installed apps?
Is it worth trying to run this apps2d.sh script?
try this guide:
http://forum.xda-developers.com/showthread.php?t=535232
When you just flash another update.zip, your apps wont get deleted(with and without apps2sd).
When nothing works, wipe, delete the ext partition and make a fresh install
To delete the content on the ext partition:
rm -rf /system/sd/*
I would agree with the thread you linked, however the apps2sd section is not necessary. as already stated, cyanogen's rom does this automatically (most do now), and installing apps2sd will (i believe) implement an outdated/slower method of 'symlinks'.
in short: use the thread for a guide, but ignore the app2sd section. its a good guide for the partitioning of your sd card (this part IS necessary)
FireFart said:
try this guide:
http://forum.xda-developers.com/showthread.php?t=535232
When you just flash another update.zip, your apps wont get deleted(with and without apps2sd).
When nothing works, wipe, delete the ext partition and make a fresh install
To delete the content on the ext partition:
rm -rf /system/sd/*
Click to expand...
Click to collapse
Ok , tried reflashing, no effect it seems. ... from what I've seen the thread on partitioning was pretty much the same as the one I used.
FireFart said:
try this guide:
http://forum.xda-developers.com/showthread.php?t=535232
When nothing works, wipe, delete the ext partition and make a fresh install
To delete the content on the ext partition:
rm -rf /system/sd/*
Click to expand...
Click to collapse
you mean wipe it's contents right?
he means do a wipe on the recovery screen (ALT+W) AS WELL AS remove contents from ext partition.
the recovery console wont touch the ext partition when performing an ALT+W.
im not sure thats the issue though. just to verify, the order of your partitions on the SD is: FAT32/ext, correct? the FAT32 partition must be the first partition, and the ext the second.
EDIT: can u post the results of running a 'mount' cmd? you should have a line that reads something like:
Code:
/dev/block/mmcblk0p2 on /system/sd/ type ext3 (rw,noatime,nodiratime,barrier=1,data=ordered)
jomtones said:
Ok , tried reflashing, no effect it seems. ... from what I've seen the thread on partitioning was pretty much the same as the one I used.
you mean wipe it's contents right?
Click to expand...
Click to collapse
phantasm -sorry, noob, not sure what you mean!
partitions currently look like this (as JAC instructions)
http://i70.photobucket.com/albums/i120/jomtones/IMAGE_829.jpg
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Maybe having 3 parts is throwing it? confused!
For the life of me, I CANNOT get A2SD to work properly.
ROM: MIUI 1.9.16
SD Card: 16GB w/ 1GB EXT4 partition
Problem:
When I do a fresh install of MIUI (wipe cache, wipe dalvik, wipe data/factory reset) A2SD+ in settings->system->storage says available and used are "0.00B".
If I use dark tremor a2sd install scripts, they 'claim' to have activated the space. It appears space is used on it too (around 100mb, despite previous wipe of all data which says it wipes SD-EXT). When new apps install they east away at my meager "internal" storage (IE: 20mb remaining) and my programs area says I ahve a total of something like 200mb of storage (shouldn't this change to over 1GB because of the partition?!).
As of right now I've restored my previous install, which says "0.00B" for A2SD+, and I have a 1GB EXT4 partition sitting here doing nothing.
a2sd is auto on MIUI after flash/reboot--shouldn't need to run scripts--but you can
try reformatting sdcard outside of phone and with sdformatter, then partition it as ext3 0 swap
ext4 never worked quite right for me
then fresh install with system/data/cache wipes 3 times each
Thanks for the reply. What's with this common habit of wiping 3 times? Doesn't wiping just unlink all the inodes from the partition table, then mark the sectors as free space anyways?
Anyway, MIUI at flash point never picks up this partition. I will try changing it to EXT3 and seeing what happens.
I am not a tech, but I think the phone doesn't do thorough job. That's why I format outside phone. Don't know for sure on System wipe, but most peolple recommend 3 or more times on data/caches.
I have been using these methods for quite awhile now and have much fewer flash issues between roms. Thanks to Temasek on his Format zips--------
ken
Well would you look at that. Fresh flash of the ROM with an EXT3 partition and it works! Didn't have to flash any DT zip. Thanks!
EDIT:
After using MIUI backup to restore my apps and stuff, I'm already out of space. My sd-ext isn't being used! how do I fix this?!
Your Welcome--
Sorry for double post, but I spoke too soon. A2SD still doesn't appear to be working correctly. I've attached a few screenshots to help show what I'm talking about. Titanium backup doesn't see the space (I don't think) either. It appears MIUI sees the space available... but doesn't use it. I just did an a2sd zipalign, followed by a a2sd cachesd to move the dalvik cache to the SD card which helped my space woes a bit, but my a2sd partition seems to be completely unused, other than the dalvik cache!
I can't view your thumbs, get error on page. May be my work computer
Had that happen once and a2sd was doing its thing, just not showing in Root Explorer as ext being used
Do you have any low mem warnings
You could try Quick System from market and see what it says
Your A2SD is working fine. As you can see, you have >100 MB of apps installed on it (0.94GB SD-EXT partition size, 832MB free). The reason you still see your internal memory being used is - 1) Dalvik-cache is still on the internal memory, 2) App data is still on internal memory. You can change that in A2SD GUI settings. If it tells you that Dalvik is already on SD - it's lying, the app isn't too correct, the script is much more correct. You can run the script to move Dalvik to SD in that case.
And the integration of A2SD isn't system-wide - actually, the system has no idea that A2SD is present, and doesn't report anything else for its partition sizes but the original sizes.
Jack_R1, after a random soft reset occurred, titanium now shows the a2sd. Thanks for clearing some of the information up for me.
ADVANED USERS ONLY!
ONLY TRY THIS WHEN YOU KNOW HOW NVFLASH WORK AND HOW YOU CAN RESTORE YOUR PARTITIONS USING IT!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if you use cm7 or MIUI you may feel like your internal sdcard is a bit waste of memory
people have been trying to merge the internal sd partition and the data partition sadly without succes
but i tried to mount the internal sd as /data and i did succeed
i recommend you to change the size of your all your partitions using nvflash this is not necessary but you will have have more benefits
here is a link to the TUT on modaco
i used this values:
/system (512 MB): size=536870912
/cache (512 MB): size=536870912
/data (256 MB): size=268435456
Recovery (50 MB): size=52428800
resized system to 512 MB is enough
resized cache to 512 MB to store the dalvik-cache on the cache partition it is more use full then store it on the /data partition
resized data to 256 MB because we don't need it anymore
the remaining space will be used the internal SD well lets say it is a lot in my case it is as you can see on the screen shots above 5.43 GB
WARNING! YOUR SDCARD MUST BE MOUNTED ON /mnt/sdcard AND NOT ON /mnt/emmc OR /mnt/sdcard/_InternalSD OTHERWISE AFTER FLASHING YOU CAN'T ACCES YOUR SDCARD
IN CM7 THE DEFAULT SETTINGS ARE GOOD UNLESS OF COURSE YOU CHANGED THEM TO MOUNT INTERNAL SD CARD ON SDCARD
AND BY DEFAULT ON MIUI THE SETTINGS ARE WRONG THERE IS THE SDCARD MOUNTEDN ON /_ExternalSD
converting the internal sdcard to ext4 is not hard
you can just flash THIS zip for it
when your internal sdcard is formatted as ext4 you can use THIS zip to transfer your data to your internal SD partition
this zip contain 2 script
one will transfer your data over to the internal sd partition
and the other will transfer your dalvik-cache over to the cache partition (when there is enough space to do so if it is not resized it will just leave it on /data)
after this when you boot up the device you will notice you get an notification what will say it is safe to remove the sdcard
this is because it can't mount the internal SD and this will cause a bug you won't be able to mount your external sdcard on the computer
but hey we gonna fix that!
i recommend you to use root explorer for this job
locate /system/build.prop and delete these lines out of the file
for CM7 delete these
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/emmc
ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc
for MIUI delete there
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard/whatever-the-text-is-here
now reboot your device and enjoy your huge space
Good Luck!
Owain
Huge thanks to benee for his universal ext4 converter that i used to convert the internal sd partition
i am in no way responsabel for whatever might happen
to your cellphone if you did something wrong don't come
and blame me for it it is your device you did it
I'd appreciate it if you made it a little less complicated for not-so-advanced users like me. :/
Works great! Thanks.
works like a charm...took your suggestion and resize the partition...exact results
dan079 said:
works like a charm...took your suggestion and resize the partition...exact results
Click to expand...
Click to collapse
good to know it is also working for others
I am using a 16gb G.Skill microsdhc class 10. I used MiniTool Partition Wizard to make 2 partitions, it show 14gb+ of unallocated space. I made the following partitions without any problems.
1: 1gb primary-ext 4
2: 13gb+ primary-fat32
I followed these steps by mor_1228 to install the Apocalypse Final ROM
1. Do a fresh install of stock rom via odin i recommend XXKPT = Russia 2012 March
2. install latest recovery.
most important procedure
3. switchoff then press only home button and power button
1. wipe data/factory reset.[imp]
2. wipe cache partition.[imp]
3. Go to mounts and storage and format these :
a. system
b. data
c. cache
d. sdext
4 go to advanced and then in there format :
a. Dalvik cache
b. Battery stats [not imp.]
4. Install apocalypse latest final version.
5. install layout properly as suggest in developer post. after installing layout reboot 2 times.
6. mount system and install AMARULLZ DATA TO SD-EXT
7. give 2 reboots after installing AMARULLZ DATA TO SD-EXT.
8. check ur internal memory it will be according to ur partition size.
9. [if error] if u find internal memory still same then u must have not mounted system go to recovery again and mount system and then flash script again.
Click to expand...
Click to collapse
I followed the steps and finished up to this step :
4 go to advanced and then in there format :
a. Dalvik cache
b. Battery stats [not imp.]
Click to expand...
Click to collapse
Here is where the PROBLEM started :
I was in CWM 5 recovery and was about to flash the Apocalypse Rom but I can't seem to find the CM7-APOCALYPSE-090712-FINAL zip file to flash, I rebooted the phone normally and it showed that my microSD is blank. Then I connected my sdcard to my pc but it isn't recognized anymore.
Opened Disk Management in windows and saw that my SD card only has 1gb capacity. Minitool partition Wizard also showed 1gb. I tried the Partition recovery wizard but didn't get any success. Also tried EaseUS partition master but the same result.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I try to make that 1gb a partition, it show Bad Disk under File System, when I try to use CWM to make a partition, it just gets stuck in the partitioning part. Same with when I try to format it in windows, I also used SDformatter, HP Partition Tool, and other similar apps that came up when I search in and out of this forum for answers but they all just get stuck at 0% and wouldn't progress forward.
Any ideas how I can fix this?
Any help would be very much appreciated. Thanks!
still no luck finding a fix. anyone have an idea what to do?
any ideas?
You can formate your sd normally with windows and do again the partition.
Try to format the sd card with windows again...before putting files into it, partition the sd card via cvm in advanced (do not put things as the whole card will be automatically formatted)...after that, start to put things into your sd card...do not format sd-ext again this time and keep in mind that any windows program will report the partition as corrupted the next time you connect your card to your pc again...it's normal as sd-ext formatted by cwm are like that, but it's effective...
Ryuinferno said:
Try to format the sd card with windows again...before putting files into it, partition the sd card via cvm in advanced (do not put things as the whole card will be automatically formatted)...after that, start to put things into your sd card...do not format sd-ext again this time and keep in mind that any windows program will report the partition as corrupted the next time you connect your card to your pc again...it's normal as sd-ext formatted by cwm are like that, but it's effective...
Click to expand...
Click to collapse
First of all, thanks for your suggestion!
I can't format the card anymore. When I try to format it in windows, and using different formatting apps like SDformatter, they just get stuck and wouldn't progress. Sometimes the apps i used just stops responding.
yeryer said:
First of all, thanks for your suggestion!
I can't format the card anymore. When I try to format it in windows, and using different formatting apps like SDformatter, they just get stuck and wouldn't progress. Sometimes the apps i used just stops responding.
Click to expand...
Click to collapse
Google for bootice..install and launch it...then select your sd card in physical disk...go to parts manage...select reformat...then format it into USB-HDD single partition with fat32 format...Hope it helps...
Ryuinferno said:
Google for bootice..install and launch it...then select your sd card in physical disk...go to parts manage...select reformat...then format it into USB-HDD single partition with fat32 format...Hope it helps...
Click to expand...
Click to collapse
I tried this but bootice gives me an ERROR:
Error write sector 0ata error (cyclic redundancy check)
With GPartEd you can fix it. Google for it.....
Sent from my GT-S5830i using xda app-developers app
RubenStauttener said:
With GPartEd you can fix it. Google for it.....
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
I tried GPartEd but it also didn't fix it. It said that there was no partition table. But when I tried to Write a Partition Table, there is an error I/O error with the device (Cyclic Redundancy Error). I thought it is caused by the write protect but the write protect is disabled. And another weird thing is when I first inserted the microSD, GPartEd listed that it has 14.97gb unallocated space, but after reinserting it after I checked for write protect, it recognized only 1gb again.
I think I'll just get a replacement for this card. Thanks everyone for helping!
Use CWM to partition it. It's under advanced.
Sent from my GT-S5830 using Tapatalk 2
Please tell me the error you get, i will help you in solving it
This is made for stock kernel, althought it will work most probably on every kernel and rom.
---------------------------------------------------------------------------------------------------------------------
-------------------------This is a Easy Way to Increase Internal Memory-------------------------
---------------------------------------------------------------------------------------------------------------------
It Moves System Apps Dalvik Cache to the Cache Partition in Your Internal Memory, with no loss in performance
Use This On Your Own Responsibility, I Will Not Be Held Responsible For Anything
I have Tested it on my Arc S and got 60mb more free, I have a total of 67 apps installed
ScreenShot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
1.Alberto96
2.tobbbie
(both provided codes which i read and understood)
Compatibility:
It Should Be Compatible With Most Phones With a Cache Partition
Requirements:
Please make sure u are rooted
Please have the latest busybox, To install busybox : https://play.google.com/store/apps/details?id=stericson.busybox
An app like Script Manager ( I use : https://play.google.com/store/apps/...GwsMSwxLDEsIm9zLnRvb2xzLnNjcmlwdG1hbmFnZXIiXQ..)
Also a Rom/kernel that has Init.d Support ( I use this guide to add init.d support to my rom : http://forum.xda-developers.com/showthread.php?t=1405590 )
Also Please Make Sure You Have Your SDcard Inserted on reboots and that you have around 50-100mb free in your SDcard
Instructions:
Download The Files
Run 02SystemDalvikToCache Using Script Manager (Only need to run once)Run as SU
Put 02DalviktoCacheBoot in Your Init.D Folder and set right permissions
To Uninstall:
Remove The 02DalviktoCacheBoot script from init.d folder
Reboot to recovery And Wipe Dalvik Cache (Or you can use an app that wipes dalvik Cache)
FYI:
02SystemDalviktoCache moves System Applications Dalvik Cache to the Cache partition
02DalviktoCacheBoot copies Dalvik Cache from sdcard to Cache partition to prevent Bootloop
Ignore All Errors Given By Script Manager, They Do Not Affect The Work of The Script
The reason i dont have a script to move dalvik-cache of apps in sdcard is because they are usually higher than 100mb, if i need some more space, or if these scripts are used i will make a script to move sdcard apps dalvik-cache to dev folder
If you edit your system apps, and are getting low internal memory again, please wipe dalvik-cache and then run script again
Download:
https://www.dropbox.com/sh/5ertwdtb17bciwa/pTaaxewnJX
If You Get A Boot loop, Please Go Into Recovery, Wipe Dalvik Cache and Reboot
Warning: Please watch out that your cache partition has around 100mb limit (102mb on arc s)
Important: Please make sure to read the instructions and also the FYI section is very helpful
[SCRIPT] Dalvik To Cache
Hi, I have a few question to ask:
1) what is the benefit of using this?
2) how will this impact the performance of the phone and battery life?
3) will this damage my sd card in long term usage?
kaz93 said:
Hi, I have a few question to ask:
1) what is the benefit of using this?
2) how will this impact the performance of the phone and battery life?
3) will this damage my sd card in long term usage?
Click to expand...
Click to collapse
1) A lot of ppl have trouble wid low internal memory, this will give u about 60mb extra in internal memory
2) Not Really, my phone is exactly the same as before,it might be a little faster, jst have more internal memory , which hence makes phone faster, and more space for app cache's in /data partition
3) This does not affect SDcard in any way, it just makes a backup of ur dalvik-cache in sdcard to tansfer it to cache partition at each boot (cache partition sometimes gets formatted at boots, this is a precaution to prevent bootloops)
Edit:
Cache partition is a partition of the internal memory, which has 102mb in arc s, usually only 2mb is used, CM already has a built in script tht transfers dalvik cache to cache partition, this is mainly for stock roms
Sent from my LT18i
Before this script i had 70mb free in my internal memory
Now i have 130mb free
(both values are approximate)
Sent from my LT18i
*UPDATED*
Whenever you run the script, previous dalvik-cache's in cache partition and sd card will be deleted to prevent dalvik-cache of deleted apps from taking up space
Asalm u alikom bro. I run thé script 1 time but its says failed
Ali Iraqi said:
Asalm u alikom bro. I run thé script 1 time but its says failed
Click to expand...
Click to collapse
If it said that link failed than its fine cuz i made 2 codes for linking just in case first doesnt work
Removing DataDalviktoCache
My MntDalviktoDev script + SystemDalviktoCache script
Please make sure to read the instruction and the FYI section
Sent from my LT18i
*Updated Script*
It now tells what it is doing at every step , makes it more user-friendly
Errors recieved when backing up dalvik-cache also fixed
Also now shows size of dalvik cache that is transferred
Sent from my LT18i
Sahaab said:
*Updated Script*
It now tells what it is doing at every step , makes it more user-friendly
Errors recieved when backing up dalvik-cache also fixed
Also now shows size of dalvik cache that is transferred
Sent from my LT18i
Click to expand...
Click to collapse
The download link is updated?
gengi said:
The download link is updated?
Click to expand...
Click to collapse
Download link stays same
I jst update from inside dropbox (replace the files)
Sent from my LT18i
*Updated*
You can now run script as many times as you want without wiping dalvik-Cache
Sent from my LT18i
Please Report All Your Problems, I Will Help You Fix Them
Please have latest busybox (1.21)
1.20 may also work but hvnt tested
Also remember to run script as SU
Edit : tested on 1.20 , works jst as well
Sent from my LT18i
Hi, I install your script and after reboot I got some FCs (screen shot attached)
So I had to wipe dalvic cashe!
Sent from my LT18i using Tapatalk 4 Beta
hamid-sp3 said:
Hi, I install your script and after reboot I got some FCs (screen shot attached)
So I had to wipe dalvic cashe!View attachment 2132128
Sent from my LT18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
Either you didnt put the init.d script into the init.d folder
or u dont have init.d support ( use the link on OP to enable init.d support on stock kernel and rom )
Sahaab said:
Either you didnt put the init.d script into the init.d folder
or u dont have init.d support ( use the link on OP to enable init.d support on stock kernel and rom )
Click to expand...
Click to collapse
But I use UHD 4.0 with LuPus v16 & I'm sure to put script in init.d folder.
After wiping dalvic cashe, internal stroge has more free space & I think your script worked good.
Sent from my LT18i using Tapatalk 4 Beta
hamid-sp3 said:
But I use UHD 4.0 with LuPus v16 & I'm sure to put script in init.d folder.
After wiping dalvic cashe, internal stroge has more free space & I think your script worked good.
Sent from my LT18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
Could you check something for me?
go into ur sdcard
and check if there is a folder called dalvik-cache
and check if there is anything inside it
if there is then go to ur root directory and check inside the cache partition and see if there is a folder called dalvik-cache there and if anything is inside it