Please keep us update as I would like to buy a new 32GB SD. Thanks.
|
|
|
|
|
|
Once you are booted into CWM, remove and re-insert the sd card. It certainly should mount your card, or none of the backup functions would work.
Please keep us update as I would like to buy a new 32GB SD. Thanks.
Sorry for another question. All Google apps work fine except the Calendar. I already checked the "Sync Contacts" & "Sync Calendar" option. I got my contacts & emails, but when I click the Calendar app, nothing was there? I can't see any of my events? Please help. Thanks.
OK, so CWM has found my micro sd, and when I click 'backup' it goes through smoothly... Until it finishes backing up the cache. It gives the message,
"Could not mount sd-ext. sd-ext backup may not be supported on this device. Skipping backup of sd-ext."
Otherwise it runs fine. Haha :L Could it be because I created the second partition on my computer rather than using CWM? Taking random guesses now lol
brownbrown, I don't think you're the only one with calendar sync problems :S All I can suggest at the moment is to use a different calendar app which can sync with google calendar like CalenGoo (although it's not free)
I haven't figured out a way to get the calendar to sync. Instead, I purchased an app from the Market called Calengoo. It wasn't too expensive, and it will sync with your Gmail calendar. I think it is actually better than the stock calendar.
With regard to mounting the sd card in CWM recovery, I can assure you that it does work. I have made and restored several devices backups with CWM...I just haven't tried it with an active Link2sd secondary sd card partition. As I said, however, it should work. I will install Link2sd and correctly partition a different sd card and try it out at some point....if the others here don't beat me to it...
Allright...had to go back to the CWM build source and figure this out again. My version of CWM recovery attempts to mount the following partitions:
/boot mtd boot
/cache yaffs2 cache
/data yaffs2 userdata
/recovery mtd recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system yaffs2 system
/sd-ext ext4 /dev/block/mmcblk0p2
The two sdcard partions at /dev/block/mmcblk0p1 and /dev/block/mmcblk0 are the primary and secondary partitions that we have been talking about. As far as I know, CWM will not back up the primary partition (/dev/block/mmcblk0p1), but I was under the impression that it WOULD back up the secondary partition (/dev/block/mmcblk0). The partition at /dev/block/mmcblk0p2 would be an sd card partition formatted with the ext4 filesystem - something you can really only do if you use Linux to format your card. The ext4 partition is what it is calling sd-ext, and as it can't find a partition formatted with the ext4 filesystem on your device, it is skipping the backup.
So, this brings us back to the same spot...I know that CWM will backup and restore all of the internal memory partitions just fine. I have not confirmed that it will backup and restore the secondary sd card partition, but believe that it will. qizhen - since you already made a backup that should include the secondary sd card partition, you can easily test this. Reformat the secondary partition on your sdcard to delete the data contained in the partition, then restore your backup and see if the data reappears. If it does not restore that partition, I can try and poke around the source some more and see if I can compile another version of CWM that will work to backup and restore the data used by Link2sd.
I tried reformatting the secondary partition and restored the backup, but it didn't seem to workI tried it with both ext2 and ext4 file systems, but with ext2 CWM skipped backing it up (as you've said) and with ext4 link2SD won't mount the secondary partition so I couldn't do anything with it :/
I would have played around with it more (because to be honest I tend to miss important details and things the first time around) but I'm in the middle of exams, and I need my phone to workSo, what I've done is:
Backed up all my apps' settings using Titanium Backup, created a new secondary partition in my sd and put it into my phone, re-downloaded all my apps by finding them on the "my android apps" part of the browser version of google play, and restored the data of each app one at a time (trying to restore all of them at once failed, probably because it used up the internal space and didn't let link2SD do it's stuff).
It's not an ideal method (luckily I only had about 12 apps on there lol) but at least it's done now.
I will stress that there is a good chance I may have made a silly mistake with CWM, so if anyone could confirm that it does/n't work that would be fab.![]()
Thanks for going through this...and ultimately proving me wrong. I will look into this and see if I can get CWM to backup this partition. In the interim, you should be able to manually back this partition up on your computer by just copying the files over.
I'm really confusing about the backup thing. As I remember, I can successfully backup without any problems few days ago. But tonight I got a message saying the second partition of the SD card can't be backup, besides that, my backup was complete.
Also got another question, hope someone can help. After I sync my Google account, I most of my contacts got three different entries instead of one, some got two entries. I tried stop syncing the contact, nothing help. So is there anyway I can delete all my contacts at one time? I like to try delete all of them then re-sync again. Seems I only can delete one by one?
Oops. I just found out how to "delete all", still figuring why I got all my contacts duplicated.![]()
My version of CWM will back up and restore the internal partitions just fine. It gets tripped up on the secondary SD card partitions. After a bit of research, it appears that this is not an uncommon problem. Many devices have issues with getting CWM to recognize and backup extended or secondary SD card partitions. In some cases, the issue has been tracked down to the device kernel and lack of support for certain filesystems that CWM recovery likes to use. Whether or not this is the case for the SH7218u I don't know. I will try and work on this issue when I get some time to address it. It is possible that I have one of the mount points incorrect in the setup files that I used to compile CWM. If that is the case, then it is possible that I might get CWM to backup the secondary SD card partition. If not, then there is likely little that I will be able to do to make this work.
The other option for backing up the apps you move the the SD card with Link2sd is Titanium Backup. If you backup the app and data, you can restore it at any time to the same state it was in when you made the backup. Link2sd can also be set up to automatically move apps the SD card, so if this is done while you are restoring your apps then no additional work is needed to get them back to the SD card. This is the common work-around that I have seen when people have been unable to get CWM to backup the Link2sd partition.
May have a lead on a fix....will change the CWM setup files to expect the sd-ext partition to be formatted in fat32. Link2sd should work with a fat32 partition, and there should not be any difficulties with our kernel not recognizing the filesystem. If that doesn't work, then I don't know what else to do. Will probably be a couple of days until I can get around to making this change and rebuildling CWM...
Out of curiosity, If anyone who has Gigi Tse's version of CWM still installed would like to try backing up a secondary SD card partition, I would be interested in the results. There are comments elsewhere that backing up these partitions was broken in newer versions of CWM, but worked in some older versions. Since her version is quite outdated, it might actually work.
Thanks for your information. Does anyone know how can I fix the GPS problem? Or am I the only one who got this problem? It took very long time to get my location when I use Google Map, sometimes it even can't locate my position. I downloaded "GPS Status & Toolbox" and tried to reset the GPS data (that's what the app said), still no help. Any suggestion? Thanks.
Well...changing the sd-ext partition to fat32 in the CWM build setup appears to have done the trick. I have rebuilt CWM recovery and it will now mount sd-ext and appears to back it up. I will do some testing before releasing this for general consumption. I actually don't use Link2sd anymore, so will install this and link a few apps over and try some backup and restore operations. Will post a link once I finish testing...
UPDATED: Please see my post on the next page for details. Fat32 is no longer the required filesystem.
I have tested the new recovery and it appears to work. Anyone interested can download the app to install the new CWM recovery here:
http://dl.dropbox.com/u/59893236/SH7218u_recovery.apk
If you need instructions on how to use the app, refer to my xda thread for this device:
http://forum.xda-developers.com/show...0#post22106340
Please note that the secondary partition on your SD card must be formatted in the fat32 filesystem. Link2SD can use this filesystem just fine and CWM recovery for our device has no trouble mounting the partition when it is formatted in fat32. The change I made to the recovery image was essentially to tell CWM to expect that partition to be in fat32 - it was previously looking for an ext filesystem on that partition. It appears that either CWM is unable to mount the ext filesystems, or there is some problem with our kernel that prevents it. Either way, using fat32 is a more than adequate workaround.
Please note that partitioning the SD card from within CWM recovery results in an ext3 second partition. This will fail to mount or backup. You will need to format the card elsewhere. When I have a little more time, I will work to see if I can get CWM to recognize and mount ext3. That would be ideal as then the card could be created and backed up from within CWM.
Last edited by hwfjunkman; 05-17-2012 at 11:25 AM.
Bookmarks