FORUMS
Remove All Ads from XDA

[ROM][UNOFFICIAL][9.0.0][r37][I9100] LineageOS 16.0 [BETA]

417 posts
Thanks Meter: 3,141
 
By rINanDO, Senior Member on 5th October 2018, 08:06 AM
Post Reply Email Thread
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.
**
**/
Hi all,

This is an unofficial Pie build for the Galaxy S2 (i9100) based on LineageOS 16.0.

Yes Pie on our ancient Galaxy S2. I had it working in September 2018 but waited after I had Autosleep ported to our kernel. The biggest issues before I started porting Pie was the Display stuff. We needed at least HWC 1.3 and we had our old HWC 1.0. Surfaceflinger removed all legacy stuff, so how to upgrade to a new HWC??? I got no knowledge how that works.... Then I remembered that @Fourkbomb was rebasing the kernel for i9300 and was working on HWC. He was working on HWC 1.4, so I tried to port those drivers in our kernel with success! Got display running! After that I fixed a minor thing in system/vold, adding patches we already have in LOS 15.1 and after 3 weeks I got it booting! But batterylife was horrible due lack of AutoSleep. So I ported AutoSleep first to our stable unofficial LOS 15.1 kernel. And now that works, lets publish this first unofficial version of Pie on our S2!

