[Q] Please help me answer this question about rooting - Motorola Atrix HD

Would it be possible to root using this method:
1.) Make a backup using "adb backup"
2.) Decrypt the backup you just made (make a copy before this if you want)
3.) Add required root files
4.) Re-encrypt the modified backup
5.) Restore the backup using "adb restore"
6.) Have root?
Thanks for looking at this and answering.
Thanks,
Magnetboard

magnetboard said:
Would it be possible to root using this method:
1.) Make a backup using "adb backup"
2.) Decrypt the backup you just made (make a copy before this if you want)
3.) Add required root files
4.) Re-encrypt the modified backup
5.) Restore the backup using "adb restore"
6.) Have root?
Thanks for looking at this and answering.
Thanks,
Magnetboard
Click to expand...
Click to collapse
It is protected also, just like everything else.

popfan said:
It is protected also, just like everything else.
Click to expand...
Click to collapse
Do you have access to /data/local/tmp? If so, (Since I don't have over 10 posts no links) google how to root android devices and click on the first news result. If you read through that bat file, it pushes everything to that folder and chmods it and then does some trick (not an adb expert) and supposedly you have root.
thanks,
Magnetboard

Related

[SOLUTION] Bulk installing user apps after wipe

1. Use Titanium Backup->Batch->Backup user apps
2. Download backed up apks into your PC:
>mkdir c:\TitaniumBackup
>adb pull /sdcard/TitaniumBackup c:\TitaniumBackup
3. Install new ROM which will wipe your user apks.
4. Decompress your apks using 1 of following:
>lzop -x *.apk.lzop
or
>gunzip *.apk.gz
5. Install your apks:
>for %F in (*.apk) DO adb install %F
6. Restore your apps settings using Titanium Backup->Batch->Restore user apps (data only)
Voila!
Nice find man. No more tedious one by one installations.
Thanks!
Sent from my Captivate. Andromeda 3, Onix 2.0.5 @ 1.2Ghz
Hmmm, how is this different from just using TiBu Pro?
Escape311 said:
Hmmm, how is this different from just using TiBu Pro?
Click to expand...
Click to collapse
Assuming TiBu is titanium backup pro... Then this method would be free. If it isnt, sorry for the mistake
TibuPro differences
1. Sugar free - zero added calories.
2. You get extra backup of your apks on your PC.
Escape311 said:
Hmmm, how is this different from just using TiBu Pro?
Click to expand...
Click to collapse
I guess this is nice if you dont want to pay for TiBuPro
bravomail said:
1. Sugar free - zero added calories.
2. You get extra backup of your apks on your PC.
Click to expand...
Click to collapse
with TiBuPro:
1- before I wipe my phone, I backup my apps and then move the "titaniumbackup" folder from my sdcard to my PC.
2- wipe the phone/install new ROM.
3- Copy (not move) the folder back onto my sdcard and restore
Now you have a copy of the backups on the PC and your phone. Just as easy and no need for uncompressing anything.
Don't forget about Dropbox sync within TiBu Pro. Most people overlook this feature.
terrigan said:
Don't forget about Dropbox sync within TiBu Pro. Most people overlook this feature.
Click to expand...
Click to collapse
thats right. I keep forgetting about that too
bravomail said:
6. Restore your apps settings using Titanium Backup->Batch->Restore user apps (data only)
Click to expand...
Click to collapse
Recently updated TB from the market. I can't seem to find the data only restore option.
I did make a small .sh script to run in terminal emulator if you want me to post it (no need for computer/adb).
apk mass-reinstall with linux
bravomail said:
5. Install your apks:
>for %F in (*.apk) DO adb install %F
Click to expand...
Click to collapse
Or (if linux or macosx with bash3):
$ for apk in *apk; do adb install $apk; done
or, to combine a temporary unzip with installation:
$ for apkgz in *apk.gz; do apk=${apkgz%%.gz}; gzip -dc $apkgz > $apk; adb install $apk; rm $apk; done
I've since bought TiBu for the automatic batch restore, so I don't need to use this workaround anymore.
Smasher816 said:
Recently updated TB from the market. I can't seem to find the data only restore option.
Click to expand...
Click to collapse
That's because the data-only restore option isn't a stand-alone entry in the batch restore menu. Instead, you'll find the "Data only" radiobox option on the next screen only after choosing "Restore all apps with data".
Thanks for Linux/MacOSX script
Nice touch!
The reason for me posting this without many details or screenshots is that knowing how to run "adb" assumes many things ;-)
U r welcome to post any extra scripts, info etc here.

[ZIP] Sick of losing all your installed apps/widgets when flashing a ROM? Look here!

I don't know about you, but I was sick of that.
I flash new ROMs a few times a day on my phone, losing my /data/app apps some times a day.
So I made a flashable zip that solves this problem.
This ZIP is ONLY for pushing apps into /data/app!
Right, there are a few things you need:
- The flashable zip, download it below
- Root Explorer
- WinZip
Do the following:
- Using Root Explorer, copy the apps installed in /data/app to /sdcard
- They will have names like com.***.***-1, leave them like that. DO NOT RENAME!
- Connect your phone through USB to your PC
- Copy the apps from /sdcard to your pc
- Unzip 'data_app_install.zip' and put the apps into /data/app
- Select '/META-INF' and '/data', rightclick, 'Add to archive'
- Choose .ZIP as type
- Let it zip
- Copy the new .ZIP file to your external SD
- Flash a new ROM
- Flash the new .ZIP file containing your /data/app apps
- Reboot and enjoy!
Click to expand...
Click to collapse
Nice one, i use MyBackup Pro
ionhide said:
Nice one, i use MyBackup Pro
Click to expand...
Click to collapse
Titanium backup free edition
peewster said:
Titanium backup free edition
Click to expand...
Click to collapse
same same Works for me..
Does it keep also all the settings in the apps?
When the app settings are saved in the app itself, then yes.
When the app settings are saved somewhere else (meaning NOT in /data/app), then no.
Does that mean it should also be possible to exchange the data folder in a ROM zip and flash it directly with it?
When you know how to edit the updater-script so that it adds the /data folder to your phone aswell, then, yeah, it's possible.
I haven't found the mounting command for /data tho so I can't help you there.
my backup root
My backup root sukcs, it did not recover any settings for me. Titanium backup is nice, but it takes too long to get the apps one by one.
<3 this but is there any way how i could backup app data which are not saved in data/app?
Good zip for flash app direct in data,thanks
martan1981 said:
My backup root sukcs, it did not recover any settings for me. Titanium backup is nice, but it takes too long to get the apps one by one.
Click to expand...
Click to collapse
I can explain that one for you.. You came from a stock MRXX rom, flashed a CM7 nightlies and lost your backed up data.. Because MyBackup uses 1st sd partition on stock rom, and sd-ext/mnt on CM7.. Your backup is still there after flash, you just need to move it from sd to sd-ext..
Sent from my Optimus 2X using XDA App
martan1981 said:
My backup root sukcs, it did not recover any settings for me. Titanium backup is nice, but it takes too long to get the apps one by one.
Click to expand...
Click to collapse
Get titanium backup pro. It has a batch restore feature. I use all the time and am very happy with it. Now I'm flash-frenzy

[Q] Working method for restoring Call logs/SMS to ICS?

