How can i root/flash my HTC One M8 - One (M8) Q&A, Help & Troubleshooting

Hi,
First, i have to apologize for my english writing. Its not good.
Can someone help me with my HTC One M8? I bought it from eBay, so its originally from China or US or something. I sucessfully installed an WOLLA ROM and BLISS ROM / Some kind a (fake) !? Couldent start Google Play and stuff like that... So i have contacted HTCDev, and downloaded a One M8 Google Play edition WWE Kernel, but have trouble to install it. Its originally a ZIP file i downloaded, and when i Extract the file, the kernel30.tar and platform.tar files appers..
Can someone help me to fix this?

First thing to do .. get to know your M8
Run command fastboot getvar all
and post here the result (delete imei & serial no.)
then we'll know what device that you really have.

I just got "fastboot is not recognized as an internal or external command, operable program or batch file"

Joachim92 said:
I just got "fastboot is not recognized as an internal or external command, operable program or batch file"
Click to expand...
Click to collapse
If you can't manage this, I don't know how you're going to go further with rooting and fixing when something goes wrong .....
Read this : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4

ckpv5 said:
If you can't manage this, I don't know how you're going to go further with rooting and fixing when something goes wrong .....
Read this : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
Click to expand...
Click to collapse
ADB and Fastboot is installed, but when i enter CMD and pressing "fastboot getvar all" its just coming up: "Waiting for device"

