Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fermunky
Old
#11  
fermunky's Avatar
Senior Member
Thanks Meter 58
Posts: 1,140
Join Date: Jun 2007
Location: Tampa, FL
Quote:
Originally Posted by android007 View Post
My problem may be that I'm using a Mac, but I cannot get my Terminal to recognize the "loop" command. I've tried many things and it won't work properly just keeps giving me errors. I'm gonna keep trying though.
Loop is just a batch file (.bat). I don't know about Macs using batch files. All it's doing is looping the "adb devices" command to see if it detects the device.
Current:
Phone: T-Mobile Samsung Galaxy S3 (SGH-T999)
ROM: Official stock JB from T-Mobile
Recovery: Stock

Tablet: Acer Iconia A500
ROM: CM10 Jelly Bean 4.1 by waydownsouth
Recovery: Thor's 1.7 Touch Recovery of CWM

If I do not Thank your thread, it's because of the XDA Classic forum theme, sorry...
 
eugene373
Old
#12  
eugene373's Avatar
Recognized Developer - OP
Thanks Meter 7265
Posts: 5,623
Join Date: Aug 2009

 
DONATE TO ME
Quote:
Originally Posted by fermunky View Post
Having trouble at step 5. ADB works when the phone is powered on. However, when in Recovery, adb devices list is blank.

Other problems: is Step 8 really a step? It says to select Update.zip... is this just anecdotal, as in "Now we will select an update.zip"...?

And how are you "selecting" things in Recovery? My recovery simply has the phone with a triangle...
You have to Repeat then... It Don't always work everytime!! That's why I said Repeat.. You have to Power Off, run loop & if you see now Devices then you have to Repeat again!!

You Must boot into bootloader First!! Run Loop, Then to Recovery!
Image Hosting Provided by http://i.imgur.com
TMO SGS2 & Nexus S
Eugene373's github
T-Mobile US

Follow me on Twitter.
http://twitter.com/#!/Eugene373

Like my Work, Buy Me a RedBull by clicking on my Can


Just Remember, Only you can Stop XDA Forest Fires!
 
riles22
Old
#13  
Member
Thanks Meter 0
Posts: 40
Join Date: Aug 2009
Location: Minneapolis
my computer doesn't find the device in recovery mode. Any advice on getting around this? adb works when phone is on.
 
fermunky
Old
(Last edited by fermunky; 15th June 2010 at 06:33 PM.)
#14  
fermunky's Avatar
Senior Member
Thanks Meter 58
Posts: 1,140
Join Date: Jun 2007
Location: Tampa, FL
Quote:
Originally Posted by eugene373 View Post
You have to Repeat then... It Don't always work everytime!! That's why I said Repeat.. You have to Power Off, run loop & if you see now Devices then you have to Repeat again!!
Wow, cant believe I missed that order. May need to update the how to though... it says to run loop, then go to bootloader, then to recovery. You need to add a step after getting into bootloader of "Wait for device to be listed, then goto recovery"... or similar.
Current:
Phone: T-Mobile Samsung Galaxy S3 (SGH-T999)
ROM: Official stock JB from T-Mobile
Recovery: Stock

Tablet: Acer Iconia A500
ROM: CM10 Jelly Bean 4.1 by waydownsouth
Recovery: Thor's 1.7 Touch Recovery of CWM

If I do not Thank your thread, it's because of the XDA Classic forum theme, sorry...
 
android007
Old
#15  
Member
Thanks Meter 1
Posts: 59
Join Date: Feb 2010
My error when trying to invoke the loop file:

Quote:
: command not founde 1: :TOP
sdk/tools/loop: line 2: adb: command not found
sdk/tools/loop: line 3: GOTO: command not found
 
SE7EN-
Old
#16  
SE7EN-'s Avatar
Senior Member
Thanks Meter 2
Posts: 127
Join Date: Jun 2010
Location: VA
Sweeeet! Awesome job guys.
 
marvinp
Old
#17  
Senior Member
Thanks Meter 20
Posts: 122
Join Date: Nov 2008
Location: Pensacola, FL
On Mac replace the loop.bat with loop.sh and change the contents of the file to the following:

#!/bin/bash
while [ 1 ]
do
adb devices
done

On the command line, run "chmod 755 loop.sh" to give it execute permission. To run the file type "./loop.sh"
 
lt1pnyklr
Old
#18  
Senior Member
Thanks Meter 8
Posts: 238
Join Date: Aug 2009
Location: Greenville, SC
Are there any roms for it yet?
HTC Sensation
Whatever rom works...
 
fermunky
Old
(Last edited by fermunky; 15th June 2010 at 06:36 PM.)
#19  
fermunky's Avatar
Senior Member
Thanks Meter 58
Posts: 1,140
Join Date: Jun 2007
Location: Tampa, FL
Quote:
Originally Posted by android007 View Post
My error when trying to invoke the loop file:
You have not added the tools directory to your PATH system variable. Explained on the SDK page. Also, you don't need to be in the /tools folder, just go to the folder you extracted the files to.

Eugene, I noticed while the loop was running, I chose recovery, and on one instance, I saw an offline device, but then subsequent loop commands, it stopped listing them. Also, it is still not clear what to do on Step 8. Most of us only see an image in recovery, no menus.

With no menus, anyone know how to reboot the phone in recovery other than removing the battery?
Current:
Phone: T-Mobile Samsung Galaxy S3 (SGH-T999)
ROM: Official stock JB from T-Mobile
Recovery: Stock

Tablet: Acer Iconia A500
ROM: CM10 Jelly Bean 4.1 by waydownsouth
Recovery: Thor's 1.7 Touch Recovery of CWM

If I do not Thank your thread, it's because of the XDA Classic forum theme, sorry...
 
tmobilewinguser
Old
#20  
Senior Member
Thanks Meter 11
Posts: 424
Join Date: Jul 2007
Quote:
Originally Posted by marvinp View Post
On Mac replace the loop.bat with loop.sh and change the contents of the file to the following:

#!/bin/bash
while [ 1 ]
do
adb devices
done

On the command line, run "chmod 755 loop.sh" to give it execute permission. To run the file type "./loop.sh"
you think you can do quick little rewrite of the tutorial for us mac users
New Device
Phone: Samsung Galaxy S3 (SGH-T999)
Rooted: Using Mskip's SAMSUNG GALAXY S3 QCOM TOOLKIT V1.0
Rom: Stock T-Mobile Official T999UVDLJA
Baseband: UVDLJA
Recovery: TWRP
Tablet: Nook Color
Rom: Latest CM7 Nightly

Old Device
MyTouch 4G (Retired)
White MyTouch 3G (Retired)
T-Mobile G1 (Retired)
Black MyTouch 3G Slide (Retired)

"I reject your reality and substitute my own"
Adam Savage, Mythbusters.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more