引导加载程序解锁

adb reboot bootloader —重启手机初始化硬件设备
fastboot flashing unlock
fastboot getvar unlocked
fastboot reboot
adb root
adb disable-verity
adb reboot
adb root
adb remount

实际操作
1,在手机中进入设置,将手机设为开发者模式,在开发这模式中选择OEM unlocking
2,连接ADB,打开cmd,输入adb reboot bootloader
3,当手机画面中出现fastboot mode, 在cmd中输入fastboot flashing unlock
4,手机中会出现好几串文字的画面,按音量下键,切换到下一个选项界面,在cmd中输入fastboot reboot
5,手机重启(注意不要联网,不要更新),按一下指令执行

在测试CTS Verifier测试的时候,有一项为开发者选项" OEM unlocking"功能,测试的时候需要人为进行判断是否成功。 测试此项前,需要执行如下动作: adb shell settings put global hidden_api_policy 1 adb install -r -g CtsVerifier.apk adb install -r -t CtsEmptyDeviceOwner.apk adb shell dpm set-device-owner com.android. mSliPaint = new Paint(); mSliPaint.setColor(Color.parseColor(#4a4c5b)); mSliPaint.setAntiAlias(true); mBgPaint = new Paint(); mBgPaint.setColor(Color.parseColor(#a6a6a6)); mBgPaint.setAntiAlias(true); mBluePaint frameworks\base\services\core\java\com\android\server\pm\UserManagerService.java 查看 framework/…/ 下 该属性config_defaultFirstUserRestrictions 是否配置了 oem _unlock 限制,去除即可。 @GuardedBy({"mPackagesLock", "mRestrictionsLock"}) private void fallbackToSingleUs Part I: What is Android—The Big Picture Chapter 1: Targeting Android Chapter 2: Development environment Part II: Learning Android’s Key Technologies Chapter 3: User Interfaces Chapter 4: Intents and Services Chapter 5: Storing and Retrieving Data Chapter 6: Networking Chapter 7: Telephony Chapter 8: Notification and Alarms Chapter 9: Graphics and Animation Chapter 10: Multimedia Chapter 11: Location Based Services Part III: Android applications for the Real Device Chapter 12: Putting it all together: A Field Service Application Chapter 13: Hacking Android Appendix: Installing the Android SDK hi,因为同学们学完了我的课程后,开始想玩一下google的pixel实体机,不想一直玩模拟器了,那么千里马老师今天也在咸鱼上掏了一个pixel 3来给大家展示一下这个google的机子怎么玩,其实我自己本身是有小米的lineage系统在玩,为了满足广大粉丝的好奇心也就自掏腰包买了个pixel玩,下面我们正式开始记录整个pixel 3的刷入自己编译修改的aosp代码: 入门课,实战课,跨进程专题,input专题 ps需要学习深入framework课程和课程优惠 新课程优惠获取请加入qq群:422901085