-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A/B System Updates style partitioning support #47
Comments
How would you suggest handling this case? Is there a way to tell which one is currently active, between |
I'm not sure if this is the intended way to detect it, but it is pretty simple. Fastboot seems to add a kernel cmdline documenting the slot that is booted. I documented that above the ls -l:
|
@GigabyteProductions Are you using tetherback with your Pixel device? Is it working? |
@nomeata I have not used tetherback in a long time (disk space issue). Unmodified tetherback actually does not work on my device. With some modifications regarding source block devices, and adb scripting to help setup TWRP, I made it work. I'll find all of my material if you are interested. However, I will have to do some additional testing to see if TWRP can even restore backups made by tetherback. You may want to consider making a full image of your device (dd in TWRP, for example) if you have the storage to do so, due to complexities with the ext4 FBE implementation (I've had bad luck manually restoring from the tars due to this). |
Thanks. I am currently experimenting with TWRP’s own support for backups over adb: https://twrp.me/faq/openrecoveryscript.html |
Let me know if you have success with that, because I have not. |
Stuck at TeamWin/Team-Win-Recovery-Project#877 (comment) right now. But I made a backup on the device in TWRP, and copied it to my laptop. First step taken :-) |
Google Pixel XL uses A/B System Updates (or "Seamless Updates"), where there are multiple system, vendor, boot, among other partitions, using a _a or _b suffix on the name. The purpose of these is that a running OS would install an update by flashing the non-active slot, before trying to boot into it, and users would always have a bootable slot in the event that an update fails.
Due to the naming of partitions on systems with A/B System Updates, the hard coded names will not work.
The text was updated successfully, but these errors were encountered: