[ROM][UNOFFICIAL][10.0.0][r41][I9100] LineageOS 17.1 - Galaxy S II Android Development

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 port was a hard one! In Q it is mandatory to use System-as-root. Real pain in the neck, because our S2 as a Ramdisk within the zImage... and our embedded recovery... and IsoRec recovery. Anyway, I found a way after almost about a 1000 forward ports from several kernels in 5-6 attempts in our ancient 3.0.101 kernel. It finally boots and a lot of stuff is working. So let's ship the very first build of LOS 17.0 on Samsung Galaxy S2 (i9100).
For all of these builds you NEED ISOlated-RECovery because I had to eliminate the embedded (.cpio) ramdisk-images in zImage.
Upgrade from Samsung stock ROM using ODIN 3.07
lineage-17.1-20200526-UNOFFICIAL-i9100.zip (Selinux permissive)
Micro SD-card before flashing.
Pit: i9100-LOS-16.0-Emulated-Storage.pit
PDA: i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
1. Boot your phone into Download-mode (Volume down + Power/Standby + Home and hold for 10 seconds).
2. Start ODIN 3.07 on your PC.
3. Connect your phone via USB to your PC.
4. Press volume up on your phone, ODIN should detect your phone.
5. In ODIN:
Auto Reboot : unchecked
Re-Partition: checked
PIT : i9100-LOS-16.0-Emulated-Storage.pit
PDA : i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
6. Press Start.
7. After succesful flash, reboot phone into Recovery:
- Press Volume up + Power/Standby + Home and hold for 10 seconds.
The phone shuts down.
- Repeat Press Volume up + Power/Standby + Home and hold for 10 seconds
Phone boots in recovery TWRP 3.3.1-1.
8. Swipe to Allow Modifications
9. In TWRP 3.3.1-1 you need to format partions
- Wipe -> Format Data -> Type [yes]
- Wipe -> Advanced Wipe -> Select:
* Davik / ART Cache
* Cache
* System
* Non-emulated Storage
-> Swipe to Wipe
10. Install LOS-17.1 + Gapps or MicroG
To prevent "Uncryption unsuccessful" error of GAPPS at first start:
- Reboot to recovery and Wipe -> Format Data -> Type [yes] again
11. Boot System
DON'T INSTALL TWRP APP. This will cause bootloop!
12. For MicroG users:
You need manualy grant permissions via ADB to get things working properly.
These are the commands:
adb shell pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
adb shell pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE
13. Before flashing a newer build, make sure you update the required TWRP Recovery-image. From build #14 and further you need TWRP 3.4.0-i9100-Android 10. Otherwise it won't flash properly and comes with the error "No OS installed"-message when you reboot.
After this
To avoid bootloop after restoring ROM from a TWRP backup
You no longer need to reinstall the same ROM that was restored.
The invaluable @arco68 prepared the fix_rootfs_label.zip file for flashing in TWRP after restoring the ROM,
which fixes the rootfs label.
Thanks To
@ChronoMonochrome
@lee.wp14
@ze7zez
arco68
Team Infusion
LineageOS team
and all prior developers that were working on this phone.
I hope I didn't missed someone, please let me know.
Last but not least @channel48 which reviews custom ROMS from all kind of phones including my work on this ancient one
Source code:
https://www.github.com/lineageos
https://www.github.com/rinando
Current state:
Working:
- LiveDisplay
- PowerHAL
- Audio, including headset, bluetooth
- Wifi
- IMEI
- Touchkeys
- Camera Pictures
- Camera Videorecording
- Hardware encode/decoder
- Display
- Sensors
- BLN
- RIL (Phone/SMS)
- GPS
- FM-Radio (using Spirit2)
- Magisk v21.1 support via optional kernel image
- DRM, for e.g. Netflix
- Screencast (Chromecast)
Not working/known issues:
- GPS not working, is hanging on native_init (is disabled in this build)
- Display has vsync issues and glitches
- Selinux is permissive
- No SU, via Magisk v20.4
- No Magisk
- SIM Pin on RIL is currently disabled
- RIL works fine but crashes 1 or 2 times a day.
- Google Chrome crashes after few minutes
- AudioFx
- A-GPS not working, Time first fix takes minutes
- Speaker volume control during call
- RIL is still crashing after several days uptime causing no SIM card message. Fixed in build #18? Please test!
- HDMI (MHL) (support broken/removed since CM 10)
- RIL is resetting when it fails to suspend. No libc crash (so far) but a silent reset with same 'no service/no simcard' message. Fixed in build #19? Please test!
- Bluethooth headset voice out goes via speaker instead of headset
Build #23 2021-03-01
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Magisk v22 supported kernel image
- Fixed voltage control
- Adjusted PegasusQ profile for more responsiveness,
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20210301-UNOFFICIAL-i9100.zip
lineage-17.1-20210301-UNOFFICIAL-i9100_boot_magisk.img
Build #22 2021-02-11
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Magisk v21.4 supported kernel image
- Network/Firefox crash fix thanks to florencebirée
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20210211-UNOFFICIAL-i9100.zip
lineage-17.1-20210211-UNOFFICIAL-i9100_boot_magisk.img
Build #21 2021-01-07
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Magisk v21.2 supported kernel image
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20210107-UNOFFICIAL-i9100.zip
lineage-17.1-20210107-UNOFFICIAL-i9100_boot_magisk.img
Build #20 2020-11-27
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Fixed audio on Bluethooth headset
- Magisk v21.1 supported kernel image
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20201127-UNOFFICIAL-i9100.zip
lineage-17.1-20201127-UNOFFICIAL-i9100_boot_magisk.img
Build #19 2020-09-27
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Added blobs for bluetooth APT and APT-HD support
- Fixed conversion error for accelerator and ril suspend methods. Will this fix RIL?? please test.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20200926-UNOFFICIAL-i9100.zip
lineage-17.1-20200926-UNOFFICIAL-i9100_boot_magisk.img
Build #18 2020-09-17
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources (Security update 05-09-2020)
- Hexedited libsec-ril.so, increased Parcel-size with 4 bytes
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20200916-UNOFFICIAL-i9100.zip
lineage-17.1-20200916-UNOFFICIAL-i9100_boot_magisk.img
Build #17 2020-09-08
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Removed IPCThread-hack and hexedited libsec-ril.so disabling set_wakelock-method
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20200908-UNOFFICIAL-i9100.zip
lineage-17.1-20200908-UNOFFICIAL-i9100_boot_magisk.img
Build #16 2020-08-19
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- AGPS should be fixed.... Please test
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20200818-UNOFFICIAL-i9100.zip
lineage-17.1-20200818-UNOFFICIAL-i9100_boot_magisk.img
Build #15 2020-08-08
Overall state: Stable
Android build: 10.0.0-r41
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Fixed network selection
- Removed (again) 4G/LTE network option
- Fixed binder RIL issues
- AGPS broken again .. investigation in progress
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20200808-UNOFFICIAL-i9100.zip
lineage-17.1-20200808-UNOFFICIAL-i9100_boot_magisk.img
Build #14 2020-07-19
Overall state: Stable
Android build: 10.0.0-r40
Required recovery: TWRP 3.4.0-i9100 for Android 10
Changes:
- Update sources
- Fixed 9GAG video playback
- Bluetooth firmware properly loaded
- Properly implemented first_stage_mount
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
TWRP-3.4.0-i9100-Android-10.img
lineage-17.1-20200719-UNOFFICIAL-i9100.zip
lineage-17.1-20200719-UNOFFICIAL-i9100_boot_magisk.img
Build #13 2020-07-13
Overall state: Unstable
Android build: 10.0.0-r40
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Fixed 9GAG video playback
- Bluetooth firmware properly loaded
- Properly implemented first_stage_mount
Broken:
- In/Outgoing call
- Clean install via TWRP 3.3.1-1 doesn't install ("No OS installed" when reboot system)
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200715-UNOFFICIAL-i9100.zip
lineage-17.1-20200715-UNOFFICIAL-i9100_boot_magisk.img
Build #12 2020-06-13
Overall state: Stable
Android build: 10.0.0-r37
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Fixed audio volume control
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200613-UNOFFICIAL-i9100.zip
lineage-17.1-20200613-UNOFFICIAL-i9100_boot_magisk.img
Build #11 2020-06-07
Overall state: Stable
Android build: 10.0.0-r37
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Selinux enforced
- A-GPS fixed
- Speaker volume control during call
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200606-UNOFFICIAL-i9100.zip
lineage-17.1-20200606-UNOFFICIAL-i9100_boot_magisk.img
Build #10 2020-05-27
Overall state: Stable
Android build: 10.0.0-r35
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Changed buildtype to user (was userdebug)
- Fixed Wifi with PMF enabled
- Fixed FullHD recording
It was actually recording at 720p but saved as 1080p
- Removed 4G/LTE from preferred network type thanks to @lee.wp14
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200526-UNOFFICIAL-i9100.zip (Update 6-6-2020: Selinux enforced because of user-build)
lineage-17.1-20200526-UNOFFICIAL-i9100_boot_magisk.img (Selinux enforced)
Build #9 2020-05-13
Overall state: Stable
Android build: 10.0.0-r35
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Fixed Screencast (Chromecast)
- Fixed Wifi Hotspot
- Enabled Restrict USB feature, thanks to @TALUAtXDA
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200512-UNOFFICIAL-i9100.zip (Selinux permissive)
lineage-17.1-20200512-UNOFFICIAL-i9100_boot_magisk.img (Selinux enforced)
Build #8 2020-05-06
PLEASE TEST FOR DAILY DRIVE
Overall state: Stable-ish
Android build: 10.0.0-r33
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Selinux enforced for Magisk kernel image
- Browser crashed fixed. This is because of missing DRM HIDL services.
- Netflix, DRM playback fixed!
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200505-UNOFFICIAL-i9100.zip (Selinux permissive)
lineage-17.1-20200505-UNOFFICIAL-i9100_boot_magisk.img (Selinux enforced)
Build #7 2020-04-13
PLEASE TEST FOR DAILY DRIVE
Overall state: Stable-ish
Android build: 10.0.0-r33
Required recovery: TWRP 3.3.1-1
Changes:
- Update sources
- Fixed graphical glitches and screen tearing by using Triple Buffering
- Magisk v20.4 support via separate flashable kernel image
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200412-UNOFFICIAL-i9100.zip
lineage-17.1-20200412-UNOFFICIAL-i9100_boot_magisk.img
Build #6 2020-03-26
PLEASE TEST FOR DAILY DRIVE
Overall state: Stable-ish
Android build: 10.0.0-r31
Required recovery: TWRP 3.3.1-1
Changes:
- Kernel uses ramdisk again instead mounting mmcblk0p9 directly as root
- FM-radio fixed with Spirit 2 thanks to @lee.wp14
- AudioFx fixed thanks to @lee.wp14
- Magisk v20.4 support via seperate flashable kernel image
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200326-UNOFFICIAL-i9100.zip
lineage-17.1-20200326-UNOFFICIAL-i9100_boot_magisk.img
Build #5 2020-03-19
PLEASE TEST FOR DAILY DRIVE
Overall state: Stable-ish
Android build: 10.0.0-r31
Required recovery: TWRP 3.3.1-1
Changes:
- Update binder Kernel code from 3.18 kernel
- Hopefully fixed RILD crashes with this patch:
https://github.com/rINanDO/android_...mmit/c402c62eb419561232f593e8ca8a1d34ec78583b
- Updated sources
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200318-UNOFFICIAL-i9100.zip.
Build #4 2020-02-11
!! NOT SUITABLE FOR DAILY DRIVE !!
Overall state: Unstable
Android build: 10.0.0-r27
Required recovery: TWRP 3.3.1-1
Changes:
- Fixed notification LED via BLN
- Disabled some crashing services
com.google.android.mdh/com.google.android.mdh.service
com.google.android.gms/com.google.android.gms.herrevad.services.LightweightNetworkQualityAndroidService
- Updated sources
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200212-UNOFFICIAL-i9100.zip
Build #3 2020-02-05
!! NOT SUITABLE FOR DAILY DRIVE !!
Overall state: Unstable
Android build: 10.0.0-r23
Required recovery: TWRP 3.3.1-1
Changes:
- Fixed RIL
- Updated sources
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200205-UNOFFICIAL-i9100.zip
Build #2 2020-01-12
!! NOT SUITABLE FOR DAILY DRIVE !!
Overall state: Unstable
Android build: 10.0.0-r18
Required recovery: TWRP 3.3.1-1
Changes:
- Moved to LOS 17.1
- Fixed AKM-sensors, rotation and other stuff now works
- Addressed some selinux denials (Build is still permissive)
- Reworked audio_policy_configuration.xml which fixed the following issues
Video recording audio quality
Audio to bluetooth devices
Audio to headphone/-set
- Wifi
Updated some wifi kernel patches.
Now using LOS Legacy Wifi HIDL v1.3 which fixed some connectivity issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200111-UNOFFICIAL-i9100.zip
Build #1 2019-12-21
!! NOT SUITABLE FOR DAILY DRIVE !!
Overall state: Unstable
Android build: 10.0.0-r11
Required recovery: TWRP 3.3.1-1
Working:
- LiveDisplay
- PowerHAL
- Audio (Speaker is working, other stuff like Bluetooth, headphone/-set not working)
- Wifi (works but unstable)
- IMEI
- Touchkeys
- Camera Pictures
- Camera Videorecording (low quality audio, possibly due audio_policy_configuration.xml)
- Hardware decoder
- Display (but with, vsync issues and glitches)
Not working:
- Rotation (not working, akmsensor is working)
- RIL (runs but doesn't work)
- GPS not working, is crashing (is now disabled in this build)
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.0-20191220-UNOFFICIAL-i9100.zip
XDA:DevDB Information
[ROM][UNOFFICIAL][10.0.0][r41][I9100] LineageOS 17.1, ROM for the Samsung Galaxy S II
Contributors
rINanDO
ROM OS Version: Android 10
Version Information
Status: Testing
Created 2019-12-20
Last Updated 2020-11-27

** reserved **

* Pretending to be surprised *
Galaxy SII: Best buy of my life!
Congratulations on your resistance to scheduled obsolescence!!!
And there I go test and collaborate with what I know

Where is Android 10.0 gapps I can download?
Can you give a link?

Wow, I wouldn't really have thought that we would ever see Android 10 on our Galaxy S2.
Great work!

roynatech said:
Where is Android 10.0 gapps I can download?
Can you give a link?
Click to expand...
Click to collapse
NanoDroid
BiTGApps - downloads
Opengapps.org - beta downloads
Test and share your insights.
It is too early for android 10 custom rom to work well with custom gapps. Maybe in the middle of next year.

I installed BitGapps, and it is working fine.
.
.
What is your build cycle for Lineage OS 17?

Wohoooo awesomwe :good::good:

years ago I had traded a moto 5inch screen with a wood finition att to m'y sister's s2
This device & his xda's life is something so sweet , so many things to learn so many nice devs who spent her energi since ics , JB etc
It was and still nice to be there . so exited to boot up l17 .... Mucho gracias OP

.
Instructions on how to build Lineage 15.1/16.0/17.0 for i9100 here
.
Click to expand...
Click to collapse
Thank for pointing. I try to make build according your instruction and get an error:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f5e394a4000, 65536, 1) failed; error='Not enough space' (errno=12)
Could you, please, give me any idea how many memory I should have for building?

