yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] waliuxd:
1. First u need to have the at least 1gb repartition (or nothing will work) if u do with the odin method u will lose all your data

2. Flash the file "TWRP odin...etc" - This will help u to enter in recovery mode (TWRP)

3. to flash the lineage os u will need to update the TWRP to the last (3.0.2.x) - Install it via Recovery (Install>*Select image*>Then select twrp 3.x........ Done.)

and then

u will be able to flash Lineage os without problems
[Galaxy S II Android Development] gm0:
Yes of course, if you're trying to install it via a .zip you'd run into the same issue because that uses the same code. See attached for a version of that zip that skips the device check. edit: removed since problem was solved
[Galaxy S II Android Development] jojobg:
Search thread is your best friend mate ;) https://xdaforums.com/galaxy-s2/general/rom-t3555834/page24 post #237 onward a couple of pages ;)
[Galaxy S II Android Development] Hamzaps:
I did everything .. Updated to twrp 3.0.2 and got the same error .. I tried the [ROM][i9100][OMS][7.1.1][OFFICIAL]crDroid

And it worked perfectly .. Am disapointed about lineage roms ..
[Galaxy S II Android Development] aminya:
Hi Everybody , I'm on cm12.1 and l don't have any problem.

How is the state of lineageOS? is the battery good?
[Galaxy S II Android Development] pslabakov:
thanks for the help.. the main problem was the small partition

thanks again
[Galaxy S II Android Development] Pier_89:
Does anyone know if will be released the new TWRP RECOVERY 3.03 NO-EMULATED for our device?
[Galaxy S II Android Development] gm0:
This thread is about LineageOS.
[Galaxy S II Android Development] Pier_89:
But without a TWRP Recovery you can't install LineageOS Rom :)
[Galaxy S II Android Development] pslabakov:
hi again .. I have stumbled upon other problem

i have installed the rom and its running freat.. but i seem to miss the internal memory.. here are screens .. what did i do wrong
[Galaxy S II Android Development] suapoc:
That's not true. you could also use CWM if you come from stock just look for the right zip file here for example:

http://www.android-hilfe.de/thema/p...-1-cm11-v5-15-9-v-6-48-4.332805/#post-4514482

flash it via stock recovery and than use cwm to flash linOS with twrp or another ROM with ISOREC Kernel.

btw. i am so glad ISOREC is a thing now ;D

it looks like you have forgotten to format your internal sd... (my russian is really bad) just boot into recovery and format your internal sd card with exfat or better ext4.

In TWRP -> wipe -> advanced wipe -> choose the right partition -> repair or change file system -> change file system ...
[Galaxy S II Android Development] Weib67:
You probably need to format this partition. AFAIK it can be done from Windows, from the phone itself (settings), or last but not least, from the recovery. I would recommend you to first try this last option. :)
[Galaxy S II Android Development] dumdidum123:
I am using LineageOS for one day now and I must say, its great!

Just one question for the location toggle in the quick settings. In cm 13 I could click on it and then change the location mode (high precision, device only, energy save)

But right now, when I click on the quick settings location toggle, location is disabled without the choice to change the mode. Can I reenable this or is this not longer available?
[Galaxy S II Android Development] the.gangster:
Are you going to ask the same question now every two days??? You've got answered that already. If there are questions being asked over and over again it's a pain already. But if the same user asks his own question twice...hmm no comment!

Exactly. And escecially reposting an instruction that left away the important step to actually perform the migration is even worse! So doing that everyone else following you would have to do the same manual editing. In the EMU-thread weib67 had already revoked his instructions days ago after was made aware that he had left out the important step. Following rINanDO's How-to in the same thread does the job for you without the need to edit storage.xml on your own.

You were obviously on sammy stock recovery. You'd simply had to flash a philz touch to get a KK compatible rooted recovery from where to flash a final recovery (and kernel) of your choice.

EDIT: as you were guided to use the ODIN-way instead of doing all this in the correct recovery-flashing-order you finally had also the problem with your unformatted internalSD. By the way: its default fs is vFAT. And not to forget: depending on your choosen PIT you might even have problems to boot certain ROMs that require the preload partition to be formatted. So if preload was reduced (if its starting block was moved) it also needs reformatting incase you experience bootloops after flashing a ROM. Repit.zip-way would have taken care of all that but would have required to get the right recovery up and running first.

PLEASE: REMOVE MY NAME FROM THAT ZIP. THIS IS NOT MY WORK SO REMOVE EVERYTHING HINTING ON ME. Put in your own name. But to remove this checking is really dangerous.

His problem was the Samy recovery.

