[OnePlus X Android Development] stef204:
Flash SFOS Beta on Onyx

Coming from N9 with Meego to Onyx E-1003

Using ADB on Linux box

(I have read all 80+ pages of this thread over the last few days--still left with questions as things can change rapidly. Taken in so much info recently re. this thread and flashing, adb, etc., hard to remember all of it.)

1st off, thanks for the work on this port; it's the main reason I chose a oneplus x.

I'm about to follow the procedure outlined on page 1 with some additional guidance from this post.

I bought the phone used, and previous owner had updated OS via OTA so currently running OOS 3.1.4. I realize II will have to downgrade to OOS 2.2.3.

Some basic questions, please bear with me as very new to this:

a) Why is it required to install CM before SFOS, IOW install SFOS on top of CM, as opposed to just flashing SFOS directly?

I do understand the need to downgrade to OOS 2.2.3 due to bootloader but curious to know why, once downgraded to 2.2.3, there is still a need for the intermediate step of flashing CM.

b) I may install LOS for a couple of days just to take a look before flashing SFOS as, once SFOS is installed, this will be my daily driver, I will start configuring all the usual stuff and will just want to use the phone at that point and not go back and forth between OS' (in as much as that is possible.)

So, to flash LOS, following the recommended procedure, I would install latest version of TWRP (3.1.1) and then LOS..

TWRP:

Question: once I've taken a look, I expect to want to flash SFOS within a day or 2. Will the TWRP 3.1.1 version be a problem once I decide to flash SFOS? I believe I will have to downgrade TWRP to the custom one posted in download section of instructions for CM 12-1. Will this downgrade to the custom TWRP just overwrite version 3.1.1 and that's the end of it? Or should I not install TWRP 3.1.1 at all and just go straight to the custom TWRP, flash LOS, play around with it and then just follow "normal" procedure outlined in page 1 here once ready for SFOS? (IOW, avoid installing TWRP 3.1.1, then having to downgrade THAT version to custom TWRP one. I have no idea if easy/straightforward to install one version of TWRP over another, especially downgrading. I guess as a last resort, I could flash the OEM recovery, then flash the custom TWRP one.)

I'm trying to avoid any mistakes which could brick my phone--and the devil is in the details.

This port of SFOS, beta 5 (sailfishos-onyx-release-2.1.0.11-beta-5.zip) currently:

c) Once I have flashed beta 5, is it all pretty much working or are immediate workarounds (using CLI, etc.) needing to be applied for basic functionality?

* What about root access? In N9 devel-su and default password was (I forget) rootme (or something like that). How to gain root here? devel-su and what is default password?

I am running Warehouse on my N9 so will want to install and run the SFOS version of it to have access to more apps.

* To install Warehouse and its mirrors for SFOS, I see this. Seems simple enough. If something else needed, please let me know.

* How do I setup/configure the Sailfish/Jolla mirrors to have access to the official store/apps? Just looking for tried and true procedure, so many links out there, not sure which is latest/best, which outdated, etc.

* I guess I also have to setup a login for a Sailfish account?

* Anything else needed to get going/have the basics properly configured to just go from there? (I don't mean setting up email accounts, but really very basic things like repos, anything else which might require workarounds on CLI for basic functionality, etc.)

Thanks for patience and help.