[Q] No way to use ADB in bootloader - Nexus S Q&A, Help & Troubleshooting

Hi, I've tried to flash the battery percentage mod but I can't use adb in bootloader mode...
As i know, under windows os is a common drivers-related problem, but i'm on Mac Snow Leopard...
Any help?
Code:
~/Desktop/androidsdk/platform-tools/adb shell mount /system
error: device not found
MacBook-Pro:platform-tools bypx$ sudo ./adb kill-server
Password:
MacBook-Pro:platform-tools bypx$ sudo ./adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
Under USB in system profiler I see:
Code:
Android 1.0:
ID prodotto: 0x4e20
ID fornitore: 0x18d1
Versione: 1.00
Numero di serie: 3233A7B700E300EC
Velocità: Fino a 480 Mb/sec
Produttore: Google, Inc
ID posizione: 0xfa200000
Corrente disponibile (mA): 500
Corrente necessaria (mA): 50
Help

Adb only works in either recovery or normal mode.
Sent from my HTC Desire using XDA App

PaulW21781 said:
Adb only works in either recovery or normal mode.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Ok thanks for ur reply, i've tried to flash the apk in recovery mode and now the phone stuck on nexus s boot logo, LOL
Let me recovery with the MoDaCo rom

Related

[GUIDE] getting titaniumbackup (and other root apps) temporarly working

first off, big thanks @teamwin for fre3vo!
this guide is for advanced users only, so I will not explain the adb stuff etc.
you will need to do this stuff FAST, as temp root only works for a short amount of time, but it was enough for me to restore some apps and settings
* install titaniumbackup & busybox installer from market (do not start them)
* reboot the phone and DO NOT start any application
* do the fre3vo stuff:
Code:
adb push fre3vo /data/local/tmp
adb shell chmod 777 /data/local/tmp/fre3vo
adb shell /data/local/tmp/fre3vo
* install superuser, su and set permissions
Code:
adb shell mount -oremount /dev/block/mmcblk0p22 /system
adb install Superuser.apk
adb push su /system/xbin/su
adb shell chmod 06755 /system/xbin/su
adb shell ln -s /system/xbin/su /system/bin/su
* start busybox installer and install busybox
* start titaniumbackup and do your stuff
again, this has to be done fault free and FAST, like within 2-3 minutes
attached are su & superuser used
Nothing attached
Thank you for this tuto, i try other from 3D Evo and don't work for me, now im not at home, but will try this one once at home.
Thank a lot!!!
Sent from my HTC Sensation Z710e using Tapatalk
<delete please>
Great man!! Thanks
I am guessing that all these files fre3vo, SU, Su.apk should be in the platform-tools folder? where adb is?
We can delete some apks,right?
jerrylzy said:
We can delete some apks,right?
Click to expand...
Click to collapse
No, but you can disable them
prateekgujral said:
I am guessing that all these files fre3vo, SU, Su.apk should be in the platform-tools folder? where adb is?
Click to expand...
Click to collapse
the 3 files have to be in your current working directory (which should not be the platform dir), and adb should be in your ${PATH}
but yes, you can also put the files where adb is located
blubbers said:
the 3 files have to be in your current working directory (which should not be the platform dir), and adb should be in your ${PATH}
but yes, you can also put the files where adb is located
Click to expand...
Click to collapse
I will have to put them where the adb is located as I havent changed the environment variables for accessing adb from anywhere.. i think it should be ok.. as I have been flashing radios and other apps like that only!! (previous Androids!)
I would usually just copy the file on to the platrform directory.. ADBed the thing and deleted the file oonce the job is done!
prateekgujral said:
I will put them where the adb is located as I havent changed the environment variables for accessing adb from anywhere.. i think it should be ok.. as I have been flashing radios and other apps like that only!! (previous Androids!)
I would usually just copy the file on to the platrform directory.. ADBed the thing and deleted the file oonce the job is done!
Click to expand...
Click to collapse
of course it will work, but it's not the proprer way to do things
blubbers said:
of course it will work, but it's not the proprer way to do things
Click to expand...
Click to collapse
Oh well!! as long as it works!!!
Anyway... thanks man!!
Found this!!
Excellent video tut
http://www.youtube.com/watch?v=1t9AXZWcFQU
prateekgujral said:
Found this!!
Excellent video tut
http://www.youtube.com/watch?v=1t9AXZWcFQU
Click to expand...
Click to collapse
might want to put this in the fre3vo thread, as this is thread goes beyond that
Followed your procedure above but just before I installed busybox - I pushed a new hosts file over which was taken from an adblocker program.
adb push hosts /etc/hosts
Edit: - hosts gets overwritten after few minutes
Pity - thought it might have been useful
Awesome worked great!
EddyOS said:
No, but you can disable them
Click to expand...
Click to collapse
I have uninstalled anything related to "stocks"
The widget , the app and one other have been uninstalled and are no longer present on my phone
Sent from my Nokia 3310 using Tapatalk, 2 carrier pigeons on crack and a cab
j2kquest said:
I have uninstalled anything related to "stocks"
The widget , the app and one other have been uninstalled and are no longer present on my phone
Sent from my Nokia 3310 using Tapatalk, 2 carrier pigeons on crack and a cab
Click to expand...
Click to collapse
Reboot and they'll probably come back
I get this
failed to copy 'su' to '/system/xbin/su': Read-only file system
Click to expand...
Click to collapse
I get all the way to Titanium backup saying its restoring an app and it hangs there. It gets superuser and everything it just doesnt seem to want to actually restore anything.
I get this problem
C:\android\tools>adb shell mount -oremount /dev/block/mmcblk0p22 /system
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
C:\android\tools>adb shell mount -oremount /dev/block/mmcblk0p22 /system
adb server is out of date. killing...
* daemon started successfully *
mount: Operation not permitted
C:\android\tools>adb shell mount -oremount /dev/block/mmcblk0p22/system
adb server is out of date. killing...
* daemon started successfully *
Usage: mount [-r] [-w] [-o options] [-t type] device directory
C:\android\tools>adb install Superuser.apk
adb server is out of date. killing...
* daemon started successfully *
2180 KB/s (196521 bytes in 0.088s)
adb server is out of date. killing...
* daemon started successfully *
pkg: /data/local/tmp/Superuser.apk
Success
adb server is out of date. killing...
* daemon started successfully *
C:\android\tools>adb push su /system/xbin/su
adb server is out of date. killing...
* daemon started successfully *
failed to copy 'su' to '/system/xbin/su': Read-only file system
Click to expand...
Click to collapse

