> 1. Is it possible to rename the unlock command to say 'fastboot oem 
secret_word'?

The host side of fastboot is open source, so you can do whatever you want 
to it, including adding an alias called "secret_word" or any other change. 
See
https://android.googlesource.com/platform/system/core/+/master/fastboot

However the device side of fastboot is often closed source, so you would 
need to work with the device OEM if you want to change that.

> 2. Is is possible if some one unlocks the device that it also formats the 
/system partition?

Standard implementations wipe the data partition.  If you want to modify 
the code to wipe more partitions, see #1 above.

On Wednesday, July 12, 2017 at 11:35:34 AM UTC-7, Joey Troy wrote:
>
> I have two questions and was wondering if anyone could assist
>
> 1. Is it possible to rename the unlock command to say 'fastboot oem 
> secret_word'?
>
> 2. Is is possible if some one unlocks the device that it also formats the 
> /system partition?
>
> Thanks,
>
> Joey
>

-- 
-- 
unsubscribe: [email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to