I know there are a lot of apps for back up/restoring, but does anyone know any working for ICS? I have tried AppExtractor with ROM Manager, didn't work. The Message-app started to behave strange. Tried SMS Backup & Restore, was able to restore the sms but couldn't not open them.
I'm currently using NovaHD's ICS Rom.
You can restore your messages from /data/data/com.android.providers.telephony/databases/mmssms.db and mmssms.db-journal in your nandroid backup (just extract and replace)
And your calls from /data/data/com.android.providers.contacts/database/contacts2.db and contacts2.db-journal
(Extract and replace)
Nandroid = CWM?
So, basically your saying that i should extract my backup and the rom, then find these folders extract the backup one to the rom and then zip it again?
Two options
#1 Restore your backup, copy the files to a temp folder on sdcard, flash your new rom and replace them
#2 Extract them from your backup and then replace them
It might be other solutions aswell but these are simple
Nandroid = CWM
HerrKuk said:
Two options
#1 Restore your backup, copy the files to a temp folder on sdcard, flash your new rom and replace them
#2 Extract them from your backup and then replace them
It might be other solutions aswell but these are simple
Nandroid = CWM
Click to expand...
Click to collapse
Not gonna have to until friday to test this, but really thanks! Sounds pretty easy!
Stort tack från en Mölndal-bo!
HerrKuk said:
Two options
#1 Restore your backup, copy the files to a temp folder on sdcard, flash your new rom and replace them
#2 Extract them from your backup and then replace them
It might be other solutions aswell but these are simple
Nandroid = CWM
Click to expand...
Click to collapse
just a small mention....file types from CM7 or Cm 9 are not the same with other GB formats....so are not comaptible....be careful with that.
HerrKuk, i'm kind of new to rooting but i need android sdk to do this?!
Sreeprajay, i'm goding from stock rom to custom, should work right?!
Optimus-ICS said:
HerrKuk, i'm kind of new to rooting but i need android sdk to do this?!
Click to expand...
Click to collapse
Nope, just root and and root explorer (or similar)
You dont even need a computer
Or use nandroid browser from the market : https://play.google.com/store/apps/details?id=de.goddchen.android.nandroidbrowser
Sent from my GT-I9100 using Tapatalk
Optimus-ICS said:
HerrKuk, i'm kind of new to rooting but i need android sdk to do this?!
Sreeprajay, i'm goding from stock rom to custom, should work right?!
Click to expand...
Click to collapse
from the stock to custom, it will be prefect...just make sure once you are rooted, backup your msgs and call logs by either apps or by backing the ROM totally....
Hope it helps
So, i installed root explorer, copied mmssms.db(no journal-file), flashed owain's rom, installed root explorer, replaced my mmssms.db file in the rom, rebooted and the SMS-client won't start.
Optimus, maybe this will help you:
This is "backup to gmail"
I have got this aplication (paid) but it`s works on ICS (owain 29)
Take a look on my screenshot.
sms backup & restore works perfectly for me, but no idea on that phone call log
Albatros2605, MoFosis, Thanks for your help guys, but managed to restore my SMS by using SMS Backup+, which copies everything to your gmail and then downloads it to restore the SMS.
Hi guys, I recently screwed the pooch on an upgrade to 4.0.4, and I forgot to backup SMS before doing it. I did a nandroid backup, but I can neither restore the backup nor locate the mmssms.db file in the archive. I tried AppExtractor and Titanium Backup, but with no success.
Can someone help me by telling me where to locate my SMS history in a nandroid backup? Thanks!

Titanium Backup update.zip doesn't restore data

Hi,
I did backup with Titanium Backup, then I created update.zip. After wiping and installing ROM again, I also install update.zip from TB. All apps installs properly, but their data isn't recovered. Every app looses its settings.
What am I doing wrong?
maybe you need to have the right version --
http://www.androidpolice.com/2012/1...ate-flashable-zips-of-all-your-apps-and-data/
Ran into the same problem as well, turns out you will need TB installed and granted SU permissions before flashing update.zip in recovery so that data restore will work.
1. Install custom ROM
2. Boot into android, complete setup questions
3. Install TB from Google Play
4. Open TB, grant SU
5. Boot into Recovery and flash update.zip
6. Boot into Android, TB will autostart and start restoring data.
Hope that helps!
why restoring via cwm, while u can restore from TB?
thermax04 said:
why restoring via cwm, while u can restore from TB?
Click to expand...
Click to collapse
It's old, but I'm going to answer: the update.zip file generated with titanium backup may have a lot of apps and you can flash the zip file and the will all install at once. Otherwise, if you just boot the device and run TB app, it will ask you if yoy want to install or cancell befor installing, and after, it will let you choose between open new app or job done.
Then if you have like 35 apps to restore, you're like: install - done- install- done - install - done- install- done.............. like crazy.... zip file is just 1 for all and it's done
NOTE: restoring with update.zip is giving me a hard time with a few apps like whatsapp, waze and nikon wifi. You should have the regular TB backup in your sd just in case if you're wiping/flashing a rom.
figo_yjm said:
It's old, but I'm going to answer: the update.zip file generated with titanium backup may have a lot of apps and you can flash the zip file and the will all install at once. Otherwise, if you just boot the device and run TB app, it will ask you if yoy want to install or cancell befor installing, and after, it will let you choose between open new app or job done.
Then if you have like 35 apps to restore, you're like: install - done- install- done - install - done- install- done.............. like crazy.... zip file is just 1 for all and it's done
NOTE: restoring with update.zip is giving me a hard time with a few apps like whatsapp, waze and nikon wifi. You should have the regular TB backup in your sd just in case if you're wiping/flashing a rom.
Click to expand...
Click to collapse
How is creating an update.zip easier than just using the filter/batch function from within TiBU?
scooterbaga said:
How is creating an update.zip easier than just using the filter/batch function from within TiBU?
Click to expand...
Click to collapse
If it would work right, it's way faster, just try next time you wipe your phone.
The problem is that not all apps work properly this way. But via recovery it's just too fast, yet not recommended as the only backup as you might have to uninstall and restore a few apps that don't work right (force close)
It wold be nice to have all methods available working ok, but there's no doubt that the the app works better.
Just learned from experience. Many apps force closed when using update.zip. I'll stick with using TB app despite it taking longer
I can't restore my backup from april. Is it because of a new version? That would help me a lot guys I lost all my contact numbers....but I still have all my backups but titanium backup can't open it...
Salty Wagyu said:
Ran into the same problem as well, turns out you will need TB installed and granted SU permissions before flashing update.zip in recovery so that data restore will work.
1. Install custom ROM
2. Boot into android, complete setup questions
3. Install TB from Google Play
4. Open TB, grant SU
5. Boot into Recovery and flash update.zip
6. Boot into Android, TB will autostart and start restoring data.
Hope that helps!
Click to expand...
Click to collapse
Great guide!
Does TitaniumBackups restores data as well? When I tried to restore, "apps+data" it shows, ""E: Failed to sysmapfile". Does that means TiBackups can ONLY restore apps?
PapaWangsta said:
Great guide!
Does TitaniumBackups restores data as well? When I tried to restore, "apps+data" it shows, ""E: Failed to sysmapfile". Does that means TiBackups can ONLY restore apps?
Click to expand...
Click to collapse
I had same error when trying to apply the update.zip from Titanium backup via TWRP. In my situation the reason was that TWRP seems to have a limit of max. 2GB for an update.zip, as found somewhere in a discussion at XDA.
paarnoutse said:
I had same error when trying to apply the update.zip from Titanium backup via TWRP. In my situation the reason was that TWRP seems to have a limit of max. 2GB for an update.zip, as found somewhere in a discussion at XDA.
Click to expand...
Click to collapse
Yeah, that's what I though. Mine update.zip was 5.4GB. Shoot, that's whole lotta apps+data. Oh haha, looks like TRWP was freakin out and gave up. :laugh:
So.. what do you do if the update.zip > 2 GB? Googling led me to this post, but I'm looking for an answer. I have a 2.6 GB update.zip file and TWRP just gives an 'Error 3' when I try to install it.
Vortran said:
So.. what do you do if the update.zip > 2 GB? Googling led me to this post, but I'm looking for an answer. I have a 2.6 GB update.zip file and TWRP just gives an 'Error 3' when I try to install it.
Click to expand...
Click to collapse
max size 2GB
It's an old thread but did restoring via update.zip as improved? Also, is there still the 2gb limit since we are like 4 years after the last post Thnx for your feedback
Seems not like it. With latest Titanium backup version on 14 November 2018 I can't restore an update.zip bigger than 2GB (haven't tried smaller though).
Error 3 I get in TWRP

How to recover from downloaded Nandroid

The thread title says it all, I've downloaded a Nandroid backup and pushed it to my sdcard but not too sure how to restore from that in CMW the file doesn't show up in the restore option?
rilee said:
The thread title says it all, I've downloaded a Nandroid backup and pushed it to my sdcard but not too sure how to restore from that in CMW the file doesn't show up in the restore option?
Click to expand...
Click to collapse
You need to paste it into /data/media/clockworkmod/<name_of_backup> for it to be visible
Or if you're using TWRP, put it in TWRP/Backups
Can you tell me how I do this using adb because I can't copy and paste the folder as I currently don't have a working ROM
rilee said:
Can you tell me how I do this using adb because I can't copy and paste the folder as I currently don't have a working ROM
Click to expand...
Click to collapse
No idea as I've never been in your situation. I always make sure I have everything set up and know what I'm doing before rooting/wiping my phones
You're probably going to have to use adb sideload to get a custom ROM on the phone, then copy the backup to the phone, move it using a file explorer with root permissions and then restore the backup in CWM
I've sideloaded the ROM several times and tried re-flashing it but still get the same thing
rilee said:
I've sideloaded the ROM several times and tried re-flashing it but still get the same thing
Click to expand...
Click to collapse
Sorry, so do you have a working ROM or not? Try 'adb push name_of_rom.zip /sdcard' in recovery, then flash your ROM.

Categories

Resources