Android 12 Beta 5 GSI on Lenovo P2 ? - Lenovo P2 Questions & Answers

Did someone succeed in installing Android 12 Beta 5 GSI on his Lenovo P2 (Kuntao) ?
I was just curious to install it in order to test it and see what's new.
I tried every method I found but each time my phone goes into boot loop when rebooting after having flashed the GSI.

u using which vendor?

Astridxx said:
u using which vendor?
Click to expand...
Click to collapse
I tried with vendor installed (Android 11) :
coming from lineage-18.1-20210919-nightly-kuntao-signed.zip,
then the one coming from Havoc-OS-v4.8-20210821-kuntao-Unofficial.zip,
then the one coming from dotOS-R-v5.1.3-kuntao-UNOFFICIAL-20210825-0359.zip.
I think i must make a mistake somewhere.
I also tried installing an Android 11 GSI with the same result as for Android 12.
As the Lenovo P2 doesn't have a vbmeta partition I edited the boot.img in order to disable Android Verified Boot (AVB).

cocopipou said:
I tried with vendor installed (Android 11) :
coming from lineage-18.1-20210919-nightly-kuntao-signed.zip,
then the one coming from Havoc-OS-v4.8-20210821-kuntao-Unofficial.zip,
then the one coming from dotOS-R-v5.1.3-kuntao-UNOFFICIAL-20210825-0359.zip.
I think i must make a mistake somewhere.
I also tried installing an Android 11 GSI with the same result as for Android 12.
As the Lenovo P2 doesn't have a vbmeta partition I edited the boot.img in order to disable Android Verified Boot (AVB).
Click to expand...
Click to collapse
A11 or A10 vendor does not support treble
Try with this vendor: https://t.me/lenovodownloads/1026

Astridxx said:
A11 or A10 vendor does not support treble
Try with this vendor: https://t.me/lenovodownloads/1026
Click to expand...
Click to collapse
I tried yesterday by using your versions of vendor but I got same result : my phone refuses to boot.
I will then wait till the first GSI after the official release of Android 12 or till someone proposes a custom rom based on Android 12.

Bump!

Related

I can't boot with any rom

Hello, I recently flashed the Android Q GSI on my Xiaomi Mi 8 SE, It boot and work, but I don't like it and I uninstall It. Now I want to flash other GSI and any rom boot, only boots the Android Q GSIs, Do you know any solution?
FerOrtPav said:
Hello, I recently flashed the Android Q GSI on my Xiaomi Mi 8 SE, It boot and work, but I don't like it and I uninstall It. Now I want to flash other GSI and any rom boot, only boots the Android Q GSIs, Do you know any solution?
Click to expand...
Click to collapse
Any update on your issue, I am having similar problem with Android 9 and Huawei Mate SE, I can only boot to phh ROM 9 img and for stock 330, 351 and 354 updates I have to use HuRUpdater.
Every other ROM will restart the phone no matter what i tried.

Vendor Image Mismatch Android 10 Beta 5 GSI

Guys, I tried install Android 10 Beta 5 GSI (I no have idea why ) after of the give up I installed HavocOS, now is warning every reboot the mismatch vendor like it's a Huawei phone(in google backup show like it's a Huawei P20) . I think need of the vendor.img original, but I can't found.
Anybody know how I can fix it, please.
Don't use SafetyPatch
JarlPenguin said:
Don't use SafetyPatch
Click to expand...
Click to collapse
lol it was so simple, thank you so much.

Treble bootloop on G960F

