I have been doing lots of ROM / Kernel experimentation on my VZW S4, and on attempting to take a backup of my most recent good configuration I received an error from TWRP that there is not enough space available because there is not enough space for my /Data partition which TWRP sees as 2438401MB or 2.4TB!
Since it is impossible that my on device /Data partition is 2.4TB, anyone have any suggestions on how to repair?
Or do I need to do a full install via Odin using the repartition option?
Thx.
Wow, it would be cool if you had 2tb, umm sounds like the recovery is corrupt, if it were me, I would try that first, if it does not work, do the odin flash to stock.
Good luck.
I reinstalled the TWRP recovery, and also reflashed a Verizon stock image file...but TWRP is still reporting my /data partition at 2.4TB.
I'm thinking I need to repartition, but have never done so on an Android device.
Recommendations?
I would try reading the odin features and what it does to re-partition. It has that option, but messing with the partition structure will cause a hard brick if not careful.
good luck.
Okay, I did an complete factory restore using the image from the following thread and now have a properly sized /data partition.
http://forum.xda-developers.com/showthread.php?t=2289325
Whew.
Thx.
morgej said:
Okay, I did an complete factory restore using the image from the following thread and now have a properly sized /data partition.
http://forum.xda-developers.com/showthread.php?t=2289325
Whew.
Thx.
Click to expand...
Click to collapse
hehe you got off easy...good deal.
Can you tell TWRP to do its backups to the SD card rather than internal memory?
Thinking about getting an S4 but w/only 9GB free, would like to keep my backups on the SD card I'm going to get for it. I know I could move them there after creating them, but don't want to deal with having to move them back and forth if I need to restore one.
Redflea said:
Can you tell TWRP to do its backups to the SD card rather than internal memory?
Thinking about getting an S4 but w/only 9GB free, would like to keep my backups on the SD card I'm going to get for it. I know I could move them there after creating them, but don't want to deal with having to move them back and forth if I need to restore one.
Click to expand...
Click to collapse
yes. thats what i do. However, I was using TWRP to backup my aokp rom that i set up and it wouldnt back it up and read the size would be 16gigs. However, my slim rom backup just fine without reporting a huge file size.
Related
I was trying out a new ROM, so I did a nandroid and flashed. Unfortunately the flash wiped the internal SD. Can I get my Nandroid and my data back or is it a goner?
Its probably gone, but you can try and recover it. I've used a program called Recurva to recover pictures accidently deleted off my camera. You might be able to recover your nandroid, but don't get your hopes up.
I'm not sure any CW flashable ROM will delete either of your sd cards. Which one did you flash and how? If you have a nandroid image saved outside of the sd cards that just got deleted then you should have a folder labeled /sdcard which is your internal sd.
All~G1 said:
I'm not sure any CW flashable ROM will delete either of your sd cards. Which one did you flash and how? If you have a nandroid image saved outside of the sd cards that just got deleted then you should have a folder labeled /sdcard which is your internal sd.
Click to expand...
Click to collapse
His language was ambiguous, but I think he meant he made a nandroid (backup) and flashed (with Odin).
Yeah, you can try a number of programs designed to restore data. Be very careful & make sure that clockwork is NOT set to ignore the hash check (I forget exactly what the option is). You don't want to flash it on top if it fails a hash check (unless you are only trying to restore data, which should be ok to try).
I wasn't paying attention to CWM apparently when I was doing a restore and I think I started to partition my sd card. I did a dumb thing and pulled my battery before the process would finish.
Now, I want to go back and see if I can restore some files because I've lost my nandroids, pictures, etc. So...
Do I need to finish the partition?
If so, what size should I make? I don't care to format it for any special types.
Should file recovery programs work with this partial partition?
You're going to need to try data recovery software. That's your only hope for possible recovery.
Sent from my NookTablet using xda app-developers app
Well, I was able to recover the nandroid from right before this all happened, but had an md5 mismatch. Is there anything I can do about that such as skipping the validation? Or do I have to try another program to see what I can grab?
Hi all, I built my sdcard per: http://iamafanof.wordpress.com/2012/...r-nook-tablet/ (built by"Succulent")
My kids have two NT's. With two 16GB Sdcards, one class4 the other class 10. I know class4 is recommended, but one poster in forums said he's taken images of CM built on class4's and applied this image to class 10's in several cases and has had no problems. So I thought what the heck, can't hurt to try, so that's what I did (using Winimage). It booted fine 5 or 6 times for me, and I installed several APK's of games from Humble Bundle . I turned over the Nook to my little girl and she brought it back to me later showing she gets errors on boot, after swiping the lock symbol to unlock it. One is "Unfortunately, Talk has stopped". If you click OK on this, you get ""Unfortunately, Trebuchet has stopped". Clicking OK on this does nothing, it keeps popping up indefinitely. I don't know if the sdcard is hot pluggable (can be removed with power to the tablet), but she did admit to doing this. So I'm wondering if some corruption occurred to the CM build on the sdcard. Has anyone seen these errors? I could reflash it from the image I made off the class 4, but want to understand what happened so we don't run into it again. The funny thing is, I don't recall the startup wizard off the 1st class4 card prompting me with several screens regarding Google crap like it did on the 2nd card which was flashed from the same image. That was even after telling it I had no Google acct hoping it would leave me alone.
can anyone explain the boot menu you get when you press the N button? (I'm not including the faded selections) I'm wondering especially about the recovery options. Here's my menu:
INT BOOT ( I assume will boot to B&N native OS?)
INT RECOVERY ?
SDC RECOVERY ?
SDC BOOT (Iassume, boot to CM10 off sdcard?)
SDC ALTBOOT ?
START FASTBOOT ?
baytee said:
...
So my question is, can anyone explain the boot menu you get when you press the N button? (I'm not including the faded selections) I'm wondering especially about the recovery options. Here's my menu:
INT BOOT ( I assume will boot to B&N native OS?)
INT RECOVERY ?
SDC RECOVERY ?
SDC BOOT (Iassume, boot to CM10 off sdcard?)
SDC ALTBOOT ?
START FASTBOOT ?
Click to expand...
Click to collapse
Yes,
internal boot - boots Rom in emmc
Internal recovery - recovery in emmc
Sdcard boot - boots your sdcard Rom.
Sdcard recovery - boots sd card recovery ( keep recovery.img in root of sdcard for it to load recovery)
Sdcard altboot - alternate recovery ( not necessary, unless you want both cwm and twrp at same time)
Fastboot - fastboot mode , fastboot commands to flash .img file etc with this method .
As for your problem, try entering recovery, wipe cache and dalvik cache partition (I've done this on emmc version, never tried sdcard version of any Rom) this may solve the issue. If not try factory reset.
And removing sdcard while device is switched on is called hot swapping , hot plug is a CPU governor. Not sure if sdcard roms are hot swappable, but I think not.
Sent from my ST27i
Thanks.
emmc=internal nook memory I assume?
Oh, and...just to clarify, I haven't modified (rooted) my tablet. (you mention factory reset). I should mention that with the sdcard out, it boots B&N OS just fine.
And the part you say about wiping the two caches, so I should go into SD Card Recovery to do that? Once you get into it, you have various choices like the ones you mention? (I'd read that this choice was to backup your NT to sdcard). And please, I want to be very, very careful not to wipe out the B&N stock OS, so please, any detailed instructions you can give so I don't make that mistake, I'd greatly appreciate it. (I see so many posts on these forums about people bricking their Nook tablets it worries me.)
baytee said:
Thanks.
emmc=internal nook memory I assume?
Oh, and...just to clarify, I haven't modified (rooted) my tablet. (you mention factory reset). I should mention that with the sdcard out, it boots B&N OS just fine.
And the part you say about wiping the two caches, so I should go into SD Card Recovery to do that? I'd read that this choice was to backup your NT to sdcard. But once you get into it, you have various choices like the ones you mention? And please, I want to be very, very careful not to wipe out the B&N stock OS, so please, any detailed instructions you can give so I don't make that mistake, I'd greatly appreciate it. (I see so many posts on these forums about people bricking their Nook tablets it worries me.)
Click to expand...
Click to collapse
Um I don't know much about how it works for sdcard Rom. I've always only used emmc version. I guess if you were to enter recovery, it would access the stock cache partition by default , and we aren't trying to clear that.
Try this - use titanium backup (only talking about your sdcard Rom here, nothing to do with your stock) and in options, you may be able to wipe your cache or dalvik cache.
Or,
boot into your sdcard Rom, in settings > backup and restore > factory reset. This will delete all user data and return Rom to original Cm10 that you flashed on sdcard.
Or if it's only google talk and trebuchet launcher issue, install a new launcher (go launcher, adw etc) , then use titanium backup to uninstall trebuchet and talk.
Sent from my ST27i
From what I see, titanium backup is an android app. If I can't boot to Android (Trebuchet error loops as I said) I don't know how I can install this to do anything? Nor can I install another launcher or go into Settings as the error doesn't let you get any further.
I guess if there was a way to browse files/folders on the sdcard partitions on the sd to manually delete the cache files.....but if they're linux partitions (ext3 or4) you can't do that under windows...
baytee said:
From what I see, titanium backup is an android app. If I can't boot to Android (Trebuchet error loops as I said) I don't know how I can install this to do anything? Nor can I install another launcher or go into Settings as the error doesn't let you get any further.
I guess if there was a way to browse files/folders on the sdcard partitions on the sd to manually delete the cache files.....but if they're linux partitions (ext3 or4) you can't do that under windows...
Click to expand...
Click to collapse
In cwm, enter mounts and backup, then (if) you see /sdcard /cache, mount that and format that ONLY.
Do not format anything else as some options can brick device (Rom, bootdata, factory etc)
Wiping cache is safe (99%)
Again, I have never used sdcard Rom so I don't know what will show up in your recovery. But if you see something like sdcard cache, it can be cleared. If it doesn't specify sdcard, let us assume it refers to stock emmc.
Sent from my ST27i
How do I get into CWM?
baytee said:
How do I get into CWM?
Click to expand...
Click to collapse
Select SDC Recovery on the Cyanoboot boot menu -- see steps 7 & 8 of the post at http://forum.xda-developers.com/showthread.php?t=2061536.
If you want to backup the BN stock ROM just in case, see step 9.
digixmax said:
Select SDC Recovery on the Cyanoboot boot menu -- see steps 7 & 8 of the post at http://forum.xda-developers.com/showthread.php?t=2061536.
If you want to backup the BN stock ROM just in case, see step 9.
Click to expand...
Click to collapse
I chose sd recovery, chose Backup & Restore, then Backup. It started running right away. It said:
SD Card space free: 228MB
Backing up boot image
Backup of boot image completed
Backing up recovery image
Backup of recovery image completed
Backing up system
Error while making a backup image of /system!
I plug sdcard into PC card reader and the FAT partition has 0 bytes free. So, appears it ran out of space. I saw your comment about 600MB space being needed. So I'm redoing the partitions now.
baytee said:
I chose sd recovery, chose Backup & Restore, then Backup. It started running right away. It said:
SD Card space free: 228MB
Backing up boot image
Backup of boot image completed
Backing up recovery image
Backup of recovery image completed
Backing up system
Error while making a backup image of /system!
I plug sdcard into PC card reader and the FAT partition has 0 bytes free. So, appears it ran out of space. I saw your comment about 600MB space being needed. So I'm redoing the partitions now.
Click to expand...
Click to collapse
Why backing up now when it's not working? Fix your issue, then make a backup. So the next time there's a problem you can restore to working condition.
Sent from my ST27i
Well, backing up, I think, was a good suggestion by Digimax. So I'm glad I did it. and now i know how to do it for future. Just in case anything EVER goes wrong, I'll always have that image now on my pc. Bad thing was, apparently B&N nook OS apparently keeps lots of APKs around after installing them. I had to make my 1st fat32 partition over 2GB for the entire backup to process without running out of space. backup size=1.6gb
I ran into lost chains - convert to cluster msgs trying to delete the folder of the first failed backup, but it never would delete even after a chkdsk, so I formatted the card and put the original image back onto it, adjusted the partitions, and then ran into a new probem.....the Cyanomod spinning logo never stopping spinning so it won't boot up. So I give up. I don't know if it's that it's a class 10 card that all these problems are happening. barring any other suggestions, I guess I'll make sure the other NT we have runs stable for a few weeks and if so I'll order another class 4 like that one has.
baytee said:
Well, backing up, I think, was a good suggestion by Digimax. So I'm glad I did it. and now i know how to do it for future. Just in case anything EVER goes wrong, I'll always have that image now on my pc. Bad thing was, apparently B&N nook OS apparently keeps lots of APKs around after installing them. I had to make my 1st fat32 partition over 2GB for the entire backup to process without running out of space. backup size=1.6gb
I ran into lost chains - convert to cluster msgs trying to delete the folder of the first failed backup, but it never would delete even after a chkdsk, so I formatted the card and put the original image back onto it, adjusted the partitions, and then ran into a new probem.....the Cyanomod spinning logo never stopping spinning so it won't boot up. So I give up. I don't know if it's that it's a class 10 card that all these problems are happening. barring any other suggestions, I guess I'll make sure the other NT we have runs stable for a few weeks and if so I'll order another class 4 like that one has.
Click to expand...
Click to collapse
I don't know about your bootloop issue, but I don't think it's a sdcard class issue.
Anyhow, now that you have stock backup, aren't you going to consider flashing cm10 internally? Do you actually use stock?
Sent from my ST27i
I'm a little leery of it, at least while it's under warranty. I don't know how reliable recovery is.? Besides, my daughter wasn't thrilled with it being down for several days with me fussing with it and asked if she could have her "B&N boot" back I admit It is a bit of a pain having to pull it out of it's case, lift the flap, pop-in or out the sdcard to switch between them. (& also to have to remember to always turn it off b4 removing/inserting)
I may do it in the future though. Thanks for the help
FWIW, you don't have to actually remove the card to boot into stock. Just reboot, hold "n" to get into Cyaonoboot menu and choos "int boot" or something like that, and it will boot to stock with the sd-card still inserted.
Great, thanks for that tip!
Card died
I think many of these symptoms could have been caused by a dying card. It did have a corruption error once, and then it finally completely died. Just for anyone else that runs into these.
baytee said:
Well, backing up, I think, was a good suggestion by Digimax. So I'm glad I did it. and now i know how to do it for future. Just in case anything EVER goes wrong, I'll always have that image now on my pc. Bad thing was, apparently B&N nook OS apparently keeps lots of APKs around after installing them. I had to make my 1st fat32 partition over 2GB for the entire backup to process without running out of space. backup size=1.6gb
...
Click to expand...
Click to collapse
FWIW, /cache does not need to be backed up, which should help reduce the backup space requirement.
Hi.
In the following topic, regarding Android Revolution HD 30.1:
http://forum.xda-developers.com/showpost.php?p=38495361&postcount=13120
it mentions that a full format of system, preload and internal SD is required.
What would be left on my device afterwards? would the recovery still be installed in order to flash the new ROM ?
I understand that 4.2.1 leak doesn't contain any modem, would I have to install a modem afterwards?
Thanks.
lioryb said:
Hi.
In the following topic, regarding Android Revolution HD 30.1:
http://forum.xda-developers.com/showpost.php?p=38495361&postcount=13120
it mentions that a full format of system, preload and internal SD is required.
What would be left on my device afterwards? would the recovery still be installed in order to flash the new ROM ?
I understand that 4.2.1 leak doesn't contain any modem, would I have to install a modem afterwards?
Thanks.
Click to expand...
Click to collapse
Your recovery will be intact, what you do need to do is backup your internal sd to external and/or pc, and make sure the Rom you want to flash is on your external sd!
As a foot note....I personally find this good practise, to do, at least once in a while as sd rubbish can cause problems, and I always format system before a Rom change, irrespective of what I'm changing to/from
slaphead20 said:
Your recovery will be intact, what you do need to do is backup your internal sd to external and/or pc, and make sure the Rom you want to flash is on your external sd!
As a foot note....I personally find this good practise, to do, at least once in a while as sd rubbish can cause problems, and I always format system before a Rom change, irrespective of what I'm changing to/from
Click to expand...
Click to collapse
Thanks.
Should I remove my external SD while doing all this format things, and put it back just for the installation?
What about the Modem? would I have to install a modem seperately?
I never do, just make sure in recovery you select the right sd to format, nandroid and titanium backup also, as always
slaphead20 said:
I never do, just make sure in recovery you select the right sd to format, nandroid and titanium backup also, as always
Click to expand...
Click to collapse
what about the modem issue? would I have to install it seperately?
Thanks again.
I do believe modem is either a separate partition or always comes in a Rom, but regardless, flashing a modem takes 30 seconds so it's not a problem
Hey guys,
My AT&T Galaxy SII has been working fine on UnNamed 2.2.1 for probably 9 months or more, but I just ran into a weird issue today. After sending a text to someone and hitting the on/off button to turn the screen off, the phone restarted, and now refuses to boot past the Samsung screen. It'll stay on it for 5-10 seconds, go black for a few seconds, and repeat.
I can get into recovery, tried wiping cache, dalvik cache, fix permissions, and it still does the same thing. Fix permissions took quite a while and didn't work the first time. Or I just got impatient. But it worked the second time and didn't fix anything.
Anyway, I mounted the SD to copy my data from the internal SD card. I haven't run a Titanium Backup in a while though. I know I can fix the phone with ODIN, but I was just hoping someone might have another idea to avoid this and avoid losing settings, text messages, etc.
Thanks!
iceman718 said:
Hey guys,
My AT&T Galaxy SII has been working fine on UnNamed 2.2.1 for probably 9 months or more, but I just ran into a weird issue today. After sending a text to someone and hitting the on/off button to turn the screen off, the phone restarted, and now refuses to boot past the Samsung screen. It'll stay on it for 5-10 seconds, go black for a few seconds, and repeat.
I can get into recovery, tried wiping cache, dalvik cache, fix permissions, and it still does the same thing. Fix permissions took quite a while and didn't work the first time. Or I just got impatient. But it worked the second time and didn't fix anything.
Anyway, I mounted the SD to copy my data from the internal SD card. I haven't run a Titanium Backup in a while though. I know I can fix the phone with ODIN, but I was just hoping someone might have another idea to avoid this and avoid losing settings, text messages, etc.
Thanks!
Click to expand...
Click to collapse
If you can get into recovery, does that mean you can complete a nandroid backup? There's actually an option in Titanium Backup to extract apps from a nandroid backup and restore them in Titanium.
My other thought is a handy little app called Nandroid Manager, which you can find on the Play Store. With it you can restore SMS+MMS messages from a nandroid backup. It also has an option for restoring Apps+App Data, but it doesn't seem as stable as the Titanium option.
As for system settings, I'm afraid you're going to have to set those up again after you wipe and reflash your rom.
Speaking of wiping and flashing...have you considered trying a newer rom? Maybe a Jellybean one?
EDIT: By the way, you don't need to use Odin to flash. Just place the rom .zip on your SD card, and wipe and flash using CWM Recovery.
Nice!
That's one option I had never explored in CWM recovery. Duh. Thanks.
Backing up now.
I guess it is about time to update the ROM. Any suggestions for a current super stable one? Takes a while to read through the last 10 or so pages of all the ROM threads to find out what issues people are having or if it's good to go.
Update:
"Error while making a backup image of /data!"
What all will be lost if I don't have that? Boot image, recovery image, and system backed up correctly.
Edit: might have been due to low disk space - removing a bunch of non essential stuff and will retry.
iceman718 said:
Nice!
That's one option I had never explored in CWM recovery. Duh. Thanks.
Backing up now.
I guess it is about time to update the ROM. Any suggestions for a current super stable one? Takes a while to read through the last 10 or so pages of all the ROM threads to find out what issues people are having or if it's good to go.
Update:
"Error while making a backup image of /data!"
What all will be lost if I don't have that? Boot image, recovery image, and system backed up correctly.
Click to expand...
Click to collapse
Are you backing up to internal storage or SD card? Make sure you have about 2GB free on the one you're using, and try it again. If that doesn't work, let me know.
As for a good rom, it depends on what you want. As far as Touchwiz Jellybean, I don't think there's much out there better than ShoStock3. I'm an AOSP man myself, so I prefer SlimBean personally. Task's AOKP is also excellent.
I had selected "backup" which I assume after reading your post is to internal storage, not internal SD card. There was 890MB free on it, and now after trying the backup, it's completely full.
When selecting backup to internal SD card, I get a "Can't mount backup path" error, regardless of if I have /sdcard mounted or unmounted.
After deleting some stuff, it now has plenty of space when I choose the regular backup option. We'll see if it works this time.
iceman718 said:
I had selected "backup" which I assume after reading your post is to internal storage, not internal SD card. There was 890MB free on it, and now after trying the backup, it's completely full.
When selecting backup to internal SD card, I get a "Can't mount backup path" error, regardless of if I have /sdcard mounted or unmounted.
After deleting some stuff, it now has plenty of space when I choose the regular backup option. We'll see if it works this time.
Click to expand...
Click to collapse
I've never seen that error before. Hopefully it just works this time.
Even with almost 9 gigs free, it failed to backup /data.
Any other ideas?
iceman718 said:
Even with almost 9 gigs free, it failed to backup /data.
Any other ideas?
Click to expand...
Click to collapse
Yeah, you can try a different kernel, with a newer version of CWM. I would try the latest AJK. As an ICS/Jellybean kernel, you won't be able to use it to boot up, but you'll still be able to boot into recovery and back up/wipe/flash.
Backing up using AJK now. Hopefully this works.
Thanks for your help so far.
Ok backup was successful. Sweet! So now I can just install a ROM of my choice and restore using TiBu or the other app you mentioned?
iceman718 said:
Backing up using AJK now. Hopefully this works.
Thanks for your help so far.
Ok backup was successful. Sweet! So now I can just install a ROM of my choice and restore using TiBu or the other app you mentioned?
Click to expand...
Click to collapse
Yes. Just make sure you do a full wipe first. Wipe data/factory reset, clear dalvik cache, format /system. Then flash away!
Sent from my SGH-I777 using xda premium