[Q] 'new' refurb did s-off, restoring AR backup fails? - HTC Rezound

recovery just says something is wrong, look at log?
I tried a few versions (of the backup sets), same error.
What am I doing wrong? How do I fix it? :crying:
Log from recovery run...
Starting recovery on Thu Aug 16 21:58:52 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (720 x 1280)
RA Revamped
Build : RA-VIGOR-v3.15-getitnowmarketing
Command: "/sbin/recovery"
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1

fuzzynco said:
recovery just says something is wrong, look at log?
Click to expand...
Click to collapse
This happens all the time to people.
You can't simply restore a backup from another device because then your new device will actually appear as your old device on Google and Verizons servers, which will cause all sorts of problems if Verizon were to ever successfully restore your old phone and try and send it off to someone else. To avoid this problem, the recovery won't even let you restore a backup from another phone, even if its the exact same hardware.
Go to play.google.com, go to view your devices in the settings section. You should see two Rezounds. One will have been activated in the past, and one whenever you first turned on your replacement after receiving it and logging in with your account. So the one that was activated in the past is clearly your original Rezound that you've returned. You can give it a name, like "DEAD REZOUND" so that you know by looking at the name which Rezound Google thinks you're using.
There is a workaround that will let you restore the backup anyway if you want to search for it, but I highly recommend you don't. If you do, you can then go to play.google.com again, view your existing devices in the settings section, and you'll see that Google thinks your new phone is the same one you just sent back to Verizon. It should show "DEAD REZOUND" as being registered again today (or whatever day you successfully restored a backup from your old phone)
To sum up: Don't restore a backup from another Rezound. You pretty much have to start over again.

