XT1032 - not possible to make backup using TRWP - Moto G Q&A, Help & Troubleshooting

Hi guys - i am relativly new to smartphones and just unlocked the bootloader and rooted my device.
Then i flashed custom recoverys (first TWRP, later CWM) and wanted to perform a Nandroid Backup.
This works fine with CWM, but TWRP fails everytime because the size of my data seems to be very weired. There is an exorbitant large size shown - thats why i get the message, that not enough free space is left for a backup.
I tried Version 2.7.1.0 and 2.7.1.1 - same issue.
Any idea how i could resolve it or why the size is shown that way?

I had this problem. I formatted data partition with twrp, and after it was working.

inter2k3 said:
Hi guys - i am relativly new to smartphones and just unlocked the bootloader and rooted my device.
Then i flashed custom recoverys (first TWRP, later CWM) and wanted to perform a Nandroid Backup.
This works fine with CWM, but TWRP fails everytime because the size of my data seems to be very weired. There is an exorbitant large size shown - thats why i get the message, that not enough free space is left for a backup.
I tried Version 2.7.1.0 and 2.7.1.1 - same issue.
Any idea how i could resolve it or why the size is shown that way?
Click to expand...
Click to collapse
Probably (this version of) TWRP doesn't support F2FS, which is used on the /data partition?
CWM does.

Team Max's twrp supports both.. Best person to ask is him
Sent from my Moto G using XDA Premium 4 mobile app

Related

Corrupt internal SD Card