Update 2-2-2019:
I decided to switch to emulated storage. The storage issues are probably because of the legacy partitioning. The crash of the Files-app crashes because of this. The only downside I see is that you need to repit if you want to go back to stock or CM-15.1 or less. We need to use repit anyway for the 1.5GB System partition, so why not? Maybe because you are using LOS 16.0 allready and have some stuff on sdcard0 (the phone' s internal SDCard). I developed 2 years a ago a migration recovery but lost focus. Before you install LOS 16.0 Build#7 and higher, please follow the following instruction:

Clean install from LOS 16.0 < Build #7
!! WARNING !!
!! MAKE SURE YOU HAVE BACKUPED EVERYTHING !!
!! YOU WILL LOOSE ALL DATA INCLUDING THE DATA ON THE NON-EMULATED STORAGE !!

1. Boot into recovery.
2. Install TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip from "Micro SDCard".
3. Reboot into recovery.
4. Repit by installing Lanchon's repit file from your "Micro SDCard".
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
Don't worry when you got an error. This is by design.
The error instructs you to execute the repit file from /tmp which has been copied for you allready.
5. Install /tmp/lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
Your device has now be repartitioned and is EMPTY!! Don't reboot!! Because you have NO OS at this time!!!
6. Format the following partitions:
- Dalvik / ART Cache
- Cache
- System
- Data
- Internal STORAGE
- Preload
- Non-Emulated STORAGE
7. Delete /data/system/storage.xml via Advanced->File Manager
This is just to make sure to fully reset the storage configuration.
Formatting data-partition doesn't really format, because it could contain media like your pictures and video and skips deleting other essential
files including storage.xml.
8. Install now LOS 16.0: lineage-16.0-20190202-UNOFFICIAL-i9100.zip.
9. Install ARM Pico GAPPS if you like.
10. Reboot.

Migrate and update to LOS 16.0 Build #7 Emulated Storage
!! WARNING !!
!! MAKE SURE YOU HAVE BACKUPED EVERYTHING !!
!! YOU MAY LOOSE ALL DATA INCLUDING THE DATA ON THE NON-EMULATED STORAGE !!

1. Boot into recovery.
2. Install TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip from "Micro SDCard".from "Micro SDCard".
3. Reboot back into recovery.
4. Choose "Backup" and backup the following partitions to your Micro SDCard"
- System
- Data (excl storage)
(Contains your app-data)
- Non-Emulated Storage
(This is where your personal data (pictures and WhatsApp-conversations) are stored and accessible via USB)
5. Repit by installing Lanchon's repit file from your "Micro SDCard".
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
Don't worry when you got an error. This is by design.
The error instructs you to execute the repit file from /tmp which has been copied for you allready.
6. Install /tmp/lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
Your device has now be repartitioned and is EMPTY!! Don't reboot!! Because you have NO OS at this time!!!
7. Format the following partitions:
- Dalvik / ART Cache
- Cache
- System
- Data
- Internal STORAGE
- Preload
- Non-Emulated STORAGE
8. Restore your backup:
- System
- Data
- Non-Emulated Storage
====> Activate the option "Migrate non-emulated storage" <====
9. Delete /data/system/storage.xml via Advanced->File Manager. It is ok if its not there.
This is just to make sure to fully reset the storage configuration.
10. Reboot to recovery again. TWRP warns you about no OS installed. Just ignore this.
11. Install now LOS 16.0: lineage-16.0-20190202-UNOFFICIAL-i9100.zip
12. Reboot

Known issues:
  • Wifi works and connects, but no Internet. (Network unreachable)
  • Battery drain when Wifi-scanning is enabled (by default when installing GAPPS)
  • Camera doesn't work
  • No SU, don't know why...
  • Graphical glitches
  • Softboots or hang due bugs in HWC
  • VSync not working properly like in LOS 15.1
  • GAPPS is slow and crashes after connecting to Wifi
  • LiveDisplay not implemented
  • Sometimes graphical glitch at wake up (mDNIe related)

Source code:
https://www.github.com/lineageos
https://www.github.com/rinando

Credits to:
@forkbomb444 for his port of HWC 1.4
@Chronomonochrome for teaming up Exynos4 fixes
and everyone testing our ROMS!

Build #12 2019-5-11
IMPORTANT: You need to migrate to emulated storage using TWRP 3.1.0-EMU-MIGRATION-M-20170318
See opening post for detailed installation instructions.

Overall state: Stable
Android build: 9.0.0-r37
  • Updated sources
  • Fixed Headphone volume control (selinux denial)
  • Set ZRAM to 350MB
  • Tweaked ActivityManager settings
  • Added back SamsungDoze (thanks to @linusdan)
  • Fixed preview crash camera/video in Snap
  • Flashlight wakelock fixed (Fixed in kernel thanks to @ChronoMonochrome)

Known issues:
None (But that can't be possible) Please report

Downloads:
TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
lineage-16.0-20190510-UNOFFICIAL-i9100.zip

Build #11 2019-4-9
IMPORTANT: You need to migrate to emulated storage using TWRP 3.1.0-EMU-MIGRATION-M-20170318
See opening post for detailed installation instructions.

Overall state: Stable
Android build: 9.0.0-r34
  • Updated sources
  • Fixed F2FS for /system, /cache and /data partition
  • Fixed USB-modes via Settings->Connected devices
  • Enabled Selinux
  • Reverted /misc back to /preload (We have Lineage-recovery now)
  • Reverted low_ram-flag so we can multi-task/splitscreen (please check if performance is still acceptable)
  • Enabled multi-user, because we're on emulated storage
  • Enabled Call-recording (if allowed by your country)

Known issues:
  • Camera app "Snap" works buggy. Sometimes black screen
  • Wakelock on flashlight not working (Flashlight turns off after 10 secs)

Downloads:
TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
lineage-16.0-20190409-UNOFFICIAL-i9100.zip

Build #10 2019-3-21
IMPORTANT: You need to migrate to emulated storage using TWRP 3.1.0-EMU-MIGRATION-M-20170318
See opening post for detailed installation instructions.

Overall state: Stable
Android build: 9.0.0-r34
  • Updated sources
  • Ported SDCardFS to our kernel
  • Ported FunctionFS to our kernel
  • Fixed WiFi HotSpot

Known issues:
  • Camera app "Snap" works buggy. Sometimes black screen
  • Wakelock on flashlight not working (Flashlight turns off after 10 secs)

Downloads:
TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
lineage-16.0-20190321-UNOFFICIAL-i9100.zip


Build #9 2019-2-25
IMPORTANT: You need to migrate to emulated storage using TWRP 3.1.0-EMU-MIGRATION-M-20170318
See opening post for detailed installation instructions.

Overall state: Stable
Android build: 9.0.0-r31
  • Updated sources
  • Moved Exynos4 framework hacks to device tree's thanks to @ChronoMonochrome
  • Move Target SDK to shims to allow textrelocation for gps, sensors and ril (removed bionic/libc-hacks)
  • Removed AshMem-tracking hack thanks to @ChronoMonochrome for hacking our libsecril.so!
  • Fixed GAPPS crash at first startup. (I think it was Ashmem-tracking hack)
  • Wakelock on flashlight (Flashlight turned off after 10 secs)

Known issues:
I hope none Please report

Downloads:
TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
lineage-16.0-20190224-UNOFFICIAL-i9100.zip

Build #8 2019-2-16
IMPORTANT: You need to migrate to emulated storage using TWRP 3.1.0-EMU-MIGRATION-M-20170318
See opening post for detailed installation instructions.

Overall state: Stable-ish
Android build: 9.0.0-r31
  • Updated sources
  • Screen tearing fixed, thanks to @Chronomonochrome
  • Fixed graphical glitch at wake up
  • Implemented LiveDisplay 2.0

Known issues:
  • Lagging GAPPS and crashes during first start.

Downloads:
TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
lineage-16.0-20190216-UNOFFICIAL-i9100.zip

Build #7 2019-2-2
IMPORTANT: You need to migrate to emulated storage using TWRP 3.1.0-EMU-MIGRATION-M-20170318
See opening post for detailed installation instructions.

Overall state: Stable-ish
Android build: 9.0.0-r30
  • Implemented PowerHAL
  • Implemented Advanced Display with mDNIe scenarios and kernel fixes
  • Decreased heapsize to 256mb
  • Set Server Compiler Filter to speed for performance
  • Pthread issue in libc moved to shim, thanks to @Chronomonochrome

Known issues:
  • V-sync not working properly like in LOS 15.1
  • GAPPS crashes during first start.
  • Sometimes graphical glitch at wake up (mDNIe related)

Downloads:
TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
lanchon-repit-20170115-system=1.5G-data=max-sdcard=min+wipe-preload=min+wipe-i9100.zip
lineage-16.0-20190202-UNOFFICIAL-i9100.zip

Build #6 2019-1-14
Overall state: Stable-ish
Android build: 9.0.0-r30
  • Updated sources
  • Fixed graphical glitches

Known issues:
  • V-sync not working properly like in LOS 15.1

Download here: lineage-16.0-20190113-UNOFFICIAL-i9100.zip

Build #5 2019-1-13
Overall state: Stable-ish
Android build: 9.0.0-r30
  • Updated sources
  • Fixed high-res display statusbar issue
  • Fixed memory leak and crash in hwc
  • ZRAM set to 200MB
  • Applied GO config for 512mb devices

Known issues:
  • Graphical glitches

Download here: lineage-16.0-20190112-UNOFFICIAL-i9100.zip

Build #4 2018-12-15
Overall state: Stable-ish
Android build: 9.0.0-r21
  • Updated sources
  • Fixed screenshot and Colorfade animation
  • Updated pinnerService, which caused excessive lags and battery drain

Known issues:
  • Graphical glitches and crashes

Download here: lineage-16.0-20181215-UNOFFICIAL-i9100.zip

Build #3 2018-11-14
Overall state: Stable-ish
Android build: 9.0.0-r16
  • Updated sources
  • Fixed Camera rear & front, picture and video recording!
  • Wakeup via Home button (including offline charging)
  • Memory optimization (800mb available like we have in Oreo)
    In previous build we had 700mb memory available because of HWC1.4.
    It seems this was not neccessary for fimc/camera issues which are fixed now.

Known issues:
  • Graphical glitches and crashes
  • Sometimes slow responsive after wakeup

Download here: lineage-16.0-20181014-UNOFFICIAL-i9100.zip

Build #2 2018-10-9
Overall state: Stable-ish
Android build: 9.0.0-r10
  • Updated sources
  • Fixed Wifi network (by reverting this commit) Thanks to @ChronoMonochrome pointing me into the right direction!
  • Fixed Wifi battery drain. (/data/.psm.info stands for PowerSaveMode for Wifi)

Download here: lineage-16.0-20181009-UNOFFICIAL-i9100.zip


Build #1 2018-10-5
Overall state: Stable-ish
Android build: 9.0.0-r6
The first build! I waited to release this version after I had Autosleep ported to our kernel. Thanks to @Fourkbomb I have ported his (unfinished yet) HWC 1.4 implementation to get the Graphical stuff working

Download here: lineage-16.0-20181004-UNOFFICIAL-i9100.zip



XDA:DevDB Information
[ROM][UNOFFICIAL][9.0.0][r37][I9100] LineageOS 16.0 [ALPHA] , ROM for the Samsung Galaxy S II

Contributors
rINanDO
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.0.x

Version Information
Status: Alpha

Created 2018-10-05
Last Updated 2019-05-11
The Following 66 Users Say Thank You to rINanDO For This Useful Post: [ View ] Gift rINanDO Ad-Free
 
 
5th October 2018, 08:37 AM |#2  
DJ.Kurrare's Avatar
Member
Flag Kirov
Thanks Meter: 10
 
More
thank you very much for your work
The Following User Says Thank You to DJ.Kurrare For This Useful Post: [ View ] Gift DJ.Kurrare Ad-Free
5th October 2018, 09:23 AM |#3  
Senior Member
Thanks Meter: 65
 
More
Hello,
Thank you very much for your work .
Quote:

Also be aware that even 1GB System-partition isn't enough to get the ROM + GAPPS installed. We need at least 1.5GB System now.
Use Lanchon's REPIT to do this repartitioning.

Please, could you give your recommended partitioning scheme with more detail.
5th October 2018, 09:30 AM |#4  
guest4711's Avatar
Senior Member
Flag Београд (Beograd/Belgrade/Griechisch Weißenburg/Alba Graeca; Alba Bulgarica)
Thanks Meter: 1,956
 
More
Quote:
Originally Posted by rINanDO

Also be aware that even 1GB System-partition isn't enough to get the ROM + GAPPS installed. We need at least 1.5GB System now.

Thanks for your hard work (and the nice explanations). Without g-apps 1GB should be sufficient?
The Following User Says Thank You to guest4711 For This Useful Post: [ View ] Gift guest4711 Ad-Free
5th October 2018, 12:31 PM |#5  
OP Senior Member
Thanks Meter: 3,141
 
More
Quote:
Originally Posted by guest4711

Thanks for your hard work (and the nice explanations). Without g-apps 1GB should be sufficient?

yes
The Following 4 Users Say Thank You to rINanDO For This Useful Post: [ View ] Gift rINanDO Ad-Free
5th October 2018, 02:29 PM |#6  
Senior Member
Thanks Meter: 65
 
More
Hello, Thank for build.
Success flash with lanchon-repit-20170115-system=1.5G-data=4G-sdcard=max-preload=min+wipe-i9100.zip.
Add to list of problem: home button does not wake up device, only power button, it is not same as with previous versions.
The Following User Says Thank You to ran000 For This Useful Post: [ View ] Gift ran000 Ad-Free
5th October 2018, 03:45 PM |#7  
Junior Member
Thanks Meter: 1
 
More
Wow repartitioning with lanchon's stuff is super easy. Is there any particular reason to assign space to the fake sdcard if one has an external sdcard? I would rather max out data in that case.
5th October 2018, 06:34 PM |#8  
linusdan's Avatar
Senior Member
Flag Salvador, BA
Thanks Meter: 876
 
More
THANKS!!!
I'll try to contribute as much as I can!!! (Bugs, tests, some things I know in the code )
The Following 7 Users Say Thank You to linusdan For This Useful Post: [ View ] Gift linusdan Ad-Free
6th October 2018, 06:55 AM |#9  
DJ.Kurrare's Avatar
Member
Flag Kirov
Thanks Meter: 10
 
More
when installing an error
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2018-10-06-00-33-53.png
Views:	2500
Size:	51.6 KB
ID:	4612602  
6th October 2018, 07:12 AM |#10  
Senior Member
Thanks Meter: 65
 
More
Quote:
Originally Posted by DJ.Kurrare

when installing an error

Which partitioning scheme you have used?
6th October 2018, 07:54 AM |#11  
Senior Member
Flag Rach Gia
Thanks Meter: 247
 
More
Quote:
Originally Posted by DJ.Kurrare

when installing an error

try to download the rom again. Most of the time, this solves the problem for me
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes