For the past couple of days I have been trying to do my own install of eOS on a brand new Samsung Galaxy S9+ SM-G965F/DS that I purchased on eBay.
[ PLEASE NOTE: I HAVE VERY LIMITED PROGRAMMING KNOWLEDGE/EXPERIENCE. I HAVE NO LINUX EXPERIENCE. ]
I am working on a Windows 10 PC.
I am stuck on Building Heimdall step 4 for Windows.
When I enter the “cmake -G” line into MSYS2 MinGW 64-bit, it gives me the following:
CMake Error: The source directory “C:/msys64/home/folder” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I have tried moving the “Heimdall-master” folder into the msys64 folder, as well as the …msys64/home/folder to no success (still gives the same error).
I had considered moving the “CMakeLists.txt” file from the Heimdall-master folder into the msys64 directory directly, but I noticed that there are multiple CMakeLists.txt files, and I have no idea which one should be used, if at all. I can’t move them all because they have identical file names.
Should I simply create a blank .txt file called CMakeLists using Notepad in the msys64 directory?
Additionally, I had to update the phone to Android 10 in order to access the OEM Unlock feature. Will this cause any issues?
The install instructions which I guess you are reading mention Heimdall, which is really a Linux product. Windows users have the (possibly) more easy Odin3.
Caution: Before following these instructions please ensure that the device is on the latest Android Stock firmware. This can be done by checking for any OTA updates available in the Updater. If available run them before installing /e/OS
The important thing is that you install /e/ in the same version, Q, (as linked in the install instructions already mentioned).
I did try that [HOWTO], but when I attempted to install TWRP, it kept failing and the phone, in Download Mode, would display a massage saying “Only use official batch files” (or something to that effect, I cannot remember exactly). So I gave up on that method and went back to the original (now understood to be Linux) version of the install instructions.
I was also going to install the Oreo (stable) version on this particular phone. Is that not advisable?
I wonder if the original Samsung firmware is still intact or whether one of your attempts along the way was part successful?
Your photo shows the Samsung Android recovery. Does reboot into System give a working phone?
Can you reboot into Odin mode, Download mode, the very small text there may reveal any unexpected stoppers, like the possibility of a Regional lock, what country are you in?
A photo of the Download mode screen would help confirm.
(Sorry the glare/unclear photo. Did the best I could with my webcam.)
In Android Recovery mode, these are the options that it gives me. I have not tried anything other than “Reboot system now” which boots into stock Android 10 normally, and “Power off” which just reboots into Android Recovery.
Reboot system now
Reboot to bootloader
Apply update from ADB
Apply update from SD card
Wipe data/factory reset
Wipe cache partition
Mount /system
View recovery logs
Run graphics test
Run locale test
Power off
Repair apps
So I see RMM STATE : Prenormal. This is most likely the result of your phone being imported to USA, but having previously been intended for another market.
Loosely speaking Samsung required the phone to be used in its intended market, in which case Prenormal would have resolved harmlessly.
Depending or what you decide to do next, Edit, Warranty Void = 0, is saying that nobody “messed with the phone” also confirmed by CURRENT BINARY : Samsung Official (might influence what you decide to do next!)