When i downloaded the One M8 Google Play edition WWE Kernel and Extracted the ZIP file a txt document appers.. I'll copy - past the text her, and someone maybe can help me?
" defconfig file: m8_defconfig (arm-eabi-4.7)
Download:
=========
If you are not already using an AOSP toolchain (included in an AOSP build tree), download the corresponding official android toolchain for the arm-eabi specified above for this device:
git clone https://android.googlesource.com/platform/prebuilt for 4.4.3
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6 for 4.6
git clone https://android.googlesource.com/platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7 for 4.7
(use darwin-x86 in place of linux-x86 for mac)
Build the kernel:
=================
set the following environment variables:
export TOP= [where you installed the toolchain or top of android AOSP code base]
export PATH=$TOP/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin:$PATH (use corresponding arm-eabi bin path)
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=arm-eabi-
make [the defconfig file for this device above]
make clean (for subsequent builds)
make -j4 (in this example 4 is the number of processors of your build machine)
Output Binary Files:
====================
After the build process is finished, there should be a file named "zImage" found in arch/arm/boot/
If you are building a rom with this kernel ZImage, copy it into your build's output folder and rename it to "kernel".
You will also need the following kernel modules. These will eventually be installed into /system/lib/modules on the device.
kernel modules:
./driver/*.ko
If you have already built and installed a boot.img with root access you can also install the modules directly into the device using "adb remount" and "apb push [file] system/lib/modules/" for each file listed above. After installing files set permissions with "adb shell chmod 0644 system/lib/modules/*" and "adb reboot"
For additional information:
===========================
http://htcdev.com "

Joachim92 said:
ADB and Fastboot is installed, but when i enter CMD and pressing "fastboot getvar all" its just coming up: "Waiting for device"
Click to expand...
Click to collapse
What do you think? Do you have some idea about the txt i wrote? And if not, do you know how i can install the Google Play on my AICP Android 6.0.1 ?
Cause the App isen't there..

Related

Properly rooted?

I was trying to do the radio s off with visionary and something went wrong.
I downloaded visionary+ onto my Telus HTC Desire HD no problem, I had rooted it earlier and beleived that to be done correctly. I was getting ready to flash my radio and was going through the steps to do so when my problems began.
Now, all that happens is VISIONary+ keeps on rebooting. I have tried pulling the battery, I have tried to change my settings (re: usb debugging) but nothing seems to help.....all it does is continously shut back off and try to reboot.
Any help would be greatly appreciated.
Update: This issue has been resolved. I am now trying to figure out if my phone is properly rooted...go to page 2 in thread please
What is your build number in settings>about>software information? Anything higher (and including) than 1.7 will cause Visionary to fail. Then you have to downgrade first.
OK, that is my first mistake, my Build # is 1.84.61.2.
I will attempt the downgrade and report back here
I am at the downgrade prompt. When I put in the command "adb push psneuter /data/local/tmp" I get a message saying "'adb' is not recognized as an internal or external command, operable program or batch file"
What did I do wrong?
bleagues said:
I am at the downgrade prompt. When I put in the command "adb push psneuter /data/local/tmp" I get a message saying "'adb' is not recognized as an internal or external command, operable program or batch file"
What did I do wrong?
Click to expand...
Click to collapse
download android sdk first
http://developer.android.com/sdk/index.html
put your command to the folder .. for example if u extract to desktop with folder android, then go to command prompt, point to the folder first
e.g: "cd desktop" "cd android"
p/s: put the file inside the folder too
Thanks Hayday, this dosen't seem to help though.
I have the Android SDK in my C: drive and I have placed the "downgrade" folder inside of it. And I still get the same error of "adb' is not recognized as an internal or external command, operable program or batch file" when I type the "adb push psneuter /data/local/tmp"
Any other suggestions?
I believe it still may be a driver problem. I keep getting a message from HTC Sync that says "HTC sync port of ### is not responding. Please disconnect cable and reconnect after 10 seconds"
Can I use the program terminal emulator to do this directly on the phone?
does the folder have adb.exe in it ?
if you place the android sdk folder in c for example the folder name is "android" , you just go to cmd .. then type "cd c:/android/"
and then type "adb" ..
you must use the command inside c:/android .. not c:/android/Downgrade
to be safe, just copy everything in "Downgrade" folder and paste to android sdk folder too ..
btw, here is the full thread by jkoljo himself on how to downgrade.
http://forum.xda-developers.com/showthread.php?t=905003&highlight=downgrade
I have done exactly as you say, I have the "downgrade" folder inside of the "AndroidSDK" folder....and still get the exact same message of "'adb' is not recognized....."
I cannot post a question in that other thread because I have fewer than 10 posts. I will as soon as I get up to 10.
Download & install htc sync, this should include all the drivers you need.
I think you need net framework 3.xx installed as well.
Then in cmd, go to where you put the downgrade file (cd blah blah) - http://forum.xda-developers.com/attachment.php?attachmentid=483902&d=1294492245 - & then the command lines should work.
arlrb said:
Download & install htc sync, this should include all the drivers you need.
I think you need net framework 3.xx installed as well.
Then in cmd, go to where you put the downgrade file (cd blah blah) - http://forum.xda-developers.com/attachment.php?attachmentid=483902&d=1294492245 - & then the command lines should work.
Click to expand...
Click to collapse
oh forgot to mention. download and install htc sync for the driver.
http://www.htc.com/www/supportdownloadlist.aspx?p_id=324&act=sd&cat=all
bleagues said:
I have done exactly as you say, I have the "downgrade" folder inside of the "AndroidSDK" folder....and still get the exact same message of "'adb' is not recognized....."
Click to expand...
Click to collapse
adb.exe is found in platform-tools folder in the android-sdk folder.
Add it to your path. Eg: PATH=c:\android-sdk\platform-tools;%PATH%
Thanks arjunr, after a little bit of tinkering with some files and folders I got it!
Thanks!
Now that I have the proper build #, I want to make sure my phone is properly rooted......or do I have to re-root it?
Is there any way to check and see if my phone is properly rooted?
I had rooted it before I did the build downgrade, does this make a difference?
My phone out of the box was a HTC Desire HD by Telus. The rooting that I followed was the http://forum.xda-developers.com/showthread.php?t=954997"which is the "[GUIDE] Telus Desire HD - Rooting and Flashing" found here on this website
I am good to go, I am rooted and downgraded!
bleagues said:
I am good to go, I am rooted and downgraded!
Click to expand...
Click to collapse
yeah now you can proceed with s-off, and flash new roms if you like.
Heydayat, I seem to be having some issues with anything internet related. I have started another post at http://forum.xda-developers.com/showthread.php?t=1012754 can you take a look at this and see if you can help me?
Thanks
Update: I have fixed the issue at the other thread, it was my APN settings.
Thanks to all for the help

[Q] Md5sum within ADB

Could someone please tell me how to install a md5sum tool in adb?
When I am in adb and run the md5sum command my Windows 7 pc does not know the command. I tried downloading some md5sum utilities but they all seem to be .exe files that do not integrate with adb. I have seen that one can download a md5sum app onto the phone but I want to be able to verify files from adb before flashing with fastboot (I skipped checking the md5sum of the eng.hboot file before flashing because I couldnt get a md5sum and was lucky to get away with a clean flash but I would not want to try my luck again!)
Thanks in advance for any help.
tangiers said:
Could someone please tell me how to install a md5sum tool in adb?
When I am in adb and run the md5sum command my Windows 7 pc does not know the command. I tried downloading some md5sum utilities but they all seem to be .exe files that do not integrate with adb. I have seen that one can download a md5sum app onto the phone but I want to be able to verify files from adb before flashing with fastboot (I skipped checking the md5sum of the eng.hboot file before flashing because I couldnt get a md5sum and was lucky to get away with a clean flash but I would not want to try my luck again!)
Thanks in advance for any help.
Click to expand...
Click to collapse
Hi !
You are a little imprecise.
When you say "when i am in adb" do you mean that you are in an adb shell?
If yes:
In the adb shell (where you are actually executing the commands on the phone, which is a linux computer) you can use busybox (that you installed as part of the rooting process) to generate md5sums, i.e.:
Code:
/system/xbin/busybox md5sum /sdcard/part7backup-1294588652.bin
busybox is kind of the swiss knife of a unix tool. Run /system/xbin/busybox without an additional command to get a list of all the commands that busybox provides.
Have fun - Guhl
Thanks for that!
I just managed to work out that if I add the MD5SUM.exe to my SDK platform-tools folder (which I have added a path to when installing adb) I can also use it to check files on the pc (although I am having some difficulty when looking at files in other directories - it keeps reporting that no file or directory exists if I test a random file but it seems to work when I check the hboot-eng.img file, no matter which directory I put it in).
This will enable me to check the MD5sum on files on the phone side.
Thanks for responding so quickly.

[Q] Mac equivalent to flashtool?

Is there a Mac equivalent to FlashTool?
I also have the same question.
Hi there mmzubair!
In the end the best solution I found was just to install windows XP with bootcamp! Or if your Macs newer than mine (using a 4 year old Mac Mini) you could install XP using parallels so you don't have to rebooting every time you want to flash your phone!
Sent from my R800i using Tapatalk 2
I'm wondering if you can install and run flashtool with Wine?
Sent from my R800x using Tapatalk 2
beez1717 said:
I'm wondering if you can install and run flashtool with Wine?
Sent from my R800x using Tapatalk 2
Click to expand...
Click to collapse
I believe you can't because wine can't install driver software.
flashtool linux
the flashtool site explains a method of installing it on linux based systems, but it all sounds gibberish to me (because im a noob) and i cannot understand it, has anybody done this? please explain in pure english if possible. thank you.
Flashtool on Mac instructions
!! UPDATE, ALL
There is a flashtool for mac on androxyde's github.
Basically...
You need (in this order):
1/ Xcode, Download and install it from App store/your mac's supplied DVD/Apple developer website
> If using version 3 and earlier, make sure the "UNIX Development", "System Tools", "Command Line Tools", or "Command Line Support" is selected during the installation process,
> If using version 3 and earlier, Apple's Command Line Developer Tools are found at the Apple Developer Connection site
2/ MacPorts, See section 2 on http://www.macports.org/install.php.
Then:
3/ Download and unzip flashtool from androxyde's github
More prep work for the USB stuff:
4/ Open Terminal and type/run code:
Code:
ls -la /opt/local/lib/libusb-1.0.dylib
If "no file or directory" found then run code:
Code:
sudo port install libusb
Now, to run Flashtool (ASSUMING YOU DID NOT RENAME THE FLASHTOOL FOLDER AND PROGRAM NAME SINCE UNZIP!):
5/ Open Terminal and type/run code:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib; */Flashtool/FlashTool;
or
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib; ~/Downloads/Flashtool/FlashTool;
Alternatively:
> Open up the "Flashtool" Unix Executable File in TextEdit
> Copy and paste
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
the the line directly underneath export OS=$(uname -s)
> Save it, and from now on, double click the FlashTool executable file to open flashtool
6/ Flashtool window should pop up and a smile appears on your face
Maintenance
7/ To update MacPorts and installed ports, open terminal and run:
Code:
sudo port -v selfupdate; sudo port -v upgrade outdated;
Themindbuddah said:
Is there a Mac equivalent to FlashTool?
Click to expand...
Click to collapse
J0YU said:
There is a flashtool for mac on androxyde's github.
Basically...
You need (in this order):
1/ Xcode, Download and install it from App store/your mac's supplied DVD/Apple developer website
2/ MacPorts, See section 2 on http://www.macports.org/install.php.
Then:
3/ Download flashtool from androxyde's github
More prep work for the USB stuff:
5/ Open Terminal and type/run code:
Code:
ls -la /opt/local/lib/libusb-1.0.dylib
If "no file or directory" found then run code:
Code:
sudo port install libusb
6/ Last line of code to run in Terminal for prep:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
Now run Flashtool:
7/ Open the Flashtool folder which you unzipped in 3/
8/ Double click on "Flashtool" (Unix Executable File)
Hopefully that helps, haven't tried it out personally because I'm too lazy for 1/ and 2/ but reply/thanks if it works out fine!
Maintenance
9/ To update MacPorts, open terminal and run:
Code:
sudo port -v selfupdate
Click to expand...
Click to collapse
That's right there is a FlashTool Mac Edition check it out: http://androxyde.github.com/
Thanks for the post. The LD_LIBRARY_PATH variable was the key for me. With the 2 mods for steps 6 & 8 in bold, these directions worked on my MacBook Air. FlashTool now comes up and runs!
-- Cronin
6/ Last line of code to run in Terminal for prep:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
Becomes:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
​
Now run Flashtool:
7/ Open the Flashtool folder which you unzipped in 3/
8/ Double click on "Flashtool" (Unix Executable File)
Becomes:
go to your FlashTool folder
Code:
cd ../FlashTool
​execute the FlashTool:
Code:
- ./Flashtool
​
J0YU said:
There is a flashtool for mac on androxyde's github.
Basically...
You need (in this order):
1/ Xcode, Download and install it from App store/your mac's supplied DVD/Apple developer website
2/ MacPorts, See section 2 on http://www.macports.org/install.php.
Then:
3/ Download flashtool from androxyde's github
More prep work for the USB stuff:
5/ Open Terminal and type/run code:
Code:
ls -la /opt/local/lib/libusb-1.0.dylib
If "no file or directory" found then run code:
Code:
sudo port install libusb
6/ Last line of code to run in Terminal for prep:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
Now run Flashtool:
7/ Open the Flashtool folder which you unzipped in 3/
8/ Double click on "Flashtool" (Unix Executable File)
Hopefully that helps, haven't tried it out personally because I'm too lazy for 1/ and 2/ but reply/thanks if it works out fine!
EDIT: check out the post below for more info/stuff
Maintenance
9/ To update MacPorts, open terminal and run:
Code:
sudo port -v selfupdate
Click to expand...
Click to collapse
I followed this guide and tried the other variation but when i launch flashtool this happen:
Macbook:~ Suz$ /Users/Suz/Downloads/FlashTool/FlashTool ; exit;
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'usb-1.0': dlopen(libusb-1.0.dylib, 9): image not found
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:179)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:252)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:368)
at com.sun.jna.Native.loadLibrary(Native.java:353)
at se.marell.libusb.jna.LibUsb.<clinit>(LibUsb.java:11)
at se.marell.libusb.LibUsbSystem.<init>(LibUsbSystem.java:36)
at se.marell.libusb.LibUsbSystem.<init>(LibUsbSystem.java:73)
at linuxlib.JUsb.init(JUsb.java:38)
at gui.FlasherGUI.main(FlasherGUI.java:170)
logout
[Processo completato]
nothing else! Where am I doing wrong?
smayor said:
I followed this guide and tried the other variation but when i launch flashtool this happen:
Macbook:~ Suz$ /Users/Suz/Downloads/FlashTool/FlashTool ; exit;
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'usb-1.0': dlopen(libusb-1.0.dylib, 9): image not found
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:179)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:252)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:368)
at com.sun.jna.Native.loadLibrary(Native.java:353)
at se.marell.libusb.jna.LibUsb.<clinit>(LibUsb.java:11)
at se.marell.libusb.LibUsbSystem.<init>(LibUsbSystem.java:36)
at se.marell.libusb.LibUsbSystem.<init>(LibUsbSystem.java:73)
at linuxlib.JUsb.init(JUsb.java:38)
at gui.FlasherGUI.main(FlasherGUI.java:170)
logout
[Processo completato]
nothing else! Where am I doing wrong?
Click to expand...
Click to collapse
i have the same problem can someone help me?
currently trying to diagnose it, I got the same problem too xD
The problem is that instead of */Flashtool/Flashtool you should replace before * with the the path from root to the file.
On my system this was:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib; /Users/<username>/Downloads/Flashtool/FlashTool;
Was getting same error and then it loaded
edit--
In fact, just open FlashTool in text wrangler or another editor and paste this in:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
after line:
export OS=$(uname -s)
save that and it should work. I did this, then I got an app got Platypus and wrapped the whole thing into a .app file. I'd upload it but it is 80 megs and I have a quarter meg upload rate
You could probably put that jar on the same path as the other files and it would find it, and save others going through the other steps but I'm not sure. I've not had time to try.
brim4brim said:
The problem is that instead of */Flashtool/Flashtool you should replace before * with the the path from root to the file.
On my system this was:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib; /Users/<username>/Downloads/Flashtool/FlashTool;
Was getting same error and then it loaded
edit--
In fact, just open FlashTool in text wrangler or another editor and paste this in:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib
after line:
export OS=$(uname -s)
save that and it should work. I did this, then I got an app got Platypus and wrapped the whole thing into a .app file. I'd upload it but it is 80 megs and I have a quarter meg upload rate
You could probably put that jar on the same path as the other files and it would find it, and save others going through the other steps but I'm not sure. I've not had time to try.
Click to expand...
Click to collapse
oops, did the unix wildcard " * " not work on your machine? yeah it's either that or
Code:
~/Downloads/Flashtool/FlashTool
should also work. Thanks for the heads up, might update my tutorial more to cover more stuff and maybe release a moded FlashTool executable, I'm not sure
J0YU said:
oops, did the unix wildcard " * " not work on your machine? yeah it's either that or
Code:
~/Downloads/Flashtool/FlashTool
should also work. Thanks for the heads up, might update my tutorial more to cover more stuff and maybe release a moded FlashTool executable, I'm not sure
Click to expand...
Click to collapse
I hope you guys can help, I tried using the methods you gave (exporting the var and updating the file in textwrangler) but I'm still getting the error below. Would you know how to get around this?
I checked and I do have the file:
Users-iMac:FlashTool user$ ls -la /opt/local/lib/libusb-1.0.dylib
lrwxr-xr-x 1 root admin 18 May 12 00:25 /opt/local/lib/libusb-1.0.dylib -> libusb-1.0.0.dylib
Error below:
Last login: Sat Nov 3 00:47:57 on ttys001
Users-iMac:~ user$ /Users/user/Downloads/FlashTool/FlashTool ; exit;
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'usb-1.0': dlopen(libusb-1.0.dylib, 9): image not found
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:179)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:252)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:368)
at com.sun.jna.Native.loadLibrary(Native.java:353)
at se.marell.libusb.jna.LibUsb.<clinit>(LibUsb.java:11)
at se.marell.libusb.LibUsbSystem.<init>(LibUsbSystem.java:36)
at se.marell.libusb.LibUsbSystem.<init>(LibUsbSystem.java:73)
at linuxlib.JUsb.init(JUsb.java:38)
at gui.FlasherGUI.main(FlasherGUI.java:170)
logout
[Process completed]
---------- Post added at 01:21 AM ---------- Previous post was at 01:02 AM ----------
Somehow, double clicking on FlashTool gives me that error... But doing a ./FlashTool in the terminal works. Thanks!
Would you guys happen to know if a Mac version of the rooting toolkit is available?
Somehow, double clicking on FlashTool gives me that error... But doing a ./FlashTool in the terminal works. Thanks!
Would you guys happen to know if a Mac version of the rooting toolkit is available?
Click to expand...
Click to collapse
Are you talking about ADB and FlashTool for mac?
Or like the actual rooting stuff like Superuser.apk and BusyBox (root_tools.rar in the attached files)?
Use wine
Sent from my R800x using xda app-developers app
problems with libusb
Hi guys,
thank you so much for this guide,
I have a problem when i try to open flash tool with the
Code:
~/Downloads/Flashtool/FlashTool
this error shows up
Minimum libusb version is 1.0.14. Found 1.0.9
It can be downloaded on
i have tried everything and i really cannot updated :crying::crying:
Please help me i never done it before
Java 1.6 or 1.7
Hi!
Whenever I try to run the commands, I get the following error message:
"Java version must be 1.6 or 1.7"
I have the latest version of Java installed on my Mac, and I can actually see the Java icon from the Control Panel. Any ideas about the error I get?
Thanks!
Hi!
Whenever I try to run the commands, I get the following error message:
"Java version must be 1.6 or 1.7"
I have the latest version of Java installed on my Mac, and I can actually see the Java icon from the Control Panel. Any ideas about the error I get?
Thanks!
Click to expand...
Click to collapse
1// What version of Mac OS X are you running on?
2// What do you get when you run java -version in terminal?
Hi guys,
thank you so much for this guide,
I have a problem when i try to open flash tool with the
Code:
~/Downloads/Flashtool/FlashTool
this error shows up
Minimum libusb version is 1.0.14. Found 1.0.9
It can be downloaded on
i have tried everything and i really cannot updated
Please help me i never done it before
Click to expand...
Click to collapse
I'm looking into it...
btw are you trying to run flashtool version v0.9.9.0 or an older one?
I written the tutorial a while ago lol

