Samsung - Galaxy S9 - starlte - Documentation Suggestions

I think the site is ready for the big annoncement that must append this month.

User @1n4ts experienced difficulties reported here S9 from stable (oreo) /e/ via Stock Q ROM to /e/ on Q.

I am not quite sure of the exact error to report as a Documentation suggestion but I think two things:

On some devices, installation can fail if vendors are not up-to-date. In this

Patch the device

are required under certain conditions but there is a lack of clarity, in that any user might think they have to follow the guidance.

I think it could be " downgrading not properly can cause instability "

An issue has already been raised for this in the Gitlab

Hi, the install documentation for S9 says to install a patch from androidfilehost.com. How do we know that this patch is safe? Could you add a SHA256 sum of the patch to the documentation so that we know that we installing the correct patch? Thanks

1 Like

Hello, how vor when will it be possible for dev users to upgrade OTA? Can i manually switch to the stable Version without data Loss somehow on s9?

First we will have to release the S9 OS OTA upgrade build for all users… this has not happened as yet.
Post that on the s9 if you on dev Oreo one way is to use the Easy Installer and switch to the stable oreo build.
The upgrade build should show up OTA after that.

Alright, but switching from Oreo Dev to Oreo stable via easy installer means to completely reinstall from scratch including data loss right? I guess it would be better then to wait for the release on the Dev branch

install was successfull but when rebooting system the dot is jumping for several minutes then restarts into twrp. what could it be? do i have to wipe something now?

Other attempt for booting stable

Wipe /system and /data
Install /e/ stable, Restore data
Wipe cache and davilcache
Reboot

If you decide to go back to dev,
Wipe the needed /partitions before restore your backup

Thanks a lot for your support! I´m afraid i only took a backup of the data partition not the system one.
How is it possible that it fails to boot after wiping the system partition? only trying to understand

In the end i mamaged to find a very old but complete backup with v.0.15.
Restored it after wiping system, data and Boot partition, updated ota to v.0.18 and restored my data backup after wiping only data.

Soo happy to be back on status quo and not having to install everything again from scratch.

The only thing is i still wont receive the ota upgrade to q

Anyway one day of work for nothing

Hello,

I did researches on this forum before to post anything new.
I learned interesting facts about the ashamed politics of Samsung, regarding their updates process.

But I didn’t found any answer to the problem I encounter.

I am trying to install /e/ OS on my Samsung S9 (SM-G960F), recently acquired on Backmarket.

My computer is running on NixOS.

First of all, I’ve rode the official installation tutorial a few times, when I was waiting to receive the parcel containing the smartphone.

Reading the different warnings and other beautifully coloured boxes, I’ve been aware that I should have a look for updates on the current OS the smartphone would host.

With no surprises, the smartphone has been delivered to me with Android 10 (Q).

So I’ve checked for system updates, and the phone very smartly detected through the network that it could be improved ! Wow, nice. So I finally got a Samsung Galaxy S9 on it’s latest firmware version, at the date of 3rd December 2021.

The Android version is QP1A.190711.020 - G960FXXSHFUJ2.

Then I pursued the install process, following the tutorial steps:

  • Heimdall installation (OK)
  • flashing TWRP recovery (OK)
  • boot into TWRP (OK)
  • resize user date (OK)
  • patch the device HA! NOT OK.

I had my brother on the phone (another one) at the same time (he’s my personal helper for many things).
He advised me to try to install those vendors, as they are mentioned in the tutorial.

The link in the tutorial is pointing to VENDOR-27_ARI9.zip which seems to be for Android 9, what I realized after…

So I succeeded in installing them, feeling powerfull at this time, just before to try again to patch the device.

Same ERROR: 1 again.

I checked on the internet, saw I wasn’t the only one getting troubles with that stuff, but didn’t found any solution after maybe 2 hours of researches.

I was a bit desperate, but wanted to try to skip this step, just in case it would work without no-verity-opt-encrypt-samsung-1.0

So I tried to avoid it, and launched adb sideload e-0.19-q-20211027142973-dev-starlte.zip

I felt like a chevalier.

It failed.

=========================================
=========================================
                  ERROR:
        Vendor image on the device
             is NOT compatible
       Expected Android 10 vendor
