hi to all!! i have a doubt....
i know that if i want to recover my device from fastboot via adb or from adb parameters i must to write in the shell:
fastboot update [filename+extension]
but,
1-can i create a backup of my current rom with the shell?
2-what are exactly the parameters?
3-if the parameters exists what must be my device status?(into the fastboot?etc...)
thank´s in advance and sorry for my poor english!!!
i have a list of ADB fastboot commands but i dont see the backup parameters... noone knows it¿???
Related
Backuped the Infusion 2.0 rom in cwm recovery 4.0.0.8 and i cannot restore it in cwm 4.0.0.2 in cf-root. The MD5 sum does not match!:
Can i do anything to fix this, it`s quite annoying.
I solved my problem bit i`d like to know for future events.
-SOLVED-
I'm really really sorry to tell you but when the MD5 does not match, you're stuck.
prodygee said:
I'm really really sorry to tell you but when the MD5 does not match, you're stuck.
Click to expand...
Click to collapse
thank you for jour answer, does this have anything to do with different recovery versions?
gee2012 said:
thank you for jour answer, does this have anything to do with different recovery versions?
Click to expand...
Click to collapse
Guess it`s just a bad flash
Try restoring the parts manually using an "advanced restore". that should work.
use this
http://forum.xda-developers.com/showthread.php?t=1356401&highlight=md5
and this tutorial on how to use ADB
Check if your phone is detected by ADB
Open up Command Prompt (Go to run, type in cmd, press enter)
Type in:
cd C:\**your sdk name**\tools (Press Enter)
adb devices (Enter) You should see your device listed
adb shell (Enter) you should see $ in the next line
**After you obtain root**
su (Enter) you should see # in the next line if you are already rooted
**you may need to allow adb shell to run as root. Look at the phone and see if Superuser.apk is asking for your permission to allow adb root access. Click on "Remeber my selection" and select yes.
Now you are all set to run adb commands as root or as a regular user
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
**Note: for a list of commands that you can type using adb type "adb" in cmd
I'm sorry If I'm missing something really obvious, or if this question has been asked before, but I didn't find anything in the search, so here goes:
Firstly, as the title suggests, I'm wondering whether it would be possible to run ADB (Android Debug Bridge) inside an existing Android device. I saw this, but what I want is to be able to compile an ADB binary (plus any necessary libraries) for Android, put it on my sdcard, and run ADB commands from within a terminal emulator.
Secondly, I'm wondering whether, after installing ADB on one device (device #1), I could connect that device and another device (device #2) together, and use device #1 to perform ADB commands on device #2 (for example, rooting device #2 without needing a PC).
So..... Would it be possible?
This would fare better in the Android Q&A forum. I'll flag it to the forum mod and ask them to move it
Done, and Thank You Sir.
adb
pokepal101 said:
I'm sorry If I'm missing something really obvious, or if this question has been asked before, but I didn't find anything in the search, so here goes:
Firstly, as the title suggests, I'm wondering whether it would be possible to run ADB (Android Debug Bridge) inside an existing Android device. I saw this, but what I want is to be able to compile an ADB binary (plus any necessary libraries) for Android, put it on my sdcard, and run ADB commands from within a terminal emulator.
Secondly, I'm wondering whether, after installing ADB on one device (device #1), I could connect that device and another device (device #2) together, and use device #1 to perform ADB commands on device #2 (for example, rooting device #2 without needinig a PC).
So..... Would it be possible?
Click to expand...
Click to collapse
I want to start by saying I'm no expert, but to the best of my knowledge, this is how it works.
adb runs native on android, the android property is ro.secure=1 this is found in the default.prop file. ADB is run in user privilege mode with this property setting. Not all of the adb shell commands will work with the device in this mode. With ro.secure=0 property setting, adb will run with root user privileges and all adb shell commands will function. There is an adb comand that when issued will return the value of the setting, but off the top of my head I could not tell you it. The file default.prop is part of the boot.img and will load every time the device is booted, so to edit the file the boot.img would have to be unpacked, edited, repacked, and pushed to the device boot partition.
I don't know why you would want to connect two smartphones using adb and don't know if it is even possible. It is probably best to run the binary with a script on the device where you want it installed. Good Luck with your project.
Sorry, I don't think I quite understand....
fdaconta said:
Not all of the adb shell commands will work with the device in this mode
Click to expand...
Click to collapse
I'm sorry if I'm not making myself clear, but I'm talking about running the ADB client/server on an android phone (normally done on a development computer), not the ADB daemon.
fdaconta said:
It is probably best to run the binary with a script on the device where you want it installed
Click to expand...
Click to collapse
That's also not possible, as the script involves running some complicated ADB-ish things like "adb restore" and running while device #2 is turned off - hence the need for device #1.
So, I was wondering if it was possible to root the S4 with ADB and OSX? I downloaded all the files from open1your1eyes0's guide, accept for Oden and the USB drivers. Would I just use the adb shell + adb push command? If so, where would I push them to? All the files are in the Android folder I created so I don't have to type the full path every time, Or would I use the Flash command?
I could use Windows, but I try to avoid as much as possible, just a personal preference. If someone could write the whole code out for me, I'll buy you a beer. LOL. :laugh:Seriously though, I'd really appreciate it!
Thanks!
Use heimdall instead of odin
Hi all,
this is my first message.
I would like to root my Sony Xperia Sola and I'm using Root_with_Restore_by_Bin4ry_v31.
When i launch the command (with runme.bat) "adb backup -f stuff\mysettings.ab com.android.settings" in the smartphone not appears the confirmation.
In the log of "adb logcat" i get this error: "adb unable to launch full backup confirmation" (i obtain a zero lenght file on my pc). Same for the restore comand.
I've already activated debug usb ecc
The command "Adb devices" return that it's all ok.
To root my phone I've to make a backup and then to restore the file "special.ab"
I think that I can make the backup directly in the smartphone with the backup app (without adb.exe) , but Is there any way to restore the special.ab file manually without adb? Or is there a solution to use correctly adb backup/restore with Sola?
marco_tv said:
Hi all,
this is my first message.
I would like to root my Sony Xperia Sola and I'm using Root_with_Restore_by_Bin4ry_v31.
When i launch the command (with runme.bat) "adb backup -f stuff\mysettings.ab com.android.settings" in the smartphone not appears the confirmation.
In the log of "adb logcat" i get this error: "adb unable to launch full backup confirmation" (i obtain a zero lenght file on my pc). Same for the restore comand.
I've already activated debug usb ecc
The command "Adb devices" return that it's all ok.
To root my phone I've to make a backup and then to restore the file "special.ab"
I think that I can make the backup directly in the smartphone with the backup app (without adb.exe) , but Is there any way to restore the special.ab file manually without adb? Or is there a solution to use correctly adb backup/restore with Sola?
Click to expand...
Click to collapse
Flash the .10 firmware first,then Root using Bin4ry's Method,then flash .54 firmware again.done
wow
I spend many hours to solve this problem. I've just download "Root_with_Restore_by_Bin4ry_v9_4" and now it's all ok!!
Before this i used Root_with_Restore_by_Bin4ry_v31.
In the tutorial was indicated to press 1 in the start screen of Binary. Perhaps it was referring to the old version of Bin4ry. The old version (Root_with_Restore_by_Bin4ry_v9_4) have only two choices. The new version (Root_with_Restore_by_Bin4ry_v31) have four choices.
I hope this can help other people with this problem.
I dont why but sometimes when i flash firmware, it gives error
dear all,
I want to change the locale of my non-rooted android device with adb command.
I am able to display the language menu with following command:
adb shell am start -a android.settings.LOCALE_SETTINGS
but finally I want to change to language and country directly with adb commands.
I also tried "adb shell setprop persist.sys.locale de-CH"
Result:
setprop: failed to set property 'persist.sys.locale' to 'de-CH'
Does anyone have a good idea to do this?
thanks and best regards
Marvi70
This is only possible on a rooted device or on an AVD. See some of the answers here:
https://stackoverflow.com/questions/21712205/change-device-language-via-adb
foonapp said:
This is only possible on a rooted device or on an AVD. See some of the answers here:
https://stackoverflow.com/questions/21712205/change-device-language-via-adb
Click to expand...
Click to collapse
Thanks, but how to do that when I can't run the OS, only in TWRP Recovery ?
(sorry for my poor English)