[MODDING] [TOOL] Fastboot binary for ARM machines (root required)

Search This thread

rebel1699

Senior Member
Feb 13, 2008
2,069
1,471
Oklahoma
Google Pixel 3a XL
Google Pixel 4 XL
Awesome.. !!

Now I make myself feel dumb: This is installed in xbin just as fastboot, correct? And it is acceptable to remove .bin from the file, correct?


Also -- Gave fastboot a try on Galaxy Nexus and while I didn't get any errors spit back at me, it failed to find any devices attached to it, unlike the Nexus 7 which found anything I plugged into it. It is running v2.54 of paranoid android with the latest glados kernel (which is pretty old but I like it). Later I might try swapping through a few kernels, but unlikely any time soon (it can't take/make calls while flashing).

Now this whole thing has me thinking, could we just strip clean a copy of Ubuntu for ARM (ya know, the one they are building specifically for the Nexus 7 might work) and toss that stuff into android? I mean, after all, the most useful things there are going to be command line tools that android is missing. I don't know what kind of dependency issues might arise.

I dont have a transformer, but do have the Nexus 7 with ubuntu, and yes I use fastboot and adb from it. Works wonderfully. I can repair friends devices without a pc when out and about. Also yes, you can remove the .bin from the file name.

Skyrocket on AOKP by R4ins
 

tharu_roxx

Senior Member
Dec 27, 2012
210
142
Kurunegala
Unlocked the bootloader of a Xperia Ray Using my Xperia neo V(MT11i) great binary..... thanx!!!! :D:highfive:

vupyjyre.jpg


Sent from my MT11i using Tapatalk 2
 
Last edited:

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
16,773
40,451
Halifax
GT-i9250
Google Nexus 4
Haha this is pretty slick. Discovered I could use my mini-USB charging cable with my OTG adapter to get my N7 and GN talking. The OTG end seems to be the dominant one though (ie. terminal side + where power flows from). It'll be great to not need my laptop if anything ever goes wrong on the road. :good:

Any newer compile of fastboot we could upgrade to by any chance?
 
Last edited:
  • Like
Reactions: foxdog66

josteink

Senior Member
Feb 8, 2011
2,243
1,808
Oslo
No idea if there's any changes to the actual source, but I guess I can try to create another build tomorrow.

Sent from my Galaxy Nexus using Tapatalk 2
 
  • Like
Reactions: osm0sis

josteink

Senior Member
Feb 8, 2011
2,243
1,808
Oslo
Yes. Afaik It depends on libc and the Linux kernel only, not Android.

Sent from my Galaxy Nexus using Tapatalk 4 Beta
 
  • Like
Reactions: Magissia

dmc2359

Senior Member
Aug 8, 2013
139
94
working great on my s4 connected to my Nexus 7 (2013), was able to flash twrp to the nexus with no problems!!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Following the "if you didn't make it, it doesn't belong here (in the development section)" guideline, I'm posting this in General. If a mod thinks this fits better in development, feel free to move it.

    What this is: A fastboot executable binary for using the fastboot protocol to control other devices which supports fastboot, like the Galaxy Nexus or other Nexus-phones.

    What this isn't: Fastboot bootloader-support for the transformer.

    What this doesn't come with: Any sort of warranties. You take this as is. If your fastboot-capable device explodes when using it, I take no responsibility.

    With that said:

    This is a seemingly fully functional fastboot binary, so that you can mod your Nexus phone from the transformer (you did know it ships with adb out of the box, right? ;) )

    Usage:

    To use it simply open a console and root up:

    Code:
    $ su
    #

    Ensure adb runs as root: (without root, adb wont be able to use the USB ports)

    Code:
    # adb kill-server
    # adb start-server

    Boot into bootloader:

    Code:
    # adb devices
    -- your device here
    # adb reboot bootloader

    Still as root, run fastbootarm: (without root, fastboot wont be able to use the USB ports)

    Code:
    # fastbootarm devices
    -- voila. your device here. mod along
    # fastbootarm boot recovery-mylittlepony.img
    -- etc

    So far this thing has been confirmed working on the Asus Transformer TF101, Raspberry Pi and Nexus 7. Chances are it will work on any armel7 (or better) target.

    Installation:

    Fastboot arm is attached to this post. Download, unpack and copy to your transformer:

    Code:
    $ adb devices
    -- your transformer here
    $ adb push fastbootarm /sdcard/
    $ adb shell
    android$ su
    # mount -o remount,rw /system
    # cp /sdcard/fastbootarm /system/xbin/
    # chmod 755 /system/xbin/fastbootarm 
    # mount -o remount,ro /system
    # exit
    android$ exit
    $

    All credit to IEF on #asus-transformer / Freenode. It was compiled by him (since I tried and failed and asked super-duper-nicely) from the Android source using "general" build-target. As such, it might be useful on other Android-devices which also supports USB host mode.
    5
    Here is the adb for arm.

    http://db.tt/aTKpVYx8

    Sent from my Nexus 7 using xda premium
    2
    Unlocked the bootloader of a Xperia Ray Using my Xperia neo V(MT11i) great binary..... thanx!!!! :D:highfive:

    vupyjyre.jpg


    Sent from my MT11i using Tapatalk 2
    2
    Awesome.. !!

    Now I make myself feel dumb: This is installed in xbin just as fastboot, correct? And it is acceptable to remove .bin from the file, correct?


    Also -- Gave fastboot a try on Galaxy Nexus and while I didn't get any errors spit back at me, it failed to find any devices attached to it, unlike the Nexus 7 which found anything I plugged into it. It is running v2.54 of paranoid android with the latest glados kernel (which is pretty old but I like it). Later I might try swapping through a few kernels, but unlikely any time soon (it can't take/make calls while flashing).

    Now this whole thing has me thinking, could we just strip clean a copy of Ubuntu for ARM (ya know, the one they are building specifically for the Nexus 7 might work) and toss that stuff into android? I mean, after all, the most useful things there are going to be command line tools that android is missing. I don't know what kind of dependency issues might arise.

    I dont have a transformer, but do have the Nexus 7 with ubuntu, and yes I use fastboot and adb from it. Works wonderfully. I can repair friends devices without a pc when out and about. Also yes, you can remove the .bin from the file name.

    Skyrocket on AOKP by R4ins
    1
    I'm still not 100% familiar with the Raspberry Pi and wat Arm-type CPU it is, and if it's armel7 or whatever. Iirc this binary was compiled using an armel7 toolchain, so it should probably work on armel7 or better systems.

    If the raspberry pi is same or better though, I don't know. I would hazard a guess to "maybe".

    One thing is sure: It doesn't link to Android itself, so it should be able to run in any normal Linux-environment.

    Try it, and report back? ;)