I kind of follow... RA is an image backup
so it would duplicate the serial and device specific data.
I could do a TiBu of the user apps and data (and the
new xml files of the call log and sms's), though.
Use an app to export the calendar data to an
.ics (iCal file) and the phone book to a .vcf
for import on the 'new' phone.
Since Google added some 800+ empty
phone book entries and messed up my phone
book, I don't sync with it. I export the whole
thing to a vcf.
So the missing /dev/tty0 device file
error from the restore is just AR not
letting me shot myself in the foot,
right?
I'll need to install my ROM, then
restore the user apps and data
from TiBu then rebuild my 'desktop'?
Is it worth doing the RUU for ICS
to get there? The new phone was
offered the upgrade OTA, but I think
it was wiped by the unlock prior to
S-Off process. Would I flash
the ICS RUU, then flash the ICS/JB
hboot, to get fastboot commands,
then reflash recovery?
I have seperate micro cards for
the 600mb RUU zip and the
ICS firmware/radio/hboot(JB)
zip.
I'm thinking since I have to rebuild
the desktop anyway, maybe doing
the ICS RUU first is a good idea.

fuzzynco said:
so it would duplicate the serial and device specific data.
I could do a TiBu of the user apps and data (and the
new xml files of the call log and sms's), though.
Use an app to export the calendar data to an
.ics (iCal file) and the phone book to a .vcf
for import on the 'new' phone.
Since Google added some 800+ empty
phone book entries and messed up my phone
book, I don't sync with it. I export the whole
thing to a vcf.
So the missing /dev/tty0 device file
error from the restore is just AR not
letting me shot myself in the foot,
right?
I'll need to install my ROM, then
restore the user apps and data
from TiBu then rebuild my 'desktop'?
Is it worth doing the RUU for ICS
to get there? The new phone was
offered the upgrade OTA, but I think
it was wiped by the unlock prior to
S-Off process. Would I flash
the ICS RUU, then flash the ICS/JB
hboot, to get fastboot commands,
then reflash recovery?
I have seperate micro cards for
the 600mb RUU zip and the
ICS firmware/radio/hboot(JB)
zip.
I'm thinking since I have to rebuild
the desktop anyway, maybe doing
the ICS RUU first is a good idea.
Click to expand...
Click to collapse
In reply to the bolded part: Basically, yes. AR's nandroid places the backups in a folder with your phone's serial as the folder name. Attempting to restore any backup from a folder with any other name will fail to prevent the issues I mentioned above.
I do not and have not ever used Titanium Backup, so in regards to that, I can't be of any help.
If you have a linux machine, you can mount the data.img from any of your backups and then copy all the files from /data/app and data/data to your phone. This will restore most of your apps, and app data/settings. There will still be a few things you'll have to redo from scratch, and this may not work 100% for every app on your phone, but at least this way you don't have to redownload every single app and manually redo all your settings...

I did the RUU zip (it restarted itself, as expected), the firmware/radio/hboot(JB) zip
and then reflashed AR 3.15 from fastboot. Everything seems to be working now.
Do you know if the debloat script (freeze VZW apps) works for ICS OTA ROM?

fuzzynco said:
I did the RUU zip (it restarted itself, as expected), the firmware/radio/hboot(JB) zip
and then reflashed AR 3.15 from fastboot. Everything seems to be working now.
Do you know if the debloat script (freeze VZW apps) works for ICS OTA ROM?
Click to expand...
Click to collapse
not sure...

I couldn't get ViperROM 1.0.3 to not crash (com.android.phone kept crashing).
Trying a couple of others that are prerooted and deboated. So far the ICS &
Sense 3.6 looks fine. Still have the 'social network' stuff to freeze though,
Could I do something like make a zip (from adb shell) of the user apps
/data/app & /data/data directories (to preserve the unix permissions).
and leave that on fat32 sd card? Then merge that into the zip for the
rom to be installed so the installer will reload them?
Would I need to add lines to the installer script to have it load /data (with
the subdirs ../app and ../data)?
hmms maybe better to make a seperate zip to preinstall my saved
/data subdirs? Can I copy the ROMs installer binary and build
a installer script to mount /data, then install the /data directory,
umount /data?

a.mcdear said:
This happens all the time to people.
You can't simply restore a backup from another device because then your new device will actually appear as your old device on Google and Verizons servers, which will cause all sorts of problems if Verizon were to ever successfully restore your old phone and try and send it off to someone else. To avoid this problem, the recovery won't even let you restore a backup from another phone, even if its the exact same hardware.
Go to play.google.com, go to view your devices in the settings section. You should see two Rezounds. One will have been activated in the past, and one whenever you first turned on your replacement after receiving it and logging in with your account. So the one that was activated in the past is clearly your original Rezound that you've returned. You can give it a name, like "DEAD REZOUND" so that you know by looking at the name which Rezound Google thinks you're using.
There is a workaround that will let you restore the backup anyway if you want to search for it, but I highly recommend you don't. If you do, you can then go to play.google.com again, view your existing devices in the settings section, and you'll see that Google thinks your new phone is the same one you just sent back to Verizon. It should show "DEAD REZOUND" as being registered again today (or whatever day you successfully restored a backup from your old phone)
To sum up: Don't restore a backup from another Rezound. You pretty much have to start over again.
Click to expand...
Click to collapse
not really. im on my third rezound and i restored the same viper rom i had before.
this is what i did with AR
1. back up current rom
2. boot into rom
3. use root explorer and find the nandroids
4. noticed 2 folders in the same nanadroid folder ( light bulb)
5. move old back up to the location where the new one was.
6. boot into recovery and did a full wipe
7. restored old back up.
8 boot phone
9. BAM!

This app might work. I use it and it works great but I'm not sure if it restores data.

synisterwolf said:
not really. im on my third rezound and i restored the same viper rom i had before.
this is what i did with AR
1. back up current rom
2. boot into rom
3. use root explorer and find the nandroids
4. noticed 2 folders in the same nanadroid folder ( light bulb)
5. move old back up to the location where the new one was.
6. boot into recovery and did a full wipe
7. restored old back up.
8 boot phone
9. BAM!
Click to expand...
Click to collapse
Yeah this works perfectly fine, but can cause the new phone to register on the network as if it were the old one. It is perfectly possible to restore a backup from another phone, and it works fine... its just a bad idea because if your old phone is ever "recovered" and turned back on, VZW might see two identical devices on the network, which will cause problems in the future.

a.mcdear said:
Yeah this works perfectly fine, but can cause the new phone to register on the network as if it were the old one. It is perfectly possible to restore a backup from another phone, and it works fine... its just a bad idea because if your old phone is ever "recovered" and turned back on, VZW might see two identical devices on the network, which will cause problems in the future.
Click to expand...
Click to collapse
Good to know. Thanks
In my case, the backup is from a device that i bricked totally. couldnt get into download mode so im thinking they will just use it as parts
Sent from my iPhone...

Related

[Q] Installing a nand on someone else's phone

So I made a nand of the rom I'm using and flashed it to my wife's phone (so she wouldn't have to set her phone up at all). It logged in under my accounts (which I expected). I removed my FB account but it will not let me remove my gmail account. It says the only way I can do that is to factory reset the phone, which defeats the point.
Does anyone have the setup wizard app or know where I can find it? I couldn't find it in the market.
Am I fighting a lost cause here?
i beleive you are I personally have yet to figure out how to remove your gmail account you can add a gmail of hers but i dont think you can remove yours from it.
Nevermind. I gave up and did a clean install. I'll just use Titanium and install her settings back. No biggie. I was just being lazy.
I am curious though if that set up wizard app would let me remove a gmail account from a phone. I even logged in and syned with her gmail account and it wouldn't let me remove mine.
Really simple... flash a rom that doesn't come with google apps.
Hungry Man said:
Really simple... flash a rom that doesn't come with google apps.
Click to expand...
Click to collapse
What I'm aiming to do is put my backup on my wife's phone...only with the ability to replace my accounts and login with hers. So pretty much any nand I create is going to have google apps already flashed.
To install a nand restore on another phone
all you have to do is put it in the right folder.
Step 1) Make a nand Backup on the new phone.
Step 2) Take the nand backup from YOUR phone, save it somewhere
step 3) Save YOUR nand backup to the right folder inside hers.
For example: Her phone will look for
/sdcard/nandroid/HTC123ABCDEFG
so her backup will be /sdcard/nandroid/HTC123ABCDEFG/2010-0814-1234/ or something
your phone might be
/sdcard/nandroid/HTC456HIJKLMNO
so you need to take your backup, maybe called /2010-0821-1111/ and put it in her folder, so that on her SD card you have
/sdcard/nandroid/HTC123ABCDEFG/2010-0821-1111/
Then she can 'nand restore' that, perfectly.
I have done this when getting new Eris's. First root the new Eris.
Then make a nand backup (so it creates the right folder)
Then drag the old nand backup into that folder
The problem is that once you nand restore, whatever Google account was set up with that backup is the ONLY primary Google account that will be allowed for that phone. So your Contacts/Calendar/Gmail syncing will have to be done with that original Google account. You have to data/factory reset anyway to change it. You could go Settings >Accounts and sync> and uncheck the the boxes for syncing contacts, gmail, and calendar, but that might be impractical.
pkopalek said:
To install a nand restore on another phone
all you have to do is put it in the right folder.
Step 1) Make a nand Backup on the new phone.
Step 2) Take the nand backup from YOUR phone, save it somewhere
step 3) Save YOUR nand backup to the right folder inside hers.
For example: Her phone will look for
/sdcard/nandroid/HTC123ABCDEFG
so her backup will be /sdcard/nandroid/HTC123ABCDEFG/2010-0814-1234/ or something
your phone might be
/sdcard/nandroid/HTC456HIJKLMNO
so you need to take your backup, maybe called /2010-0821-1111/ and put it in her folder, so that on her SD card you have
/sdcard/nandroid/HTC123ABCDEFG/2010-0821-1111/
Then she can 'nand restore' that, perfectly.
I have done this when getting new Eris's. First root the new Eris.
Then make a nand backup (so it creates the right folder)
Then drag the old nand backup into that folder
The problem is that once you nand restore, whatever Google account was set up with that backup is the ONLY primary Google account that will be allowed for that phone. So your Contacts/Calendar/Gmail syncing will have to be done with that original Google account. You have to data/factory reset anyway to change it. You could go Settings >Accounts and sync> and uncheck the the boxes for syncing contacts, gmail, and calendar, but that might be impractical.
Click to expand...
Click to collapse
It took me a few tries to figure out that I had to put my nand in her file located at sd/nandroid/whateverfilename and couldn't simply drop my sd/nandroid/whateverfilename/datenandwascreated file on her phone.
Correct me if I'm wrong. Doing a factory reset would return the rom to a factory state (like a fresh wipe and flash of a new rom)? Surely google/verizon/htc thought that people might want to change their e-mail address for whatever reason and included a way to do this without resetting the phone? Guess not.
Sent from my ERIS using XDA App
pkopalek said:
The problem is that once you nand restore, whatever Google account was set up with that backup is the ONLY primary Google account that will be allowed for that phone. So your Contacts/Calendar/Gmail syncing will have to be done with that original Google account. You have to data/factory reset anyway to change it. You could go Settings >Accounts and sync> and uncheck the the boxes for syncing contacts, gmail, and calendar, but that might be impractical.
Click to expand...
Click to collapse
Last night I ran a quick experiment with a Froyo ROM (Kaos V30):
- Shut down phone
- booted Amon_RA
- # mount /data
- # rm /data/system/accounts.db
- # umount /data
- rebooted
Reboot seemed fine, and there were no (Gmail) contacts present in the dialer, nor any access to Gmail. Shortcuts to specific (phone) contacts were still in my home screens (including images of the person), but clicking on them resulted in an error. No apparent FCs anywhere.
Clicking on the Market app took me immediately to the Google Account setup screen (which I believe is the same thing as Settings -> Accounts & sync -> Add account -> Google). I don't know if this (behavior) is unique to 2.2 or not.
I don't have a second Google account, so I just re-entered the username/pass for my account - the same one that had already been on the phone, and the phone started "syncing". I sort of wondered what might happen (because I am using Froyo "Save my settings"), but everything came back as I would expect - Contacts, Gmail, etc.
I would have proceeded a little further with this experiment, but I couldn't access the Market ("connection error") (about 1am EST Saturday morning), so I stopped, assuming this was a failure - and restored a Nandroid backup. When the restored ROM also had trouble with the Market, I thought - "oh, boy, what have I done?" But, it seems that a number of people have reported trouble with the Android Market late last night / early this AM - and the Market was working this AM on my restored ROM, too.
I could repeat the experiment if there is any interest, and this time use my GF's account for testing purposes. There are probably some things cached that should be cleaned up prior to adding back in a Google account; probably it wouldn't hurt to use
Settings -> Applications -> Manage applications
To clear the data and cache areas for a few things such as
Browser
Calendar
Calendar Storage
Contacts
Contacts Storage
Dialer
Dialer Storage
Email
Gmail
Google Voice
Maps
Market
(Plus others as appropriate - Twitter, FB, etc)
bftb0
bftb0 said:
Last night I ran a quick experiment with a Froyo ROM (Kaos V30):
- Shut down phone
- booted Amon_RA
- # mount /data
- # rm /data/system/accounts.db
- # umount /data
- rebooted
Reboot seemed fine, and there were no (Gmail) contacts present in the dialer, nor any access to Gmail. Shortcuts to specific (phone) contacts were still in my home screens (including images of the person), but clicking on them resulted in an error. No apparent FCs anywhere.
Clicking on the Market app took me immediately to the Google Account setup screen (which I believe is the same thing as Settings -> Accounts & sync -> Add account -> Google). I don't know if this (behavior) is unique to 2.2 or not.
I don't have a second Google account, so I just re-entered the username/pass for my account - the same one that had already been on the phone, and the phone started "syncing". I sort of wondered what might happen (because I am using Froyo "Save my settings"), but everything came back as I would expect - Contacts, Gmail, etc.
I would have proceeded a little further with this experiment, but I couldn't access the Market ("connection error") (about 1am EST Saturday morning), so I stopped, assuming this was a failure - and restored a Nandroid backup. When the restored ROM also had trouble with the Market, I thought - "oh, boy, what have I done?" But, it seems that a number of people have reported trouble with the Android Market late last night / early this AM - and the Market was working this AM on my restored ROM, too.
I could repeat the experiment if there is any interest, and this time use my GF's account for testing purposes. There are probably some things cached that should be cleaned up prior to adding back in a Google account; probably it wouldn't hurt to use
Settings -> Applications -> Manage applications
To clear the data and cache areas for a few things such as
Browser
Calendar
Calendar Storage
Contacts
Contacts Storage
Dialer
Dialer Storage
Email
Gmail
Google Voice
Maps
Market
(Plus others as appropriate - Twitter, FB, etc)
bftb0
Click to expand...
Click to collapse
THAT'S AWESOME! I would be very interested for you to repeat this experiment. This would be VERY useful for me. My wife likes the whole rooted phone with all the extra options but she's not into it like I am. If this works and is stable, I could easily set her phone up exactly like mine. I would test it myself but I'm not an advanced adb user. If I break something, it's just broke which would probably equal the doghouse for me since it's my wifes phone.
If this works, you should write a how-to for the community. I couldn't find one when I searched and I'm sure others would find it useful.
Sent from my Froyo Eris using XDA App
joshw0000 said:
THAT'S AWESOME! I would be very interested for you to repeat this experiment. This would be VERY useful for me. My wife likes the whole rooted phone with all the extra options but she's not into it like I am. If this works and is stable, I could easily set her phone up exactly like mine. I would test it myself but I'm not an advanced adb user. If I break something, it's just broke which would probably equal the doghouse for me since it's my wifes phone.
If this works, you should write a how-to for the community. I couldn't find one when I searched and I'm sure others would find it useful.
Sent from my Froyo Eris using XDA App
Click to expand...
Click to collapse
So long as you have adb working, you do not need to be an "advanced" adb user in order to help out with the testing. After you create a Nandroid Backup in Amon_RA, there are literally only four lines you type in using the "adb shell" (with Amon_RA still running):
Code:
mount /data
rm /data/system/accounts.db
umount /data
exit
... and then do a Wipe Dalvik-cache in Amon_RA
Everything else that I suggested is performed using
Settings -> Manage -> Manage applications
in the main OS. (I suppose it might even be possible to delete /data/system/accounts.db using a root-aware file manager, but I prefer to do stuff like that in an offline fashion)
If something goes wrong - well, you have a full Nandroid backup available to restore to. The same thing goes for your wife's phone too, right?
bftb0
PS For anyone else reading this thread: it is a quarter-baked idea (not even half-baked); don't take away from this any sort of mis-impression that this has undergone any significant testing (none at all on 2.1, in fact). Feel free to experiment yourself - but make good Nandroid backups!
bftb0 said:
So long as you have adb working, you do not need to be an "advanced" adb user in order to help out with the testing. After you create a Nandroid Backup in Amon_RA, there are literally only four lines you type in using the "adb shell" (with Amon_RA still running):
Code:
mount /data
rm /data/system/accounts.db
umount /data
exit
... and then do a Wipe Dalvik-cache in Amon_RA
Everything else that I suggested is performed using
Settings -> Manage -> Manage applications
in the main OS. (I suppose it might even be possible to delete /data/system/accounts.db using a root-aware file manager, but I prefer to do stuff like that in an offline fashion)
If something goes wrong - well, you have a full Nandroid backup available to restore to. The same thing goes for your wife's phone too, right?
bftb0
PS For anyone else reading this thread: it is a quarter-baked idea (not even half-baked); don't take away from this any sort of mis-impression that this has undergone any significant testing (none at all on 2.1, in fact). Feel free to experiment yourself - but make good Nandroid backups!
Click to expand...
Click to collapse
I do have a working adb and understand for the most part that you're deleting accounts.db in /data/system?? What I'm not following is why I would need to boot into recovery to delete the file. Would the process not work the same if you made the changes while booted in the rom? Do the changes affect the recovery partition at all or did you boot to recovery so you can immediately wipe dalvik and reboot? That's my biggest fear.
Sorta the same question - does it matter where you're booted when you do adb commands (booted, usb mounted, recovery, powered off)?
P.S. I've read several responses you've posted in other threads. You're very thorough in reponses and I personally have learned a lot from reading them. Thanx for your input and help with us noob and novice users.
Sent from my Froyo Eris using XDA App
joshw0000 said:
I do have a working adb and understand for the most part that you're deleting accounts.db in /data/system?? What I'm not following is why I would need to boot into recovery to delete the file. Would the process not work the same if you made the changes while booted in the rom? Do the changes affect the recovery partition at all or did you boot to recovery so you can immediately wipe dalvik and reboot? That's my biggest fear.
Sorta the same question - does it matter where you're booted when you do adb commands (booted, usb mounted, recovery, powered off)?
Click to expand...
Click to collapse
The changes do not affect the recovery partition - the reason that the recovery partition is used for almost all administration involving system elements is because there are not files which are "locked" by applications that are using those files, nor do you have anything running which depends on that file at the moment it is deleted.
The account credentials are important to lots of applications which are running on the phone in the regular OS, and you will get strange behaviors, crashes, and possible corruption of application state if you just yank the file out from underneath all those applications. You could try to stop those apps first - but a lot of them auto-restart on their own.
I'll use an analogy; it's like the difference between setting a table without a tablecloth, versus trying to remove the tablecloth after all the dishes are in place.
There are lots of reasons to prefer doing things in an offline mode, but the primary one is that you are not "yanking X out from underneath Y" - when "Y" thinks that "X" is still there.
It is typical for both system and application logic to do things like check for files on startup, and then either rebuild them from defaults if they are not present, or read/write their contents if they are already present. It is a lot more rare for applications to be coded in way that they are constantly check to see if something they though was there has suddenly disappeared. Moreover, the way that locking works with Linux kernels, you can delete a file that is opened by another process, and replace it with a new file - but the processes that are still running with that file open will still have a copy of it.
As for being scared - you have a Nandroid backup, right?
bftb0
That makes a lot since. I'll try this method out the next time I change my wife's rom.
Sent from my Froyo Eris using XDA App

For anybody looking to backup before HTC DevUnlock

I hadn't seen mention of this in the EVO LTE forum, but here's a way to backup everything before the HTCDev unlock that wipes your phone.
I was waiting for some way of doing this since you can't run Titanium Backup before getting root, and getting root (with current HBOOTs) wipes your phone. Found this in the generic Android hacking section:
http://forum.xda-developers.com/showthread.php?t=1844032
I never knew there was an ADB Backup command. I've posted questions before and nobody mentioned it.
Since the phone prompts for an encryption password, it probably does do a deep copy of all the app settings.
I haven't actually done the restore from this yet - I'll be rooting this weekend then try the restore.
(Also backed up in MyBackup Pro just in case, for the little good that does.)
It's a huge Windows .BAT file that presents a menu of choices. It DOES take a while. Set a path, then choose a backup option.
I'm trying several different backup options under different backup names to see what restores the best.
If this works as advertised, it should save me days of re setting everything up and many rounds of annoyances about apps that no longer remember their settings.
OTOH, If this doesn't work, don't blame me
Dont you still need root to gain access to app data and the system files?
Sent from my EVO using Tapatalk 2
I would assume this uses fastboot root for anything that can't be accessed but fastboot has access to practically everything, there's even a fastboot command to flash splash screens lol
Again, I haven't tried the restore yet, but it looks to me like it requests the system to do it, which asks your permission first, so I'm assuming it gets everything.
I ran it with the phone booted up and it didn't complain. I guess I'll find out when I unlock and try to restore.
I may play with this later, seems like something handy for my guide
Sorry, I'm still too tired to understand what the hell is going on half the time, you're talking about adb and I'm taking about fastboot lol
pbarrett said:
Again, I haven't tried the restore yet, but it looks to me like it requests the system to do it, which asks your permission first, so I'm assuming it gets everything.
I ran it with the phone booted up and it didn't complain. I guess I'll find out when I unlock and try to restore.
Click to expand...
Click to collapse
Wouldn't think the restore would mess anything up, but I'm paranoid as $h1t with this phone.
Ask me about my ability to annoy complete strangers!
Nah its just a couple of image files, the worst thing that could happen is a bad flash that you can easily recover from in recovery
Hmm.
Well restoring a backup that didn't include system data *does* restore the app settings.
Now I'm trying restoring a backup that did include system data (the one marked as "unsafe" in the menu).
I'm hoping it'll restore my home screens, WiFi credentials, etc. The backup with system data took maybe 2 hours.
I'll check the restore in the morning...
(Oh well, either way, now that I'm rooted I can ditch all this and just go with Titanium from now on. Yay.)
Results:
Restoring a backup without system data did get all my app data/settings back.
Restoring a backup that included system data also had the side benefit of restoring the boot screen without the red tamper warning even though I'm S-ON. LOL.
I wonder if modifying a backup file then restoring it could be exploited...
This type of backup also includes all the SD contents. You might want to manage media files yourself instead.
Neither type restored home-screens. In fact, after restoring the one with system data, I had no icons or widgets whatsoever.
Even when I also told MyBackupPro to restore homescreens I got nothing. Oh well.
pbarrett said:
Results:
Restoring a backup without system data did get all my app data/settings back.
Restoring a backup that included system data also had the side benefit of restoring the boot screen without the red tamper warning even though I'm S-ON. LOL.
I wonder if modifying a backup file then restoring it could be exploited...
This type of backup also includes all the SD contents. You might want to manage media files yourself instead.
Neither type restored home-screens. In fact, after restoring the one with system data, I had no icons or widgets whatsoever.
Even when I also told MyBackupPro to restore homescreens I got nothing. Oh well.
Click to expand...
Click to collapse
Very interesting...You could be on to something there with exploiting a backup. May want to drop the lazy panda devs a line and see if it could be used to downgrade the hboot in some way. When you restored the system partition did you lose root?
Sent from my EVO LTE
Nope - I was wondering if that would happen, but it's still rooted & su, busybox, etc are still there.
It restores the screen as a side effect of copying the entire system state. As a restore you get the system state in tact as it was before the phone gets tampered. An interesting exercise would be to see if you can use the back up function to flash a system state with superuser privledges
Gaining root with fastboot...I like it. Are the backups locked to the device or can they be shared and restored on others?
Sent from my EVO LTE
I would assume they aren't but they may have access to back up misc info related to only that phone. I haven't had a chance to poke around with this program yet
pbarrett said:
Neither type restored home-screens. In fact, after restoring the one with system data, I had no icons or widgets whatsoever.
Even when I also told MyBackupPro to restore homescreens I got nothing. Oh well.
Click to expand...
Click to collapse
That's one of the many reasons why I use Apex. It allows you to back up and restore your home screens and settings. I also find that the multitasking is much improved if the sense launcher isn't running.
premo15 said:
Very interesting...You could be on to something there with exploiting a backup. May want to drop the lazy panda devs a line and see if it could be used to downgrade the hboot in some way. When you restored the system partition did you lose root?
Sent from my EVO LTE
Click to expand...
Click to collapse
Anybody know if it is actually possible to exploit hboot using this adb method or something similar. Has a hboot been exploited vin the past through adb
Sent from my EVO using xda app-developers app
It has been but only on early versions of Android, the odds of an exploit found like that again isn't at all likely. We just like to think out loud
I can't get this working. I run UBT.bat and it just flashes on my screen and closes.

Lost contacts after update. Nand restore not working.

I had been running Cleanrom4.5 for the last 6 month with out flashing(pretty long run for me) So I finally decided I would try the Nils Business 4.0.3 S3.6 rom. But I did not do my safety back up with TB or make sure that all my contacts were on google. So I have lost what seems to be about 6 month maybe 100+ important contacts entered in the wrong folder so they were not syncing.
I am trying to do a nand restore to go a back up done a month ago but it will not boot just gets stuck after the boot animation comes to a stop. The old back up was with an older version of Amon Ra, so maybe it was just a change in the way back and up restores are done?
Any tips would be great. Some times I get no problems skipping the safety steps of updating and other times I get screwed!
Sorry man, you should always sync your contacts with google.
Are you s-on? You may try fast boot flashing the boot.img after you restore the nandroid.
Yes S-on. Do I need to extract the boot img and place it on the SD or does it place it there for me? I am guessing i will have to move it to the root and rename it PH98IMG...?
Yeah I just got cocky thinking that google had all my contacts, I think i must have had the last 6 months of contacts in a folder that google was not syncing.
shermanpat said:
Yes S-on. Do I need to extract the boot img and place it on the SD or does it place it there for me? I am guessing i will have to move it to the root and rename it PH98IMG...?
Yeah I just got cocky thinking that google had all my contacts, I think i must have had the last 6 months of contacts in a folder that google was not syncing.
Click to expand...
Click to collapse
You could try reflashing cleanrom, and reboot to bootloader to flash the boot.img just like always. Then restore your nandroid without wiping.
Thank you GreyTheWolf that sounds like a good fix! My brain just got stuck on me being a dumb ass and need a kick like that to get rolling in the right direction again!
This doesn't help your current situation but as an added safety measure you can use MyBackup to back up your contacts (and other stuff like mms) just in case of something like this. It works great.

Requesting help ROM HTC One Max 8060 T6DUG (2-Sim)

Hello my fella Developers.
lets do this again. i have the threat all typed up with details and closed it by an accident.
anyways
I have htc one max 8060-t6dug Chinese variant without OS. HTC-1
I had issues with this one, it came with bloatware and lots of it. some of it is pornographic. (got kids who play with my phone)
i decided to root, got the TWRP Recovery. flashed with latest SuperSU. got titanium pro (paid) to get rid of unwanted bloatware. i guess i missed out on something. as soon as i connect with wifi. it starts to download apps. and formatting doesnt help. so i thought maybe repeat the process. BUT in recovery i accidentally wiped system.
i have been through xda developers forums completely found some roms but dead links.
went though several other sites without any luck.
went though Chinese forums (Baidu i think) found some firmwares but TWRP gives me error trying to flash it.
i have tried to flash these with adb command, but mostly get remote not allowed error or space not allocated error.
came back to xda forums and found this
http://forum.xda-developers.com/htc...m-ruu-htc-one-max-809d-t6dwg-sense-5-t3006498
i know this is for t6dwg variant.
t6dwg and t6dug are both Chinese variants and dual sim. i have tried all roms listed on this thread. TWRP Flashed it fine but now when it boots up and gets to lock screen, when i unlock it it show HTC white screen and restarts after a min or so.
I went to the store and purchased another htc one max, same variant. HTC-2
i thought maybe make a nandroid back up and flash it to HTC-1
i repeated the steps and got HTC-2 rooted, latest TWRP, and made the back up. but i am unable to flash it into HTC-1
HTC-1 rooted with latest SuperSu, latest TWRP recovery, unlocked boothloader, s-off, cid-11111111
issues, NO OS!
http://picpaste.com/pics/htc1-l8ImCwQL.1462326306.jpg
HTC-2 rooted with latest SuperSu, latest TWRP recovery, unlocked boothloader, s-off, cid-11111111, boots perfect,
issues, bloatware
http://picpaste.com/pics/htc2-BrCDb5Tw.1462326402.jpg
lets not forget its been about a month since i am trying to figure this out without disturbing developers and wasting their time. this is my last resort
any help would be greatly appreciated.
Thanks in Advance
Anyone out there to my rescue?
@waqas9240 So you made the backup with TWRP? Why not backup to an sdcard one the working one. Place the sdcard in the non-working one and do a restore.
waqas9240 said:
Anyone out there to my rescue?
Click to expand...
Click to collapse
@Flyhalf205! I know i can always count on you for this. yes i used TWRP to make the backup from the working htc and stored it on SD card. and pushed SD card on the non-working Htc but it doesnt recognize it in restore mood in TWRP. i can see the file in Install method that if it has been compressed, but it doesnt let me flash it.
waqas9240 said:
@Flyhalf205! I know i can always count on you for this. yes i used TWRP to make the backup from the working htc and stored it on SD card. and pushed SD card on the non-working Htc but it doesnt recognize it in restore mood in TWRP. i can see the file in Install method that if it has been compressed, but it doesnt let me flash it.
Click to expand...
Click to collapse
Now if I remember correctly inside the TWRP folder will be another folder. The folder name could be the the serial. You'll have to get onto a computer and verify that the backup is in the correct folder inside the TWRP folder.
A good way to verify. On the non-working device, do a backup on just the boot to the sdcard. Then see if you can plug both devices into the computer at the same time to see the directory layout. Then you can copy the backup into the right folders.
Once you bring up TWRP on the non-working device. You should be able to select and swipe to restore perfectly.
Flyhalf205 said:
Now if I remember correctly inside the TWRP folder will be another folder. The folder name could be the the serial. You'll have to get onto a computer and verify that the backup is in the correct folder inside the TWRP folder.
A good way to verify. On the non-working device, do a backup on just the boot to the sdcard. Then see if you can plug both devices into the computer at the same time to see the directory layout. Then you can copy the backup into the right folders.
Once you bring up TWRP on the non-working device. You should be able to select and swipe to restore perfectly.
Click to expand...
Click to collapse
thats what i thought at first. i confirmed the path on both phones. i even got to push the back up in the non working htc to restore from the root as it was located in the working htc max. still does the samething. the second folder after TWRP is serial number folder. i even renamed the serial number to the non working htc ( i dont know if that would have made a difference or not) but still running the same issue. i dont have both phones on me right now. they are at home. let me finish work and will try it again as you explained.
meanwhile if you can figure out something else that would be great bro!
Thanks

How to install an update.zip with not matching device id

Hi. Recently I stuffed my ZTE Blade A452 with MIUI ROM found on here: hxxp://forum.android.com.pl/topic/319435-a452miui-v8-miui-global-8020. I also installed TWRP . I've been using it for a while and unfortunately it didn't meet my expectations. It is barely usable, phone crashes a few times a day, apps aren't kept in background.
I decided to come back to my stock ROM. I don't have, however, any back up of it. There are some sdcard packages on ZTE's support page, however when I tried to install it with TWRP, it displays that packages (all of them) are for device id P635F33, while my device is P635E40. And I found nothing for my dev id.
Is there a way to force installing one of those packages in my phone? Editing version.txt inside update.zip did nothing.
Maybe one of you guys have a matching package?
Also my sister's got the same model, Blade A452, bought at the same service provider. Maybe there is a way to extract a ROM from her phone and put it into mine? (Her device must be left quite untouched).
damiandbcz said:
Hi. Recently I stuffed my ZTE Blade A452 with MIUI ROM found on here: hxxp://forum.android.com.pl/topic/319435-a452miui-v8-miui-global-8020. I also installed TWRP . I've been using it for a while and unfortunately it didn't meet my expectations. It is barely usable, phone crashes a few times a day, apps aren't kept in background.
I decided to come back to my stock ROM. I don't have, however, any back up of it. There are some sdcard packages on ZTE's support page, however when I tried to install it with TWRP, it displays that packages (all of them) are for device id P635F33, while my device is P635E40. And I found nothing for my dev id.
Is there a way to force installing one of those packages in my phone? Editing version.txt inside update.zip did nothing.
Maybe one of you guys have a matching package?
Also my sister's got the same model, Blade A452, bought at the same service provider. Maybe there is a way to extract a ROM from her phone and put it into mine? (Her device must be left quite untouched).
Click to expand...
Click to collapse
You Have a Same Phone Available .That is Great. You can give her Sleep Drug Sneak Into Her Room.Get the Phone From Under The pillow.And Now You can Unlock The bootloader flash TWRP Make a Backup and Then Flash Stock Recovery.Then Put The Phone Back Under The Pillow.The Process Will only Take about 30Mins.
5Min to unlock Bootloader
2.5Min to flash TWRP.
2.5Min to install stock Recovery
And 20 min to move the back Up
Or
You can Slice her Throat and Get the phone.Seriously Save 30Min of time.
Or
You can Backup Using a Desktop Application and Restore on your Phone.
Sent from my Nexus 6P using Tapatalk
Atifbaig786 said:
You can Unlock The bootloader flash TWRP Make a Backup and Then Flash Stock Recovery
Or
You can Backup Using a Desktop Application and Restore on your Phone.
Click to expand...
Click to collapse
Yeah, TWRP on her phone isn't an option, as the whole system is quite buggy and she's gonna probably use the restore option. I'm gonna try with some desktop apps and give an answer in 1-2 hours. Thank you.
Sorry it took so long to answer.
I couldn't make a nandroid backup any desktop app (MTK Droid Tools can't create scatter file, couldn't find any other app).
As I said, TWRP was not an option. But I managed to do the nandroid backup from phone-level anyways.
First I rooted the source device with KingRoot, installed on it BusyBox and made a custom TWRP-style backup on SDcard with Online Nandroid Backup *ROOT. Default settings are fine, even though it couldn't recognize my phone model.
Then I moved SD into target device and performed a backup with TWRP (just to create my device directory). Then I moved the source-phone backup into the new-created directory and performed Restore.
And Voila! On my phone there was a 1:1 copy of the system. It wiped out TWRP so I could perform a system Restore and get a factory-new soft.
Thank You. I didn't even realize it was possible to restore A-Backup on B-Device. Even though my sister's phone was a P635F33 (I didn't know it earlier) and mine was P635E40, it worked well.
damiandbcz said:
Sorry it took so long to answer.
I couldn't make a nandroid backup any desktop app (MTK Droid Tools can't create scatter file, couldn't find any other app).
As I said, TWRP was not an option. But I managed to do the nandroid backup from phone-level anyways.
First I rooted the source device with KingRoot, installed on it BusyBox and made a custom TWRP-style backup on SDcard with Online Nandroid Backup *ROOT. Default settings are fine, even though it couldn't recognize my phone model.
Then I moved SD into target device and performed a backup with TWRP (just to create my device directory). Then I moved the source-phone backup into the new-created directory and performed Restore.
And Voila! On my phone there was a 1:1 copy of the system. It wiped out TWRP so I could perform a system Restore and get a factory-new soft.
Thank You. I didn't even realize it was possible to restore A-Backup on B-Device. Even though my sister's phone was a P635F33 (I didn't know it earlier) and mine was P635E40, it worked well.
Click to expand...
Click to collapse
It Did Work Right.I am Happy To Be of Your Assistance.
Sent from my Nexus 6P using Tapatalk

Categories

Resources