First, you don't need to spam this question in here and the emu-thread (as you did)

Second, the current official no-emulated TWRP 3.0.2.1 still works find so IMO there is no urgent need for it

Third, if you want to ask that question, ask it in the TWRP-Thread instead, but know that asking for ETAs is even more rude than my way of telling you all this (as you surely read the forum rules one day)
[Galaxy S II Android Development] gm0:
Apologies, no slight intended, and since he's got his problem solved one way or another I removed the attachment. No need to shout though...
[Galaxy S II Android Development] MigoMujahid:
you probably should have unchecked "signature verification" before you swipe to install, and the LineageOS would have installed correctly :rolleyes:
[Galaxy S II Android Development] Weib67:
You just need to long press the location toggle. That simple ! :D

PS: Some people should really move on about emu storage on the Lineage thread. I posted there instructions (in two parts) that worked for me. Deal with it. :cool: Put together, they are EXACTLY rlNanDo's instructions. Still don't know why some guys keep messing with their storage.xml. :silly:
[Galaxy S II Android Development] suapoc:
i didn't do that... if you bother to read what i wrote you actually see that it was successful. so i really don't get your point.

also weib67s post was the only one that included all needed files... esp. the repit.zip

maybe he forgot to edit storage.xml ... who cares... i added that step in my description and also described all the errors i made so other people don't have to make the same mistakes.
[Galaxy S II Android Development] dumdidum123:
Haha yes, found that option already. Never mind, just the usual wonderings when changing to a new OS.

But next Problem:

When playing music via bluetooth, i get some short interrupts for a few milliseconds. Same devices and same music player (poweramp) as on CM 13. Not permanent but about one or two times in five minutes. Often enough to be annoyed. Never had this problem on CM 13

Also tested another music player.

Anyone else with this problem? I am on 20170222
[Galaxy S II Android Development] Nobby1960:
Try first to switch in battery settings the energy profile from "Balanced" to "Performance" (1200 MHz). Or take Poweramp out from energy save mode. In settings of Poweramp there are also ajustments of audio buffer, thread priority.
[Galaxy S II Android Development] dumdidum123:
Tried all your suggestions, unfortunately nothing helped :/
[Galaxy S II Android Development] Mirajoo7:
why does the proximity sensor Powers On when in the lock screen?

---------- Post added at 03:16 PM ---------- Previous post was at 03:14 PM ----------

it also turns off after unlocking ! what is the use of the proximity when in lock screen?
[Galaxy S II Android Development] the.gangster:
[MENTION=8069721]Mirajoo7[/MENTION]

You must have activated one of the guestures settings. An option like "pocket" or "hand wave" / "proximity wake".

The phone can't "see" you waving without using any sensor. Same for checking if it is still in a pocket or not.
[Galaxy S II Android Development] Mirajoo7:
im not enabled any gestures in the gestures settings menu even though the proximity is powers on while I press the power button for unlock the device
[Galaxy S II Android Development] Nobby1960:
[MENTION=2222292]rINanDO[/MENTION] and all LineageOS-based ROM developers

Kernel Adiutor in itself is a great app - but I have the problem that the battery settings with all LineageOS-based Nougat builds (really - all) and the Adiutor probably mutually influence itself. The adiutor switches up at 1200 MHz performance on booting, then the ROM says "No, my friend - this is not possible. Here is a maximum of 800 MHz on demand announced, I'm the boss of the whole". But some apps need the full power from both CPU cores like Google Earth and it's annoying on the long run, to switch on 1200 MHz by hand every minute.

The same thing happens without the Adiutor, if I switch to performance in battery settings. Unasked is clocked down to 800 MHz in that moment if you need full power, the slider stays on performance. Is there a solution to fix this?
[Galaxy S II Android Development] Skyline:
Hello guys, If anyone want to try my personal kernel build I posted here https://xdaforums.com/showpost.php?p=71182961&postcount=1553
[Galaxy S II Android Development] Nobby1960:
Thank you - at this moment I have crDroid on the phone. It's LineageOS-based. I guess it's better to flash your kernel in the original, latest LineageOS build (02/22)?
[Galaxy S II Android Development] the.gangster:
Jenkins has just finished building new builds for our s2.

Now we have a brand new experimental build: lineage-14.1-20170226-experimental-i9100-signed.zip

The nightly is also ready but currently still in signing.

EDIT: now both are on the download page
[Galaxy S II Android Development] ale5000:
With the 20170222 official build I do not pass SafetyNet, I was passing with the previous official version.

I have done a clean install without root.

Does anyone know why?
[Galaxy S II Android Development] Skyline:
First of all sorry for OT here on official thread