==========================================
=========NO CHANGE HAS BEEN MADE==========

Updater process ended with ERROR: 7

As you can see, it is currently asking me for Android 10 vendor, to allow me to install my desired, my Graal, /e/ OS Q.

So today my questions are:

  • Is it OK to skip the patch installation on the device ? (first fail, for me, it caused the ERROR: 1)
  • Does anyone knows where to find those infamous Android 10 vendor ? (cause I can’t find anything about it, but maybe I’m blind)

You are right instructions could contains mixed informations

If not already done, Upgrade to stock android 10

Allow USB flashing , OEM unlock…

Flash a custom recovery (twrp 3.6 is available)

" no-verity-opt-encrypt-samsung-1.0" is outdated
according to the XDA thread version 6 exist and is recommended no-verity-opt-encrypt-6.1.zip

VENDOR-27_ARI9.zip is useful only if you want to install the android 8 Oreo based /e/ stable build

Install the /e/ build

Hey piero,

I suspected the VENDOR-27_ARI9.zip to be responsible of the second error I encountered, while trying to install e-0.19-q-20211027142973-dev-starlte

Nonetheless, the first error I got concerns the patch no-verity-opt-encrypt-samsung-1.0
See the screenshot in my first post.
I tried several times, rebooting TWRP between each try, and it didn’t worked for me.
I rode yesterday evening several topics with people encountering this kind of issue.
Some people says an older TWRP version can solve the issue.

I’ll try to install an Android 10 version I’m currently downloading from SAMFREW (thanks for this post :slight_smile: even if I’m not on Windows), then I’ll try all the process again with twrp-3.5.0_9-0-starlte.img instead of twrp-3.6.0_9-0-starlte.img

Feel free to grow my thinking if you have tips or other experience to share on it.

I’ll let you know !

This XDA official TWRP thread give the correct information to get installation on this device

Hey Piero,

Sorry for my late answer… I used to be sick for the past week so I just avoid doing technical stuff on my free time.

So what I did :

  1. I installed a stock Android 10, the latest available ROM on SAMFREW. I did it through a VM on Windows with Odin rather than with Heimdall on my Linux OS, because it looked far easier this way after reading a few posts on the XDA forum. I followed this tutorial, very easy.

  2. After booting on the stock ROM, Android Q with all the SAMSUNG apps, I checked for updates, and well, it was already up to date. I activated the dev settings, then did the OEM unlock and allowed the USB flashing.

  3. I installed twrp-3.5.0, cause I remembered having troubles with the 3.6.0

  4. I boot on TWRP and did the Resize userdata part of the official turotial

  5. I patched the device but… I got an ERROR 1 again (see my screen above)

  6. I still want to try the /e/ OS installation, so I do the adb sideload e-0.19-q-20211027142973-dev-starlte.zip and it works

  7. I boot on /e/ OS for the first time on my Galaxy S9, it looks fully fonctionnal.

I’m just wondering if it’s OK this way, because it seems to work, but maybe something could go wrong in a few time ?

I am surprise to see that the system takes 8,4 Go on my phone memory… It seems very huge to me, even more since the /e/ .zip file is only 852,8 Mo while the stock ROM I installed before is near 5 Go.

I’m afraid there is still files and data I don’t need on my phone. Do you know which size /e/ OS Q is supposed to take on the S9 memory ?

Sorry for my beginner questions, but I would like to get a clearest mind on it.

1 Like

in some recent experiences using ODIN with recent samsung, it is recomanded to put VBmeta or disable_encryption or no-verity-opt-encrypt-samsung as “BL” and put twrp as "AP"
and flash them toguether,

untill you brick your phone, i am not 100% sure of that as i don’t have this devices in hands
check the forum search bar for validation about that ! and the web ! ( cannot remember clearly, but i think it is not CP ! )

hello, my Samsung S9 is running lineage-17.1-20210125-nightly-starlte (Android 10) & twrp 3.5.2_9-0.

TWRP cannot mount the data partition so I think that /data is encrypted:

