• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][FINAL][7.1.2][2017.10.08][U1] Lineage OS 14.1 Unofficial Build

Status
Not open for further replies.
Search This thread

mrangy

Member
Jun 7, 2013
5
1
m250k , gps, battery

First: thank you so much for the work you put in to get lineageos to the SII!

I flashed the lineageos version for the m250k, but unfortunately the GPS isn't working. I read that you have to copy the file from the original korean firmware (gps.exynos4.so) to /system/lib/hw/gps.exynos4.vendor.so. But then I get the following error:

libgps-shim: Failed to load real GPS HAL '/system/lib/hw/gps.exynos4.vendor.so': dlopen failed: cannot locate symbol "androidGetTid" referenced by "/system/lib/hw/gps.exynos4.vendor.so"...

Also, my battery is draining. Especially on wifi usage.
 

mrangy

Member
Jun 7, 2013
5
1
First: thank you so much for the work you put in to get lineageos to the SII!

I flashed the lineageos version for the m250k, but unfortunately the GPS isn't working. I read that you have to copy the file from the original korean firmware (gps.exynos4.so) to /system/lib/hw/gps.exynos4.vendor.so. But then I get the following error:

libgps-shim: Failed to load real GPS HAL '/system/lib/hw/gps.exynos4.vendor.so': dlopen failed: cannot locate symbol "androidGetTid" referenced by "/system/lib/hw/gps.exynos4.vendor.so"...

Also, my battery is draining. Especially on wifi usage.

I fixed it by patching the original gps.exynos4.so: renamed string androidGetTid to getTid in binary file. Now my GPS works.
 

DualJoe

Senior Member
Oct 12, 2011
2,141
1,019
de
Is the kernel selinux permissive so we can use init.d properly (eg. for afwall script or sshd)? Or can you release a separate kernel with kernel command line parameter 'androidboot.selinux=permissive'?
 

Nevuly

Senior Member
Jun 9, 2013
498
1,242
23
Seoul
LG Optimus G
Samsung Galaxy S6
Is the kernel selinux permissive so we can use init.d properly (eg. for afwall script or sshd)? Or can you release a separate kernel with kernel command line parameter 'androidboot.selinux=permissive'?

No. I don't recommand to use SELinux permissive mode.

But You can modify SELinux mode in my source code or SELinux changer.
 
  • Like
Reactions: pacman7

Nevuly