Hi Folks.
Ok here is my situation, I have a rooted and unlocked TF700.
I flashed Zeus 4 and all worked well, then flashed (after full wipe) PARANOIDANDROID 2.15 and again everything was great,
Yesterday I flashed Baked Bean 4 (again after a full wipe) and apart from some SD issues all seemed ok,
I then decided to restore my TWRP backup of Zeus as I needed to use my 64gig msd card.
After a full wipe and restore Zeus started up but the dpi was messed up (160) I think (way small)
I was seeing loads of FC's and file manager showed my internal SD as being empty. Rebooted to recovery and tried the "Format Data" option
It failed right away with this message "E: Unable to format data."
I have tried flashing the stock .26 rom via TWRP and I have the same issue, dpi set to 160 and internal sd not mounted.
It seems my Internal sd is corrupt
What is the procedure to reformat it via ADB or fastboot? (I have searched but the results I found relate to other devices and I dont want to simply follow instructions that might cause further harm to my TF700)
I have followed the NVflash brick proof procedure and have all relevant files backed up (I did this before flashing the last 2 roms)
Please can some one point me in the right direction
Thanks a lot
Jules
I always wipe cache, system, internal, davic and then do a factory reset.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
When you said that you tried to flash the stock .26 you meant installing not restoring a backup, right? What rom you have on your device right now?
Pretoriano80 said:
When you said that you tried to flash the stock .26 you meant installing not restoring a backup, right. What rom you have on your device right now?
Click to expand...
Click to collapse
Yip extracted the zip from the zip file and copied it to my ext sd and flashed it via TWRP
I have an unusable Zeus4,
Im about to try a full wipe again and then flash .26 again
EDIT
After flashing .26 and selecting reboot I get the "No OS installed! Are you sure you wish to reboot?" message
Looks like the system partition is corrupted, but i'm not sure. I think you should come here on IRC and maybe someone with more experience will help you - - http://webchat.freenode.net/?channels=asus-transformer
Thanks so much Pretoriano80!
With his help on IRC I was able to solve the problem,
In the end I had to return to complete stock, It seems CM10 caused some problems,
You are a a legend dude Thanks!!
:good:
ZaJules said:
Thanks so much Pretoriano80!
With his help on IRC I was able to solve the problem,
In the end I had to return to complete stock, It seems CM10 caused some problems,
You are a a legend dude Thanks!!
:good:
Click to expand...
Click to collapse
This same thing happened to me with my Prime when I was getting ready to send it off for RMA because of a broken HDMI port. Since I was unlocked I was advised to restore to stock before sending it in. However, before I got the chance to do that I started getting the "E: Unable to format data." error that you were. I ended up erasing all partitions from fastboot and putting a note in the box that it wouldn't boot after an OTA. I managed to get away with it and wasn't charged for fixing it
For future reference it would be really helpful to know how you fixed this. Did you do something like what is in this thread: http://forum.xda-developers.com/showthread.php?t=1803343.
Did you ever figure out how CM10 messed up your Infinity? I was running CM9 on my Prime when I got this error. Thanks!
It's hard to say if it was CM10 (or any other custom rom) or TWRP to mess the things up but we managed to get back to stock by replacing the twrp with CWM recovery and installing a modified .30 update package. Was a tricky one but we didn't had to mess with the partitions and that's good.
Pretoriano80 said:
It's hard to say if it was CM10 (or any other custom rom) or TWRP to mess the things up but we managed to get back to stock by replacing the twrp with CWM recovery and installing a modified .30 update package. Was a tricky one but we didn't had to mess with the partitions and that's good.
Click to expand...
Click to collapse
Why did you switch to CWM? Do you have any thoughts on the advantages and disadvantages of TWRP vs CWM?
paddycr said:
Why did you switch to CWM? Do you have any thoughts on the advantages and disadvantages of TWRP vs CWM?
Click to expand...
Click to collapse
Switched to CWM just to make sure it wasn't twrp recovery that somehow was failing to flash the partitions correctly. Tbh so far both do their job and both share the same limitation so far, meaning both fail to restore the boot partition (kernel) so in order to restore successfully (from a nandroid backup) you need to flash the right kernel after restoring is done. Otherwise i like TWRP better and never had issues with it, but i miss the advanced option from CWM, the one that let you format each partition individually.
Pretoriano80 said:
Switched to CWM just to make sure it wasn't twrp recovery that somehow was failing to flash the partitions correctly. Tbh so far both do their job and both share the same limitation so far, meaning both fail to restore the boot partition (kernel) so in order to restore successfully (from a nandroid backup) you need to flash the right kernel after restoring is done. Otherwise i like TWRP better and never had issues with it, but i miss the advanced option from CWM, the one that let you format each partition individually.
Click to expand...
Click to collapse
I'm not certain what you're referring to here. I've restored many times from different TWRP backups (for each custom rom that successfully boots and is half-decent, I make and keep a backup in case I want to jump around and try new things) and I've never had any issues. I am still on the .26 firmware update because I plan to do the nvflash thing. Are you saying that between Zeus v4 (ICS) and various Jelly Bean roms I've been on the same kernel? I gues I just haven't checked.
Anyway, I really love the TWRP recovery and use it with Xoom and Nexus 7 as well. It's so easy to use and always has been reliable.
okantomi said:
I'm not certain what you're referring to here. I've restored many times from different TWRP backups (for each custom rom that successfully boots and is half-decent, I make and keep a backup in case I want to jump around and try new things) and I've never had any issues. I am still on the .26 firmware update because I plan to do the nvflash thing. Are you saying that between Zeus v4 (ICS) and various Jelly Bean roms I've been on the same kernel? I gues I just haven't checked.
Anyway, I really love the TWRP recovery and use it with Xoom and Nexus 7 as well. It's so easy to use and always has been reliable.
Click to expand...
Click to collapse
For me moving between various roms by just restoring a backup never worked like it should. Let's say i'm on CM10 and i want to restore from a stock rom backup, the restore process is done, after reboot the device gets stuck to the first Asus screen and will stay there. Now if i get back to recovery and flash an update. zip containing the stock kernel the device will boot just fine, so definitely the boot image doesn't get restored in my case (with . 26 bootloader ).
Edit: @okantomi: You are using the internal storage or a MicroSD for backup / restoring? I'm really curious how this could work for some and not work for others, i mean same device, same recovery, same bootloader version...
Pretoriano80 said:
For me moving between various roms by just restoring a backup never worked like it should. Let's say i'm on CM10 and i want to restore from a stock rom backup, the restore process is done, after reboot the device gets stuck to the first Asus screen and will stay there. Now if i get back to recovery and flash an update. zip containing the stock kernel the device will boot just fine, so definitely the boot image doesn't get restored in my case (with . 26 bootloader ).
Edit: @okantomi: You are using the internal storage or a MicroSD for backup / restoring? I'm really curious how this could work for some and not work for others, i mean same device, same recovery, same bootloader version...
Click to expand...
Click to collapse
Ok, I only flash a new zip from the internal storage...made myself a "Flashworthy" folder which I keep stocked with newest versions of roms/gapps. I save my TWRP backups to my external microsdcard, as well as my TiBu backups. I have never had a problem restoring from TWRP this way, honestly.
okantomi said:
Ok, I only flash a new zip from the internal storage...made myself a "Flashworthy" folder which I keep stocked with newest versions of roms/gapps. I save my TWRP backups to my external microsdcard, as well as my TiBu backups. I have never had a problem restoring from TWRP this way, honestly.
Click to expand...
Click to collapse
Well, in this case i really have no clue why restoring works for some users but not for all.Dees_Troy, the dev behind Twrp recovery told me that .26 bootloader is to blame for the recovery failing to restore the boot partition, but looks like you have that bootloader version and restoring works good for you... interesting.
Pretoriano80 said:
Well, in this case i really have no clue why restoring works for some users but not for all.Dees_Troy, the dev behind Twrp recovery told me that .26 bootloader is to blame for the recovery failing to restore the boot partition, but looks like you have that bootloader version and restoring works good for you... interesting.
Click to expand...
Click to collapse
It is a mystery. Is there any other info that might be relevant to see why the difference in results? I ask because I would like to understand this device better, as well as potentially help others.
okantomi said:
It is a mystery. Is there any other info that might be relevant to see why the difference in results? I ask because I would like to understand this device better, as well as potentially help others.
Click to expand...
Click to collapse
I don't know, maybe the twrp version and the backup options, like if you are using compression or not, which partitions do you backup (boot, system, data, recovery, cache)...
Pretoriano80 said:
I don't know, maybe the twrp version and the backup options, like if you are using compression or not, which partitions do you backup (boot, system, data, recovery, cache)...
Click to expand...
Click to collapse
I'm using TWRP 2.2.2.1, I back up boot, system and data only, and I don't use compression.

