adb and fastboot for PowerPC Macs - Android Software/Hacking General [Developers Only]

I managed to successfully compile the adb and fastboot binaries for PowerPC by hacking the Android SDK a little bit. If you use a PowerPC Mac and would like to use it for debugging/etc Android device, you may find these interesting. (The apps were compiled under Leopard, I have no clue if they will also run on Tiger or not)
Word of warning: I don't take any responsibility if any of these apps kill your phone or the neighbors. You have been warned.
Known bugs: serial numbers are shown incorrectly in both apps, also you should run them from iTerm as they messed up the standard Terminal.app for me once.
Tested and working features (on a PowerBook 12" 1.5Ghz and an iBook G4):
adb:
shell
logcat
reboot
bugreport
push
pull
fastboot:
reboot
reboot-bootloader
flash (radio|hboot)
erase (system|boot)
acp:
Didn't test this one, I never used it, but seems like working.
Since I don't have any other machine ATM, I couldn't test the flash function yet, I'm planning to do that soon. Anybody curious enough to test, please reply with your results, so I can update the list. As always, donations are welcome

Just tested on my ibook g4!
It works fine! Thank You very much!
EDIT:
I used it to flash the new bootloader (1.33.013d) and the new radio (2.22.28.25_S) via fastboot.
Commands tested:
fastboot flash radio RADIO-2.22.28.25.img
fastboot flash hboot hboot-1.33.0013d.img
fastboot reboot-bootloader
fastboot erase system -w
fastboot erase boot
fastboot reboot

Glad to hear that, I'll update the first post in a few minutes. Can you confirm the bug with the serial numbers or was it working for you?

Z0l said:
Glad to hear that, I'll update the first post in a few minutes. Can you confirm the bug with the serial numbers or was it working for you?
Click to expand...
Click to collapse
The serial number isn't shown but appear "####"
iBook:android_ppc michele$ ./adb devices
List of devices attached
#### device
iBook:android_ppc michele$
Click to expand...
Click to collapse

@Z0l, could you post a patch for the source?
I tried briefly to do exactly what you've managed to do, but no point in reinventing the wheel

Actually there is no patch What you should do is to checkout the froyo sdk with repo (this is important, because gingerbread requires java6, which is a bit problematic on ppc), copy the build/core/combo/HOST_darwin-x86.mk to HOST_darwin-ppc.mk, then issue the "make adb" and "make fastboot" from the top of the source. I think I received some warnings, but at the end the binaries were at out/host/darwin-ppc/bin. So, the actual commands are:
repo init -u git://git.android-x86.org/manifest.git -b froyo
repo sync
cp build/core/combo/HOST_darwin-x86.mk build/core/combo/HOST_darwin-ppc.mk
make adb
make fastboot
Click to expand...
Click to collapse
Hope that helps. Also, make sure you do the compile on a case-sensitive filesystem (I created a case-sensitive dmg for that)

Does this still work with Gingerbread and ICS devices like the Nexus S and the Galaxy Nexus?
Thanks for answering in advance.
land.apfel

I'd say yes because I see no reason for them not to work. Although both adb and fastboot received updates, the fundamentals are the same.

OK, so I'll try them but I won't be able to use the backup feature, will I?
Sent from my Galaxy Nexus using XDA

land.apfel said:
OK, so I'll try them but I won't be able to use the backup feature, will I?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Could you elaborate a bit what you mean under backup? All the adb and fastboot commands worked when I tested them.

With backup I mean "$ ./adb backup".
Sent from my Galaxy Nexus using XDA

These binaries were compiled long before ICS existed (adb backup is available since ICS), so I don't think it'll work. You can try compiling a new version yourself, unfortunately I no longer have access to a PPC dev environment.

That's why I've asked.
Unfortunately I'm too dumb to compile it by myself
Sent from my Galaxy Nexus using XDA

iBook G3
Hi there,
Sorry to bump such an old topic! But I think I have a (very?????) special case. Is it possible to compile the newer ICS Binaries..... for iBook G3 on 10.4.11?
I tried running these and I got the dreaded "Incompatible CPU subtype" so I assume they're for G4 and up. Is there a way this could be changed?

blackthund3r said:
Hi there,
Sorry to bump such an old topic! But I think I have a (very?????) special case. Is it possible to compile the newer ICS Binaries..... for iBook G3 on 10.4.11?
I tried running these and I got the dreaded "Incompatible CPU subtype" so I assume they're for G4 and up. Is there a way this could be changed?
Click to expand...
Click to collapse
Sorry for the late reply, you cannot compile anything newer than GB on powerpc. Even GB needed the above trick, but since ICS requires a Java that never existed for powerpc, I think its impossible.
Sent from my Galaxy Nexus using xda app-developers app

Z0l said:
Sorry for the late reply, you cannot compile anything newer than GB on powerpc. Even GB needed the above trick, but since ICS requires a Java that never existed for powerpc, I think its impossible.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Haha ok fair enough the hardware is kinda old anyway. ;p
It's because when parents remove the Windows laptop I only have my iBook or athlon server left xD

Related

Rogers HTC Dream - froyo update

Question to those who have updating their Dream from Rogers, was it at all slow or where their noticeable improvements?
I have one at my disposal but running stock OS (1.5/1.6 i assume). Anyone have a nice and easy to follow tutorial to update this phone without hassles? Also does updating android OS require rooting the device?
Thanks in advance.
Bloodyskullz said:
Question to those who have updating their Dream from Rogers, was it at all slow or where their noticeable improvements?
I have one at my disposal but running stock OS (1.5/1.6 i assume). Anyone have a nice and easy to follow tutorial to update this phone without hassles? Also does updating android OS require rooting the device?
Thanks in advance.
Click to expand...
Click to collapse
try this:
http://theunlockr.com/category/howto/android_how_tos/htc-g1-dream-how-tos/
Follow instructions. This seems to me to be the easiest guide. Be careful of the Rogers/T-Mobile thing. Seems there are different radio's and such. I don't know anything about Rogers. As far as Roms, I use HTCclay's Superfly TCBY. Lot of memory left on phone. Just try a few to see which you like. Good Luck.
By the way, you do have to be rooted. The guide will walk you through it.
crz6662 said:
try this:
http://theunlockr.com/category/howto/android_how_tos/htc-g1-dream-how-tos/
Follow instructions. This seems to me to be the easiest guide. Be careful of the Rogers/T-Mobile thing. Seems there are different radio's and such. I don't know anything about Rogers. As far as Roms, I use HTCclay's Superfly TCBY. Lot of memory left on phone. Just try a few to see which you like. Good Luck.
By the way, you do have to be rooted. The guide will walk you through it.
Click to expand...
Click to collapse
I would say to try the ROM in my sig (the stock ROM)
works for g1 and 32B Magic
he is going to need the EBI1 kernel to go with the rom.
Ok I am reviving this thread because I want to make sure I am following the right steps in doing so. Don't want to mess this up.
Successfully rooted the phone following video I found in the second post of this thread. Can't link you to it because I am still a new member =S! I checked the radio version of the phone and it is 3.22.20.17. Which ROM is recommended?As I said, I just want to get rid of this terrible stock rom from rogers and put froyo (which in turn also allows me to get touch screen keyboard activated) on here.
Thanks in advance.
With that radio you will need to flash ebi1 kernels after you flash the roms.
I completely forgot that Rogers blocked the virtual keyboard with their firmware. That's such bull****.
Sent from my HTC Hero using XDA App
asb123 said:
With that radio you will need to flash ebi1 kernels after you flash the roms.
Click to expand...
Click to collapse
Now you have more information in the link in your sig. Question: Can you re up the RS link you have there? Also, rooting the phone just means that you have the app called Superuser?
Now I get quite lost the moment you start explaining the options HTC Dream users have. Is there a recommended ROM to download for this phone considering its specs?
I completely forgot that Rogers blocked the virtual keyboard with their firmware. That's such bull****.
Click to expand...
Click to collapse
Yes it is sad that rogers has done this. Do whatever they can to screw the consumers over. Just found out it is 1.5.
Any help on this?
Ok still lost on trying to do this and want to follow the set up from cyanogen but its really complicated. I don't want to make a backup of contacts and stuff because it wasn't originally my phone.
Do I still need the amon_ra's recovery?
Bloodyskullz said:
Ok still lost on trying to do this and want to follow the set up from cyanogen but its really complicated. I don't want to make a backup of contacts and stuff because it wasn't originally my phone.
Do I still need the amon_ra's recovery?
Click to expand...
Click to collapse
Think of what you need to do:
1) Obtain root access so that you can flash a new recovery
2) Replace recovery so that you can flash new SPL
3) Flash new SPL so that you can be more compatible with roms / kernels
4) Flash a new rom (IE/ Cyanogenmod 6), and a compatible EBI1 kernel (for instance, Brian Crook's ones on the Cyanogenmod website)
Without getting into huge detail, you do it in this order to prevent your device from being unable to boot / recover.
You can flash the new RADIO and SPL from here: http://forum.xda-developers.com/showthread.php?goto=newpost&t=831139
Along with that, you use the appropriate supported +14MB EBI0 kernel.
More RAM is good
Well that makes sense.
Now I am following the Cyanogen wiki link (can't post there) and it says to launch flash rec but I can't understand from where I have to do this. Anyone care to help? And how does the Andriod SDK help?
Bloodyskullz said:
Well that makes sense.
Now I am following the Cyanogen wiki link (can't post there) and it says to launch flash rec but I can't understand from where I have to do this. Anyone care to help? And how does the Andriod SDK help?
Click to expand...
Click to collapse
Andriod sdk has the adb component needed to initiate commands to your device from your computer. then you need the android windows usb drivers.after installing sdk to see if you have connection with your device, open console on your computer start>run>type cmd and hit enter at the prompt type adb you should get several lines back kind of an options menu. at next prompt type adb devices. if your device is recognized you will get back:
device XXXXXXXX (this will be an actual number).
if you dont get any devices back with your phone attached to usb then you probably need the driver. just google it.
as for flashrec I dont believe I used this. I used exploid to gain root and install 1.33.2005 spl
Where do I get the android driver for windows (7 64bit specifically)? Adb command aint working in my cmd.
So what do I do about flashrec? Man updating this thing is driving me nuts. So many unexpected curves.
I also have Windows 7 64bit and I didn't need a driver it just works for me. Please tell us exactly what you are typing in and what output you are getting. You could also try the instruction to install the usb driver here:
http://developer.android.com/sdk/win-usb.html
What is your build number in settings? If it is 1.89.631.1 you are following the wrong guide. (see the top of that guide)
beav_35 said:
I also have Windows 7 64bit and I didn't need a driver it just works for me. Please tell us exactly what you are typing in and what output you are getting. You could also try the instruction to install the usb driver here:
http://developer.android.com/sdk/win-usb.html
What is your build number in settings? If it is 1.89.631.1 you are following the wrong guide. (see the top of that guide)
Click to expand...
Click to collapse
When I type in ADB command it just states that the command is not recognized (even when SDK is open).
Build number 1.85.631.5.
Now when I turn on phone it accepts it after I plug it into computer. I can mount sd card to copy files without issue.
Do I need another tutorial (preferably video since its easier for me but text is just fine)?
Bloodyskullz said:
When I type in ADB command it just states that the command is not recognized (even when SDK is open).
Click to expand...
Click to collapse
This doesn't mean that it can't find your phone, it means that it can't find the adb.exe.
Bloodyskullz said:
Build number 1.85.631.5.
Click to expand...
Click to collapse
That is a pre-911 build. Don't see too many of those any more. Rogers harassed everyone into updating.
Bloodyskullz said:
Now when I turn on phone it accepts it after I plug it into computer. I can mount sd card to copy files without issue.
Do I need another tutorial (preferably video since its easier for me but text is just fine)?
Click to expand...
Click to collapse
http://www.bleepingcomputer.com/tutorials/tutorial76.html
http://forum.xda-developers.com/showthread.php?t=502010
http://www.youtube.com/watch?v=Z3SpI7m7mFI
Does the zip file for the android SDK make a difference if I can't install it through the .exe? It keeps saying that it doesnt detect the Java SDK when I try to install.
Yes, you can use the .zip. Extract it, run setup.exe, install Platform-tools, cd to the platform-tools directory then you can use adb. Fastboot is in the tools directory. That was just changed in the 2.3 sdk update so I don't know if the guide has been updated yet.
beav_35 said:
Yes, you can use the .zip. Extract it, run setup.exe, install Platform-tools, cd to the platform-tools directory then you can use adb. Fastboot is in the tools directory. That was just changed in the 2.3 sdk update so I don't know if the guide has been updated yet.
Click to expand...
Click to collapse
The only .exe file in the zip is the SDK Manager which isnt exactly an install.

[Q] fjfalcon swap

Is there a way that i can reinstall the swap directly from my xt720 without have to hook to my computer or be at home? If so would someone please be kind enough to share this info with me.
Nope. Because of Motorola's locked bootloader, we have to use fastboot over USB.
Sent from my Milestone XT720 using XDA Premium App
Could I do this from my honeycomb tab??
Sent from my XT720 using XDA App
vari9 said:
Could I do this from my honeycomb tab??
Sent from my XT720 using XDA App
Click to expand...
Click to collapse
Cant see how you could, knowing you need Android SDK and fastboot to boot the kernel. So I guess no.
can i do fastboot from a mac or linux emulator? cos my external hdd just crashed and i have my windows VM on it which i use for rsdlite.
Yes you can.
All you need is kernel: http://xt720.ru/Files/Kernel/boot2.img
And fastboot tool: http://xt720.ru/Files/Tools/fastboot
Don't forget chmod +x to fastboot and run it as root(or use sudo)
fjfalcon said:
Yes you can.
All you need is kernel: http://xt720.ru/Files/Kernel/boot2.img
And fastboot tool: http://xt720.ru/Files/Tools/fastboot
Don't forget chmod +x to fastboot and run it as root(or use sudo)
Click to expand...
Click to collapse
is this boot2.img different from the original boot.img kernel that you posted initially?
Well, that last version that i created long ago...
Added ThumbEE and other optimizations/..
But it was created long ago.. i think.. =)
fjfalcon said:
Well, that last version that i created long ago...
Added ThumbEE and other optimizations/..
But it was created long ago.. i think.. =)
Click to expand...
Click to collapse
Oh okay.. hahahaha!!
I was not updated, I folllowed reverendkyle's tutorial and used the boot.img that was posted on the tutorial video, i was not aware that there was an updated one. I'll push this new (for me it's new) one now.. LOL Thanks!!
**EDIT**
Kernel is now showing as "[email protected] #7" would this be correct?
Yes, cheater - mine username, and chernyak - hostname of mine work machine.
hi all,
i have installed Khal's MIUI XT-Final V2 rom, when i do install fjfalcon kernel to enable swap on my phone via adb it works fine but after normal reboot swap partion shows 0KB.
if i do a quick reboot its shows the cache.
i dont face this problem before in khal's steel blue rom...
is this a bug with rom or something to enable on kernel...
guys, pl help me on this...
thanks
Ash
abkrish26 said:
hi all,
i have installed Khal's MIUI XT-Final V2 rom, when i do install fjfalcon kernel to enable swap on my phone via adb it works fine but after normal reboot swap partion shows 0KB.
if i do a quick reboot its shows the cache.
i dont face this problem before in khal's steel blue rom...
is this a bug with rom or something to enable on kernel...
guys, pl help me on this...
thanks
Ash
Click to expand...
Click to collapse
It's always been that way. You have to fastboot to get the custom kernel with the locked bootloader.
Thanks for ur great info 3rdstring.....
Cheers
Sent from my Milestone XT720 using XDA Premium App
fjfalcon said:
Yes you can.
All you need is kernel: http://xt720.ru/Files/Kernel/boot2.img
And fastboot tool: http://xt720.ru/Files/Tools/fastboot
Don't forget chmod +x to fastboot and run it as root(or use sudo)
Click to expand...
Click to collapse
am i supposed to adb reboot into bootloader and from there reboot the phone into fastboot? what am i supposed to type on a mac? because you need the boot.img to be in a specific directory on windows, but im not sure about doing it on mac. should i put the boot2.img into the android sdk too? sorry for asking so many questions, but i dont wanna risk bricking or anything. thanks!
edit: after i watched reverendkjr's vid again i decided to try and i put the boot into platform-tools and from there i rebooted into bootloader, and then typed fastboot boot boot2.img and now my phone is on [email protected] #7
but just curious, what was the chmod + x for?
Allow to launch fastboot binary.
I'm on XDA-SPECIAL-HELLMONGER-RC2. when I run - chmod 777 /system/etc/unit.d/00_swapon it fails and says"Read only file". And swap is not enabled by fastboot.. wondering what am i doing wrong?
Sent from my XT720 using xda premium
I'm here to learn something
brianlili said:
I'm here to learn something
Click to expand...
Click to collapse
Brian! Welcome! There's a thread about your ROM here: http://forum.xda-developers.com/showthread.php?t=1206018
You may need to post 10 times before you can reply there though. So, how's the weather?
which one should i use for cm6.3 rc3? havent fastbooted for a long time. ive tried boot2 but when i fastboot, setcpu doesnt show any swap. in my notifications, android keeps "checking sd card for errors". any help?
For now, is there any way to fastboot fjfalcon's kernel without using any PC?
I've heard something about hot reboot that reboots the phone but keeping the fjfalcon's kernel.
Thanks for the info.

[GUIDE] [VIDEO] Various Guides Including Root and ROM reviews

Sticky Worthy?
How To Guides in Video Form:
How To One Click Unlock Bootloader http://www.youtube.com/watch?v=sSVD5b9nAcI&list=UU1J4DKcJXENzC-FkyMU6dow&index=15&feature=plcp
How To Manually Unlock Bootloader http://www.youtube.com/watch?v=sSVD5b9nAcI&list=UU1J4DKcJXENzC-FkyMU6dow&index=15&feature=plcp
One Click DebugFS method: http://www.youtube.com/watch?v=EpuiKIl7lpI&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
Video Root Guide: http://youtu.be/cuiJYKV2GGU
^^This is just a Visual aid for the method provided by Invisiblek outlined here http://forum.xda-developers.com/showthread.php?t=1756885
How to Update Your Baseband/Modem to latest OTA : http://www.youtube.com/watch?v=K2dQ2kv9kYs&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
How To Nandroid backup in Cwm Recovery: https://www.youtube.com/watch?v=4zWSK7cO3xg&feature=youtube_gdata_player
How To Unbrick, Unroot, Factory Restore Galaxy S III http://youtu.be/p0T4FO_NZ8Y
How To Easily Backup Apps and Data to Flashable.zip http://youtu.be/OPPoKlu_4qw
How To Install CM9 or CM10: http://youtu.be/f68NgGgrwAQ
How To Back up and Restore IMEI: http://www.youtube.com/watch?v=dl6Ms3oVEDo&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
How To Use Your SGS3 as a Netflix Remote: http://www.youtube.com/watch?v=JICq0P1Ywg4&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
Rom Reviews and Install Guides:
JellyWiz Touchwiz Jelly Bean 4.1.1 Rom Review and Install: http://www.youtube.com/watch?v=twDBZg4wkBk&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
Liquid v2 RC3 Rom Review and Install http://www.youtube.com/watch?v=ieuy5Bx76-Q&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
AOKP 4.1.1 Rom Review and Install: http://www.youtube.com/watch?v=kjULad8XS-4&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
MIUI v4.1 Jelly Bean Review and Install for Unlocked Bootloaderhttp://www.youtube.com/watch?v=azkToBXLjig&list=UU1J4DKcJXENzC-FkyMU6dow&index=2&feature=plcp
Cyanogen Mod 10 Jelly Bean for Unlocked Bootloader http://www.youtube.com/watch?v=7nW0SRKxUQk&list=UU1J4DKcJXENzC-FkyMU6dow&index=14&feature=plcp
Clean Rom Full Review and Install For Unlocked Bootloader http://www.youtube.com/watch?v=0PtIKXddfNI&list=UU1J4DKcJXENzC-FkyMU6dow&index=7&feature=plcp
Bean's Custom Stock Rom Review and Install For Unlocked Bootloader http://www.youtube.com/watch?v=napoMpZKCDA&list=UU1J4DKcJXENzC-FkyMU6dow&index=13&feature=plcp
First ROM Stock Stripped by Invisiblek: for Locked Bootloader https://www.youtube.com/watch?v=9Oek_24wEXI&feature=youtube_gdata_player
Cyanogen Mod 10 Rom Review: for Locked Bootloader http://youtu.be/2efLx_iTBDk
AOKP Android Open Kang Project Milestone 6 Review and Install for Locked Bootloader http://youtu.be/ATiFaCssKHs
Synergy Rom (Battery life and Stability) Review and Install for Locked Bootloader http://youtu.be/bj7w2nu_sKk
fix your link. you forgot the opening [ preceding the closing youtube tag.
Could you please do a back-to-stock video as well?
Thanks for doing this. First Samsung phone so it's quite new to me. Appreciate the video, it'll definitely help
Sent from my PC36100 using Tapatalk 2
Always wish these were made for each phone, the devs put so much work into making roms and root methods, but usually skimp on the instructions for those of us who aren't as experienced. Thanks for this
I will try to update this thread with any other videos I make, or I might make a separate thread. Glad its helped though.
Sent from my Galaxy Nexus using xda app-developers app
Thanks for the video. I'll be going through this as quickly as I can get home from work tomorrow!!
Great video, but in your description, to install the SDK using the Java links, I installed the JDK but the SDK install still thinks it's missing, and won't go any further, making me Cancel out. No idea what to do now...no SDK = no ADB commands :-(
minmongoblin said:
Great video, but in your description, to install the SDK using the Java links, I installed the JDK but the SDK install still thinks it's missing, and won't go any further, making me Cancel out. No idea what to do now...no SDK = no ADB commands :-(
Click to expand...
Click to collapse
Alos agree great video and helped me do root in no time at all! However, like you I am unable to get the adb part of the video working. I followed your other video and written instructions to the "t", and I only got as far as..
"adb is not recognized as an internal or external command"
I got the Java JDK to install fine as well as the SDK with all the required installs you said were needed for it to work. I left out all others as I'm not really too familiar with adb is it is. I changed the path, and named folders and files exactly as you did in your video. However I could never get the cmd to show adb devices.
I know the original post stated that we should know how to use it before we try this, but after trying to do research on this for the past 4 hours last night.. I concluded I have no idea what I am doing wrong/nor how to do it properly apparently.
If anyone would be able to possibly give me some assistance that would be great .
Lemonhead8890 said:
Alos agree great video and helped me do root in no time at all! However, like you I am unable to get the adb part of the video working. I followed your other video and written instructions to the "t", and I only got as far as..
"adb is not recognized as an internal or external command"
I got the Java JDK to install fine as well as the SDK with all the required installs you said were needed for it to work. I left out all others as I'm not really too familiar with adb is it is. I changed the path, and named folders and files exactly as you did in your video. However I could never get the cmd to show adb devices.
I know the original post stated that we should know how to use it before we try this, but after trying to do research on this for the past 4 hours last night.. I concluded I have no idea what I am doing wrong/nor how to do it properly apparently.
If anyone would be able to possibly give me some assistance that would be great .
Click to expand...
Click to collapse
Is your usb debugging enabled on your phohne?
When you cd <path to platform-tools>, then type: adb.exe
Does a long list of commands scroll across the screen?
Having the same problem. I see the long list of commands. But when I type "adb devices" nothing is listed.
trginter said:
Having the same problem. I see the long list of commands. But when I type "adb devices" nothing is listed.
Click to expand...
Click to collapse
I haven't tried it myself yet, but it sounds like you don't have the drivers properly installed.
Sent from my Ally (Cant wait to get rid of this POS and replace it with my S3 tomorrow!)
NightxFall said:
I haven't tried it myself yet, but it sounds like you don't have the drivers properly installed.
Sent from my Ally (Cant wait to get rid of this POS and replace it with my S3 tomorrow!)
Click to expand...
Click to collapse
That would be my guess. Put it in USB Debug mode, and plug the phone in, I think it auto-installs the ADB drivers.
Hmm, the phone is in USB Debugging Mode and plugged in, nothing downloaded.
trginter said:
Hmm, the phone is in USB Debugging Mode and plugged in, nothing downloaded.
Click to expand...
Click to collapse
What is the exact output when you type adb devices?
Good to know root is avail
Will try this tomorrow after work
s197 said:
Is your usb debugging enabled on your phohne?
When you cd <path to platform-tools>, then type: adb.exe
Does a long list of commands scroll across the screen?
Click to expand...
Click to collapse
For those having problems with this, look up "how to add a path to the windows command line“. You should not have to CD to a directory to make a command work .
Sent from my SCH-I535
s197 said:
Is your usb debugging enabled on your phohne?
When you cd <path to platform-tools>, then type: adb.exe
Does a long list of commands scroll across the screen?
Click to expand...
Click to collapse
Yes, usb debugging was on when I tried to do this. I usually always just leave it on honestly.
I guess I should have been more clear about where I was at, but yes i did the
cd platform-tools .. enter.. then adb.exe.. and thats when I got the 'adb' is not an internal or external command. I dont know where I messed up along the way... . I feel pretty confident I did everything correctly.
However there was one difference i did notice. On the path stated in the guide it says system32 something then you list the path to platform tools and whatnot.... but mine had something /windowspowershell/ or something like that.
I went back to the start and deleted my drivers and reinstalled them but deleted the jdk and sdk for the time being.. Maybe ill try again soon if I can figure it out better.
I believe this will help a lot of you. Thanks goes to Adrynalyne....
http://forum.xda-developers.com/showthread.php?t=879701
Lemonhead8890 said:
Yes, usb debugging was on when I tried to do this. I usually always just leave it on honestly.
I guess I should have been more clear about where I was at, but yes i did the
cd platform-tools .. enter.. then adb.exe.. and thats when I got the 'adb' is not an internal or external command. I dont know where I messed up along the way... . I feel pretty confident I did everything correctly.
However there was one difference i did notice. On the path stated in the guide it says system32 something then you list the path to platform tools and whatnot.... but mine had something /windowspowershell/ or something like that.
I went back to the start and deleted my drivers and reinstalled them but deleted the jdk and sdk for the time being.. Maybe ill try again soon if I can figure it out better.
Click to expand...
Click to collapse
It sounds like you're not moving to the right directory. Check to see where your adb file is, on the new SDK it's in platform-tools but if you downloaded ADB from a long time ago, it's in another folder (I think tools, but it's been a while).
What I would do is navigate to your adb file from "my computer". At the top, under address, it will show you the path you need to type. For instance, for me, I open my computer, C: drive, Android folder, then platform-tools. So my path would be:
Code:
cd C:\Android\platform-tools
Everyone's path is different depending on where you put your files.

Just making sure, there currently is no all Mac root method, right?

Hello, just making sure I haven't missed a step or process somewhere. I have the ota stock build of jellybean 4.1.1 on my Verizon galaxy s3.
I've looked through several methods, from different websites, and it will either be for Windows only, or the international s3 or for ics.
So no CASUAL, or anything else that I saw.
Heimdall apparently does not work on the US s3's.
I even tried to root with Odin on Windows, but I had some problems with Odin (when it says it was done, apparently it wasn't done, and I could not get clockwork mod to flash)
I would try it again, but it wasn't on my pc, but a friend's, so it is a pain to schedule a time to get over there. I would much prefer to have all the tools on my person, etc. It helps me to understand the process better.
Also, I heard about cfautoroot, however, I didn't get a chance to fully investigate that method. Any thoughts?
So, am I correct?
Any way to use terminal and adb?
Please let me know if I am wrong, I would love to be!
Sent from my Nexus 7 using Tapatalk HD
funkpod said:
Hello, just making sure I haven't missed a step or process somewhere. I have the ota stock build of jellybean 4.1.1 on my Verizon galaxy s3.
I've looked through several methods, from different websites, and it will either be for Windows only, or the international s3 or for ics.
So no CASUAL, or anything else that I saw.
Heimdall apparently does not work on the US s3's.
I even tried to root with Odin on Windows, but I had some problems with Odin (when it says it was done, apparently it wasn't done, and I could not get clockwork mod to flash)
I would try it again, but it wasn't on my pc, but a friend's, so it is a pain to schedule a time to get over there. I would much prefer to have all the tools on my person, etc. It helps me to understand the process better.
Also, I heard about cfautoroot, however, I didn't get a chance to fully investigate that method. Any thoughts?
So, am I correct?
Any way to use terminal and adb?
Please let me know if I am wrong, I would love to be!
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
heimdall does actually work
this should help you: http://wiki.cyanogenmod.org/w/Install_CM_for_d2vzw#Flash_alternate_bootloader_and_custom_recovery
no promises on the mac thing, i compiled that in a hacky osx vm, but i haven't heard of any problems, make sure to copy the lib
EDIT: ah crap, just realized utkanos didn't post the mac heimdall there, here's the one i compiled: http://invisiblek.org/heimdall_v1.4rc1_mac.zip
good luck, let me know if it works please
invisiblek said:
heimdall does actually work
this should help you: http://wiki.cyanogenmod.org/w/Install_CM_for_d2vzw#Flash_alternate_bootloader_and_custom_recovery
no promises on the mac thing, i compiled that in a hacky osx vm, but i haven't heard of any problems, make sure to copy the lib
EDIT: ah crap, just realized utkanos didn't post the mac heimdall there, here's the one i compiled: http://invisiblek.org/heimdall_v1.4rc1_mac.zip
good luck, let me know if it works please
Click to expand...
Click to collapse
Hello, thank you! So, this is the new version of Heimdall that I read about that should fix the incompatibility in 1.3.2?
http://www.xda-developers.com/android/heimdall-the-bringer-of-illumiation-enters-a-new-age/
And you have used it, but only on emulated ios? Question...What could happen to my phone?
Sent from my Nexus 7 using Tapatalk HD
funkpod said:
Hello, thank you! So, this is the new version of Heimdall that I read about that should fix the incompatibility in 1.3.2?
http://www.xda-developers.com/android/heimdall-the-bringer-of-illumiation-enters-a-new-age/
And you have used it, but only on emulated ios? Question...What could happen to my phone?
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
yes, its 1.4rc1 which supports the sgs3
first thing i'd recommend doing is:
Code:
heimdall print-pit
it's gonna print out your partition table, then reboot your phone, but at least you know you are talking to the phone properly
after that you should have no problem flashing via the rest of the instructions on the cm wiki there
hey, it did this after i double clicked the Heimdall exec file.
"
Teacher107MBP6-20-2012:~ teacher$ /Users/teacher/Desktop/heimdall_v1.4rc1_mac/heimdall ; exit;
dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib
Referenced from: /Users/teacher/Desktop/heimdall_v1.4rc1_mac/heimdall
Reason: no suitable image found. Did find:
/usr/local/lib/libusb-1.0.0.dylib: stat() failed with errno=13
Trace/BPT trap: 5
logout
[Process completed]
"
my phone was not connected yet. was this okay?
hey, so i plugged in my phone and double-clicked on the Heimdall file, the executable file.
the same
PHP:
Last login: Mon Jan 28 20:37:11 on ttys000
Teacher107MBP6-20-2012:~ teacher$ /Users/teacher/Desktop/heimdall_v1.4rc1_mac/heimdall ; exit;
dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib
Referenced from: /Users/teacher/Desktop/heimdall_v1.4rc1_mac/heimdall
Reason: no suitable image found. Did find:
/usr/local/lib/libusb-1.0.0.dylib: stat() failed with errno=13
Trace/BPT trap: 5
logout
[Process completed]
This is what happened, again. So i can't type the heimdall Print-pit command that you suggested.
any ideas about how to proceed?
Adam Outler and others are working on getting heimdall as an installer package for osx, and updating Casual we just have to wait.
Sent from my SCH-I535 using xda app-developers app
REALLY!? that's totally awesome.
that's great. any progress? like in a week, a month, 2 months, etc?
if i can't get Heimdall working on my own, which I probably can't, i'll just be patient then.
SO... i heard that Casual might work for the Galaxy sIII again?

Battery Status on computer

IGNORE THIS, NEWER VERSION(S) ARE HERE: http://forum.xda-developers.com/android/development/phone-s-battery-status-computer-screen-t3070549
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
wilk.gr76 said:
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
Click to expand...
Click to collapse
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
LS.xD said:
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
Click to expand...
Click to collapse
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
wilk.gr76 said:
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
Click to expand...
Click to collapse
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Sure!
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
If it helps, please press thanks.
wilk.gr76 said:
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
Click to expand...
Click to collapse
BASH?! Never heard about it...
Manjaro Linux should be fine for it
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
It is nice to get feedback so quicly! I expected to have no replies by Sunday, yet I get one in the first 5 mins! "Vielen Dank!" (I saw the german flag by your name...)
LS.xD said:
BASH?! Never heard about it...
Manjaro Linux should be fine for it
Click to expand...
Click to collapse
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
wilk.gr76 said:
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
Click to expand...
Click to collapse
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
LS.xD said:
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
Click to expand...
Click to collapse
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
wilk.gr76 said:
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
Click to expand...
Click to collapse
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
LS.xD said:
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
Click to expand...
Click to collapse
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
wilk.gr76 said:
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
Click to expand...
Click to collapse
Its really weird as the libs "missing" are all installed. I use KDE.
LS.xD said:
Its really weird as the libs "missing" are all installed. I use KDE.
Click to expand...
Click to collapse
It's pretty strange that it used "can't" instead of "cannot". Maybe try using gnome. I dunno, it works on mine.
I'm moving this to a DevDB now.
Has been moved to http://forum.xda-developers.com/and...ter-screen-t3070549/post59841376#post59841376

Categories

Resources