yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
sometimes it's fastboot version issue.

try using the fastboot i linked.

also, did you flash the vbmeta as instructed in the GSI flash guide?

aside from that, now that your system is 3GB, you can definitely flash android 12. although i advice against it, until beta 4, it's buggy right now.
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
I was using what i thought were the latest platform tools, but i just checked and it was 30.0.4 (July last year) :)

Next time i try it, ill try with the newer platform tools

I did try vbmeta...no change, device corrupt

ill take the 3Gb system part as a win for now :)
[Google Pixel 2 XL Guides, News, & Discussion] jonpjingleheimler:
It took a lot of searching to find what i was doing wrong. once parted was up the rest was really straightforward. I do not understand why i could not push using the command listed here however for some reason a post on a different site showed how to create a temp folder in the sdcard, it went first try. thank you for an educational (for me) adventure. i really dug learning some shell commands and putting them to good use.
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
If you have parted in the same path youre running adb from (and you seem to be) then:

adb push parted /sbin

theres no need to quote the entire file path when in same directory, and watch those slashes...
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
A lot of us managed to flash android 12 by the way. At this point 90% of bugs are fixed.

you can try it already, if you can live with a non-working sound in calls.
[Google Pixel 2 XL Guides, News, & Discussion] jonpjingleheimler:
I really need phone for this device. The Dot OS listed in op is a really nice ROM. I tried installing the GSI with gapps but I got the not enough space message. I'm rather certain I followed the repartition steps listed but even after flashing a vanilla ROM then flashing gapps I still get not enough space message. Pico is 106mb my free space shows 64mb. I tried resize and repair but got error message. I'm sure if I mess around enough I can get what I'm after. I'm grateful for all your work.
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
show me your current partition scheme.

do the steps until step 8, then type in 'p free' in the shell.

then show me.
[Google Pixel 2 XL Guides, News, & Discussion] jonpjingleheimler:
Thank you for reply. I will definitely do that after work😀
[Google Pixel 2 XL Guides, News, & Discussion] jonpjingleheimler:
View attachment 5376515
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
Thank you, that looks fine to me.

you have exactly 3.1 GB sized partition. Is there an issue with TWRP not detecting all that size?

Also, dotOS contains gapps already and as such it takes a lot of space. So maybe that's why you arent able to fit in more GAPPS.

What you could try is flashing a GSI and installing gapps. Try lineageOS as well.

By the way, if you still suspect it's a size limitation...you can redo the tutorial, but when recreating system_a and system_b, just make the size bigger.

3.5GB or 4GB should be plenty. There's nothingg stopping you from picking any size for any of these partitions as long as they are bigger than what they were originally.

If you require guidance when creatingg the partition do let me know. I am also available in private messaging or through my telegram group for assistance. I wish you luck!
[Google Pixel 2 XL Guides, News, & Discussion] jonpjingleheimler:
Im relieved the partitions look as they should. thank you for all of your knowledge and advice. I can go forward with a lot of useful info:)
[Google Pixel 2 XL Guides, News, & Discussion] zeroerror:
Unable to Download vbmeta.img . Getting 522 error.
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
You can extact vbmeta from factory image for pixel 2xl. https://dl.google.com/dl/android/aosp/taimen-rp1a.201005.004.a1-factory-2f5c4987.zip
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
Or find one from the last taimen (Pixel 2XL) factory image attached to this post...saves downloading 1.6gb
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
It's always better to have the full stock image in hand especially when dealing with repartitioning. You never know :)
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
True, and i sure do (thats where i pulled it from), but for this users sake i was trying to be generous, maybe just once :)
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
nul
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
I agree with you, thank you for helping!
[Google Pixel 2 XL Guides, News, & Discussion] 我是十七:
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？？？？
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
make sure to push parted again and give it chmod perms (even if you did it before.)
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
Hi, m stock at step 6. How to enter into ADB shell? Thank you.

I tried to execute ADB shell , it didn't work .
[Google Pixel 2 XL Guides, News, & Discussion] 我是十七:
The command indicator becomes # successful. Have you not changed since the ADB shell?
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
Yeah. I ended of giving up on it. Can't go further cuz of the problem.
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
Have you enabled USB Debugging in Developer Options in your device?
[Google Pixel 2 XL Guides, News, & Discussion] 我是十七:
Are abd and ADB drivers up to date
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
M not sure I'll check and let u know thx bro 😊
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
M stock here bro help me 🤣
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
That's normal. Just continue
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
you need a TWRP that is compatible with ADB. Try official TWRP from their website.
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
I did every possible way to get android 12 but I end up bootlooping my phone ( not my daily driver). I keep trying to flash twrp.img but it keep stucking in bootloader mode ( won't respond the flash). My ADB is up to date.
[Google Pixel 2 XL Guides, News, & Discussion] vatva69:
you need to remove space in command fastboot erase pstore, there is a space in the last letter
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
not sure what youre referring to, the issue was traced to an older version of platform-tools than the dev who posted the guide used...
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
@Dollscythe​

fwiw, i did this again to increase partition to 4Gb, and the commands quoted as failing in my original post on the subject, still failed using the latest platform-tools ....though i updated 3 of them thinking logically about why they failed..incorrect naming, as you will see and will make sense...last time i did this at 4am and i missed seeing the errors :)

At Step 11, heres all that worked

( please note the change to:

fastboot erase system

from

fastboot erase system_a

and

fastboot erase aes

from

fastboot erase aes_a

and

fastboot erase align_part

from

fastboot erase align_parti

)

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (that you downloaded earlier)

fastboot erase system

fastboot erase system_b

i had to do a reboot here before any of the following commands would complete...

fastboot reboot bootloader

fastboot erase pstore

fastboot erase aes

fastboot erase aes_b

fastboot erase align_part

fastboot erase userdata

none of these would work:

fastboot format:ext4 system (from fastboot format:ext4 system_a)

fastboot format:ext4 system_b

fastboot format:ext4 userdata

i formatted them in TWRP...usual trick to get them to format and mount properly - change/repair filesystem on both /system and /data, first changing them to EXT2, before changing them back to EXT4 again...
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
Probably misnamed the partiton when making them. It's align_parti for sure, and not align_part

That's why it's wise to screenshot your partition table before making any modification to it.

I will soon release a tool that automates this entire process anyway
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
Nope, i did not misname anything :)

current partiton list for part 12:

Number Start End Size File system Name Flags

12 8381MB 8391MB 9437kB align_parti

Am aware of your tool, been a tester on TG, as well as waiting for that awesome ROM to end all ROMs from Sean :)
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
Disclaimer to everyone: Please do not attempt this guide without following every step to the T, otherwise you will brick your phone. I won't be responsible if you do that. Even if I was, I dont know how to fix such a brick.

If you get stuck, DO NOT REBOOT YOUR PHONE. ask for help here, or if you dont have to spare time ask in the telegram channel.

https://t.me/pixeldevelopment
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
Just a quick note as a possible warning

Went to flash my usual ROM today and encountered an error...really weird, in all my years of flashing never seen it...

Error 15 "error applying update 15 knew rootfs verification error"

Then tried to flash stock, as you do when flashing goes wrong, only to get this error

"boot partition is smaller than boot image"

wtf?

suspect that upsizing to 4Gb and time might have corrupted things

decided to go back to the 3Gb version in the OP for now...which fixed the issues

flashed stock again just to make sure all was well, before flashign to my usual ROM

not saying the 4Gb version doesnt work, just that for me at least thats where i was when things went a bit wrong :)

may try the 4Gb upgrade again when i have time...
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
It's been a while, I bricked my phone by following this instructions.
[Google Pixel 2 XL Guides, News, & Discussion] MakeX722GreatAswell:
@Dollscythe Could you release that internal utility app as alpha?
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
What pixel 2xl do you have? what's the storage config, and region from where you bought it?

do you have a screenshot of how your original partition scheme looked like?
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
it's taimen, thank you 128 gb . Thank you for your help sir .
[Google Pixel 2 XL Guides, News, & Discussion] Dip Air:
Keep saying boot partition is smaller than boot image. When I do flash all bat.
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
are you able to show me how your new partition layout looks like? so we can compare.
[Google Pixel 2 XL Guides, News, & Discussion] bad_20:
There is a video about it, but it is in spanish
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
i reported the same issue...

my advice:

only use the original 3Gb instructions in this thread, make sure to adjust for the 128Gb version for your device, redo them if you did do this as it may have corrupted the partition table

and optionally flash the last stock A11 ROM and start over...its the way i fixed it
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
I agree
[Google Pixel 2 XL Guides, News, & Discussion] PablosCorner:
If I wanted to flash the Pixel Experience 12 Alpha GSI (which the .img is apparently 3.22 GB), would that be too big for the partition that the guide tells us to set up? I wanted to at least figure that out before I move forward with trying it out.

Also, I wonder if this will also apply when proper Android 12 ROMs come out for the Pixel 2 XL. 🤔

(Edit: I realize that proper ROMs probably resize the partitions automatically, so probably an irrelevant question)
[Google Pixel 2 XL Guides, News, & Discussion] sharanoth:
The guide can be modified to set any size you want. Just follow the principles and rules I've set in the main thread (for example, each partition has to start exactly where the last one ends, etc)

This doesn't apply to ROMs because they are created to fit the stock partition sizes. No, ROMs don't resize partitions to fit.. instead ROM maintainers just remove certain apps that you can get from the playstore anyway and debloat the builds.

Many Android 12 GSI's work out of the box on the pixel 2xl. Right now i'm running official Android 12 pixel 5 port GSI on my taimen with some bugs related to calling. As for bugless, official android 12 ROMs, those arent out yet, but there's private test builds on Telegram (join the telegram group, there's ArrowOS 12 with google apps preloaded)
[Google Pixel 2 XL Guides, News, & Discussion] PablosCorner:
Ahhh alright, that's good to know. Yeah, that makes a lot more sense, lol. I'll look into the Arrow OS 12 builds. I just wanna jump on the Android 12 train on the Pixel 2 XL early, lol. Just gotta make sure I don't screw up the partitioning.
[Google Pixel 2 XL Guides, News, & Discussion] PablosCorner:
I noticed that when the partition is modified with these steps, I can't use the web installer of ProtonAOSP anymore cause of some overflow error or something. (The manual install still works though).

