Related
I got a new phone with a wood back and will be selling my old one soon. Is there an easy way to completely clone my old phone's contents onto my new one?
Could try doing an NAND backup on the old one. Then putting it in the same directory of the new one. The directory would be /twrp/backups/(some numbers assigned to be your phones ID)/backup name.
Your ID will change, but you should be able to use that backup to restore on the new phone.
Sent from my XT1060 using xda app-developers app
---------- Post added at 01:20 PM ---------- Previous post was at 01:17 PM ----------
You might have to make an NAND on the new phone to have the recovery make the new filepath
Sent from my XT1060 using xda app-developers app
kkeller87 said:
Could try doing an NAND backup on the old one. Then putting it in the same directory of the new one. The directory would be /twrp/backups/(some numbers assigned to be your phones ID)/backup name.
Your ID will change, but you should be able to use that backup to restore on the new phone.
Sent from my XT1060 using xda app-developers app
---------- Post added at 01:20 PM ---------- Previous post was at 01:17 PM ----------
You might have to make an NAND on the new phone to have the recovery make the new filepath
Sent from my XT1060 using xda app-developers app
Click to expand...
Click to collapse
Thanks. This requires root, right? I haven't rooted either of the phones, although I would if it sped this process up. It's something that I eventually want to do anyway.
beelbeel said:
Thanks. This requires root, right? I haven't rooted either of the phones, although I would if it sped this process up. It's something that I eventually want to do anyway.
Click to expand...
Click to collapse
Yea. Sorry. A custom recovery/safestrap is required. I kinda assume anyone who's on XDA has it. Without root I'm not entirely sure how to do it any other way than manually.
Sent from my XT1060 using xda app-developers app
Without root the best you can do is mybackup pro or titanium backup. They will back up app data but not the apps themselves. Get your new phone, download your apps, restore app data from mybackup.
I wrote this before, but this is how you can backup your apps and their data with a computer and without root. Moto X's have Motorola Migrate that can move over some settings.
This process can take a bit to explain, so sorry for the long post.
First, you'll need to install Oracle’s Java Development Kit, which the Android SDK requires. Download and install the 32-bit version. The Android SDK wants the 32-bit version, even if you're using a 64-bit version of Windows.
Next, download the Android SDK from Google. Extract the .zip folder to a location of your choosing, but remember where you put it. If you have the option to open extracted contents in a new window, do so.
Okay, now open the Android SDK Manager (you may have to open a subfolder or two) with administrative rights. You do this by right clicking on the .exe and choosing the option "Run as administrator". A window will pop up, click yes, and after a small wait, the SDK Manager will open.
Now within the SDK Manager, under the tools section, check the box for Android SDK Platform-tools and click Install. This can take some time depending on your Internet connection. Once installed, go back to the open window where you clicked the SDK Manager .exe and navigate to the folder named "Platform Tools". If you're unsure where this is, the SDK Manager has the path of install located near the top.
Now let's get the phone ready. If you can, charge your device to its fullest. Now go into the settings, scroll down to 'development options'. Near the top of this menu, make sure the toggle switch is in the 'on' position. Now scroll down to USB debugging, and tick the box. Tap "OK" when the message shows up. Now plug the smaller end of the USB cable (preferably the one that came with your phone) into the bottom of the phone and the other into an open USB port of your computer. It's best to use a 2.0 USB port (no blue end) and if on a desktop, a port located in the rear.
If your computer starts installing any drivers, let it do this. Once that's finished, go to the window with the Platform Tools folder open. You should see a few files, two named "ADB" and another "Fastboot". Now hold your Shift key, right click in an open area, and choose the option "Open command window here". You may release the shift key at this time.
We're almost done. To make sure your tablet is seen by the computer type:
Code:
adb devices
One device should be listed. If you see no devices, adb can’t communicate with your device because its driver isn't installed properly. In this case, go back to the SDK Manager and download the USB drivers. You may also need to restart your computer.
Assuming you're up and working, type:
Code:
adb backup -apk -shared -all -f C:\backup.ab
This backs up all the installed apps (APK files) and shared storage (SD card) data to the C:\backup.ab file on your computer.
After running this command, you'll have to agree to the backup on the device. You can also encrypt the backup with a password here, if you like (leave it blank if you don't want encryption). Depending on how much data there is to back up, this can take some time. The device will let you know when it's done.
Now for the restoration process:
On the new device, make sure USB debugging is enabled. On the computer, follow the same steps for opening the adb command window. Ensure adb can see the device, then type:
Code:
adb restore C:\backup.ab
On the device, you will need to confirm you want to do a full restore. If you encrypted the backup, enter in the password, then hit "Restore my data". If you didn't add encryption, then leave that area blank. Once the restoration is done, you're good to go.
Thanks for the replies.
Hikikomori-Otaku said:
I wrote this before, but this is how you can backup your apps and their data with a computer and without root. Moto X's have Motorola Migrate that can move over some settings.
This process can take a bit to explain, so sorry for the long post.
First, you'll need to install Oracle’s Java Development Kit, which the Android SDK requires. Download and install the 32-bit version. The Android SDK wants the 32-bit version, even if you're using a 64-bit version of Windows.
Next, download the Android SDK from Google. Extract the .zip folder to a location of your choosing, but remember where you put it. If you have the option to open extracted contents in a new window, do so.
Okay, now open the Android SDK Manager (you may have to open a subfolder or two) with administrative rights. You do this by right clicking on the .exe and choosing the option "Run as administrator". A window will pop up, click yes, and after a small wait, the SDK Manager will open.
Now within the SDK Manager, under the tools section, check the box for Android SDK Platform-tools and click Install. This can take some time depending on your Internet connection. Once installed, go back to the open window where you clicked the SDK Manager .exe and navigate to the folder named "Platform Tools". If you're unsure where this is, the SDK Manager has the path of install located near the top.
Now let's get the phone ready. If you can, charge your device to its fullest. Now go into the settings, scroll down to 'development options'. Near the top of this menu, make sure the toggle switch is in the 'on' position. Now scroll down to USB debugging, and tick the box. Tap "OK" when the message shows up. Now plug the smaller end of the USB cable (preferably the one that came with your phone) into the bottom of the phone and the other into an open USB port of your computer. It's best to use a 2.0 USB port (no blue end) and if on a desktop, a port located in the rear.
If your computer starts installing any drivers, let it do this. Once that's finished, go to the window with the Platform Tools folder open. You should see a few files, two named "ADB" and another "Fastboot". Now hold your Shift key, right click in an open area, and choose the option "Open command window here". You may release the shift key at this time.
We're almost done. To make sure your tablet is seen by the computer type:
Code:
adb devices
One device should be listed. If you see no devices, adb can’t communicate with your device because its driver isn't installed properly. In this case, go back to the SDK Manager and download the USB drivers. You may also need to restart your computer.
Assuming you're up and working, type:
Code:
adb backup -apk -shared -all -f C:\backup.ab
This backs up all the installed apps (APK files) and shared storage (SD card) data to the C:\backup.ab file on your computer.
After running this command, you'll have to agree to the backup on the device. You can also encrypt the backup with a password here, if you like (leave it blank if you don't want encryption). Depending on how much data there is to back up, this can take some time. The device will let you know when it's done.
Now for the restoration process:
On the new device, make sure USB debugging is enabled. On the computer, follow the same steps for opening the adb command window. Ensure adb can see the device, then type:
Code:
adb restore C:\backup.ab
On the device, you will need to confirm you want to do a full restore. If you encrypted the backup, enter in the password, then hit "Restore my data". If you didn't add encryption, then leave that area blank. Once the restoration is done, you're good to go.
Click to expand...
Click to collapse
Thanks for the detailed response. I actually use a mac, and I might have to do some research to see what parts of this process still apply. I may also just investigate other methods of transferring most (perhaps not all) of the data.
beelbeel said:
Thanks for the detailed response. I actually use a mac, and I might have to do some research to see what parts of this process still apply. I may also just investigate other methods of transferring most (perhaps not all) of the data.
Click to expand...
Click to collapse
This may help with getting adb to work on your Mac http://forum.xda-developers.com/showthread.php?t=1917237 Otherwise you could use an application like VMware Fusion to virtually run a Windows OS on your Mac. I know you can get evaluation copies of Windows to use that don't require a product key (they only work for 90 days though).
On GNU/Linux, I get mixed results with a HTC One and mtpfs and the like. I followed that wiki page: URL wiki.gentoo.org/wiki/MTP , and updated it at the same time... The whole thing is eplained here: URL forums.gentoo.org/viewtopic-t-988160-highlight-.html
It is my first Android phone, so I am sure of nothing at that time. To summarize, when mounting it with plain mtpfs, I get 2 main directories in the mount point, "/media/HTC/Internal memory" and /media/HTC/Playlists", and some directories which have files in them look empty. After more try and retry, it look like when it is a directory along with files, I can see both the directory(ies) and the files, but as soon it is only files, I cannot see them.
But other implementation "seam" to work fine. As example, with simple-mtpfs, I get the whole phone hierarchy directly at the mount point, and all the files are here. So I use them.
I succeded to unlook it. But before to try to put new stuffs in it like ROMs and Kernels, I want to try to make a backup. I read tons of threads, but more I read more I am lost for now. So, a simple question. I get my phone mounted in ~/HTC. I coppied all the files from ~/HTC to ~/BacktupHTC. If my phone let me to copy them back into the phone, will it be a reliable way to restore the complete phone?
I didn't try at that time, I prefer to be careful and ask before. It look like the file hierarchy I get is some kind of emulation of the real file hierarchy of the phone.
I also get adb to work:
Code:
#
adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT36WW906579 device
Code:
#
adb backup -apk -shared -all -system -f backup20140417.ab
Now unlock your device and confirm the backup operation.
This solution will not back up and restore contact, SMS or calendar information, according to what is on https android.stackexchange.com/questions/28296/full-backup-of-non-rooted-devices
Is it some Linux application I can use to browse the content of the ab file I get with this?
But I have one more question. As it is possible to mount the phone via simple-mtpfs, it must be possible in theory to use classical backup tools like rsync. Is it possible or not?
If I try and that fail, what is the risk?
Well, I get rsync to work, but it look like, without to install a Recovery, it is not possible to make a full backup. I get the same files with rsync than with adb or simple-mtpfs. So next step for me will be to install a new Recovery.
I am done with the installation of the Recovery. I made 2 backups and installed my first ROM, the MaximusHD.
It work great. :good:
Now, I could begin to write an Android on GUN/Linux guide for complete Android dummies.
In this thread I am going to use adb backup command to backup user app datas and apks. I am aware of the fact that Helium backup does the same just with a nice GUI, but I beleive it is important to know these basic tools like adb backup. I know many of you just causal android users who don't like wrting commands and etc... but for people like me it was an interesting discovery that this magical Helium backup is not that magical at all.
What is adb backup?
Some of you may know that it is not possible to root your Nexus 5 wihtout a full wipe. Adb backup is a tool which let you back up your data on your phone without root. Then after root you can easily restore your data.
Adb backup parameters:
adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|nosystem] [<packages...>]
Click to expand...
Click to collapse
-f <file>: backup file name. Without this parameter the name of the backup file will be backup.ab
-apk: save apk
-noapk: don't save apk
-shared: save sdcard content
-noshared: don't save sdcard content
-system: save system app data
-nosystem: don't save system app data
<packages...>: save the app data for the app or apps given as parameter
-all: save systam app data and user app data
Click to expand...
Click to collapse
Requirements:
Ability to use adb command.
Have usb drivers installed. (Windows users)
Seting up adb and installing drivers are not part of this guide. If you have to do that then please use @rootSU's great thread to find the guides you need.
Let's start!
Enable USB debugging on the phone.
Connect USB cable.
Open CMD or terminal window.
Depending on what you want to do, backup only user app data with apk or without apk or just certain apps, you will have many options. I will try to cover everything to serve everyone's need.
Type any command to CMD or terminal window which suits your needs.
After executing the command you will be prompted on your phone to start the backup:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can give a password for your backup if you want
Select Back up my data on your phone to start the backup.
Option 1: Backup only user app data with apk.
(Note: you can't backup paid app apks)
adb backup -all -apk -nosystem
Click to expand...
Click to collapse
If you want to give a custom name for the backup then just add the -f switch and type a name you want to give to the backup file.
adb backup -all -apk -nosystem -f backup-2014-07-22.ab
Click to expand...
Click to collapse
You will find the backup file in your Username folder if you added the adb command to your path or installed the 15 secs adb installer (windows users). Otherwise it will be in the folder where the adb binary is.
Windows: C:\Users\<username>
Linux: /home/<username>
Option 2: Backup only user app data without apk.
adb backup -all -nosystem
Click to expand...
Click to collapse
If you want to give a custom name for the backup then just add the -f switch and type a name you want to give to the backup file.
adb backup -all -nosystem -f backup-2014-07-22.ab
Click to expand...
Click to collapse
You will find the backup file in your Username folder if you added the adb command to your path or installed the 15 secs adb installer (windows users). Otherwise it will be in the folder where the adb binary is.
Windows: C:\Users\<username>
Linux: /home/<username>
Option 3: Backup system app data and user app data with apk.
(Note: you can't backup system app apks)
adb backup -all -apk
Click to expand...
Click to collapse
If you want to give a custom name for the backup then just add the -f switch and type a name you want to give to the backup file.
adb backup -all -apk -f backup-2014-07-22.ab
Click to expand...
Click to collapse
You will find the backup file in your Username folder if you added the adb command to your path or installed the 15 secs adb installer (windows users). Otherwise it will be in the folder where the adb binary is.
Windows: C:\Users\<username>
Linux: /home/<username>
Option 4: Backup system app data and user app data without apk.
adb backup -all
Click to expand...
Click to collapse
If you want to give a custom name for the backup then just add the -f switch and type a name you want to give to the backup file.
adb backup -all -f backup-2014-07-22.ab
Click to expand...
Click to collapse
You will find the backup file in your Username folder if you added the adb command to your path or installed the 15 secs adb installer (windows users). Otherwise it will be in the folder where the adb binary is.
Windows: C:\Users\<username>
Linux: /home/<username>
Option 5: Backup everything.
System app data, user app data with apk and sdcard content.
(Note: you can't backup system app apks and paid user app apks)
adb backup -all -apk -shared
Click to expand...
Click to collapse
If you want to give a custom name for the backup then just add the -f switch and type a name you want to give to the backup file.
adb backup -all -apk -shared -f backup-2014-07-22.ab
Click to expand...
Click to collapse
You will find the backup file in your Username folder if you added the adb command to your path or installed the 15 secs adb installer (windows users). Otherwise it will be in the folder where the adb binary is.
Windows: C:\Users\<username>
Linux: /home/<username>
Option 6: Backup certain app or apps.
(Note: you can't backup system app apks and paid user app apks)
First find out the name of the app or apps you want to backup.
Go to play.google.com.
Search for your app or apps.
The name you have to input to CMD or terminal will be the end of the URL after the '=' sign.
Type following command to back up your desired app:
adb backup <app name>
Click to expand...
Click to collapse
Example:
I want to backup Bloons TD Battles.
I search for it on play.google.com.
The URL for that is http://play.google.com/store/apps/details?id=com.ninjakiwi.bloonstdbattles
So the name of the app which I have to input is com.ninjakiwi.bloonstdbattles
To back it up I use the following command:
adb backup com.ninjakiwi.bloonstdbattles
Click to expand...
Click to collapse
If I want it with apk
adb backup -apk com.ninjakiwi.bloonstdbattles
Click to expand...
Click to collapse
If I want to give a custom name for the backup file.
adb backup -apk com.ninjakiwi.bloonstdbattles -f bloons_td_battles-2014-07-22.ab
Click to expand...
Click to collapse
If you want to backup multiple apps then just write the app names like this:
adb backup -apk com.ninjakiwi.bloonstdbattles com.frogmind.badland com.supercell.clashofclans
Click to expand...
Click to collapse
List all installed apps:
Windows users type this command:
adb shell pm list packages -f
Click to expand...
Click to collapse
The name of the app will be after the '=' sign.
Linux users type this command:
adb shell pm list packages -f | sed -e s/.*=// | sort
Click to expand...
Click to collapse
Restore the backup
(Note: If you have backed up paid apps, then first install them from playstore before you restore your backup)
Enable USB debugging on the phone. (If it is disabled)
Connect USB cable.
Open CMD or terminal window.
Type the following command:
adb restore <path to the backup>
Click to expand...
Click to collapse
After executing the command you will be prompted on your phone to start the restore:
Enter your password for the backup if you have any.
Select Restore my data on your phone to start the restore.
Example:
I store may backups in the C:\backups folder.
I know I made a backup one week ago and I gave backup-2014-07-15.ab as backup name.
The command I use to restore the backup is:
adb restore C:\backups\backup-2014-07-15.ab
Click to expand...
Click to collapse
Extras:
There is a adb plugin for Total Commander which has the option to handle your backup-restore operations. I found it more useful than Helium backup.
If you want to extract your backup then I can recommend you this tool. It works both on windows and linux, but you will need java to run it. It is a command line app. Read the README.TXT for usage.
Sad thing is people still will use Towelroot or whatever because they don't want to lose data lol. Good thread. :good:
This is nice. I will try this later when i root my phone. Thanks!
Sent from my Nexus 5 using XDA Premium HD app
Very helpful. Thank you for the step by step guide.
Awesome info!! :thumbup:
Not sure why anyone wouldn't root an N5....but this is a great way to backup for those anyone's.
KJ said:
Awesome info!! [emoji106]
Not sure why anyone wouldn't root an N5....but this is a great way to backup for those anyone's.
Click to expand...
Click to collapse
My aim is to give an option to backup every data before root then restore it after root. I know how bad to lose all your progress in games and lose your perfectly set up home screen then do everything from nothing
U can take me as an example I knew that unlocking bootloader wipes internal memory but never knew internal memory is sdcard for our device. Paid the price and lost all of my pics and game data too. I never have a habit of syncing to PC and hate cloud storage. I used helium to backup btw. Should've followed this method.
This backup method works also on Nexus 4?
[email protected] said:
This backup method works also on Nexus 4?
Click to expand...
Click to collapse
It should be working on every phone with android ics and above.
bitdomo said:
It should be working on every phone with android ics and above.
Click to expand...
Click to collapse
PERFECT!! I will report my experience after rooting of my N4.
Thanks for how to guide.
Status of back up?
My question is, How does one know when the back up has finished? I know that it shows whats going on when it brings up the prompt for you to select full back up but once you move from that prompt to let's say,check a message or open another app it seems as if there is no way of going back. Is there a way to check on the status of the back up? Or even check from your pc to know that it has finished? Thanks in advance.
Thanks heaps for this.
Being no stranger to the command line I was hoping there was something simple like this.
Just so people know you have to be patient with this especially if you do the apk versions.
There is no progress bar so go have a cuppa/beer and wait.
The app will disappear on your phone when it's done.
I stopped it half way through and it was a bit of a problem to get it to go again.
Also I am guessing from the size of the file it doesn't back up sms, images, movies or music.
Thanks again though.
Greg
one of the greatest thread
I've done this a few times where I needed to back up before unlocking the bootloader. It's something every rooter should learn.
I know this is reviving a very old topic but i have a problem.
My problem is once i type in the adb command nothing appears on my tablet to confirm the start of the backup. What am i doing wrong? The code i am using is below.
Once i run the code the backup file has been made but its 0 bytes. and nothing appears on the screen of the tablet once unlocked... i have tried restarting the tablet, changing the folder that the backup is made to. The tablet in question is an Asus MemoPad 7 ME173x and the device IS rooted. What am I doing wrong and has anyone else experienced this?
adb backup -apk -shared -system -all -f C:\Users\MyName\Android_Backups\backup.ab
Click to expand...
Click to collapse
wivane said:
I know this is reviving a very old topic but i have a problem.
My problem is once i type in the adb command nothing appears on my tablet to confirm the start of the backup. What am i doing wrong? The code i am using is below.
Once i run the code the backup file has been made but its 0 bytes. and nothing appears on the screen of the tablet once unlocked... i have tried restarting the tablet, changing the folder that the backup is made to. The tablet in question is an Asus MemoPad 7 ME173x and the device IS rooted. What am I doing wrong and has anyone else experienced this?
Click to expand...
Click to collapse
I have had issues where I had a backup file with 0 bytes, but it was usually due to the format of my adb command or when I tried it with the M Preview for the Nexus 5. Have you tried the command without the pathway in your file name? I just did the command that way and everything worked fine for me.
Hi, please advise what's wrong as when I try to run adb backup command windows reports as adb.exe stopped.
Running as administrator after the error message the cmd window is still there with command line like nothing happened but no backup created.
Please help.
This is great! But question: what exactly does the system variable backup?
I would only like to backup user apps and app data., since most other things are backed up by the phone in the cloud or other apps I use like gcloud, but I'm wondering what system includes.
Anyway, what if I only backup app data? What happens when I restore this app data without having the corresponding app installed?
This is so great that I wanted to keep it handy when offline. So, from within xda app (on my rooted nexus 5 running stock 4.4.4) I tried to copy the thread content to save it in a convenient place on the phone.
However when I pasted the copied content, the command line texts did not paste. Is this a known problem with android's copy/paste? Is there a way to enable full copy paste in android?
(Same thing happens when I copy paste content with images. The images are not included).
does it back up everything ? including the kernel bootloader and so on ?
hi there,
after unlocking the phone I missed to see that all data would be lost. Obviously the ROM was set back to factory.
Two applications I found to recover the data:
1. 7-Data Android Recovery (can't even find the phone)
2. Android Data Recovery (finds the phone, phone tells me that superuser rights are granted everything ok, but then: "unable to get device storage information")
I would love to recover some data like photos, applications or contacts, before flashing another ROM.
ADB Drivers, fastboot etc is installed. Motorola Device Manager is installed. All Drivers have been successfully placed.
The Phone work works properly when plugged to PC and also USB Debugging is enabled.
Why do my data recovery programs don't access the phone?
TeamWin Recovery 2.7 has been installed, furnice Kernel 1.1.2 as well as SuperSU 2.4. has been installed.
maybe those are impedient`?
nordcupp_motoG said:
I would love to recover some data like photos, applications or contacts, before flashing another ROM.
Click to expand...
Click to collapse
Unlocking the phone will perform a factory reset. That means, everything that does not reside in your external sdcard is permanently lost.
If your device is properly set up with a google account, all your contacts, bookmarks,emails etc. will be restored. That means that everything you can access with your browser, like email, Chrome-bookmarks, are in sync with your device. If you allow google to backup your settings it will also try to restore your apps, but this is, and was, very unreliable.
If you must, you can manually backup your contacts with Contacts Backup Ultimate.
As for applications, nothing beats Titanium Backup. Ugly as hell but the most powerfull backup solution there is.
And last but not least, copy your photos, music, movies etc to your external sdcard.
All this has of course to be done before whiping your device.
P.S. Please update your recovery to the latest TWRP.
external sd may follow soon.
team win recovery that version is offically compatible to moto G14
so I chose that one.
thanks for the tipp. should have seen that earlier.
darryer said:
Titanium Backup is a good tool for Android. Or you can use Tenorshare This is a pro tool for Android data, it can recover all lost data like contacts, sms, call history, photos etc, even you have no backup.
Click to expand...
Click to collapse
I did use that tool as well as 7-Data Recovery and another one. None of them capable to access the phone.
Tenoshore told me after connecting the phone to the app and choosing what data to save, that the storage information is not accessible.
No clue as to how that happens.
nordcupp_motoG said:
No clue as to how that happens.
Click to expand...
Click to collapse
If you connect your device with usb-debugging enabled in the developer options, does a dialog pop up, presenting a RSA fingerprint, asking to allow usb-debugging? Allowing this is imperative.
that was done properly... the application does ask for this before you can chose what to save.
nordcupp_motoG said:
that was done properly... the application does ask for this before you can chose what to save.
Click to expand...
Click to collapse
What is the output of "adb devices" after you connect your device?
C:\adb>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
ZX1D22HLNC unauthorized
C:\adb>
but usb tunnel is working right now...
usb debugging is enabled...
adb should be up to date...
mmmh every try delivers different ansers:
second time said: devices attached.
third time said: daemon failed to start
and adb server didnt ack
ok, there is a well known issue with some devices and adb
there is an adb fix for it, but I couldn't get it to work so far.
nordcupp_motoG said:
C:\adb>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
ZX1D22HLNC unauthorized
Click to expand...
Click to collapse
Maybe this helps
http://stackoverflow.com/questions/18011685/cant-connect-nexus-4-to-adb-unauthorized
thank you.
I installed the Android SDK Studio and used the ADB from there.
ADB now works properly.
USB Tunnel sucks hard still though.
The connection shows up to be established and skype and whats app do work,
but playstore and chrome refuse to work also no regular app can reach the net
like wikidroyd & co...
nordcupp_motoG said:
playstore and chrome refuse to work also no regular app can reach the net
Click to expand...
Click to collapse
Maybe manually change dns in wifi settings will help.
manually change it where?
I don't see any menu for this in usb tunnel...
guess I gonna get a USB wifi next week.
nordcupp_motoG said:
manually change it where?
I don't see any menu for this in usb tunnel...
guess I gonna get a USB wifi next week.
Click to expand...
Click to collapse
Not on the mobile, on your pc. Change it to e.g. 8.8.8.8
Does anyone know where I can find step by step instructions for rooting my mini on a Mac? Online i've found very little info on rooting the HTC One Mini 2, and where I have found guides, they have been using a PC.
I would appreciate greatly if someone could direct me to a step by step guide for rooting the Mini 2 from scratch using a Mac, or can tell me how to do it, as I have very little experience in this and don't want to risk doing something wrong:/
Thanks, Tzveti.
tzveti said:
Does anyone know where I can find step by step instructions for rooting my mini on a Mac? Online i've found very little info on rooting the HTC One Mini 2, and where I have found guides, they have been using a PC.
I would appreciate greatly if someone could direct me to a step by step guide for rooting the Mini 2 from scratch using a Mac, or can tell me how to do it, as I have very little experience in this and don't want to risk doing something wrong:/
Thanks, Tzveti.
Click to expand...
Click to collapse
1-Download HTC drivers/root files Win/Mac unzip to downloads/HTCRootMac.
2-open terminal
3-type: (after connecting your phone, make sure is recognized)
cd downloads
cd HTCRootMac
chmod 755 * (this will change permitions)
(dot) ./adb-mac backup -apk -all -f backup.ab (this will backup your phone)
4- turn phone into bootloader mode
5- type in terminal and following htc dev instructions until get token
(dot) ./fastboot-mac oem get_identifier_token
6- paste Unlock_code.bin into downloads/HTCRootMac folder
7- terminal type
(dot) ./fastboot-mac flash unlocktoken Unlock_code.bin
8- check phone and follow instructions (choose yes, this will erase your phone)
8.1 finish setup and send super user to somewhere in phone or sdcard keep as .zip file
9- put phone back into bootloader (should say at the top "tempered / unlocked")
10- download TWRP and put same folder in mac (downloads/HTCRootMac)
11- terminal type:
(dot) ./fastboot-mac flash recovery twrp-2.8.1.0-20142812-memul.img
(dot) ./fastboot-mac erase cache
12-in phone try to enter recovery (you should get into TWRP
13- inside TWRP install super user
14- turn phone on and inside settings tick USB debugging
15- (dot) ./adb-mac restore backup.ab (this will restore your phone (optional))
DONE.
let us know how it go.
Oh my god thank you so much)) I'll try this tomorrow and hopefully it will go well, there aren't any chances of me hard bricking my phone in this procedure right?
Again thank you so much this is very useful
kativiti said:
1-Download HTC drivers/root files Win/Mac unzip to downloads/HTCRootMac.
2-open terminal
3-type: (after connecting your phone, make sure is recognized)
cd downloads
cd HTCRootMac
chmod 755 * (this will change permitions)
(dot) ./adb-mac backup -apk -all -f backup.ab (this will backup your phone)
4- turn phone into bootloader mode
5- type in terminal and following htc dev instructions until get token
(dot) ./fastboot-mac oem get_identifier_token
6- paste Unlock_code.bin into downloads/HTCRootMac folder
7- terminal type
(dot) ./fastboot-mac flash unlocktoken Unlock_code.bin
8- check phone and follow instructions (choose yes, this will erase your phone)
8.1 finish setup and send super user to phone
9- put phone back into bootloader (should say at the top "tempered / unlocked")
10- download TWRP and put same folder
11- terminal type:
(dot) ./fastboot-mac flash recovery twrp-2.8.1.0-20142812-memul.img
(dot) ./fastboot-mac erase cache
12-in phone try to enter recovery (you should get into TWRP
13- inside TWRP install super user
14- turn phone on and inside settings tick USB debugging
15- (dot) ./adb-mac restore backup.ab (this will restore your phone (optional))
DONE.
let us know how it go.
Click to expand...
Click to collapse
Should I unzip the SuperSU and TWRP files before placing them on my phone?
Also, I haven't yet done this step but when you say this: "8.1 finish setup and send super user to phone", where do I send this file? as later on I also notice that you mention "10- download TWRP and put same folder", which folder is this? Is it the same folder as the Super user has been sent to? And if so where is this folder?
Sorry for all the questions
tzveti said:
Should I unzip the SuperSU and TWRP files before placing them on my phone?
Also, I haven't yet done this step but when you say this: "8.1 finish setup and send super user to phone", where do I send this file? as later on I also notice that you mention "10- download TWRP and put same folder", which folder is this? Is it the same folder as the Super user has been sent to? And if so where is this folder?
Sorry for all the questions
Click to expand...
Click to collapse
keep super user as .zip. and put it anywhere in phone where you can find easily .you gonna use TWRP to install it.
10- will be same folder you been using in mac (downloads/HTCRootMac) where adb files are.
instructions updated for this...
I got this message after trying step 3
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
adb: unable to connect for backup
tzveti said:
I got this message after trying step 3
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
adb: unable to connect for backup
Click to expand...
Click to collapse
did you install htc drivers? is the phone showing/mounted?
I downloaded all the stuff in the link provided, i'm not sure if there are other HTC drivers I should have downloaded.
Whether or not the phone is mounted i'm not sure of, as I can access it through Android File Transfer and can move files around, however it does not show as a device on my finder window.
tzveti said:
I downloaded all the stuff in the link provided, i'm not sure if there are other HTC drivers I should have downloaded.
Whether or not the phone is mounted i'm not sure of, as I can access it through Android File Transfer and can move files around, however it does not show as a device on my finder window.
Click to expand...
Click to collapse
install htc sync manager for latest drivers
kativiti said:
install htc sync manager for latest drivers
Click to expand...
Click to collapse
I now get this message:
adb server is out of date. killing...
* daemon started successfully *
adb: unable to connect for backup
In addition, now that I have installed HTC Sync Manager I can no longer use Android File Transfer, I'm not sure whether this is causing some kind of problem.
kativiti said:
install htc sync manager for latest drivers
Click to expand...
Click to collapse
I now get this message:
adb server is out of date. killing...
* daemon started successfully *
adb: unable to connect for backup
In addition, now that I have installed HTC Sync Manager I can no longer use Android File Transfer, I'm not sure whether this is causing some kind of problem.
tzveti said:
I now get this message:
adb server is out of date. killing...
* daemon started successfully *
adb: unable to connect for backup
In addition, now that I have installed HTC Sync Manager I can no longer use Android File Transfer, I'm not sure whether this is causing some kind of problem.
Click to expand...
Click to collapse
did you run this command " chmod 755 * " to change permitions?
kativiti said:
did you run this command " chmod 755 * " to change permitions?
Click to expand...
Click to collapse
Yes, however when I write the command nothing happens. When using the android file transfer application some text had appeared though.
tzveti said:
Yes, however when I write the command nothing happens. When using the android file transfer application some text had appeared though.
Click to expand...
Click to collapse
you can skip the backup. or do a backup using htc manager.
you must use a OTG cable (original htc cable)
I'm backing up the phone now using manager, and I am using the original cable however it is still not working:/
Done, fantastic, thanks a bunch mate
tzveti said:
Done, fantastic, thanks a bunch mate
Click to expand...
Click to collapse
glad i could help. change thread title to "Step by step MAC Rooting instructions" so others can find it too
kativiti said:
glad i could help. change thread title to "Step by step MAC Rooting instructions" so others can find it too
Click to expand...
Click to collapse
Thanks for the clear instructions,
i also have a question abut HTC ONE REMIX can you help me change modelid: 0P8B10000 to any european MID ?