Stock 4.2.1 unlocked with TWRP 2.6.0.0

Oke, so I'm at the stage that I want to backup the Asus stock ROM and install a custom rom.
When starting the backup from TWRP, it shows 2 errors:
E: Unable to find partition size for '/boot''
E: Unable to find partition size for '/recovery'
The backup does backup the other partitions, such as system, data, etc. and ends with the error:
E:Backup File size for '/.........//boot.emmc.win' is 0 bytes
So, did it backup the boot files? If not, i will not install a custom rom, which will probably overwrite the boot partifion files and leaves me with an unrestorable backup of the Stock ROM.
Any info or advise about these errors would be welcome.
TWRP version 2.6.0.0
Stock ROM 4.2.1
------
EDIT: installing TWRP 2.5.0.0 does not have this problem. Seems like a bug in 2.6.0.0, so don't use this version with 4.2.1 stock Asus Rom
remonv76 said:
Oke, so I'm at the stage that I want to backup the Asus stock ROM and install a custom rom.
When starting the backup from TWRP, it shows 2 errors:
E: Unable to find partition size for '/boot''
E: Unable to find partition size for '/recovery'
The backup does backup the other partitions, such as system, data, etc. and ends with the error:
E:Backup File size for '/.........//boot.emmc.win' is 0 bytes
So, did it backup the boot files? If not, i will not install a custom rom, which will probably overwrite the boot partifion files and leaves me with an unrestorable backup of the Stock ROM.
Any info or advise about these errors would be welcome.
TWRP version 2.6.0.0
Stock ROM 4.2.1
------
EDIT: installing TWRP 2.5.0.0 does not have this problem. Seems like a bug in 2.6.0.0, so don't use this version with 4.2.1 stock Asus Rom
Click to expand...
Click to collapse
2.6.0.0 has other bugs too so you did right in going with 2.5.0.0.
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
2.5 didnt fix my issue completely
remonv76 said:
Oke, so I'm at the stage that I want to backup the Asus stock ROM and install a custom rom.
When starting the backup from TWRP, it shows 2 errors:
E: Unable to find partition size for '/boot''
E: Unable to find partition size for '/recovery'
The backup does backup the other partitions, such as system, data, etc. and ends with the error:
E:Backup File size for '/.........//boot.emmc.win' is 0 bytes
So, did it backup the boot files? If not, i will not install a custom rom, which will probably overwrite the boot partifion files and leaves me with an unrestorable backup of the Stock ROM.
Any info or advise about these errors would be welcome.
TWRP version 2.6.0.0
Stock ROM 4.2.1
------
EDIT: installing TWRP 2.5.0.0 does not have this problem. Seems like a bug in 2.6.0.0, so don't use this version with 4.2.1 stock Asus Rom
Click to expand...
Click to collapse
first time posting, xda has been my bible and guide for all of my unlocked adventures.
I had very similar symptoms and questions. I flashed the CM 10.2 and it worked fine (i had previously backed up my working PACrom and my CM10.1 before that)
I backed up my 10.2 and did a wipe and cache d.cache wipe. But couldn't restore (/boot & /recovery issues as well) so I then fastboot flashed twrp 2.5 back on and tried to restore from there and it wouldn't restore data, so I then wiped wiped and tried to flash the pacrom and gapps that had worked in the past with 2.5 and it worked! ( i thought ) until i realized it wouldn't get past the boot animation...I wiped and tried a CM10.1 restore and it worked again, but not really...it would get as far as the lockscreen and reboot. I was about to break my tab...and still am tempted to do so. This went on for a while until I gave up and went to bed.
After class, I did some more crawling through support and searching, and I read that flashing the original 10.1.6.15 back might help, so I did. It went through the motions, but got stuck on the boot animation, again. so I tried to get into twrp, but it was gone..
I fastboot twrp 2.5 on again, and twrp loads (hooray) and so I proceeded to wipe, cache/d.cache wipe, and install pacrom/gapps and it worked again again, but really didnt as it rebooted right after the "starting apps" screen appeared.
I know 10.2 runs 4.3, but I don't know enough about android OS to know exactly what flashing it may have changed. also I don't know why it is hanging at the startup of the os.
I tried searching but this is the closest post to what my issues are.
I don't know the ins and outs of droid partitioning/filesystems to feel comfortable just freely wiping parts, like I would a PC.
I just wish I knew a way to go back in time 36 hours and tell myself, DONT FLASH THOSE YET.
I am sorry this is such a long post, but I can't risk hard bricking this tablet like I did my old SG3 and since fastboot and twrp still load/function I have a great deal of hope someone will be kind enough to help me out.
Thank you.
EDIT/ADDENDUM:
- used "format data" on twrp, and wiped dalvik cache, cache, andsystem w.twrp 2.5, flashed new stock .27 firmware with 2.6, since the last one didnt work.
hope new firmware is twrp 2.5-friendly...2.6 lacks alot of utility features that 2.5 had

