• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][ANDROID S BETA 3.1] Android 12 and any GSI larger than 2.6GB

Search This thread

Dollscythe

Member
Jul 23, 2021
36
55
If you need help, join the telegram group.

*REQUIRED* Follow the guide I made here to increase your system partition.

Download Android 12 Beta 3.1 GSI here: Direct link

Make sure to use a stable base OS, preferably dotOS, OR ELSE FINGERPRINT WON'T WORK.

After that, you can install any GSI/flash any size Gapps without issue.

You don't need Gapps, they are preloaded.


  1. Reboot into fastboot mode.
  2. Wipe your data partition: fastboot format:ext4 userdata
  3. Clean cache and factory reset: fastboot -w
  4. flash the GSI: fastboot flash system_a path/to/system.img
  5. flash the GSI in other slot: fastboot flash system_b path/to/system.img
  6. Test boot.
If it doesn't boot, download vbmeta for your device and flash in fastboot mode.
  1. fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
  2. fastboot -w
Bugs:
  • No sound in call.
Some fixes:
  • Install GMS with adb install -r -d path/to/gms.apk to login to Google
  • After flashing system image, don't reboot into system, immediately boot into TWRP and flash this file! This is necessary to disable encryption, so TWRP can boot successfully.

1627349705135.png
1627352232766.png
Screenshot_20210727-043809.png
Screenshot_20210727-043817.png
Screenshot_20210727-043846.png
Screenshot_20210727-043852.png
Screenshot_20210727-043714.png
Screenshot_20210727-043323.png

download
 
Last edited:

73sydney

Senior Member
Jul 21, 2018
1,843
1,599
Sydney
Google Pixel 2 XL
@Dollscythe

Appreciate the resize guide, especially as i like a full GApps install :)

But the ROM is impossible to download it seems...

Note: Im able to download other files at SF

Update: Finally found a working mirror - for anyone else try the Gigenet mirror (Chicago), by clicking "Problems Downloading"
 
Last edited:

irmas5

Senior Member
If you need help, join the telegram group.

Follow the guide I made here to increase your system partition.

USE STOCK RECOVERY!!!!!!!!

After that, you can install any GSI/flash any size Gapps without issue.

Download Android 12 Beta 3.1 GSI here: Direct link

You don't need Gapps, they are preloaded.

  1. Reboot into fastboot mode.
  2. Wipe your data partition: fastboot format:ext4 userdata
  3. Clean cache and factory reset: fastboot -w
  4. flash the GSI: fastboot flash system_a path/to/system.img
  5. flash the GSI in other slot: flash system_b path/to/system.img
  6. Test boot.
If it doesn't boot, flash this file in fastboot mode.
  1. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  2. fastboot -w

View attachment 5371367View attachment 5371395View attachment 5371423View attachment 5371425View attachment 5371427View attachment 5371429View attachment 5371431View attachment 5371433
Be great to know who's working who no on this rom. Thank you
 
  • Like
Reactions: RandomPRSN

Dollscythe

Member
Jul 23, 2021
36
55
Update! With GMS, overlay, and fingerprint sensor fixes. We are getting closer!

And the users that had unbootable slot error, it should be fixed too if you flash vbmeta. Make sure to follow the fixes section too.

EDIT: RIL is fine, SMS is fine, we can even accept and take calls. But there's no sound! Any devs can chime in and help?
 

irmas5

Senior Member
Update! With GMS, overlay, and fingerprint sensor fixes. We are getting closer!

And the users that had unbootable slot error, it should be fixed too if you flash vbmeta. Make sure to follow the fixes section too.

EDIT: RIL is fine, SMS is fine, we can even accept and take calls. But there's no sound! Any devs can chime in and help?
tryed repart and get a bootloop. deleting partition disconected phone from laptop, Tryed flash via deuces script. showing installed, restarting, but never not booting. stuck at google logo. Can you help me please?
 

Dollscythe

Member
Jul 23, 2021
36
55
tryed repart and get a bootloop. deleting partition disconected phone from laptop, Tryed flash via deuces script. showing installed, restarting, but never not booting. stuck at google logo. Can you help me please?
show me your new partition table
boot to twrp

Copy parted to /sbin.
adb push path/to/parted /sbin

Enter shell mode.
adb shell

Change permissions of parted.
chmod 777 /sbin/parted

then do parted /dev/block/sda
 

irmas5

Senior Member
show me your new partition table
boot to twrp

Copy parted to /sbin.
adb push path/to/parted /sbin

Enter shell mode.
adb shell

Change permissions of parted.
chmod 777 /sbin/parted

then do parted /dev/block/sda
PS C:\platform-tools> adb push "C:\Users\irmas\Desktop\Pixel 2 xl\parted"/sbin
2250 KB/s (470788 bytes in 0.204s)
PS C:\platform-tools> adb shell
taimen:/ # chmod 777 /sbin/parted
taimen:/ # parted /dev/block/sda
GNU Parted 3.2
Using /dev/block/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

(parted) p free
Model: SAMSUNG KLUCG4J1ED-B0C1 (scsi)
Disk /dev/block/sda: 62.5GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
12.3kB 24.6kB 12.3kB Free Space
1 24.6kB 50.4MB 50.3MB laf_a
2 50.4MB 101MB 50.3MB laf_b
3 101MB 101MB 8192B ssd
4 101MB 134MB 33.6MB ext4 persist
5 134MB 135MB 1049kB misc
6 135MB 169MB 33.6MB ftm
7 169MB 2853MB 2684MB ext2 system_a
8 2853MB 5538MB 2684MB ext2 system_b
9 5538MB 5546MB 8389kB pstore
10 5546MB 5546MB 524kB aes_a
5546MB 62.5GB 57.0GB Free Space

(parted)
 
Last edited:

Dollscythe

Member
Jul 23, 2021
36
55
PS C:\platform-tools> adb push "C:\Users\irmas\Desktop\Pixel 2 xl\parted"/sbin
2250 KB/s (470788 bytes in 0.204s)
PS C:\platform-tools> adb shell
taimen:/ # chmod 777 /sbin/parted
taimen:/ # parted /dev/block/sda
GNU Parted 3.2
Using /dev/block/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

(parted) p free
Model: SAMSUNG KLUCG4J1ED-B0C1 (scsi)
Disk /dev/block/sda: 62.5GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
12.3kB 24.6kB 12.3kB Free Space
1 24.6kB 50.4MB 50.3MB laf_a
2 50.4MB 101MB 50.3MB laf_b
3 101MB 101MB 8192B ssd
4 101MB 134MB 33.6MB ext4 persist
5 134MB 135MB 1049kB misc
6 135MB 169MB 33.6MB ftm
7 169MB 2853MB 2684MB ext2 system_a
8 2853MB 5538MB 2684MB ext2 system_b
9 5538MB 5546MB 8389kB pstore
10 5546MB 5546MB 524kB aes_a
5546MB 62.5GB 57.0GB Free Space

(parted)
You didnt finish the partitions.

there's supposed to be aes_b, and userdata, etc.



you didnt follow the tutorial properly
 

irmas5

Senior Member
plus, from what you sent me, your system is still 2.6 GB. you didnt properly finish deleting the partitions with 'rm' command. you stopped at aes_b.
I restarted again everything from begining and now goes well. Now flashed proton aosp and booting. now showing
PS C:\platform-tools> adb shell
taimen:/ # chmod 777 /sbin/parted
taimen:/ # parted /dev/block/sda
GNU Parted 3.2
Using /dev/block/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p free
Model: SAMSUNG KLUCG4J1ED-B0C1 (scsi)
Disk /dev/block/sda: 62.5GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
12.3kB 24.6kB 12.3kB Free Space
1 24.6kB 50.4MB 50.3MB laf_a
2 50.4MB 101MB 50.3MB laf_b
3 101MB 101MB 8192B ssd
4 101MB 134MB 33.6MB ext4 persist
5 134MB 135MB 1049kB misc
6 135MB 169MB 33.6MB ftm
7 169MB 3269MB 3100MB ext2 system_a
3269MB 3269MB 459kB Free Space
8 3269MB 6369MB 3100MB ext2 system_b
9 6369MB 6379MB 9953kB pstore
10 6379MB 6380MB 999kB aes_a
11 6380MB 6381MB 999kB aes_b
12 6381MB 6391MB 9998kB align_parti
6391MB 6391MB 69.6kB Free Space
13 6391MB 62.5GB 56.1GB ext4 userdata
62.5GB 62.5GB 12.3kB Free Space
 
Last edited:

Dollscythe

Member
Jul 23, 2021
36
55
@Dollscythe

Appreciate the resize guide, especially as i like a full GApps install :)

But the ROM is impossible to download it seems...

Note: Im able to download other files at SF

Update: Finally found a working mirror - for anyone else try the Gigenet mirror (Chicago), by clicking "Problems Downloading"
since opengapps is back, this guide is perfect to flash the highest gapps package possible. i have 4GB system partition XD
 
  • Like
Reactions: 73sydney

我是十七

Senior Member
Dec 17, 2020
52
8
134|taimen:/ # parted /dev/block/sda
Warning: Device /dev/block/sda has a logical sector size of 4096. Not all parts
of GNU Parted support this at the moment, and the working code is HIGHLY
EXPERIMENTAL.

GNU Parted 1.8.8.1.179-aef3
Using /dev/block/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p free
p free


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.8.8.1.179-aef3)
along with the error message below, the output of

parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Error: SEGV_MAPERR (Address not mapped to object)
Aborted
What caused this????
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    For people having trouble doing this, I will release a video.
    2
    I followed your instructions to the T @Dollscythe, it worked flawlessly. Pure awesomeness! Grateful for your work 🤗
    1
    OP states that this is a ported GSI - but also that I can flash any GSI.

    Can I flash Android 12 beta 5 GSI from here now?

    Thanks in advance!
    Yes.
  • 14
    If you need help, join the telegram group.

    *REQUIRED* Follow the guide I made here to increase your system partition.

    Download Android 12 Beta 3.1 GSI here: Direct link

    Make sure to use a stable base OS, preferably dotOS, OR ELSE FINGERPRINT WON'T WORK.

    After that, you can install any GSI/flash any size Gapps without issue.

    You don't need Gapps, they are preloaded.


    1. Reboot into fastboot mode.
    2. Wipe your data partition: fastboot format:ext4 userdata
    3. Clean cache and factory reset: fastboot -w
    4. flash the GSI: fastboot flash system_a path/to/system.img
    5. flash the GSI in other slot: fastboot flash system_b path/to/system.img
    6. Test boot.
    If it doesn't boot, download vbmeta for your device and flash in fastboot mode.
    1. fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
    2. fastboot -w
    Bugs:
    • No sound in call.
    Some fixes:
    • Install GMS with adb install -r -d path/to/gms.apk to login to Google
    • After flashing system image, don't reboot into system, immediately boot into TWRP and flash this file! This is necessary to disable encryption, so TWRP can boot successfully.

    1627349705135.png
    1627352232766.png
    Screenshot_20210727-043809.png
    Screenshot_20210727-043817.png
    Screenshot_20210727-043846.png
    Screenshot_20210727-043852.png
    Screenshot_20210727-043714.png
    Screenshot_20210727-043323.png

    download
    5
    Update! With GMS, overlay, and fingerprint sensor fixes. We are getting closer!

    And the users that had unbootable slot error, it should be fixed too if you flash vbmeta. Make sure to follow the fixes section too.

    EDIT: RIL is fine, SMS is fine, we can even accept and take calls. But there's no sound! Any devs can chime in and help?
    4
    Be great to know who's working who no on this rom. Thank you
    For now FP and calling is not working. Everything else is perfect. This rom is for those who want to test new theming etc.

    I am working on a fix for fp and RIL.
    3
    Wait... Does it for Pixel 3 but not Pixel 2 XL?


    This guide is for pixel 2xl.

    the GSI is ported from pixel 3 android S beta 3.1, but it works on pixel 2xl and all A/B devices.
    3
    For people having trouble doing this, I will release a video.