ran000 said:
Thank for pointing. I try to make build according your instruction and get an error:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f5e394a4000, 65536, 1) failed; error='Not enough space' (errno=12)
Could you, please, give me any idea how many memory I should have for building?
Click to expand...
Click to collapse
I'm building via VMWare Ubuntu with 13GB of mem and 6 virtual core on a i7 Quad core hyperthreading CPU. When I have too much browsers open, then I get similar error (mostly during metalava compile). It took about 4 hours for first build. Using ccache 25gb about 1:50h.

Thank. Get success with !6G

@rINanDO,
would be gratefull forever, flashed only the rom, onto my old s2, didnt have the time to install gapps and root, anyway, working good so far even if it´s in early state, we all know that everytime, you developpers put everything in place to keep our phones alive
Thanks for that!
???

@rINanDO
I can't believe
Thank you very much

Hi everyone,
New build is up! I fixed some issues in this second build. I tried to fix RIL and GPS first, but I still don't have a clue why the blobs crashes or hangs.
My guess is that something changed in Bionic/libc which brakes RILD/libsec-ril.so causing it to crash due NPE after request RIL_REQUEST_SCREENSTATE.
For GPS it hangs forever when native_init() is called. I don't get a stack trace or other hints to investigate. Has anyone got some hints about these issues?
Anyway, happy testing Android Q on our old S2 lady
Build #2 2020-01-12
!! NOT SUITABLE FOR DAILY DRIVE !!
Overall state: Unstable
Android build: 10.0.0-r18
Required recovery: TWRP 3.3.1-1
Changes:
- Moved to LOS 17.1
- Fixed AKM-sensors, rotation and other stuff now works
- Addressed some selinux denials (Build is still permissive)
- Reworked audio_policy_configuration.xml which fixed the following issues
Video recording audio quality
Audio to bluetooth devices
Audio to headphone/-set
- Wifi
Updated some wifi kernel patches.
Now using LOS Legacy Wifi HIDL v1.3 which fixed some connectivity issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200111-UNOFFICIAL-i9100.zip

