[ROM][I9100][OFFICIAL][7.1.2] LineageOS 14.1

Search This thread

rINanDO

Senior Member
Dec 17, 2009
627
4,320
Code:
/*
** Your warranty is now void.
**
** We are not responsible for bricked devices, dead SD cards,
** thermonuclear war, or you getting fired because the alarm app failed. Please
** do some research if you have any concerns about features included in this ROM
** before flashing it! YOU are choosing to make these modifications, and if
** you point the finger at us for messing up your device, we will laugh at you.
**
**/

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

IMPORTANT INFORMATION
Root is not included by default on LineageOS 14.1. You need to install an add-on via recovery. You only need to install this once. You can download the SU add-on here
After installation go to Settings>Developer Options>Root access and set to Apps only or Apps and ADB.

LineageOS comes with LineageOS Recovery by default, if you don't like it (like me ;)) you can flash alternative recoveries using IsoRec. You really need 1GB /system partition. The smallest build-configuration is larger than 512mb. You can use ODIN, but you can also use Lanchon's REPIT.

If you're interested in BLN, check this thread for a complete support of this feature.
If you're interested to go to emulated-storage, check this thread.

Official LineageOS Wiki: http://wiki.lineageos.org/
Changelog: https://www.lineageoslog.com/14.1/i9100

LineageOS official nightly builds
https://download.lineageos.org/i9100

Google Apps:
http://opengapps.org/


XDA:DevDB Information
Lineage OS 14.1, ROM for the Samsung Galaxy S II

Contributors
rINanDO, lysergic acid, serenitys
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x
Based On: LineageOS

Version Information
Status: Nightly

Created 2017-02-13
Last Updated 2017-04-20
 
Last edited:

the.gangster

Senior Member
Apr 3, 2015
953
1,371
Which GApps exactly?

Just to prevent from questions like "which GApps architecture and version do I need?"

This link will show you the minimal OpenGapps variant independently of your last visits (cookies never forget you)

http://opengapps.org/?download=false&arch=arm&api=7.1&variant=pico

(so only the variant needs to be changed if you prefer bigger packages)

Edit: Check this post to see how to create a customizable config that allows you to control the OpenGApps installer, e.g. to downsize bigger GApps packages for flashing Pixel Launcher while skipping other components you don't want. Included a sample config-file there as well.
 
Last edited:

bepcan

Member
Feb 13, 2017
6
0
from cm-13.0-20161218-nightly to lineageOS 14.1

In General forum? Why not in Original Android Development?

Hi everyone, I am a low-average level user so I wonder if there is a step-by-step guide to upgrade my I9100-international from cm13 to lineageOS 14.1
 

shkedov

Senior Member
Jan 14, 2015
174
146
Jerusalem
Hi everyone, I am a low-average level user so I wonder if there is a step-by-step guide to upgrade my I9100-international from cm13 to lineageOS 14.1

Only if you're coming from cm13 without losing data (i.e. your apps installed). Otherwise - wipe clean and install the recent nightly only (and gapps if you wish).
-3. Get a good cup of coffee.
-2. You must have at least 1GB partition of /system. If not, first repartition your storage (see OP) and then come back to here to proceed.
-1. Proceed to oficial download site: "https://download.lineageos.org/i9100 for the current build, https://www.androidfilehost.com/?w=files&flid=154035 for the experimental build, thanks to @ale5000 for uploading this for us.
0. Download the latest 2 following files: Nightly and Experimental (as for now lineage-14.1-20170208-experimental-i9100-signed.zip and lineage-14.1-20170208-nightly-i9100-signed.zip). Verify their md5 checksum to prevent errors, it is vital to do so.
Optional - download gapps from [url]http://opengapps.org/[/URL] for android 7.1, ARM (the nano is fine for me).

1. Boot into recovery. Install the "experimental" zip (Dirty flash! No wipes!).
1.5. You can reboot now into system, just to get a systemUI crash errors and a blank screen. Pretty useless. If you got to here then force reboot to recovery and proceed to step 2.
2. Reboot into recovery! Install the "Nightly" zip and gapps.
3. Wipe cache and boot to system.

There you go kiddo'.
Good luck! :fingers-crossed:
 
Last edited:

shkedov

