yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] PhoenixNZ:
Greetings all and thanks rlNanD0, Lanchon, the.gansta and others for the continued support of our S2.

I need help, please.

I have read so many posts recently on how to repit my S2 that I am now thoroughly confused on which files I need and the correct steps to take.

At the end of last year, I used Lanchon's script to resize to 1gb system & 2gb data, and updated from an old OmniRom to cm-13.0-20161211-NIGHTLY-i9100. All has worked well, but the phone has always been sluggish. I suspect left over data is causing my s2 to drag its heels.

So, I've decided I wish start with a Fresh, empty phone, and to repit to 1GB_4GB (some apps also complained about lack of space), using Odin 3.07, and install rlNanD0's latest lineage-14.1-20170129-UNOFFICIAL-i9100.

My confusion is from everything I have read, and no one way to get the job done.

I would appreciate it if someone could layout exactly what files to use, and what the correct steps are.

I have the following files. If they are incorrect, link to the correct file would be appreciated.

twrp-3.0.2-1-i9100.img

Odin_v3.07_for_i9100_Re-Partition.zip

lineage-14.1-20170129-UNOFFICIAL-i9100.zip

open_gapps-arm-7.1-nano-20170129.zip

I9100_1GB-System_4GB-Data_512MB-Preload.pit

kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN.tar

From what I figure, I need to copy Lineage, open_gapps and twrp-3.0.2-1-i9100.img to sdcard1.

Then set phone to download mode, start Odin, connect phone to PC, confirm Com port.

Select to repartition, with I9100_1GB-System_4GB-Data_512MB-Preload.pit

And select pda to be kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN.tar

I think I'm wrong about the above, please someone confirm.

Once Odin says Passed

reboot to twrp recovery, write twrp-3.0.2-1-i9100.img

Format....damn, forgot what to format. It's on one of these open tabs somewhere...

Reboot again to isorec twrp and write Lineage and Gapps package.

I could be miles off with the above, so please, someone take pity on me. Can anyone lay out the procedure like

do this,

now this

etc.

I appreciate anyones kind help.
[Galaxy S II Android Development] dwarf_hero:
I had problem with calendar app in last two builds. Always I was trying to open calendar app crashed. I gave permission memory access and now app is fully functional.
[Galaxy S II Android Development] l4slo:
How to install SuperSU on this ROM?
[Galaxy S II Android Development] xNombre:
It's a tricky question!

I tried Lineage supersu edition, official SuperSu and setting it up by programmer settings and everything fails (first two make error in recovery installation).
[Galaxy S II Android Development] Nobby1960:
[MENTION=8037303]l4slo[/MENTION]

I guess you can't install Super SU, cause it crashes with the build-in SU.
[Galaxy S II Android Development] the.gangster:
The "Lineage supersu edition" is just for reimplementing the former inbuild root, as they demand official builds to be compiled without root and the user should then (as a one-time action) add it by flashing the official Lineage supersu package.

(For unofficial builds there is a build parameter to still include it right away)
[Galaxy S II Android Development] xNombre:
It looks like that:

I cant install official Supersu (it fails to patch ramdisk) and inbuilt root also won't work for me, I can only access it via adb, apps shows that phone doesn't have root.

Any ideas?

Edit:

What is surprising at first boot Ive given access to root by inbuilt android root (root prompt normally showed up) and they can still access it, but with new apps there is no root prompt.
[Galaxy S II Android Development] l4slo:
Same problem here, however inbuilt root works for me. I need SuperSU because some apps require this. I tried systemmode version but this give me bootloop.
[Galaxy S II Android Development] the.gangster:
[MENTION=6606927]xNombre[/MENTION]

if you are on the unofficial you could reflash the ROM as rINanDO build his versions with root included (except for maybe one build).

If you are one official+fix (=unofficial kernel) I don't know either (except switching to an unofficial one). Good luck.
[Galaxy S II Android Development] xNombre:
Ok, I will wait for newer versions and try it out. Thanks!
[Galaxy S II Android Development] dii86700:
Who is official deviloper and who work on official build for i9100?
[Galaxy S II Android Development] Chemudan:
Again build on jenkins failed for our phone. What happened? Where the developer's comment?
[Galaxy S II Android Development] rINanDO:
My guess the signing issues are fixed, but requires a new flag for our device. See https://review.lineageos.org/#/c/159446/
[Galaxy S II Android Development] Nobby1960:
deleted - wrong thread.
[Galaxy S II Android Development] Pier_89:
Thank you [MENTION=2222292]rINanDO[/MENTION] !!

So maybe shall we have the first official nightly tomorrow?