Great! Build is working here. WiFi now working well, many things improved. But RIL is important for phone (

rINanDO said:
Hi everyone,
New build is up! I fixed some issues in this second build. I tried to fix RIL and GPS first, but I still don't have a clue why the blobs crashes or hangs.
My guess is that something changed in Bionic/libc which brakes RILD/libsec-ril.so causing it to crash due NPE after request RIL_REQUEST_SCREENSTATE.
For GPS it hangs forever when native_init() is called. I don't get a stack trace or other hints to investigate. Has anyone got some hints about these issues?
Anyway, happy testing Android Q on our old S2 lady
Build #2 2020-01-12
!! NOT SUITABLE FOR DAILY DRIVE !!
Overall state: Unstable
Android build: 10.0.0-r18
Required recovery: TWRP 3.3.1-1
Changes:
- Moved to LOS 17.1
- Fixed AKM-sensors, rotation and other stuff now works
- Addressed some selinux denials (Build is still permissive)
- Reworked audio_policy_configuration.xml which fixed the following issues
Video recording audio quality
Audio to bluetooth devices
Audio to headphone/-set
- Wifi
Updated some wifi kernel patches.
Now using LOS Legacy Wifi HIDL v1.3 which fixed some connectivity issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-17.1-20200111-UNOFFICIAL-i9100.zip
Click to expand...
Click to collapse
Nice:good:
Sent from my Essential Products PH-1 using XDA Labs

Nice!!! Thank you very much!

very good work in this rom [emoji6]
Enviado desde mi SM-G973F mediante Tapatalk

Nice nice nice,
actually downloading will test in several days when back home,
my son just get born yesterday so stuck at hospital for several more days, happy testing mates,
once more, thanks you @rINanDO for all the hard work you put in there!
always much appreciated, you're a king bro!

Related

[ROM][I9100][UNOFFICIAL][8.1.0] LineageOS 15.1 [WIP][BETA]

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 a WIP Oreo build for the Galaxy S2 (i9100). Almost everything is working
I'm currently using TWRP 3.0.2 on my dev-phone to install the ROM. Other versions of TWRP I haven't tried. I had a hard time to identify the stability issues and issues with RIL because of lack of debug info. Thanks to @ChronoMonochrome for giving key information to troubleshoot these issues! The stability issues are fixed by several workarounds. (Java NullPointerExceptions are causing native crashes even when they are within try-catch block).
Known issues:
Offline charger not working! Don't drain your phone.
Battery drain, but device do deep sleep
Video recording and playback (partially) not working
No HW video en-/decoding
YouTube just stops after about 10 minutes (no forced closed)
No recent apps behind home button Longpress left touch button.
Can't install su-addon of LineageOS
SuperSU is working but after dirty flash new build causes bootloops
LOS SU is included in these builds.
Lineage PowerHAL needs HIDL implementation for powersaving support
No V-Sync
Distortion when making screenshot and rotation animation
Camera rotation not working (Accelerometer issues)
It sometimes works after standby/wakeup sequence within 5 seconds with camera app still active.
Still batterydrain (Kernel?/wakelock?/GAPPS?)
Battery drain is caused by GAPPS. Installing it and registering an account eats 10% per hour. ROM is deep sleeping fine.
Battery drain is caused by Wifi-scanning. After installing GAPPS the Wifi scanning (and Bluetooth) options are enabled by default. Because of this Wifi is ALWAYS active nevertheless the global Wifi-settings! This behavior doesn't exist in LOS-14.1 (Wifi always active with Wifi scanning enabled)
After a day, some apps are crashing. (Like Cool Tool, WebView (standard browser))
This has something to do with ART. Please correct my findings. I don't know how ART works exactly.
When the app gets optimized by dex2oat and ART is executing it not using JIT, the app crashes when an Null pointer dereference occur.
This occurs after 4 -6 hours when the device is idle on the charger. This even occurs when the java-code is catching the exception.
I guess I miss some kernel commits but I don't know where to look... Help!
Temporary workaround is clearing Dalvik-cache via recovery.
For WebView related crashes, you can install Chrome and use this as your WebView-implementation under Developer Options.
We limit ART's compile filter to 'quicken'. ' speed' and 'speed-profile' doesn't work properly on our device.
Enable GO (Low RAM) configuration
I created separate builds for GO until I found out there is a generic solution for this.
You can easily switch between editions by flashing the zip via recovery. Just ignore the TWRP-error.
I didn't investigate its cause but it works. Credits goes to @AdrianDC for this MOD.
https://forum.xda-developers.com/an...mod-low-ram-property-patcher-android-t3737373
Source code:
https://www.github.com/lineageos
https://www.github.com/rinando
Build #17 2018-10-10
Overall state: Stable-ish
Android build: 8.1.0-r47
Changes:
- Updated Lineage-sources
- Enabled Wifi PowerSaveMode. No WiFi drain anymore!
Download here: lineage-15.1-20181010-UNOFFICIAL-i9100_SU_MicroG.zip
Build #16 2018-10-4
Overall state: Stable-ish
Android build: 8.1.0-r46
I marked the previous build as stable since I was using it for months as daily drive with no issues except the Wifi battery drain when Wi-Fi scanning is active. In this build the kernel has been updated with AutoSleep-feature so I expect a change in battery usage. (Wakelock Detector now reports our wakelocks.) I just finished porting the feature and updating all drivers so I can't tell we actually have improvements. Please test and report.
Changes:
- Updated Lineage-sources
- Deprecated early suspend. We have autosleep in our kernel!
Known issues & workaround:
- Battery drain caused by Wifi scanning which keeps Wifi always active.
Turn Wi-Fi Scanning off here: Settings -> Security & Privacy -> Location -> Scanning ->Wi-Fi scanning
Download here for full Build: lineage-15.1-20181003-UNOFFICIAL-i9100_SU_MicroG.zip
Build #15 2018-8-1
Overall state: Stable
Android build: 8.1.0-r36
Changes:
- Updated Lineage-sources
- Fixed accelerometer. Camera rotation is working!
Known issues & workaround:
- Battery drain caused by Wifi scanning which keeps Wifi always active.
Turn Wi-Fi Scanning off here: Settings -> Security & Privacy -> Location -> Scanning ->Wi-Fi scanning
Download here for full Build: lineage-15.1-20180731-UNOFFICIAL-i9100_SU_MicroG.zip
Build #14 2018-7-2
Overall state: Stable-ish
Android build: 8.1.0-r30
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed ART native crash issue!
- Applied GO optimization (except for the low_ram-flag)
Download here for full Build: lineage-15.1-20180702-UNOFFICIAL-i9100_SU_MicroG.zip
Build #13 2018-6-17
Overall state: Stable-ish
Android build: 8.1.0-r30
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Update ART compile filters. Should fix app crash the next day
- Fixed screenshot/rotation UI distortion
- Decreased ZRAM to 50MB for better performance
- Back to 512mb dalvik profile
- Default camera-app pinned in memory
Download here for full Build: lineage-15.1-20180616-UNOFFICIAL-i9100_SU_MicroG.zip
Build #12 2018-5-27
Overall state: Stable-ish
Android build: 8.1.0-r26
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated Lineage-sources
- Fixed AGPS and RIL's CellLocation
- Fixed IMEI and IMEISV
- Fixed a bug in PowerHal. Interaction CPU Boost didn't work properly.
Download here for full Build: lineage-15.1-20180527-UNOFFICIAL-i9100_SU_MicroG.zip
Build #11 2018-5-5
Overall state: Stable-ish
Android build: 8.1.0-r20
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Same as Build #10 except:
- Updated Lineage-sources
- Added the MicroG-patch for Signature Spoofing
Download here for full Build: lineage-15.1-20180505-UNOFFICIAL-i9100_SU_MicroG.zip
Build #10 2018-5-1
Overall state: Stable-ish
Android build: 8.1.0-r20
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
* Significant Motion sensor added (Experimental for Doze)
* Enabled ZRAM again - I didn't noticed performance improvement over time.
And I noticed out of memory issues, hangs and softboots.
* Implemented Lineage PowerHAL HIDL implementation for powersaving support.
* Enabled touchbutton brightness-control.
Still working on:
* Accelerometer/rotation issues
* IMEI - IMEI RIL-requests are depricated. I'm trying to shim this.
* Graphical glitches - Probably because of issues with backing store not supported in libMali.so.
* Shimming exynos4 specific things.
* Still in doubt if GPS fix is actually improved....
Download here for full Build: lineage-15.1-20180501-UNOFFICIAL-i9100_SU.zip
Build #9 2018-4-3
Overall state: Carefully stable
Android build: 8.1.0-r15
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
* Fixed hw encoding/decoding (partially via libstagefright_shim. Still need patch in frameworks_av.)
* Camera recording fixed
* GPS fix improvement
* Latest lineage-sources
* Moved most exynos4 specific changes to our shims or own HIDL implementation
* Disabled ZRAM - Hopefully we have better performance after a few days of use
* Using 1GB memory profile instead of 512MB - Maybe this help memory usage more efficient
* RIL - Moved some code to our shims
Still working on:
* IMEI - IMEI RIL-requests are depricated. I'm trying to shim this.
* Graphical glitches - Probably because of issues with backing store not supported in libMali.so.
* Shimming exynos4 specific things.
* Rotation sometimes not working properly.
* Still in doubt if GPS fix is actually improved....
Download here for full Build: lineage-15.1-20180403-UNOFFICIAL-i9100_SU.zip
Download here for GO Build: lineage-15.1-20180402-UNOFFICIAL-i9100_GO_SU.zip
Build #8 2018-2-18
Overall state: Carefully stable
Android build: 8.1.0-r11
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated LOS sources
- Fixed offline charging
- Added SU
- Updated GPS-Shim (Now shimming i9100 specific structs)
Download here for full Build: lineage-15.1-20180217-UNOFFICIAL-i9100_SU.zip
Download here for GO Build: lineage-15.1-20180217-UNOFFICIAL-i9100_GO_SU.zip
Build #7 2018-1-29
Overall state: Carefully stable, lets test!
Android build: 8.1.0-r4 (GO)
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Changes:
- Updated LOS sources
- Advanced Display is back
- Live Display is back
- Fixed SamsungPowerHAL.
Battery drain should be fixed.
- Fixed crash when alarm goes off in clock-app
(and possibly other crashes)
Download here for full Build: lineage-15.1-20180129-UNOFFICIAL-i9100.zip
Download here for GO Build: lineage-15.1-20180129-UNOFFICIAL-i9100_GO.zip
Build #6 2018-1-23
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: Carefully stable, lets test!
Android build: 8.1.0-r4 (GO)
Changes:
* Fixed random softboots by workarounds, uptime so far 20 hours.
* Fixed installing large apps via GAPPS (Waze, Antutu 3D benchmark, etc)
* Fixed bluetooth crash/restart when turned off
Download here: lineage-15.1-20180123-UNOFFICIAL-i9100.zip
Build #5 2018-1-13
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: More stable
Android build: 8.1.0-r4
Changes:
* RIL works!
* Disabeled HW Codecs.
* GAPPS 8.1 is working!
* Random softboots when WIFI is enabled (as far as I know)
* Workarounds implemented for stability (Still investigating main cause)
Download here: lineage-15.1-20180113-UNOFFICIAL-i9100.zip
Build #4 2017-12-10
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.1.0-r1
Changes:
* Same things works/not works as Build #3
* Using GO-configuration
* Most apps won't start or crashes randomly.
* Don't install GAPPS.
Download here: lineage-15.1-20171210_204047-UNOFFICIAL-i9100.zip
Build #3 2017-12-04
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.0.0-r30
What works?
* Display color Fix (BOARD_EGL_WORKAROUND_BUG_10194508)
* Bluetooth
* Wifi
* Audio
* Camera (Take picture only)
* Vibrator
* GPS
* Sensors (all but accelerometer)
What doesn't work?
* Charger
* Camera (Video recording)
* Display graphics issues (distortion + hw acceleration)
* HW Video playback
* RIL (null pointer reference on setRadioState in libsec-ril.so)
* Accelerometer
* Stability issues (Time to time null pointer reference in /data/dalvik-cache/arm/[email protected]@[email protected] (offset 0x500000))
Download here: Lineage-15.0-20171203_214230-UNOFFICIAL-i9100.zip
Build #2 2017-11-13
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
Android build: 8.0.0-r30
What works?
* Display color Fix (BOARD_EGL_WORKAROUND_BUG_10194508)
* Bluetooth
* Wifi
What doesn't work?
* Audio
* Display graphics issues (distortion)
* Video playback
* Camera
* Vibrator
* RIL
* And still many more....
Download here: lineage-15.0-20171113-UNOFFICIAL-i9100.zip
Build #1 2017-09-17
DON'T INSTALL THIS ROM ON YOUR DAILY DRIVE PHONE.
Overall state: UNSTABLE
What works? Nothing, not really tested because it just booted
What doesn't work? Everything, not really tested
Download here: lineage-15.0-20170917-UNOFFICIAL-i9100.zip
* Reserved *
Official Open GApps 8.1
Download Open GApps recommended by the Lineage OS team
Installation in TWRP-3.1.0-0 was successful.
Upd.
My first time too was not loaded.
I did all the Wipe and uploaded in 5 minutes.
The screenshots are done, but the screenshot's image is very bad, like on the old TV, where the channel constantly gets off and does not see anything, so @rINanDO posted such an image, not a screenshot.
Yes, almost nothing works, but the phone works quickly, without a cellular connection, you can check and solve the problems, but my s2 is the main phone.
It looks pretty cool even tho with bugs. Hope it comes out soon without bugs.... Thank you!
Blood pressure dropped a bit when I saw 'Android O' even in alpha phase!
I'll try right now!
---------- Post added at 02:08 AM ---------- Previous post was at 01:52 AM ----------
How can I help besides reporting the bugs?
EDIT: I tried to install the trial version of Oreo lineage with TWRP versions 3.02-1 and 3.1.0. Unsuccessfully. It is only in part 'Patching system image unconditionally'. 10 minutes later it stays the same and the CPU of the cell phone goes to 67 degrees. Exit the screen only if you remove the battery.
I also tried the recent kernel dorimanx and nothing happened.
I'll wait for the next test build =)
I tried to flash the build with latest twrp but doesn't boot
How is battery life?
* buying more popcorns *
Hehehe great! Work hard for a full supported port!
On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason
matterrorist said:
On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason
Click to expand...
Click to collapse
True, I didn't noticed that at first.
matterrorist said:
On my device It boot's up, but the colors are inverted in some way, the blue on the logo is a green, the entire system get's green for some reason
Click to expand...
Click to collapse
For me is yellow
Yeah, exactly like this, to me that was green hehe
Do you make any selinux patches update in tree @rINanDO
unknown said:
Do you make any selinux patches update in tree @rINanDO
Click to expand...
Click to collapse
No, not yet. Need to work on other stuff first.
I am also having the green colour issue. I think the home button issue can be fixed by editing keylayout files
AmAn SaJiTh A said:
I am also having the green colour issue. I think the home button issue can be fixed by editing keylayout files
Click to expand...
Click to collapse
The problem is the code is broken, and those keylayout files are thereby temporary excluded. Otherwise build will fail. It will be fixed, but we need to be patient.
Hi @rINanDO
I tested your 'very very WIP' ROM, and I can say that as others it booted successfully, 2hours after I flashed it. Sadly I got enough memory but your provided Gapps couldn't install cause there was a sudden memory leak,nevermind, as others, the colors are inverted, but, for a WIP ROM, It was good to see it booted on my i9100, what was the new thing on the main screen, is it a kind of app drawer?
Anyway thanks for all the hard work your puting in this project, I've been trying your unofficial Lineage ROM since the very first one and am still impressed, an Oreo build for i9100, and you are always on the go, thanks for that, be sure that I'll check your thread as soon as possible, I sendyou all the possible luck I could.
Cheers!
Edit: tested over Isorec TWRP 3.1.0.0 as it is the one I installed previously on my i9100, good night
Hi to everyone,
I installed this wip rom from twrp 3.0.2.1 without gapps and the boot is OK but the problem is that the wifi does not work and there is no configured baseband of it being a bit closed ... Also there are random restarts and when it happens it stays in bootloop .. . To start it then a factory reset is needed. I then tried loading gapps pico 170902...boot is ok but at startup there are continuous stop processes and everything turns instabile and unusable.
I'm looking forward to release and thank you for keeping S2 alive!!!
Regards.
Sent from my GT-I9505 using XDA-Developers Legacy app
To fix the display colors inverted, you need to apply patch . You might also want to bring a legacy audiopolicy back: https://github.com/UltimateROM/android_frameworks_av/commits/cm-15.0 .
In my case audio is working now on Galaxy Ace 2.
Btw, any ideas on how to bring up RIL to work? I've started to work on frameworks/opt/telephony, but I've a kind a feeling I'm working not in a right direction as I can't seem to find a similar works for this repository. Just wondering how some devices' RIL works without using a custom RIL class.

[ROM] LineageOS-14.1 for Meizu M2 Note [7.1.2]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available on github : LineageOS Github repo.
Unofficial build of LineageOS 14.1 (Android 7.1.2) for the M2 Note​
Code:
#include
/*
* Your warranty is now void.
*
* I am 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!
*/
Working features:
Hardware acceleration
RIL for SMS/Calls/Internet
GPS
WiFi
Vibration
Audio
Bluetooth / A2DP
MTP and Mass Storage mode
External SD
Camera (Videos & Photos)
Gestures
Gamepads support
All Sensors
Tethering
USB Otg
mBack button!
LiveDisplay (natively)
Power-On Alarms (wakes the device 1m30 before an alarm)
Sdcardfs (default)
Ext4 backported from 3.18 with crypto and lazytime
F2FS latest stable with lazytime
Zram (w/ LZ4 comp.)
Offline-Charging Mode
Signed build (user/release-keys)
Selinux enforcing :fingers-crossed:
Security Patch September 2019
Thanks to Prasenjit Roy for the quick-review video :highfive:
https://www.youtube.com/watch?v=Uy1sVlSeYks
Download:
Build 25 (Stable 9 "PrettyLate") : HERE (Gdrive link)
md5: fadd90ec9ec6dded055231386c7186e2
[lineage] sources updated as of today, includes September 2019 security bulletin
[device] fixed orientation sensor (still works after a week without reboots)
[kernel] upstream updates, small fixes and CVEs
Build 24 (Stable 8 "Late") : Here(temp. Gdrive link)
[lineage] sources updated as of today, includes November 2018 security bulletin
[device] fixed hardware HEVC encoding/decoding, should make some audio/video apps more stable
[kernel] upstream updates, small fixes and CVEs from November '18 for the wifi driver included.
Build 23 (Stable 7 "Spring") :
[lineage] sources updated as of today, includes May 2018 security bulletin
[device] enabling the virtual navbar will now disable the hardware button (for those with a broken buttons <3 )
[kernel] upstream updates, fixed exfat kernel drivers
Build 22 (Stable 6 "M'lady") :
[lineage] sources updated as of today, includes January 2018 security bulletin
[device] lights HAL built from source, leds settings cleaned (battery notification was not on stock rom, the settings were unused), mtk omx settings were fine-tuned (should reduce the lag when playing HQ videos), broken ffmpeg VIDEO (and aac) codecs were removed to keep things tidy.
[storage] encryption AND "formatting an sdcard as internal storage" should now properly work (updated kernel and TWRP)
[kernel] upstream updates, fully upstreamed encryption, ext4, dm, md and sdcardfs drivers, fixed encryption and sd as internal storage for ext4 & f2fs, a few tweaks/cleanup. NFS was reverted from the kernel, CIFS is now built, I'm not sure if I want to build both as NFS might not be used if by any of us, if anyone wants kernel support for NFS, voice yourself.
[blobs] removed a couple unused blobs, updated md_init / nvram_daemon to prevent crashes during modem start/stop/restart and during encryption process.
[doze] doze package was fixed by Dinolek ( hand-wave to wake and co, features) and now works properly
[shim] updated shim for graphic buffers by Dinolek, mtk_agps is now shim-free and was updated to a Nougat blob.
How to report Issues
If you find a bug please check if an exisiting issue is already mentioned and create one with details and logs here : Bug reports @ Github issues
Make sure you fit those criteria first :
Make a backup, do a "Wipe Clean" install
Make sure you don't use MODifications (flash clean, try again)
Check the open/closed issues (most of the problems faced should have a mention about how it was fixed or how to workaround rare bugs)
Check google first, there might already be solutions, there's also "howto" (for making logs, using a different i/o scheduler, etc.. )
Explain and give details, add logs as much as possible (and please take the time to search how to do those tasks, I know most of you are well intentioned when asking "how can I make logs", but you're not helping only me, you're helping yourself and everyone else who might/has the same issue :good: )
Issues
First boot and bluetooth :
NOTE: for those having issues with bluetooth not enabling, you need to actually copy/paste the file :
"/data/nvram/APCFG/APRDEB/BT_Addr" to "/data/", it should look like "/data/BT_Addr".
For some reasons (I couldn't find the definitive solution so far), it seems nvram can't access the "BT_Addr" in nvram and falls back to reading it from /data/BT_Addr (which is just a copy of BT_Addr). Using enforcing makes the nvram_daemon unallowed to create files in /data, which is why you need to copy it yourself. If anyone wants to make a small flashable fix.zip, I'll link it here
First boot and camera :
You can flash from TWRP this little fix : CameraFix-Dinolek-Los14.1.zip (Download section)
Proximity Sensor :
If your proximity sensor doesn't work and/or you have a black screen after hanging a call, you can find a flashable zip named "Mtk-prox.sensor.FIX.v2.zip" under the download section.
Flash this zip will install the small proximity calibration helper written by xen0n (here - thanks to him )
[*] V2: should be automatic on boot/reboot, if not see the note for V1.
[*] V1: Usage is simple, if you need to calibrate your proximity sensor, just open terminal app (you can enable Terminal app in Settings>DevOptions), start the terminal and type :
"meizupshelper c" ( c as in Calibration)
Voilà !
How to install Recovery / TWRP :
Use the recovery linked in the download section of this thread
-> How to install TWRP <- I don't support unlocking bootloader AND installing TWRP, check the corresponding threads :highfive:
How to install G-apps :
LineageOS now recommends these G-apps package : click here, I installed the corresponding package to our rom : "Nougat Base Gapps package for 7.1.2 (arm64)", seems fine so far
Open-Gapps should work too, refer to lineageOS wiki for more infos.
Don't be cruel:
If you want to mirror the rom or port it to another device, go ahead! Just do the right things and give proper credits. Thank you!
XDA:DevDB Information
[Stable] LineageOS-14.1 for Meizu M2 Note [7.1.2], ROM for the Meizu M2 Note
Contributors
Moyster, Fire855
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information
Status: Stable
Current Stable Version: 9
Stable Release Date: 2019-09-12
Created 2017-10-21
Last Updated 2019-09-15
Old changelog :
Build 21 (Stable 5 "Santa2note") changelog :
[lineage] sources updated as of today
[device] audio HALs updated to properly support the new bluetooth drivers, and xml audio policies
[rootdir] our octo-core m2note has now properly defined cpusets, as well as a bunch of tweaks/optimisations for smoothness / reactivity and fast app-opening.
[blobs] device specific blobs were all moved to /vendor instead of /system, which allowed to update a few more binaries (like thermal_manager) and figure that ClearMotion is broken and now disabled.
[kernel] see the changelog on github, there's been a lot since last changelog ion/binder/smi/fliper and a lot of drivers were updated, a lot of CVEs were patched, arm optimized crypto algos are now used (for SHA*/chacha20/etc..), NFS is enabled and supported, exfat/f2fs/sdcardfs were updated, some small battery-performance optimizations were merged (shouldn't be that big but still).
Build 19 (Stable 3 "FracturedWaduhek") :
[krack] wpa_supplicant fix in lineage source and kernel fixes
[device] updated MeizuDoze and CMActions (gesture implementation)
[sepolicy] cleanup and fix a few more denials
[security] hardened kernel config, extra entropy gather during boot,
[kernel] upstream f2fs updates, zram/zsmalloc drivers from 4.1 kernel
[misc] cleaned unused services/props
Build 18 (Stable 2 "Ruhr") changelog :
[backport] kernel backported uid_sys_stats, binder from 4.9
[camera] might not be new, but HDR is back since a few releases
[charger] switched to AOSP/Lineage charger (using healthd) / remove mediatek charger (kpoc_charger)
[config] added gps.conf to remove a few warnings, newer SPNs (from MAD and leskal)
[device] cleaned unused props and settings
[drivers] kernel libvsprintf, vmstat, fiq_debugger, f2fs, sdcardfs, ion, maxx77819(charger driver), fsync, LowMemoryKiller driver cleanup, fix and updates; removed mlog drivers, less debug/xlog/aee/custom code from mediatek, removed logspam from most mediatek drivers
[flaw] BlueBorne fixed (android & kernel)
[fs] ntfs & exfat kernel native drivers
[gamepad] xbox360-one / usb gamepad support (using an OTG cable, you can navigate / open apps, play games, etc..)
[gapps] fixed TrustedFace (unlock with your front camera should work now, thanks to MAD team)
[gps] GPS drivers from N, GPS binaries from N, properly reworked AGPS shim
[kernel] kernel upstream fixes and CVEs corrections, bug squashing and improvements (a problematic/spammy backtrace finally was fixed in task_mmu, meizu battery logs were removed, check and delete this file : /data/fuelgauge_datalog.txt to gain some free space in /data), code sanity updates (moving to __FUNCTION__ > __func__, no more seq_printf (increases overall security))
[misc] blob removed unused libs (libjtranscode), removed kpoc_charger, libshowlogo
[os] Android Security Bulletin to September 2017
[permission] added SIP permissions (should enable SIP if available)
[power] powerHAL made compatible for passthrough HIDL design
[ril] readded REFRESH_SESSION_RESET
[sepolicy] cleanup unused rules (mdlog, fuelgauge_data_file), fixed a few denials
[shim] libshim cleaned, removed libshim_asc and the AndroidSurfaceControl symbols
[rootdir] clean, rebased init files, added path for e/frandom to uevent
[vendor] Mediatek security fixes up to September 2017, kernel various mediatek bugfixes and memleaks fixed (backported to 3.10 from Mediatek 3.18 maintained kernel)
Build 17 (Stable 1.1 "Arewederyet") changelog :
[android] Security Bulletin from "5 August 2017"
[kernel] cmdq, gud, smi, ext4 drivers update & a bunch of CVEs
[lineage] rebased to latest sources up to 12/08/17
Build 16 (Stable 1 "XmasisSoon") changelog :
[kernel] updated 3.10.106 -> 3.10.107 & additional CVEs
[lineage] Security Bulletin from "5 july 2017"
[misc] smaller tweaks and fixes (sepolicy & doze)
Build 15 (RC 5 "Summertime") changelog :
[kernel] updated 3.10.105 -> 3.10.106
[lineage] Security Bulletin from "5 june 2017"
[device] smaller tweaks and fixes (sepolicy & initramfs)
[hotspot] Works natively (without editing build.prop )
Build 14 (RC 4 "Proxima") changelog :
[camera] fixed a couple bugs, exposure, white-balance, brightness/contrast settings should work properly, better picture quality (still missing HDR, for reasons)
[video-recorder] fix a bug where recording with the flash on crashed, video recording is not extra dark anymore
[netd] properly supporting firewalls / iptables rules / per app restrictions :highfive:
[kernel] netfilter rules cleaned, less latency, now using "cubic" as tcp congestion algorithm (faster internet)
[kernel²] includes every modifications/fixes done during the "kernel tests release" (memory management fixed, ext4&f2fs security&performance update, optimised FS mount flags (incl. lazytime))
[lineage] rebased sources as of today "5 june 2017" ~3pm
[misc] small cleanups/improvements
Build 13 (RC 3 "Datupdat") changelog :
[bluetooth] config update
[kernel] new drivers (uid_sys_stat, mlog, some mtk drivers fixes), f2fs updates, net updates, now using MEMCG instead of kernel LMK, more CVEs fixed, reworked config, and various small tweaks/updates.
[lineage] latest sources from los, note: they moved from Gello to Jelly (a lighter/easier to maintain browser)
[misc] small fixes for sepolicy / device tree (f2fs fstab support)
[sdcardfs] moar fixes!
Build 12 (RC 2 "ICanHazSpeed") changelog :
[omx] omx blobs and some camera-related blobs were updated, should work a bit better and give a better picture quality
[bluetooth] now using N omx blobs
[kernel] security updates, performance tweaks, net/wifi should connect faster.
[scheduler] changed from "deadline" to "bfq" as default
[performance] io scheduler and readahead values tweaked for boot / boot complete (faster boot, better UI fluidity)
[sdcardfs] moar fixes!
[security] A whole new Sepolicy to finally get rid of the small little bugs (touch unresponsive, etc...)
Build 11 (RC 1 "Anougat") changelog :
[release] Builds have reached the "Release Candidate" state, any feedback for broken features (things working before this build) is welcomed !
[gps] mtk agpsd crash fixed (should stop some battery drain/bug)
[kernel] security updates, stability updates, cleanup
[power] fixed "energy saver mode", device won't crash by enabling then disabling it
[sdcardfs] fixed mismerge, downloading files larger than 40mb works
[security] Selinux policy fixed, Selinux is now using "enforcing" mode :highfive:
Build 10 (Beta 10 "AnewFone") changelog :
[alarm] Power Off Alarms fixed (phone turned off will wake 1 minute and a half before any alarm defined )
[android] lineage rebased to 7.1.2_r2 :highfive:
[blobs] latest modems and blobs from Flyme6
[camera] for real this time, no more "camera fix" to flash :fingers-crossed:
[gapps] LineageOS now recommends these G-apps package : click here, I installed the corresponding package to our rom : "Nougat Base Gapps package for 7.1.2 (arm64)", seems fine so far
[kernel] a lot of updates / cleanup / fixes (including most of the recent security fixes)
[overlays] various fixes/cleanup
[PinnerService] pinned correctly some frameworks, should improve a bit performance
[sdcardfs] enabled by default, better performance for both internal storage and sdcards (should also fix permissions errors during copy)
[selinux] some sepolicy denials fix / cleanup
[shim] now using force_shim_lib instead of removing cap_sys_nice on surfaceflinger
[*][f2fs] experimental: the rom should support f2fs, untested feature, take caution (not enabled by default, requires formating partitions to f2fs in twrp, I don't know if the twrp we use supports it correctly)
see here : https://github.com/Moyster/nougat_device_meizu_m2note/blob/los-14.1/rootdir/fstab.mt6735
f2fs allowed on /userdata and /cache partitions, improvements unknown
Build 9 (Beta 9 "Joke'sOnYou") changelog :
[camera] no more patch required, proper release
[video-recording] fixed a bug who crashed the camera if recording a video longer than 24sec
Build 8 (Beta 8 "StillNoJoke") changelog :
same as build 7
[omx] N omx blobs, fixes a lot of issues regarding A/V (Snapchat works )
[camera] no more legacy hal flag, more secure :highfive:
[wifi] hidden wifi should work
Build 7 (Beta 7 "IsNoJoke") changelog :
[kernel] global updates, performance, security (CVEs), sdcardFS/F2FS fixes, backported driver from 3.18 (Wifi / Gps / Bluetooth)
[proximity-sensor] should be fixed, uploaded a v2 that should apply on reboot automatically (added sepolicy, thanks to divis1969 & KevinMX for testing/fixing this)
[rom] lineage update
Build 6 (Beta 6 "BreathOfTheWild") changelog :
[android] LineageOS rebase to 7.1.1_r25 (March Security Bulletin)
[kernel] CVEs from March 2017 Sec Bulletin, more sdcardFS fixes
[hotspot] reverted to working state
Build 5 (Beta 5 "Damerge") changelog :
[android] LineageOS rebase to 7.1.1_r21 (05/02/17 security patch)
[sdcard] kernel/rom now supports "sdcardFS" but not used by default
[kernel] more security updates (more CVEs from february 2017 patch), kernel updated to 3.10.105
[misc] updates / cleanup / various little things
Build 4 (Beta 4 "Ixemo") changelog :
[netd] Data Counting fixed
[kernel] security updates (some CVEs from february 2017 patch)
[device] blobs update with native Nougat blobs
[shim] sensors are now shimmed (less patches on android sources)
[OMX] Cleanup (should fix a few crashes)
Build 3 (Beta 3 "Kameha") changelog :
[camera] touch to focus is fixed
[recording] 720p profile should be working properly now
[device] blobs cleanup / some camera blobs were updated from Flyme 6.7.1.17
[shim] audio is now shimmed (less patches on android sources)
[OMX] FLAC is now working
Build 2 (Beta 2 "Ohemix") changelog :
[perf] performance and battery should feel noticeably better
[kernel] some drivers were updated
[device] services / blobs cleanup, more free ram
[shim] libmtk_symbols was turned into a shim lib, symbols trimmed to only what's needed.
[OMX] fully working, no more legacy support, no additional package to flash, stability improvements (no more mp3 crashes)
[OCM] Offline charging mode fully working, it displays the battery charge and puts the screen to sleep after timeout
[bonus] Google Assistant trick ( ro.opa.eligible_product=true) added for easier G-assistant activation
Build 1 (Beta 1 "GOFALCONS") changelog :
Initial release
Bring-up basic functionalities
First !
Thanks a lot Moyster !
this is great! ??
Download:
Build 19 (Stable 3 "FracturedWaduhek") : Here
[krack] wpa_supplicant fix in lineage source and kernel fixes
[device] updated MeizuDoze and CMActions (gesture implementation)
[sepolicy] cleanup and fix a few more denials
[security] hardened kernel config, extra entropy gather during boot,
[kernel] upstream f2fs updates, zram/zsmalloc drivers from 4.1 kernel
[misc] cleaned unused services/props
Enjoy
wow.. thanks for the update ..
Everything is going well the last update feels faster than build 18 ? thanks
thank you very much
Stable ? and fast.. Everything great.. Anyway the proximity fix doesn't work..
camera fix
what about camera , he work in new beta 19, with the new zip flash file?
Hi, thanks for the update, but I can't root it flashing the v2.79 SuperSu zip. I've also tried with v2.82 but with the same result. How can I root it?
Edit: ok flashed Magisk and no problems. Everything is working fine.
Thanks a lot for the update @Moyster,please update the twrp recovery so that it will work for all users,for me it doesnt work, it cant clean up cache or system and i end up with broken partition.
Alucard said:
Thanks a lot for the update @Moyster,please update the twrp recovery so that it will work for all users,for me it doesnt work, it cant clean up cache or system and i end up with broken partition.
Click to expand...
Click to collapse
i use the twrp 3.1.1 ,when you wipe cacher and system,you should to waite about ten minites,it will be work[COLOR="Silver"[COLOR="Silver"]
---------- Post added at 04:19 PM ---------- Previous post was at 04:16 PM ----------
[/COLOR]thanks to update.
i find the charging animation is reversed when shutting down the phone to charge
what a good job we thank you for all your great monster effort
My first go at installing a custom ROM. Took a backup. Crossing fingers. Thanks for this!
zty915 said:
i use the twrp 3.1.1 ,when you wipe cacher and system,you should to waite about ten minites,it will be work[COLOR="Silver"[COLOR="Silver"]
---------- Post added at 04:19 PM ---------- Previous post was at 04:16 PM ----------
[/COLOR]thanks to update.
i find the charging animation is reversed when shutting down the phone to charge
Click to expand...
Click to collapse
Oh i didnt wait that long,but with older twrp recoveries there is no such issue,i think its a lot of time to wipe partitions and must be fixed but thats up to the developer ,im just hopig he will see my request.
Alucard said:
Oh i didnt wait that long,but with older twrp recoveries there is no such issue,i think its a lot of time to wipe partitions and must be fixed but thats up to the developer ,im just hopig he will see my request.
Click to expand...
Click to collapse
Go to settings in twrp and check the "use rm instead of formatting" it will format instantly
My flash failed
Trying to flash lineage-14.1-20171021-UNOFFICIAL-m2note.zip' onto my phone for the first time (had Flyme this morning).
Code:
I:operation_start: 'Flashing'
Installing zip file '/extSdCard/lineage-14.1-20171021-UNOFFICIAL-m2note.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Target: Meizu/lineage_m2note/m2note:7.1.2/NJH47F/1a8158dae2:user/release-keys
Target: Meizu/lineage_m2note/m2note:7.1.2/NJH47F/1a8158dae2:user/release-keys
could not detect filesystem for /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system, assuming ext4
could not detect filesystem for /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system at /system: No such file or directory
mount: failed to mount /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system at /system: No such file or directory
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
run_program: child exited with status 127
unmount of /system failed; no such volume
unmount of /system failed; no such volume
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Patching system image unconditionally...
performing update
Patching system image unconditionally...
open "/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system" failed: No such file or directory
script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.
E:unknown command [log]
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '/extSdCard/lineage-14.1-20171021-UNOFFICIAL-m2note.zip'
Updating partition details...
I:Data backup size is 0MB, free: 8661MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
Any ideas?
EDIT: Seems to be the same problem as https://forum.xda-developers.com/showpost.php?p=74046296&postcount=1308, so I applied the same solution. Seems to have worked... still waiting for first time boot...
numpea said:
Go to settings in twrp and check the "use rm instead of formatting" it will format instantly
Click to expand...
Click to collapse
Thanks i ll try,what does this option do,is it another way of formatting?
eduardo579 said:
Hi, thanks for the update, but I can't root it flashing the v2.79 SuperSu zip. I've also tried with v2.82 but with the same result. How can I root it?
Edit: ok flashed Magisk and no problems. Everything is working fine.
Click to expand...
Click to collapse
I had the same problem > thanks for the Magisk tip > now i'm rooted
All works fine!

[ROM][UNOFFICIAL][9.0.0][r46][I9100] LineageOS 16.0

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:
Upgrade from Build 7-13 to Build #14 and higher
Flash i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img and reboot recovery. In TWRP-3.3.1-1 you will then be able to (dirty) flash
lineage-16.0-20190707-UNOFFICIAL-i9100.zip
Upgrade from Samsung stock ROM to Build #14 and higher using ODIN 3.07
Copy lineage-16.0-20190707-UNOFFICIAL-i9100.zip to your Micro SD-card before flashing.
Pit: i9100-LOS-16.0-Emulated-Storage.pit UPDATED ON 15-7-2019 due an error in previous PIT
PDA: i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
1. Boot your phone into Download-mode (Volume down + Power/Standby + Home and hold for 10 seconds).
2. Start ODIN 3.07 on your PC.
3. Connect your phone via USB to your PC.
4. Press volume up on your phone, ODIN should detect your phone.
5. In ODIN:
Auto Reboot : unchecked
Re-Partition: checked
PIT : i9100-LOS-16.0-Emulated-Storage.pit
PDA : i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
6. Press Start.
7. After succesful flash, reboot phone into Recovery:
- Press Volume up + Power/Standby + Home and hold for 10 seconds.
The phone shuts down.
- Repeat Press Volume up + Power/Standby + Home and hold for 10 seconds
Phone boots in recovery TWRP 3.3.1-1.
8. Swipe to Allow Modifications
9. In TWRP 3.3.1-1 you need to format partions
- Wipe -> Format Data -> Type [yes]
- Wipe -> Advanced Wipe -> Select:
* Davik / ART Cache
* Cache
* System
* Non-emulated Storage
-> Swipe to Wipe
10. Install LOS-16.0 + Gapps or MicroG
To prevent "Uncryption unsuccessful" error of GAPPS at first start:
- Reboot to recovery and Wipe -> Format Data -> Type [yes] again
11. Boot System
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)
SIM pincode broke since build #13. Disable your SIM pincode before using this rom or have your PUK code standby.
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
@TALUAtXDA for porting exFAT
and everyone testing our ROMS!
Build #21 2020-03-20
Overall state: Stable
Android build: 9.0.0-r46
Required recovery: TWRP 3.3.1-1
- Updated sources
- Updated boot-image for Magisk v20.3
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20200320-UNOFFICIAL-i9100.zip
lineage-16.0-20200320-UNOFFICIAL-i9100_boot_magisk.img
Old builds
Build #20 2019-12-20
Overall state: Stable
Android build: 9.0.0-r46
Required recovery: TWRP 3.3.1-1
- Updated sources
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20191220-UNOFFICIAL-i9100.zip
lineage-16.0-20191220-UNOFFICIAL-i9100_boot_magisk.img
Build #19 2019-11-30
Overall state: Stable
Android build: 9.0.0-r46
Required recovery: TWRP 3.3.1-1
- Updated sources
- Added support for exFAT + NTFS (Thanks to @TALUAtXDA)
- Updated Magisk to v20.1 in lineage-16.0-20191130-UNOFFICIAL-i9100_magisk_boot.img
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20191130-UNOFFICIAL-i9100.zip
lineage-16.0-20191130-UNOFFICIAL-i9100_magisk_boot.img
Build #18 2019-10-06
Overall state: Stable
Android build: 9.0.0-r46
Required recovery: TWRP 3.3.1-1
- Updated sources
- Fixed SIM Pincode
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20191006-UNOFFICIAL-i9100.zip
lineage-16.0-20191006-UNOFFICIAL-i9100_magisk_boot.img
Build #17 2019-09-13
Overall state: Stable
Android build: 9.0.0-r46
Required recovery: TWRP 3.3.1-1
- Updated sources
- Fixed color issues in screen recording
- Implemented Outdoor (bright sun) display mode.
Automatic outdoor mode behavior is disabled by default.
WARNING: Use with caution! Continuous usage in this mode will degrade your OLED display!
- Disabled KSM (Kernel Same-page Merging) for better overal performance.
Known issues:
- Call recording only records microphone
- SIM Pincode doesn't work, need PUK to unlock!
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20190913-UNOFFICIAL-i9100.zip
lineage-16.0-20190913-UNOFFICIAL-i9100_magisk_boot.img
Build #16 2019-08-11
Overall state: Stable
Android build: 9.0.0-r46
Required recovery: TWRP 3.3.1-1
- Updated sources
- Added Magisk kernel build-script in device-tree
- Magisk support via i9100-LOS 16.0-magisk-boot.img!
This installs the patched kernel with Magisk-v19.3.zip
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20190811-UNOFFICIAL-i9100.zip
i9100-LOS 16.0-magisk-boot.img
Build #15 2019-07-22
Overall state: Stable
Android build: 9.0.0-r44
Required recovery: TWRP 3.3.1-1
- Updated sources
- Reenabled multi-user in low_ram
- Pinnerservice: Drop camera- and launcher apps, resulting more memory for other apps
- Camera: Fixed autofocus in preview (tested with WhatsApp)
- Set ro.config.small_battery-flag. Deep sleep kicks in 15 minutes instead of 30 minutes
- Fixed wakelock issue after using flashlight once
- Dropped Lineage SU in build, download and install seperately from Lineage website
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
Download LineageOS 16.0 SU (arm) addon/removal here
lineage-16.0-20190721-UNOFFICIAL-i9100.zip
Build #14 2019-07-07
IMPORTANT
From this build on you need to use my unofficial TWRP 3.3.1-1 which has emulated storage support.
Overall state: Stable
Android build: 9.0.0-r44
Required recovery: TWRP 3.3.1-1
- Updated sources
- Set swappiness to 100
- Fixed BLN
- Using Preload-partition for misc
- Added Bluetooth SIM Access Profile support (I ported this, but can't test)
- Fixed stereo microphone recording (also in videorecording)
Known issues:
- Call recording only records microphone
Please report if there are more issues.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit UPDATED ON 15-7-2019 due an error in previous PIT
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-16.0-20190707-UNOFFICIAL-i9100.zip
Build #13 2019-6-11
Overall state: Stable
Android build: 9.0.0-r40
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
Updated sources
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-20190611-UNOFFICIAL-i9100.zip
Build #12 2019-5-11
Overall state: Stable
Android build: 9.0.0-r37
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
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
Overall state: Stable
Android build: 9.0.0-r34
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
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
Overall state: Stable
Android build: 9.0.0-r34
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
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
Overall state: Stable
Android build: 9.0.0-r31
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
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
Overall state: Stable-ish
Android build: 9.0.0-r31
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
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
Required recovery: TWRP 3.1.0-EMU-MIGRATION-M-20170318.zip
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][r46][I9100] LineageOS 16.0, 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 2020-03-20
thank you very much for your work
Hello,
Thank you very much for your work .
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.
Click to expand...
Click to collapse
Please, could you give your recommended partitioning scheme with more detail.
rINanDO said:
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.
Click to expand...
Click to collapse
Thanks for your hard work (and the nice explanations). Without g-apps 1GB should be sufficient?
guest4711 said:
Thanks for your hard work (and the nice explanations). Without g-apps 1GB should be sufficient?
Click to expand...
Click to collapse
yes
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.
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.
THANKS!!!
I'll try to contribute as much as I can!!! (Bugs, tests, some things I know in the code )
when installing an error
DJ.Kurrare said:
when installing an error
Click to expand...
Click to collapse
Which partitioning scheme you have used?
DJ.Kurrare said:
when installing an error
Click to expand...
Click to collapse
try to download the rom again. Most of the time, this solves the problem for me
DJ.Kurrare said:
when installing an error
Click to expand...
Click to collapse
Make sure the md5 matches. Use the TWRP version OP used (3.0.2).
Hmm could someone kindly point me the link where I can download 1.5GB system repartition zip? Some years ago I did the repit with Odin but I heard there is a easier way to do it. However couldn't find the 1.5GB version from the androidfilehost.
Btw awesome work and effort @rINanDO !
ran000 said:
Which partitioning scheme you have used?
Click to expand...
Click to collapse
I91001GB_3GB.pit GAPPS never install
---------- Post added at 09:58 AM ---------- Previous post was at 09:54 AM ----------
guest4711 said:
Make sure the md5 matches. Use the TWRP version OP used (3.0.2).
Click to expand...
Click to collapse
9d2ff696a3ad0f491d4665c2f1b08349 *lineage-16.0-20181004-UNOFFICIAL-i9100(1).zip
---------- Post added at 10:01 AM ---------- Previous post was at 09:58 AM ----------
guest4711 said:
Make sure the md5 matches. Use the TWRP version OP used (3.0.2).
Click to expand...
Click to collapse
please give a link to TWRP 3.0.2
From the official site doesn't download
( https://twrp.me/samsung/samsunggalaxys2i9100.html)
DJ.Kurrare said:
please give a link to TWRP 3.0.2
From the official site doesn't download
( https://twrp.me/samsung/samsunggalaxys2i9100.html)
Click to expand...
Click to collapse
How about https://eu.dl.twrp.me/i9100/twrp-3.0.2-1-i9100.img.html ?
guest4711 said:
How about https://eu.dl.twrp.me/i9100/twrp-3.0.2-1-i9100.img.html ?
Click to expand...
Click to collapse
from here it is not downloaded
DJ.Kurrare said:
from here it is not downloaded
Click to expand...
Click to collapse
For me it was working... Here you are.
Syaani said:
Hmm could someone kindly point me the link where I can download 1.5GB system repartition zip? Some years ago I did the repit with Odin but I heard there is a easier way to do it. However couldn't find the 1.5GB version from the androidfilehost.
Btw awesome work and effort @rINanDO !
Click to expand...
Click to collapse
I have success with this one:
https://drive.google.com/file/d/13IwaHY3VBmmLk2z1SJm07Ef67rw1L-E_/view?usp=sharing
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
guest4711 said:
Make sure the md5 matches. Use the TWRP version OP used (3.0.2).
Click to expand...
Click to collapse
I have success with TWRP 3.2.3-0
ran000 said:
I have success with this one:
https://drive.google.com/file/d/13IwaHY3VBmmLk2z1SJm07Ef67rw1L-E_/view?usp=sharing
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
I have success with TWRP 3.2.3-0
Click to expand...
Click to collapse
You have what partitioning ?
Originally Posted by ran000
I have success with this one:
https://drive.google.com/file/d/13Iw...ew?usp=sharing
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
I have success with TWRP 3.2.3-0
DJ.Kurrare said:
You have what partitioning ?
Click to expand...
Click to collapse
Link above is my partitioning script

[ROM][SM-T580][SM-T585][UNOFFICIAL] Lineage 17.1 | Q | 64bit 20200815 (Discontinued)

As I said several times, if someone starts to build the current version of the lineage that I do, I completely close the project.
In May, I closed the port, based on 10 android and now the time to completely close all work on exynos7870. There was only one reason why I didn't do it earlier - I promised to fix the sound during calls in the LTE version. Now all done, I dont have any desire and motivation to do anything for the exynos7870.
This decision is final, I switched now to the work on note pro 12.2 wifi variant, my smart home and think about starting tab s6.
Thanks to everyone who has been with me all these years, I will see you on other projects.
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
If you want to check firmware - please make backup.
Instructions
1. Install latest TWRP
2. Download the zip(s) - firmware and Google Apps additional package (optional)
3. Backup all partitions (it least efs) and store somewhere - it need to do - because you can loose imei
4. Full wipe all
5. Flash firmware and gapps
Work
almost all
Known Issues
Lineage Builds
SM-T580
15. 20200815: august security patch: https://drive.google.com/file/d/1m67wMYmMbQOCoNLxalgJ9Pv6T7ruQ2G6/view?usp=sharing
14. 20200630: june security patch, review device tree, switch to samsung stock sound: https://drive.google.com/file/d/1xgvXjydnklYZeVHz6Mumgf7jUAm6oSEz/view?usp=sharing
13. 20200412: april security patch: https://drive.google.com/file/d/1Isqa8WAlghmCGTMSGnKEsfUX9dUicM0n/view?usp=sharing
12. 20200211: latest sources, February security patch: https://drive.google.com/file/d/1jY2riYpLUJ8EFtOMFSXo9o57_Ijr-qVm/view?usp=sharing
11. 20200113: latest sources, January security patch: https://drive.google.com/file/d/1hnEUDgcugxBLbhQw5d-q9mU75rierlZX/view?usp=sharing
10. 20191202: rollback video driver to r22, merge kernel up to 3.18.140 (thanks @followmsi), aptx driver (thanks @followmsi): https://drive.google.com/file/d/1K_K6yfJHmjCNJSR12eAh46-7FhagcT4Z/view?usp=sharing
9. 20191116: november security update: https://drive.google.com/file/d/1CcX6FnTon8OxM99qbUad9NW6rPrJbUgw/view?usp=sharing
8. 20191114: beta version: update video driver up to r28, update omx codecs, latest updates from @followmsi: https://drive.google.com/file/d/18axNa2sq6ekZeADBzTZeXlOOaJ1dg8WN/view?usp=sharing
7. 20191028: disable Codec2.0 components (long delay on start youtube) (thanks @followmsi), fix vulkan libs (thanks @followmsi): https://drive.google.com/file/d/1mAAEstZz9sOSCFWZiujaGKv-kkslIEwV/view?usp=sharing
6. 20191013: audio from sources: https://drive.google.com/file/d/1R6JDLG-H8bP6eGvex7R2PTYsCbrfQpdu/view?usp=sharing
5. 20191007: fix sensors: https://drive.google.com/file/d/1XsQ5qlP22XBGFQK6o1zKT0GLbVd_WlC7/view?usp=sharing
4. 20191003: https://drive.google.com/file/d/1LpthwW1Lf4fJW0nGwsThnJcZ8ToTKpUf/view?usp=sharing
3. 20190929: improved stability: https://drive.google.com/file/d/1qfKSQhDOI4LkthCpOckJLew0zIAZHo67/view?usp=sharing
2. 20190928: fix charger, home button: https://drive.google.com/file/d/1HBaqEwLux9XjTVgHT3IGMXnrCuJaqgTw/view?usp=sharing
1. 20190926: https://drive.google.com/file/d/1z5VCwOX9M8-ckb1Wt75oON6aUjMpx2hT/view?usp=sharing
SM-T585
15. 20200815: august security patch: https://drive.google.com/file/d/1OgIcsnfRRr5bFx5gd1kvKvtb8lELIMQa/view?usp=sharing
14. 20200630: june security patch, review device tree, switch to samsung stock sound: https://drive.google.com/file/d/110Zz5mlotOnDuFAjtuC5vNKa4VU1N0_I/view?usp=sharing
13. 20200412: april security patch: https://drive.google.com/file/d/1-llAbO2lZQ2T1qq743MxXZNtuHp7eAUX/view?usp=sharing
12. 20200211: latest sources, February security patch: https://drive.google.com/file/d/1l0APlqEK20cgJIGbBzaaekBIJrNFkilr/view?usp=sharing
11. 20200113: latest sources, January security patch: https://drive.google.com/file/d/1OskSZS28m268HRcTeTqFO_HQKB7NgWky/view?usp=sharing
10. 20191202: rollback video driver to r22, merge kernel up to 3.18.140 (thanks @followmsi), aptx driver (thanks @followmsi), fix hotspot: https://drive.google.com/file/d/1hbwkqI1jpctUUitA0Zg1a3LPj02KfSTS/view?usp=sharing
9. 20191116: november security update: https://drive.google.com/file/d/1eb_RdaAw6JSCNb_EsSUsPQnvCqGF_OeF/view?usp=sharing
8. 20191114: beta version: update video driver up to r28, update omx codecs, latest updates from @followmsi: https://drive.google.com/file/d/1cewbOdJapapRjBbk1X8k2mv9B5viBPlD/view?usp=sharing
7. 20191028: disable Codec2.0 components (long delay on start youtube) (thanks @followmsi), fix vulkan libs (thanks @followmsi), fix hotspot (there is still a bug - you cannot turn on wifi after activating a hotspot? need reboot tablet, but at least hotspot working): https://drive.google.com/file/d/1mqsNknYnJSh5cbml7dQ-xd5m0a-KlyCm/view?usp=sharing
6. 20191013: audio from sources: https://drive.google.com/file/d/1ymo05w9m9xukDsfLrZz6iBJMKNgarF4x/view?usp=sharing
5. 20191007: fix sensors: https://drive.google.com/file/d/14jOLZjLPyClboBZ8H3C2O6Dt0kFmXghS/view?usp=sharing
4. 20191003: ril: https://drive.google.com/file/d/18ZPRh19Rao1xRPQ5zI9jz7WfYIdonLZ2/view?usp=sharing
3. 20190929: improved stability: https://drive.google.com/file/d/1H5iinjtP2MBObqE-QWqWP0IMN_rRqK9Y/view?usp=sharing
2. 20190928: fixed charger, home button: https://drive.google.com/file/d/1bog0dKKJ17eXa7vgu9cB0K1U8XWTqBzb/view?usp=sharing
1. 20190926: https://drive.google.com/file/d/1Inx1A-6VNqtJJhTO3rmodKL2tiS1x8LH/view?usp=sharing
Gapps
https://opengapps.org
Platform: ARM64
Android: 10.0
Root
Install latest magisk from canary channel (version 20.1+): https://forum.xda-developers.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337
TWRP
official twrp:
SM-T580: https://twrp.me/samsung/samsunggalaxytaba101wifi2016.html
SM-T585: https://twrp.me/samsung/samsunggalaxytaba101lte2016.html
Sources
Sources: https://github.com/lineageos
Kernel: https://github.com/Valera1978/android_kernel_samsung_exynos7870
Device: https://github.com/Valera1978/android_device_samsung_gtaxllte and https://github.com/Valera1978/android_device_samsung_gtaxlwifi
Vendor: https://github.com/Valera1978/android_vendor_samsung_gtaxllte and https://github.com/Valera1978/android_vendor_samsung_gtaxlwifi
Thanks
Thanks to LineageOS team
XDA:DevDB Information
[ROM][SM-T580][SM-T585][UNOFFICIAL] Lineage 17.0 | Android 10 Q | 64bit, ROM for the Samsung Galaxy Tab A series
Contributors
Valera1978, Valera1978
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
Based On: lineage
Version Information
Status: Beta
Created 2019-09-27
Last Updated 2019-09-27
Finally, I finished the first version of the new android q.
Initially I thought it would be an easy walk. But google in the new version made a huge amount of changes. And I spend about weeks to made something working.
I rebuild the config, wrote a library with sensors from scratch, there were big problems with wifi and sound. For the sound, I had to build a 32bit version to get the missing libraries.
hello how r u?
thx for your great works,
i always try your roms and you are the best
please is there any bugs for t585 before i try it?
and can u tell me how can i backup all of my phone with internal storage like norton ghost on windows pc?
can u tell me your telegram channel?
Hi, thanks for your great work.
I have installed and tested. For now this I have found:
- Magisk 19.3 and 19.4 do not work. Do not start the rom after installation.
- The battery percentage cannot be displayed in the status bar.
Seems to work GREAT on the 580, the only problem i have is I cant use the home button to wake the tablet. I've tried to configure the buttons in setting but it doesn't work. Only the power button will wake it....
michaeljr10wv said:
Seems to work GREAT on the 580, the only problem i have is I cant use the home button to wake the tablet. I've tried to configure the buttons in setting but it doesn't work. Only the power button will wake it....
Click to expand...
Click to collapse
Same here thanks for rom Valera
When my T580 boots, I get a message saying there is an internal error and to contact the manufacturer. I just ignore it and everything seems to work ok. That and the battery % are the only two nits I've come across so far.
lewmur said:
When my T580 boots, I get a message saying there is an internal error and to contact the manufacturer. I just ignore it and everything seems to work ok. That and the battery % are the only two nits I've come across so far.
Click to expand...
Click to collapse
I have that fault also with SM-T580 and in the Xiaomi Mi A1. It is a fault of Lineage. Just ignore it.
Clash Royale and Brawl Stars work great. The tablet is very fluid.
Great rom, first custom rome redirects the music via usb to my external dac without
extra app!!! Thanks for your great work Valera1978!
Thanks Valera
It works much smoother than stock and earlier aosp.
In addition to what the colleagues mentioned, it happens to me that in Google Chrome I open two tabs and restart the tablet
On the other hand with Firefox in a quick test of several tabs this did not happen.
Thank you for your spectacular work.
Thanks for the Android 10. Fast rom but some random reboot.
This rom look awsome, i will flash it when i will be able to unlock my tablet with the home button
Reboots
Updated to the 09/28 version. Have a problem with the tablet rebooting. I'm trying to use AZ Recorder to record streams from Tubi TV. Start AZ and then Chrome and try to load the Tubi site and the tablet reboots. Did the same thing on the earlier version.
New version 20190929. Hope random reboots now gone away. Was done set of fixes.
Checking few hrs, no any reboots.
Magisk 19.3 and 19.4 unsupported
Nuzza said:
Magisk 19.3 and 19.4 unsupported
Click to expand...
Click to collapse
Yes, checked a bit, magisk modifing init in the boot and somehow corrupt it and then on load init cann't get partitions information from dtb.
And internal su also not finished yet.
My primary phone is xiaomi mi9 - more then month I'm on android q and magisk 19.3 working great here.
I'll back to check magisk soon, I need root too.
Nuzza said:
Magisk 19.3 and 19.4 unsupported
Click to expand...
Click to collapse
I thought Android 10 you need the Magisk 19.5, still canary builds so might have some issues.
Github Tree
Zip File
You can give it a try if you want
Thanks, valera. But dont' work accelerator.
Keeps giving random errors on the sm-t580
Thanks for update. Random reboot go away. I found few bug. Accelerator and recent files display issue. Thanks

[ROM][UNOFFICIAL][11.0.0][r46][I9100] LineageOS 18.1

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,
Well... It is still possible. Galaxy SII running Android 11! I could have made this port sooner, but the lack of time stalled a bit. Thanks to @ChronoMonochrome who ported LOS 18.0 for S3 couple months ago still using kernel 3.0.101 (or optionally 3.4) it should also be possible to build it for S2. Building for i9100 isn't straight forward because of the major changes in the image creation routines (creating boot.img, etc for the installable zip). And the GCC compiler support of Kernel 3.0.101 is removed. After resolving these issues I got my first flashable zip! Then I needed to get manifest.xml properly. Thanks to Shivaay who helped me and I got it finally booting! It was horribly slow because of some internal changes in LMKD which our kernel doesn't support some features. The Settings-app crashes immediately leaving me unable to investigate. After reverting some patches in LMKD and things in framework/base it started to run like Android 10. I addressed the HAL's and got almost everything working in this ROM. Of course it isn't perfect and there will be bugs or instability. I'm no Samsung, just a DIY
For these builds you NEED ISOlated-RECovery because I had to eliminate the embedded (.cpio) ramdisk-images in zImage.
Upgrade from Samsung stock ROM using ODIN 3.07
lineage-18.0-20201207-UNOFFICIAL-i9100.zip
PIT: i9100-LOS-16.0-Emulated-Storage.pit
PDA: i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
1. Boot your phone into Download-mode (Volume down + Power/Standby + Home and hold for 10 seconds).
2. Start ODIN 3.07 on your PC.
3. Connect your phone via USB to your PC.
4. Press volume up on your phone, ODIN should detect your phone.
5. In ODIN:
Auto Reboot : unchecked
Re-Partition: checked
PIT : i9100-LOS-16.0-Emulated-Storage.pit
PDA : i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
6. Press Start.
7. After succesful flash, reboot phone into Recovery:
- Press Volume up + Power/Standby + Home and hold for 10 seconds.
The phone shuts down.
- Repeat Press Volume up + Power/Standby + Home and hold for 10 seconds
Phone boots in recovery TWRP 3.3.1-1.
8. Swipe to Allow Modifications
9. In TWRP 3.3.1-1 you need to format partions
- Wipe -> Format Data -> Type [yes]
- Wipe -> Advanced Wipe -> Select:
* Davik / ART Cache
* Cache
* System
* Non-emulated Storage
-> Swipe to Wipe
10. Install LOS-18 ( + optionally Gapps or MicroG)
To prevent "Uncryption unsuccessful" error of GAPPS at first start:
- Reboot to recovery and Wipe -> Format Data -> Type [yes] again
11. Boot System
DON'T INSTALL TWRP APP. This will cause bootloop!
12. For MicroG users:
You need manualy grant permissions via ADB to get things working properly.
These are the commands:
adb shell pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
adb shell pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE
Thanks To
@ChronoMonochrome
Shivaay
@lee.wp14
@ze7zez
arco68
Team Infusion
LineageOS team
and all prior developers that were working on this phone.
I hope I didn't missed someone, please let me know.
Last but not least @channel48 which reviews custom ROMS from all kind of phones including my work on this ancient one
Source code:
https://www.github.com/lineageos
https://www.github.com/rinando
Current state:
Working:
- RIL (Phone/SMS)
- AGPS
- Audio
- Bluetooth (audio & headset)
- Wifi
- IMEI
- Touchkeys
- Camera Pictures
- Camera Videorecording
- Hardware encode/decoder
- Display
- Sensors
- DRM, for e.g. Netflix
- PowerHAL
- LiveDisplay
- Selinux enforced
- BitGapps
- Magisk v22.1
- FM Radio using Spirit2)
Not tested:
- Bluetooth headset
- BLN
- FM-Radio (using Spirit2)
- TWRP 3.4.0-0
Not working/known issues:
- Magisk support (misses some frameworks patches I guess)
- FM-Radio (using Spirit2)
- Home
- MicroG support
- Home-button not working while charging when phone is turned off. Use power-button
- Sometimes shutdown phone hangs (and draining your battery)
- Bluetooth headset connected via SCO
Won't fix:
- HDMI (MHL) (support broken/removed since CM 10)
Build #13 2022-02-27
Overall state: Stable-ish
Android build: 11.0.0-r46
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Magisk v24.1 support
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20220226-UNOFFICIAL-i9100.zip
lineage-18.1-20220226-UNOFFICIAL-i9100_magisk_boot.img
Build #12 2021-09-13
Overall state: Stable-ish
Android build: 11.0.0-r43
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210912-UNOFFICIAL-i9100.zip
lineage-18.1-20210912-UNOFFICIAL-i9100_magisk_boot.img
Build #11 2021-08-27
Overall state: Stable-ish
Android build: 11.0.0-r40
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Fixed Bluetooth headset
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210827-UNOFFICIAL-i9100.zip
lineage-18.1-20210827-UNOFFICIAL-i9100_magisk_boot.img
Build #10 2021-08-10
Overall state: Stable-ish
Android build: 11.0.0-r40
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Adjusted OLED brightness levels
- Enabled auto brightness
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210810-UNOFFICIAL-i9100.zip
lineage-18.1-20210810-UNOFFICIAL-i9100_magisk_boot.img
Build #9 2021-07-15
Overall state: Stable-ish
Android build: 11.0.0-r39
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Applied WifiOverlay to disable WPA3, please test, I don't have WPA3 router
- Decreased Exynos_Ion_Heap and TV-out to free 70MB memory
- Fixed reboot issue when using Magisk kernel
- Addressed unknown netlink mapping (SOCK_DESTROY) in kernel
- Disabled ColorFade, ColorFade indirectly trigger sometimes blackscreen crash when in high memory pressure. It allocates multiple fullscreen frames to animate fadeout effect when pressing powerkey to turn off/lock phone.
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210715-UNOFFICIAL-i9100.zip
lineage-18.1-20210715-UNOFFICIAL-i9100_magisk_boot.img
Build #8 2021-06-28
Overall state: Stable-ish
Android build: 11.0.0-r38
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- MicroG support thanks to @2faraway2
- Forward port Memory optimizations from LOS 16.0 thanks to @acroreiser
- Home-button fix offline charging
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210628-UNOFFICIAL-i9100.zip
lineage-18.1-20210628-UNOFFICIAL-i9100_magisk_boot.img
Build #7 2021-05-17
Overall state: Stable-ish
Android build: 11.0.0-r37
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Disabled Lineage GO configuration, forgotten in build #6
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210517-UNOFFICIAL-i9100.zip
lineage-18.1-20210517-UNOFFICIAL-i9100_magisk_boot.img
Build #6 2021-05-14
Overall state: Stable-ish
Android build: 11.0.0-r37
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Magisk v23.0 support
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210514-UNOFFICIAL-i9100.zip
lineage-18.1-20210514-UNOFFICIAL-i9100_magisk_boot.img
Build #5 2021-05-04
Overall state: Stable-ish
Android build: 11.0.0-r34
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Disabled low_ram flag, but other GO optimized memory-settings are still applied
- Disabled Lineage GO configuration, so we have Widgets againin Trebuchet
- Magisk v22.1 support!
Download Magisk v22.1 from here and install APK.
Reboot into recovery and flash lineage-18.1-20210504-UNOFFICIAL-i9100_magisk_patched.img via TWRP "Install image" and choose "Boot".
Reboot and enjoy Magisk!
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210504-UNOFFICIAL-i9100.zip
lineage-18.1-20210504-UNOFFICIAL-i9100_magisk_patched.img
Build #4 2021-04-06
Overall state: Stable-ish
Android build: 11.0.0-r32
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Finally fixed RIL (using i9300 blob) and GPS!
- Removed temporary permission hacks due missing kernel commits
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210406-UNOFFICIAL-i9100.zip
Build #3 2021-02-12
Overall state: Stable-ish
Android build: 11.0.0-r29
Required recovery: TWRP 3.3.1-1
Changes:
- Updated sources
- Added network fix caused Firefox to crash, thanks to florencebirée
- Build with LineageGO (more memory, but also more limitations)
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210212-UNOFFICIAL-i9100.zip
Build #2 2021-01-11
Overall state: Unknown, but hopefully better than #1
Android build: 11.0.0-r19
Required recovery: TWRP 3.3.1-1
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.1-20210111-UNOFFICIAL-i9100.zip
Build #1 2020-12-07
Overall state: Unstable, max reach uptime about 12h
Android build: 11.0.0-r17
Required recovery: TWRP 3.3.1-1
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.0-20201207-UNOFFICIAL-i9100.zip
A simple question: What will happen if I use TWRP 3.4.0-0 from Lineage 17.1 to flash this rom?
jjgvv said:
A simple question: What will happen if I use TWRP 3.4.0-0 from Lineage 17.1 to flash this rom?
Click to expand...
Click to collapse
Don't know but I don't expect problems. My test/dev device has twrp 3.3.1-1.
Omg! Thanks for your hard work!
can you please tell me where I can find the gapps for this rom? Thx
Great work! @rINanDO sir! thanks for keeping this ancient device alive for almost a decade
[email protected] said:
Omg! Thanks for your hard work!
can you please tell me where can I find the gapps for this rom? Thx
Click to expand...
Click to collapse
Anyone can test bitgapps with this rom?
[CUSTOM][GAPPS] BiTGApps for Android
Hi All, Welcome to the official BiTGApps Release thread! BiTGApps is a customized Google Apps Package to sideload Google Apps in Custom Android OS. It comes with many useful features and easy installation. Get features list, instructions...
forum.xda-developers.com
jjgvv said:
A simple question: What will happen if I use TWRP 3.4.0-0 from Lineage 17.1 to flash this rom?
Click to expand...
Click to collapse
I have flashed the ROM with TWRP-3.4.0-0 successfully here. Thank to rINanDO
Can anyone test this rom for GT-I9100T,GT-I9100M,GT-I9100P?
rINanDO said:
Build #1 2020-12-07
Overall state: ????
Android build: 11.0.0-r17
Required recovery: TWRP 3.3.1-1
Downloads
i9100-LOS-16.0-Emulated-Storage.pit
i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img
lineage-18.0-20201207-UNOFFICIAL-i9100.zip
Click to expand...
Click to collapse
Hello
I have done clean flash the subj . After a day of experiments I would like to report that I absolutely could not make a call ( see attached log of one of call ) , however I can receive call and speak well. Some suddenly reboots during a day looks ok for first build. Thank for your work. Good luck.
ran000 said:
Hello
I have done clean flash the subj . After a day of experiments I would like to report that I absolutely could not make a call ( see attached log of one of call ) , however I can receive call and speak well. Some suddenly reboots during a day looks ok for first build. Thank for your work. Good luck.
Click to expand...
Click to collapse
Thanks for your feedback. I also experienced sudden reboots and after 12 hours the phone doesn't wake up. I didn't test making a call, only receiving calls and sms. I updated the OP.
Thanks for the Rom 11
Waiting for new update
Can someone tell me how to get into recovery mode?
In the restart menu there is the recovery button -> restarting to recovery mode but the device starts and switches off.
With volume up + home + power button I get back to the home screen ??
What does this mean "Serial console enabled. Performance will be affected. Check bootloader".
Regards Klaus
rINanDO said:
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,
Well... It is still possible. Galaxy SII running Android 11! I could have made this port sooner, but the lack of time stalled a bit. Thanks to @ChronoMonochrome who ported LOS 18.0 for S3 couple months ago still using kernel 3.0.101 (or optionally 3.4) it should also be possible to build it for S2. Building for i9100 isn't straight forward because of the major changes in the image creation routines (creating boot.img, etc for the installable zip). And the GCC compiler support of Kernel 3.0.101 is removed. After resolving these issues I got my first flashable zip! Then I needed to get manifest.xml properly. Thanks to Shivaay who helped me and I got it finally booting! It was horribly slow because of some internal changes in LMKD which our kernel doesn't support some features. The Settings-app crashes immediately leaving me unable to investigate. After reverting some patches in LMKD and things in framework/base it started to run like Android 10. I addressed the HAL's and got almost everything working in this ROM. Of course it isn't perfect and there will be bugs or instability. I'm no Samsung, just a DIY
For these builds you NEED ISOlated-RECovery because I had to eliminate the embedded (.cpio) ramdisk-images in zImage.
Upgrade from Samsung stock ROM using ODIN 3.07
lineage-18.0-20201207-UNOFFICIAL-i9100.zip
PIT: i9100-LOS-16.0-Emulated-Storage.pit
PDA: i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
1. Boot your phone into Download-mode (Volume down + Power/Standby + Home and hold for 10 seconds).
2. Start ODIN 3.07 on your PC.
3. Connect your phone via USB to your PC.
4. Press volume up on your phone, ODIN should detect your phone.
5. In ODIN:
Auto Reboot : unchecked
Re-Partition: checked
PIT : i9100-LOS-16.0-Emulated-Storage.pit
PDA : i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5
6. Press Start.
7. After succesful flash, reboot phone into Recovery:
- Press Volume up + Power/Standby + Home and hold for 10 seconds.
The phone shuts down.
- Repeat Press Volume up + Power/Standby + Home and hold for 10 seconds
Phone boots in recovery TWRP 3.3.1-1.
8. Swipe to Allow Modifications
9. In TWRP 3.3.1-1 you need to format partions
- Wipe -> Format Data -> Type [yes]
- Wipe -> Advanced Wipe -> Select:
* Davik / ART Cache
* Cache
* System
* Non-emulated Storage
-> Swipe to Wipe
10. Install LOS-18 ( + optionally Gapps or MicroG)
To prevent "Uncryption unsuccessful" error of GAPPS at first start:
- Reboot to recovery and Wipe -> Format Data -> Type [yes] again
11. Boot System
DON'T INSTALL TWRP APP. This will cause bootloop!
12. For MicroG users:
You need manualy grant permissions via ADB to get things working properly.
These are the commands:
adb shell pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
adb shell pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE
Thanks To
@ChronoMonochrome
Shivaay
@lee.wp14
@ze7zez
arco68
Team Infusion
LineageOS team
and all prior developers that were working on this phone.
I hope I didn't missed someone, please let me know.
Last but not least @channel48 which reviews custom ROMS from all kind of phones including my work on this ancient one
Source code:
https://www.github.com/lineageos
https://www.github.com/rinando
Current state:
Working:
- RIL (Receive calls) (Dunno we still have the same stability issues in Q)
- Audio
- Bluetooth (audio)
- Wifi
- IMEI
- Touchkeys
- Camera Pictures
- Camera Videorecording
- Hardware encode/decoder
- Display
- Sensors
- RIL (Phone/SMS)
- DRM, for e.g. Netflix
- PowerHAL
- LiveDisplay
- Selinux enforced
Not tested:
- RIL (Data 3G, etc)
- Bluetooth headset
- BLN
- FM-Radio (using Spirit2)
- GAPPS
- MicroG
- TWRP 3.4.0-0
Not working/known issues:
- Can't make calls, only receive
- Magisk support (misses some frameworks patches I guess)
- FM-Radio (using Spirit2)
- Screencast (Chromecast)
- Voicecall audio control (libsecril-client.so not working)
- Sometimes black screen hang after shutdown or reboot
- After about 12 hours, phone hangs/won't wake up
- GPS
Won't fix:
- HDMI (MHL) (support broken/removed since CM 10)
Click to expand...
Click to collapse
This's awesome. Thank dev so much
Do you have any idea whne the unable to call out bug will be fixed please?
Thanks. )
Heya! i'd like to report a slight issue with the screen
No idea if this has to do with the HW.
When i wake my S2 it flashes white on screen once and then it turns the screen on to the lockscreen.
This sometimes causes the s2 to freeze or crash.
I even had it hard crash with a loud noise once with this issue.
(This issue i even had on your android 10 ROM)
If this is a HW issue. Anything i can do to fix it?
This is really cool, and thank you to rINanDO. I've just bought an s2 because of this . The news of this has came up in several places on my news feeds,
Thanks again
What about S3 GT-I9300
medostar00 said:
What about S3 GT-I9300
Click to expand...
Click to collapse
[ROM][UNOFFICIAL][11.0.0] LineageOS 18.0 [ALPHA][20.10.2020]
gps fix pls:(
forum.xda-developers.com
Hello. Merry Xmas!
I happen to have this particular phone lying around and I wanted to try this out.
So I have followed the instructions and everything seems to be ok to this point:
10. Install LOS-18 ( + optionally Gapps or MicroG)
Can anyone explain how to install LOS-18 or point me to somewhere where I can find this information?
What I have tried is copying to an SD card and insert into phone, then boot to TWRP and Install -> Select the zip file from sd card and then swipe to install, but that gives me the following message:
Zip file is corrupt!
Error installing zip file '/sdcard1/lineage-18.0-20201207-UNOFFICIAL-i9100.zip'
Thank you all for the support!

Categories

Resources