[Q] error: more than one device and emulator???[SOLVED]

So i'm trying to root my asus transformer by following this guide http://forum.xda-developers.com/showthread.php?t=1106587
i got to the part where it says to type the following command
Code:
adb push gingerbreakBB /data/local/
but i get the error
Code:
C:\Android>adb push gingerbreakBB /data/local/
error: more than one device and emulator
I ran adb devices to see what devices it recognises and it says
Code:
C:\Android>adb devices
List of devices attached
304D197CC264A27E device
28841c943012497 device
what now
unplug one of your devices (maybe your phone?) or use
Code:
adb -s 304D197CC264A27E push gingerbreakBB /data/local/
you might have to swap the serial number, depending what you have plugged in.
thanks mate it seemed like it rooted but it didnt lol. i got the progress bar on when i rebooted the device but it doesnt seem to be rooted hhmmmm any ideas?
Sorry, not sure... maybe your phone is rooted instead :0
Try starting over again without your phone plugged in
if you are on linux or have access to a linux machien use this http://forum.xda-developers.com/showthread.php?t=1198303
Otherwise do this http://forum.xda-developers.com/showthread.php?t=1125714
gee one said:
Sorry, not sure... maybe your phone is rooted instead :0
Try starting over again without your phone plugged in
Click to expand...
Click to collapse
LOLOLOL you were right my phone was plugged in HOWEVER it still didnt work. the progress bar did show up again but wasnt rooted
mrevankyle said:
if you are on linux or have access to a linux machien use this http://forum.xda-developers.com/showthread.php?t=1198303
Otherwise do this http://forum.xda-developers.com/showthread.php?t=1125714
Click to expand...
Click to collapse
thanks i'll try that out later today. i think its sign for my to go to sleep its 3 am right now lolol. i'll post what happens today morning
Oh yeh going to sleep did the trick. I woke up and removed everything by doing the commands
Code:
adb shell rm /data/local/tmp/boomsh
adb shell rm /data/local/tmp/sh
and also followed the this video tutorial
http://www.youtube.com/watch?v=WaZ4B60OWmY&feature=player_embedded
aand it worked it!
Thanks gee one and mrevankyle
kassim3 said:
Oh yeh going to sleep did the trick. I woke up and removed everything by doing the commands
Code:
adb shell rm /data/local/tmp/boomsh
adb shell rm /data/local/tmp/sh
and also followed the this video tutorial
http://www.youtube.com/watch?v=WaZ4B60OWmY&feature=player_embedded
aand it worked it!
Thanks gee one and mrevankyle
Click to expand...
Click to collapse
also would like to add to anyone else encountering this error with other uses of adb to make sure all of bluestacks processes are killed.
I had the same issue when I've tried to room my XT1032 (Moto G)... I fail to install with the SuperBoot way! So I've decide to install CWM and a modified recovery.
On my first try, I receive this message:
Code:
error: more than one device and emulator
When I used the command
Code:
adb devices
I've 2 device... My XT1033 and an AndroidEmulator...
C:\Fastboot>adb devices
List of devices attached
emulator-5554 offline
TA88305ZDH offline
Click to expand...
Click to collapse
Also, the command
Code:
adb shell rm /data/local/tmp/boomsh
adb shell rm /data/local/tmp/sh
is not working for me...
I've use the command:
Code:
adb kill-server
After, I've plug back my XT1033 via USB and launch the command:
Code:
adb usb
Only my XT1033 is now show when I use the
Code:
adb devices
!
So, I've finish my installation with
Code:
fastboot-moto-windows flash recovery recovery.testkeys.img
and I've run a sideload installation with:
Code:
adb-windows sideload supersu.motog.zip
Try this and share me your opinion!
---------- Post added at 11:11 PM ---------- Previous post was at 11:10 PM ----------
I had the same issue when I've tried to room my XT1032 (Moto G)... I fail to install with the SuperBoot way! So I've decide to install CWM and a modified recovery.
On my first try, I receive this message:
Code:
error: more than one device and emulator
When I used the command
Code:
adb devices
I've 2 device... My XT1033 and an AndroidEmulator...
C:\Fastboot>adb devices
List of devices attached
emulator-5554 offline
TA88305ZDH offline
Click to expand...
Click to collapse
Also, the command
Code:
adb shell rm /data/local/tmp/boomsh
adb shell rm /data/local/tmp/sh
is not working for me...
I've use the command:
Code:
adb kill-server
After, I've plug back my XT1033 via USB and launch the command:
Code:
adb usb
Only my XT1033 is now show when I use the
Code:
adb devices
!
So, I've finish my installation with
Code:
fastboot-moto-windows flash recovery recovery.testkeys.img
and I've run a sideload installation with:
Code:
adb-windows sideload supersu.motog.zip
Try this and share me your opinion!

