I just updated to jf 1.41 rc33 with no problem and the radio update with no problem.
now my question is ... I had the caches for many apps moved to my sd card so do i have to do it again or not? the files are still on my sd card but i dont know if i lost my link to them after update.
thank you
They are working on it here, towards the end.
http://forum.xda-developers.com/showthread.php?t=475381
stats555 said:
They are working on it here, towards the end.
http://forum.xda-developers.com/showthread.php?t=475381
Click to expand...
Click to collapse
Thanks but i did not see anything there about if you lose your caches link to the sd card after update.
My symbolic links for the caches were still there after the update. Might want to go into adb shell and check.
sorin129 said:
Thanks but i did not see anything there about if you lose your caches link to the sd card after update.
Click to expand...
Click to collapse
you will only lose the link if you wipe the /data .. the update.zip does not wipe the links by default .. the problem however .. if you did more than just the cache files and moved /data/app to /system/sd/app then the update.zip will prevent your EXT2 partition from loading .. thus the need to have the three key elements .. init.rc, mountd.conf, & /system/sd .. just the cache links will remain without a wipe
mark925 said:
My symbolic links for the caches were still there after the update. Might want to go into adb shell and check.
Click to expand...
Click to collapse
I see my files on my sd card but i don't know if they are still conected and im sorry to say im a noob and don't realy know what adb shell is and how to check it. ( I know you are saying then how did you move the caches?)
Well I folow instructions well from you guys on the forums
LucidREM said:
you will only lose the link if you wipe the /data .. the update.zip does not wipe the links by default .. the problem however .. if you did more than just the cache files and moved /data/app to /system/sd/app then the update.zip will prevent your EXT2 partition from loading .. thus the need to have the three key elements .. init.rc, mountd.conf, & /system/sd .. just the cache links will remain without a wipe
Click to expand...
Click to collapse
Thank you Lucid.
Since i only moved my caches to sd card and not the apps ( i dont even have a partition on my sd card) than i should be ok from what you are saying so thanks again
Related
I start using a second partition for my apps and some of the caches...
But is there more? Yes there is (i hope). But what else? Any ideas, more is better...
What do you need:
A FAT32 / EXT2 partition combo on your CLASS 6 MicroSD (the EXT2 from 100mb to 1,5gb as max recommend (real max = 2gb)!
Only at "others" there is one way to move cache without EXT2 partition.
Do it yourself:
(Private) Apps to SD: http://forum.xda-developers.com/showthread.php?t=462882 (Apply on your own Rooted System)
Complete ROM:
(Private) Apps to SD: http://forum.xda-developers.com/showthread.php?t=480582 (modded JF1.42 RC33)
Other:
- Apps Caches (no ext2 needed): http://forum.xda-developers.com/showthread.php?t=471653 and http://androidcommunity.com/forums/f28/updated-move-caches-to-sd-card-11167/
- Apps Caches (with ext2): Change the paths from: "/sdcard/cache" to "/system/sd/cache" from http://androidcommunity.com/forums/f28/updated-move-caches-to-sd-card-11167/
I will add everything that's relevant to putting stuff from your ROM to your FLASH!
i hope we can move everything to the sd lol ;P
Theoretically it is but i think it will be to damn slow But if we put the core and much used stuff on system (something like vista does it with mem, preload stuff i use alot to my system and stuff i don't use a lot to my sd or somthing... But i don't have skills to do something like that (i suck with linux :S).
Yeah, it's possible. But as you said, the issue would be with the speed of everything... I know some basic Linux, but not to move the entire OS to the SD, otherwise I'd try it myself, and test the speed of it.
Phromik said:
Yeah, it's possible. But as you said, the issue would be with the speed of everything... I know some basic Linux, but not to move the entire OS to the SD, otherwise I'd try it myself, and test the speed of it.
Click to expand...
Click to collapse
the most i have tried is i moved the entire /data folder over to the EXT2 partition and then mounted the SD to /data .. so when you pull up available space it says 1G+ available on the phone for apps .. actually pretty kool but i can't get the SD to mount to /data on the phone boot and the slowness is definitely a factor .. anyone who wants to try for themselves is welcome .. but i can't speak for any errors you might get
LucidREM said:
the most i have tried is i moved the entire /data folder over to the EXT2 partition and then mounted the SD to /data .. so when you pull up available space it says 1G+ available on the phone for apps .. actually pretty kool but i can't get the SD to mount to /data on the phone boot and the slowness is definitely a factor .. anyone who wants to try for themselves is welcome .. but i can't speak for any errors you might get
Click to expand...
Click to collapse
how do you do it that it shows in storage available that u have 1G+ available space. i would want that to show for me.
Smokuevo said:
how do you do it that it shows in storage available that u have 1G+ available space. i would want that to show for me.
Click to expand...
Click to collapse
in my script i put in my modified JFv1.42 you can do:
#copy.sh all
this moves everything to the SD (the ultimate in G1 lag) and then from Terminal again:
#mount /dev/mmcblk0p2 /data
this should work (unless i forgot a step) .. then when you look at the available space you should see the entire EXT2 partition listed for the phone .. to get my script you can either flash my modified update.zip that has the modified init.rc and mountd.conf or else just copy my script to your phone
what if i already did copy.sh data copy.sh app .. will copy.sh all mess anything up?
whats the reverse step
Well the first stap is backing up ofcourse! So the only step if you screw up is putting the backup back...
back up didnt work. got to try cupcake though. haha.
now getting stale nfs files
Smokuevo said:
what if i already did copy.sh data copy.sh app .. will copy.sh all mess anything up?
whats the reverse step
Click to expand...
Click to collapse
i did put in "copy.sh undoall" to reverse the steps .. but this will also move apps and if you have too many apps if could crash the phone .. i may need to remove apps from the undoall process
after i did the command to make the room on my SD show up as my memory how do i revert that back to normal to see the space on my phones internal mem?
Smokuevo said:
back up didnt work. got to try cupcake though. haha.
now getting stale nfs files
Click to expand...
Click to collapse
on a linux distribution type :
fsck.ext2 -p [your partition] mine is /dev/sdd2 for example
How to check if i have my app to sd card or not???
kenny9438 said:
How to check if i have my app to sd card or not???
Click to expand...
Click to collapse
go to terminal and:
df
see if your /system/sd/ device is being used. Did you make all the symlinks?
mine is being used but also the phone memory is decreasing also. help?
thx i think im not sure...checked out that i have my app to sd thx
I'm having the same problem. I did all the steps on this tutorial from maximus but when I d/l an app my intermal memory decreases and my sd memory remains the same. I went to terminal and wrote df and I don't know what to look for lol I did see system/sd or something like that though. But I'm not sure what that means. Sorry for being such a noob, I'm new to this
Same prob here fellas....
I followed the instructions for the Hyk apps to sd wiki tutorial.
when I check my sd card, it shows the apps
cd /system/sd/app
ls
and I can see that the /system/sd has 25MB used which sounds ok but at the same time, I only have 35MB left on the phone, it was 48 yesterday and all I've done is install apk files via my computer using adb install command.
Why is my internal memory going down and how can i fix it.
To answer my own question.
I think we also need to move dalvik-cache... though not really that important, it's nice to keep the 70-71mb free.
I moved the cache and it went from 35MB to 70MB free.
Keep in mind that moving your apps to sd does not move your cache for default programs. I noticed my memory dropping and realized that it was my browser, maps, market, etc cache. I followed some tutorials on here to move those and my memory hasn't been dropping anymore!
there are three directories that get increased when u install an app
/data/app - stores the apk file
/data/data - stores cache and databases that the app uses
/data/dalvik- app cache used by the system
if u move only one of the above directories ur internal space will still decline
su
cd /data
ls -l
this way you can see if its linked correctly- should show the app folders linked...
MontAlbert said:
su
cd /data
ls -l
this way you can see if its linked correctly- should show the app folders linked...
Click to expand...
Click to collapse
Thanks for this! How can I tell which caches I have linked?
Thanks
I Wrote This Because I searched and searched and could never find an answer I dont like wiping or reformating my ext partition and then having to redownload all my market apps everytime i want to try a hero rom and go back to a normal one (and by normal i mean anything that isnt hero)
1. Make sure the build you want to revert to is on the root of your sdcard
2. Now go into the Recovery Console and type in these commands
(Access this using Home+power and when the screen comes up alt+x)
# mount -o rw /dev/block/mmcblk0p2 /system/sd (enter)
# cd /system/sd (enter)
# rm -r /system/sd/app_s (enter)
# recovery
now just wipe (alt+w) and flash (alt+s)
If you have already gone to another Build and your not having any problems
you can check check to see if this file still remains on your ext partition by
doing the following commands in the Terminal Emulator
$su
# cd /system/sd
# ls -la
on the right hand side of the screen your going to see folder names that
are located on your Ext partition if You see app_s do the first set of commands
to remove it
* I realize there is alot of ppl that already know this but theres some ppl that
dont (like me when i flashed my first hero build) and this guide was meant
for the ppl that dont *
* I am not responsible for ppl that cannot follow simple instructions so if you
by some act of God manage to mess up your phone with this tutorial its on
you *
* Just thought i would throw this in for ppl this is from his cyanogen build
page *
By cyanogen
3. I keep getting foreclosures why?
The only thing i can think off is apps on your sd try formating ur sd and flash the full update. If you had a previous ROM installed that copied stuff to your SD card (like most of the Hero ROMs), you'll need to clean that out.
Hmm why should i reformat my ext partition? I moved from jacHeroSki to Cyanogen's build without that . Anyway good tutorial for newbies .
read his build information he tweaked the apps2sd.sh because it was corrupting the app_s folder when it was on the sdcard therefore his maybe putting it somewhere else but if the app_s folder is put in /system/sd when you reload another build it still tries to load that app_s folder therefore all you get is force close popups
Also this folder remains on your ext taking up space
I actually asked someone about this in another thread, but I didn't get a complete answer. And since you were kind enough to post about it I thought I would ask you:
- lets say I have Cyanogen 3.x with apps on SD with lots of apps installed
- lets say I want to try Hero with apps on SD since the hero builds are so big
- lets say I want to revert to Cyanogen 3.x with all my apps still there after playing with Hero since I suspect it won't be good enough for me (yet)
What is the process to do this?
1. Start with Cyanogen 3.x and apps on SD and lots of apps
2. nandroid backup to sd card fat partition
3. put hero build as update.zip on sd card fat partition
?4. tar the ext partition to a file in the nandroid subdir in the fat partition?
?5. remove all files from the ext partition like you show?
6. install update.zip for hero, it sets up its apps on sd, I play with it for a while
?7. to switch back I nuke the ext files like you show?
?8. I use fastboot or just burn the flash images to put back my internal flash to the nandroid state?
?9. I extract the tar of my ext back to the ext partition from the fat partition?
10. back in the same state as step 1
Thanks for any insite you can give.
knox you have a pm
im having a problem with switching builds (non hero) and am sure its the apps on the sd card. what do i do to just wipe the partition without having to reformat?
Woodard2589 said:
im having a problem with switching builds (non hero) and am sure its the apps on the sd card. what do i do to just wipe the partition without having to reformat?
Click to expand...
Click to collapse
you can do it two ways the easiest way is to get lucid script by following his tutorial which can be found using search
the other way is to boot into recovery go to the console and do these commands
#mount -o rw /dev/block/mmcblk0p2 /system/sd
#cd /system/sd
#rm -r /system/sd
i have not tried the above commands because i have not wished to totally wipe my Ext partition which would defeat the purpose of my tutorial
P.S also i have never had a problem switching between non hero builds with apps on my ext partition so it could be caused from something else did you wipe first before goin to another build if not you may want to try that first because the commands will wipe everything from your partition and you will have to remake the directory folders (app, app-private,etc)
ive been on on an old cyan build and when trying anything past 3.4 it gets stuck at the second splash screen unless i boot with no memory card in. then it works fine. had apps on sd before using his build and when using it its never used the sd card. tried wiping before installing and still doesnt work. ended up just flashing over without wiping and booting with no sd card. all my apps shows as installed in the market but none show on the phone, when i reinstall the apps act as tho they were never not installed. didnt get much help in his thread except that my cat log shows that its out of mem, which it has plenty of on both the sd and phone memory.
Removed due to double post
Woodard2589 said:
ive been on on an old cyan build and when trying anything past 3.4 it gets stuck at the second splash screen unless i boot with no memory card in. then it works fine. had apps on sd before using his build and when using it its never used the sd card. tried wiping before installing and still doesnt work. ended up just flashing over without wiping and booting with no sd card. all my apps shows as installed in the market but none show on the phone, when i reinstall the apps act as tho they were never not installed. didnt get much help in his thread except that my cat log shows that its out of mem, which it has plenty of on both the sd and phone memory.
Click to expand...
Click to collapse
ok that may be the problem the older builds use an old apps2sd method the newer builds use a newer one if your using his recovery image 1.3.x boot into recovery the scroll down to fix file systems if it doesnt work go into the console and run the fix file systems script manually by typing in this command
#e2fsck /dev/block/mmcblk0p2
#apps2sd
The easiest way for me was nandroid...I've flashed about 6 Hero roms in the last 3 days lol. And all I did was nandroid before I started the flashing...and if I didn't like the build I was currently using I just used the recovery console to roll back to my back up. Simple as that.
slow xda causing dups
slow xda causing dups
Yeah but i dont think nandroid affects your memory card i may
Be wrong but nandroid only restores the state of your phone i dont
Think it removes trash files from your memory card or ext
I have been trying forever to get ext3 working on my phone. I have 3 primary partitions; fat32, ext3 and linux swap. I used a card reader to create them via Partition wizard. Every software can see the 3 partitions, but my phone wont pick up the ext3. I tried wiping everything, reflashing dexter's rom, but i just cannot get it to work. I still see only 134mb on internal memory and it decreases as i install apps. I have even tried using link2sd but that gives me an error ("Mount script cannot be created"). Any help will be greatly appreciated. Thanks in advance.
Frisbee6 said:
I have been trying forever to get ext3 working on my phone. I have 3 primary partitions; fat32, ext3 and linux swap. I used a card reader to create them via Partition wizard. Every software can see the 3 partitions, but my phone wont pick up the ext3. I tried wiping everything, reflashing dexter's rom, but i just cannot get it to work. I still see only 134mb on internal memory and it decreases as i install apps. I have even tried using link2sd but that gives me an error ("Mount script cannot be created"). Any help will be greatly appreciated. Thanks in advance.
Click to expand...
Click to collapse
Me too, I used Miui optimize rom and Steel v4 (
Sent from my XT720 using XDA Premium App
That's strange. My EXT3 partition works both in Dexter's rom and in the Steelblue V4 rom.
I used gparted under Linux to do my partitioning. What I did was to resize the existing FAT32 partition and move it all the way to the right. Then I created a 2gb EXT3 partition all the way at the left. From there I created a 256mb swap partition in the middle, and I resized the FAT32 partition to take up the rest of the drive.
Did you guys remember to create an "app" folder on the EXT3 partition?
There are other folders that you can create to put the delvik cache on there among other things. I just don't remember off hand what you need to name them as.
Ya there is a folder there called apps, but for some reason, nothing is moving into it. do i need to run some sort of a script? what i did:
1. flashed dexters 1.3
2. partitioned sd card using partition wizard with a fat32, a ext3 and a swap partition
3. booted up phone, internal memory shows 134mb, all apps installed go to internal memory.
4. terminal shows ext partition with 1100 mb free space
Am i missing a step?
Thanks in advance
Frisbee6 said:
Ya there is a folder there called apps, but for some reason, nothing is moving into it. do i need to run some sort of a script? what i did:
1. flashed dexters 1.3
2. partitioned sd card using partition wizard with a fat32, a ext3 and a swap partition
3. booted up phone, internal memory shows 134mb, all apps installed go to internal memory.
4. terminal shows ext partition with 1100 mb free space
Am i missing a step?
Thanks in advance
Click to expand...
Click to collapse
not folder apps but app no s....if your ext3 working fine then shud have lost+found folder @/sd-ext.. create app folder using root explorer then reboot..now your app shud automatically move to sd-ext..
and create cache folder dalvik-cache
Well i did what you guys said and now my apps are going to /sd-ext/app but im also losing space in the internal memory, and it does not show internal + ext3, it only shows internal. You guys have any idea whats happening?
Thanks for all your help guys.
Frisbee6 said:
Well i did what you guys said and now my apps are going to /sd-ext/app but im also losing space in the internal memory, and it does not show internal + ext3, it only shows internal. You guys have any idea whats happening?
Thanks for all your help guys.
Click to expand...
Click to collapse
Are you using Dexter 1.3 without any patches?
[If so, probably your dalvik-cache is on /data? So... even though the apps are going into /sd-ext, the optimized versions of the dex are being stored on internal memory.]
Yes... no patches, and dalvik is going to /data. Any idea whats up?
Frisbee6 said:
Yes... no patches, and dalvik is going to /data. Any idea whats up?
Click to expand...
Click to collapse
That's just how Dexter's 1.3 works by default and one of the reasons I started the bugfix patches. If you apply bugfix patch 3 dalvik-cache will move to /cache automatically (you can optionally move it to /sd-ext by creating /sd-ext/dalvik-cache and rebooting).
http://forum.xda-developers.com/showthread.php?t=995989
Or, if you don't want the patch, you can maybe use Androidiani OpenRecovery--it has a menu option to install an init script to move dalvik-cache to /cache. I haven't tested whether that works or not, though.
After this patch, now the /sd-ext/app folder deletes itself after i restart the phone, tried a few times, same goes for davlik-cache. This is crazy every thing that could go wrong has gone wrong, thanks again for your help. You got any other suggestions?
I do not understand what you worry?
It works now, thanks alot for all your help guys, really appreciate it!
Frisbee6 said:
It works now, thanks alot for all your help guys, really appreciate it!
Click to expand...
Click to collapse
How you did it?
V_XT720 said:
How you did it?
Click to expand...
Click to collapse
1. Formatted my card to the required partitions.
2. Flashed dexters rom followed by Mioze7Ae's bugfix 3.
3. Using root explorer I created /app folder.
4. Downloaded apps like there's no tomorrow.
Sent from my XT720 using XDA App
I tried two different ways to partition my sd:
1) I used Gpatred and I did everything as described here - http://www.youtube.com/watch?v=6z1Tu9l8WNc&feature=related.
2) I used MiniTooLsPartition Wizard and Root explorer to create app and dalvik-cache folders.
In both cases, everything seems fine....until i install some apps. After restart the phone can not load the android. The phone only shows M logo and restart. If I remove the card then OS load. What I have to do? Thanks in advance.
Are you partitioning your sd while its in the phone? Use a card reader if possible. Wipe clean your partitions and wipe data and dalvik cache. Then try again, although i did not have the problem that you mention, are you running any other scripts? eg. darktremors?
What I did:
1. Clean Installation of Steelblue V4 rom.
2. Two primary partitions (FAT32 and EXT3). I used card reader.
3. App and dalvik-cache folders on ext3 partition.
4. Wipe clean partitions and wipe data and dalvik cache.
After first reboot everything was fine. Then I installed a root explorer to check a ext3 partition. The app and dalvik-cache folders were there. I decided to restart the phone again before I install anything else and nothing happened....only M logo
V_XT720 said:
What I did:
1. Clean Installation of Steelblue V4 rom.
2. Two primary partitions (FAT32 and EXT3). I used card reader.
3. App and dalvik-cache folders on ext3 partition.
4. Wipe clean partitions and wipe data and dalvik cache.
After first reboot everything was fine. Then I installed a root explorer to check a ext3 partition. The app and dalvik-cache folders were there. I decided to restart the phone again before I install anything else and nothing happened....only M logo
Click to expand...
Click to collapse
dalvik-cache on ext partition will cause bootloops in Khal's ROMs.
hi there i have installed a few roms and now my phone space is gone i dont have everything i cant install apps from market and stuff :S and i am running kyorarom (v0.5.2 jpu) and i cant update it becuase i dont have free space on my intern memory how can i fix this or how do i great more space???
i have installed a other rom kyrillos rom 9.5 and still have the same problem annd when i reboot my phone all i need to do settings al over agian but still i dont have any space could someone help please ?
Ganoess said:
hi there i have installed a few roms and now my phone space is gone i dont have everything i cant install apps from market and stuff :S and i am running kyorarom (v0.5.2 jpu) and i cant update it becuase i dont have free space on my intern memory how can i fix this or how do i great more space???
i have installed a other rom kyrillos rom 9.5 and still have the same problem annd when i reboot my phone all i need to do settings al over agian but still i dont have any space could someone help please ?
Click to expand...
Click to collapse
Did you wipe data? Also if it doesn't work, sear h around for a zerofill.tar to flash, then flash a rom over it.
Sent from my GT-i9003 powered by MIUI
bscraze said:
Did you wipe data? Also if it doesn't work, sear h around for a zerofill.tar to flash, then flash a rom over it.
Sent from my GT-i9003 powered by MIUI
Click to expand...
Click to collapse
do you no where i can download it?
i already found it an read good stuff of it thanks for the help
use your sd card for more space
zerofill tar sounds to me like:
writing lots of "0" to the internal sd?
-> equal to a format of /system?
-> system is gone, mobile doesnt boot
-> all data lost?
Checked the features of kyorarom and what do I see...
Hybrid Data2SD and SD card swap
Why dont you use that feature?
Ah... I see... you didnt create an ext4 partition?
Thsi partition is needed for the feature above!
how to:
Create an ext4 partition via CWM
using this feature will move all user apps to sd card
have a fast card on your side and make a backup of your sd card data
-> all data will be lost on sd card when you repartition your card!!!!!
I think u r facing 0.0kb internal memory bug... if so flash with data.rfs
If not, go to recovery, wipe dalvik cache... format sd ext.. mount data... and mount sd ext
Sent from my GT-I5800 using XDA App
austin266 said:
I think u r facing 0.0kb internal memory bug... if so flash with data.rfs
If not, go to recovery, wipe dalvik cache... format sd ext.. mount data... and mount sd ext
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
yeah i have that problem i can solve that with zerofill.tar right ? or do i need something els?
qaysedcftgb said:
zerofill tar sounds to me like:
writing lots of "0" to the internal sd?
-> equal to a format of /system?
-> system is gone, mobile doesnt boot
-> all data lost?
Checked the features of kyorarom and what do I see...
Hybrid Data2SD and SD card swap
Why dont you use that feature?
Ah... I see... you didnt create an ext4 partition?
Thsi partition is needed for the feature above!
how to:
Create an ext4 partition via CWM
using this feature will move all user apps to sd card
have a fast card on your side and make a backup of your sd card data
-> all data will be lost on sd card when you repartition your card!!!!!
Click to expand...
Click to collapse
i think i stay with kyrillos never had problems with it only when i installed kyrorarom i got the bug from 0.0kb internal memory bug
hmm when i put my sdcard in it and reboot my phone says 0.0kb internal memory when i reboot without sdcard i got 100mb free agian so i dont no what to do
put the sdcard in PC and check the card if its working
backup data
delete all partitions on sdcard
put card in mobile
boot into cwm
repartition the card
check the space
just a thought:
could it be, that the sdcard is only full?
or defective?
qaysedcftgb said:
put the sdcard in PC and check the card if its working
backup data
delete all partitions on sdcard
put card in mobile
boot into cwm
repartition the card
check the space
just a thought:
could it be, that the sdcard is only full?
or defective?
Click to expand...
Click to collapse
The sdcard works fine i can see all my stuff when i have it in my phone but i wil try that empty my sdcard and i will make backup from it to my pc i hope this works
oh... a second please...
I remember something right now...
In my very early days (ECLAIR flashing) I remember that someone had also space 0.0 MB
And afaik the solution was to flash the CSC file (?) or something like that again...
That was the reason in these days why I flashed all (!) firmware versions from
xxjg7 to xxjk1
well... in froyo days...
I know that this posting is not very helpful, but you might find something similar with these hints in the net...
Hope this helps forward
Flashing zero fill should solve to 0.0kb problem, it formats everything on your phone, then flash a rom over it. If doesn't work, backup your SD card and format your sd ext and your whole SD card.
Cheers
Sent from my GT-i9003 powered by MIUI
my problem is fixed i forgot to format data en sd-ext thanks all for youre help and now i am busy with multiboot and stuff got a lot af roms to try