• 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
44
65
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,898
1,660
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
44
65
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
44
65
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
44
65
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
44
65
@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
55
9
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.
  • 5
    Thank you for taking the time to help and wrap my head around the subject , much appreciated!

    Is this the same way a custom recovery increases the system partition?
    There are no custom recoveries that can do that.

    However. I'm working on a tool that will automate that process. There's a closed beta in the telegram channel and it will see a beta release on xda soon.
    3
    the solution is very simple to fix no audio in call, it is flash this patch: https://drive.google.com/file/d/1HvwSLudIiDqvIvd23Hxi5A4onaplM1Cd/view?usp=sharing, but real problem is our device cann't mount /vendor r/w, so this patch not work, so we have to wait phhtreble
    you can mount vendor r/w if you use a custom vendor from custom rom. flash dot OS or proton AOSP and u can modify vendor.
    try ur tweak and report back, cheers.
    3
    Can you please report on ahat's working and what's not working
    I was also successful in booting pixel 5 android 12 gsi which is much more stable than the 3a port(it was sluggish)
    On both ports:
    NFC, Bluetooth, D2W/D2S and calling doesn't work. Rest all works perfectly.
    Currently I'm on the pixel 5 port and I have to say it's very smooth and stable.

    Note: you will have to make your system partition of 4 GB instead of 3 GB to flash the pixel 5 system image.
    2
    the solution is very simple to fix no audio in call, it is flash this patch: https://drive.google.com/file/d/1HvwSLudIiDqvIvd23Hxi5A4onaplM1Cd/view?usp=sharing, but real problem is our device cann't mount /vendor r/w, so this patch not work, so we have to wait phhtreble
    Even if audio in calls works, you won't be able to make calls as VOLTE just doesn't work. I've literally tried everything and @Dollscythe is correct I was able to mount my vendor as r/w and modify it using DotOS as baseos.
    2
    I have also tried flashing nippon beta 5 gsi port from pixel 3xl & 3axl, i was able to boot these GSI but unfortunately Bluetooth & calling did not work for me as well. I have tried to find solution for volte but i couldn't.
    Pixel 2xl is my primary device so calling is must for me thats why i roll back to pixelexperience android 11 rom.
    @MridulDR @vatva69
    Someone suggest me in Nippon GSI support group on telegram to use Rom that has "R blob Vendor", it can easily fix the volte calling issue in GSI.
    Also we can edit "Overlays" that can also fix many GSI related issues.
    But i do not know what is "R blob vendor" & How to edit "Overlays" so i did not try it yet.
    If any senior member know about it then please guide us.

    View attachment 5417231
    I only found below flashing file (it is a magisk modual) for volte fix but it is for poco f1, i don't know it will work for pixel 2xl or not but i will try it after few days.
    @HR-21 don't bother I already tried this method, and doing this, in turn, breaks the fingerprint as the magisk module targets vendor partition.

    From "R Blob Vendor" I'm assuming that they were conveying to use the stable base vendor of android 11 (R), to which @Dollscythe already said to use DotOS as base os in this thread.

    I'm not sure about the overlays though.

    It'd be great help if any senior/new member with some knowledge about it could help us regarding this.
  • 15
    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
    Thank you for taking the time to help and wrap my head around the subject , much appreciated!

    Is this the same way a custom recovery increases the system partition?
    There are no custom recoveries that can do that.

    However. I'm working on a tool that will automate that process. There's a closed beta in the telegram channel and it will see a beta release on xda soon.
    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.