Senior Member
Jan 14, 2015
174
146
Jerusalem
Whats Working Nd Not Working Tell Pls:(

It is relatively very stable to me, most is working! Phone and RIL, audio, GPS, BT, and a lot more!
I believe battery has improved too. Performance is very well.
This is my only phone, I rely on this phone, and on my daily use no problems so far! And yeah this ROM rocks!:good::cool:
Go for it dude!
 
Last edited:
  • Like
Reactions: Dharmik Jain

todonormal

Senior Member
Jun 3, 2011
385
94
Montebello, Antioquia
Without losing data (i.e. your apps installed).
-3. Get a good cup of coffee.
-2. You must have at least 1GB partition of /system. If not, first repartition your storage (see OP) and then come back to here to proceed.
-1. Go to https://download.lineageos.org/i9100.
0. Download the latest 2 following files: Nightly and Experimental (as for now lineage-14.1-20170208-experimental-i9100-signed.zip and lineage-14.1-20170208-nightly-i9100-signed.zip). Verify their md5 checksum to prevent errors, it is vital to do so.
Optional - download gapps from http://opengapps.org/ for android 7.1, ARM (the nano is fine for me).

1. Boot into recovery. Install the "experimental" zip (Dirty flash! No wipes!).
1.5. You can reboot now into system, just to get a systemUI crash errors and a blank screen. Pretty useless. If you got to here then force reboot to recovery and proceed to step 2.
2. Reboot into recovery! Install the "Nightly" zip and gapps.
3. Wipe cache and boot to system.

There you go kiddo'.
Good luck! :fingers-crossed:

Do you don't include TWRP emu 3.03 https://forum.xda-developers.com/showpost.php?p=71009597&postcount=88 Interesting
 

shkedov

Senior Member
Jan 14, 2015
174
146
Jerusalem

People asked for a simple migrating guide from CM13 to LOS14.1, if someone isn't heading to switch to emulated I don't see a reason to send people to install an emu-recovery while they don't wish to.
It should be a decision for users.
Therefore I don't see a reason to include special addtional options besides the basics (exp+nightly+gapps). Whoever wants to expand more should simply read the OP and the links.
As for myself yes, I'm on emu now.
 
Last edited:

Pier_89

Senior Member
Sep 19, 2015
134
21
People asked for a simple migrating guide from CM13 to LOS14.1, if someone isn't heading to switch to emulated I don't see a reason to send people to install an emu-recovery while they don't wish to.
It should be a decision for users.
Therefore I don't see a reason to include special addtional options besides the basics (exp+nightly+gapps). Whoever wants to expand more should simply read the OP and the links.
As for myself yes, I'm on emu now.

Could we have a short video to show how to switch to emulated storage?
Regards.
 

shkedov

Senior Member
Jan 14, 2015
174
146
Jerusalem
Yes I would like to know upgrade path to official using twrp3.0.3 for emulated storage too please :)

Hmm, because this phone is my main and only phone, I won't be able to test that soon (reverting recovery and ROM to cm13, reverting repartitioning too, then starting to trial and error).
But I believe that the safest way is to start from the moving to LOS14.1 - flashing the experimental and nightly first, as I guided. Then later flash emu-twrp recovery and proceed with rINanDO's instructions.

I'm afraid doing opposite (emu'ing first and then flash exp+nightly) might not work since Lanchon and the guys warned us that this emu-kernel might not work even with cm13 and maybe even affect it! Maybe repiting manually with Lanchon's magic REPIT would do, then migrate ROM, then change to new emu-recovery.
 

the.gangster

Senior Member
Apr 3, 2015
953
1,371
PLEASE:
- don't direct-link to recoveries that will brick your phone if installed too early.
- read the linked threads in the opening posts to understand the complexity of any of the changes
- if understood the consequences and you still want to do them all at once: know your limits
- if still feeling comfortable until here: go ahead *but do it in the correct order* or your phone will bootloop as all the newer test-recoveries were built with a Nougat ramdrive and thus will very very likely bootloop on your phone if installed on non-Nougat ROMs!