[Q] error on backing up data partition

I have an XT1033 unlocked and rooted running CM Purity 27/06 after upgrading to stock 4.4.4. I have tried latest Philz and TWRP recovery to make a Nandroid backup but both fail on backing up the data partition (size is reported as a huge number). I also tried Onandroid to make an online backup but that fails in the same way. It is not ROM specific.
Is this a known fault? Any solution?
jajk said:
I have an XT1033 unlocked and rooted running CM Purity 27/06 after upgrading to stock 4.4.4. I have tried latest Philz and TWRP recovery to make a Nandroid backup but both fail on backing up the data partition (size is reported as a huge number). I also tried Onandroid to make an online backup but that fails in the same way. It is not ROM specific.
Is this a known fault? Any solution?
Click to expand...
Click to collapse
check this out http://forum.xda-developers.com/moto-g/general/tutorial-backup-restore-sdcard-t2789925

Recovery unable to mount /sdcard

Hello!
I am sorry if this is the incorrect place to post, but I have a very annoying issue with my OnePlus One!
A few days ago I took the OTA update from Android 4.4.4 all the way to 5.1.1. However, there are quite a few bugs with this version, and the "Material UI" is seriously getting on my nerves so I would like to revert back to my previous version. This should be doable because I performed a Nandroid backup with TWRP before updating the phone. My backup is saved on a USB stick which I connect to the phone via a USB OTG cable, which is perfectly mountable in the Recovery.
My phone is rooted and WAS running TWRP Recovery before I upgraded to Lollipop, this replaced TWRP with Cyanogens stock. When I re-rooted my phone I had to reinstall a custom recovery. For some reason, ADB installing TWRP was just not working (No errors, it just didnt install no matter what) so I opted to try a CWM recovery which did the trick.
Now my issue is that my recovery is unable to mount /sdcard which prevents it from performing backups or restores.
I could really use some help here.
Did you update your backup (TWRP?) as well? What version of it are you on?
JeffDC said:
Did you update your backup (TWRP?) as well? What version of it are you on?
Click to expand...
Click to collapse
I am not sure what you mean by updating the backup. The backup is backed up and left in the state it was when I took it, that is to say Android 4.4.4 and the version of TWRP (The date I installed TWRP the first time) is mid February 2015.
The phones recovery right now is PhilzRecovery which as far as I understand is CWM. Latest version.
Try installing twrp from the CWM recovery.. And before restoring the phone from nandroid try installing the clean stock rom at 4.4.4 and then do the nandroid restore.
Sent from OPO using Tapatalk
Press on thanks if I helped you
ashuthosh.heda said:
Try installing twrp from the CWM recovery.. And before restoring the phone from nandroid try installing the clean stock rom at 4.4.4 and then do the nandroid restore.
Sent from OPO using Tapatalk
Press on thanks if I helped you
Click to expand...
Click to collapse
And to do this, I would just drop the .img for TWRP into my phones storage and chose it from inside the recovery? Would this really work? It might be my inexperience, but it sounds somewhat risky.
NodCom said:
And to do this, I would just drop the .img for TWRP into my phones storage and chose it from inside the recovery? Would this really work? It might be my inexperience, but it sounds somewhat risky.
Click to expand...
Click to collapse
Don't know if CWM recovery supports installing img. Twrp supports img flashing. Check the features of CWM recovery and proceed.
Sent from my A0001 using Tapatalk
ashuthosh.heda said:
Don't know if CWM recovery supports installing img. Twrp supports img flashing. Check the features of CWM recovery and proceed.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Well... I am not sure how I just managed this, but I was tinkering about inside my TWRP application and tried the "Install TWRP recovery" setting a second time (I tried it before making this thread, the first time it failed), it actually was successful because it booted into TWRP. From here I selected the TWRP-backup I kept and it installed it successfully (With one note, that it during the installation said something among the lines of "Restoring backup without deleting /data/media" or something like that. The phone rebooted itself after it finished updating, and the old Cyanogen/OPO bootanimation plays. But at login (My device is encrypted since long) it tells me my password is incorrect?!
How could this to happen? I've only ever used a single password (numbers only) for my phone encryption. This is very odd.
NodCom said:
Well... I am not sure how I just managed this, but I was tinkering about inside my TWRP application and tried the "Install TWRP recovery" setting a second time (I tried it before making this thread, the first time it failed), it actually was successful because it booted into TWRP. From here I selected the TWRP-backup I kept and it installed it successfully (With one note, that it during the installation said something among the lines of "Restoring backup without deleting /data/media" or something like that. The phone rebooted itself after it finished updating, and the old Cyanogen/OPO bootanimation plays. But at login (My device is encrypted since long) it tells me my password is incorrect?!
How could this to happen? I've only ever used a single password (numbers only) for my phone encryption. This is very odd.
Click to expand...
Click to collapse
I guess it's a side effect of restoring up a backup of 4.4.4 on lollipop. Try factory reset from twrp and then flash the backup. I would still suggest to first install the stock firmware of 4.4.4 and flash it and then do a restore of 4.4.4.
Sent from OPO using Tapatalk
Currently on Resurrection Remix
Thank me if I helped you.
Also make sure you are using the most recent version of TWRP, as it provides better 'outs' and reliability for newer OP OS versions.

Does flashing cyanogenmod also write to the bootloader?

I'm using the original shield tablet WiFi and considering flashing cyanogenmod. What I wanted to know before is what exactly does the custom ROM write to when flashing, bootloader, recovery? Thanks for the help guys!
RunicGamer said:
I'm using the original shield tablet WiFi and considering flashing cyanogenmod. What I wanted to know before is what exactly does the custom ROM write to when flashing, bootloader, recovery? Thanks for the help guys!
Click to expand...
Click to collapse
The only partitions it should write to is /system and /boot (kernel) and possibly userdata
Custom ROMs (for nearly all android devices) won't touch firmware such as recovery or bootloader
demkantor said:
The only partitions it should write to is /system and /boot (kernel) and possibly userdata
Custom ROMs (for nearly all android devices) won't touch firmware such as recovery or bootloader
Click to expand...
Click to collapse
Does that mean that I should make a backup of the Boot partition? Also, If I wanted or needed to restore from Cyanogenmod to Stock android 5.1.1 on the Shield Tablet. Would I have to restore the boot partition along with the system and data partitions, or just the System and Data partitions. Lastly, does that mean that Cyanogenmod won't/doesn't touch the bootloader on the Nvidia Shield Tablet? Sorry for asking so many questions. I want to try it but and very worried of accidentally bricking the bootloader, since it is my first and only tablet. Thanks again for the help!!!!
RunicGamer said:
Does that mean that I should make a backup of the Boot partition? Also, If I wanted or needed to restore from Cyanogenmod to Stock android 5.1.1 on the Shield Tablet. Would I have to restore the boot partition along with the system and data partitions, or just the System and Data partitions. Lastly, does that mean that Cyanogenmod won't/doesn't touch the bootloader on the Nvidia Shield Tablet? Sorry for asking so many questions. I want to try it but and very worried of accidentally bricking the bootloader, since it is my first and only tablet. Thanks again for the help!!!!
Click to expand...
Click to collapse
I have rarely seen issues of bricks on these, so you shouldn't have much to worry about
Nvidia is nice enough to give us full stock bootloader flashable images (similar to what google gives with nexus line) which helps in case of issue
Flashing custom ROMs is very similar as with most other android devices
General scenario goes as such
(Assuming bootloader is unlocked and custom recovery installed)
Boot to recovery, do a full nandroid backup
Save this backup to PC
From recovery wipe all
Flash ROM of choice (along with gapps or anything else you need)
Reboot
Now you are running cm, or whatever
In case you want to restore
Boot to recovery,
Wipe clean
Restore the earlier nandroid backup you had made
Reboot
Now all is the same as before you flashed
demkantor said:
The only partitions it should write to is /system and /boot (kernel) and possibly userdata
Custom ROMs (for nearly all android devices) won't touch firmware such as recovery or bootloader
Click to expand...
Click to collapse
demkantor said:
I have rarely seen issues of bricks on these, so you shouldn't have much to worry about
Nvidia is nice enough to give us full stock bootloader flashable images (similar to what google gives with nexus line) which helps in case of issue
Flashing custom ROMs is very similar as with most other android devices
General scenario goes as such
(Assuming bootloader is unlocked and custom recovery installed)
Boot to recovery, do a full nandroid backup
Save this backup to PC
From recovery wipe all
Flash ROM of choice (along with gapps or anything else you need)
Reboot
Now you are running cm, or whatever
In case you want to restore
Boot to recovery,
Wipe clean
Restore the earlier nandroid backup you had made
Reboot
Now all is the same as before you flashed
Click to expand...
Click to collapse
OK now for now one last thing. Should In backup the boot partition from twrp, the when I want to go back to stock android I restore system, data, and boot? Or just leave boot?
RunicGamer said:
OK now for now one last thing. Should In backup the boot partition from twrp, the when I want to go back to stock android I restore system, data, and boot? Or just leave boot?
Click to expand...
Click to collapse
Backup all partitions
When you want to restore
Wipe all, then be sure to restore system, userdata and boot
If you don't restore boot it probably will bootloop as you will be using the wrong kernel

Categories

Resources