This diff is fascinating - it is from PW# version, not oasis though.:
Code:
diff -r 5.8.9.2/etc/upstart/console.conf 5.9.2/etc/upstart/console.conf
25c25
< # default unless we see e.g. console=ttymxc0,115200 on the kernel command line
---
> # default unless we see e.g. console=ttymxc0,115200 on the kernel command line
29a30,37
> # Based on https://wiki.labcollab.net/confluence/display/thorapollo/Cognac+security+lockdown+guideline
> # This feature is introduced from Zelda platform. For older platforms, we keep the login unlocked
>
> # default to unlock device
> prodVersion=0
> unlockedkernel=true
> secureCpu=0
>
33,40c41,60
< x=${i#console=}
< x=${x//,/ }
< if [ -n "$x" ]; then
< set $x
< [ -n "$1" ] && UART=$1
< [ -n "$2" ] && BAUD=$2
< fi
< ;;
---
> x=${i#console=}
> x=${x//,/ }
> if [ -n "$x" ]; then
> set $x
> [ -n "$1" ] && UART=$1
> [ -n "$2" ] && BAUD=$2
> fi
> ;;
> androidboot.prod*)
> val=$i
> prodVersion=${val##*=}
> ;;
> androidboot.unlocked_kernel*)
> val=$i
> unlockedKernel=${val##*=}
> ;;
> secure_cpu*)
> val=$i
> secureCpu=${val##*=}
> ;;
44c64,73
< exec getty -L $BAUD /dev/$UART 2>> $STDERR
---
> #We determine to execute getty, which prompts for the login password using the values in the /proc/cmdline file
> #The locked variable is used lock the prompt
>
> if [ "$prodVersion" == "0" -o "$unlockedKernel" == "true" -o "$secureCpu" = "0" ]; then
> #Unlocked Prompt if: unlockedKernel or not prod or not secure cpu
> exec getty -L $BAUD /dev/$UART 2>> $STDERR
> else
> exec getty -L $BAUD /dev/$UART -i -n -l /etc/upstart/custom-login 2>> $STDERR
> fi
>