Alternative to lucid rem - G1 Android Development

http://forum.xda-developers.com/showthread.php?t=462882&page=8
in case nobody knows.
download batch files and extract to tools folder in the sdk and follow readme.txt
i think this method allows you to download new apps and not have it effect the internal memory
i will try this soon because lucidrems method is a little disapointing that the internal memory still keeps draining even after doing the steps correctly.
if he fixes this then im sure everyone will be happy

It's the same method, including the optional step of moving the whole /data/data partition over, just some batch files to do it for you.

blacktortilla said:
http://forum.xda-developers.com/showthread.php?t=462882&page=8
in case nobody knows.
download batch files and extract to tools folder in the sdk and follow readme.txt
i think this method allows you to download new apps and not have it effect the internal memory
i will try this soon because lucidrems method is a little disapointing that the internal memory still keeps draining even after doing the steps correctly.
if he fixes this then im sure everyone will be happy
Click to expand...
Click to collapse
not to sound rude .. but if you knew the process you'd know that the internal memory will continue to drain no matter which method you choose .. they all do the same thing .. you can always try my "copy.sh all" script if you feel so inclined .. the more you move off the phone the more unstable it can become .. the "copy.sh all" is the only way i know to maintain maximum internal space on the phone .. you also have to realize this is not "memory" as people think in terms of RAM when you mention that word .. the space where apps are located in /data is in terms of HDD space for file storage .. there is a measure of cache files and temp files i'm sure that need to utilize the phone as well
now i'm not trying to down your process .. i'm sure it's great .. but the moving of /data/app and /data/data in the end is always the same result .. my goal was to eliminate the need for the SDK and hooking up to a computer
just as a side note .. i personally ran "copy.sh all" and then "copy.sh mount" and then you can take a look at available space .. mine was "1.4G"

LucidREM said:
not to sound rude .. but if you knew the process you'd know that the internal memory will continue to drain no matter which method you choose .. they all do the same thing .. you can always try my "copy.sh all" script if you feel so inclined .. the more you move off the phone the more unstable it can become .. the "copy.sh all" is the only way i know to maintain maximum internal space on the phone .. you also have to realize this is not "memory" as people think in terms of RAM when you mention that word .. the space where apps are located in /data is in terms of HDD space for file storage .. there is a measure of cache files and temp files i'm sure that need to utilize the phone as well
now i'm not trying to down your process .. i'm sure it's great .. but the moving of /data/app and /data/data in the end is always the same result .. my goal was to eliminate the need for the SDK and hooking up to a computer
just as a side note .. i personally ran "copy.sh all" and then "copy.sh mount" and then you can take a look at available space .. mine was "1.4G"
Click to expand...
Click to collapse
thanks for the info. and i wasnt trying to bag on you i know you contribute alot and its appreciated. your method is obviously easier but what i still dont get is.
1. when i do copy.sh app this doesnt move the apps to the sd? or is this just a link to the sd so that when the internal storage is used it starts puting them on the ext2 partition?
2. does copy.sh all move everything to the sdcard?
3. what does copy.sh mount do?
4. 1.4g of ext2 sd space? or of internal storage space that is shown under sd and storage in settings?
thanks
never mind i figured it out. but from what i read, copy.sh all makes your phone go really slow i would have thought so. thanks lucidrem

Related

What can we move to /sytem/sd (ext2 partition)

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

Storage and Files

