[Oppo F1] Earthy:
Android 8.0 Oreo - Now in Development

Lineage for Oppo F1 (f1f)

LineageOS is a free and open-source operating system for smartphones and tablet computers, based on the Android mobile platform. It is the successor to the highly popular custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.

Instructions

For Installing

1. Unlock root.

2. Download the latest TWRP, build, and GApps.

3. Install/unlock TWRP.

4. Reboot to TWRP recovery.

5. Wipe System, Data, Cache, and Dalvik.

6. Flash the build, and GApps respectively.

7. Flash patches if available.

8. Wipe cache and dalvik.

9. Reboot to system, and enjoy.

Note: If you have 'already installed' Lineage, and want to update your build, use the instructions below.

For Updating Build (Clean Flash)

1. Download the latest build and GApps.

2. Reboot to TWRP recovery.

3. Wipe System, Data, Cache, and Dalvik.

4. Flash the build, and GApps respectively.

5. Flash patches if available.

6. Wipe cache and dalvik.

7. Reboot to system, and enjoy.

For Updating Build (Dirty Flash)

1. Download the latest build.

2. Reboot to TWRP recovery.

3. Flash the build.

4. Flash patches if available.

5. Wipe cache and dalvik.

6. Reboot to system, and enjoy.

For Updating TWRP

1. Download the latest TWRP.

2. Reboot to TWRP recovery.

3. Flash the TWRP update.

4. Wipe cache and dalvik.

5. Reboot to system, and enjoy.

For Unlocking

1. Download magictricks.zip.

2. Go to stock recovery, then install/flash magictricks.zip

3. Reboot to fastboot, then connect phone to pc.

4. Setup adb shell in Windows.

5. Lunch CMD.

6. Install adb drivers for oppo f1f.

7. Type "cd c:\adb" then enter.

8. Type "adb devices" then enter.

9. You should see your device in the list, if not, go back to step six.

10. Put TWRP flashable zip to c:\adb (rename as twrp.img).

11. Type "fastboot oem unlock" then enter.

12. Type "fastboot flash recovery twrp.img" then press enter.

13. After, disconnect phone then reboot to TWRP.

14. Flash img/zips what you want.

Downloads

TWRP: download link

OpenGApps: download link

Unlocker: download link

ADB Installer: download link

ADB Extract: download link

For the builds, see below.

Version Information

Latest Stable Version

Build: 14.1-2017XXXX-UNOFFICIAL-f1f

Android Version: 7.1.1 Nougat

Latest Beta Version

Build: 15.0-2017XXXX-UNOFFICIAL-f1f

Android Version: Android 8.0 Oreo

OpenGApps Version

Platform: ARM64

Android: 7.1 (stable) or 8.0 (beta)

Variant: Stock (recommended)

Android 8.0 Oreo (In Development)

Downloads

Lineage 15 based on Android Oreo Source Code: Link

Notes for Android Oreo Development

Lineage 15 based on Android Oreo Source Code is the one we will need to port.

Android 7.1 Nougat (Old)

Downloads

Build: download link

Patch (Auto Rotation and Navigation Bar): download link

Patch (Kernel): download link

Add-ons

Temporary Camera: download link

Temporary Torch: download link

Known Bugs

The bugs listed here are bugs from the latest nougat build.

1. Camera crashes.

2. Torch toggle don't work.

3. Battery non-accuracy.

4. Hotspot Issue.

FAQ

Q1: What's the difference between updating build "Cleaand "Dirty Flash"?

Clean flash - removes all your files then install the update. Dirty flash - updates your build without removing your files.

Q2: When will you release​ the next stable build?

See "Version Information" in this thread.

Q3: Can I try the latest beta version?

Yes, if granted by developers of this thread. No, if not.

Q4: Did you already fix the bugs present in the latest stable build?

See "Known Bugs" in this thread.

Q5: What's better for updating build? Clean flash or Dirty flash?

I recommend dirty flash. Only use clean flash when you can't update build properly.

Q6: What's the difference between this thread and other threads.

This thread is for "DEVELOPMENT and FULL GUIDE for 'UNLOCKING, RECOVERIES, KERNELS, ROMS, and OPENGAPPS' for Oppo F1 (f1f)".

Credits, Sources

Developers and contributors:

[MENTION=5869589]kdd998[/MENTION]

Android 7.1 Build

[MENTION=5376406]MiniBlu[/MENTION]

Android 7.1 Kernel Patch

[MENTION=6823929]khannz7[/MENTION]

Android 7.1 Auto Rotation and Navigation Bar Patch

[MENTION=8299504]Earthy[/MENTION]

Instructions/Guides

Android 7.1 Add-ons

@ TWRP

TWRP

@ OpenGApps

OpenGApps

@ Lineage Github Repo

LineageOS 14.1

LineageOS 15.0

@ AOSP

Android Nougat Source Code

Android Oreo Source Code

and the community.

For those who want to help building builds for this rom, and for those have knowledge about building builds, just reply to this thread. We will cooperate and share knowledge with each other, so we can build a build faster, better, and more stable. Just teamwork.

Notes

Bug report:

For bug report, just reply to this thread.

Keep up-to-date here, this first thread post change info over from time to time. This thread is last updated: 00:00 PM, Mon-Sun, Jan-Dec 00 2017 (GMT+8).