Adb problems - Galaxy Tab 10.1 General

Hey I've been having issues with ADP on my tab.
For some reason I can't seem to push anything when I'm in CWM recovery. Like for example I wanted to push Bonsai_GT-P7510_v0.1.5.zip to my tablet. It said that it pushed it, gave me the bitrate that it pushed it at and then when I went to find the zip it's not there.
any help?
The commands I used were
cd c:\android-sdk-windows\tools\
adb push Bonsai_GT-P7510_v0.1.5.zip /sdcard/Bonsai_GT-P7510_v0.1.5.zip
Click to expand...
Click to collapse
I can't find the file to flash, any help?
I get this message
1289 kb/s <178535916 bytes in 135.196s>
Click to expand...
Click to collapse
anything wrong with this?

perhaps push to /data/media/.
This is where I push. And shows up in cwm install update.
usually I tell cwm that I'm going to install an update from sd first.. so it mounts it for me. but then I cancel.. Push my files.. and then actually perform the update.

I tried that and I failed again,
does this command look right to you?
adb push Bonsai_GT-P7510_v0.1.5.zip /data/media/Bonsai_GT-P7510_v0.1.5.zip
Click to expand...
Click to collapse
I tried that after I pressed install update from zip, then backed out.

Related

Recovery 1.52 - 1.6x? How?

I have searched for the last 30 mins and can't seem to find what the latest recovery image is, or how to upgrade my phone to it.
I want to get the image that allows the use of ext4 to test out the latest Fresh toast and can't seem to find it.
Anyone got a link or a quick how to?
http://forum.xda-developers.com/showpost.php?p=4898505&postcount=1
Every version including 1.6.2 and instructions in that link.
Bielinsk said:
I have searched for the last 30 mins and can't seem to find what the latest recovery image is, or how to upgrade my phone to it.
I want to get the image that allows the use of ext4 to test out the latest Fresh toast and can't seem to find it.
Anyone got a link or a quick how to?
Click to expand...
Click to collapse
copy the .img file to your SD card
unmount the sd card from the PC
open CMD
type
abd shell
su
flash_image recovery /sdcard/recovery_filename.img
reboot.
danknee said:
http://forum.xda-developers.com/showpost.php?p=4898505&postcount=1
Every version including 1.6.2 and instructions in that link.
Click to expand...
Click to collapse
adb shell
su
cd /sdcard/
flash_image recovery recovery-RA-heroc-v1.6.2.img
reboot
Jus10o said:
adb shell
su
cd /sdcard/
flash_image recovery recovery-RA-heroc-v1.6.2.img
reboot
Click to expand...
Click to collapse
Beat me to it. Yeah, just do that. Keep in mind you need to put it on the root of your SD before that.
Thanks all, got it.
I'm trying to update my recovery using the steps above but I keep getting " 'adb' is not recognized as an internal or external command, operable program or batch file." o_0
Edit: Nevermind, I got it.

Bricked Phone?

