Device side's codes are bootloader/lk

2017年7月15日 21:41,"Joey Troy" <joey.t...@gmail.com>写道:

So far no luck. Would you have an idea on how I would implement this on
5.1.1?

On Thursday, July 13, 2017 at 10:48:31 AM UTC-6, Joey Troy wrote:
>
> Thanks Glen, I have been building for Lollipop and the .cpp files are not
> in that branch. I will see what I can do to merge them in so I can make
> those changes to just wipe the partition on an unlock.
>
> On Thursday, July 13, 2017 at 8:41:54 AM UTC-6, Glenn Kasten wrote:
>>
>> > 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: 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