CalyxOS for Pixel 4a Sunfish

Status
Not open for further replies.
Search This thread

TheSayaMan

Senior Member
Sep 12, 2016
1,044
430
OnePlus 9 Pro
The update OTA does not work when the phone is rooted?
In my case, the update is downloaded, but the installtion does not take place. If root is the problem, what can I do to update without losing data?
Patch new boot.img from OTA with Magisk then save that file in your adb tools folder. In Magisk, click on restore images. This will unroot. Proceed with the OTA update. After OTA downloaded, install and reboot your phone. After update completes, reboot into bootloader and flash new Magisk patched file. Fastboot flash boot magisk_patched.img and reboot your phone. You will have updated OTA and be rooted again without effecting your data on device. Another way is to download the full new update, open the flash-all.bat file as text editor and where the update is listed, remove the -w before it. Then save it. Double click the flash-all.bat file and the new update will install. In this second option, you can update while you are still rooted, however in either case, you will not be rooted after update and will need to flash the Magisk patched img to gain root access again
 

wirdSchoon

Senior Member
Nov 8, 2017
143
29
Patch new boot.img from OTA with Magisk then save that file in your adb tools folder. In Magisk, click on restore images. This will unroot. Proceed with the OTA update. After OTA downloaded, install and reboot your phone. After update completes, reboot into bootloader and flash new Magisk patched file. Fastboot flash boot magisk_patched.img and reboot your phone. You will have updated OTA and be rooted again without effecting your data on device. Another way is to download the full new update, open the flash-all.bat file as text editor and where the update is listed, remove the -w before it. Then save it. Double click the flash-all.bat file and the new update will install. In this second option, you can update while you are still rooted, however in either case, you will not be rooted after update and will need to flash the Magisk patched img to gain root access again
Thank you for the suggested solutions.
Unfortunately, I was not successful and had planned to try again this weekend.
When I just turned on the 4a the download started again, but this time the following update also worked. With a magisk_pachted bootimage I had root again and am now on 2.7.1. (y)
 
  • Like
Reactions: TheSayaMan

counti

Senior Member
May 25, 2010
56
3
I have installed the latest version of CalyxOS 2.7.1 on my Pixel 4a. Now I have a problem with the software, can I just flash the same version again with the Flasher Tool without losing my data?
 

TheSayaMan

Senior Member
Sep 12, 2016
1,044
430
OnePlus 9 Pro
I have installed the latest version of CalyxOS 2.7.1 on my Pixel 4a. Now I have a problem with the software, can I just flash the same version again with the Flasher Tool without losing my data?
No, if you flash the update, data will be lost. You can pull the flash-all.bat file from the update zip and edit the file with notepad and remove the -w before the update listed. Then save the file. Then put the file back in the zip. Now when you flash, it will not wipe data because the -w was removed from the flash-all..bat file.
 

sruel3216

Senior Member
Nov 9, 2010
1,775
394
Does anyone know of a Live Location tracking app i can use on calyxos? when i go cycling garmin would send a live track when using the garmin edge 530. However on calyxOS the edge wont upload my activity to the garmin app, so i need to find something else i can use to send my wife when i go cycling.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    CalyxOS for Pixel 4a Sunfish

    Downloading the Flasher​

    • Linux: xxxxxx
    • macOS: xxxxxx
    • Windows: xxxxx
    SHA256:
    • Linux: f4e68992198868148ca2d4bd0fd40d0176da4058a188a3fdf80732d04a6c3543
    • macOS: 5e5542f51c1592e392114636f2e64fe9dae1cacaaf55c722822780ec5cbf9331
    • Windows: 0cdaf47f1c97e43c70e0fe7cfff63fcaa140799ccc494bebf6451e96cbcdda6c

    Steps​

    1. Download CalyxOS image for your pixel 4a here: xxxxxxxxxxx
    2. Download the flasher for the Operating System you’re using from the links above
      1. For Windows, you also need to download and install “Googles USB driver ZIP file” from xxxxxx
      2. For installation instructions, see xxxxxxxxxxx
    3. Place the flasher as well as the CalyxOS image into the same folder. Do not extract or rename the zip, simply copy it as-is.
    4. Double-click the flasher to run it, and follow the steps shown on your screen.
      If that doesn’t work, then you can:
    5. Open a Terminal or Command Prompt in that directory, and then
    6. Run the flasher using:
      • Linux: chmod +x ./device-flasher.linux; ./device-flasher.linux
      • macOS: chmod +x ./device-flasher.darwin; ./device-flasher.darwin
      • Windows: .\device-flasher.exe

    Notes​

    • On some Linux distros, you may have to use sudo, i.e. sudo ./device-flasher.linux
    • On macOS, you may have to disable gatekeeper. See xxxxxx
    • On Windows, your anti-virus may falsely flag this as infected. This is because the program is written in the Go programming language, see xxxxx for more information.

    This is the updated August 2021 security patch

    CalyxOS does not include gapps and can not be flashed on this rom.

    MicroG is included and can be enabled or disabled based on user preference.

    Aurora Store replaces Google Play Store. Most Google Play Store apps supported. Google play store paid apps are NOT supported.

    MicroG replaces Google Play Services.

    Google Fi does work but must login to Google account.

    Signature spoofing support.

    MOD EDIT: Links removed
    3
    April update is up.

    If you have issues when flashing, replace the flash-all.bat file with this one below.

    MOD EDIT: Link removed
    The funniest part of using a degoogled phone is getting the flash bat file from a Google drive.
    2
    OP updated with August security patch
    2
    Updated to June 2021 security patch with flashing instructions
    1
    For anyone wondering... this ROM is amazing. Runs smooth/fast. No bugs that I've experienced. Battery life is good. Not a ton of features, so if that's what you're after you should probably look at Resurrection or something like that.

    To anyone security/privacy-conscious looking for a good mix of security and convenience, I think this ROM hits a sweet spot.

    I've tried Graphene OS and the Lineage OS with microg patch. Both were great ROMs, but Graphene is way too locked down for my purposes and lineage is a bit too insecure for my nerves.

    Try it out! And while you're at it, give the Calyx Institute a look. They have a membership program that has several benefits, including an LTE hotspot with unlimited data.