Hoping for that :D
[Galaxy S II Android Development] dii86700:
Thank you [MENTION=2222292]rINanDO[/MENTION] for your hard work
[Galaxy S II Android Development] xNombre:
Hi, do you face any screen color issue? On 14.1 upper half of my device's screen seems to be yellowed and darker than bottom side.
[Galaxy S II Android Development] Nobby1960:
A white screen is white everywhere here after color adjusting in settings (my S2 tends to be slightly green) . No color issues from this ROM.
[Galaxy S II Android Development] xNombre:
I made a photo and set a bit higher contrast to make difference easier to see. Take a look:

But I think I could be a problem of worn out screen if anbody doesnt have such a problem
[Galaxy S II Android Development] Nobby1960:
[MENTION=6606927]xNombre[/MENTION]

It looks typically like a burned-in Super Amoled display. The white stripe on the top ist the burned-in status bar.
[Galaxy S II Android Development] xNombre:
ist ;)

Ok, thanks for reply!
[Galaxy S II Android Development] rINanDO:
Please wait installing the nightly build unless you want to test it. I received info to test the signed builds.
[Galaxy S II Android Development] Pier_89:
So will you advice us when we can flash the first official nightly?

You're the BEST.
[Galaxy S II Android Development] Boolian:
The thing you were trying to remember was "format preload" Also you appear to be putting a CM12 kernel in there ?

You could start from scratch with Odin, almost as above (without the CM12 kernel)

But if you already have CM13 why not just use Lanchons REPIT Tool again?

CM13 is isorec compatible kernel so you only need an isorec recovery if you don't already have it Here

Flash it if you don't have it & boot to the new TWRP recovery

Update TWRP with 3.0.2.1 -Then flash REPIT Tool

You want to start 'Clean' so you don't need to add "+keep" string to 'Data' in the filename.

So pass somethig simple like : "lanchon-repit-20170115-system=1G-data=4G-sdcard=max-preload=min+wipe-i9100.zip"

Then from TWRP flash your LineageOS & Gapps

Job done.
[Galaxy S II Android Development] jojobg:
I have this on my both phones since I've moved away from stock rom. I would rather bet on mali driver open implementation in custom rom than burned display.
[Galaxy S II Android Development] PhoenixNZ:
Thank you for your reply. And yes, I could re-do Lanchon's script. I just felt that doing a repartition via Odin, would give a nice clean system, data & sdcard0, and get my phone ready for when emulated storage matures.....

I have updated to TWRP 3.0.2.1, and am ready to run the repit script. Wondering if setting system=1G+wipe-data=4G+wipe would ensure a good clean phone ready for me to flash LineageOS and gapps.

Meaning adding of +wipe to both system and data, as I see on https://github.com/Lanchon/REPIT that the defaults for both are to keep the data?

What's the recommendation?
[Galaxy S II Android Development] Boolian:
Yes certainly, you could add "+wipe" string.

The defaults are just that "default" setting - not neccessarily meaning 'recommended' setting. Customise the strings however you prefer.

Also remember, you have "Advanced Wipe" within TWRP which can achieve the same and more.

Then use REPIT without needing "+wipe"

It's entirely up to you which method you use first to clear the partitions etc. As we say "it's six of one and half a dozen of the other"

:)

Oh, and just double check your Sdcard0 is Vfat not Ext4 - that's about the only recommendation I would say. Again, even if not, it can be formatted within TWRP.

You don't necessarily have to pass that string in REPIT.
[Galaxy S II Android Development] the.gangster:
You should really have a look at the read.me once more. There is a big difference in providing or dropping the +wipe-parameter.
[MENTION=4830091]PhoenixNZ[/MENTION]

Do yourself a favor and use +wipe whenever you want to format a partition. Depending on the filesystem the repit script will otherwise copy all the blocks of a partition, no matter if empty or filled with data. That's wasting time and just unneeded load on the emmc. The runtime of the repit process will go down to just a couple of seconds!
[Galaxy S II Android Development] Boolian:
Yes that's fair enough.

I did say certainly the +wipe string could be used.

I was just suggesting that there were a couple of options for wiping/formatting file systems of partitions.

Especially if hesitant or doubtful of passing parameters in REPIT. Fewer changes to default and adding strings = less chance of fatal typo.

Perhaps that was just confusing the issue and insulting intelligence.

So, yes, for efficiency and less memory load = '+wipe'
[Galaxy S II Android Development] kisgeri:
Anti aliasing

Hi Everybody!

I just trying this rom on one of my S2s. And I can see that text and most system icons example in the status bar are not so nice and smooth like in the CM13 build. The conturs are blurried and shadowed.

Is it the same at others or just at me? Can I adjust it somehow?

Thanks!
[Galaxy S II Android Development] Nobby1960:
[MENTION=425126]kisgeri[/MENTION]

Which launcher do you use? Here are the icons razor sharp (Nova launcher). But they look also good in Trebuchet, at least with the default display resolution.

Text is also very sharp (e.g. in browser). No difference between Marshmallow or in Lollipop.
[Galaxy S II Android Development] davidvanwijk:
I have been trying to build myself. I am using instructions on lineageos.org. I succeeded with I9300(S3 intl), but not for the I9100. Does anyone know if there is a problem with these instructions ore databases? Is everything operational?

Verstuurd vanaf mijn GT-P7500 met Tapatalk
[Galaxy S II Android Development] PhoenixNZ:
Thank you Boolian and the.ganster.

Am now running 7.1.1 (non-emu) and it has brought a new lease of life to my S2.

Marshmallow was very slow, sluggish. But Nougat is smooth, responsive and a pleasure to have on my 5yr old S2.

In the end I ran the script as

lanchon-repit-20170115-system=1G+wipe-data=4G+wipe-sdcard=max-preload=min+wipe-i9100.zip

I should have also added +wipe to sdcard, but without it the script ran in about 5 minutes.

Only quirks I am seeing is some apps don't like the sdcard0 naming of /storage/FCC0-0E7A or the similar naming for sdcard1

and stupid app Backup Your Mobile crashes when trying to recover all my saved wifi passwords.

I do missing the widget for power buttons, one with Wifi, Location, Auto brightness, but found a replacement on playstore.

Still, Storage is better off.
[Galaxy S II Android Development] max6698:
Hi David,

I recently started building Lineage OS 14.1 too. I used these instructions: http://wiki.lineageos.org/i9100_build.html

I had only one problem, which was resolved by this post: https://xdaforums.com/showpost.php?p=69920779&postcount=6512
[Galaxy S II Android Development] Boolian:
Glad you're sorted!

Just the odd quirks around, like the MTP errors etc popping up - just ignore for now:good:
[Galaxy S II Android Development] Pier_89:
Hi [MENTION=2222292]rINanDO[/MENTION], I can see changelog about I9300 device from here: https://www.cmxlog.com/14.1/i9300/... maybe is it similar to I9100?

I remember it looked like to our device when there was CM 13.

Hoping for the new official nightly release soon.

Regards.
[Galaxy S II Android Development] krnhrdt:
Hi All!

Thanks a lot for the hard work on this good old phone...

One question I can't find an answer in this thread:

I'm on official lineage-14.1-20170125-nightly-i9100-signed with OS-fix, how can I flash the unofficial one 20170129 over it (Error message Can't install this package on top of incompatible data)?

Is there a way (flash a specific kernel before) or do I have to start from scratch with stock rom and full wipe?

Thanks and Best!
[Galaxy S II Android Development] kisgeri:
Anti aliasing (maybe kernel related)

I use everyting stock LineageOS, no other lancher etc.

I experimented a little: installed latest unofficial on my other i9100 too. But results are the same. If I make a screenshot and view on it on computer it is perfect. But on the phone screen it could be much nicer like in CM13.

But it is not the ROM itself. It is kernel related I think:

When LOS 14.1 kernel is installed, then the image in recovery also not the best. With CM13 kernel installed, than it has a very good image. You can see the difference at the wihte characters with the blue background.
[Galaxy S II Android Development] ale5000:
I have found a changelog here for those interested.
[Galaxy S II Android Development] Nobby1960:
In this case I prefer following steps:

- Flash a stock ROM with pit file 1GB_6GB via Odin

- Flash TWRP recovery for Odin

- Make a full wipe in TWRP

- Flash the ROM and GApps - enjoy!
[Galaxy S II Android Development] the.gangster:
What????

Why should he flash Stock-ROM and repit?

[MENTION=6720224]krnhrdt[/MENTION]

The error "Can't install this package on top of incompatible data" is an error thrown if the OTAsigcheck fails to compare the signatures of the installed ROM compared to the one to be installed.

Factory-wipe should solve it. (/data/system/packages.xml is examined)
[Galaxy S II Android Development] Nobby1960:
[MENTION=6560258]the.gangster[/MENTION]

My mistake - I thought the experimental version makes any changes in partitioning. I always do this procedure if errors messages - that are unknown to me, so they were mostly gone ;)

This is for me almost the standard wood hammer, which brings me to 99% again a flashable phone :D
[Galaxy S II Android Development] ruddcl:
SIM Card Contacts cant be read or imported to Phone

