[Samsung Galaxy S9 & S9+ Cross Device Development] dtrail1:
I got it - finally!

I have downloaded the latest stock firmware, unpacked vendor.img.lz4, extraced the vendor.img and flashed it in TWRP. Works now!

I'll leave this in spoiler.

That is very odd! I really don't know what happened and why my camera doesn't work now. Hmmm, wait!

But let me explain, because I feel that most people don't understand what happened.

. I'm using LOS and ZGCam as camera. To make the front cam work I had to replace "libexynoscamera3.so" in /vendor/lib, and it worked great all the time.

Then after I've installed the first updated that came in october, ZGcam 7 stopped working. Usually the replaced lib file will stay in the folder, even after an OTA update.. But this time it was different.

I wanted to check and replace that file again, but I couldn't find it anymore. I looked into the vendor root partition and finally found the file (libexynoscamera3.so) in /vendor/lib64, while it was gone from the /lib directory.

Somehow LOS must have changed that, because I didn't do anything else than replacing the lib in /vendor/lib. I never deleted it and I never did any other modification to the vendor partition. Also I didn't modify any other system files.

So what should think? Suddenly the lib is gone after the installation of an OTA update, and only in /lib64 that file existed. And here it happened! I did a big mistake by replacing the "libexynoscamera3.so" in /lib64 but forgot to back it up first :/

And that's when my camera (also stock cam) stopped working entirely. Before I've replaced the lib my stock cam worked fine and also ZGCam 6 worked great! I just wanted to make ZGCam 7 working again and then made this big mistake.

After all there's only this one possibility: It should work again - as soon as I can get that file from someone with the

same device being on LOS 17.1

.

Unfortunately so far anyone who was kind enough to help me was whether using anothert device or another rom. I also tried it with the lib file from stock vendor and I even flash the vendor parition again. However, here's another weird thing: After flashing vendor image, it didn't change anything. The lib file in /lib64 is still the old one (I can see that on the file date and size). And in /lib folder that file doesn't exist at all. Maybe I did another mistake with flashing it. This is how I did it:

- I've put the vendor.img on my ext sdcard.

- In recovery terminal / adb shell:

dd if=/external_sd/vendor.img of=/dev/block/by-name/vendor

The flashing process was successful according to the messages on screen.

This is all so odd! To sum it up:

1. Usually replaced "libexynoscamera3.so" in /vendor/lib

2. After the first LOS update in october that file was suddenly gone from /vendor/lib.

3. I finally found "libexynoscamera3.so" in /vendor/lib64

4. For testing purposes I've replaced that file with the modified one (which didn't work), and I was tupid enough to forget making a backup before replacing it.

5. After replacing "libexynoscamera3.so" in /vendor/lib64 no camera is working anymore. ALso YouTube doesn't work since then.

6. Installing "libexynoscamera3.so" from a stock vendor image doesn't help.

7. Flashing the vendor image doesn't work (MAYBE I got the wrong one.... a dev sent me ETF5 vendor, which doesn't work too. However, flashing any vendor image doesn't change the files, so maybe I did that wrong).

8. Placing "libexynoscamera3.so" in any of these folders - be it /vendor/lib or /vendor/lib64 or even both doesn't help (yes, file permissions set properly).

9. The only thing I wasn't able to try yet is to get the file "libexynoscamera3.so" from another LOS 17.1 starlte (S9) user.

I'm totally out of ideas - unless I would start from scratch and flash stock firmware, then LOS, etc. etc. but I won't do that until I tried it with the file from another LOS user.

OR, I need to perform the vendor flash by another way. Maybe via Odin?