[Q] Compile fastboot? - Android Q&A, Help & Troubleshooting

Is there some source code available for Fastboot? I have a Samsung Galaxy s5, but since Samsung doesn't enable fastboot for their products I was wondering if I could compile it myself and somehow implement it in my rom/kernel or whatever.
I know I could use some tools to create img to tar.md5 for Odin or I could create an edify script so I can make a flashable zip, but fastboot sounds much easier.
Sooooo any help would be appreciated

BUMP

Related

[Q] how to convert zImage to boot.img

Hi there guys,
I am having an issue and was wondering if someone could point me in the right direction, maybe to a tutorial or some decent info on this.
Anyways, I have been tinkering around and teaching myself about building kernels, and roms and just a short while ago finished compiling my first kernel. I have the zImage, and i have tried adding the zImage to Koush's AnyKernel updater.zip but when i try and flash it says failed but is not displaying any errors (Using TWRP recovery) Or I am doing this wrong and need to unpack and repack boot.img with the new zImage?
Any help is greatly appreciated, Thanks!:good:
(edit) I am building on Fedora 17
You answered your own question.
Unpack the boty.img and repack with new zImage
So I was in the right ball park at least.
Sent from my SGH-T989 using Tapatalk 2
Will fastboot boot boot.img work on the galaxy note for testing a kernel? In case I have a borked kernel I want to take precautions so I don't brick my device.
Sent from my SAMSUNG-SGH-T879 using Tapatalk 2
No to fastboot.
With a broken kernel you should still be able to button combo into recovery and just flash a working kernel .zip
Or..at the very least be able to boot download mode and use Odin to flash the kernel.
I have gotten the boot.IMG all packed back up and when I flash it, my phone just hangs up at the white Samsung logo screen and does not go any further. Does something in the ramdisk have to be edited?
Tapa-a-Talkit it... Galaxy Note...4.2.1

Build kernel from source and flash it in GTi9300

Hello,
since I don't yet have access for the specific section I post here
I can't find how to flash a kernel built from source (aka zImage). Since fastboot is not available on GS3, I just want an alternative tech to boot my gs3 with my build zImage.
I build the source from stock kernel samsung opensource database (update 8) and receive a zImage file.
I made a backup with cwm and unpack the boot.img with a perl script, then repack a new boot.img with my zImage as kernel and the ramdick from unpack but cannot boot with new package.
Could someone maybe give me a kernel source and the right corresponding package to boot it. Or maybe just a good way to make the whole process.
My final goal is to build a custom module for the GS3, that's my I need building from source and not an already-packed-kernel. Moreover if someone can help me directly about the module, he's very welcome

[Q] Need new alcatel boot.img (from sourcecode?)

Hello there,
I accidentally flashed a wrong boot.img with sp flash tool. I can still acces CWM based recovery. I do not have a ROM or boot.img backup and was unable to find either one online. The phone is an Alcatel one touch 916D, since Alcatel is open source, I downloaded the source code something.xz file (sourceforge.net/projects/alcatel/files/OT_991D_20120718.tar.xz/download), it should be possible to flash this to my phone using Odin right? I tried so, but Odin does not detect my phone. So I was wondering, is it perhaps possible to extact/create a boot.img from the source code file I have? I unzipped it and there are the folders kernel, mediatek and webkit. I have not found a boot.img anywhere in the files. I hope someone is able to help me.
thank you,
Jeroen
PS: If someone has the boot.img or can extract it from his/her phone that'd be even better

Creating custom recovery

Hi! Guys i am using spreadtrum mobile hardware of it is scx15 i need custom recovery i had stock recovery and boot images can any help me thankx in advance of solutions
Sent from my SM-G7102 using XDA Forums
my jumbled up guide: hope it makes sense
http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
once you have a cwm img, slip the zimage from your boot img into the cwm img. using the tools from here https://github.com/lgrootnoob/l1v_kernel_img_and_binaries
here is the device tree that i made for my phone's recovery. https://github.com/lgrootnoob/android_device_lge_l1v
basically, learn how github works. learn the build system of cyanogenmod http://wiki.cyanogenmod.org/w/Doc:_Building_Basics
put together the proper fstab for your device.
tweak the boardconfig.mk
and use
Code:
make recoveryimage
to build.
the img will be in the "out" directory.
either use flashify or dd to flash the img.

how to flash boot.img on Samsung gt-s6012?

Hi all..
I have complied my source code and brought up zImage and I have ram disk file. Using mkbootimg tool I created my own boot.img. Now how can I flash that boot.img on my Samsung GT-S6012 mobile.
As I found someone saying that Samsung mobiles doesn't have fast-boot mode or boot-loader mode.
Someone please help with a solution to make this happen.
Thanks in advance

Categories

Resources