TWRP NANDROID Backup Fail - Moto G5 Plus Questions & Answers

Hello everyone I ma have problems on creating a nandroidbackup using TWRP 3.2.3.0
When I try to do a full backup, this error (createTarfork() process ended with error:255) pops up. Please help anyone

darko454 said:
Hello everyone I ma have problems on creating a nandroidbackup using TWRP 3.2.3.0
When I try to do a full backup, this error (createTarfork() process ended with error:255) pops up. Please help anyone
Click to expand...
Click to collapse
You need to look at /tmp/recovery.log while in recovery (adb pull it if you have to). Look in it for the last file that it tried to read before it gave the error. Your options are either delete that file or pull it then delete it. However, the file is corrupt in some way and the backup will never finish.

Sorry I a noob on this, I was able to get the recovery.log and Attached it but i dont have any idea where to find the error. Please help
thanks

darko454 said:
Sorry I a noob on this, I was able to get the recovery.log and Attached it but i dont have any idea where to find the error. Please help
thanks
Click to expand...
Click to collapse
I think It would be the " BASICDREAMS" but i cant seem how to delete it.. Would it be better to erase everything and start from the beginning? Im not sure what to do.

darko454 said:
I think It would be the " BASICDREAMS" but i cant seem how to delete it.. Would it be better to erase everything and start from the beginning? Im not sure what to do.
Click to expand...
Click to collapse
If you're fairly new to this then starting from a fresh install may be a better safeguard. However, you'll pick things up quicker if you determined enough. If you're simply wanting to remove the app BasicDreams, I went ahead and made modded a pre-existing flashable zip (all credit to Gizmo) just so you can remove that app. To use it, boot into recovery and flash it through there.

fuzzydorito said:
If you're fairly new to this then starting from a fresh install may be a better safeguard. However, you'll pick things up quicker if you determined enough. If you're simply wanting to remove the app BasicDreams, I went ahead and made modded a pre-existing flashable zip (all credit to Gizmo) just so you can remove that app. To use it, boot into recovery and flash it through there.
Click to expand...
Click to collapse
Thanks!!!

fuzzydorito said:
If you're fairly new to this then starting from a fresh install may be a better safeguard. However, you'll pick things up quicker if you determined enough. If you're simply wanting to remove the app BasicDreams, I went ahead and made modded a pre-existing flashable zip (all credit to Gizmo) just so you can remove that app. To use it, boot into recovery and flash it through there.
Click to expand...
Click to collapse
I just tried the "remove_basicdreams.zip "and says script succeeded but when i try to backup again it still has the same error.
what should i do next ?
thanks

Related

Need a nandroid backup image **RESOLVED THANKS!**