Downgrading from Gingerbread to Glacier on Mac

Hey all.
Im trying to find a thread about downgrading back to Glacier from Gingerbread on a Mac computer. Can anybody point me in the right direction? They all seem to be for windows. Thank you!
Hello
Most of the steps you need to do is with adb in a shell.
Windows or Mac, it don't really matter. I downgraded my Panache (Glacier) on linux following the same guide.
The only step you may have to use Windows is if you want to create a goldcard using nelify soft : http://forum.xda-developers.com/showthread.php?t=970157
But you usually don't need this step for the MyTouch 4G and Goldcard creator should run in wine or using mono framework.
1- Read the guide 2-3 time
2- Come back here if you have any questions
3- Prepare all needed software (gfree, misc_version, etc) in an identified folder
4- Root it!
Regards
Thank you! Ill make sure to read it 4 times!
Here's what I did
Go to this link, and there will be a guide on how to downgrade from Gingerbread to Froyo. It worked for my Glacier and I was also using Mac. You have to learn how to use ADB, and I can post a guide on how to set it up and use it if you want me to
http://wiki.cyanogenmod.com/wiki/HTC_Glacier:_Full_Update_Guide
Still no luck
Ive tried and tried and for some reason it wont work. When I try to install the packages, it says that its not compatible with mac, same with the drivers. Any advice? (I apologize for the late response)
Thank you!
Which version of Android SDK are you installing?
I'm not familiar with Mac but you should have precompiled package like on Linux.
Sent from my HTC Panache / CM7 using xda premium.
hey there
I made sure to download the latest version after finding out i had the old version . The last three days i have spent reading up and down how to use the SDK and ADB. Ive installed all necessary packages through SDK. I followed the guide step by step and am getting stuck on running the commands in the terminal. Heres my issue.
When i type in this in the terminal :
adb push fre3vo /data/local/tmp
adb push misc_version /data/local/tmp
adb shell
chmod 777 /data/local/tmp/fre3vo
chmod 777 /data/local/tmp/misc_version
/data/local/tmp/fre3vo -debug -start FAA90000 -end FFFFFFFF
I get -bash: /data/local/tmp/fre3vo: No such file or directory.
I have fre3vo and the pd15img.zip and misc version in the platform-tools folder.
Maybe i am not understaning the terminal and how to use it to push files. (is there a different way to type the command for mac?)
I am sincerely sorry to be bothering yall with this, i am a complete noob when it comes to this.
Update***
After messing around in terminal and adb, this is what i am getting. Any ideas?
Last login: Wed Jan 11 17:29:25 on ttys000
jordan-browns-macbook:~ jordanbrownlute2$ /Users/jordanbrownlute2/Desktop/android-sdk-macosx/platform-tools/adb push fre3vo /data/local/tmp
* daemon not running. starting it now on port 5037 *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
jordan-browns-macbook:~ jordanbrownlute2$
Thank you guys for everything!
SAMPDX said:
Last login: Wed Jan 11 17:29:25 on ttys000
jordan-browns-macbook:~ jordanbrownlute2$ /Users/jordanbrownlute2/Desktop/android-sdk-macosx/platform-tools/adb push fre3vo /data/local/tmp
* daemon not running. starting it now on port 5037 *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
jordan-browns-macbook:~ jordanbrownlute2$
Click to expand...
Click to collapse
A process on your Mac seems to use the port 5037.
adb need it to start.
You can see which process is using this port in shell with the command :
Code:
netstat -a | grep 5037
Stop this process and try this command :
Code:
adb devices
Regards
I seem to be getting the hang of it now. Thank you guys for the help! Is it possible for the fre3vo to be corrupted? I have everything working perfect now except this. It says ”cannpt locate fre3vo”. I have it in the platform-tools folder, along with.misc_version. And pd15img.zip. Why cant it locate it?
Sent from my HTC Glacier using XDA App
Were you able to push misc_version?
Check the size of fre3vo and be sure you don't have an extension.
And it must be PD15IMG.zip (upper case)
Sent from my HTC Panache / CM7 using xda premium.
I am not able to push either. The file size of fre3vo is (8 kb on disk) as a zipped file, and when I try to push misc_version, it takes me to the adb command list. What gives?
I thank you for your time in helping me
Sent from my HTC Glacier using XDA App

[Q] Problems with adb

Hi all. I'm running my g2x on tonyp's Paranoid android Ics build (the last one) and I'm getting problems with adb. Everytime i use adb pull or push i get error device not found.
example
1|[email protected]:/ # adb pull /sdard/home
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
If I use reboot or top it works but pull or push doesn't work. I'm still new to adb so any and all help would be appreciated, also I'm using lubuntu 12.10 32 bit.

bootloop

In an effort to access more storage space for apps I used a text editor to change "dev_mount sdcard/mnt/sdcard" to "dev_mount sdcard /mnt/extsd" and "dev mount extsd /mnt/extsd" to "dev_mount extsd /mnt/sdcard" in system/ect.
which resulted in a bootloop. Attempts to use ADB give this result:
[email protected]:~$ sudo adb shell
[sudo] password for daryl:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
probably because usb debugging is not enabled.
this android is not CWM or TWRP compatible either.
Any suggestions or pointers to get out of this loop would be greatly appreciated.
TIA Daryl

Categories

Resources