[MENTION=7513127]Nobby1960[/MENTION], You can try that but take a backup of boot.img of your current rom incase anything goes wrong and we should not talk about kernel here ;)
[Galaxy S II Android Development] toy_story:
New builds LOS !

New post on LeneageOS 14.1 builds for Samsung Galaxy S II (Intl)

i9100:

- New nightly build lineage-14.1-20170226-nightly-i9100-signed.zip

- New nightly build lineage-14.1-20170226-experimental-i9100-signed.zip

Review of the new assembly lineage-14.1-20170226-nightly-i9100-signed.zip every night!

What renovated and updated:

- OTA update feature works well!

- Returned to the phone the ability to add their accounts (not just Google)!

- Android security patch level - February 5, 2017

- Removed not working CMFileManager!

As I wrote earlier:

* - "Next nightie LOS, will not solve the problem with CMFileManager!

Do not build CMFileManager

"Until CMFileManager is revamped or a suitable replacement is written, do

not include it in general builds. Basic storage activities can still be

completed with Android's built-in storage management:

1) Use the Downloads launcher

2) Settings> Storage (select volume)> Explore "

- Look, it's very good, better than not working CMFileManager!

_______________________

Useful fixes for the LineageOS.

Help must be mutual ...

Do not forget to click on the "Thanks" button ...

_______________________
[Galaxy S II Android Development] gm0:
My issue with the OTA updater is that it stores to /data, once I can configure the location I'll consider it useful.

Anyway, most important change to me in that build is that AOSP February security patch level has finally been reached, worth a mention. That had been delayed quite a bit.

PS: I suppose this build was just triggered to get the experimental and we'll get another automated one on Monday?
[Galaxy S II Android Development] Pier_89:
And what about Lockclock widget build-in? Have you tested it? Is it fixed up?

So by the next nightly build could we update via OTA without any issue?

Thank you in advance :)
[Galaxy S II Android Development] toy_story:
LockClock_LOS-mod.zip

If you have installed my script "LockClock_LOS-mod.zip!" .

after upgrade LOS, even after the OTA, it is necessary to again set in TWRP: LockClock_LOS-mod.zip!

Or manually select a weather provider and configure the program!
[Galaxy S II Android Development] Boolian:
I refer the right honourable gentleman to the answer given in post #454 and the Nightlies changelogs.

:rolleyes:
[Galaxy S II Android Development] Pier_89:
After install nightly build lineage-14.1-20170226-nightly-i9100-signed.zip I can't see my contacts saved in Google Account.

WhatsApp doesn't recognize them, it shows only numbers and also in Contact app I can't see any about them.

Edit: Just make a new synchronizing about Google Contacts and it's fixed :)
[Galaxy S II Android Development] mrfrantastic:
Kernel works fine! Maybe you could open a new thread if questions arise? Great work!
[Galaxy S II Android Development] Nobby1960:
Thanx - we can talk about in the unofficial thread. I had written there something about my first test last night.
[Galaxy S II Android Development] moszko10:
APPS

Please add the disable the application for Messaging and Documents for Lineage OS !

Because, I use other applications !
[Galaxy S II Android Development] Nobby1960:
I have problems with the latest build 02/26 and emulated storage. The installation works fine, I can setup the ROM. But it deletes all data from my internal SD card. If I copy the lost data from PC on the internal storage there is a message: Not enough memory - strange.
[Galaxy S II Android Development] xda helios:
Hello!

Upon installing the LOS 14.1, I noticed that i have about 8.68GB for system! I know that the problem of the partitions size is already discussed earlier, but I must confess that I did nou usderstand if there is a solution for this, or if my problem resulted from some mistake I performed during the installation.

Can someone give me some directions on this?

Thanks in advance.
[Galaxy S II Android Development] Nobby1960:
Two times I lost the complete data from the infernal SD, even without emulated storage. I'm not able (or to stupid) to run this build with emulated storage.
[Galaxy S II Android Development] BenjyTec:
As far as I know the storage statistics in settings are broken, they display rubbish... Has already been mentioned before.
[Galaxy S II Android Development] ale5000:
I don't think there is a solution currently.
[Galaxy S II Android Development] Okoram:
The next build will remove CMFileManager.
[Galaxy S II Android Development] JuozasGet:
Unable to install, stuck on bootscreen

Hi. I am trying to upgrade my i9100 from stock android to LineageOS 14.1

I have rooted the phone, copied g-apps and lineageOS zip to phone, installed CWM 6 recovery (I was unable to install TWRP). At this point the phone would not boot to android stock, but i could acces CWM recovery. So i tried flashiing LineageOS zip from CWM, but i got stuck at "patching system image unconditionally". Can you guys help me out fixing this and explain what might went wrong?

Thank you very much.
[Galaxy S II Android Development] bielie:
Hi Juozas

You should read this

https://xdaforums.com/galaxy-s2/development-derivatives/guide-want-to-update-to-cm13-read-t3313978
[Galaxy S II Android Development] treysis:
Happened to me as well, one time. Just everything disappeared.

btw.: what is emulated storage?
[Galaxy S II Android Development] JuozasGet:
Hey, thanks for the reply. Am I understanding it correctly: I should flash CM 12.1 kernel and then try flashing the lineageOS zip?
[Galaxy S II Android Development] Sercan Ali:
Does Lineage OS updater work? I am on 22 02 build and cannot update it via updater...Should we flash it manually?
[Galaxy S II Android Development] suapoc:
Did it just happen out oft the blue or after you flashed the latest LinOS.... or while you tried migrate?
[Galaxy S II Android Development] kraehetest:
If you are on emulated storage, you must change the storage.xml again. (Every time you update lineage os) I’m lazy, so I created a flashable zip file with the changed storage.xml.

Yesterday i update from Feb. 22 to Feb. 26, and everything is running fine.

---------- Post added at 09:37 AM ---------- Previous post was at 09:33 AM ----------

If you are on emulated storage, you must change the storage.xml again. (Every time you update lineage os)

Yesterday i update from Feb. 22 to Feb. 26, and everything is running fine.
[Galaxy S II Android Development] gm0:
Or just use an emu-compatible recovery...
[Galaxy S II Android Development] kraehetest:
I have an emu-compatible recovery. But I have not yet dared. Therefore, I have always changed the storage.xml.

Can someone confirm that the update works to 100% with an emu-compatible recovery.

(At Nobby1960 it does not seem to have worked.)
[Galaxy S II Android Development] suapoc:
If i understood lanchons instructions right.... everything should be fine after a ROM updade as long as you don't wipe data in the process as this it the place where the storage.xml is located. So this shouldn't be the issue
[Galaxy S II Android Development] kraehetest:
You’re right, I hope so.
[Galaxy S II Android Development] Boolian:
22nd build does not update via updater but latest 26th nightly does - I'd recommend that instead.

But If you really must, then install 22nd manually from download location:

/Data/data/org.lineageos.updater/app_updates

You will need to mount data partition within Twrp to do so.

(Or move it elsewhere first)
[Galaxy S II Android Development] suapoc:
I am not sure if everything works...

I updated via the Lineage OS updater on the phone and everything seemed to work fine.

However i just looked in the Device Storage menue it shows that my 8mb partition is mounted as sdcard0... on the other hand storage/emulated/0 is still present and the apps still find their data.

My storage XML also was edited either while i updated or after i switched to a larger external SD card...

I am not sure right now if it's broken.... or if they just changed the way it's displayed.

edit: everything seems to work fine.
[Galaxy S II Android Development] BrightCGN:
Hello,

I'm new to this rom.

I've installed a fresh lineage-14.1-20170226-nightly-i9100-signed.zip.

Also installed SuperSU v2.79 SR3.

But I got no ROOT access.

Did i make something wrong?
[Galaxy S II Android Development] Pier_89:
Is it possibile to select as internal storage an external SD card in LineageOS 14.1 for our device?

Are there issues doing that in this official rom?
[Galaxy S II Android Development] MigoMujahid:
You can't use supersu, you have to flash the correct su-addon from LineageOS official site instead.

---------- Post added at 11:46 AM ---------- Previous post was at 11:45 AM ----------

Their should be a way to format the external sdcard as internal storage from storage settings.
[Galaxy S II Android Development] BrightCGN:
Yes.

I reinstall the ROM and also addonsu-arm64-signed.zip.

I could enable Root for ADB and Apps under developer-settings, but root-management access stays greyed.

Also ClockSync and FasterGPS tell me, that they can grant root-access.
[Galaxy S II Android Development] todonormal:
Hi. What partitions can format with f2fs? Thanks for advanced. How?
[Galaxy S II Android Development] pix106:
is i9100 64bit ? :) NO !
[Galaxy S II Android Development] kraehetest:
See post #4 for a working su version.

Then you must enable developer options and enable su for apps.

---------- Post added at 01:29 PM ---------- Previous post was at 01:26 PM ----------

It makes only sense for data partitionin.
[Galaxy S II Android Development] BrightCGN:
That do the trick.

It have to use the modified zip from #4.

Thanks for the help :)
[Galaxy S II Android Development] Nobby1960:
Exactly, the storage.xml was the problem. I thougt I'm going mad here :silly: :D

---------- Post added at 02:05 PM ---------- Previous post was at 01:58 PM ----------

It's a tricky thing ;) Read more about here
[Galaxy S II Android Development] suapoc:
That's interesting... was the flag primaryStorageUuid="primary_physical" set again or was something else wrong with your storage.xml?

I really wonder why the update just worked for me while it reverted/ messed up your storage.xml file...
[Galaxy S II Android Development] kraehetest:
[MENTION=7513127]Nobby1960[/MENTION], do you use an emu recovery?
[Galaxy S II Android Development] Hamzaps:
Can someone tell me if the battery life is good in Los comparing to crdroid RR rom
[Galaxy S II Android Development] todonormal:
You can too use semi adoptable storage
[Galaxy S II Android Development] Pier_89:
My idea was to install a new sdcard and setting it as Internal Storage.

Nothing to move by in - to - ext. Only a new external sd card, to increase internal storage of i9100 :)
[Galaxy S II Android Development] Bruno25:
sshd at boot

I take this opportunity to thank the developers for this great ROM and their hard work!

I am trying to set up the native sshd server on my good old i9100. It used to work when I was under CM11.

I followed this guide.

When I start manually the 99sshd script, it works great and I can connect to my phone from my PC.

But the script does not start automatically at boot time.

From what I read, at boot time, the script /etc/init.d/90userinit is executed

#!/system/bin/sh
# call userinit.sh if present in /data/local

if [ -e /data/local/userinit.sh ];
then
log -p i -t userinit "Executing /data/local/userinit.sh";
/system/bin/sh /data/local/userinit.sh;
setprop cm.userinit.active 1;
fi;

It tries then to execute /data/local/userinit.sh.

I wrote a small script that I copied to /data/local/userinit.sh (note the "/system/bin/touch" lines that are supposed to help for debugging)

#!/system/bin/sh
# call 99sshd if present in /data/local
/system/bin/touch /data/local/tmp/before;
if [ -e /data/local/99sshd ];
then
/system/bin/sh /data/local/99sshd;
/system/bin/touch /data/local/tmp/during;
fi;
/system/bin/touch /data/local/tmp/after;

Just after boot, I checked the /data/local/tmp folder... no sign of "before", "during" or "after":(

The /data/local/99sshd script (that works well when launched manually) is a slightly changed copy of /system/bin/start-ssh:

#!/system/bin/sh

umask 077

# DEBUG=1

DSA_KEY=/data/ssh/ssh_host_dsa_key
DSA_PUB_KEY=/data/ssh/ssh_host_dsa_key.pub
RSA_KEY=/data/ssh/ssh_host_rsa_key
RSA_PUB_KEY=/data/ssh/ssh_host_rsa_key.pub
AUTHORIZED_KEYS=/data/ssh/authorized_keys
DEFAULT_AUTHORIZED_KEYS=/system/etc/security/authorized_keys.default

if [ ! -f $DSA_KEY ]; then
/system/bin/ssh-keygen -t dsa -f $DSA_KEY -N ""
chmod 600 /$DSA_KEY
chmod 644 $DSA_PUB_KEY
fi

if [ ! -f $RSA_KEY ]; then
/system/bin/ssh-keygen -t rsa -f $RSA_KEY -N ""
chmod 600 /$RSA_KEY
chmod 644 $RSA_PUB_KEY
fi

if [[ ! -f $AUTHORIZED_KEYS && -f $DEFAULT_AUTHORIZED_KEYS ]]; then
cat $DEFAULT_AUTHORIZED_KEYS > $AUTHORIZED_KEYS
fi

if [ "1" == "$DEBUG" ] ; then
# run sshd in debug mode and capture output to logcat
/system/bin/logwrapper /system/bin/sshd -f /data/ssh/sshd_config -D -d
else
# don't daemonize - otherwise we can't stop the sshd service
/system/bin/sshd -f /data/ssh/sshd_config -D
fi

Any idea?
[Galaxy S II Android Development] Nobby1960:
Yes, the latest build (02/24)
[Galaxy S II Android Development] todonormal:
Other question: I don't found cafeina in System Ui Tuner of Nougat. It's normal? I don't found how enable system ui tuner in settings (push settings icon...)

Update: Well, i found this solution temporally: https://play.google.com/store/apps/details?id=xyz.omnicron.caffeinate
[Galaxy S II Android Development] Nobby1960:
I can't say this at moment, cause there is crDroid installed.