Thanks to the Dude and everyone else who chimed in to help!
**********************************************
Stock will be just fine.
I backed up and reformatted my SD card but when I get back to my laptop the SD backup was deleted by my son (too big for recycle bin and permanently deleted). Stuck in boot loop (TTG 0.1.5) and cannot flash zip anything from sdcard ("can't open /sdcard/*name that rom*.zip"). Adb shell wont recognize device.
All my nandroid images were on that backup that is now gone. I can back up and restore now, but it's all my boot loop.
Thanks in advance for your help and restraint with flame outs.
LeftonJackman said:
Stock will be just fine.
I backed up and reformatted my SD card but when I get back to my laptop the SD backup was deleted by my son (too big for recycle bin and permanently deleted). Stuck in boot loop (TTG 0.1.5) and cannot flash zip anything from sdcard ("can't open /sdcard/*name that rom*.zip"). Adb shell wont recognize device.
All my nandroid images were on that backup that is now gone. I can back up and restore now, but it's all my boot loop.
Thanks in advance for your help and restraint with flame outs.
Click to expand...
Click to collapse
I don't think you can load just anyones Nandroid image, has to come from your phone...from what I have read at least.
Should probably just run RUU and go from there with the Pre-Kitchen.
Kcarpenter said:
I don't think you can load any Nandroid image, has to come from your phone...from what I have read at least.
Should probably just run RUU and go from there with the Pre-Kitchen.
Click to expand...
Click to collapse
that's weird that you cant flash anything from the sdcard, check and make sure its fat32, make sure you wipe before you try to flash, if not ur gonna have to use RUU.
if you do ruu make sure htc sync is installed and you are in bootloader mode... turn phone off then hold vol down and power. then start the ruu.
p.s. you can restore ANY sprint hero nandroid backup with minimal problems/side effects.. i've done it a more than a few times with no problems
Kcarpenter said:
Should probably just run RUU and go from there with the Pre-Kitchen.
Click to expand...
Click to collapse
Tried it. No luck. But you can use anothers nandroid image. Theres got to be someone who has one or is willing to go back to stock, back up, and then resume as before. It only takes a minute.
LeftonJackman said:
Tried it. No luck. But you can use anothers nandroid image. Theres got to be someone who has one or is willing to go back to stock, back up, and then resume as before. It only takes a minute.
Click to expand...
Click to collapse
i'll do it.
gimme a second
thedudejdog said:
i'll do it.
gimme a second
Click to expand...
Click to collapse
I appreciate it. If you want to PM me I can give you my email address so you dont have to upload it somewhere, if you like.
LeftonJackman said:
Tried it. No luck. But you can use anothers nandroid image. Theres got to be someone who has one or is willing to go back to stock, back up, and then resume as before. It only takes a minute.
Click to expand...
Click to collapse
If you need a stock Nandroid image I have one...keep it just in case I need to revert that far back.
If you want it, I'll zip it up and post it at http://www.darktremor.com. Let me know.
tkirton said:
If you need a stock Nandroid image I have one...keep it just in case I need to revert that far back.
If you want it, I'll zip it up and post it at http://www.darktremor.com. Let me know.
Click to expand...
Click to collapse
Thanks, but the dude already hooked me up. I am keeping a copy of that stock image in a very safe place now!
LeftonJackman said:
Thanks, but the dude already hooked me up. I am keeping a copy of that stock image in a very safe place now!
Click to expand...
Click to collapse
No problem.

[Q] Help: noob apk/sprint updates/restore

hi, and thanks for reading this. If the newest sprint update, DI18?, ever gets released, I am afraid I will not get it. I removed some system apps and I guess the update needs to see those. Thinking I knew what I was doing, here is what I did.
Rooted my Epic.
with titanium i backed up media hub, sprint nav, and nascar. I then removed them.
I saw I needed them so I thought I would restore.
I guess titanium can't restore system apk's?
I start looking for those apk's and only find media hub.
I install media hub, epic says i already have it which i sort of don't really.
media hub is back, and thats where I am at.
I hope that makes sense? I will never use media hub, but I want the epic to be like it was right after root, so I can easily get the next, and future, updates.
thanks
I know someone has posted a link to download all of the stock apps... unfortunately I can't find it! Anyone know where that is?
I personally hate Titanium Backup because I can never figure out what it's doing. The backup function has done the same thing to me - you backup an app, then you think you're deleting the system app and can restore from a backup, but you can't. It's so weird. I would recommend either buying Root Explorer (~$3) or trying out the SDX Stock App Removal (free). You can also use adb push to put the system apps in your /system/app directory. But you still need the apps.
Did you try remounting as rw first?
Sent from my SPH-D700 using XDA App
EDIT: see Firon's post below (#8) it will take care of any modifications you've made as long as you have a stock (odexed) ROM, it won't even mess up recovery or kernel!
thank you all. I will play around with it.
according to titanium everything that was gone is back, except "com.sdgtl.stamhubb" no idea what that is. a google search came back with only a couple hits. Others have removed it, not noticing anything. I do not recall removing that myself.
That's a program name not the APK name... try updating if you're ready and see if it will get past verification... if not see if you can find the APK name and follow the same procedure you did with others.
Here's a signed update that will not trash your recovery, kernel, or root. You do not need a stock kernel for this update.
It will restore only the required stock files/apps and update your modem, so as long as you're on DI07, it should successfully update.
I tested it already on my own phone, worked great.
http://firon.net/xda/SPH-D700-DI07toDI18.signed.zip
This way you don't need to restore a bunch of random files to update.
I appear to be all good. thanks everyone.
Firon said:
Here's a signed update that will not trash your recovery, kernel, or root. You do not need a stock kernel for this update.
It will restore only the required stock files/apps and update your modem, so as long as you're on DI07, it should successfully update.
I tested it already on my own phone, worked great.
snip /SPH-D700-DI07toDI18.signed.zip
This way you don't need to restore a bunch of random files to update.
Click to expand...
Click to collapse
Hello,
The procedure for using this is to copy this to the SD card, rename update.zip, boot into recovery mode, select "apply sdcard:update.zip", correct? Or am I missing a step?
When I attempt this, I get a "E:signature verification failed Installation aborted." error.
Would appreciate any suggestions before I resort to flashing to stock. Thank you!
I am getting a
ben.fg said:
Hello,
The procedure for using this is to copy this to the SD card, rename update.zip, boot into recovery mode, select "apply sdcard:update.zip", correct? Or am I missing a step?
When I attempt this, I get a "E:signature verification failed Installation aborted." error.
Would appreciate any suggestions before I resort to flashing to stock. Thank you!
I am getting a
Click to expand...
Click to collapse
I am also wanting to know how to do this. I got the OTA update yesterday and it failed because I deleted Mail. I would like top know how to manually update to d118 w/out turning my epic into a brick. Any advice would be appreciated.
I believe this requires clockwork recovery not the stock recovery.

