[Q] Help with backup before root on OnePlusOne - General Questions and Answers

Hi there! I am on a oneplusone and want to root before I flash to Paranoid Android.
I want to root so I can get titanium backup I went on titanium's site and they accept backups made before rooting but I am VERY confused on how to do this!!
Here are the steps they list:
Before beginning, you need to setup your ADB and have your device detected. You must also running Android version 4.0 and above. Also, make sure you have a file manager installed. Our favorite is the ES File Explorer.
Connect your device and make sure its listed with the following command:
adb devices
Run a FULL backup with the following command:
adb backup -f FullBackup.ab -apk -all
This will create a “package” called “FullBackup.ab” on the current location in your command prompt. This is your backup package.
Now you can root your phone.
Once finished rooting, insert the “FullBackup.ab” package on your sdcard
Hit the menu button and look for “Extract from ADB backup” option. This will prompt you to search for the file. Use the file manager that you installed earlier and navigate to the directory and select the FullBackup.ab file.
Now restore like as if the backup was made with Titanium Backup. Don’t forget to make a fresh copy of the backup using Titanium Backup. You’re Done!
Click to expand...
Click to collapse
What does this all mean?? and how do I insert the package on my sd card and extract the backup option etc..if you could all help explain this to me that would be great! Thank you so much!

Related

Coby Kyros 7015 - Getting the Most Out of Eclair (Android 2.1)

