[HELP] Screw partition with S2E - Motorola Droid and Milestone Q&A, Help & Troublesh

Hi,
I have 7.2.4.c kabaldan milestone rom.
With sd card with 3 partitions : fat32/ext3 1gb / swap.
Since I can't move my app to the ext with basic app2sd kind of app, I tried S2E.
Well, with the option "intall app to INTERNAL", I guess that s2e were intalled on the ext partition... I hit someting and reboot the phone.
Now, I have lost all my apps, I looks like the stock clean rom AND I can't install any applications, even if I change automatic/internal/external options.
So I don't have access to the ext partition.
Is there a way to get my ext back without a wipe?
(I do have a complete backup, but its a couple of weeks old... my bad )
Thanks

You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy

Eiertschik said:
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Click to expand...
Click to collapse
haha, yeah I know, its my gf phone, she doesnt keep important stuff, its not a big deal.
With my phone don't worry, I do backups everytime .
You say that its automatic , but I dont understand why after a while I still have the "no more sapce available ". ext is around 200 mb of 1gb full...

Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.

mrvek said:
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
Click to expand...
Click to collapse
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743

oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
Click to expand...
Click to collapse
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.

oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
[...]
Click to expand...
Click to collapse
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1

mrvek said:
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
Click to expand...
Click to collapse
That's make sense. I read some post found on google, and mostlikely, that's what they said.
I did a factory reset, and all my apps are back, but the save data. I'll put it back manualy from my nand backup.
Eiertschik said:
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
Click to expand...
Click to collapse
Thanks, I wish I can understand everything on andoird programming... I saw only the basic programing at shcool.

Related

Cripes, so confused about DarkTremor A2SD on CM7

I'm really surprised that there is no documentation on this thing that I can understand. I'm having major issues with CM7 with DT A2SD. Every one of my widgets is broken. I can't tell what's installed to EXT and what's not. If I go into Manage Applications, all of the widget apps are installed to phone. I have next to zero internal space left.
I need to know how I can differentiate what's on internal, what's on Froyo SD, and what's on DT A2SD - As well as how to move them and tell where each app is going.
i honestly wish i knew. this is on my list to do, but i didnt feel like formatting my memory card cause there's so much on it, so i am just hoping gingerbread improved method will give me enough space.
i wish there was a tutorial or wiki for DT A2SD. you prob should just read that whole thread and it is explained there somewhere.
Some quick commands executed from adb shell or even the terminal on the phone can give you some more information:
a2sd check will give you basic diagnostic information from the DT a2sd script - this will reveal what is running where (apps on /sd-ext, data location, etc).
ls -al /data will help you understand what a2sd actually does for you. If a2sd is set up correctly, you should see an entry similar to "app --> /sd-ext/app", which indicates your /data/app directory is symbolically-linked to your /sd-ext partition (the ext-formatted partition on your SD card). This makes Android see /sd-ext/app and /data/app as the exact same thing, and everything within that folder will actually reside on the /sd-ext partition. The same thing applies to the dalvik-cache.
You can find out more about using a2sd via the a2sd help command, which shows an easy-to-understand listing of the various a2sd commands available.
All the documentation is in DarkTremor's thread.
There is no choosing in A2SD. If it's installed - all apps that are shown as "internal" go to EXT partition. But the phone doesn't know it, and you won't see it in OS visually in any place.
You can choose if you're sending your app data and your Dalvik-cache to SD also, that you can do from the Terminal (command line).
I should probably mention that all apps that are installed to SD using stock Froyo method, remain there - and cause a waste of space. So using A2SD you should move ALL your apps to "internal memory" (substituted with EXT partition).
This is a handy link for Darktremor users...
http://www.facebook.com/note.php?note_id=158826790833326
Sent from my Nexus One using XDA App
Hmm.. maybe I should had included some more info.
If I use Root Explorer and check my sd-ext folder, it does have apps within, and from install date I can tell they're from my CM7 install (plus I wiped everything including SD-EXT before flashing anyway). The problem is that some of these apps are things I do NOT want on SD-FAT or SD-EXT, I need them on internal (basically anything that I use with widgets, and LauncherPro). Pretty sure having widgets on EXT is what's causing my home screens to **** the bed.
Checked Install Location, right now that's set to Automatic.
If I go to Manage Applications, these apps appear to be on internal (Move to SD card is available on the button). I've read the FB page and original thread, I still see no way to differentiate between Internal, SD-FAT and SD-EXT - or how to move them between with certainty.
/sd-ext is the same as internal for all intents and purposes. You don't choose what apps to run off of /sd-ext, they all do. This is not causing your widget issues.
If you use DT a2sd, "Internal" becomes synonymous with "sd-ext". They are one and the same.
You SHOULD, however, move all of your apps off of SD-FAT - that is the implementation of "apps to sd" that breaks widgets.
Ok, I moved all of my apps off of SD-FAT and back to internal.. seems to be going well so far. The only thing I'm curious about now is that I didn't really get any space back, I still only have 21MB free (cleared browser and market cache as well). I've obviously messed something up somewhere along the line. Any ideas? I'm such a n00b at this apparently.
I really appreciate the help thus far guys!
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Jack_R1 said:
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Click to expand...
Click to collapse
On that note, moving the dalvik-cache is generally a better idea than moving /data/data. Better stability and compatibility and whatnot. Only bother with moving /data/data if you really really need the space.
You can move the dalvik-cache to sd with the a2sd cachesd command in either the terminal or adb shell.
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
level5music said:
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
Click to expand...
Click to collapse
Glad to help

[Q] Delete system apps and use free memory for other apps

I searched the forums for quite a while but couldn't find an answer to this question, so here I go:
Is it possible to use the space freed up by deleting system apps (like Motonav) for installing own Apps (e.g. memory hogs like Swype or the Flash Player)?
Not 100% sure but I just downloaded titanium backup from the market backed up those unwanted apps then uninstalled. That should free up space for what you want be careful what you uninstall though.
Sent from my SGH-T959V using XDA App
Eiertschik said:
I searched the forums for quite a while but couldn't find an answer to this question, so here I go:
Is it possible to use the space freed up by deleting system apps (like Motonav) for installing own Apps (e.g. memory hogs like Swype or the Flash Player)?
Click to expand...
Click to collapse
THe partition where those system apps are installed is not the same partition where apps you download are installed, so, if you free some space there, it won't affect free space at all.
But, you can move applications from /data/app to /system/app (if you mount /system/app as read/write), just move them and reboot the phone, but, before moving, please make sure that there is enough free space on /system by typing on adb shell or a terminal emulator:
df /system
If there is enough space, just go ahead, move the apk to /system and save some space in /data, BUT, and there is always a BUT... Any updates to that application will occupy space in /data again, so, everytime the APP is updated, you should delete the old APK in /system, move the new apk from /data to /system and reboot.
I'm pretty sure that Titanium Backup has this kind of functionality built in, not sure if it is pro only or if it works in the free version, but, since it did not work well the first time I've tried, I just do it manually.
P.s.: It is highly recommended that, before moving thing in or out the /system folder, you do a full NANDROID BACKUP, so you can just revert back to working condition if something go wrong (i.e.: if you delete something essential, perhaps you won't be able to load Titanium Backup and restore that back).
Sure, I added a lot of apps in system/app partition
For example I added GoSMS and GoLauncher, deleting mms and adwlauncher.
I made it because they are the most-used apps so it's better running them from internal memory rather than ext2 partition, plus I can boot the phone without SD.
The only problem, as HinotoriBR said, is that when you update an app you should move it from data/app to system/app, delete the old app version (newly installed will have a different name) and reboot.
yosif yackson said:
Not 100% sure but I just downloaded titanium backup from the market backed up those unwanted apps then uninstalled. That should free up space for what you want be careful what you uninstall though.
Click to expand...
Click to collapse
You're right, that DOES free up space on /system partition, but it's not enough to use the free space for other apps
HinotoriBR said:
THe partition where those system apps are installed is not the same partition where apps you download are installed, so, if you free some space there, it won't affect free space at all.
But, you can move applications from /data/app to /system/app (if you mount /system/app as read/write), just move them and reboot the phone, but, before moving, please make sure that there is enough free space on /system by typing on adb shell or a terminal emulator:
df /system
If there is enough space, just go ahead, move the apk to /system and save some space in /data, BUT, and there is always a BUT... Any updates to that application will occupy space in /data again, so, everytime the APP is updated, you should delete the old APK in /system, move the new apk from /data to /system and reboot.
[...]
Click to expand...
Click to collapse
I installed Swype and moved com.swype.android.inputmethod-1.apk to /system/app using Root Explorer and it still worked without rebooting the phone.
Maybe because input methods are always active in the background so it didn't notice the moving?
I restarted anyway (because otherwise it doesn't update the free memory information in Settings) and et voila: more than 10MB extra space.
Now Swype is still listed in the "All Apps" tab of app management but with a mere 2MB.
I guess that's user settings, dalvik cache and other stuff - so I better not move it...
One last question:
How much free space should remain on /system partition?
Is it also used to cache stuff or can I fill it all the way to the top?
downloadman said:
Sure, I added a lot of apps in system/app partition
For example I added GoSMS and GoLauncher, deleting mms and adwlauncher.
I made it because they are the most-used apps so it's better running them from internal memory rather than ext2 partition, plus I can boot the phone without SD.
[...]
Click to expand...
Click to collapse
Since I'm not using an ext2 partition on my SD card it should make no difference if an app is in /system or /data when it comes to performance, shouldn't it?
THANKS TO EVERYONE
Eiertschik said:
Since I'm not using an ext2 partition on my SD card it should make no difference if an app is in /system or /data when it comes to performance, shouldn't it?
Click to expand...
Click to collapse
I suppose you're right. Or maybe SD speed is faster than internal memory, who knows... but surely reading internal memory uses less battery power than reading microsd.
An ext2 partition is really useful if you install a lot of apps.
As my SD card is only Class2 (was bundled with the phone) I doubt it would be faster than internal memory.
Up to now I was able to install all the apps I really needed without an ext2 partition - so I think the /system-trick will give me more space than I really need
But thanks anyway - I'll get back to it when I'm keen enough to use custom roms and ext partitions
Eiertschik said:
One last question:
How much free space should remain on /system partition?
Is it also used to cache stuff or can I fill it all the way to the top?
Click to expand...
Click to collapse
Since partition is mounted as read only usually, it means that partition is not used to cache or store any app data. All data and cache of /system applications goes to /data (which, as you observed, still has some space being used by the moved application). So, you should be able to fill /system (or get close to fill it) and have no issues.
If you don't use any modded rom, you can use Androidiani Open Recovery and use some space that is left for OTA transfers to store cache data (there is a specific partition with 100+ MB of free space used just for that, to store a firmware upgrade received OTA), it is known as "Memhack" and free up more space. As far as I know, many mods as CM7 already have this "Memhack" built-in.
HinotoriBR said:
Since partition is mounted as read only usually, it means that partition is not used to cache or store any app data.[...]
Click to expand...
Click to collapse
Maybe that was too obvious for me to figure out
HinotoriBR said:
[...]
If you don't use any modded rom, you can use Androidiani Open Recovery and use some space that is left for OTA transfers to store cache data (there is a specific partition with 100+ MB of free space used just for that, to store a firmware upgrade received OTA), it is known as "Memhack" and free up more space. As far as I know, many mods as CM7 already have this "Memhack" built-in.
Click to expand...
Click to collapse
I already use AOR to root my 2.2.1 stock ROM.
This memhack sounds very interesting... might consider it because I don't really expect any further Milestone update from Motorola.
Sounds more reliable than an ext2 partition on SD card - since I don't really trust my card...
If I do this Memhack and for whatever reason Moto will release an update - will I still be able to do it using a PC?
Eiertschik said:
Maybe that was too obvious for me to figure out
I already use AOR to root my 2.2.1 stock ROM.
This memhack sounds very interesting... might consider it because I don't really expect any further Milestone update from Motorola.
Sounds more reliable than an ext2 partition on SD card - since I don't really trust my card...
If I do this Memhack and for whatever reason Moto will release an update - will I still be able to do it using a PC?
Click to expand...
Click to collapse
The memhack will move the cache from the /data partition to that specific partition for OTA upgrades. So, as your cache grows larger, your /data (free internal memory) will not decrease. This saves internal memory space that would otherwise be used for cache (not sure if application data is moved there too).
As soon as you start hacking the stock rom, it is not recommended to try to update directly the phone, if Motorola ever releases a newer version, recommended steps:
- Titanium Backup all your Apps/Data
- Flash a stock SBF (2.0/2.1/2.2, doesn't matter) in your phone, wipe all data/cache
- Use Motorola Software Update to upgrade the software to the new revision
- Afterwards, as soon as update is done and phone boots, you can flash vulnerable recovery and then through Open Recovery or Androidiani Open Recovery hack the hell out of your phone again (ie.: root, memhack, overclock, etc)
- As soon as you get root, use Titanium Backup to restore your Apps/Data
Or, you could always wait for someone to release a Nandroid Backup of the new rom, as is usual in the Android Development section, and simply use that Nandroid Backup (alway Titanium Backup your apps/data b4), wipe everything after update, and then use Titanium Backup to restore your Apps/Data
HinotoriBR said:
P.s.: It is highly recommended that, before moving thing in or out the /system folder, you do a full NANDROID BACKUP, so you can just revert back to working condition if something go wrong (i.e.: if you delete something essential, perhaps you won't be able to load Titanium Backup and restore that back).
Click to expand...
Click to collapse
I wish I read that 5 minutes ago... lol !
skribzy said:
I wish I read that 5 minutes ago... lol !
Click to expand...
Click to collapse
Being a Motorola phone, you can always find the SBF related to your phone and use RSDLite to flash it. Milestone, to enter boot mode and then use RSDLite to send a SBF ( http://and-developers.com/sbf:milestone , if you are a Droid user, probably there is somewhere else to find it, if you are milestone user, try to use a version close to whatever you had), just power it down, hold dpad up, and with dpad up pressed you power the phone. You will see some writting about the boot loader, your phone is ready to be connected in our PC and you can flash it using RSD Lite.
HinotoriBR said:
Being a Motorola phone, you can always find the SBF related to your phone and use RSDLite to flash it. Milestone, to enter boot mode and then use RSDLite to send a SBF ( http://and-developers.com/sbf:milestone , if you are a Droid user, probably there is somewhere else to find it, if you are milestone user, try to use a version close to whatever you had), just power it down, hold dpad up, and with dpad up pressed you power the phone. You will see some writting about the boot loader, your phone is ready to be connected in our PC and you can flash it using RSD Lite.
Click to expand...
Click to collapse
Yea, cheers, it was a school boy error! I was thinking to myself must do a nandroid before I start tinkering and totally forgot! All back to normal and backed up now
I was seeing if I could swap out the stock dialer with dialer one in system/apps... Milestone didnt seem to like it at all! I assume apps like dialer one are dependant on the existance of core apps. I did manage to get rid of the 3D gallery and replace it with quickpic.
Theres loads in system/apps that I simply dont need like 'LiveWallpapersPicker.apk' which I assume I can just get rid of - I will give it a go and see what comes crashing down!
S

[Q] HELP TY

CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.

[q] help! Can't clear phone data

Ok, long story short, I have 113MB of 'system data' in my /datadata folder (66% full), and I want it gone.
But I can't get rid of it... I've tried a full clean install, I've tried manually formatting /datadata from CWM, and I've also tried formatting boot, cache, data, datadata, and system from CWM followed by a fresh install (Kang 12/17).
My wife has the same phone and ROM and she only has 26% full in /datadata. I can't - for the life of me - figure out how to completely clean /datadata.
One thing I noticed in terminal emulator is that the data in /data and /datadata is about equal to what is listed in /system. However, formatting /system did not clear it out.
Please help as this is driving me insane!
Isn't datadata based on your apps? Like dalvik? I think ur wife just has less apps.
mbc663 said:
Isn't datadata based on your apps? Like dalvik? I think ur wife just has less apps.
Click to expand...
Click to collapse
I thought so to, but even with no apps (nothing but what comes with the ROM) I have 3x what she has... and she has what comes with the ROM plus all her other apps.
If it does have to do exclusively with the apps, I'm more than willing to do everything step by step to figure out which app(s) cause my issue, but in order to do that I need to be able to clear the folder of everything except what true system data is necessary and start from square 1.
/datadata is apps settings and data. A little more info might help...
b-eock said:
/datadata is apps settings and data. A little more info might help...
Click to expand...
Click to collapse
What kind of info do you need, and I'll try and supply it. I'm trying to do a clean install so that all of those app settings and data are starting from scratch. Factory resets didn't do it, formatting the folders through CWM didn't do it...
I must be missing something... but I can't figure out what it is.
Some basic background:
Most recently on the 12/17 Kang (CM7.2 RC0) with the glitch v13 (2.6.35.13) kernel and Gapps 08/28
For the just completed testing I only flashed Gapps (08/28) and the 12/17 Kang so I could see if anything I did worked on clearing /datadata.
Other than that, the only modification I've done to my phone is the modem is KG3 i9000.
Have u tried Titanium Backup Pro app ??
4-2ndtwin said:
Have u tried Titanium Backup Pro app ??
Click to expand...
Click to collapse
I haven't... I have the free version currently. Would the pro version do all of this stuff?
The free version should do for deleting data and removing apps.
Sent by XDA Premium App
I'll go out out on a limb here but try backing up your sd card and formatting it?
mbc663 said:
I'll go out out on a limb here but try backing up your sd card and formatting it?
Click to expand...
Click to collapse
I had thought of that too... once formatted and I reinstall the ROM and stuff, is it easy enough to just copy those folders back on the phone? That was the one thing I was worried about... and thus I hadn't tried yet.
Formatting always makes me nervous
Are you encountering any issues with it being that full? Or is this just to satisfy your ocd?
theyurtingyeti said:
I had thought of that too... once formatted and I reinstall the ROM and stuff, is it easy enough to just copy those folders back on the phone? That was the one thing I was worried about... and thus I hadn't tried yet.
Formatting always makes me nervous
Click to expand...
Click to collapse
As simple as dragging and dropping files. Also nice to start fresh every once in a while to clear out junk from old apps.
I'm getting ready to format my SDcard and start all over... but if I format my SD card, I'll no longer have my ROM zips there to flash. I put the ROMs on my external SD card (emmc), but in CWM I can't mount emmc to make sure they are there to flash when I format my SDCard...
How do I get my ROM flashed again once I format my SD card?
EDIT:
Doing more research it appears that I should be able to format my SD card w/o losing my ROM as long as I leave my boot and system folders alone.
So, if I format /data, /datadata, and /sdcard I should be able to reboot and see if it worked
studacris said:
Are you encountering any issues with it being that full? Or is this just to satisfy your ocd?
Click to expand...
Click to collapse
I am encountering issues with it being that full. I have like 70 apps with approx 38MB of data taken up... combined with the large amount of 'system data' in the /datadata partition I'm running into the issues when that folder gets to 90% capacity.
It's at the point that I can't install new apps that save any data at all or I will have to constantly shuffle which apps can save their data. Doing research I found that the 172MB cap shouldn't be an issue unless you are hording apps... I have a small number of apps with a small amount of data, so things should be better
Thanks for all the suggestions...
But so far nothing has worked.
I formatted the SD card along with data and datadata and rebooted the phone.
My /datadata folder was still listed at 66% full. So formatting nearly everything still couldn't clear this folder.
I'm still boggled why the other captivate started with 8MB system data and I start with 113MB, both on a clean install...
Perhaps my only hope is to clear stuff out again and flash ICS and hope that something is different enough that this 'problem' goes away...
An additional thought
Would I be able to delete the /datadata folder through Root Explorer, reboot into recovery and reflash the ROM?
I would assume the ROM will repartition the phone correctly. System data can't exist in a folder that doesn't exist - right?

[Q] not enough space can help link2sd?

hello , my question is can i make 2. partition for link2sd?
i tryed this with 3-4gb and ext4 but when i linking apps all works fine but when i restart the phone all apps are away,
i fount it with root explorer but not more on phone. must i maby make format in fat32 is this the difference???
or give a another change to make more space i have 32gb sd cart , for nothing??? baldurs gate, assasins pirates, air supremazy or gta san andreas are great games thats i need some more space
thanks for any solution thats working and help my regarts to all (sry my bad english)
Link2sd do not working from Androids 4.1 to up.
Do not ask Why or If will ever be a patch like that, I will be glad to expand the storage on my phone too but not in this way.
The only solution at the moment is use Folder Mount App.
52859942 25
eclyptos said:
Link2sd do not working from Androids 4.1 to up.
Do not ask Why or If will ever be a patch like that, I will be glad to expand the storage on my phone too but not in this way.
The only solution at the moment is use Folder Mount App.
Click to expand...
Click to collapse
yes the folder mount i tryed too but is little complication for me , wehn i will show apps i dont see all and i dont no wehre are the apps in menu
i tested one game fifa 14 but make douple download data
maybe do you can me a give step to step how that works?
Majin Oluz said:
yes the folder mount i tryed too but is little complication for me , wehn i will show apps i dont see all and i dont no wehre are the apps in menu
i tested one game fifa 14 but make douple download data
maybe do you can me a give step to step how that works?
Click to expand...
Click to collapse
Yes, when you "mount" a folder you have a double data, the moved files are the real one, the other folder (where the data was before) are the ghost once (fake), folder mount do that because the system have to read to that file.
In the moment when you unpick the folder, from green to white, the ghost files disappears. Yes, it's a bit confusional but when you learn it will be easy to use.
Remember, when a folder are mounted in Folder Mount (green pick) if you delete the ghost files you will delete also the reals one, be careful.
Apps Analyzer check for Apps to move data from internal to external, just choose the destination (exc..make a folder Games) and yes, overwrite when asked, it will move the files, then they are mounted when is green.
If you have an app and Apps Analyzer do not recognize that app just do it manually, go to List of pairs, click Plus (+), browse to the folder which you want move to SD (obb or data), choose destination and name of the application, done.
Keep testing. you will understand and check always the Internal Storage, if you see it will never go up even if you have double data as the one in internal storage is the fake one.
Click thanx for me. XP
I'm using Link2sd with pac rom (cm based 4.4) without problems. Since the latest update it can even move data to the second partition, so it basically moves everything now. Perhaps you're on stock rom that does not support init.d scripts?
Abomb said:
I'm using Link2sd with pac rom (cm based 4.4) without problems. Since the latest update it can even move data to the second partition, so it basically moves everything now. Perhaps you're on stock rom that does not support init.d scripts?
Click to expand...
Click to collapse
That is a good new but Pac Man rooms seems not stable yet and with few bugs.
Do you can mount the whole SD card as internal storage? or just the partition EXT4?
eclyptos said:
That is a good new but Pac Man rooms seems not stable yet and with few bugs.
Do you can mount the whole SD card as internal storage? or just the partition EXT4?
Click to expand...
Click to collapse
With the current Pac rom nightly I only have some camera problems, the rest seems really stable already.
Link2sd needs a second partition (which can be ext4, but also ext2/3 or even fat), so you can't use the whole sdcard.
Abomb said:
Link2sd needs a second partition (which can be ext4, but also ext2/3 or even fat), so you can't use the whole sdcard.
Click to expand...
Click to collapse
System storage remain unchanged, (11,70gb) I mean it increas after use link2sd?
when i used link2sd with nut 757 fw i can make linking apps (2.partition ext4)
but when i will install a new app say i dont have enough space but i have more than 3gb??? confused
help maybe a another rom, think thats work on ihackers 4.1 ?
eclyptos said:
System storage remain unchanged, (11,70gb) I mean it increas after use link2sd?
Click to expand...
Click to collapse
Sorry I misunderstood. With the newest version it really moves everything connected to the app to the second partition and frees up the space in the system storage.
Majin Oluz said:
when i used link2sd with nut 757 fw i can make linking apps (2.partition ext4)
but when i will install a new app say i dont have enough space but i have more than 3gb??? confused
help maybe a another rom, think thats work on ihackers 4.1 ?
Click to expand...
Click to collapse
It's a common issue if this script, I had this many times before and this make huge problems as you "maybe" can fix it by wiping Dalvik Cache but if you do that all your saved apps data cache can be losted. So I will be glad if we will be able to mount a whole SD card instead of internal memory so we will get rid of this errors.

Categories

Resources