I decided to format my card and repartition it, and I did, but before I did i pulled the "/system/sd/" onto my computer.
When the partitioning was all done, i went back to adb and pushed everything i took out back into the /system/sd.
So I throw on cm4.0.4 and turn it on and I dont see my apps. The menu>setting>sd and storage does show that my ext2 has stuff in there. But how do I get my apps back on my launcher?
That's not the apps, you have to pull the ext partition.
Have you tried "fix_permissions" from Cyanogen's recovery?
evilkorn said:
That's not the apps, you have to pull the ext partition.
Click to expand...
Click to collapse
/system/sd is the mount point of the ext partition, so the apps were pulled.
Related
WARNING: DO NOT FOLLOW THE APPS2SD AS MOST ROMS ALREADY DO THIS FOR YOU.
If you do, it will break things.
-ivanmmj
Like My Guide(s)? Donate
Here we go!
Things you need:
A Rooted G1 Phone
Cyanogen ROM - Download v4.0.2
Cyanogen Recovery 1.4 - Download
Apps2SD - Download
Clean SD Card
Note: This will remove ALL files on your SD Card so please back it up
------------------------------------------------------------------------------------------------------------------
Install the New Recovery Image
Download the recovery image
Place the cm-recovery-1.3.1.img file in the root of your SD Card (Root = not in any folder)
Go back to your phone (Dont forget to unmount)
Open terminal and type in the following
Code:
su (wait for a screen to popup and press "allow")
flash_image recovery /sdcard/cm-recovery-1.3.1.img
------------------------------------------------------------------------------------------------------------------
Install Apps2SD
Download the Apps2sd apk from above
Place the apps2sd.apk on your sd card
Download a file manager like Linda or Astro from Market (They are both free)
Go to Settings > Applications and check the Unknown Sources button
Open up the file manager you just downloaded and find the apps2sd on your sdcard
Press on the app and install the Package Installer and press on Install
Apps2sd should now be installed
------------------------------------------------------------------------------------------------------------------
Partition Fat32/Ext2 with App2SD
Open up Apps2SD
It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
I suggest a max of 600mb for EXT2 space (I use 500mb)
Press Ok
You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
You will get a reboot message, Press Reboot
You now have a EXT2 partition
------------------------------------------------------------------------------------------------------------------
Upgrading your EXT2 Partition to EXT3
Note: You do need the Cyanogen Recovery image for this to work!
Reboot into Recovery (Home + Power)
Go to console (Alt+x)
Press Enter
Type the following in the Console:
Code:
upgrade_fs
Wait for it to finish
Congrats! You now have a Fat32/EXT3 partitioned Sd Card!
------------------------------------------------------------------------------------------------------------------
Installing the Cyanogen ROM with Auto Apps2SD
Download the ROM
Rename the file from cm-xxxxxxx.zip to update.zip
Place update.zip at the root of your sd card (Root = Not in any folder)
Reboot into Recovery (Home + Power)
Wipe (alt+w)
and Flash (alt+s)
Wait for it to finish and reboot!
------------------------------------------------------------------------------------------------------------------
Congratulations! You now have a Fat32/EXT3 Partitioned SD Card with auto Apps2SD enabled. You can check if you have both partitions in Settings > Sd Card and Storage. Remember, this is Auto Apps2SD, that means the everytime you reboot it will move all your installed apps to your sd card AUTOMATICALLY!
------------------------------------------------------------------------------------------------------------------
Format your EXT3 Partition (ADB is needed)
Code:
adb remount
adb shell
rm -r /system/sd/*
reboot recovery
then flash the update.
------------------------------------------------------------------------------------------------------------------
Here is another way to partition your sd card!
Note: You will need The latest CM recovery image
This guide will partition your SD card with 32 mb swap, and 512 mb EXT4 partitions!
WARNING! This will erase EVERYTHING on your SD Card!
Note: ADB Is needed for this script to work. If you dont have ADb working please read the ADB Sticky in the Q & A Forum
Step 1:
Download the necessary files HERE
Step 2:
Place the sdparted.sh file in C:\ Note: Do not place it in any folders!
Place adb.exe and AdbWinApi.dll in C:\Windows\system32
Step 3:
Run sdparted.bat
Thats it! All done!
Thank you 51dusty for the sdparted Script!
Batch file made by me!
Great guide...again =] But this way is MUCH MORE stable.
http://forum.xda-developers.com/showthread.php?t=534714
ya i know i saw that guide. I decided to put this one up becuase it uses minimal commands and doesnt involve a lot of terminal usage and stuff. Just another way to partition i guess.
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
lazee_smurf said:
Ok I looked in settings and storage. This is what I have....sd card total 6,501mb available space 5,813mb sdcard secondary 1,048mb available space 829mb but for internal space it's showing 86mb. Did I do this process right? Is my internal space suppose to have much more space? When I download something it takes away the internal memory.
Click to expand...
Click to collapse
yup! you are all good! 86mb for a cupcake rom is perfect! Congrats!
So what goes into the secondary storage because if I download something the internal space gets used
lazee_smurf said:
So what goes into the secondary storage because if I download something the internal space gets used
Click to expand...
Click to collapse
just reboot and your app will go to your sd card.
nephron said:
just reboot and your app will go to your sd card.
Click to expand...
Click to collapse
Thanks for the help!
Greetings
I knew it all could'nt go as smoothly as the new rom install ^_^
When I try to run apps2sd wether out of astro or from the app panel, it goes to a black screen, and thats it. The phone is not locked, I just hit home (after waiting for minutes for something to happen) and I'm back at my home screen.
I did'nt think I skipped any steps. Idea's ?
Thanks for the Sticky Guide
upgrading filesystem
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
maybeoneday said:
installed app2sd it asked if I wanted to reboot, I hit reboot and now I'm stuck on the G1 screen
Click to expand...
Click to collapse
This is why you don't partition your sdcard using this. It works most of the time but not always. Wipe and reformat your sdcard. Then reflash ROM
pistol4413 said:
I have the right recovery if I upgrade from ext2 to ext3 will I lose all my apps?
Click to expand...
Click to collapse
No you will not.
sweet
alritewhadeva said:
No you will not.
Click to expand...
Click to collapse
Sweet man thanx!
ext3 slowed my g1 down
I jus upgraded my partition using this guide and my fone seems WAY SLOWER. Is there anyway to downgrade safely back to ext2 without wiping the partion clean? Or do u recomed an app I already have an overclock app.
fixed problem!
I fixed the issue. Lol I feel kinda dumb. Just has to many processes running that where eating memory.
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
rushless said:
I am lost. I have the newer SPL and JF 1.51 adp. Why all of these steps for apps2sd?
Should it not be:?
1. Format card using a partition program and create ext3 / FAT partitions
2. Install newest Cy rom
3. It automatically moves the apps when it sees the ext3 related parameters.
Why all of the steps in this thread? Am I missing more brain than I normally do?
Why would I need the 1.3.1 recovery rom? Are all of these steps if you do not already have a JF rom?
Thanks!
Click to expand...
Click to collapse
Apps2SD2 detects if your card has been formated with an ext2 partition. If not it will format your sd card for you therefor not needing a computer program. The new reocvery 1.3.1 allows you to run the upgrade_fs command to format the ext2 to ext3 and also has other features such as gparted and fix ext filesystem.
my question is this...I already have cyanogen's rom installed...I have been away from a computer and the internet for about a week so I'm still on 3.6.5...which is fine with me.
In Cyan's thread, he says:
DO NOT RUN ANY OTHER APPS2SD APPLICATIONS ON THIS BUILD. YOU WILL BREAK YOUR SYSTEM. THEY ARE NOT NECESSARY BECAUSE THIS ROM WILL DO A2SD AUTOMATICALLY AND BETTER!
Click to expand...
Click to collapse
however one of the steps to partitioning the sd card in this post is installing apps2sd..
i want to partition the card...but I don't want to break my system...am I missing something? clarification please?
So I partitioned my sd card so i would be able to automatically have apps to sd like the faqs of the cyanogen mods said, but now that i have done the process and partition my sd card 500mb ext, 34mb linux swap, not only has it not worked and the apps are still taking up memory on my phone, it is not noticing the secondary partition in the settings and when i reboot my phone, after the g1 screen and android screen, my phone just goes blank. does anyone have any input? ive wiped and reflashed the rom, now im just clueless. and if it matters, i used Paragon Partition Manager to partition my sd card.
You could re-partition it by using the console in recovery mode.
http://forum.xda-developers.com/showthread.php?t=533731
Look at the 2nd code box and follow it. This is how I did it my first time.
It is really easy.
yea the only thing is it is either saying not found, or error could not stat device dev/block/mmcblk0 no such file or directory. so im stuck i cant even format my card and get back to 8 gigs its sayin 6.06 gigs. ionno im stuck.
Can't you use your partition manager to delete the partitions you made? Then just make 1 partition: fat32, then use the code on the link.
I use paragon Partition mgr. and that is an option to use.
If you partion your card after flashing your rom, then you must reflash your rom for changes to take effect. You have to do that so the system can change the way it runs
Oops sorry, I just reread your first post and saw that I missed that you did reflash. Try going into your recovery console and type ums_enable to mount your card and than try downloading gparted and try to reformat that way, when you are done type ums_disable to unmount. Have you tried taking your sd out when you try to boot up just to see if you can get past, it is possible that your sd corrupted
its ok thank you both, i used the recovery erase all partitions and im gonna read the second box and partition threw the console instead of on the manager.
I just had the same thing happen to me earlier today. I have the 404 Cyanogen MOD and now my SD card is stuck. I can't figure out how to get rid of that partition. All of the directions are not step by step. And this rookie is stressed out. Please let me know where or which directions you used to format your SD.
surfereddie said:
I just had the same thing happen to me earlier today. I have the 404 Cyanogen MOD and now my SD card is stuck. I can't figure out how to get rid of that partition. All of the directions are not step by step. And this rookie is stressed out. Please let me know where or which directions you used to format your SD.
Click to expand...
Click to collapse
To get it back to just a fat32 partition.... THIS WILL WIPE ALL DATA ON YOUR SDCARD!!!! MAKE A BACKUP OF FAT32 also this will only work with 1.3.1 and up cyanogen recovery image
boot into recovery and go to the recovery console and type
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3 (if you have a linux-swap partition)
print (after the 4th or 5th line there is a number after a line that reads disk size or something and that will be the end value for the next command. Sorry on my g1 now)
mkpartfs primary fat32 0 xxxx(substitue with number above)
quit
reboot recovery
Then reflash your rom. That will clear all partitions of your sdcard and leave you with one whole partition that is fat32.
Ok well I currently use cyans rom but i also like to test ROMs like hero and such and i was wondering if i could access the ext3 partition on ubuntu and manually put my apps back from my BART backup on to the ext3 partition. The problem is when im in ubuntu it won't let me browse the ext3 partition. I tried backing up ext to fat32 and restoring from fat32 in console after flashing a different ROM but it ended up erasing the apps from the new ROM. Please help im tired of flashing to a hero rom and then manually installing each apk from my old ROM
On the phone under Settings, applications, development, is USB debugging checked?
When you plug your phone into you ubuntu box, does the phone show the usb icon in the top bar? If it does, did you pull down the top bar and click the "USB CONNNECTED" choice?
If you do that it should mount you fat and ext partitions. If it doesn't..... I'll have to think about it.
yea ive mounted the phone and everything in ubuntu but when the ext3 partition is mounted it disappears. I think i found a way tho. Backup apps from ext3 to fat32 in recovery and then wipe and flash new rom and after rom boots up reboot to recovery and restore apps from fat32 to ext and then update the same rom image again
So if I have a few roms that I save with switchrom and then I decide to backup my sd to my computer.....
Then format my sd card in a different way (ie used to be ext2, now I want ext4)
And then I copy the files back onto my sdcard after the repartition....will I be able to restore those switchroms?
Because from what I have tried...it usually doesn't work...(I forget the exact error message) is there some command I am forgetting in between?
I have done this with BART, which is basically switchrom with a few modifications...
Here is what I did just the other day:
Reboot into recovery (Amon-RA)
Drop down into console
Run :
Code:
bart -s myRomName
After completed, type
Code:
reboot recovery
Then choose to Mount the SD card and copy everything over to your PC
Once completed, un-mount the SD card and then move onto partitioning...
I went from 128MB swap to 256MB swap
I went from 640MB ext2 to 1024MB ext2
After that, I upgraded to ext3... I have heard that ext2 is better, but every
time I use that format, my SD card gets corrupted in a matter of days.
(Hence the reason why I sent through this process recently.) I will "three
finger salute" the phone at times due to a hanging app, from the countless
ones that I download to try out, so this might be causing the problem.
After the upgrade, mount the SD card and copy your FAT32 section back.
Drop down into the console and type
Code:
bart -l
You should see the ROM that you just stored...
Type
Code:
bart -r myRomName
Once completed type
Code:
reboot recovery
Then go the Wipe section and Clear the Dalvik cache...
Finally reboot...
I have done this numerous times on both my and my wife's G1... I have also
done the above steps keeping the same sizes of the partitions and moving
from ext2 -> ext3 -> ext4 to give each of them a try...
Using BART will only back up the files on the ext partition, not the filesystem...
It is like a fresh install... At least that has been my experience with it...
Cool well I might use Bart then instead of switchrom since it seems to have worked for you without any hiccups.
Essentially I am doing the same process as above except with switchrom rather than bart (although i have used all 3 forms of backup in Amon Ra's Recovery)
Just wanted to make sure there wasnt some special command in console to fix something outta whack.
I figured my method would work but for some reason it doesn't like the repartitioning of the sdcard in between switchrom -s and switchrom -r
Thinking it might have been a fluke.....
Yep, I had to migrate my switchROM folder when I got my new SD Card and had no issues.
f your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
im confused with this internally what do i do because i am lost
rulyskull said:
f your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
im confused with this internally what do i do because i am lost
Click to expand...
Click to collapse
In recovery, go to (i think) other.. Move all apps to fat32, (backup ups to sdcard). Then go to Usb toggle in recovery and move everything to your computer once that is done.. Go to recovery, click partition sdcard, swap 0, ext 512, the rest fat32, once it finishes, click ext2 to ext3.. After thats done, go back to usb toggle, move everything back to the sdcard.. Then in recovery go back to Other (i think its where its at) and click restore apps to ext3.. It will move all the apps you moved to sdcard back to ext partition.. After that i would just run fix uid mismatches. Then reboot phone.
EDIT: READ MY POST 2 post down for THE REAL INSTRUCTIONS.. me skipped a step
OHHHH JUST KIDDING
type this into command prompt while in recovery
adb shell
u
Just the letter u.. then do the last steps that i said
When you see what comes up im guessing you will know what to do. Its pretty simple
Jus10o said:
OHHHH JUST KIDDING
type this into command prompt while in recovery
adb shell
u
Just the letter u.. then do the last steps that i said
When you see what comes up im guessing you will know what to do. Its pretty simple
Click to expand...
Click to collapse
lol yeah i like your OHHHHH JUST KIDDING that made me laugh but like i said thanks for walking me all through this....literally