This will be an often-updated guide to getting the most out of the Eclair (Android 2.1) that comes stock on the Kyros 2015.
Things we have working: Root, Market, Texting via Google Talk.
Things we have kinda working: Connecting to Ad-Hoc networks
Things that do not work/Issues: Contacts crashes if you try to edit.
Further Reading:
Most of the development for the Kyros 7015 has taken place in this thread.
Also check out my tutorial on installing CyanogenMod onto this same device.
Instructions
1. If you haven't already rooted, download the official update.zip from Coby. Reboot into recovery and choose "apply sdcard:update.zip" to apply the update.
If you have already rooted, downloaded the modified update.zip, which works with clockwordmod. Reboot into recovery and make a backup. Once your back is complete, choose "apply sdcard:update.zip" to apply the update.
2: Rooting Your Tablet. Download z4root 1.3.0 APK and place on your sdcard. Open Settings, go to Applications and check the Unknown Sources box. Use File Manager to navigate to the z4root APK (it's in the /sdcard folder) and click to run. You should now have root access (you may need to reboot). You will also notice a new app, Superuser, has been installed.
3. Installing ClockworkMod. You must complete this step even if you already had ClockworkMod installed, as the update.zip has replaced it with the stock recovery. If you have not already, install Android SDKto your PC, so you will be able to issue ADB commands. Download ClockwordMod. Open the ZIP file and extract the IMG. For simplicity, rename the IMG file "recovery.img" and place on your SDcard. From ADB,issue the following commands:
Code:
adb remount
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
adb shell
flash_image recovery /sdcard/recovery.img
4: Enabling Google Apps, such as Market. Download gapps-passion-EPE54B-signed.zip and place onto your SD card and reboot into recovery. Choose "Install Zip from SDcard" and install gapps-passion-EPE54B-signed.zip. Reboot and accept the terms of the market!
5: Texting using Google Voice. Here is how to text with Google voice. You will need a working android phone (probably needs to be rooted) with Titanium Backup installed. Set up Google Voice on the phone-- make sure you opt for the Google phone number as that is the number you will be texting from. Once up and running, back up the program using Titanium. On the tablet, install Titanium Backup and use it to restore the Google Voice program (App+Data) to your tablet. (You may have to copy the backup files to the Titanium directory on the INTERNAL drive.) Once Google Voice Launches, switch back to Titanium Backup-- do not try to set up Google Voice. Titanium backup will then restore the data for Google Voice. You should now be able to text from your tablet.
6: Work-around for Connecting to Ad-Hoc Networks. If your Ad-Hoc network is an Android phone, download and install Wireless Tether to the phone (this version works well). Follow instructions in this thread to install work-around on your tablet.
This is all I have right now, more to follow. I hope I didn't forget anything!
Is CWM installed the same way as you would apply the update.zip firmware from Coby?
jmfrost said:
Is CWM installed the same way as you would apply the update.zip firmware from Coby?
Click to expand...
Click to collapse
Sorry, I had a fragment of another post mixed in there. See step three for complete details.
Google Apps
I followed the directions and every thing worked except I only have google maps from the google apps. No Market. Any help would be appreciated.
tpace75 said:
I followed the directions and every thing worked except I only have google maps from the google apps. No Market. Any help would be appreciated.
Click to expand...
Click to collapse
First off, you what tablet are you using?
The gapps-mdpi-tiny-20101020-signed.zip has vending.apk (the market) in it, if properly installed according to the steps provided, it should be working.
But since it is not, here is my suggestion.
1. Reboot into clockworkmod
2. Wipe Cache Partition -- Make sure you choose yes from the menu.
3. Choose Advanced and then Wipe Dalvik Cache -- Make sure you choose yes from the menu.
4. Choose "Install Zip from SDcard" and select gapps-mdpi-tiny-20101020-signed.zip -- Make sure you choose yes from the menu.
5. Choose "Install Zip from SDcard" and select MarketUpdateFroyoHdpi.zip -- Make sure you choose yes from the menu.
6. Reboot
You should now have market.
Google Apps
Thanks that seemed to do it. I have the Kyros Mid-7015. One thing though both times I install those zip files I lose root. And have to reroot. Thanks Again
tpace75 said:
Thanks that seemed to do it. I have the Kyros Mid-7015. One thing though both times I install those zip files I lose root. And have to reroot. Thanks Again
Click to expand...
Click to collapse
Are you losing root or just losing clockworkmod? If this is the case, it is a known issue that the update (step one) overwrites clockworkmod on reboot, and that is why we have more than just the one line of code for installing clockworkmod.
From ADB:
Code:
adb remount
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
adb shell
flash_image recovery /sdcard/recovery.img
If clockworkmod is what you are having issues with, that should make it say put.
Using MarketUpdateFroyoHdpi with 2.1
I have already installed gapps-passion-EPE54B-signed.zip to get Market. Can I upload MarketUpdateFroyoHdpi.zip to my SDcard and use your ClockworkMod instruction: "Choose "Install Zip from SDcard" and select MarketUpdateFroyoHdpi.zip" to get the new version of Market.
I was reading in original development thread for Kyros 7015 that their might be some problems with the new version of Market. Would the Update Market problems be true for 2.1 version of Android as well?
I am using Kyros 7015 with Coby's update, gapps-passion-EPE54B-signed.zip installed, and various apps installed by AppsLib, side loading, and Market.
lschroeder said:
I have already installed gapps-passion-EPE54B-signed.zip to get Market. Can I upload MarketUpdateFroyoHdpi.zip to my SDcard and use your ClockworkMod instruction: "Choose "Install Zip from SDcard" and select MarketUpdateFroyoHdpi.zip" to get the new version of Market.
I was reading in original development thread for Kyros 7015 that their might be some problems with the new version of Market. Would the Update Market problems be true for 2.1 version of Android as well?
I am using Kyros 7015 with Coby's update, gapps-passion-EPE54B-signed.zip installed, and various apps installed by AppsLib, side loading, and Market.
Click to expand...
Click to collapse
MarketUpdateFroyoHdpi only unlocks some previously restricted apps in the market. We do not have the new version of the market running on this device yet.
Also, I believe I misspoke in my directions to use that file in the market process, a result of me copying an pasting from my other guide. I will fix this immediately.
adamdietrick said:
MarketUpdateFroyoHdpi only unlocks some previously restricted apps in the market. We do not have the new version of the market running on this device yet.
Also, I believe I misspoke in my directions to use that file in the market process, a result of me copying an pasting from my other guide. I will fix this immediately.
Click to expand...
Click to collapse
Since my Market is somewhat restricted, I could load MarketUpdateFroyoHdpi to my SDCard and install it from ClockworkMod to remove some of my restrictions.
lschroeder said:
Since my Market is somewhat restricted, I could load MarketUpdateFroyoHdpi to my SDCard and install it from ClockworkMod to remove some of my restrictions.
Click to expand...
Click to collapse
Give it a shot (do a backup first), let me know how it turns out. However, I do believe that MarketUPdateFroyoHdpi only unlocked gapps-mdpi-tiny-20101020-signed.zip to the same extent that gapps-passion-EPE54B-signed.zip is already unlocked, so I doubt that it would do any good.
adamdietrick said:
Give it a shot (do a backup first), let me know how it turns out. However, I do believe that MarketUPdateFroyoHdpi only unlocked gapps-mdpi-tiny-20101020-signed.zip to the same extent that gapps-passion-EPE54B-signed.zip is already unlocked, so I doubt that it would do any good.
Click to expand...
Click to collapse
I backuped my tablet to the SDcard using ClockworkMod yesterday. No major changes made since then. I only used it to surf web and play music and videos.
In case something goes wrong. I have never recovered from a backup of the my tablet before. I assume that their is an option to recover from the backup folder created by ClockworkMod. I assume some data from my use would be lost, but nothing meaningful to me. Is that correct?
A couple more questions. Is the major difference between gapps-mdpi-tiny-20101020-signed.zip and gapps-passion-EPE54B-signed.zip that the later has Market unlocked and has addtional applications as well as applications that do not work on our Kyros 7015? Thus using gapps-mdpi-tiny-20101020-signed.zip and MarketUPdateFroyoHdpi,zip would give a cleaner but more complicated install for 2.1.
lschroeder said:
I backuped my tablet to the SDcard using ClockworkMod yesterday. No major changes made since then. I only used it to surf web and play music and videos.
In case something goes wrong. I have never recovered from a backup of the my tablet before. I assume that their is an option to recover from the backup folder created by ClockworkMod. I assume some data from my use would be lost, but nothing meaningful to me. Is that correct?
A couple more questions. Is the major difference between gapps-mdpi-tiny-20101020-signed.zip and gapps-passion-EPE54B-signed.zip that the later has Market unlocked and has addtional applications as well as applications that do not work on our Kyros 7015? Thus using gapps-mdpi-tiny-20101020-signed.zip and MarketUPdateFroyoHdpi,zip would give a cleaner but more complicated install for 2.1.
Click to expand...
Click to collapse
A backup will backup everything, even your cache.
I have noticed no differrence between the different installations, I just go with what works-- gapps-passion-EPE54B-signed.zip works with 2.1.
adamdietrick said:
Are you losing root or just losing clockworkmod? If this is the case, it is a known issue that the update (step one) overwrites clockworkmod on reboot, and that is why we have more than just the one line of code for installing clockworkmod.
From ADB:
Code:
adb remount
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
adb shell
flash_image recovery /sdcard/recovery.img
If clockworkmod is what you are having issues with, that should make it say put.
Click to expand...
Click to collapse
No I still have clockwork recovery but I lost root. I just rerooted with z4root.
tpace75 said:
No I still have clockwork recovery but I lost root. I just rerooted with z4root.
Click to expand...
Click to collapse
Thanks for confirming that.
3. Installing ClockworkMod. You must complete this step even if you already had ClockworkMod installed, as the update.zip has replaced it with the stock recovery. If you have not already, install Android SDKto your PC, so you will be able to issue ADB commands. Download ClockwordMod. Open the ZIP file and extract the IMG. For simplicity, rename the IMG file "recovery.img" and place on your SDcard. From ADB,issue the following commands:
Code:
adb remount
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
adb shell
flash_image recovery /sdcard/recovery.img
I really don't know how to use this ADB. From my computer, from Coby or?
Please help me!
Thank you!
hayted7 said:
3. Installing ClockworkMod. You must complete this step even if you already had ClockworkMod installed, as the update.zip has replaced it with the stock recovery. If you have not already, install Android SDKto your PC, so you will be able to issue ADB commands. Download ClockwordMod. Open the ZIP file and extract the IMG. For simplicity, rename the IMG file "recovery.img" and place on your SDcard. From ADB,issue the following commands:
Code:
adb remount
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
adb shell
flash_image recovery /sdcard/recovery.img
I really don't know how to use this ADB. From my computer, from Coby or?
Please help me!
Thank you!
Click to expand...
Click to collapse
You will need to install the Androik SDK on your computer-- extract the files to your desktop for simplicity. Then connect your tablet to your PC via USB cable. On your PC, open a command prompt window and enter the following commands:
Code:
cd desktop
cd tools
adb remount
adb shell mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
adb shell
flash_image recovery /sdcard/recovery.img
Backup
adamdietrick said:
Instructions
1. If you haven't already rooted, download the official update.zip from Coby. Reboot into recovery and make a backup. Once your back is complete, choose "apply sdcard:update.zip" to apply the update.
Click to expand...
Click to collapse
Thank you for posting these instructions.
I am sorry to say I am stuck on #1. Can you please explain how to "Reboot into recovery and make a backup". I don't see a backup option. Thanks.
niki2008 said:
Thank you for posting these instructions.
I am sorry to say I am stuck on #1. Can you please explain how to "Reboot into recovery and make a backup". I don't see a backup option. Thanks.
Click to expand...
Click to collapse
Good point, you can reboot into recovery but you likely can't make a backup without having clockworkmod installed.
Here is what we will do:
Hold down the Back Button (on the front) and then use the stylus to momentarily press the reset button (on the back). Keep holding the back button until you see the recovery screen. Don't worry about the backup, just install zip from card.

[WITHOUT ROOT] adb backup???

I am trying to backup my game data in android device (move from old device to new device)
I currently HAVE NO ROOT on BOTH DEVICES.
I just need to backup the game data and the app data.
I googled the adb backup but there is no documentation from android SDK site.
but in some other forum someone said I can use the following script to backup "JUST DATA"
and I wish to confirm it once more before I move
adb backup -apk <packageName> -f <DirectoryAndFileName.ab>
Click to expand...
Click to collapse
and for restore JUST
adb restore <DirectoryAndFileName.ab> (
Click to expand...
Click to collapse
I also wish to know what parameters can be added to adb backup ?? there is NO OFFICIAL DOCUMENTATION to support
THANKS
Try this - http://forum.xda-developers.com/showthread.php?t=2091047

ADB backup incomplete

In the aim of disabling encryption on my stock Nexus 5 I had to wipe the device. To not lose my data I researched backups and I came across the ADB method. I did several updates using different commands as I was never sure if the backup completed. The command did return however (i.e. the cursor appeared on CMD).
I ran the following:
Code:
adb backup -apk -shared -all -f C:\backup\backup.ab
Code:
adb backup -apk -shared -all -nosystem -f C:\backup\backup.ab
The end result is me having 4 backup files in the 2.8GB to 2.9GB range.
After trying ADB restore on two of them, most of my applications are not restored. I can live with that, but I would prefer if there is a way to restore my whatsapp data.
To try and diagnose the problem ibought Titanium Backup Pro to use their Extract from ADB backup option. That way I could tell what applications made it through. I unpacked then repacked the .ab file to remove the encryption by following this guide. Once I put the .ab on my phone, Titanium Backup said the backup file isn't supported.
Any thoughts ? I'm working on Windows 10 but I also dual boot with Ubuntu.
Hi
Try using the <packages...> tag
http://forum.xda-developers.com/google-nexus-5/general/guide-backup-data-root-t2824790

[Q] How to move twrp backup to pc

Hi,
I need a tipp
My TWRP backup is stored at internal storage location: /data/media/0/TWRP/BACKUPS
But I dont know how I can enter the folder and pull the Backup onto my PC to save it there too.
I cannot see the folder.
thx
Skastream
skastream said:
Hi,
I need a tipp
My TWRP backup is stored at internal storage location: /data/media/0/TWRP/BACKUPS
But I dont know how I can enter the folder and pull the Backup onto my PC to save it there too.
I cannot see the folder.
thx
Skastream
Click to expand...
Click to collapse
Its simple a copy paste job. Look for the TWRP folder in root of storage
TWRP\BACKUPS\TA933028J2\2015-09-21--01-09-17_bliss_falcon-userdebug_5.1.1_LVY48F_ddf5301
Also, Did you check developers options to connect the device
If your device is Connected correctly to PC, you will get all the folders, simply copy it and paste it on PC
Thnx
It doesnt work for me.
I have a rooted Moto G but
Running 'adb root' gives me the same 'adbd cannot run as root in production builds' error. So i cannot reach the folder with a root explorer
run adb shell first and then while you're in the shell run su, which will switch the shell to run as root!
$: adb shell
$: su

How to back up imei.

iam new to samsung tab 2.
i have p3100 (gsm and wifi model)
how can i back up imei of my tab 2.
please help me.
using custom recovery
Make a backup of your efs folder via a custom recovery or do it via a root explorer it can be found in root directory of your phone
Once you are rooted and have busybox installed you can use EFS Professional (can be found here on xda) or backup by hand:
Download and run Terminal-Emulator:
su
Click to expand...
Click to collapse
Grant root access.
busybox dd if=/dev/block/mmcblk0p1 of=/sdcard/efs.img bs=4096
exit
Click to expand...
Click to collapse
You´ll find "efs.img" on your internal Storage, copy to your PC & on a 2nd Storage (e.g. usb-stick) and keep it safe.
Android-Andi said:
Once you are rooted and have busybox installed you can use EFS Professional (can be found here on xda) or backup by hand:
Download and run Terminal-Emulator:
Grant root access.
You´ll find "efs.img" on your internal Storage, copy to your PC & on a 2nd Storage (e.g. usb-stick) and keep it safe.
Click to expand...
Click to collapse
Thx
If you have flashed a custom recovery its simple just boot to recovery and go to backup then mark on 'EFS' then complete the backup process you are good to go
Sent from my GT-P3100 using Tapatalk

Categories

Resources