I have installed Lineage 14.1 OS ROM and GAPPS 7.1.1 on my Samsung S4 Mini I9192 but can not read Contacts located on my SIM card. When attempting to import contacts from SIM using several different apps they go into an endless Search loop and hang. I am able to manually dial calls and receive calls.
[Galaxy S II Android Development] Nobby1960:
[MENTION=8046807]ruddcl[/MENTION]

Sorry, can it be that you are here by mistake in the wrong forum? This is also about LineageOS 14.1, but for the device S2 GT-I9100.
[Galaxy S II Android Development] bonfeld:
Thankyou

thankyou very much - To all the friendly developers: Lineage OS 14.1 is wonderful on my old S2 GT-I9100. :)
[Galaxy S II Android Development] Roman Yukovsky:
Dear, @the.gangster, whether included in the future and support BLN Synapse in Lineage OS14.1?
[Galaxy S II Android Development] pponsil:
Someone knows why the official rom disappeared from lineage os site and the galaxy 2 is no longer supported?
[Galaxy S II Android Development] Nobby1960:
The first official ROM for our S2 had problems with softbricks. Latest nightly build came in January 29. As far as I know the support is not finished, LineageOS is working on a new official version.
[Galaxy S II Android Development] pponsil:
This is the issue that I had. The problem is with the kernel on repitted ones. I fixed but I hope that the official version will be released soon. If I want to install the unofficial version I have to wipe all?
[Galaxy S II Android Development] Nobby1960:
[MENTION=1526748]pponsil[/MENTION]

Okay - I mean a full wipe should be enough to flash the nightly. Good luck!
[Galaxy S II Android Development] the.gangster:
Hi Roman,

BLN support is already in LineageOS 14.1 since first releases for i9100.

Synapse, BLN_MOD 1.0.3 and BLN-Addon running fine on CM14.1 here.

(as already posted here long ago) ;)
[Galaxy S II Android Development] Boolian:
I forgot about the auto-rotate problem until I tried my maps today

Welcome back "Ultimate Auto Rotation" app - I had almost forgotten you old friend, you saw me through a lot of times from stock.

:D
[Galaxy S II Android Development] Roman Yukovsky:
@the.gangster

and whether BLNWW-support into official CM-kernel?

What was embedded in the firmware?
[Galaxy S II Android Development] the.gangster:
It's still BLN. But [MENTION=414800]arnab[/MENTION] already announced his plans twice to tackle developement of BLNWW. But please don't ask for ETA.

You can follow his BLN thread not to miss any news.
[Galaxy S II Android Development] arnab:
Il do it...just have patience...currently Iam dealing with my mom's health.
[Galaxy S II Android Development] Roman Yukovsky:
The health of your mother. I would also like to ask whether we It is worth waiting for CPU overclocking support and \ or the GPU kernel stock Lineage OS?
[Galaxy S II Android Development] gapXs:
Installation manual

Hello, I am new here. I have S2 with stock ROM 4.1.2. Can someone please just make step-by-step manual how to install Lineage OS, because I am really lost. Which kernel I need to use, ... ?Thanks a lot. I really appriciate all work you have done.
[Galaxy S II Android Development] mk555:
first you must rooted your device,, than install twrp.. after that repartition your s2.. then install the Lineage Os.. :)
[Galaxy S II Android Development] MARCOSOFT:
I hope everything is going well...
[Galaxy S II Android Development] Boolian:
I think perhaps it would be better if you installed CM13 first following this Guide . Though the principles are the same for installing LineageOS

Coming from stock to an experimental build is brave!

Good luck.
[Galaxy S II Android Development] rubentkato77:
Health is first mate, we wish the best for your mother.

Regards
[Galaxy S II Android Development] bersem:
ROM supports Samsung Galaxy S2 I9100P with NFC and how to upgrade ?? Im on stock 4.1.2 ROM.

Thanks in advance !

br !
[Galaxy S II Android Development] MigoMujahid:
Sorry mate, only i9100 is supported.
[Galaxy S II Android Development] gapXs:
Thank you guys, I made it.
[Galaxy S II Android Development] the.gangster:
Not exactly.

"This package is for device: galaxys2,i9100,GT-I9100,GT-I9100M,GT-I9100P,GT-I9100T,SC-02C"

Don't know about NFC-support (guess it's lacking) but the ROM is flashable on above list of devices.

So bersem you could do what you did already in the past to get CM12 (and maybe CM13) running on your i9100 back then, that you also had repitted already to 1gb system 6bg data. Repitting is a prerequisite for CM14.
[Galaxy S II Android Development] Boolian:
I9100P is fine - it just wont have NFC support.
[Galaxy S II Android Development] MigoMujahid:
Thanks for declaration