Ok I got A Problem. Went to flash a new rom after backing my current one up with rom manager everything went fine till I went to flash it and now it says
E: Failure at line 7 symlink dumpstate SYSTEM:bin/dumpcrash
I dont have a working phone. Tried several different roms and nothing.
what do I need to do??
can u boot in to recovery mode " vol up + power button " ? and dont use Clockworkmod recovery as its known to have issues with the eris.
use the other recovery.
Thanks T.A.
Yes I can Boot into recovery thats it.
How do I go about Flashing a New Recovery Manager
Topaz is right.... Amon_RA FTW !
How do I install that now though. I have been searching through forums looking cant find a step by step
Forgot to say I was a Leaker before they found the method.
would this work
http://forum.xda-developers.com/showthread.php?t=725096&highlight=Flash+Amon's+recovery
metzy75 said:
How do I install that now though. I have been searching through forums looking cant find a step by step
Forgot to say I was a Leaker before they found the method.
would this work
http://forum.xda-developers.com/showthread.php?t=725096&highlight=Flash+Amon's+recovery
Click to expand...
Click to collapse
might work, I imagine you could also try this....
http://forum.xda-developers.com/showthread.php?t=725047
this gives you the S-OFF bootloader and Amon_RA for recovery
you might wait to see if others weight in on the best approach here.
Already turned S-OFF the only reason I have clock work is because my noobie ass used rom manager for convience
metzy75 said:
Already turned S-OFF the only reason I have clock work is because my noobie ass used rom manager for convience
Click to expand...
Click to collapse
"noobie ass" is funny.
jcase's approach in your link is probably all you need then
Phones about to get thrown at the wall. Nothing is working, do the adb push moves file fine then couple commands down it says not there
metzy75 said:
Phones about to get thrown at the wall. Nothing is working, do the adb push moves file fine then couple commands down it says not there
Click to expand...
Click to collapse
if you do
adb devices
does its show a device HTCxxxxxxxxxx (some alphanumeric)?
Do this
Code:
adb push recovery.img /data/local/
adb push flash_image /data/local/
adb shell chmod 777 /data/local/recovery.img
adb shell chmod 777 /data/local/flash_image
adb shell /data/local/flash_image recovery /data/local/recovery.img
adb reboot recovery
try this in fastboot ( SEND + POWER )
not sure u can push files into /data/local/
hopefully it will work and if not and all fails.
put a rom on sd card and boot into recovery and hopefully clockworkmod recovery will flash it.
Yep, really have no idea what to do. I run the commands in what you gave me and the stupid thing says file its there when i use root command to navigate there its right there. idk whats going on.
TopazAaron said:
Do this
Code:
adb push recovery.img /data/local/
adb push flash_image /data/local/
adb shell chmod 777 /data/local/recovery.img
adb shell chmod 777 /data/local/flash_image
adb shell /data/local/flash_image recovery /data/local/recovery.img
adb reboot recovery
try this in fastboot ( SEND + POWER )
not sure u can push files into /data/local/
hopefully it will work and if not and all fails.
put a rom on sd card and boot into recovery and hopefully clockworkmod recovery will flash it.
Click to expand...
Click to collapse
doesn't show its connected, I have fastboot USB showing on the eris
tried flashing many roms no good same error
http://forum.xda-developers.com/showthread.php?t=651669
May help in that it includes the Amon_RA file and offers a different approach...
good luck
have you ever heard of the jitterbug?
Sjflowerhorn said:
have you ever heard of the jitterbug?
Click to expand...
Click to collapse
Idk what a jitter bug has to do with this. But I got the recovery changed but nothing still flashes.
Got to line 8 instead of line 7
says cant chown/mod /system/bin
(no such file or directory
E: failure at line 8
set_perm_recursive 0 2000 07550
Sjflowerhorn said:
have you ever heard of the jitterbug?
Click to expand...
Click to collapse
holy crap... i almost fell outta my chair!!!! LOL (i used to tell this lady at work all the time.... you NEED a jitterbug!!!).
------------------------------------------------------------------------------------------------------------
in any case...
metzy75... you said you backed up (a NAND backup i'm assuming)... are you able to restore your backup? or same failure? different message?
metzy75 said:
Idk what a jitter bug has to do with this. But I got the recovery changed but nothing still flashes.
Got to line 8 instead of line 7
says cant chown/mod /system/bin
(no such file or directory
E: failure at line 8
set_perm_recursive 0 2000 07550
Click to expand...
Click to collapse
what ROM are you trying to flash?
zach.xtr said:
what ROM are you trying to flash?
Click to expand...
Click to collapse
Just Official eris one that came with that all in one zip. and plain jane as wwell
Plain Jane fails at line 7 and offical eris line 8
tenzomonk said:
holy crap... i almost fell outta my chair!!!! LOL (i used to tell this lady at work all the time.... you NEED a jitterbug!!!).
------------------------------------------------------------------------------------------------------------
in any case...
metzy75... you said you backed up (a NAND backup i'm assuming)... are you able to restore your backup? or same failure? different message?
Click to expand...
Click to collapse
Backups all failed.

[Q] Is it possible to push apps via adb to an encrypted xoom?

the subject says it all. I've been trying to push apps to my encrypted xoom all afternoon without any luck...
I'll go ahead and admit upfront that I am a noob when it comes to using the sdk... so that could also be a major factor.
adb install (insert exact location+ filename.apk for the app you want to install)
I just tested it out
for example
adb install C:/abc.apk
What command are you using? What error message are you getting? Did you do a adb remount to make sure that the /system/app path is writable?
You can always do an adb install [package name].apk as well.
scsa20 said:
What command are you using? What error message are you getting? Did you do a adb remount to make sure that the /system/app path is writable?
You can always do an adb install [package name].apk as well.
Click to expand...
Click to collapse
I just tried to execute adb remount (I had not until you mentioned it), but I get a "remount failed: operation not permitted".
Code:
Hannibal:platform-tools dmoore$ ./adb install /Users/dmoore/Documents/android-sdk/platform-tools/AsusReader.apk
1259 KB/s (7747001 bytes in 6.007s)
pkg: /data/local/tmp/AsusReader.apk
Failure [INSTALL_FAILED_DEXOPT]
Additional information: I am on a MacBook Pro using the latest version of the SDK (downloaded it yesterday).
try typing "adb devices" if it does not list your xoom try installing or re-installing the motorola usb drivers
http://www.motorola.com/Support/US-...tware_and_Drivers/USB-and-PC-Charging-Drivers
just noticed the macbook part
http://www.samsung-tablets.com/motorola-xoom-usb-driver-for-pc-and-mac-download.html/
Ok... back to me being a complete when it comes to the SDK (and the Xoom in particular)...
My Xoom is completely stock... it has not been rooted or otherwise modified.
With that being said, is there some trick to getting the file system to mount as r/w? Do I need to reboot in to recovery before adb remount will work?
Sic123 said:
just noticed the macbook part
http://www.samsung-tablets.com/motorola-xoom-usb-driver-for-pc-and-mac-download.html/
Click to expand...
Click to collapse
I've already installed the Android File Transfer app... it only allows me to browse the SD card - not the root fs... unless there's something I'm missing...
dmoore44 said:
Ok... back to me being a complete when it comes to the SDK (and the Xoom in particular)...
My Xoom is completely stock... it has not been rooted or otherwise modified.
With that being said, is there some trick to getting the file system to mount as r/w? Do I need to reboot in to recovery before adb remount will work?
Click to expand...
Click to collapse
you dont have to be in recovery (recovery wont do any good unless you install clockwork recovery) for adb remount to work but if your not rooted you cant push files into the system folder thats the whole point of rooting is to unlock the system files also if your pushing it into /system/app the rom is odexed so you will need the apk plus the odex file
Sic123 said:
you dont have to be in recovery (recovery wont do any good unless you install clockwork recovery) for adb remount to work but if your not rooted you cant push files into the system folder thats the whole point of rooting is to unlock the system files also if your pushing it into /system/app the rom is odexed so you will need the apk plus the odex file
Click to expand...
Click to collapse
I have the odex file, so i'm not terribly worried about that.
My major question would be this though... Do I need to go full blown root, or can I just unlock the device?

Stuck on "Android is Updating, Apps is starting"

Hey Everyone,
So last night randomly while texting my phone reboots and is now stuck in "Android is Updating screen, Apps is starting" with the swirl icon swirling forever [waited over 15 min]. It keeps doing this and now I assume some file somehow got corrupt?
I'm on 4.2.2, stock rom, franco kernel. I've tried fixing permissions, wiping cache/dvalik and nothing has helped thus far. Only thing I can see is a complete wipe? Nandroid backup is not possible atm. Is there a way to pull all my pictures and files from recovery only?
Are there any other suggestions before I go that route?
Thanks,
Jonathan
Boot into recovery and use adb to pull all the contents of your SD card like this:
Code:
adb pull /sdcard/
Then do a full wipe and flash a ROM.
chromium96 said:
Boot into recovery and use adb to pull all the contents of your SD card like this:
Code:
adb pull /sdcard/
Then do a full wipe and flash a ROM.
Click to expand...
Click to collapse
Just had a question, how do I set where ADB pulls the files?
impruv said:
Just had a question, how do I set where ADB pulls the files?
Click to expand...
Click to collapse
Code:
adb pull \path\of\your\choice /sdcard/
i had the exact thing happen to me in january, something corrupted and it wouldnt finish booting. nandroid restore and wiping/flashing didnt help, i had to flash the factory img to get up and running, then i restored a nandroid backup. did you have fsync disabled?
chromium96 said:
Code:
adb pull \path\of\your\choice /sdcard/
Click to expand...
Click to collapse
Hmmm weird, it says my "remote object '\D:\nexuspull' does not exist" and I'm positive that's the correct path
impruv said:
Hmmm weird, it says my "remote object '\D:\nexuspull' does not exist" and I'm positive that's the correct path
Click to expand...
Click to collapse
Sorry I screwed up the command. It should be like this:
Code:
adb pull /sdcard/ D:\nexuspull
chromium96 said:
Sorry I screwed up the command. It should be like this:
Code:
adb pull /sdcard/ D:\nexuspull
Click to expand...
Click to collapse
Ah thank you. Works perfectly now!
chromium96 said:
Sorry I screwed up the command. It should be like this:
Code:
adb pull /sdcard/ D:\nexuspull
Click to expand...
Click to collapse
It seemed to have pulled MOST of the folders, but I have gone and manually done the rest. There is still one folder I can't pull because the folder name has spaces "Photo Grid". Can adb not deal with paths with spaces? I tried _ as a space but did not work.
impruv said:
It seemed to have pulled MOST of the folders, but I have gone and manually done the rest. There is still one folder I can't pull because the folder name has spaces "Photo Grid". Can adb not deal with paths with spaces? I tried _ as a space but did not work.
Click to expand...
Click to collapse
Have you tried putting the path is double quotes?

Please help a beginner understand ADB

I am quite proud to have got as far as I have (please see screenshot).
However, I am trying to adb pull my nandroid backup from TWRP onto my PC. I've searched all over the place for the right commands but whatever I type, I get a "could not find" message.
Could someone please let me know what to type to adb pull the nandroid backup onto my PC please?
Also, when I have reformatted my Nexus 7, what do I need to do to adb push the nandroid backup back onto my sdcard?
Many thanks in advance!
It should be in your /data/media/0/TWRP/BACKUPS/015d4172c98600219/ directory to c:/users/a/desktop.
Username invalid said:
It should be in your /data/media/0/TWRP/BACKUPS/015d4172c98600219/ directory to c:/users/a/desktop.
Click to expand...
Click to collapse
Thanks! I have been at it all day! I've finally managed to adb pull my nandroid backup and my TBU. I now want to sideload them to make sure I can do everything before I reformat my N7. When I enter: adb sideload 015d172c98600219, I get a "cannot read message". What is it that I should be entering?
You can not sideload a nandroid backup. You need to push it to your TWRP directory.
Username invalid said:
You can not sideload a nandroid backup. You need to push it to your TWRP directory.
Click to expand...
Click to collapse
Ah ok, good to know! So it's "adb push /015d4172c98600219/data/media/0/TWRP/BACKUPS/"?
Example
Code:
adb push c:/users/a/desktop/2013-07-29--11-07-31 /sdcard/TWRP/BACKUPS/015d4172c98600219/2013-07-29--11-07-31
Username invalid said:
Example
Code:
adb push c:/users/a/desktop/2013-07-29--11-07-31 /sdcard/TWRP/BACKUPS/015d4172c98600219/2013-07-29--11-07-31
Click to expand...
Click to collapse
Thanks very much for this. I guess adb is not for me.
This is where I am (screenshots). No matter what code I try nothing happens. I just see a set of instruction run quickly on the screen and then I'm back to square one.
Do I need to do something about the device itself, in "mount" perhaps?
Sorry to be a pain! Don't worry if you don't have the time!
StrangerWeather said:
Thanks very much for this. I guess adb is not for me.
This is where I am (screenshots). No matter what code I try nothing happens. I just see a set of instruction run quickly on the screen and then I'm back to square one.
Do I need to do something about the device itself, in "mount" perhaps?
Sorry to be a pain! Don't worry if you don't have the time!
Click to expand...
Click to collapse
Make a temporary backup so it will create the directory. You should still have your system image after the format so have you tried booting up then copying through My Computer?
Well I haven't reformatted yet because I wanted to make sure I mastered the adb method before I wiped everything. But now I don't know whether I should format at all. Sounds a bit risky if I don't have a rom to go back to!
Sent from my Nexus 7 using xda premium
It's strange, though, that I can successfully adb pull files but not adb push them back. Does anybody have a clue?
Your ROM will still be there after formatting. If is not, just reflash it with fastboot or sideload.
Also, you can't have spaces in the command.

Categories

Resources