The regular Android Flash Tool seems to still work with it though.
[Google Pixel 2 XL Guides, News, & Discussion] 73sydney:
Worth mentioning that even official A12 has bugs...im actually about to downgrade the 4XL i have back to A11...

Random system process feezes are the main reason
[Google Pixel 2 XL Guides, News, & Discussion] PablosCorner:
Oof, perhaps maybe it is better to just wait for a proper Android 12 ROM to come out, whenever it does happen.
[Google Pixel 2 XL Guides, News, & Discussion] PixelBoot:
I've attached flashable zips for the convenience of anyone who wants to repart to this table.

Depart zips are to revert back to the stock table from the larger system table.
[HTC Cavalier] leoles21:
anybody done this....
[HTC Cavalier] cruzzmz:
pls refer to d excalibur forum, i think they hv done it
[HTC Cavalier] oldsap:
here it is http://xdaforums.com/showthread.php?t=393104
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] Covalex:
I'm on a custom ROM (crDroid latest) and the wakelock smp2p-sleepstate is keeping my phone awake when the screen is off. This problem persists between ROMs, and only started when I switched from Xiaomi.eu MIUI 12.6 to AOSP ROMs (initially Pixelish Experience, now crDroid). I lose about 6-8% per hour with the screen off. The AOD is on, however any sensor-based wake features are turned off. My phone never reaches deep sleep, and drains battery quickly. Anyone else with this problem?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] biman__17:
Same for me. IDK what is the solution!
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] SmartphoneOwner:
Did y'all find a solution?

Edit: switched to another kernel and it's gone.
[Samsung Galaxy Note 8 Guides, News, & Discussion] Ziezo:
Hey guys, I hope all are doing fine.

I'm wondering guys if there is any way to get an official Lineage OS rom for Samsung Galaxy note 8!!

All that I found are the unofficial one's and I don't know if it is safe to use or not!

Another thing is the Lightrom OS that I found in our site here, but I found those two things, which are Rom and Kernels!

Should I install both of them or only the Rom enough to do the whole thing, I mean it will also install the Kernel too!

Those were my thoughts and questions, appreciating your helps in this, and thanks in advance :)
[Samsung Galaxy Note 8 Guides, News, & Discussion] stonedpsycho:
I doubt we will see Official Lineage OS as it requires too much work and the developer does not have the free time. The source code is posted on the thread so if there was anything dodgy in there someone would pick up on it, especially by now. Lineage 17.1 does get monthly builds for the security patches via OTA. If you're interested in flashing it you can get the latest builds here - https://images.stricted.net/lineageos/greatlte/

I can't comment on Lightrom as I believe there are a number of Lightrom's and I'm not sure to which one you refer to.
[Samsung Galaxy Note 8 Guides, News, & Discussion] Ziezo:
Thank you so much, I really appreciate your kindness reply, I will see about the lineage, it is the one I trust in more in terms of open source Roms.

As for the Lightrom and my question about it, it could come on any other Rom, I mean in general if there's a Rom and a Kernel should I install them both or only will do the whole work (I mean by that it will install both Rom and a Kernel in a single installation process), in which I doubt, but just want to make sure, because it's my first time thinking of installing custom kernel.
[Samsung Galaxy Note 8 Guides, News, & Discussion] stonedpsycho:
Happy to help.

When you flash a rom it will flash the kernel too at the same time.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
If you need help, feel free to post logs here. For more discussions about Android 12/GSIs join the telegram group!!

Make sure to use Android 11 as base before flashing the GSI.

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

Reboot into fastboot mode.

Wipe your data partition: fastboot format:ext4 userdata

Clean cache and factory reset: fastboot -w

flash the GSI: fastboot flash system_a path/to/system.img

flash the GSI in other slot: fastboot flash system_b path/to/system.img

Test boot.

If it doesn't boot, download vbmeta for your device and flash in fastboot mode.

fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img

fastboot -w

Bugs:

No sound in call.

Some fixes:

Install GMS with adb install -r -d path/to/gms.apk to login to Google (not necessary anymore)

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.

View attachment 5371367View attachment 5371395View attachment 5371423View attachment 5371425View attachment 5371427View attachment 5371429View attachment 5371431View attachment 5371433

download
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 73sydney:
@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"
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
Be great to know who's working who no on this rom. Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
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.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 123哆3:
Wait... Does it for Pixel 3 but not Pixel 2 XL?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
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.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
it's necessary resize system partition? i'm scared to brick phone.:oops:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
for android 12 and some GSI, yes.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
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?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
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?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
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
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
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)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
I fixed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
You didnt finish the partitions.

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

you didnt follow the tutorial properly
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
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.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] irmas5:
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
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sharanoth:
since opengapps is back, this guide is perfect to flash the highest gapps package possible. i have 4GB system partition XD