Corrupted SD Card - G1 General

I'm running CM 4.1.11.1 I think and just recently new apps wouldn't install, so I rebooted and all of a sudden all of the apps just turned into the standard icon and none of them said they were installed except for like 3 or 4 of them. I think the SD card is alright, but must have some kind of error in the ext filesystem as I can see all of the files on the FAT32 portion just fine. Do you guys know of any way to just fix the errors on the ext portion without reformatting it? Or do I have to kill all of the partitions and redo them?

You could use the repair ext filesystem option if you are running a recovery image that has it (Cyanogen 1.4 or RA 1.2.3) or just reformat the ext partition using gparted under linux.

Yeah, the repair ext thing didn't work. I think I may just have to clear off the entire card and start from scratch.

I got the same problem
then I backup all the apps up with: tar cvf /sdcard/backup.tar /data/app/*
then copy backup.tar to your desktop pc
then reformat your tf card and repart the partitions
when it's done,move it to your tf card FAT32 partition again
insert to your Phone
the install CM ROM
when it's done
enter the terminal or adb shell
cd /data/app
tar xvf /sdcard/backup.tar
(if it says read only filesystem something you can try reboot )
then check to make sure all the .apk files are under the /data/app directory
then type
fix_permissions
when it's all done reboot
if some apps' error
reinstall them
that's all I did
good luck to you ;-)

oh,I suggest that the size of your ext3 partition should under 400MB
that't the key to solve the problem I thought

Related

SD card lost with message "Removed SD card" after update to cyanogenmod

Did not get any help in cyanogenmod thread, so creating a separate thread here.
I am in trouble. After I updated my ROM to cyanogenmod 3.6.7.2 (with his recovery image 1.3.1 and latest radio) I get a message saying: "Removed SD Card" in the notification and I am getting force closes in apps which access sd card.
Why did it remove my sd card? I have the following partition structure"
c (formatted fat32) 2GB - this is what used for upgrading the radio and rom.
83 (formatted ext4) 6GB
c (formatted fat32) 7GB
82 (mkswapped) whatever left off from 16GB card.
Is this structure causing the issues? I used Linux 2.6.30 and e2fsprogs 1.41.7 to format ext4 and dosfstools 3.0.2 to format fat32 FSs.
I ran fix_permissions from recovery console because I was getting FCs in powermanager (which logs files on SD card).
Also, if I boot into the recovery console, I can mount /sdcard and it automatically mounts the first fat32 partition on /sdcard. I can 'fdisk -l' and see all my partitions are there. So, its not a hardware issue. Some sort of chicken&egg because of apps2sd.
I just mounted the partition2 (which is ext4) in recovery console and I can see there are "app app-private dalvik-cache lost+found" folders on it. So, it looks like normally initialized.
Does anybody know what's going on here? Appreciate your help!
It's the same response you've been getting in the other section.
Try backing up your data on your computer, and completely formatting your card to fat32.
From there, instead of making the partitions on the computer, use the Recovery Console (accessed from Cyano's Recovery) and re-create the partitions as you like.
Ok, I delete the 3rd and 4th partitions, and it seems to be working fine now. So, it seems like there is an assumption about the partition structure in the code somewhere.
devsk said:
Ok, I delete the 3rd and 4th partitions, and it seems to be working fine now. So, it seems like there is an assumption about the partition structure in the code somewhere.
Click to expand...
Click to collapse
So you are all good now?
What exactly did you do? Just remove the 3rd & 4th partition, without formatting?
akapoor said:
So you are all good now?
What exactly did you do? Just remove the 3rd & 4th partition, without formatting?
Click to expand...
Click to collapse
Yeah, I just removed the 3rd and 4th partitions from recovery console and the card is recognized and working fine. Now, I need to find out why is it hard coded like that.
It seems like something doesn't like more than 3 partitions on the SD card. I now have 3 partitions with 'c' (fat32), '83' (ext4) and 'c' (fat32) codes and it seems to work fine.
An ext partition of more than 1.5gb can cause problems
Most roms will not work with the way you had it set up (at least not well)
They follow a 3 partition scheme as such
FAT32 > EXT > SWAP
B-man007 said:
An ext partition of more than 1.5gb can cause problems
Most roms will not work with the way you had it set up (at least not well)
They follow a 3 partition scheme as such
FAT32 > EXT > SWAP
Click to expand...
Click to collapse
I've heard this repeated elsewhere but nobody ever actually says what the problem is with partitions greater than 1.5gb. I'm very curious to know, because I haven't noticed anything wrong.
Except that /sdcard won't automount if my sd card has 4 partitions defined on it. As soon as I mark the 4th one empty and reboot, it's fine again. But that has nothing to do with the size of the ext fs on partition 2. Something with vold is funky, because I can mount /sdcard manually from adb.

Partitioning microSD card

After setting up my wife's A7 and using it for three weeks, I have decided to open mine up. I waited because I wanted to see if CES had anything I wanted more. I decided they didn't.
So, I am starting from scratch again.
The main issue I've had with my wife's A7 has been the lack of storage space for apps, especially the big games.
Bazbob seems to have a solution by partioning the microSD card and using Apps2sd.
I took a new Class 10 16GB microSD card.
I downloaded and burned Ubuntu onto a CD from here: http://www.ubuntu.com/desktop/get-ubuntu/download
Put the card in my laptop, restarted it into Ubuntu.
Ran gparted.
Shrunk the Fat32 partition to just under 8GB and added another partion as ext2 primary.
When I restarted my laptop, my sd reader in the laptop doesn't work.
When I put it into the A7, it says the SD card has Total Space of 7.73GB.
At this point, I'm not sure what to do next.
Help is appreciated!
jazzbone said:
After setting up my wife's A7 and using it for three weeks, I have decided to open mine up. I waited because I wanted to see if CES had anything I wanted more. I decided they didn't.
So, I am starting from scratch again.
The main issue I've had with my wife's A7 has been the lack of storage space for apps, especially the big games.
Bazbob seems to have a solution by partioning the microSD card and using Apps2sd.
I took a new Class 10 16GB microSD card.
I downloaded and burned Ubuntu onto a CD from here: http://www.ubuntu.com/desktop/get-ubuntu/download
Put the card in my laptop, restarted it into Ubuntu.
Ran gparted.
Shrunk the Fat32 partition to just under 8GB and added another partion as ext2 primary.
When I restarted my laptop, my sd reader in the laptop doesn't work.
When I put it into the A7, it says the SD card has Total Space of 7.73GB.
At this point, I'm not sure what to do next.
Help is appreciated!
Click to expand...
Click to collapse
You needed to make a second partition EXT2 and format it. You then need to mount the partition. I did this by using the install-recovery.sh that it located in /system/etc. I used the following tutorial and it worked. I got over 12gb of space to install apps.
http://forum.xda-developers.com/showthread.php?t=832799
I did try to mount the new partition to /storage which is also /sdcard and i was still not able to use titanium backup to move apps. The only way i have alot of space is use this method.
I'm also mounting the fat32 partition to location /storage so that when i download apps thats where they are stored until you install them. Also Titanium backup dumps the backups here. This is done with a custom mod of Dexters 1.0c mod.
I did not use adb, i used a app called quicksshd which allows you secure ftp into the tablet and make changes. I suggest using a windows programs called winscp and putty.
Thanks for replying rfisher.
Turns out that my laptop lost the drive letter for the sd card. That's fixed now. When I insert the card into my laptop, it says that you need to format the card in the drive to use it. Any idea why?
I am confused by your instructions.
You said
You needed to make a second partition EXT2 and format it.
Click to expand...
Click to collapse
I did that. First partition is FAT 32, and second partition is EXT2, primary.
Maybe I didn't format the partition? I just created it.
I'll install busybox and see how far I can get with it.
With the other A7, I was never able to work with ADB.
This device really makes me feel like an idiot.
Still can't believe I was the first to get Google Apps working on my wife's tablet!
no adb
Well, the hours of frustration have returned...
I can't get adb running on my laptop.
I installed Android SDK.
When I type adb in the cmd window on my laptop, I get
"adb" is not recognized as an internal or external command, operable program or batch file"
I have tried moving the ADK folder to c:\
and
to:
C:\Users\Bucks HP
No luck.
I added the path c:\android-sdk-windows\platform-tools
to the environment variables in my system properties.
My head is going to explode!
Well, I got adb working, I think...
Problem was in the cmd window. I had to change the path.
Now, I can't install busybox. I followed the instructions from the wiki.
When I type "adb push busybox /data/local"
it returns: cannot stat 'busybox' : no such file or directory.
I pasted the busybox file in the
C:\android-sdk-windows\platform-tools
folder.
Was that the right place for it?
Is the busybox file just a text file?
Also, mine is named busybox-armv6l
Should it be renamed? I tried "adb push busybox-armv6l /data/local"
and got the same result...
I gave up on installing busybox via the wiki instructions.
I installed Titanium Backup and installed busybox through it.
Now, when I type: cd /system
mkdir sd
I get :
mkdir failed for sd, read-only file system
What does that mean and how do I fix it?
Thanks
The saga continues...
With the busybox from Titanium Backup installed,
I needed to type:
adb shell
su
mount -o remount,rw /dev/block/mmcblk3p1 /system
exit
exit
Then, following the tutorial, I am up to step 12:
12) Now comes the tricky part: making Android mount your new partition at boot time. All the hard work would be useless if Android discarded the mount points every time we restarted our phones. To do this we’ll need to create 2 scripts and store then into /system/etc. Obviously the scripts should be started by init.rc and need to run as root. Fortunately Android’s init.rc have a gap that makes this possible. The scripts are named install-recovery.sh and init-sd2.sh.
My question is: How do you create scripts?
You would create them with notepad++ which is a windows program. Then using adb push them to the /system/etc directory.
I used a app called quicksshd and a windows program called winscp to copy the files to the directory. If you used my method you first need to make the /system directory rw before it will let you copy the files. It worked for me, the only thing i did differently is edit init.rc to mount the first partition of the sd card to /storage, but this was creating a modded 1.0c rom. So the result is about 4gb for my sd memory and 12gb for installing apps.
jazzbone said:
The saga continues...
With the busybox from Titanium Backup installed,
I needed to type:
adb shell
su
mount -o remount,rw /dev/block/mmcblk3p1 /system
exit
exit
Then, following the tutorial, I am up to step 12:
12) Now comes the tricky part: making Android mount your new partition at boot time. All the hard work would be useless if Android discarded the mount points every time we restarted our phones. To do this we’ll need to create 2 scripts and store then into /system/etc. Obviously the scripts should be started by init.rc and need to run as root. Fortunately Android’s init.rc have a gap that makes this possible. The scripts are named install-recovery.sh and init-sd2.sh.
My question is: How do you create scripts?
Click to expand...
Click to collapse
Hi rfisher
Thanks for replying!
While waiting, I opened Notepad++, copied the text in the tutorial window into it and saved the file as Unix.
Then, I copied it to a USB drive, put it in the A7, and copied to the system/etc folder.
Is that acceptable?
Then, I followed steps 13-15.
I think I did something wrong. I am not seeing it in Root Explorer. What should I be looking for?
Was I supposed to install Apps2SD already?
I got winscp and quicksshd working. YEAH!
Used them to copy the files as you did.
Restarted A7.
Still don't see the other partition.
PS. I was just rereading your earlier post and you mentioned:
I did try to mount the new partition to /storage which is also /sdcard and i was still not able to use titanium backup to move apps. The only way i have alot of space is use this method.
I'm also mounting the fat32 partition to location /storage so that when i download apps thats where they are stored until you install them. Also Titanium backup dumps the backups here. This is done with a custom mod of Dexters 1.0c mod.
Looking on my A7, I don't see a location that is /storage
My tablet is fresh out of the box, without any firmware updates yet.

installing darktremor on Wildfire/CM6.1

I want to install darktremor A2SDExt on my wildfire and am trying to follow the instructions below
http://www.facebook.com/note.php?note_id=158809660835039
I have downloaded the zip from the site but cannot find the partition sd card menu under clockwork recovery 2.5.01 as stated in the instructions. My menu layout is totally different. I have a partitions menu with options
mount /system
mount /data
unmount / cache
unmount /sdcard
mount /sd-ext
format boot
format system
format data
format cache
format sdcard
format sd-ext
mount USB storage
Could someone please walk me through the process of how I partition my sd card for use with darktremor.
Use ROM Manager.
Thanks for the info I used Rom manager and used the default options to partition my sd card which created two partitions I think called EXT and swap. I copied all my stuff back from my computer to SD card. Then I flashed darktremor.zip
I opened up terminal and typed the following
a2sd cachesd (move dalvik to sd card)
and got a whole load of messages saying permission denied. I have definitely got root so wtf? Any ideas where I'm going wrong. I am reading stuff about EXT 3 and EXT 4. I definitely didn't get the option to create anything like that. I don't think my partitions are right
Try typing su before that. It will require superuser access.
Thanks you're the man. It worked.
Wow I have 128 apps installed on my phone including 35 games and still have 102Mb free internal memory .

Clone SD card (with a2sd on)?

Question:
I've noticed I'm pretty much at my limit for space on my current SD card (like 80MB remaining on a 4GB!)...
I've ordered an 8GB card to replace this one... but how can I "clone" my current 4GB card (with a2sd partitions) and then copy it over to my 8GB card, without losing data, settings, apps, etc? Is there a way?
Thanks in advance.
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
gfinockio said:
Sounds complicated enough to work. I'll try when the card comes and let you all know. Thanks!
Click to expand...
Click to collapse
Haha yeah, I think it's the easiest way to do it with Windows, since you can't read the ext partition from the computer. You could probably just copy the contents of both partitions through Linux if you're comfortable doing that.
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
jdwhite87 said:
Doesn't a nandroid backup the ext partition too?
If you're using windows you could just backup your fat32 partition on your PC and partition your new card and then copy all your files back and do your nandroid restore.
I think this would work...
Click to expand...
Click to collapse
Clockwork does not back up my ext partition. It can't mount it or anything. Not sure why. Might be because its ext4, but when I do nandroids the sd-ext backup always fails.
I have to use Ubuntu and mount as storage. Then both of my partitions mount on my computer and I can do as I please. For me this seems easiest anyway. Simple copy and paste and it can be done from a live cd for those that dont already have Ubuntu.
Sent from my cm7 Aria.
drumist said:
Do this all from within Clockwork Recovery:
1) Make a nandroid backup
2) Connect the phone to a computer
3) Partitions menu > mount USB storage
4) Copy all contents from the old SD card to a temporary folder on your computer (including the clockworkmod folder which contains the nandroid backup you just took)
5) Unmount and disconnect from computer.
6) Pull battery to shut the phone off, or if you would prefer you can boot the phone and then turn the phone off immediately afterward. Pulling battery just saves time.
7) Put new SD card in
8) Boot into clockwork
9) Format the card with Clockwork w/ ext partition
10) Connect to computer, mount USB storage again, copy all files back to the phone
11) Unmount and disconnect cable from computer
12) Nandroid > advanced restore > Restore sd-ext only
13) Reboot and you're done.
And if something goes wrong, it's not really a big deal since you will still have the original files on the old SD card so you can try again or ask for help to try another method.
Click to expand...
Click to collapse
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
gfinockio said:
I'm stumped on step 9 - what menu option in Clockwork will format the ext partition? What menu?
Click to expand...
Click to collapse
Partitions menu
CallMeAria said:
Partitions menu
Click to expand...
Click to collapse
What version has that menu option? I don't see it.
Interesting. I was sure you could format a card with ext partition through Clockwork but apparently you can't. You can do it through ROM Manager though, so I guess you may have to boot into the phone to get to it.
The programs on the ext partition won't show up yet of course. Don't be alarmed. Just partition the card through ROM Manager, then once you're done doing that, do the nadroid advanced restore. If there are any problems after a reboot (i.e., it didn't work correctly), go back and try doing the regular full nandroid restore.
gfinockio said:
What version has that menu option? I don't see it.
Click to expand...
Click to collapse
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
CallMeAria said:
v2.5.0.1
This doesnt create a partition though. It just formats an existing partition. You'll have to use drumist's method of going through Rom manager to actually create the ext3 parition from the phone.
Click to expand...
Click to collapse
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
someone recommended in another thread that when that happens you just pull out the battery and then use volume down+power to boot back into recovery and it should then work.
But the method I use is to do it from Ubuntu (a linux version). If you dont want to install Ubuntu on your computer you can make a bootable CD or USB drive with Ubuntu on it (directions for this are on the Ubuntu download page) and actually run Ubuntu from the CD/USB without ever installing it on your computer. From there you can use gParted to create paritions. And while I recommend making backups, gparted even allows you to resize and move partitions without deleting anything.
gfinockio said:
Tried running ROM Manager - of course, it's installed on the 4GB card which isn't on my phone when I have the 8GB in to format. So then I re-installed it using the APK... but I get the exclamation mark when it boots to recovery to format... probably because a2sd is installing the same program on the ext part which it is now trying to format.
I think I'm going to have to format/partition it using Linux somehow instead, no?
Click to expand...
Click to collapse
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
drumist said:
Yeah, that's what I was worried about. My suggestion then is to format the card through linux if you have a SD card reader. Easiest way is to use an Ubuntu LiveCD. Do you know how to do this on your own?
Also, definitely do a full nandroid restore once the SD card is reformatted. Since you booted the phone and tried to install an app, it's possible something got screwed up -- nothing to worry about though because a full nandroid restore should revert everything.
Click to expand...
Click to collapse
I'm reverting back now, going to sleep on it, and then investigate formatting it via LiveCD tomorrow morning. It's been several years since I've had to go near anything Unix.
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
drumist said:
By the way, another option is to just do a clean install on your phone with a ROM that has ROM Manager built in. Use that to do the format on the SD card.
Click to expand...
Click to collapse
That got me thinking...Ive never had a problem adding an ext partition using Rom Manager. Ive done it to 3 SD cards now without a single issue. BUT, Ive also always done it while on cm6/7 which both came with Rom Manager pre-installed with the rom and quite a bit of integration with the rom manager app...just a thought...
EDIT: Scratch that, I used it for 2 SD cards, the 3rd was done with Ubuntu.
Here's my post from the other thread
jdwhite87 said:
Rom manager - partition SD card - choose your partitions. It will reboot into recovery and try but fail to partition your card. Pull battery. Replace battery - hold volume down and power. Wait for it to try and find the libde. Img then press volume down and it will highlight recovery then press power. It will boot into recovery and finish partitioning your card.
I think that's how I got it to work.
Click to expand...
Click to collapse
I did this with two different SD cards on fr008. Both were sandisks. One was a 16 gb class 4 and the other was an 8 gb class 6. I couldn't get gparted to partition the 8 gb for whatever reason. I didn't know what Ubuntu was when I partitioned the 16 gb
It seems like an oversight that maybe of the masses of people with Android devices that one day the general (non-xda) population would want a simple way to transfer their sd card data to a larger card...
I Imagine there are a bunch of people out there clueless.
Hell, I read XDA and there was still no clear simple way in this thread.
(I got here from a Google search for SD CARD CLONE)
Got it to work, finally. Required some back-and-forth with the Nandroid backups, but I have everything running off of my 8GB SD card now, without reinstalling!
Now, to sell off my 4GB card... anyone?

[Q&A] [30 OCT 2012][DEV] NativeSD Rom Boot Script for HD2

Q&A for [30 OCT 2012][DEV] NativeSD Rom Boot Script for HD2
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [30 OCT 2012][DEV] NativeSD Rom Boot Script for HD2. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Unexpected end of archive
File: adbfixed_ramdisk_NativeSD_AOKP.zip
Archive seems to be corrupted.
rebgershon said:
Thanks for your speedy reply.
I have some further questions though:
1. which 'recovery' do you mean and where will I find Titanium backup and tytung tool?
2. I have downloaded the paragon software to copy the sd card contents which I will try to do now. However, what are the 'normal' methods used to resize as I mentioned in my previous post that the ext4 partition seems fixed when using the mini tool partition software?
TIA,
Geoff.
---------- Post added at 10:05 AM ---------- Previous post was at 09:59 AM ----------
Robbie,
I have put the sd card into the slot on my computer (which is a year old HP laptop) and also tried in a USB port but the Paragon software is not recognising the card at all, with only the c drive being shown. However, I am able to see the contents of the fat32 partition of the SD card through explorer as normal. Am I doing something wrong??
Click to expand...
Click to collapse
Which recovery did you use to install the rom? does it have facility to backup ext partitions? I know macs18max edited SDrecovery can do this from the first post here http://forum.xda-developers.com/hd2-android/nand-dev/nov-17-2015-kernel-3-0-101-t3251438 others can too.
titanium backup can be found in play store, free and paid versions. haven't used it myself for a while and only used free one. people on this forum swear by it though.
tytung's NativeSD backup might have to be searched for, I'm afraid.
Don't know why your ext partition is not showing up. What rom(s) are you using?
magldr or clk?
Sounds like you will have to use a backup method from the phone as opposed to pc, to store the contents on your FAT partition, then move/copy them to pc.
does this make sense?
Robbie P said:
Which recovery did you use to install the rom? does it have facility to backup ext partitions? I know macs18max edited SDrecovery can do this from the first post here http://forum.xda-developers.com/hd2-android/nand-dev/nov-17-2015-kernel-3-0-101-t3251438 others can too.
titanium backup can be found in play store, free and paid versions. haven't used it myself for a while and only used free one. people on this forum swear by it though.
tytung's NativeSD backup might have to be searched for, I'm afraid.
Don't know why your ext partition is not showing up. What rom(s) are you using?
magldr or clk?
Sounds like you will have to use a backup method from the phone as opposed to pc, to store the contents on your FAT partition, then move/copy them to pc.
does this make sense?
Click to expand...
Click to collapse
Thanks again Robbie. Tis whole thing gets wierder as follows:
I'm using Nexus HD2 Jellybean-CM10_V1.3a as the rom. In the recovery directory of the SD card there's the Jellybean rom as mentioned, clrcad (dated 8/7/2010, haret, initrd.zip, startup text document & zImage (dated 5/9/2012).
There's also a NativeSD directory with the same files as the recovery directory.
Running Haret from the recovery directory takes me to 4EXT Recovery v2.2.7 RC5.
It also shows: E: can't find misc
E: failed to find "cache" partition to mount at "/cache".
In the info section it lists the sd-ext partition ext4 1012MiB free 135.5mb, sdcard fat32 14175 MiB free 8.0gb.
Attempt to backup fails as can't find cache partition, boot, recovery logs on E:
I loaded the Paragon software on my newer laptop but no ext partition was found. I then loaded the Paragon software on an older laptop and hey presto the partition was there. I tried to back this up on the pc but had repeated problems with files not being read. Then suddenly the ext partition disappeared on the pc but phone booted into Android-phew!.
I tried on the 1st pc and suddenly it recognised the ext partition. I tried backing up the partition but again had read problems. The fat32 partition backed up without 1 error.
So where do I go now? I don't want to loose the data in the ext partition but don't seem to be able to backup. Any suggestions welcome.
Geoff.
rebgershon said:
Thanks again Robbie. Tis whole thing gets wierder as follows:
I'm using Nexus HD2 Jellybean-CM10_V1.3a as the rom. In the recovery directory of the SD card there's the Jellybean rom as mentioned, clrcad (dated 8/7/2010, haret, initrd.zip, startup text document & zImage (dated 5/9/2012).
There's also a NativeSD directory with the same files as the recovery directory.
Running Haret from the recovery directory takes me to 4EXT Recovery v2.2.7 RC5.
It also shows: E: can't find misc
E: failed to find "cache" partition to mount at "/cache".
In the info section it lists the sd-ext partition ext4 1012MiB free 135.5mb, sdcard fat32 14175 MiB free 8.0gb.
Attempt to backup fails as can't find cache partition, boot, recovery logs on E:
All the above is normal for NativeSD, your sdrecovery doesn't allow for backing up the ext partition
I loaded the Paragon software on my newer laptop but no ext partition was found. I then loaded the Paragon software on an older laptop and hey presto the partition was there. I tried to back this up on the pc but had repeated problems with files not being read. Then suddenly the ext partition disappeared on the pc but phone booted into Android-phew!.
I tried on the 1st pc and suddenly it recognised the ext partition. I tried backing up the partition but again had read problems. The fat32 partition backed up without 1 error.
So where do I go now? I don't want to loose the data in the ext partition but don't seem to be able to backup. Any suggestions welcome.
Geoff.
Click to expand...
Click to collapse
perhaps paragon wasn't the best choice for backing up. Try the recovery linked-to above, put it on your sdcard and run haret from its folder (you might have to change the folder name so that it is not the same as your other recovery folder). then select backup, then scroll down to sdext, tick it and swipe, it should copy to your FAT, and it seems you have plenty of space there. I haven't tried this backup method, which is why I said use 2 methods to backup. the more the merrier.
There are free sms, phone and app backup applications such as superbackup in playstore.
There was also a way to copy the whole sdcard as an image, partitions included, I will have a look for it.
Robbie P said:
perhaps paragon wasn't the best choice for backing up. Try the recovery linked-to above, put it on your sdcard and run haret from its folder (you might have to change the folder name so that it is not the same as your other recovery folder). then select backup, then scroll down to sdext, tick it and swipe, it should copy to your FAT, and it seems you have plenty of space there. I haven't tried this backup method, which is why I said use 2 methods to backup. the more the merrier.
There are free sms, phone and app backup applications such as superbackup in playstore.
There was also a way to copy the whole sdcard as an image, partitions included, I will have a look for it.
Click to expand...
Click to collapse
Robbie thanks again.
I downloaded the recovery folder from your link but there's only 2 files in it namely initrd.gz and zImage, there's no haret. I have copied the haret, clrcad & startup text files files from the old recovery directory but it just hangs on running haret.
Geoff.
Sorry Geoff, I am not giving you very good advice. That recovery has a 3.0 kernel in it, and won't boot from haret. Am working ATM, will reply later.
Robbie P said:
Sorry Geoff, I am not giving you very good advice. That recovery has a 3.0 kernel in it, and won't boot from haret. Am working ATM, will reply later.
Click to expand...
Click to collapse
Hi again Robbie,
I have good news and bad!!
I managed to eventually get the Paragon software to recognise the ext4 partition on my new laptop. What's odd is that the ext4 partition is listed under the name of the c drive. I then unmount and remount the ext4 with a new drive letter and I can then read/write. So having managed to mount, I was able to copy off all the files from the FAT32 & ext4 partitions to my hard disk. That's the end of the good bit.
As its 3 years since I did the last Jellybean install, I'd forgotten what to do and kept seeing posts about magldr and custom radio roms. I tried to boot into magldr on the phone while doing the sd card backups but it wouldn't go into it. I had assumed I must have installed it when I did the original SD rom install and I then wrongly assumed I needed to reinstall the HSPL4 and custom radio roms to get it on again. The former was ok but the latter caused the phone to hang on reboot at the HTC logo. At this point I went to the bootloader screen but after having the 4 colour screen I then got the white screen with blue writing for updating the rom from an sd card (there must have been an unzipped rom on the card). I mistakenly hit the install rom button and this erased all the phone's data before I'd had chance to use SD Backup, a programme I hadn't bothered using since long before I converted to Android.
I then looked back in my old bookmarks and came across a facebook guide to the Native SD installation which didn't mention magldr at all and it was at this point that I realised I'd not previously loaded it on the phone, although I did eventually manage to get it on after downgrading the HSPL to 2.08 and successfully flashing the custom radio only to be permanently booting into magldr-so I again reflashed the stock rom to get rid of it! What a waste of time!!
Having backed up the sd card partitions, I erased the partitions and made a new ext4 of 3gb and copied back the files to both partitions. I tried to boot the haret in the native SD folder but the phone hung at the HTC logo and then rebooted itself back into windows. I tried installing the jelly bean rom as an update using ext4 recovery but no joy. I tried wiping the ext4 partition and reformatting with EXT4 recovery then installing the rom as a new install which then booted into Android ok after which I overwrote the ext4 files with the previously saved ones. Now I get a boot into the CyanogenMod screen but no further even after waiting 30 mins. I also tried using NAtiveSD onetouch recovery to try and make a backcup of the old system and then restore over the new install (but not the boot files) but again I just get the hung CyanogenMod screen.
So do you have any idea of how I might get a successful boot with my old data? Perhaps I'm missing something else in the overwrite/restore process but I can't see what.
Any further help would be grateful-perhaps you have forum contact who might be able to help as well.
TIA,
Geoff.:crying:

Categories

Resources