[TOOL]ADB + Fastboot v1.0.31 for OS X/4.3 [NOW Includes ADB & Fastboot][08-17-2013]

[TOOL]ADB + Fastboot v1.0.31 for OS X/4.3 [NOW Includes ADB & Fastboot][08-17-2013]
ADB & FASTBOOT FOR OS X​
There has been some confusion since I discuss using Fastboot in this post, but the zip only contained ADB. This is completely my fault and I apologize. Either way I've updated the .zip to include ADB & Fastboot.​UPDATED: 08/17/2013 - Added Fastboot to adb-1.0.31-mac.zip​
I've seen several people having issues on OS X trying to use ADB since the release of Android 4.3. In my case ADB recognized my device, but each time I ran adb devices my device would be reported as offline. I downloaded the SDK from Google several times and always ended up with ADB v1.0.29 (4.2.2).
This will should solve your OS X & ADB issues if you're running Android 4.3. This ONLY includes the ADB & Fastboot executable files and is for Mac OS X ONLY. I, like many others, do not need the full SDK. If you're not an app developer, like myself, this is all you need to have ADB working on your machine.
For any new OS X users I'll add a how to just so you don't have to go search for it else where:
How to setup ADB + Fastboot on OS X
Note: This is for not for developers. This only includes ADB & Fastboot and is not the full Android SDK
Step 1: Download the ZIP containing ADB & Fastboot
Step 2: Extract the ZIP to the directory of your choice
Step 3: Optional Create an environment variable
1. Open Terminal
2. Type cd to take you to your home directory.
Code:
cd
3. Type touch .profile to create a hidden file in your home directory named .profile
Code:
touch .profile
4. Type open -e .profile to open the file you just created in TextEdit
Code:
open -e .profile
5. In the file, add the following:
Code:
export PATH=${PATH}:/PathToDirectoryWhereYouExtractedTheZIP
6. Save the file and close TextEdit, quit Terminal, and relaunch the Terminal
Step 4: In Terminal type adb devices, you should see your phone's corresponding serial number Ex: HXM1005HNF012345 device
Code:
adb devices
Note: If you choose not to create an environment variable from Step 3 it effects two things:
1. You will need to cd to the directory containing ADB each time you want to run ADB.
2. When executing ADB commands you will need to add ./ in front of ADB. Ex: ./adb devices
Dropbox Download
Alternate Download
I've used a mac with with all three of me nexus devices so ime pretty familiar but..is anyone else having probs with fastboot trying to flash a system.img ...I kept getting a error everytime. Boot.img would go through but not system img...? Any help would be great. If not no worries...adb seems to work fine if u need to push something ... But this is the first device I couldn't use fastboot flash system with...??
Candy Painted
matthew0776 said:
I've used a mac with with all three of me nexus devices so ime pretty familiar but..is anyone else having probs with fastboot trying to flash a system.img ...I kept getting a error everytime. Boot.img would go through but not system img...? Any help would be great. If not no worries...adb seems to work fine if u need to push something ... But this is the first device I couldn't use fastboot flash system with...??
Candy Painted
Click to expand...
Click to collapse
Did you have ADB previously installed before download this .zip? This is not the full Android SDK, but the updated version of ADB and doesn't include fastboot.
wad3g said:
...and doesn't include fastboot.
Click to expand...
Click to collapse
Perhaps all references to fastboot should be deleted, right now this thread still says "adb + fastboot...". Thanks for providing it all the same. Save me the 400mb download
Chatperdu said:
Perhaps all references to fastboot should be deleted, right now this thread still says "adb + fastboot...". Thanks for providing it all the same. Save me the 400mb download
Click to expand...
Click to collapse
You're right. I can't believe that never crossed my mind, I guess I was assuming everyone previously had ADB on their machine.
Anyway, I've updated the download links and attachments so now everything includes ADB & Fastboot files. Hopefully this will clear up any confusing in the future and I apologize to all of you who had issues due to this.
wad3g said:
You're right. I can't believe that never crossed my mind, I guess I was assuming everyone previously had ADB on their machine.
Click to expand...
Click to collapse
I have a previous installation. I am assuming fastboot doesn't have to match the adb version. Will try it out soon. My previous solution is to boot into bootloader, than adb will find the device, an inefficient work around.
Chatperdu said:
I have a previous installation. I am assuming fastboot doesn't have to match the adb version. Will try it out soon. My previous solution is to boot into bootloader, than adb will find the device, an inefficient work around.
Click to expand...
Click to collapse
Yes a previous version of fastboot should work fine. I don't believe fastboot was updated. I still use the the fastboot version that came with 1.0.29.
i followed these instructions, including creating .profile, but still neither my nexus 4 or new nexus 7 running 4.3 are recognized. Nothing is listed when I do adb devices, just an emtpy list