starlte:/vendor/etc $ grep ' /data'  /proc/self/mounts                                                                                                                                                                                                 
/dev/block/dm-0 /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,noauto_da_alloc,resgid=1065,errors=panic,data=ordered 0 0

I’d like to install /e/ OS Q (Android 10). Do I need to patch the device with no-verity-opt-encrypt? Some people mention no-verity-opt-encrypt-6.1.zip. Which is the correct version? Could you add a SHA256 of the patch file to the installation documentation so that we do not patch our device with a virus?

Can I directly install the latest Q dev image in /e/ image ROM download? I am worried about the message: ensure that the device is on the latest Android Stock firmware same as the version of the /e/OS you are planning to install.

@legrec14 were you able to install /e/ without running no-verity-opt-encrypt or did no-verity-opt-encrypt work and disable encryption before failing?

Hello @piero, thank you for your links, I rode many posts on the XDA forum and found interesting things that helped to solve my case.

Hello @stuart, yes I’ve been able to install /e/ OS (S) without running no-verity-opt-encrypt not any other similar package. But in this way, I’m not sure if everything would be OK in the long-term.

I rode this other testimony that goes the same way as mine : it seems that @mospaeda has also been able to install /e/ OS on his S9 without “patching” the device with code to remove the encryption.

But just as him, I installed the stock ROM up to date on my cellphone, through Odin, before to install TWRP and then /e/ OS. Once again, I share this process, well describe. You just need a machine running on Windows for it. (I haven’t tried to install the stock ROM through Heimdall on Linux, but it seems far more difficult due to the fact you have to manually list all the repertories needed for the system, and to do it all in one command, and in the right order because if you don’t respect the expected pattern it will fail. Plus some people experienced a limitation transfer of 4Go with Heimdall.)

So, I really recommend you to update your cellphone with the latest firmware, via the installation of the stock ROM through Odin.

Then, during the first boot on the stock ROM, you have to parameter many things, but you don’t mind all of this because it’s just a transition step for us, who hope to be /e/ OS users :slight_smile: .
So I recommend to skip every steps you can skip, especially those related to the encryption (when the system asks you to “protect your phone” with facial recognition, iris, fingerprints, etc…).

I haven’t do many tests so I cannot be certain of it, but I wonder that maybe it plays a role in the encryption you encounter then via TWRP. So just install the stock ROM without connecting your google account, without parameter the “phone protection” etc. Just have a look for updates and activate the developer parameters to activate OEM Enlock and USB flashing etc… At this point, you can follow the official process.

Indeed, when you come from the stock ROM, the official process works fine for me.

The only thing that used to block me was this incapacity to install the “patch” no-verity-opt-encrypt.

Even if I did install /e/ OS without this patch, I was anxious that something could be wrong, so I decided to install again the stock ROM, and try it all again.

I did it, and the only thing I changed is that I installed TWRP 4.0 instead of the 5.0 or even the 6.0. The file I chose to install it through Heimdall is twrp-3.4.0-0-starlte.img dowloaded from the official TWRP site.

I rode on XDA forum that anterior versions (3.0 and below) does not support Android 10 (Q).
TWRP 4.0 has been designed for Android 10 (Q). The upper versions can be more buggy for the functionality we are looking, don’t ask me why as I’m not at all an expert. I just rode it from others, and experienced if myself so I can confirm I didn’t worked for me with TWRP 5.0 and 6.0, but it did work with TWRP 4.0 : I’ve been able to successfully install the no-verity-opt-encrypt-6.1.zip (you can get it from here, as @piero shared it in a previous post) :slight_smile: !

Then continue to follow the steps described in the official process, things you have to do with the data, cache, etc. And finally install /e/ OS (Q), and it should work as it did for me :wink: .

I hope my experience helped you, please let us know if it works for you as well.

PS = to share it in detail, the /e/ OS Q (0.19) took approximately 3min15sec to be installed on my phone after I launched the command through Heimdall.

And if other people was wondering, the memory place dedicated to /e/ OS Q (0.19) is effectively 8,4Go on my phone. I checked the stock ROM while I reinstalled it, and the memory space dedicated to the system took 11,5Go. That difference is not surprising due to all the proprietary apps on it (Google apps + Samsung apps) on the stock ROM.

1 Like