yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] monrus:
BIG THANKS for your answer! Sorry to no have give you a feed back sooner, i'm pretty occupied on week days.

Finally, due to you i did understand the android's mods "mechanisms" better; i did follow the [Guide/tutorial] Samsung Galaxy S2 i9100 Any version to Android 7.1/LineageOS14.1 -- https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601?nocache=1 and did succeed to install LOS 14.1 on my S2!

Thanks to all that are acting to make this possible!

monrus
[Galaxy S II Android Development] jazzl:
Thanks, got nougat up and running again, bought the pro of titanium, but it´s got a problem with seeing my clockworkmod folder. I then found a free app called Nandroid Manager which did the trick. So I found my contacts, memo and sms db files. However, when putting the contacts in the right place with root explorer so they´re overwriting the exist files, the new contacts are not showing up - prolly a new db format as you said. I guess I need to go back to the old android version and do a Kies backup. The audio files I can´t figure out where are, but the other things are also more important.

So, last time I went back to the old android, after putting back CWM on the phone, I got into a bootloop. Any advise for how I can be a bit more succesful this time?

Thanks for all your good help!
[Galaxy S II Android Development] gm0:
Do a test run with Kies while on LineageOS first though because I have a feeling it might not want to work with that. So in that case better use another backup software like that Titanium Backup you bought (if it can restore from Android 4 > Android 7, I don't know) or something else entirely.

Possibly because of the changed partition table unless you had changed that back first, although it should not strictly matter. What you can also do if you boot loop is download a tar.gz image of the stock i9100 ROM which you can then flash with Odin.
[Galaxy S II Android Development] Bruno25:
Features from CM11 I cannot find in LOL14.1 (20170419-nightly fresh install)

Maybe these features exist, but I didn't find them... Any help will be greatly appreciated.

How to hide the pattern lock screen? In CM11 they were many options (hide pattern, hide errors... even hide the dots of the pattern).

How to add a phone number to the blacklist from the call history? The only way I found is to include it manually into the blacklist number list (from Phone app: Settings / Call blocking / Add a number). In CM11 there was an option directly accessible from the call history. I installed Google Phone (that is advertised to be able to do such a thing), but I didn't find any option to include a phone number to the blacklist, even manually.

How to add and/or customize the shortcuts on the locked screen? (default are phone / unlock / camera). In CM11 5 shortcuts could be customized (I don't need all that).

(image from internet, not screenshot from my phone... I think it is CM11)

(screenshot of my phone under LOL14.1)

These questions are not i9100 specific, but I didn't find answers in the generic LOS forum.
[Galaxy S II Android Development] jazzl:
Thanks.. got a stock ROM image but experienced another bootloop. Then tried wiping data - still the same. Then tried reinstalling CWM again, booting up in Samsung default recovery mode, tried with Philz touch, telling me my phone version is ``, and not I9100. These different attempts were done with what I had on the sdcard, and with odin. I experienced often having to restart the phone and/or Odin to see changes. At some point it was stuck in "setupconnection" in Odin. I then removed the USB cable (!), and now the phone is totally dead. Black screen, not showing a charging indicator. Had the battery out for two minutes, still the same.

Anything I can do at this point other than to buy a new phone? :(
[Galaxy S II Android Development] gm0:
You cannot add any but you can customize the two that are there. The option is called "Lock screen shortcuts". I do not believe your other two bullet points are possible anymore, unfortunately.

First I'd just give it a little time with the battery removed. Remove SIM and external sdcard (if any) from the phone, put the battery back in and then try again, first unplugged and then plugged into the USB or charger again. See if the screen comes or and/or your PC can register any connection on the USB port.

If it remains dead then you either hard bricked it by flashing something you shouldn't have via Odin, or pulling that USB cable somehow caused an over charge that fried something important (did the screen go black the moment you pulled the cable?). First case is recoverable with some tinkering, second case requires replacing the broken hardware and is probably not worth even looking into given the age of the phone.
[Galaxy S II Android Development] jazzl:
thanks, it remains dead after 15 mins with no battery nor sim and sdcard in it. This tinkering you´re talking about, what would that be?

Also, is the db format only specific to the android version, or also to the manufacturor? If not, then at least I can import contacts and sms´s to an old jellybean lg phone I have here, and starting to use that as a replacement.
[Galaxy S II Android Development] Nobby1960:
Download mode ist also dead? If yes, it seems like a hard brick. If you don't want to spend much money to buy a new phone, S2 devices are cheap to have on ebay. Since your phone ran with Nougat so slowly, the defect may have already announced.
[Galaxy S II Android Development] gm0:
Damn that sucks man, sorry to hear that. I was referring to opening the phone up and accessing the memory directly to flash it, i.e. bring it to your local phone repair shop (or send it in).

I won't promise you one way or another, just try it out. What I can say is that it's just standard SQLite databases, so if all else fails you can just open them in any compatible database reader and export the data.

---------- Post added at 18:21 ---------- Previous post was at 18:18 ----------

Actually I find them surprisingly expensive still. Good point with the slow running.
[Galaxy S II Android Development] jazzl:
Yeah a repair would make no sense. I agree they´re expensive - typically around 50 EUR, where you can get a quadcore phone for that price these days. I found someone though that sells it 35 EUR, hoping to be able to buy it cause this has been my daily workhorse for 4-5 years :) And, also I´d like to be able to restore my original databases which oughta be a piece of cake with a "new" s2.

For the slowness: It wasn´t that bad after all once the system had set itself up and booted once or twice.
[Galaxy S II Android Development] MigoMujahid:
Maybe if you bought an s2 with a broken screen, and used the board as spare part, that would be much less expensive :rolleyes:

Assuming it's a dead board you have
[Galaxy S II Android Development] Nobby1960:
A quad core phone for 35 EUR - hell, call me the seller :laugh: Yes, a typically price on ebay for the S2 GT-I9100 is round about 50 EUR. To buy a device with broken display is a good idea, this costs about 15 EUR. Replacing the mainboard is not a big deal if you don't have two left hands :p The both switches are slightly glued. You must be something cautious, otherwise they are torn off.
[Galaxy S II Android Development] gm0:
Quad core for 50. For the cheaper ones certainly true.

As to buying a I9100 for 35 vs buying one with broken display for 15 - if money is the issue then it'll probably end up being cheaper buying the working one and selling his own for parts, plus he doesn't risk the one with a broken screen actually having more broken parts, and won't have to invest his time to switch screens (and I don't know about you but my time alone would certainly be worth more than the price difference).
[Galaxy S II Android Development] andreoide:
Lineage.
[Galaxy S II Android Development] Nobby1960:
[MENTION=8075440]gm0[/MENTION]

The risk is, of course, that you buy a total scrap. 35 EUR for an intact S2 are okay, I would also access. My both S2 in a really best condition, almost as good as new (optical and technical) I bought last year for in total nearly 100 EUR. The S3 GT-I9300 (quad core) in a visually and technically good condition is in comparison still quite expensive.
[Galaxy S II Android Development] jazzl:
I have once fiddled with opening a mobile - putting a thermal pad into an LG G3. The result was great, but something I´d hate to ever have to do again cause everything is so bloody tiny. That´s also why I´d rather pay more for a working phone than for one with a broken display. Here´s a random quadcore 5" phone for 43 EUR, shipping included:

https://www.aliexpress.com/item/In-...lgo_pvid=38e5816b-6cab-4dcf-ab2e-ba9c612f7637
[Galaxy S II Android Development] gm0:
Yep, and that's for a new phone - certainly low end but still better specs than the old I9100. Only disadvantage is that you probably won't get LineageOS for that unless you maintain it yourself. ;)
[Galaxy S II Android Development] Nobby1960:
Use the official LineageOS ROM, it's stable for daily usage and works flawless on the S2.
[Galaxy S II Android Development] Jamie_oppo:
Hold the power button for around 50 sec. Its happened to me on a device or two. Try that around 10 times at different times. If it doesn't work its a hard brick.
[Galaxy S II Android Development] jazzl:
I´m considering this one:

https://xdaforums.com/galaxy-s2/help/fyi-fix-s2s-wont-eg-water-damage-t2331156

On youtube bunches of people claim that it fixed their phones. Information is missing though about what the reason for dead S2s would be. I mean, not every dead phone can be reanimated by removing this component I believe, and on youtube nobody´s talking about water damage at all.

EDIT: Tried it, but that particular component is not part of my phone - everything else is there! :(
[Galaxy S II Android Development] Nobby1960:
Which component do you mean? If you put the battery in your phone, does it slightly warm up near the camera?
[Galaxy S II Android Development] DevisG79:
Does someone know where to get batteries with good quality for the s2? Anker batteries are no longer availeable and I don't want to have an original 1650maH
[Galaxy S II Android Development] MARCOSOFT:
I try, and it's good.

https://www.aliexpress.com/item/350...-with-online-Tracking-number/32720863418.html
[Galaxy S II Android Development] jazzl:
It´s a capacitor:

http://forum.gsmhosting.com/vbb/f258/samsung-galaxy-s2-i9100-short-circuit-solution-1537757/

It´s getting warm as usually when charging, not particularly near the camera I think, but do you have any ideas for another fix?

Edit: Indeed more warm around the camera.
[Galaxy S II Android Development] overclock360:
can someone give me a link on how to root my galaxy s2 running on 2.3.3 to this rom.
[Galaxy S II Android Development] BenjyTec:
Please google it. There are thousands of guides.
[Galaxy S II Android Development] ale5000:
When I hear a vocal message in Whatsapp and place the phone near the ear then the screen turn off and the vocal message stop.

Does it happens to someone else?
[Galaxy S II Android Development] MigoMujahid:
First upgrade stock rom to android 4.1.2.

Then follow this guide

Don't know how to upgrade?

Use Google.
[Galaxy S II Android Development] monrus:
Hello, i did use this solution to upgrade my s2 : https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601?nocache=1 , read it carefully maybe it did fit to your case.

Otherwise, there a plenty of informations here and here, for example. You can also try to use your favorite web search engine to gather others informations.

Hope this could help you a bit.

P.s. look here as well, it help me to understand some "mechanics"
[Galaxy S II Android Development] MARCOSOFT:
I am not being able to move applications to system with Titanium Backup 8.0.0.1!

Can anyone?

How to make?

I have root access.

I also wonder if someone has already successfully applied the new Pixel Launcher 7.1.2?
[Galaxy S II Android Development] BenjyTec:
It's a feature, not a bug. The sound should come out of the earphone, like a call. If not, it is a bug.
[Galaxy S II Android Development] ale5000:
A software must suggest, not impose (we aren't Apple, I hope).

If the phone is playing an audio it means that the user has choosen to play it and it should never stop it, it is just stupid.

I often use the external speaker during a call also while having the ear near the phone; it give more volume.

It is very useful when there are a lot of noises in the ambient.
[Galaxy S II Android Development] Nobby1960:
[MENTION=5627087]ale5000[/MENTION]

Is this "feature" only with WhatsApp or in general? WhatsApp has often times strange ideas...
[Galaxy S II Android Development] MARCOSOFT:
Is anyone able to convert user apps to system apps and integrate system app updates into ROM with Titanium Backup (rooted)?
[Galaxy S II Android Development] Boolian:
I've never used that feature before, but I just tested for you - No success.

I tried again with BBS app, still no success.

Must be broken for this ROM.

TiBu is a bit buggy anyway and doesn't always restore apps successfully (although it always backs up ok and will restore app data)

So it doesn't surprise me the system conversion is buggy.

If it behaves like 'restore' , then I expect maybe some apps will convert to system and some won't, because... reasons.
[Galaxy S II Android Development] luggers:
Plz fix volume/audio quality

Hi first i wanna say thank u for making my i9100 such a nice mobile today. I have been using your costum rom since the beginning.

ROM runs verry smooth and good, had no big problems except the audio quality since Official Release.

I searched in the internet and found some indicators about the audio problem, but they havent improved my audo experience yet.

Source: lineageosrom. com/2017/03/how-to-fix-low-audio-volume-is-lineage.html

Also at the official regression tracker i found something:

Audio volume/quality suffers after 02-21 changes

jira.lineageos. org/browse/REGRESSION-112

The Problems:

- i can't find config files for audio volume like audio_platform_info.xml, gain...xml, system/sound .. also copying the audio_platform_info.xml hasnt fixed low volume

- Please fix it, the trick with forcing EU Max. Volume Notification is working but the audio volume was much louder and better in older CM Rom

Thanks in advance

luggers
[Galaxy S II Android Development] Nobby1960:
[MENTION=8247255]luggers[/MENTION]

The volume especially with music should be bigger, I mean synonymous. At the moment you can only flash the Linaro kernel as a workaround. With this and the special Kernel Adiutor, the volume can be boosted by a few dB.
[Galaxy S II Android Development] AlessioP72:
Is there a guide to install from original stock 4.1.2? Please give me some suggestions, thanks.
[Galaxy S II Android Development] Klaerchen:
When you search the Lineageos source tree, then you will find e.g. audio_platform_info.xml only in the sub-tree of hardware/qcom/audio-caf/msm... i.e. only for Qualcomm Snapdragon processors.

They are not to be expected on our phone.

And if you read the comments in the site you quoted, then you will read only "no sound anymore after the fix", so better ignore that guy who wrote it.
[Galaxy S II Android Development] gm0:
You mean the guy who totally understood what a factory reset is?!

Yep, I'm convinced, I'll blindy flash whatever he provides. ;)

That aside, audio volume seems completely fine to me, I'm never even close to max volume. What are you trying to do with the thing, provide the sound installation for an open air festival?
[Galaxy S II Android Development] Nobby1960:
Open air is good :D I have a broadcast studio AKG headphone which has a relatively high impedance. It would be more volume often good. In Poweramp I can increase the volume with a pre-level control, but not too much, because otherwise distortions arise.
[Galaxy S II Android Development] toy_story:
Hi, PowerAmp good application, but I have long used the ViPER4Android.

With a well-tuned ViPER4Android on a S2 phone and good headphones, it is more pleasant to be outdoors and it is good for health.
[Galaxy S II Android Development] MigoMujahid:
Yes there is this one:

https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601

Or this one:

https://xdaforums.com/galaxy-s2/help/user-help-to-start-feeling-somewhat-t3561726/post71195098

Both can work from stock 4.1.2
[Galaxy S II Android Development] AlessioP72:
Thanks
[Galaxy S II Android Development] pksadiq:
Update on my new LO installation

Hi. At last, I updated my i9100 from CM12 to LO 14.1. I feel this much stable than the older.

I have a few issues/requests/doubts:

1. I had an option to silence phone call ring tone on flip in CM12. How can I do that in LO 14.1

2. It would be nice if there would be a way to force dark theme everywhere (I found this for keyboard only). I'm not requesting for theme support, but an option to force material dark theme for the whole OS.

3. The inbuilt browser clears its page cache too fast. I don't know why. If I load 5 separate tabs, the first 2 tabs page may be cleared, and will be reloaded when I visit them again. It wastes too much bandwidth and time for me.

Thanks for the huge work.
[Galaxy S II Android Development] gm0:
New week, new build, this time successful: lineage-14.1-20170503-nightly-i9100-signed.zip
[Galaxy S II Android Development] gm0:
I think we need a new slogan for LOS though:

[IMG="LOS - Back to the Future edition"]http://i.imgur.com/36YylZC.png[/IMG]

Now that's some speedy work. :D
[Galaxy S II Android Development] MigoMujahid:
Wait, what?!!!

Is that normal???!
[Galaxy S II Android Development] gm0:
Theoretically it could be. The date is just the deployment date for Google's OTA security update. But I checked and our build does not actually comply with that security patch level. Makes you wonder if previous security patches were actually implemented or whether they're just bumping the number up. Oh well.

PS: Here's Google's May security bulletin if you want to read up on it: https://source.android.com/security/bulletin/2017-05-01
[Galaxy S II Android Development] ale5000:
Have you reported it?

It is a serious problem.
[Galaxy S II Android Development] bujjo53:
https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
[Galaxy S II Android Development] gm0:
Well, if it's serious depends on whether the problem is just them switching AOSP branches too early before having implemented all the security patches (i.e. the ones that we don't get directly via the upstream AOSP includes) but are still planning to, or not.

So no, I did not report this. I don't have all the facts, either. So far I only checked for that critical kernel issue listed in the bulletin and we don't have that fix (besides, we're still on the old 3.0.1 kernel from Android 4.0, anyway). Also I never checked past bulletins nor the LineageOS code base as a whole.
[Galaxy S II Android Development] fireburner-de:
Does anyone ever try /system/xbin/nano on LOS14.1?

Neither 20170329 nor 20170503 has a working nano editor available.

Termux gives me the following error: "Error opening terminal: unknown."

/system/xbin/vim editor opens normally in both builds.

Can you please check, if you experience similar behaviour?
[Galaxy S II Android Development] ale5000:
Now I understand :)

Beside that, every unpatched vulnerability is serious.
[Galaxy S II Android Development] gm0:
Couldn't agree more.
[Galaxy S II Android Development] bujjo53:
Does anyone have this problem with latest build ?

Edit: whatsapp have problem
[Galaxy S II Android Development] gm0:
That's because the mksh shell's environment doesn't set TERM. It will work if you launch nano like this:

env TERM=xterm nano

--

What's the problem, did WhatsApp forget its configuration? No problem on my end. Maybe you accidentally wiped /data, cleared WhatsApp data via settings, something like that?
[Galaxy S II Android Development] the.gangster:
Same error here if opened within the inbuild terminal app of the ROM.

But if used from within an adb shell it doesn't show that error but it doesn't show a file's content either.

Didn't ever use nano, but this doesn't look normal.
[Galaxy S II Android Development] gm0:
Did you see my post just above yours?

adb shell sets TERM=dumb so that's why it works there (I'd still suggest to set it to xterm instead). I have no problems loading files though - maybe a permissions problem?
[Galaxy S II Android Development] the.gangster:
[MENTION=8075440]gm0[/MENTION]

LOL

No. Hadn't realized that. Otherwise I wouldn't have posted any longer.

I started writing on the one device when I decided to verify against the latest build, so waited for the update to finish before I sent it. You obviously answered within that time slot (what I missed)

;)

Test was within an adb root shell, trying to load gps.conf and hosts. If it was due to lack of permissions imho vim shouldn't have worked either.
[Galaxy S II Android Development] gm0:
That's what I thought, happens to me all the time. ;)

Ok, tested it, it's a display issue. The file loads but you cannot see it in adb because of the TERM=dumb setting. If you launch it with TERM=xterm as I had suggested anyway it works fine .
[Galaxy S II Android Development] linusdan:
I want to report an old bug in the LineageOS camera. Always hangs while filming, even cleaning the dalvik / cache several times. Videos showing the attached problems.

In Android L works very fine!!! (and the Stock ROM too)

I have tested all possible roms and have the same problem.

ROMS N tested (Beyond LineageOS): RR, OctOS, XenonHD, AICP (old and new builds).

ROMS MM tested: Mokee (camera not working in the instagram).

Ah, when the camera hangs, the phone makes a strange noise (like a stun gun running out of battery)

#001 Filming with native camera app: https://youtu.be/mcByZfAMB_U

#002 Filming with open camera: https://youtu.be/rJFoVspKGHA

#003 Bug on instagram use: https://youtu.be/_dOn4ROeV1E
[Galaxy S II Android Development] gm0:
[MENTION=5627087]ale5000[/MENTION] alright, so the LOS team says they're compliant: https://www.lineageos.org/Changelog-8/ "Merged android-7.1.2_r8 tag (May Security Patches). All builds from May 1st will include these."

I did a bit more digging and we're really not compliant. I did not check everything, just a few randomly picked samples. Most of the upstream changes I checked were merged into the LOS repository, although sometimes not entirely - I did not follow up on that. Externals however seem to be largely ignored. Some examples from the bulletin:

not fixed in LOS

not fixed in LOS either (neither are some other libxml2 issues as I noticed while I checked)

On the other hand, seems google is slow with the patching, too, e.g. this fix to a 2015 vulnerability got merged only now into AOSP:

We don't have the fix in LOS either way.

tl;dr: take the "security patch level" label in LOS with a grain of salt.
[Galaxy S II Android Development] matee89:
Just a quick question about the mentioned Jelly browser - will it be included in upcoming nightlies for our device? If not, is it possible to install it separately?
[Galaxy S II Android Development] ale5000:
Are the vulnerabilities unfixed only on your device or to all Lineage OS devices?
[Galaxy S II Android Development] gm0:
I only checked our device tree (i9100), i.e. I made no statements as to other device kernels, in case that was the question. Non-device specific stuff (i.e. not kernel or drivers) potentially applies to all of them of course.

---------- Post added at 14:54 ---------- Previous post was at 14:51 ----------

Gets my vote. I'm always removing Gello from the system because it's so insecure.

If you want Jelly now you can simply compile it yourself and install the apk to your device.
[Galaxy S II Android Development] Nobby1960:
I think the Gello is not really bad, it runs very smooth. But it eats a lot of power, still more than the display, despite the built-in, activated energy saving mode.

Unfortunately Jelly can't display the mobil page of my local newspaper.