Sebastian,

Are you writing your own bootloader? If not each bootloader has a set of
commands that the OEM writes. From Samsung to HTC to vendor X each does it
different. Most boootloaders are based on the little Kernel

https://www.codeaurora.org/blogs/little-kernel-based-android-bootloader

To find more in depth fastboot commands here is a slick post from XDA

https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/


On Tue, Sep 19, 2017 at 11:26 AM 'Sebastian Priebe' via android-porting <
android-porting@googlegroups.com> wrote:

> Hello,
>
> I'm searching for information abound bootloader requirements for Android.
> What are the duties and responsibilities of the bootloader?
>
> I have found the following topics but I'm lacking the details:
> 1. bootloader shall support fastboot protocol
>  * which commands shall be supported (e.g. flash, unlock, ...)?
> 2. bootloader shall handle commands from the BCB (bootloader control block)
>  * which commands must be supported (e.g. wipe data)?
>  * does the bootloader perform the factory-reset (i.e. wipe the userdata
> partition)?
> 3. for A/B updates:
>  * bootloader shall mark partitions unbootable
>  * bootloader shall provide a slot suffix in the kernel command line
>  * what else?
> 4. bootloader shall support booting into recovery
>
> Where can I find documentation or examples for all these things?
>
> Am I missing some duties or responsibilities of the bootloader?
>
> Thx.
> Sebastian
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to