Join us on Tl   Wh

Hovatek Forum MOBILE Android android 12 bootloop when lock oem after flash gsi12

android 12 bootloop when lock oem after flash gsi12

android 12 bootloop when lock oem after flash gsi12

andforce111
andforce111
andforce111
Newbie
3
31-07-2024, 06:12 AM
#1



Thanks for great posts:

https://www.hovatek.com/forum/thread-32674.html

https://www.hovatek.com/forum/thread-32664.html

it's works fine on my android 10 device:

I unlocked android 10 device, and sign system.img vbmeta.img vbmeta_system.img with .pem file.

I flashed system.img vbmeta.img vbmeta_system.img and relock oem, the device works fine.


With above method, my another android 12 device, bootloop after relock (work fine if not relock ome lock).

I find different between 10 and 12:

super.img in android 10:

only have system.img and product.img


super.img in android 12:

PHP Code:

-rw-r--r-- 1 dy dy    271257600 7月  29 17:39 product_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 product_b.img
-rw-r--r-- 1 dy dy    654548992 7月  29 17:39 system_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 system_b.img
-rw-r--r-- 1 dy dy    343097344 7月  29 17:39 system_ext_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 system_ext_b.img
-rw-r--r-- 1 dy dy    805707776 7月  29 17:39 vendor_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 vendor_b.img
-rw-r--r-- 1 dy dy     15613952 7月  29 17:39 vendor_dlkm_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 vendor_dlkm_b.img 



how to relock oem lock after flash gsi on android 12 devices?
This post was last modified: 31-07-2024, 06:14 AM by andforce111.
maxpayne
maxpayne
maxpayne
Intern
4,033
07-08-2024, 03:10 PM
#2
(31-07-2024, 06:12 AM)andforce111 Thanks for great posts:

https://www.hovatek.com/forum/thread-32674.html

https://www.hovatek.com/forum/thread-32664.html

it's works fine on my android 10 device:

I unlocked android 10 device, and sign system.img vbmeta.img vbmeta_system.img with .pem file.

I flashed system.img vbmeta.img vbmeta_system.img and relock oem, the device works fine.


With above method, my another android 12 device, bootloop after relock (work fine if not relock ome lock).

I find different between 10 and 12:

super.img in android 10:

only have system.img and product.img


super.img in android 12:

PHP Code:

-rw-r--r-- 1 dy dy    271257600 7月  29 17:39 product_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 product_b.img
-rw-r--r-- 1 dy dy    654548992 7月  29 17:39 system_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 system_b.img
-rw-r--r-- 1 dy dy    343097344 7月  29 17:39 system_ext_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 system_ext_b.img
-rw-r--r-- 1 dy dy    805707776 7月  29 17:39 vendor_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 vendor_b.img
-rw-r--r-- 1 dy dy     15613952 7月  29 17:39 vendor_dlkm_a.img
-rw-r--r-- 1 dy dy            0 7月  29 17:39 vendor_dlkm_b.img 



how to relock oem lock after flash gsi on android 12 devices?

You shouldn't be relocking bootloader after modifying the OS. Some models signed their partitions using the generic .pem key and that's why they still work fine after relock. Some models might use the generic .pem key for bootloader unlock but use different keys to sign partitions. This is why they brick when you relock.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt