[Q] Need help with mac adb - AT&T, Rogers HTC One X, Telstra One XL

I'm having trouble using adb on my mac. when i type ./adb it just says no such file or directory. Please help. I have tried a few guides to.
OS X 10.8.4

jeffcojake said:
I'm having trouble using adb on my mac. when i type ./adb it just says no such file or directory. Please help. I have tried a few guides to.
OS X 10.8.4
Click to expand...
Click to collapse
Are you in the right directory ? Do you have adb and fastboot for mac installed ?

Crappyvate said:
Are you in the right directory ? Do you have adb and fastboot for mac installed ?
Click to expand...
Click to collapse
Yes I am in the right directory and have fastboot installed.

Why ./? Can't just adb on Mac? Even linux is just adb no ./
Sent from my One X using xda app-developers app

exad said:
Why ./? Can't just adb on Mac? Even linux is just adb no ./
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
no, ./ is actually correct on the mac. do you have adb in that directory not just fasboot !
if you type ./adb devices what do you get ?

Crappyvate said:
no, ./ is actually correct on the mac. do you have adb in that directory not just fasboot !
if you type ./adb devices what do you get ?
Click to expand...
Click to collapse
Still says no such file or directory . Does ./make it look for a file or something?
Sent from my One X using xda premium

You have to cd (change directory) first. So open terminal than type cd.
Than if i remember right you keep tapping the space bar until you see the adb folder.Once there than run the adb commands.
Yep i'm pretty sure that's right because in Windows you tap the tab key
If i helped hit the thanks button!
Sent from my SPH-D710VMUB using XDA Premium HD app

jeffcojake said:
Still says no such file or directory . Does ./make it look for a file or something?
Sent from my One X using xda premium
Click to expand...
Click to collapse
Do you have adb in the directory you are in ??? I'm wiling to help but you need to answer this...
if you don't have adb installed it's pointless, 2 possibilities either you have adb installed but are not currently in the directory where it resides (you then need to navigate to the right directory using the cd command) or you don't and you need to install it and then go to that directory.
---------- Post added at 09:47 AM ---------- Previous post was at 09:44 AM ----------
worldwidehustling said:
You have to cd (change directory) first. So open terminal than type cd.
Than if i remember right you keep tapping the space bar until you see the adb folder.Once there than run the adb commands.
Yep i'm pretty sure that's right because in Windows you tap the tab key
If i helped hit the thanks button!
Sent from my SPH-D710VMUB using XDA Premium HD app
Click to expand...
Click to collapse
you use the tab button on mac too, but if he doesn't know where adb resides or it's not installed it's pointless...:::banghead:::

Crappyvate said:
Do you have adb in the directory you are in ??? I'm wiling to help but you need to answer this...
if you don't have adb installed it's pointless, 2 possibilities either you have adb installed but are not currently in the directory where it resides (you then need to navigate to the right directory using the cd command) or you don't and you need to install it and then go to that directory.
---------- Post added at 09:47 AM ---------- Previous post was at 09:44 AM ----------
you use the tab button on mac too, but if he doesn't know where adb resides or it's not installed it's pointless...:::banghead:::
Click to expand...
Click to collapse
No, you don't understand. I have went into the adb folder.. It just won't work.
Sent from my One X using xda premium

jeffcojake said:
No, you don't understand. I have went into the adb folder.. It just won't work.
Sent from my One X using xda premium
Click to expand...
Click to collapse
I don't know if you have seen this, it may help answer some questions.
http://forum.xda-developers.com/showthread.php?t=1917237
Sent from my HTC One X using Tapatalk 2

ronnie498 said:
I don't know if you have seen this, it may help answer some questions.
http://forum.xda-developers.com/showthread.php?t=1917237
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Thanks, I will try it when I get back home
Sent from my One X using xda premium

jeffcojake said:
No, you don't understand. I have went into the adb folder.. It just won't work.
Sent from my One X using xda premium
Click to expand...
Click to collapse
that's just not possible with the error message you get...you either not in the right directory or it's not installed.
Go to the directory where you think adb is and type ls and post the results.
Are you sure your USB debugging is on

Crappyvate said:
that's just not possible with the error message you get...you either not in the right directory or it's not installed.
Go to the directory where you think adb is and type ls and post the results.
Are you sure your USB debugging is on
Click to expand...
Click to collapse
Adb_mac. Adb is on. And trust me, I know how to use Adb. It is in the right directory. Even if the phone is unplugged Adb should still be able to work
Sent from my HTC One XL using xda premium

He is right though. That error message can only mean it's not in the directory or you typed the name wrong. Are you sure there's not something simple you're overlooking? Sometimes we geeks over think things. I'm not a mac user but that error message is pretty clear.
Sent from my One X using xda app-developers app

exad said:
He is right though. That error message can only mean it's not in the directory or you typed the name wrong. Are you sure there's not something simple you're overlooking? Sometimes we geeks over think things. I'm not a mac user but that error message is pretty clear.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
I can post a pic of the folder. It has adb
Sent from my HTC One XL using xda premium

Well, ladies and gentlemen: here is the answer.... If you rename a file from adb to adb_mac then in order to execute/run it you need to type ./adb_mac voilà....
mystery solved....
"know how to use adb" but not how to read a file name in a directory ::banghead::
Sent from my HTC One X using xda app-developers app

Crappyvate said:
Well, ladies and gentlemen: here is the answer.... If you rename a file from adb to adb_mac then in order to execute/run it you need to type ./adb_mac voilà....
mystery solved....
"know how to use adb" but not how to read a file name in a directory ::banghead::
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
The file in the folder is just adb though.... Not adb_mac
Sent from my HTC One XL using xda premium

jeffcojake said:
The file in the folder is just adb though.... Not adb_mac
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
As Redpoint said if you want help you need to try to follow instructions. you posted adb_mac after i asked you to perform an "ls"in your directory so that made sense as far as getting a "no such file or directory" error if you execute by doing ./adb. Either it's not there, it's corrupted,there is typo or wrong directory, that's the only time you will get this error maybe you just want to try re-installing adb in your directory of choice.
go to directory where adb reside type "ls" and post a screenshot

Related

HTC sensation qhd keyboard

Can someone please paste the keyboard apk.
Thanks!
Sent from my MB860 using XDA App
Have fun with the keyboard
http://www.sendspace.com/file/zzrj7q
Thanks.!!
Now how do I install it? I extracted the zip but it says there is aaproblem parsing the file (I am trying to install on an Atrix)
Sent from my MB860 using XDA App
ekerbuddyeker said:
Thanks.!!
Now how do I install it? I extracted the zip but it says there is aaproblem parsing the file (I am trying to install on an Atrix)
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
you are the person who wanted the app, i just extracted it, try anywhere else on the forum cause i dont have a phone to test it
Oh my god ! I've an Atrix too and I want Sense Keyboard !! Where can I find someone to help me parsing this app ??
To install it you need root and knowledge of adb. Then use these commands
Code:
adb remount
adb push qhdkeyboard.apk /system/app
adb shell
su
chmod 644 /system/app/qhdkeyboard.apk
Then reboot
Flippy125 said:
To install it you need root and knowledge of adb. Then use these commands
Code:
adb remount
adb push qhdkeyboard.apk /system/app
adb shell
su
chmod 644 /system/app/qhdkeyboard.apk
Then reboot
Click to expand...
Click to collapse
is there another method to install that ? I don't know how to use ADB.. But i'm rooted
belig1234 said:
is there another method to install that ? I don't know how to use ADB.. But i'm rooted
Click to expand...
Click to collapse
If you have Root Explorer you can copy it to /system/app after mounting R/W and the long press and change permissions to RW-R--R-- and reboot
is it possible for the atrix users to somehow extract the skype skin they have ....was playing arouind with one today and much prefer the white and black skin they have to the blue one...
with gimpsta you can make your own Sense's skin keyboard then you just have to install an apk
search gimpsta on google
Flippy125 said:
If you have Root Explorer you can copy it to /system/app after mounting R/W and the long press and change permissions to RW-R--R-- and reboot
Click to expand...
Click to collapse
i tried this. but no keyboard appears either in system / keyboards or as a choice when editing
anyone else have an idea?
ekerbuddyeker said:
i tried this. but no keyboard appears either in system / keyboards or as a choice when editing
anyone else have an idea?
Click to expand...
Click to collapse
Tried the same thing, i have the Atrix. so it should work cause same resolution.. this needs to get ported
Flippy125 said:
To install it you need root and knowledge of adb. Then use these commands
Code:
adb remount
adb push qhdkeyboard.apk /system/app
adb shell
su
chmod 644 /system/app/qhdkeyboard.apk
Then reboot
Click to expand...
Click to collapse
This zip doesn't have a apk file in it... It has 2 .odex files... Do i place the 2 files in system/app or the folder, or the zip?
Sent from my ADR6300 using XDA App
Would like to know as well.
So... Has anyone ported this and/ or got this to work on gingerbread dinc?
Sent from my ADR6300 using XDA App
Installing the apk on your devices its not gonna work the apks are tied to framework which you don't have on atrix
Sent from my HTC Sensation 4G using Tapatalk
We know it won't work... That's why we've been trying to get some one to deodex it and port it... Personally I need it for dinc not atrix.....
yozpalang said:
Installing the apk on your devices its not gonna work the apks are tied to framework which you don't have on atrix
Sent from my HTC Sensation 4G using Tapatalk
Click to expand...
Click to collapse
Sent from my ADR6300 using XDA App

How to flash a radio through adb on the sensation?

I found this rootzwiki.com/topic/2603-radio-htc-sensation-radios-pg58imgzip-update-24-nov-2011/ and one of the steps it says to drag a zip a the adb folder. Is that same adb folder I made when I was getting super CID?
If not, how do I setup it up or how do you flash a radio through adb?
Sent from my HTC Sensation 4G using xda premium
pranker98 said:
I found this rootzwiki.com/topic/2603-radio-htc-sensation-radios-pg58imgzip-update-24-nov-2011/ and one of the steps it says to drag a zip a the adb folder. Is that same adb folder I made when I was getting super CID?
If not, how do I setup it up or how do you flash a radio through adb?
Sent from my HTC Sensation 4G using xda premium
Click to expand...
Click to collapse
OK,
Please refer to:
http://forum.xda-developers.com/showthread.php?t=1178143
[EDIT] I also meant to add that you shouldn't refer to an external page then ask here how to do something that XDA folks have had no visibility of.
There are basically two methods, one is to copy the PG59IMG.zip file to the root of the SDcard. You can do this either by an "adb push" OR mount the SDcard on your PC and then copy it over with Windows Explorer.
The second method is to flash the .IMG directly.
The files for either method don't need to be in the adb directory, just helps on the typing though. Where adb is depends on where you installed it, in my case on this laptop it's: "C:\android-sdk>".
I did did some digging and found the exact same post here on xda. Sorry for the confusion.
Sent from my HTC Sensation 4G using xda premium

q any devs want to borrow xyboard to port cwr

any devs interestied in porting a bootstrap/safestrap or clockwork for the xyboard 8.2? i have two willing to lend one to a reputable developer to port a custom recvoery
pm me for details
Koush does this, send him your xyboard
Look on his website he has instructions and everything
Sent from my ADR6425LVW using Tapatalk
superchilpil said:
Koush does this, send him your xyboard
Look on his website he has instructions and everything
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
I know, and ive reached out to him twice for two different devices and never heard back from him, so while i wait i figured id ask around
Sent from my MZ609 using Tapatalk
Ahh why not. Check my profile and email me.
bigrushdog said:
Ahh why not. Check my profile and email me.
Click to expand...
Click to collapse
Email sent.
Thanks rushdog
Sent from my Galaxy Nexus using Tapatalk
If you ever need a xoom 2 for a test just PM me. I would do anything to get developing going on the Xyboard/Xoom 2!
luke.arran said:
If you ever need a xoom 2 for a test just PM me. I would do anything to get developing going on the Xyboard/Xoom 2!
Click to expand...
Click to collapse
Here's instructions If u r using tapatalk open in browser and it will make more sense, in the app everything looks confusing
if your partitions are not the same as below change the mmcblk1pXX to your correct block ( to find your block partitions in adb shell or terminal on device
Code:
su
cat /proc/partitions
now enter theses commands in adb shell or terminal
Code:
dd if=/dev/block/mmcblk1p11 of=/sdcard/boot.img
dd if=/dev/block/mmcblk1p12 of=/sdcard/recovery.img
dd if=/dev/block/mmcblk1p17 of=/sdcard/system.img
once the img has been created do these
Code:
adb pull /sdcard/boot.img C:\
adb pull /sdcard/recovery.img C:\
adb pull /sdcard/system.img C:\
Then upload files
runandhide05 said:
Here's instructions If u r using tapatalk open in browser and it will make more sense, in the app everything looks confusing
if your partitions are not the same as below change the mmcblk1pXX to your correct block ( to find your block partitions in adb shell or terminal on device "su" enter "cat /proc/partitions" enter
now enter theses commands in adb shell or terminal
dd if=/dev/block/mmcblk1p11 of=/sdcard/boot.img dd if=/dev/block/mmcblk1p12 of=/sdcard/recovery.img dd if=/dev/block/mmcblk1p17 of=/sdcard/system.img
once the img has been created do these
adb pull /sdcard/boot.img C:\adb pull /sdcard/recovery.img C:\adb pull /sdcard/system.img C:\
Then upload files
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Sure I will do it and get back to you soon.
luke.arran said:
Sure I will do it and get back to you soon.
Click to expand...
Click to collapse
cleaned up the code, (sorry copy and paste fail!) cleaner now
and also please be sure to label with device name (ie ZM609)
and again if u hear of anyone bricking their tab tell them to contact me
Sorry for the delay. Got the files but I'm not at my computer so going to leave my xoom on over night uploading the files then I will share the link in the morning.
Sent from my HTC ChaCha A810e using XDA
luke.arran said:
Sorry for the delay. Got the files but I'm not at my computer so going to leave my xoom on over night uploading the files then I will share the link in the morning.
Sent from my HTC ChaCha A810e using XDA
Click to expand...
Click to collapse
Ok sounds good yhe only thung i ask if that if u are uploading via 3g that u verify the md5 after word to ensure they r not corrupted
An u can verify with android app
Also it will be a lot quicker if u zip the three files before uploading ( before zip all three files r almost 800mg and after zip only 300ish )
Sent from my MZ609 using Tapatalk
runandhide05 said:
Ok sounds good yhe only thung i ask if that if u are uploading via 3g that u verify the md5 after word to ensure they r not corrupted
An u can verify with android app
Also it will be a lot quicker if u zip the three files before uploading ( before zip all three files r almost 800mg and after zip only 300ish )
Sent from my MZ609 using Tapatalk
Click to expand...
Click to collapse
No I'm still doing it over WiFi but if you want me to do MD5 then I will.
Sent from my HTC ChaCha A810e using XDA
luke.arran said:
No I'm still doing it over WiFi but if you want me to do MD5 then I will.
Sent from my HTC ChaCha A810e using XDA
Click to expand...
Click to collapse
Nah u it should be good
Sent from my MZ609 using Tapatalk
DO NOT FLASH THE SYSTEM.IMG!!!
It will fail even the stock img, even tho the recovery and boot img will flash
Here you go. Model number and so on are inside the zip file. - http://db.tt/UGdD2NRD
Sent from my XOOM 2 using XDA
luke.arran said:
Here you go. Model number and so on are inside the zip file. - http://db.tt/UGdD2NRD
Sent from my XOOM 2 using XDA
Click to expand...
Click to collapse
Thanks buddy
Edit : I think it may be corrupted, I downloaded twice now, u may want to download it and check the sum of before and after
Sent from my Galaxy Nexus using Tapatalk
Oh right, I will upload it again.
Sent from my HTC ChaCha A810e using XDA
We have a cwm recovery img built, an update.zip built, cant get the boot hijacked with bootstrap, if anyone wants to contribute we could use a little help
Recovery img
To access this file, visit the following link: https://www.box.com/shared/9ed327c7b23a6b35d903
Update.zip
To access this file, visit the following link : https://www.box.com/shared/2aa143e144dbc95f89e0
Sent from my MZ609 using Tapatalk
runandhide05 said:
We have a cwm recovery img built, an update.zip built, cant get the boot hijacked with bootstrap, if anyone wants to contribute we could use a little help
Recovery img
To access this file, visit the following link: https://www.box.com/shared/9ed327c7b23a6b35d903
Update.zip
To access this file, visit the following link : https://www.box.com/shared/2aa143e144dbc95f89e0
Sent from my MZ609 using Tapatalk
Click to expand...
Click to collapse
Why don't you contact bootstrap developers which have had previous success with Motorola's devices in the past?
luke.arran said:
Why don't you contact bootstrap developers which have had previous success with Motorola's devices in the past?
Click to expand...
Click to collapse
Believe me I have, I contacted him(hashcode aka koush) and he does not have the time, I've also reached out to others and I will not "bug" them if they do not respond or do and say they don't have the time then that's really that
So that is why I posted it here.
Also we (myself a another guy) have made progress but at a wall right now,
And of my two tabs one I have already killed..lol (until fastboot files r released) so ya...u know
Sent from my Galaxy Nexus using Tapatalk

Helped brick nexus 5 can't connect to computer

So I did a full wipe on my nexus 5 thru recovery. And I tried connecting to the computer through recovery mount but the drivers won't install. And fast boot says error need help!!!!! Tried everything nothing is working
Sent from my SGH-T999 using Tapatalk
I had the same issue.. Had to send it back to google for a replacement.. Lots of such complaints..
Sent from my Nexus 5 using Tapatalk
fomotomo said:
So I did a full wipe on my nexus 5 thru recovery. And I tried connecting to the computer through recovery mount but the drivers won't install. And fast boot says error need help!!!!! Tried everything nothing is working
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
What error did you get in fastboot?
Sent from my SAMSUNG-SGH-I727
IMG not found gonna reconnect to the computer again in like 30 mins I'll give u the exact codes
Sent from my SGH-T999 using Tapatalk
fomotomo said:
IMG not found gonna reconnect to the computer again in like 30 mins I'll give u the exact codes
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Sounds like you don't have the path to the image file correct. Open a cmd prompt in the same directory as the image file is in
Edit, have the image file in the same directory as fastboot.exe and open the command prompt there
Sent from my SAMSUNG-SGH-I727
jd1639 said:
Sounds like you don't have the path to the image file correct. Open a cmd prompt in the same directory as the image file is in
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
Its all on my desktop gonna give it a go will let u kno the error prompts
Sent from my SGH-T999 using Tapatalk
jd1639 said:
Sounds like you don't have the path to the image file correct. Open a cmd prompt in the same directory as the image file is in
Edit, have the image file in the same directory as fastboot.exe and open the command prompt there
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
Says ('fastboot' is not recognized as an internal or external command, operable program or batch file)
Sent from my SGH-T999 using Tapatalk
fomotomo said:
Says ('fastboot' is not recognized as an internal or external command, operable program or batch file)
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Open the cmd promt in the same folder as fastboot.exe is in. Shift, right mouse click on it and open the cmd prompt
Sent from my SAMSUNG-SGH-I727
jd1639 said:
Open the cmd promt in the same folder as fastboot.exe is in. Shift, right mouse click on it and open the cmd prompt
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
What commands do I use none are working?
Sent from my SGH-T999 using Tapatalk
fomotomo said:
What commands do I use none are working?
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Have you set up Sdk?
Edit, are the first step in here
http://forum.xda-developers.com/showthread.php?p=47025283
Sent from my SAMSUNG-SGH-I727
I got it to work its writing the system
Sent from my SGH-T999 using Tapatalk
fomotomo said:
I got it to work its writing the system
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Good
Sent from my SAMSUNG-SGH-I727
jd1639 said:
Good
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
Yup thanks bro [emoji106]
Sent from my SGH-T999 using Tapatalk
jd1639 said:
Good
Sent from my SAMSUNG-SGH-I727
Click to expand...
Click to collapse
I've hit my 8 thanks already for the day,Thanks for helping out!I've been stuck like that before..sucks.lol but you now know how to fix it!

weird adb sideload problem

Hi guys
After a few weeks on f2fs i decided to revert back y filesystem to ext4. Everything goes well except sideloading new rom to my device ( as its completely wiped ) Everything is now formated to ext4. Then the problem starts..
When I'm trying to sideload the rom i get error 'cannot read' even though I've put rom in my adb folder and my device is connected in sideload mode.
If someone could help me via team viewer ( free software allowing you to use my PC from yours PC ) it would be super great.
Thanks
When you type adb devices is your phone recognized?
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
When you type adb devices is your phone recognized?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
yes
screenshot of my ADB folder and command window
toster jp said:
screenshot of my ADB folder and command window
Click to expand...
Click to collapse
Must give the path to your ROM zip. Your cmd prompt runs from c: \users\koppa but the ROM is not there.
You can't put the ROM in the adb folder. That only works if. You haven't added adb to your environment variable path and you have cd to that location
To get this to work either put the ROM in c: \users\koppa or cd to your adb folder or give the full path in the command
Sent from my Nexus 5 using Tapatalk
trying now
thanks
del.
No, sorry. If you want my help,, you'll have to keep replying in this thread
Sent from my Nexus 5 using Tapatalk
toster jp said:
could you pm me on hangouts? my email is : [email protected]
thanks
Click to expand...
Click to collapse
I don't think rootSU or I are going to pm you. The answers here can help others and it's best to keep them here. Did you put the rom.zip in the folder rootSU suggested?
okay
I just thought that you could help with this via TeamViewer so i could learn how to and you know, not spend another hour or two doing super basic things.
+yes
What directory is your ROM.zip?
Sent from my Nexus 5 using Tapatalk
I'm trying to flash stock 4.4.3
Its placed in a few places... C:/users/kopa/adb C:/users/kopa/desktop C:/users/kopa
toster jp said:
okay
I just thought that you could help with this via TeamViewer so i could learn how to and you know, not spend another hour or two doing super basic things.
+yes
Click to expand...
Click to collapse
A neat little trick with Windows and cmd is to back out of the folder you are in. So, if the path was C:\Users\toster jp\adb, back out to the C:\Users\toster jp folder. Hold shift and right click the adb folder. Select Open command window here. Then, cmd automatically cd to the proper directory. Then your adb sideload rom.zip will work.
toster jp said:
I tried to put my rom everywhere... And still same thing. 'cannot read'
Click to expand...
Click to collapse
Be explicit please
Also don't forget you must enable sideload in recovery
Sent from my Nexus 5 using Tapatalk
Aerowinder said:
A neat little trick with Windows and cmd is to back out of the folder you are in. So, if the path was C:\Users\toster jp\adb, back out to the C:\Users\toster jp folder. Hold shift and right click the adb folder. Select Open command window here. Then, cmd automatically cd to the proper directory. Then your adb sideload rom.zip will work.
Click to expand...
Click to collapse
SOLVED
huge thanks guys
I'm super happy because of that! And finaly I feel like I know how to use adb
THANKS!
toster jp said:
SOLVED
huge thanks guys
I'm super happy because of that! And finaly I feel like I know how to use adb
THANKS!
Click to expand...
Click to collapse
Glad you got it worked out
Sent from my Nexus 5 using XDA Free mobile app

Categories

Resources