Right away I want to say I am sorry because I am sure this question has been answered already but please understand sometimes you don't know how to property ask a question to get proper answer I'll try this now and because you are real people and not search engine you'll understand
1. I have Samsung Vibrant and I like to know is it possible to just move everything from Android\data on internal to Android\data on external card. I tried to go to manage and move programs and from what I understand phone moving only program itself and not huge content folder that under Android\data. So this is my first question it is possible to move ?
2. I am using CM7 and for very long time I want to clean everything I got in my phone yet when I am doing reset cache and wipe user data EVERYTHING stays in there I mean how does this work at all ? Yes OS goes out but all my game files , pictures even some videos stays in there as well as folders from old programs and stuff. So my question is if I got to let's say Windows explorer and just ctrl+a everything and hit delete what will happen ? I mean basically my main goal is to get everything out form my phone EVERYTHIN,G is it possible ? Like with external I guess I can format it outside phone or even inside but how about internal ? I have about 140 folders in there right now half are .foldername and other half just some garbage programs and files that no longer in use.
I hope this is not too much boring read and thanks in advance !
I would hook it up to the computer and format both, then wipe in recovery. Then, I would think u would be fine. Tell me if you still have files.....
Thank me if this helped!
Sent from my XT862 using XDA App
Just format both drives ? Will it destroy OS or it;s in like ROM that not visible to me. Anyhow another question. It took me some time to get this game content and game saves going can I save it before I format ?
Thanks
it will erase everything but the os. Yes all roms and backups will be gone. Everything will be erased. Probably just best to restart.
Sent from my XT862 using XDA App
Nice Thx !
How about second part of the question is it possible to move "content" folder from games from internal to external storage ?
russiandivxclub said:
Nice Thx !
How about second part of the question is it possible to move "content" folder from games from internal to external storage ?
Click to expand...
Click to collapse
That really depends on the developer, if there is code to find the Data in the path to the external sd.
I would guess that most apps will not work by just moving the data to the ext sd.
You could try moving the directory and creating a symlink from the internal folder to the external one, so when the files are looked for on the internal sd, the ones on the external are automaticly used.
I would just find a random app and try it out, there is not much that could go wrong. In the worst case you just reinstall the app.
russiandivxclub said:
Nice Thx !
How about second part of the question is it possible to move "content" folder from games from internal to external storage ?
Click to expand...
Click to collapse
As said above, it really depends on the developer. I would only move them if they give the option or do it by going to settings and application. I would look up if the data can be moved though.
Sent from my XT862 using XDA App

900mb free but low on space. need help

Hello,
Just bought new SD-card. According to titanium backup theres 12mb free phone storage and 1gb ext4 partiton (982mb) free space, but still i get Low On space and cant install any apps. What should i do ?
MisterMonitor said:
Hello,
Just bought new SD-card. According to titanium backup theres 12mb free phone storage and 1gb ext4 partiton (982mb) free space, but still i get Low On space and cant install any apps. What should i do ?
Click to expand...
Click to collapse
The 12MB phone storage is what's killing you. In 'Manage Apps' under 'Settings', you can click on each individual app and send some of the larger ones to the SD card. You can also try clearing data for the Facebook app, which can hold a lot of data due to contact photos if you use it.
Just for curiosity's sake, what phone are you using?
Im using HTC Desire.
I understood that due to 12mb phone storage i get Low on space, but i made ext 1gb partition, so shouldnt now phone storage expand and became 12mb+1gb ?
All my apps are on sdcard, and no facebook app.
I made 1gb partition why its not helping ?
MisterMonitor said:
Im using HTC Desire.
I understood that due to 12mb phone storage i get Low on space, but i made ext 1gb partition, so shouldnt now phone storage expand and became 12mb+1gb ?
All my apps are on sdcard, and no facebook app.
I made 1gb partition why its not helping ?
Click to expand...
Click to collapse
It sounds like you don't have apps2sd installed, or that the ext4 partition isn't recognised properly. I remember it was particularly fussy about whether the ext4 part was the first partition in the table or not, I'm not sure if this is still the case
Sent from my HTC Vivid
With previous SD card, There's 12mb free internal storage and 134mb a2sd free, 238 a2sd occupied.
So i really dont understand now :/. This partition is working but not all space in a2sd are used (134mb) free , but also 238 a2sd occupied. So its working, so why i get Low on space :/ .
On new card I made 1gb partition and 0 occupied.
And i cant run restore in titanium backup, because it shows there's no space, but i adjusted to write everything to external storage in titanium backup settings.
Please help, because now i bought a new card and cant use it :/ .
I see what you're trying to do now
The phone will never show that you've added to phone storage, because you can't. Adding an SD partition won't increase your phone storage at all, it just gives you a place to put all your apps so they don't take up your actual phone storage.
There is something on your phone taking up the ~150MB phone storage. It may be contact photos, it may be SMSs/MMSs, it may be camera pictures and videos (if you haven't set the camera to save to SD by default). You've already moved your apps so it's not those. You need to go through all your apps and see how much each is individually using (in 'manage apps').
Pay particular attention to 'contacts storage', 'calendar storage' etc as they are usually the hogs in my experience, and you can't move them. If you sync your Facebook contacts with your phone, the photos and details can easily use over 200MB.
Thank you very much for helping me ).
I understood about memmory usage. Cleaned almost everything in phone memmory, but still 18mb left.
Its just a new SD card and so many problems. Now apps cant find root access, watahell ? My phone was always rooted .
Please someone help to fix problems, i want to use my new SD card.
1. Something happened to root. Titanium gets root rights. I BusyBox installer shows that my phone is rooted, but when i push install busybox it fails .
In titanium backup i press "Problems?" and it offers to updade superuser. I press Update superuser and imedietly get force close.
I really apreciate if someone help me :/ .
Try rooting again. If you're S-OFF already, SuperOneClick will make mincemeat of your Desire in one click (link in my signature)
As soon as something goes wrong with root, you need to have another try at it. If you get an error, post it here and I will help if I can