So my advice for your own safety: stay in your lane and read everything first.
EDIT: And by the way: please keep emulated storage discussions in the appropriate thread until it is officially tested and documented to be kind of noob-proof.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 103
    Code:
    /*
    ** Your warranty is now void.
    **
    ** We are not responsible for bricked devices, dead SD cards,
    ** thermonuclear war, or you getting fired because the alarm app failed. Please
    ** do some research if you have any concerns about features included in this ROM
    ** before flashing it! YOU are choosing to make these modifications, and if
    ** you point the finger at us for messing up your device, we will laugh at you.
    **
    **/

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    IMPORTANT INFORMATION
    Root is not included by default on LineageOS 14.1. You need to install an add-on via recovery. You only need to install this once. You can download the SU add-on here
    After installation go to Settings>Developer Options>Root access and set to Apps only or Apps and ADB.

    LineageOS comes with LineageOS Recovery by default, if you don't like it (like me ;)) you can flash alternative recoveries using IsoRec. You really need 1GB /system partition. The smallest build-configuration is larger than 512mb. You can use ODIN, but you can also use Lanchon's REPIT.

    If you're interested in BLN, check this thread for a complete support of this feature.
    If you're interested to go to emulated-storage, check this thread.

    Official LineageOS Wiki: http://wiki.lineageos.org/
    Changelog: https://www.lineageoslog.com/14.1/i9100

    LineageOS official nightly builds
    https://download.lineageos.org/i9100

    Google Apps:
    http://opengapps.org/


    XDA:DevDB Information
    Lineage OS 14.1, ROM for the Samsung Galaxy S II

    Contributors
    rINanDO, lysergic acid, serenitys
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.0.x
    Based On: LineageOS

    Version Information
    Status: Nightly

    Created 2017-02-13
    Last Updated 2017-04-20
    49
    [i9100] Useful fixes for LineageOS 14.1 [7.1.2]

    [i9100] Useful fixes for LineageOS 14.1 [7.1.2]
    I am very glad that you are here!
    It may be helpful to you:
    Scripts moved here ...
    29
    Hi all,

    :D I'm just dropping an image and a link :D
    Click here!
    i9100_-_first_boot.jpg
    26
    Hi there you all diehard S2 users,

    As a few of you all users know, last couple months I'm working and testing PegasusQ-governor with a new PowerHAL. I'm planning to make this the default governor instead of on-demand to get same performance and better battery life. I resolved the issue PegasusQ with the 150Mhz fix of zeitferne so it is stable to use.

    What does the new PowerHAL?
    Currently the PowerHAL does this:
    • Powersave : conservative governor
    • Balanced: On-demand governor
    • Performance: performance governor

    The new PowerHAL supports PegasusQ governor by tweaking its settings (like its big brother i9300 does):
    • Powersave : PegasusQ freq limited to 600Mhz
    • Balanced: PegasusQ freq standard profile
    • Performance: PegasusQ fixed freq 1200Mhz (still drops to 800Mhz when CPU is getting hot. This is by-design and not managed by governor)
    Also we will have PegasusQ boosting:
    • Frequency will be boosted for 2 secs when an app launches
    • Frequency will be shortly boosted when interacting with the device for more responsiveness
    • Less aggressive profile when the display is turned off to save battery (using max 1 cpu max 600Mhz in PowerSave)

    I'm planning to submit the following commits in next weekly, but I want to notify you all first about these changes:
    https://review.lineageos.org/#/c/168813/
    https://review.lineageos.org/#/c/168815/

    What I like to know is if PegasusQ is really improving battery and/or performance when we set it to default governor.
    It must be set to default governor (at boot) because of the permissions which needs to be set at boottime.
    Otherwise the PowerHAL doesn't have permissions to tweak PegasusQ and we miss all the nice features.
    When the experience with PegasusQ is poor, I will revert the commits so we switch back to on-demand.

    • For those who wants to test PegasusQ + new PowerHAL right now, download my unofficial build here: https://www.androidfilehost.com/?fid=889764386195918750
    • For those who wants to test performance with Official build: Keep track of your battery life until next weekly and compare after you updated officially
    • For those who don't want take any risk with PegasusQ until tested: Don't update your phone at least 2 weeks

    In my case I got about 10% more battery life and PowerSave now actually saves power. However Antutu Benchmark maxed out at about 18100 (instead of 19500 with ondemand).
    I hope this will be the also the case on your devices.
    21
    @the.gangster: I think it can just put LineageOS recovery two times, and since it is an option it can be disabled by the user.
    And maybe it can be extended to auto-flash it when the phone come from a not-IsoRec kernel but it is just my opinion.

    ---------- Post added at 02:12 ---------- Previous post was at 02:03 ----------

    @rINanDO
    They have removed us: https://review.lineageos.org/#/c/161752/
    I hope someone fix sepolicies before the next nightly build raid.
    It is already fixed. The faulty commit is reverted and I requested to add our device again. https://review.lineageos.org/#/c/162099/