Senior Member
Jun 9, 2013
498
1,242
23
Seoul
LG Optimus G
Samsung Galaxy S6
Lastest bulid keep delayed.
Because I testing new virtual repartition solution, but It keep crashing MTP and com.android.media.
Maybe I think I development something wrong, and Now I try to fix this issues to release new build.
Please forgive me. :(

P.S.

Donation keep opened. If you donate to me, I'll eat food, drink coffee, buy new devices.
 

Sid_V

Member
May 26, 2007
5
0
Thanks

Thanks. Successfully installed the awesome Lineage 14.1 OS. :D:D:D:D

After reading Sabers post on Partition, i also have 6GB RAM on the phone now.

Cheers!
 

Attachments

  • Screenshot_20170926-115745.png
    Screenshot_20170926-115745.png
    55.6 KB · Views: 195
  • Screenshot_20170926-115814.png
    Screenshot_20170926-115814.png
    38.8 KB · Views: 193
  • Screenshot_20170926-115941.png
    Screenshot_20170926-115941.png
    56.8 KB · Views: 193
  • Screenshot_20170926-120023.png
    Screenshot_20170926-120023.png
    67.6 KB · Views: 181

Sid_V

Member
May 26, 2007
5
0
MTP Crashes

MTP crashes on my phone too after updating to the latest build.

Lastest bulid keep delayed.
Because I testing new virtual repartition solution, but It keep crashing MTP and com.android.media.
Maybe I think I development something wrong, and Now I try to fix this issues to release new build.
Please forgive me. :(

P.S.

Donation keep opened. If you donate to me, I'll eat food, drink coffee, buy new devices.
 

Nevuly

Senior Member
Jun 9, 2013
498
1,242
23
Seoul
LG Optimus G
Samsung Galaxy S6
Developer Log Update

Okay, Now I found reason why SGS2 keep crash com.android.media when I try to apply Virtual Repartition.

First, When I development Virtual Repartition, I just tested it in my Korean SGS2.
But I can't check partition size for Other variant devices, So that result is crash.

And Today, I checked both partition size in my i777, I found reason.

So, yes. I found reason.

I'll fix it and release in this weekend!
 

Nevuly

Senior Member
Jun 9, 2013
498
1,242
23
Seoul
LG Optimus G
Samsung Galaxy S6
Coming on 2017.10.01...

I'll be back in 2017.10.01 with amazing releases.. :)
 

Attachments

  • IMG_20170930_223132.jpg
    IMG_20170930_223132.jpg
    255.7 KB · Views: 543
  • IMG_20170930_223553.jpg
    IMG_20170930_223553.jpg
    255.8 KB · Views: 529
  • IMG_20170930_223730.jpg
    IMG_20170930_223730.jpg
    254.3 KB · Views: 513
  • IMG_20170930_223859.jpg
    IMG_20170930_223859.jpg
    252.8 KB · Views: 519
  • IMG_20170930_223917.jpg
    IMG_20170930_223917.jpg
    258.1 KB · Views: 505
  • IMG_20170930_223934.jpg
    IMG_20170930_223934.jpg
    241.3 KB · Views: 523

DullahanD'Great

New member
Oct 21, 2017
1
0
Hi I was kinda new here I found my Father old SGS2 Shw-m250k. I just want to ask? Which recovery should I flash this custom ROM? From the Stock Recovery? Or do I need to install another one?

Thank you
:confused::confused::confused:
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    logo.png

    Lineage OS 14.1 for Galaxy S2​

    LineageOS 14.1 is a free, community built, aftermarket firmware distribution of Android 7.x (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.

    Disclaimer
    Code:
    /*
     * 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! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     *
     * Submitting bug reports on nightly builds is the leading 
     * cause of male impotence.
     */

    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.

    Supported Devices
    • SC-02C (u1dcm)
    • GT-I9100 (u1xx)
    • GT-I9100P (u1nxx)
    • SHW-M250K (u1ktt) (Request Stock JellyBean Firmware.)
    • SHW-M250S (u1skt) (Request Stock JellyBean Firmware.)

    IMPORTANT INFORMATIONS
    • You must virtually repartition your device, otherwise you can't install this ROM! Please see the 2nd post for more details.
    • Only for u1dcm, u1nxx, u1xx users: Don't use Custom Pit. Or you'll get errors to install this ROM! You Must use stock Pit file!
    • Root is now disabled by default on Lineage OS 14.1. To enable it go to here and download addonsu and flash it on recovery.
    • Google is your friend.

    Download ROMs

    Basic first time installation instructions:
    • Backup your data.
    • Download lineage-14.1-XXXXXXXX-UNOFFICIAL-xxxxx.zip to your sdcard
    • Download GApps (optional)
    • Reboot into download mode
    • Flash Resize pit in odin. (only for i9100, i9100p)
    • Reboot into recovery
    • Wipe all your data
    • Flash ROM from sdcard
    • Flash Google Apps from sdcard (optional)
    • Reboot and enjoy!

    Freeze! Bug report!

    Please use top of Bug reports menu on this thread :)

    Known Bugs

    • MTP Crash.

    Changelogs



    2017.10.08
    • Merge source codes from LineageOS.
    • Stabilize.
    • Final Build.

    2017.09.30
    • Merge source codes from LineageOS.
    • Virtual Repartition.

    2017.07.23
    • Merge source codes from LineageOS.
    • Use Linaro GCC Toolchain 7.1.1
    • only for u1ktt, u1skt: Add SamsungDoze Service (It is work partially. Because Proximity sensor not fixed yet.)

    2017.06.07
    • Merge source codes from LineageOS.
    • Support Odin Installation for LineageOS.
    • Support OTA Service. (It is slowy, Because I use github release page. I try to find more better file host service.)
    • Add Roaster Devices: SC-02C (u1dcm)

    2017.05.20
    • Merge source codes from LineageOS.
    • Remove Multiuser Service.

    2017.05.06
    • Merge source codes from LineageOS.
    • Removed Multi User service to fix MTP crash.

    2017.04.29
    • Merge source codes from LineageOS.
    • u1ktt & u1skt: Disable SamsungDoze service because they don't work proximity sensor well.
    • Stable Release.
    • Weekly build release.

    2017.03.05
    • Initial Release



    Open Source
    https://github.com/OnyxClover-OSRC
    If you want to help me, please request your own commit to add more tweaks, fix bugs, improve source code... etc
    It always open to accept your own commit. :)

    Special Thanks To

    Donation



    If you donation to me, I'll use buy new devices or buy coffee to focus my work :)

    Donators
    • Miguel Pearson ($60)
    • Mir ($12)

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

    Contributors
    CNBLACK
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.0.x
    Based On: Lineage OS

    Version Information
    Status: No Longer Updated
    Stable Release Date: 2017-10-08

    Created 2016-05-18
    Last Updated 2018-02-01
    9
    Now, SGS2 Unofficial build go to stable.
    9
    Lastest News,

    Now I try to testing SGS2 to make increase performance, and other things.

    And Today, I successful to boot with Linaro GCC 6.3.1.

    I checked my SGS2, It is little more smooth than before.

    And finally, I try to compile my SGS2 ROM with Linaro GCC 7.1.1, If it is boot, I'll update my source code to apply Lastest linaro toolchain.
    6
    2017-09-30 Release Now Updated.

    NOTE: Don't miss to read first & second threads! This version applied virtual repartition!
    5
    Final Build now released.