[Q] Can't move apps with Link2SD

I have tried to move apps to sdcard with Link2SD and other similar apps. It fails and says that I can't move them because my device has a primary external storage which is emulated from the internal storage.
Here is a screenshot of the message
Howdy!
as far as I have found out (and been following this problem on and off since I got my plus a few months ago) there is no proper way to move apps to your SD card. Best solution (and the one I am using) is to partition your SD Card then use Link2SD to link apps on your SD. You can set it up to do so automatically for every new app you install. As for partitioning I found this guide the best since I'd never attempted it before but it works really well.
http://forum.xda-developers.com/showthread.php?t=2126363
Good luck and hope this helps a little!
Thanks a lot
lance2355 said:
Howdy!
as far as I have found out (and been following this problem on and off since I got my plus a few months ago) there is no proper way to move apps to your SD card. Best solution (and the one I am using) is to partition your SD Card then use Link2SD to link apps on your SD. You can set it up to do so automatically for every new app you install. As for partitioning I found this guide the best since I'd never attempted it before but it works really well.
http://forum.xda-developers.com/showthread.php?t=2126363
Good luck and hope this helps a little!
Click to expand...
Click to collapse
Do we need to root phone for that?
If yes then what's the point of making partitions.
Sent from my GT-I9105 using xda app-developers app
fayez107 said:
Do we need to root phone for that?
If yes then what's the point of making partitions.
Sent from my GT-I9105 using xda app-developers app
Click to expand...
Click to collapse
Well, my phone was rooted anyway but I think Link2SD needs it. As to why exactly it needs to be partitioned I can only tell you that when my card wasn't partitioned as suggested in the guide I linked then Link2SD wouldn't even offer to link the apps. I am no expert as I pointed out but this was a solution that worked for me. It may well be someone else found something better that doesn't require partitioning. To my knowledge doing things this way requires root AND the partitioned SD card.
lance2355 said:
Well, my phone was rooted anyway but I think Link2SD needs it. As to why exactly it needs to be partitioned I can only tell you that when my card wasn't partitioned as suggested in the guide I linked then Link2SD wouldn't even offer to link the apps. I am no expert as I pointed out but this was a solution that worked for me. It may well be someone else found something better that doesn't require partitioning. To my knowledge doing things this way requires root AND the partitioned SD card.
Click to expand...
Click to collapse
Did you try Apps to SD? Ill be rooting very soon and see what happens. If none works then last stop would be to make partition.
Okay I did root my phone successfully. Still cant move apps. Now going to do this partition system. Hope it works !
fayez107 said:
Did you try Apps to SD? Ill be rooting very soon and see what happens. If none works then last stop would be to make partition.
Okay I did root my phone successfully. Still cant move apps. Now going to do this partition system. Hope it works !
Click to expand...
Click to collapse
Yeah, I tried Apps to SD as well but without success. You get exactly the message as the OP said here http://forum.xda-developers.com/showpost.php?p=42863865&postcount=2
Same goes for Link2SD however once you partitioned it at least offers you to link the apps. But like I said that only happened after I did the partitioning. Beforehand it would not even offer that.
I am not entirely sure what or why Samsung did what they did in kinda blocking the moving of apps to an external card but it it really blows considering that you only get a somewhat limited amount of storage to begin with.
lance2355 said:
Yeah, I tried Apps to SD as well but without success. You get exactly the message as the OP said here http://forum.xda-developers.com/showpost.php?p=42863865&postcount=2
Same goes for Link2SD however once you partitioned it at least offers you to link the apps. But like I said that only happened after I did the partitioning. Beforehand it would not even offer that.
I am not entirely sure what or why Samsung did what they did in kinda blocking the moving of apps to an external card but it it really blows considering that you only get a somewhat limited amount of storage to begin with.
Click to expand...
Click to collapse
Hello again brother. Same here. Before partitioning there was not any option to create link even.
I did the partitioning stuff did work. I can successfully transfer my apps into the ext2 partition i created. (Btw which partition format did you go with?)
How ever I believe folder mount is still a better option as it does not require you to create partitions and works directly such as you enter a brand new card without partition and move apps into card and then it links it. But the only drawback is you need to purchase the app :
fayez107 said:
Hello again brother. Same here. Before partitioning there was not any option to create link even.
I did the partitioning stuff did work. I can successfully transfer my apps into the ext2 partition i created. (Btw which partition format did you go with?)
How ever I believe folder mount is still a better option as it does not require you to create partitions and works directly such as you enter a brand new card without partition and move apps into card and then it links it. But the only drawback is you need to purchase the app :
Click to expand...
Click to collapse
I used ext4 for my partition. And I hadn't heard of Folder Mount until you mentioned it. Will have to check it out. Can you actually move stuff if you use that?
lance2355 said:
I used ext4 for my partition. And I hadn't heard of Folder Mount until you mentioned it. Will have to check it out. Can you actually move stuff if you use that?
Click to expand...
Click to collapse
Well ext4 didn't work for me idky though ext2 did and it worked. But creating partitions is pure junk and it would reduce the life and speed of your card (its something i believe) so I deleted the partitions and brought my card into original format.
And yes man Folder Mount is something we need ! It does exactly what both of us want. Simply move all the app data from internal memory to external memory and as soon as you move you have empty space on your internal storage and external storage is occupied. Its simple and very clear and easy to use. Just 3 clicks i believe and its done. And another good stuff is it will show you how much an app is occupying internal space and then moves it into SD card and also doesn't show important system apps to move as moving them creates problem.
There's a free version to try which would allow you to move 3 apps only and if you want more then buy the app for 2 Dollars.
Its developed by @madmack. Do check it out. The sad part for me is I dont have a credit card nor Paypal is available in my country
And i need this app badly !

Rooting and removing junk

I just started getting into rooting and such. I'm experimenting with kingroot at the moment and it seems to be working but I still can't seem to uninstall things.
I have a Samsung illusion and a moto G .I'd like to do custom roms but really all I want is to free up space. Please help
dmk1984 said:
I just started getting into rooting and such. I'm experimenting with kingroot at the moment and it seems to be working but I still can't seem to uninstall things.
I have a Samsung illusion and a moto G .I'd like to do custom roms but really all I want is to free up space. Please help
Click to expand...
Click to collapse
I can tell you are new here. It might be a bit confusing to you for now, but deleting system apps does NOT increase available space for games.
On the phone memory there usually around 5 or so paritions. Partition is basicly a part of a hard drive/SD Card. It is used for organizing files into volumes. Android phones usually have the following partitions: /data /system /sd-ext /sdcard /cache /boot and a few others depending on the brand.
The apps you download are stored on the /data partition and system apps are stored on the /system partition.
So deleting apps from the /system partition will free space in that partition only and the /data partition will stay exactly the same size so you won't get any additional space.
You could however resize /system partition and add that to the /data partition which is not only very dangerous, but might actually break your phone forever.
The best solution is using an external sd card.
Or even better, mounting the internal sd card to a folder on the external card. This means that the phone will think it's putting files on the internal sd card, but actually it's putting them on the external card.
Some apps that can do this:
Link2SD - Very nice UI, a lot of features ; Requires advenced partitioning of the external sd to work.
GL to SD - Very simple, almost always works ; to open apps that are moved you have to run them from gl to sd app
FolderMount - Works very well, just mount the apps and never need to think about it again ; A bit complex to use for an average user, outdated UI
NOTE: All of the apps may cause app loading problems and files in weird places. They may also corrupt data files but that hapends extremely rarely and only if the user did something wrong.
Well geez that's a bummer. And the moto g unfortunately doesn't have an sd slot. Even IF I can't increase download space, I still want the phone to run faster and as we both know there are junk apps that run in the background needlessly. Can you still guide me through the process to optimize functionality etc.
Thanks so much for responding
The motoG is actually running slower. I'm not seeing the point in going through all this trouble if I can't free up space and have a smooth running device.
dmk1984 said:
I just started getting into rooting and such. I'm experimenting with kingroot at the moment and it seems to be working but I still can't seem to uninstall things.
I have a Samsung illusion and a moto G .I'd like to do custom roms but really all I want is to free up space. Please help
Click to expand...
Click to collapse
for removing junk apps you need to use titanium backup.you can get it from google play store.by using it,you can uninstall junk pre loaded apps from your android device(s).

Categories

Resources