Constant Loop

I keep getting the constant nexus loop I am trying to root and I cannt get past that any advise?
Please and thanks
schartzr said:
i keep getting the constant nexus loop i am trying to root and i cannt get past that any advise?
Please and thanks
Click to expand...
Click to collapse
briiiiiick
check out the search feat too
I need a System image I believe do you know where i can get that at? And the search feature is not working right now, and I need to get my phone back up and working ASAP.
Thanks
schartzr said:
I need a System image I believe do you know where i can get that at? And the search feature is not working right now, and I need to get my phone back up and working ASAP.
Thanks
Click to expand...
Click to collapse
Not sure where the .zip is to flash the entire system..in fact, I don't think that was officially released yet. If you managed to get Clockworkdmod installed, I know there is a system image you can flash in the Dev section here.
Or If I have a nandroid back up how can I get that on m y phone to run that? I have it on the SD part of my card but doest show in the back up and restore file
schartzr said:
Or If I have a nandroid back up how can I get that on m y phone to run that? I have it on the SD part of my card but doest show in the back up and restore file
Click to expand...
Click to collapse
Go into recovery and re-flash your nand back up... have your tried that?
edit: damn. didnt realize. see? wtf sammy/goog. WHY WOULDNT YOU HAVE A MSD SLOT??!
allen099 said:
Not sure where the .zip is to flash the entire system..in fact, I don't think that was officially released yet. If you managed to get Clockworkdmod installed, I know there is a system image you can flash in the Dev section here.
Click to expand...
Click to collapse
I do have clockwordmod I am guess you mean when I can get to the clockworkmod recovery screen I can get there
schartzr said:
I do have clockwordmod I am guess you mean when I can get to the clockworkmod recovery screen I can get there
Click to expand...
Click to collapse
You can try flashing these:
1- http://forum.xda-developers.com/showthread.php?t=877601
2- http://forum.xda-developers.com/showthread.php?t=875875
3- http://forum.xda-developers.com/showthread.php?t=875184 (if you really know what you're doing)
I assume you understand how adb shell works and all that, since you're dabbling in all this goodness .
Good luck, young samurai!
How would I write a system image would it be fastboot flash system system.img?
guys thanks I got my phone fixed Thanks for all your help

Recover or reinstall rom from clockwork?

My phone wont boot, so can i install a rom from clockworkrecovery?
agy1995 said:
My phone wont boot, so can i install a rom from clockworkrecovery?
Click to expand...
Click to collapse
Won't boot in what way? Can you get into fastboot and/or recovery? Since you're asking about CWM, I'm assuming you can get into it.
If you did a Nandroid backup (the main point of CWM for me), you could try just restoring it. If you didn't, I'd try a wipe all settings and then reboot. You should be able to get back to a virgin state on the main OS that way.
I can get into it, the problem is i erase all data on my phone. Thanks in advance!
???
Is there any way i can get my phone back up and running restoring everything from clockworkmod?
agy1995 said:
I can get into it, the problem is i erase all data on my phone. Thanks in advance!
Click to expand...
Click to collapse
agy1995 said:
Is there any way i can get my phone back up and running restoring everything from clockworkmod?
Click to expand...
Click to collapse
I'm still confused what your problem is.
You say the phone won't boot, but then you talk about erased data.
What exactly did you do to the phone? What was the last few things you did before you "broke" it?
What happens when you try to boot the phone (ie., it's powered off and you press the power button)? How far in the boot process does it go?
If your problem is that the phone boots but all your data is gone, there's no way to get back unless it auto-syncs down from Google, or you used a backup program like Titanium, or you made a nandroid backup in CWM.
If you made a nandroid, you should just be able to boot into CWM, select backup and restore and then restore your backup.
This is what happened....
I tried to replace my fonts in system that are supposed to work on a different phone. Then when i tried to boot up the phone was stuck on the silver google logo. Now, after that i went into clock work recovery and formated everything in the mounts and storage menu. After reinstalling the phones boot img, my phone freezes at the google logo. I can still get into the clockworkmod recovery. I never backed it up, but tried to use a nandroid someone posted online but i get a md5 mismatch.
Again, thank you for all your help!
agy1995 said:
I tried to replace my fonts in system that are supposed to work on a different phone. Then when i tried to boot up the phone was stuck on the silver google logo. Now, after that i went into clock work recovery and formated everything in the mounts and storage menu. After reinstalling the phones boot img, my phone freezes at the google logo. I can still get into the clockworkmod recovery. I never backed it up, but tried to use a nandroid someone posted online but i get a md5 mismatch.
Again, thank you for all your help!
Click to expand...
Click to collapse
The Modaco rom(http://forum.xda-developers.com/showthread.php?t=883985) should work just fine. Put it on the USB storage then in Clockwork go to "Install from zip."
i have a problem almost like that but my rom manager open but wont even backup current rom or anything, my titanium back doesn't backup either. it said i could not acquire root privileges, this app will not work, please vertify that you rom is rooted and includes busybox, i have busybox and it's rooted. i guess this happen when i update the google update last night from rom manager. what should i do
willyalmanzar said:
i have a problem almost like that but my rom manager open but wont even backup current rom or anything, my titanium back doesn't backup either. it said i could not acquire root privileges, this app will not work, please vertify that you rom is rooted and includes busybox, i have busybox and it's rooted. i guess this happen when i update the google update last night from rom manager. what should i do
Click to expand...
Click to collapse
Known issue. There is a thread in the Development section(http://forum.xda-developers.com/showthread.php?t=884499). The OTA "broke root."
Ouch. Now I understand.
In the future, always make a nandroid backup before messing around with things, easiest way to recover.
I see you're looking for help in this thread. Maybe they can help you.
You could also try flashing Doc's or Paul's roms also in that section.
rom
I tried that custom rom... still didnt work. Im going to give it another shot!
agy1995 said:
I tried that custom rom... still didnt work. Im going to give it another shot!
Click to expand...
Click to collapse
Did you wipe/factory reset before attempting to install? I realize that you're pretty much wiped at the moment, but always best to start with that.
unremarked said:
Did you wipe/factory reset before attempting to install? I realize that you're pretty much wiped at the moment, but always best to start with that.
Click to expand...
Click to collapse
I did that + i am using version 3.0 clockwork. Still frozen on the google screen.
agy1995 said:
I did that + i am using version 3.0 clockwork. Still frozen on the google screen.
Click to expand...
Click to collapse
You've tried another NAND backup, besides the one that MD5 mismatched, yar? Be careful not to rename it, as that can cause the mismatch.
Nope
Nope i didnt try any...
Do i have to rename it to update.zip?
Do i have to rename it to update.zip?
agy1995 said:
Do i have to rename it to update.zip?
Click to expand...
Click to collapse
The custom rom? No, you just go into recovery, wipe/factory reset, install from SD card, then navigate to where you put the .zip on the SD card.
I see you did try the 2.3.1 NAND backup in the development section. Try downloading it again on your PC, unzip it, then place the new folder on the clockworkmod's backup folder on your SD card. Again, do not rename it.
Im trying it now.
Im trying it now.
agy1995 said:
Im trying it now.
Click to expand...
Click to collapse
Be warned that if you do get the NAND to restore, you may lose clockwork recovery. I know I did when I first tried to use it.
Don't panic though, because you can fastboot flash clockwork back on from the bootloader.
I am pushing the files....
I am pushing the files....

Uh oh... Can I fix this? Rom Toolbox Pro error

Hey guys,
I tried using Rom Toolbox Pro to change my battery icon... after trying to install, the error "com.android.systemui has stopped working" continually popped up. I had to reboot by holding vol+, vol- and lock.
After rebooting, all soft buttons and the status bar are gone. I can't manage to get them back. I also can't manage to restore the battery icon - RTP prompted me to backup the icons before trying to install the new ones, and I did.
What have I done?
You've borked the system UI. Need to flash a new ROM or flash a factory image, I think.
Sent from my Nexus 7 using xda app-developers app
duloz said:
You've borked the system UI. Need to flash a new ROM or flash a factory image, I think.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Wow, that's so bull**** haha. Thanks for the quick reply
bulldozed said:
Wow, that's so bull**** haha. Thanks for the quick reply
Click to expand...
Click to collapse
So I went to restore my backup through CMW, it failed. Now I'm stuck on the Google screen. How do I flash it back to stock, in order to start all over again? I can get to the CMW page with the Android on his back, with "Start" up the top.
Appreciate any help!
bulldozed said:
So I went to restore my backup through CMW, it failed. Now I'm stuck on the Google screen. How do I flash it back to stock, in order to start all over again? I can get to the CMW page with the Android on his back, with "Start" up the top.
Appreciate any help!
Click to expand...
Click to collapse
That's not the clock work recovery. It's the bootloader. That's where you need to be to flash the image though.
First download the Nexus 7 image from https://developers.google.com/android/nexus/images#nakasijro03d
Once you have downloaded it extract the file twice until you see image-nakasi-jro03d.zip
Take that zip and move it to the directory where you have fastboot on your computer.
Open your command prompt pointing at that directory.
Then, type:
Code:
fastboot devices
if it returns a number you are good to go.
Next type:
Code:
fastboot -w update image-nakasi-jro03d.zip
This will wipe your user data and restore stock recovery. But you should be good to go.
geez, just reflash your rom, youll be ok.
El Daddy said:
snip
Click to expand...
Click to collapse
absolute legend. Thanks for the detailed reply, really appreciate it! I will give that a shot right now.
EDIT: haha took me five minutes to get it reflashed to stock. thanks again!
simms22 said:
geez, just reflash your rom, youll be ok.
Click to expand...
Click to collapse
haha sorry if my posts were a bit over the top, I was just sitting in bed having a play (with my Nexus 7........), then all of a sudden my tablet is seemingly wrecked simply from trying to change the battery icon... I FREAKED
Did something similar myself.
Just downloaded the factory image and flashed just the system.img file using fastboot and rerooted. A few system apps played up, most were fixed by wiping the cache but i had to delete all data from the contacts app, it resynced fine anyway.
To clarify extract the factory image to get the system.img and use the following
fastboot flash system system.img
Just rewrites the system partition.
Sent from my Nexus 7 using Tapatalk 2
The same thing happened to me trying to change the wifi icon. I guess Rom Toolbox doesn't play well with the Nexus 7?
Same thing on Galaxy Nexus... stumbled upon this thread searching for a solution. Was thinking we could restore from the backup that was made when swapping icons, but I guess that's not the case?
bulldozed said:
Hey guys,
I tried using Rom Toolbox Pro to change my battery icon... after trying to install, the error "com.android.systemui has stopped working" continually popped up. I had to reboot by holding vol+, vol- and lock.
After rebooting, all soft buttons and the status bar are gone. I can't manage to get them back. I also can't manage to restore the battery icon - RTP prompted me to backup the icons before trying to install the new ones, and I did.
What have I done?
Click to expand...
Click to collapse
Hello friends,
I am curious why, when such issues occured with your device, you did not contact Rom Toolbox Dev. to ask for help?
I am part of the support team from Rom Toolbox Pro, and I believe the post right before me is from someone who reached out to me to ask me about this, so allow me to explain the solution here real fast:
What happened is that when you changed the icon, it simply didn't work and messed up the UI. This occurs sometimes, and is the right time to restore a backup of the icons.
Problem is that now you can't restore, because the soft keys are all gone, and the Nexus 7 has no hard keys to do the dirty work.
So, here is the solution; you must use Root Browser to switch out the Systemui.apk and framework.apk files from the backup folder to the /system/app folder.
Where is the backup stored, you ask? Well, since it's very easy to break a rom by restoring the framework and systemui to the wrong rom, the backups are actually placed inside the app's data partition. This is to prevent tampering. If you are reading this post, then I assume you know what you're doing and are doing this with the EXACT same rom as the backups were created from.
The directory of the backups is /data/data/com.jrummy.liberty.toolboxpro/files/status_bar_backup/
Simply copy these over and paste them in /system/app, maybe renaming rather than deleting the old ones, just in case, then paste these and reboot your device.
And now your systemui and framework should be all restored.
Hope this helps! Be sure to contact the developer next time you need any help, We have arguably the best customer service of all the Play Store
And be sure to thank the one who referred me to this thread, if this helps!
Master Ramy said:
Hello friends,
I am curious why, when such issues occured with your device, you did not contact Rom Toolbox Dev. to ask for help?
I am part of the support team from Rom Toolbox Pro, and I believe the post right before me is from someone who reached out to me to ask me about this, so allow me to explain the solution here real fast:
What happened is that when you changed the icon, it simply didn't work and messed up the UI. This occurs sometimes, and is the right time to restore a backup of the icons.
Problem is that now you can't restore, because the soft keys are all gone, and the Nexus 7 has no hard keys to do the dirty work.
So, here is the solution; you must use Root Browser to switch out the Systemui.apk and framework.apk files from the backup folder to the /system/app folder.
Where is the backup stored, you ask? Well, since it's very easy to break a rom by restoring the framework and systemui to the wrong rom, the backups are actually placed inside the app's data partition. This is to prevent tampering. If you are reading this post, then I assume you know what you're doing and are doing this with the EXACT same rom as the backups were created from.
The directory of the backups is /data/data/com.jrummy.liberty.toolboxpro/files/status_bar_backup/
Simply copy these over and paste them in /system/app, maybe renaming rather than deleting the old ones, just in case, then paste these and reboot your device.
And now your systemui and framework should be all restored.
Hope this helps! Be sure to contact the developer next time you need any help, We have arguably the best customer service of all the Play Store
And be sure to thank the one who referred me to this thread, if this helps!
Click to expand...
Click to collapse
Hi Master Ramy,
I was the one who emailed JRummy.
I'm not sure I understand what you're saying actually. I guess your reply answers the OP's question - that is, in the event that we get the "com.android.systemui has stopped working" error , then we should do the stuff you said?
My issue is different... I hadn't swapped out my battery icons yet, cos I wanted to test the restore function in ROM Toolbox first before doing so. So I backed up both systemui and framework-res using ROM Toolbox, then simply tried to restore them using ROM Toolbox. But I got a toast notification saying "failed to get icons". I didn't get a big error like the OP's, but it was alarming enough that I didn't even try to change the icons in the end.
Are you saying that I should manually move my systemui and framework-res backups to system/app in order for ROM Toolbox to be able to restore them?
mlj11 said:
Hi Master Ramy,
I was the one who emailed JRummy.
I'm not sure I understand what you're saying actually. I guess your reply answers the OP's question - that is, in the event that we get the "com.android.systemui has stopped working" error , then we should do the stuff you said?
My issue is different... I hadn't swapped out my battery icons yet, cos I wanted to test the restore function in ROM Toolbox first before doing so. So I backed up both systemui and framework-res using ROM Toolbox, then simply tried to restore them using ROM Toolbox. But I got a toast notification saying "failed to get icons". I didn't get a big error like the OP's, but it was alarming enough that I didn't even try to change the icons in the end.
Are you saying that I should manually move my systemui and framework-res backups to system/app in order for ROM Toolbox to be able to restore them?
Click to expand...
Click to collapse
Yes, the post was in response to the OP talking about losing the soft keys and such Due to the different nature of your issue, I've sent you an email instead of responding here, so that we don't clog up this thread

Categories

Resources