Sorry, I'll keep that in mind :)
[Galaxy S II Android Development] Ham1do:
U can flash any i9100 jb/kk/lp/mm or N ROM on i9100p it's the same chipset .

The only difference is NFC so search for NFC enabler mod if u insist
[Galaxy S II Android Development] Draky50110:
No NFC, mod is too old and only for 5.x
[Galaxy S II Android Development] toy_story:
Hello, I am new here. I would also like to ask whether we It is worth waiting for CPU overclocking support and \ or the GPU kernel stock Lineage OS?
[Galaxy S II Android Development] MigoMujahid:
Unfortunately our Dorimanx kernel developer "saber" dropped working on lineageOS 14.1 custom kernel due to the aging of his phone which became unsuitable for testing, but he left his source in github in case of someone wanted to continue development after him.
[Galaxy S II Android Development] davidvanwijk:
Hi [MENTION=5857622]SerenityS[/MENTION],

I hope this is the right place (thread) to ask. If not: which thread is more appropriate?

I am trying to build for i9100 myself. I succeeded for the i9300, but somehow the build for i9100 fails. This is the error I get:

build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \

build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets

find: ‘/home/david/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets

build/core/base_rules.mk:183: *** vendor/samsung/galaxys2-common/proprietary: MODULE.TARGET.SHARED_LIBRARIES.libUMP already defined by hardware/samsung/exynos4/hal/libUMP.

I suppose the problem lies within last remarks: MODULE.TARGET.SHARED_LIBRARIES.libUMP about "already defined" BY ... etc.

Two questions:

1) Is this indeed the problem?

2) What to do about it (and how)?

Thanks, still using Galaxy S2 because of your work!
[Galaxy S II Android Development] rINanDO:
You probably need to refetch "the muppets" github repository for the blobs.
[Galaxy S II Android Development] PhoenixNZ:
SO I have just updated my wife's S2 from stock 4.1.2 to rlnand0's 29th build successfully. Yay! very nervous as I had gone custom rom on my phone many years, and just kept updating till OmniRom discontinued the i9100.

But, on my phone I do not have the yellow triangle. The Wife's phone does.

My question is, does triangleaway app work with nougat? Or is there another method to remove the triange? Or does she have to live with it.....
[Galaxy S II Android Development] p3dboard:
Triangle Away should work if you have root access still. I last used it on cm13 and it worked fine. But I haven't tested Nougat.
[Galaxy S II Android Development] toy_story:
Triangle Away should work if you have root access still. I last used it on cm14.1 to rlnand0 29th build Nougat. and it worked fine.
[Galaxy S II Android Development] neuweiler:
pretty stable for "unstable"/"unofficial"

I'm not aware of any major issues.. the last 3 releases work very stable and I'm using it in a "productive environment" ever since and am very pleased. What does it take to become official and using the std update process?
[Galaxy S II Android Development] bersem:
here i am again.

how to root this I9100P:

Model number:

GT-I9100P

Anroid -Version:

4.1.2

Baseband version:

Kernel Version:

3.0.31 - 1246097

se.infra@SEP-109 #3

SMP PREEMPT Tue Jun 4 15:49:20

KST 2013

Build number:

JZ054K.I9100PXXLSS

First of all i need to root, flashing KK compatible Recovery and update to TWRP 3.0.2-1, Reparation system to 1GB or your [MENTION=6560258]the.gangster[/MENTION] 1.5GB System Partition and finally update to LineageOS or maybe i am wrong ??

thanks in andvance !

br !
[Galaxy S II Android Development] Boolian:
Dude, c'mon, you initially asked this as the first post on page #128 It was just discussed in detail and answered on Page #127... So the answer must have been right in front of you as you were typing. Have a read back a couple of pages.
[Galaxy S II Android Development] Nobby1960:
A repartition with 1GB_6GB is enough, if you don't use the stock GApps. For myself I use the pico version.
[Galaxy S II Android Development] the.gangster:
[MENTION=5677277]bersem[/MENTION]

no matter which size of partitions you want, it's much easier meanwhile and you are much more flexible using repit instead of PIT files. No yellow triangle (even if you can pit with odin without resulting in it most do end up there), no partitions forgotten to be formatted, no messing around with calculations of starting/ending positions in PIT-files if you want non-standard sizes and last not least no PC needed at all. So even if you would like to go with 1.5gb system & 6gb data the latter could do the job.
[Galaxy S II Android Development] Spyr0s:
Nightly is up but no experimental yet

lineage-14.1-20170206-nightly-i9100-signed.zip

built: 2017-02-06 21:50

http://www.lineageoslog.com/14.1/i9100