I would also propose that the documentation is complemented, pointing out that you can’t switch (or get switched by updates) from a certain dev build to its stable counterpart and that OTA upgrades are not available for dev builds (unless there are plans to offer them in the future).
That would perhaps save some people from this dead end. Well, at least those who mindfully read the documentation^o^ Over my journey with /e/, I had my learning by doing (and undoing) moments, too, I have to admit, and here is another one…
In several posts in the issue tracker developers say that for dev builds there will be no OTA upgrade. I don’t understand that either.
But there is a way to upgrade the dev build without data loss: You can flash the R-dev package with adb sideload and keep data.
I did that but I am having some trouble with several apps, but mostly with root access. So if your phone is not rooted the upgrade may work smoother.
Yes, that would be nice to know! And while explicating, could you also give your opinion on a “dirty flash” from a dev build to a stable build? Do you see any complications? I liked learning to do nerdy stuff when starting with /e/OS, but now I am old and just want to stay stable, easy and comfortable, enjoying OTA upgrades in the future^o^
That looks pretty interesting, something I have longed for quite a time. I will give it a try tomorrow.
No. TWRP and adb sideload are both methods of flashing a ROM. None of my devices are A/B, so TWRP just works for me. From what I’ve read, I believeadb sideload is the best way to flash A/B device but I don’t know for sure.
“Dirty flash” means flashing the new ROM over your existing data, using either method. This is what the 'Updater" app does with updates (and upgrades), so that your installed apps and user data are not affected.
“Clean flashing” involves getting rid of your existing installed apps and user data - either by wiping of formatting - before flashing the ROM. After a clean flash you do have to set your phone up again from scratch, either by hand, or by restoring a backup.
Sorry but I can’t - none of my devices have stable builds. And I wouldn’t install them if they were available because, from what I have read, there is no rooted debugging, so TWRP is the only functional way of making a restorable backup.
I use TWRP backup for backing up my current phone, but I need/use Android Backup and Restore Tools project for migrating between devices, because restoring a TWRP Backup
is tricky - but not impossible - to do when the new device is the same model
is not possible (as far as I know) when the new device is a different model
ABRT handles both those situtaions admirably. The only things it doesn’t restore is account data for apps like Mail (which allows you to export settings from your old phone and import them to the new one) and Account Manager. TWRP does that better.
For upgrading via adb sideload data is kept, so restoring not necessary.
I don’t think that a data restore with TWRP will work after an upgrade. TWRP restores the whole data partition, that includes system data that will have changed through the upgrade.
For app and app data backup and restore in case it is necessary I use the 3C App Manager which is also included in the 3C-Toolbox (both from Play Store). For app data backup the phone must be rooted, of course.
It may be necessary if the upgrade (i.e. moving to a higher Android version) requires the data partition to be formatted, which has happened to me before now. In that case you will have to restore the data
It has worked for me several times on different devices, though sometimes I have needed to format the data partition before flashing . I don’t know of any system data that is placed on the data partition. Do you have any examples?
Not if you use TWRP or ABRT, though ABRT requires rooted debugging (which is why I wouldn’t use a stable build). But now I’m repeating myself so I’ll stop
You had to format the data partition and then you restored the previous data partition and it worked. That’s amazing but I believe you.
No, I don’t have significant examples. I just see some data in the /data/ folder that does not relate to apps and may be modified during the setup completion after the upgrade. But maybe I am wrong
And yes, in the last posts we talk about upgrades to another Android version, not just updating to the next release.
May formatting the data partition have become necessary for the dirty flash only? /e/OS provides OTA packages, adb sideload should do the same as an OTA upgrade. And those usually don’t cause data loss, not even when upgrading to another Android version. At least not with stock ROMs.
Anyway, backing up data for whatever problem is necessary anyway.
Thank you for sharing your experience.
Dear dev-team! Since the last update to A11 (R) 1.6 I suffer total random reboots and shutdowns. 1.3 - 1. 4 and 1.5 worked perfectly.
I noticed that ‘random’ often is while charging with my (original) OnePlus car-charger and more ever whe te battery is “fuller” then when it is “emptier”. I never charge over 80 percent but the behaviour is for less with a battery under 50 percent.
Although I do not see a “connecting”… There might be. Also sometimes double tapping a key (to shutdown screen) leads to a switch off or reboot instead of turning of the screen.
I have no idea how to make logs, but if you tell me how, I’d love to help.
My device ia rooted with Magisk and LSPosed installed (although that was the case too in 1.3, 1.4 and 1.5).
The question is what does this matter? Time will tell. Android 12 will be getting security updates for quite a while still.
You can’t gain anything substantial with this kind of question. Any potential answer at this point will be anyone’s best guess or at best a vague statement of intent for the sake of just giving an answer. Development deadlines are being missed all the time everywhere. /e/OS based on Android 13 should come when it’s ready.