Hello everyone,
I'm getting really frustrated hree as I can't flash any android 10 GSI. I either get bootloop, stuck on samsung logo or stuck on restarting on samsung logo.
Flashing different kernels seem to change the above behavior (instead of bootloop I get samsung logo and vice-versa).
I tried everything:
Doing the no-verity thingie...
Flashing stock files then GSI - nothing.
Flashing soldiers oreo kernel - nothing
Flashing endurance kernel - nothing
I can't find a vendor image that's compatible with any GSI on my phone. I also can't find any kernel that's compatible either.
So please, end my misery... if anyone managed to install android 10 GSI on this TREBLE COMPATIBLE DEVICE, please guide me through or provide any useful file (vendor img/kernel) that I might have been missed.
I wrote this because I couldn't find anything that could help... Thanks in advance!
EDIT:
I solved the problem with the kind help from phhusson and the guidance from Lanreallenjay (thanks, both of you!), so I'm trying to provide the solution for anyone that might be having the same problem as I had. So here it is:
For PIE GSI: use stock kernel/vendor (anything stock), flash the GSI, then flash Magisk -> it should boot fine now (only tested with phhusson's GSI. I had vibrating restart loops before, I wasn't installing magisk, that was my mistake)
For Android 10 GSI: same as above, but install the modded Magisk from phhusson's git (located @ v200 android 10 gsi post) instead of the normal one .
itShouldWork said:
Hello everyone,
I'm getting really frustrated hree as I can't flash any android 10 GSI. I either get bootloop, stuck on samsung logo or stuck on restarting on samsung logo.
Flashing different kernels seem to change the above behavior (instead of bootloop I get samsung logo and vice-versa).
I tried everything:
Doing the no-verity thingie...
Flashing stock files then GSI - nothing.
Flashing soldiers oreo kernel - nothing
Flashing endurance kernel - nothing
I can't find a vendor image that's compatible with any GSI on my phone. I also can't find any kernel that's compatible either.
So please, end my misery... if anyone managed to install android 10 GSI on this TREBLE COMPATIBLE DEVICE, please guide me through or provide any useful file (vendor img/kernel) that I might have been missed.
I wrote this because I couldn't find anything that could help... Thanks in advance!
Click to expand...
Click to collapse
What's your phone's specifications?
Lanreallenjay said:
What's your phone's specifications?
Click to expand...
Click to collapse
Hey, thanks for the interest!
I've got the S9 Exynos variant (SM-G960F, Europe), I unlocked the bootloader several days ago.
It's on android 9 right now, I flashed the stock firmware after I've tried everything to get android 10 treble to work and failed.
Current kernel version: 4.9.59-16947752 (stock)
Build number: PPR1.180610.011.G960FXXS7CSJ3
I can flash any rom available besides GSI (I've used lineage OS 16 for a couple of days).
If you need anything else more specific just ask, I don't really know what exactly can help with this situation.
Cheers!
itShouldWork said:
Hey, thanks for the interest!
I've got the S9 Exynos variant (SM-G960F, Europe), I unlocked the bootloader several days ago.
It's on android 9 right now, I flashed the stock firmware after I've tried everything to get android 10 treble to work and failed.
Current kernel version: 4.9.59-16947752 (stock)
Build number: PPR1.180610.011.G960FXXS7CSJ3
I can flash any rom available besides GSI (I've used lineage OS 16 for a couple of days).
If you need anything else more specific just ask, I don't really know what exactly can help with this situation.
Cheers!
Click to expand...
Click to collapse
Ask for help here
https://t.me/phhtreble/283195 <---
Read before any question ^^^
After flashing G960FXXS7CSJ3 November stock firmware I can no longer flash anything.
(can't mount data partition)
When I try downgrading to G960FXXU5CSF2 June firmware Odin fails and the screen says:
SW REV. CHECK FAIL (BOOTLOADER) DEVICE: 7 BINARY: 5
November G960FXXS7CSJ3 seems to have upgraded the bootloader security, does anyone know a fix?
itShouldWork said:
Hello everyone,
I'm getting really frustrated hree as I can't flash any android 10 GSI. I either get bootloop, stuck on samsung logo or stuck on restarting on samsung logo.
Flashing different kernels seem to change the above behavior (instead of bootloop I get samsung logo and vice-versa).
I tried everything:
Doing the no-verity thingie...
Flashing stock files then GSI - nothing.
Flashing soldiers oreo kernel - nothing
Flashing endurance kernel - nothing
I can't find a vendor image that's compatible with any GSI on my phone. I also can't find any kernel that's compatible either.
So please, end my misery... if anyone managed to install android 10 GSI on this TREBLE COMPATIBLE DEVICE, please guide me through or provide any useful file (vendor img/kernel) that I might have been missed.
I wrote this because I couldn't find anything that could help... Thanks in advance!
EDIT:
I solved the problem with the kind help from phhusson and the guidance from Lanreallenjay (thanks, both of you!), so I'm trying to provide the solution for anyone that might be having the same problem as I had. So here it is:
For PIE GSI: use stock kernel/vendor (anything stock), flash the GSI, then flash Magisk -> it should boot fine now (only tested with phhusson's GSI. I had vibrating restart loops before, I wasn't installing magisk, that was my mistake)
For Android 10 GSI: same as above, but install the modded Magisk from phhusson's git (located @ v200 android 10 gsi post) instead of the normal one .
Click to expand...
Click to collapse
So from stock you flashed AOSP 10 GSI to system partition then phh's magisk (in TWRP) then it works for you?
rupert3k said:
So from stock you flashed AOSP 10 GSI to system partition then phh's magisk (in TWRP) then it works for you?
Click to expand...
Click to collapse
Yep, it does. Buuut the rom is not stable at all, I've got random reboots/ crashes when opening settings and such, not usable at all. I'm on ONE UI 2.0 beta now which is much more stable (daily driver stable actually).
rupert3k said:
After flashing G960FXXS7CSJ3 November stock firmware I can no longer flash anything.
(can't mount data partition)
When I try downgrading to G960FXXU5CSF2 June firmware Odin fails and the screen says:
SW REV. CHECK FAIL (BOOTLOADER) DEVICE: 7 BINARY: 5
November G960FXXS7CSJ3 seems to have upgraded the bootloader security, does anyone know a fix?
Click to expand...
Click to collapse
Have you tried formatting data with TWRP (to the part when it asks you to write "yes") then flash no-verity?
You should at least be able to flash TWRP. If you can't, just download the proper USB drivers for your device, it might be the culprit.
Cheers!
itShouldWork said:
Yep, it does. Buuut the rom is not stable at all, I've got random reboots/ crashes when opening settings and such, not usable at all. I'm on ONE UI 2.0 beta now which is much more stable (daily driver stable actually).
Click to expand...
Click to collapse
Phh just hinted it's likely Pie vendor causing panics:
"First you need to flash stock rom. Then install magisk and then this gsi.
Though please note that on Pie vendor, S9 kernel panics and reboot every few minutes, so it is highly unusable."
itShouldWork said:
Hey, thanks for the interest!
I've got the S9 Exynos variant (SM-G960F, Europe), I unlocked the bootloader several days ago.
It's on android 9 right now, I flashed the stock firmware after I've tried everything to get android 10 treble to work and failed.
Current kernel version: 4.9.59-16947752 (stock)
Build number: PPR1.180610.011.G960FXXS7CSJ3
I can flash any rom available besides GSI (I've used lineage OS 16 for a couple of days).
If you need anything else more specific just ask, I don't really know what exactly can help with this situation.
Cheers!
Click to expand...
Click to collapse
I have tried Android 10 GSI , using latest Q update
ZoiraP said:
I have tried Android 10 GSI , using latest Q update
Click to expand...
Click to collapse
Is it usable? any random reboots/ annoying instability?
itShouldWork said:
Is it usable? any random reboots/ annoying instability?
Click to expand...
Click to collapse
I have tried it partly , nfc isnt working , camera quality is bad , Bluetooth working , audio working , magisk working . I'll use it a bit more and tell you.
ZoiraP said:
I have tried it partly , nfc isnt working , camera quality is bad , Bluetooth working , audio working , magisk working . I'll use it a bit more and tell you.
Click to expand...
Click to collapse
Camera quality might be fixed with Google cam, if you find a good port.
Not to derail the thread but I just noticed after installing Android 10 beta 2 Treble Info now reports my S9 supports Treble A/B, curious no?
rupert3k said:
Not to derail the thread but I just noticed after installing Android 10 beta 2 Treble Info now reports my S9 supports Treble A/B, curious no?
Click to expand...
Click to collapse
Wait what? That's interesting...
Can someone with more experience enlighten us about the differences between the A only and A/B?
A\B
itShouldWork said:
Wait what? That's interesting...
Can someone with more experience enlighten us about the differences between the A only and A/B?
Click to expand...
Click to collapse
No real experience but A\B devices have two slots ie double the partitions (OnePlus has 67) .
This allows updates to be installed while running from slot A while the updated system is copied to B.
Apparently Q requires A\B so now we're on Q may as well try that next time we're curious
Phh just released:
AOSP 10.0 v208
Fix suspend/dt2w for Samsung Q vendor
Fix backlight for Samsung Q vendor
Samsung Q's fine, love gestures but the bloat is killing me.
You can tell Q's going to be so much leaner without bixby & friends.
Glad we installed it to get compatible but I think now we probably stand a better chance with 10 GSI's, hopefully LOS17 & Pixel Experience get updated again soon.
Wondering whether to following the rooting instructions yet?
Phh did say "flash stock rom then magisk and then gsi"
https://forum.xda-developers.com/galaxy-s9/how-to/one-ui-2-beta-rooting-installing-twrp-t4012961
ZoiraP's wondering why we sooo slow lol!
Wow this looks good: https://forum.xda-developers.com/ga...-s9--s9-cross-device-development/rom-t4020939

[EOL] Project Treble for F8131/2 [Android 10]

Project Treble for F8131/2 [Android 10]​ReadMe
Hello, everyone, I'm Sjll. Tone family(Xperia msm8996 devices) will stay at kernel 4.9 for Android 10. Our treble support for Android 10 has been released. There are some differences between Treble Pie, you need to know that:
1. GSI should be A/B ARM64. NOT A only as Pie.
2. TWRP should use a new version for Android 10.
3. Never flash software binaries from SODP, it has been included in vendor.img
I am not responsible for bricked devices, dead SD cards
Required Files
Treble Files::
AndroidFileHost: Download Link
TWRP for Android 10.0::
Download Link
How to flash:
1. Download Treble Files and extract it.
2.
Code:
fastboot flash boot boot.img
fastboot flash oem vendor.img
fastboot flash system <Path of GSI.img>
3.Flash Twrp and other MODs.
4.Boot and enjoy
For F8132:
Flash a dual patch in twrp: You can download it from here.
For Devs:
See @local__hero's post: Link
Update and bugs:
V2.10:
Update to android-10.0.0-R31.
V1.96:
Update: Minimum brightness fixed.
V1.90:
Update: Rotation is fixed.
V1.86:
Update: Hotspot is fixed.
Bugs: Rotation is wrong.
V1.0:
Bugs: Hotspot is broken.
XDA:DevDB Information
Treble, ROM for the Sony Xperia X Performance
Source Codes
Link
Contributors
Sjll
ROM OS Version: 10.0
ROM Kernel: Linux 4.x
Paypal
I am very happy to receive your donation.
Version Information
Status: Beta
Created 2020-01-25
Last Updated 2020-03-18
Reserved
Reserved
hi sjjll ... thanks a lot .. the rom is very good and nice to use ... but this treble project doesn't support erfan GSi like your AOnly treble project ... almost all erfan ported ROMs that can boting the AOnly treble project can't boot at this treble project .. is there a solution ..? Thank you very much
edy sunanto said:
hi sjjll ... thanks a lot .. the rom is very good and nice to use ... but this treble project doesn't support erfan GSi like your AOnly treble project ... almost all erfan ported ROMs that can boting the AOnly treble project can't boot at this treble project .. is there a solution ..? Thank you very much
Click to expand...
Click to collapse
Hello, I think you'd better ask the GSI devs for help.
ok ... thanks a lot ... very good project ... bluetooth can't be connected in my device
Finally new treble project.. Thanks sjll.. Very appreciate it!
hi! i have a problem, my phone dont start, i try few gsi's ( AB arm64 format) and no one dont start, only trying finish bootanimations, can you help me? I have a f8132, and trying flash your fix for dual, but with it or whithout - dont work..
Hello.. Which gsi you were trying to use?
This vendor based on aosp pure gsi.. This will compatible with phhuson's gsi,expressluke's gsi,..you can try Pixel Experience by expressluke latest build.. Its already tested and booted.. Havoc os 3.1 Expressluke also working fine with this sjll's vendor..
Fhcker90 said:
Hello.. Which gsi you were trying to use?
This vendor based on aosp pure gsi.. This will compatible with phhuson's gsi,expressluke's gsi,..you can try Pixel Experience by expressluke latest build.. Its already tested and booted.. Havoc os 3.1 Expressluke also working fine with this sjll's vendor..
Click to expand...
Click to collapse
yes this treble project works well on havoc 3.1 expressluke .. i've tried it .. cooler and feels lighter ..
Thank's to sjll
Z3r0.v said:
hi! i have a problem, my phone dont start, i try few gsi's ( AB arm64 format) and no one dont start, only trying finish bootanimations, can you help me? I have a f8132, and trying flash your fix for dual, but with it or whithout - dont work..
Click to expand...
Click to collapse
Try lineage GSI please.
https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
Sjll said:
Try lineage GSI please.
https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
Click to expand...
Click to collapse
I trying lineage from you, trying havoc 3.1 expressluke and nothing
On lineage bootanimation dont start, on havoc problem with bootloop, idk how i cat solved this problem..
Sjll said:
Try lineage GSI please.
https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
Click to expand...
Click to collapse
f8132. The patch for dual sim does not work. in single SIM card mode - it doesn’t work with all operators, I live in Kazakhstan - the beeline and the asset work without problems, Altel and Body 2 do not work. Wi-Fi also turns off after 10 minutes of use. is there any way to solve the communication problem? I liked everything, but for work I need two sims - Beeline and Altel. And it’s not convenient to carry two phones with you.
DAC doesn't work
what is the difference between v1 and v2?
OTG does not work
Cannot get this to work. Installing latest Oreo stock rom via flashtool. Booting it once. Then I put the device into fastboot mode, flashing everything exactly as described. I have tried several GSIs (PixelExperience, Lineage, HavocOS 3.1). Of course arm64 AB. When I reboot, I always end in a boot loop after the boot logo. When I boot into TWRP recovery, I see error messages like "cannot mount /data and unable to find crypto footer. Failed to mount /data…" and so on. But formatting /data in TWRP does not help: When I reboot afterwards it is just the same. Boot logo, reboot, boot logo, reboot.... forever.
Am I missing something? Do I have to disable encryption or soemthing like that? Thanks for any hints.
atlantix1 said:
Cannot get this to work. Installing latest Oreo stock rom via flashtool. Booting it once. Then I put the device into fastboot mode, flashing everything exactly as described. I have tried several GSIs (PixelExperience, Lineage, HavocOS 3.1). Of course arm64 AB. When I reboot, I always end in a boot loop after the boot logo. When I boot into TWRP recovery, I see error messages like "cannot mount /data and unable to find crypto footer. Failed to mount /data…" and so on. But formatting /data in TWRP does not help: When I reboot afterwards it is just the same. Boot logo, reboot, boot logo, reboot.... forever.
Am I missing something? Do I have to disable encryption or soemthing like that? Thanks for any hints.
Click to expand...
Click to collapse
After flashing stock and booting it once. Make sure to wipe everything except internal storage and SD and then flash the files. Also, have you tried flashing trough a PC?
Some random said:
After flashing stock and booting it once. Make sure to wipe everything except internal storage and SD and then flash the files. Also, have you tried flashing trough a PC?
Click to expand...
Click to collapse
Okay, I now also wiped everything *before* flashing the treble Images. But the result is the same. I flash via PC and the current version of fastboot. I have also tried now version 1.96 of the treble Images (tried 2 before) with no luck. Anyway, thanks for the advice.
atlantix1 said:
Okay, I now also wiped everything *before* flashing the treble Images. But the result is the same. I flash via PC and the current version of fastboot. I have also tried now version 1.96 of the treble Images (tried 2 before) with no luck. Anyway, thanks for the advice.
Click to expand...
Click to collapse
Hmmmmmmmm.
Sad
Sadly, thats all that comes to mind... What Rom Were you trying to install? (GSI)

TWRP 3.5.1 Supports Android 11

I noticed a few days ago that a new version of TWRP that supports Android 11 is available for a lot of popular phones including the Pixel 3a. I was wondering if anyone has tried installing and using this version of TWRP yet. If you have, did you have any issues installing and using it?
TWRP 3.5.1
Tried it already, and got an error. However I am on A10. This was a mini update before A11 support. Read here.
Can you install android twrp on android 10? and can u install 10 based roms using said twrp?
Denu228 said:
Can you install android twrp on android 10? and can u install 10 based roms using said twrp?
Click to expand...
Click to collapse
No, our official TWRP only supports A9 for now.
MoistPicklez said:
No, our official TWRP only supports A9 for now.
Click to expand...
Click to collapse
Any idea if 3.5.2_9 ( https://dl.twrp.me/sargo/ ) does support Android 11? No instructions about how to install it....
Fentadroid said:
Any idea if 3.5.2_9 ( https://dl.twrp.me/sargo/ ) does support Android 11? No instructions about how to install it....
Click to expand...
Click to collapse
It doesn't work on A11 or A10 yet. These are mini releases before A11 support.
MoistPicklez said:
It doesn't work on A11 or A10 yet. These are mini releases before A11 support.
Click to expand...
Click to collapse
Ok, thank you
Using 3.5.1_9 on LG V20. Any idea why it seems to think that the year is 2067? I thought the flux capacitor in my DeLorean was broken.
is there android 11 support yet?
They would have to figure out the A/B partition thing.
That was the issue a year ago, at least.
blksith0 said:
They would have to figure out the A/B partition thing.
That was the issue a year ago, at least.
Click to expand...
Click to collapse
I really enjoyed using TWRP on older android versions but sadly, I don't think the A/B partition issue will be resolved.
Hey, a working TWRP for A11 on Sargo has been created by @Captain_Throwback on the Sargo/Bonito Telegram group. Should be available soon.
Anghirrim said:
Hey, a working TWRP for A11 on Sargo has been created by @Captain_Throwback on the Sargo/Bonito Telegram group. Should be available soon.
Click to expand...
Click to collapse
Could you share the Telegram group link please?
edit: found it: https://t.me/pixel3a/
benji said:
Could you share the Telegram group link please?
edit: found it: https://t.me/pixel3a/
Click to expand...
Click to collapse
Yep, saw you joining.
Has anyone had any luck with the news 3.6 build of twrp from nov 21?
Download TWRP for sargo
Download TWRP Open Recovery for sargo
dl.twrp.me
sciwhiz said:
Has anyone had any luck with the news 3.6 build of twrp from nov 21?
Download TWRP for sargo
Download TWRP Open Recovery for sargo
dl.twrp.me
Click to expand...
Click to collapse
No, I updated to Android 12 in November before TWRP 3.6 was released.
I was able to boot 3.6.0 with android 12 installed, BUT /data failed decryption, so I'm guessing needs a12 encryption update. I did not try to install it, just fastboot the image.
This is the first time I tried TWRP on the 3a, as I upgraded to a10 immediately after getting the phone two years ago.
Google Pixel 3A is Stuck in Bootloader & OEM is Unlocked while performing software Update.
please help installing TWRP with ADB unauthorized.
Any update on this? I'd like to use TWRP and flash Lineage 18 (Android 11)

Categories

Resources