ROM [UNOFFICIAL] won't boot after compiling SimKat

I've been wanting to try an compile Android for myself to see how it's done, even though Slimroms officially supports my device..
Only problem for now though, is I've successfully compiled the ROM and everything but after I flash it, it won't boot.
I get stuck at the Slimkat splash screen. The boot animation doesn't start. Adb can recognize the device being connected. I haven't tried any adb commands other than adb devices. The LED doesn't come on like it's supposed to while booting. While the phone is connected to a computer, you can't look at the files on it while it's in this state.
(my device actually is a d2can but, it's pretty much the same as a d2att)
The ROM is supposed to work for all of the lte variants of the siii
Here are the commands I have used to compile it after installing java, bison and some other stuff... Ubuntu 14 LTS
mkdir ~/slimkat/
mkdir ~/slimkat/androidsys/
mkdir ~/slimkat/bin/
cd ~/slimkat/androidsys/
repo init -u git://github.com/SlimRoms/platform_manifest.git -b kk4.4-caf
repo sync
. build/envsetup.sh
lunch slim_d2lte-userdebug (I also tried brunch d2lte userdebug)
make -j2 bacon
Update: I fixed it. Just needed to add some files from theloonybin
https:// github.com/TheLoonyBin/proprietary_vendor_samsung
Arunscape said:
Update: I fixed it. Just needed to add some files from theloonybin
https:// github.com/TheLoonyBin/proprietary_vendor_samsung
Click to expand...
Click to collapse
can you be more clear how you add TheloonyBin ???
is there a command line for terminal or i just copy paste from the link ?
i have left msg in slim forums as well but for different problem.
S03iT said:
can you be more clear how you add TheloonyBin ???
is there a command line for terminal or i just copy paste from the link ?
i have left msg in slim forums as well but for different problem.
Click to expand...
Click to collapse
Git clone (put the url pf theloonybin)
Then it will dowload the files in a folder called.proprietary_vendor_manufacturer
Copy the folder.of your device into ~/source/vendor/manufacturer

Categories

Resources