yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] gm0:
I did, although I never figured out the cause. After a network settings reset (found in settings) it started working correctly again.
[Galaxy S II Android Development] laptopu:
In the years I've been flashing this device I've never known the modem to cause problems other than with connectivity and GPS. Think that might be a red herring.
[Galaxy S II Android Development] antrrax:
I'm with LineageOS: 'lineage-14.1-20170213-nightly-i9100-signed.zip' already installed, and now I'm trying TWRP, but I'm not getting it.

How do I install twrp.img in LineageOS?

I have adb on the PC, I have access to the cell, but there is no device connected to fastboot

http //wiki.lineageos.org/adb_fastboot_guide.html

https //dl.twrp.me/i9100/

adb devices ---->OK

fastboot devices ----> ????????? no devices ???
[Galaxy S II Android Development] treysis:
AFAIK the S2 doesn't have fastboot?! What do you need it for?
[Galaxy S II Android Development] jojobg:
One should never restore system settings cross rom versions.
[Galaxy S II Android Development] gm0:
At least not if you don't know what you're doing and running into problems. Android 7 did not come with significant changes over 6 regarding the settings I did restore so it was possible in this case. But generally I agree with you. Certainly everybody coming from a stock ROM should not attempt it.
[Galaxy S II Android Development] antrrax:
How do I install TWRP via adb? Is this possible in LineageOS 14.1?
[Galaxy S II Android Development] laptopu:
It's not recommended in any circumstances no matter how much you may know what you're doing.
[Galaxy S II Android Development] gm0:
Look I'm not the one complaining, I'm the one with a phone that's running fine without any issues whatsoever, so why are you guys getting on my case now? I wasn't asking for anyone's recommendation here. :confused:

---------- Post added at 18:42 ---------- Previous post was at 18:41 ----------

Various ways to install it listed in the official installation instructions:

https://xdaforums.com/galaxy-s2/development-derivatives/recovery-twrp-3-0-0-0-t3330457

There are a few more ways but those should suffice. You could have googled that yourself btw.
[Galaxy S II Android Development] laptopu:
[MENTION=8075440]gm0[/MENTION] no one is on your case though? Think you've taken it too personally, it's really a bad idea to port system settings across rom versions and others need to be aware it can cause huge problems, just pointing this out so others who may be less experienced don't go that way.
[Galaxy S II Android Development] gm0:
Yes, I fully agree that you should stick to recommended procedures unless you are prepared to deal with the consequences. I agreed with that above already. I only even mentioned what I did to help you track down your own issue - that I am not suffering from myself. You will remember that I did not recommend to you to do as I did, either, but instead I did recommend to you to make a clean install and test without installing any of your apps.

That's why posts like yours here, in particular the last part, did indeed feel personal:

Anyway, no hard feelings, I just didn't understand where you were coming from, nothing to see here.
[Galaxy S II Android Development] DevisG79:
Why don`t you install TWRP via Odin, then reboot into recovery and update to TWRP 3.0.2.1 ( TWRP.img), then reboot recovery, full wipe(do not reboot), flash latest lineageOS(do not reboot) and gapps arm 7.1 pico or whatever you want, then reboot. Did you repit? When not then flash Lanchon`s repit tool before flashing rom and gapps.
[Galaxy S II Android Development] shkedov:
We're added back to official!!!!!!! :victory:

Devs you angels!:angel:
[Galaxy S II Android Development] gm0:
Yep, saw that, too. So new official build tomorrow..
[Galaxy S II Android Development] Kurt Krummbein:
Sorry, nonsense!

Look's like you did too much steps while trying to fix a problem you had (to be honnest. i also tend to do so ... sigh) ... and you conclusion went a bit too far ;).

But atr least you made it working ... welcome to our community.

Greeetz :)

Kurt
[Galaxy S II Android Development] treysis:
Thanks for welcoming me. But I'm not really using my S2 anymore. It's loosing charge even when turned off. I just wanted to see how Android N is, so it's just a useless toy. Probably I'll throw it away now. (Also, Android N is still very slow on the S2. Nothing compared to the original Android 2.3.6 back in 2011 or even 4.0.4).
[Galaxy S II Android Development] antrrax:
Thanks for help :good:
[Galaxy S II Android Development] MigoMujahid:
Well, you won't believe it, But this Toy is my daily driver :angel: :silly:
[Galaxy S II Android Development] treysis:
Of course I believe you. But the battery is discharging on it's own. Hardware issue. So it's almost useless.
[Galaxy S II Android Development] Jamie_oppo:
You can get new offical battery's on ebay cheap
[Galaxy S II Android Development] Boolian:
Noooo! Don't throw it away that's heresy Lol!

If a new battery doesn't cure your problem (cheap) then replacing or cleaning the USB charging port will probably do the trick (even cheaper) You've probably just got a short

Remember to check the revision number stamped on it (Rev2 or Rev3) if ordering a new port.

Lastly read this very interesting Thread

Even if all that fails anyone here will take it as spares.

Sure it's old and there are newer phones out there cheap, but Nougat is shaping up to be the slickest yet. Couple that with fresh partitioning & emulated storage and there is plenty of life in the old dog yet!

The S2 is too legendary to be discarded as a "Useless Toy"

:cool::good:
[Galaxy S II Android Development] marciling:
Hi,

I have some problems with car mode.

1) After connecting to original car dock, sound from device goes to dock (I want to hear sound from device speaker). To change that i always have to go to Settings/Sounds/Other sounds/ Dock speaker plays and change option from "all audio" to "media audio only" and back from "media audio only" to "all audio". Does anybody have the sollution for that? :(

2) After disconnecting car dock, screen doesn't lock by itself. I have to restart device every time .

Thanks for any help.

P.S. I think Lineage 14.1 is the best rom for S2 :)
[Galaxy S II Android Development] bit032:
I have some problems with no sound in calls the phone only rings after the third ringtone I have tried to disable "check service" in google play services with disable service app with no results I have also tried decrease the number of ro.telephony.call_ring.delay to 500 with no results, the problem only just happens when the screen is off. Thanks for future help. I have the last update installed.
[Galaxy S II Android Development] Boolian:
I've had similar intermittent problems with telephony.

Phone does not dial/ring, phone does not answer/launch from lockscreen) screen off.

No solution, except on dialling close and open dialer again, usually works by third time.

Very occasionally only a reboot solves it.

It's not a regular occurence so I live with it, but it can be frustrating when it does happen.

I've been unable to find a specific cause and I suspect another app with telephony permissions, as I don't experience it on a clean build. Though I seldom use a clean, vanilla build for long enough!
[Galaxy S II Android Development] kudos1uk:
I remember on CM this happened if you have vibrate turned on, turn it off and it rang right away, worth a go.
[Galaxy S II Android Development] bit032:
No I don´t have vibrate on.
[Galaxy S II Android Development] Jgjd691995:
Does anyone know how to add extra cpu steps to the existing kernel im thinking of adding overclock to 1.4/1.6, also where is the damm git ?!?!
[Galaxy S II Android Development] toshibashi:
How to clone Lineage apps and data?

Hi,

I eventually managed (after replacing a bad SD card) to install LineageOS 14.1 on my second Galaxy S2. Now I'd like to clone all my apps and data from my first S2? Both are i9100 and have TWRP 3.1 and Lineage 14.1 installed.

I was warned NOT to try Titanium Backup. What else should I use?

best regards

Toahibashi

ps

My SDcard was old and worn out. But thank you [MENTION=6915831]MigoMujahid[/MENTION] for encouraging me.
[Galaxy S II Android Development] rogers11:
For non system apps you can use TitaniumBackup without problems.
[Galaxy S II Android Development] Nobby1960:
1400 MHz should be the upper limit, 1600 MHz are too much for this CPU, that's how you grill it :D Unfortunately, I don't know any new project of a Nougat overclock kernel for the S2. The bottleneck in the S2 is less on the CPU clockspeed, the RAM of only 784 MB is too small for a smooth multitasking with Nougat and modern apps.

You shouldn't forget that our S2 is nearly seven years old and came originally with Android Gingerbread on the market. ;)

---------- Post added at 09:11 PM ---------- Previous post was at 08:52 PM ----------

You can make a nandroid backup in TWRP, after that save all data from the internal SD card on a pc. Copy all data on the internal SD from your second S2 and restore the nandroid backup in TWRP. That's my way to clone.
[Galaxy S II Android Development] Cymrodor:
Welsh (Cymraeg) locale

Hi and thanks to everyone involved in making LineageOS available on i9100.

I've been translating both LineageOS and LineageOS AOSP (CM13.0 and CM14.1) into Welsh (Cymraeg) in recent weeks. It's going to be a while before the translation is complete, but I understand what is translated and approved can begin to appear in builds after they are merged into the project.

A bunch of Welsh strings were merged 13th January and an i9100 nightly was built 17th January. I eagerly installed this latest nightly on my device but when Android ran for the first time, Welsh wasn't among the list of language choices given during the setup process. Is there something I or someone else can do to include Welsh in that list, please?
[Galaxy S II Android Development] gm0:
I should think because you did not translate any strings for the setup wizard yet. You can however select Cymraeg from the language list in the LineageOS settings app.
[Galaxy S II Android Development] Jgjd691995:
l think that fast processing on the foreground/ second app is more important as compared to multitasking. the small ram can be a blessing rather than a curse for a dualcore battery-hungry A9. less background work more battery faster foreground.

For those interested here is my lmk in kernel auditor do enlighten me if i made any stupid settings.

Foreground Application: 215MB

Visible Application: 235MB

Secondary Server: 250MB

Hidden Applications: 275MB

Content Providers: 295MB

Empty Applications: 50 to 350MB is kinda what i'd play around with.(currently running 350)

These values are based purely on trial and error and what feels smooth with a minimal amount of logic so i know they might not make sense. but do try them itll be fun i think.

also work on the kernel is at:

"im a noob in the ocean of code and stuff to learn" as i dont know how to make a build script for the kernel. currently trying to compile https://github.com/LineageOS/android_kernel_samsung_smdk4412 then magically understand how to activate the overclocking thats already there. being a comp engg dropout where i learnt close to nothing, this is a big step so sorry about the disappointment.
[Galaxy S II Android Development] Nobby1960:
Have you tried the latest Linaro DorimanX kernel from [MENTION=5811506]Saber[/MENTION]? It's at EOL, but it should work with current LOS 14.1 builds. Yeah - and you really can overclock the S2 to 1600 MHz with it :cowboy: Look here to download this kernel. Best configurate it with Stweaks.
[Galaxy S II Android Development] Saber:
Yep, but most (almost 100%) S2s would burn up before you could prove that you're running 1600MHz ;)
[Galaxy S II Android Development] Jgjd691995:
Tried it phone didnt boot, had to reinstall rom, also about the burning:

u see theres this chip next to the main camera that happens to be the cpu. all u need to do is cut a 7 by 1.5 cm piece of aluminum foil fold it in half length wise and place it in the body below the mainboard from the cpu to the battery, the strip will align perfectly with the battery terminal. thermal issues solved, u may use transparent tape on the part thats not in contact with the cpu if you're worried about contact with any resistors/caps. could provide a pic incase ppl wanna try been using it for years
[Galaxy S II Android Development] slybunda:
could you provide a pic of this thermal mod you have done please?
[Galaxy S II Android Development] robby2107:
Is Android Go an option to bring nougat on the S2?

This Android is especially made for powerless hardware.

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] Nobby1960:
Indeed, that's a good idea. As far as I know Android Go is also available in Oreo (Android 8). I think that would be a better and slim solution for the S2 than developing a complete Oreo that puts too much strain on older hardware. An Oreo development is currently in progress, Nougat from LineageOS is nearing at the EOL.
[Galaxy S II Android Development] toshibashi:
I'd really like to avoid this:

[IMG="Overclocked?"]http://www.webradio.free.fr/img/burned.jpg[/IMG]​

What exactly does your aluminum foil heat sink look like and where does it take the heat to? Could you please draw a little sketch right on this photo?

Thanks,

Toshibashi
[Galaxy S II Android Development] aminya:
Updated to 1/24/2018 Nightly and this permission nightmare is not fixed. I can't use my cellphone, and I should switch back to Cm13. Does anyone have a stable release without this problem?
[Galaxy S II Android Development] robby2107:
That was my fault. I meant the Oreo Android, of course.

I just don't know if there are any devices with Android Go on the market.

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] psg:
Hi

today i made OTA update for latest lineogeOS 7.1.2 version 14.1 date: 25.01.2018

TWRP load update ok but phone stuck on lineageos boot logo, it's now over 30minutes and still no welcome screen.

now only WIPE will help ? I don't want to lost my settings
[Galaxy S II Android Development] robby2107:
Did you make a backup?

I would go back to the TWRP and install the nightly again including the opengapps. Don't forget to delete the cache and Dalvik Cache!

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] gm0:
Just force a reboot, that will probably be enough. Otherwise, as the poster above said, wipe the cashes and just flash again.
[Galaxy S II Android Development] guest4711:
It sounds like a clean flash would help you...
[Galaxy S II Android Development] psg:
I found recovery backup file from this phone which i made 18.01.2018 (lineageOS 14.1 dated 17.01.2018)

i made this backup by TWRP 3.0.0.0 which is installed in that i1900. I made restore (with wipe dalvik/cachesysytem/data) and phone works OK now.

How you suggest to make new update for 24.01.2018 lineage?

download and make update via TWRP only or should i install again gapps nano which i use?

how to update without lost of settings ?

EDIT:

I made install from TWRP just a new file: lineage-14.1-20180124-nightly-i9100-signed.zip

now i9100 stuck same as before (OTA update) to boot lineageOS logo. I didn't install gapps and SU addon but i think it's not important.

In my opinion:

new update: lineage-14.1-20180124-nightly-i9100-signed.zip is not correct for i9100

or

each new firmware release MUST be installed with WIPE: dalvik/cache/system/data so after update you will lost all data and settings made for personalize previous system

EDIT2:

I made wipe (WIPE: dalvik/cache/system/data) and install new firmware 24.01.2018 with SU addon and gapps and phone works OK so i think the only way to make new update is full WIPE with all settings and data

this is not good if lineageOS deliver OTA update. If this not work they should disable such option.

Maybe there must be used special TWRP or other recovery, but OTA update used open scripts which ware processed correctly but phone didn't boot (stuck on lineageOS logo).

anybody made OTA update with success ? Or maybe i should wait at least 2hours or so to allow this slow i9100 to make all update steps when OTA was made?
[Galaxy S II Android Development] kuba-orlik:
SMS and Wallpaper reset on low battery

Hi!

I'm on LineageOS 14, Samsung Galaxy S2 (i9100). On multiple occasions when my phone dies because of low battery level, when I turn it back on my wallpaper is reset to default and all my SMS history is empty... Has it ever happened to you, as well? Is there perhaps a remedy to this issue?
[Galaxy S II Android Development] dumdidum123:
Well, I always do my updates via TWRP. This has two reasons. First: I always do a full TWRP backup before installing, just because of situations like this. Having a phone, which doesn't boot up, without having saved your data is not that good. Second reason: OTA Update has never worked for me. It always fails while downloading. So I download it and copy it to my sd card. After updating I always clean cache and dalvik.

Anyways, I will perform the update from 20180103 to 20180124 in the next hour and then I report to you if something fails.

EDIT: worked.
[Galaxy S II Android Development] psg:
What do you mean "worked" ?

Phone works after update ONLY when update is made after FULL WIPE (system/data/cache)

when update made via OTA or via TWRP but with only cache/dalvik wipe i1900 stuck on lineageOS logo.
[Galaxy S II Android Development] dumdidum123:
It worked without wiping data. What I did was:

Download lineage-14.1-20180124-nightly-i9100-signed.zip and copy it to sd card.

Go to TWRP, install the zip, wipe cache and dalvik and reboot.

Wait around 13 minutes and everything is fine. Just like always.
[Galaxy S II Android Development] psg:
I made same as You did, install zip from TWRP v3.0.0.0, wipe dalvik and cache and phone boot over 40minutes and i gave up.
[Galaxy S II Android Development] rubentkato77:
I always update via OTA and never had problems.
[Galaxy S II Android Development] TriboDoP:
No idea if it would make any difference but i would update twrp to latest 3.1.xx anyway.
[Galaxy S II Android Development] rnd83:
Just made an update via OTA. No problems. Boot took about 3 minutes but I only have a few apps installed.

I'm using TWRP 3.0.2-1. I think 3.1.x causes problems.
[Galaxy S II Android Development] TriboDoP:
TWRP 3.1.0-0 works fine (flashed thegangster.zip on 4 devices)

As far as i remember 3.2.xx was the one which gave some trouble......
[Galaxy S II Android Development] Jgjd691995:
REMEMBER TO TAPE THIS CAPACITOR that is if you're using this piece too...

Capacitor across the battery is 0.1uF because of wire losses as im using an external battery. y'all will not need the square piece as im guessing all of y'all have internal batteries. the phone doesnt heat up as much with the foil installed max 55 degrees C if u keep it under your pillow and benchmark... my room temperature was roughly 26. Screenshot was as soon as kernel auditor finished loading up.

sorry about the late reply guys and apologies in advance for posting this here.
[Galaxy S II Android Development] toshibashi:
Thanks for your photographs. Overclocking or not, I think a heat sink for the CPU is a good idea. I could imagine copper foil - the thicker, the better - would be even more efficient.

So your aluminium foil is conducting the heat right down to the battery bay from where it can spread across the lower half of the display pane and thus escape to the outside. I always felt the upper half is getting much hotter than the lower end. Also, the battery (if inserted) could temporarily act as a thermal buffer, at least for a while.

As my old battery had fallen short of milliamp hours I once bought a bigger battery for the S2, twice as thick as the original one. It came with a 'backpack-style' cover to attach the battery to the phone. Now since you took out the battery anyway such an enlarged back cover would give you enough space for a little fan. Just drill a few holes into the back and blow the hot air out. How about that?

https://www.ebay.com/itm/Akku-Batte...GT-i9105-EB-F1A2GBU-Accu-Battery/121656537822

[IMG="Fat Battery Backpack Cover"]https://images.dp-tech.de/ab_productimages/mtec_akku_galaxy_s2_new_1.jpg[/IMG]
[Galaxy S II Android Development] OzyrysJimi:
I have a problem with shutting down the device. Now I have installed version from 24.01.2018.

Every time I want to shut down the phone, it automatically restarts. Any idea how to fix it?

Also every day I have a info that USB MTP service has stopped.
[Galaxy S II Android Development] BenjyTec:
About reboot I don't know, but MTP host crash has been a known issue for a long time.
[Galaxy S II Android Development] toshibashi:
Mine reboots about once a day. After every reboot I have to disable Flight Mode and enable WiFi manually. Sometimes the mobile network gets lost and the SIM card appears to be missing or deactivated. I have to reboot to make SIM and mobile networks re-appear.

I'm using LineageOS-Version 14.1-20180117-NIGHTLY-i9100 - couldn't update to 20180124, would not install.

Just trying 20180131 . . . Update successfull!

Flightmode on and all networks off. Didn't yet check network settings after reboot.
[Galaxy S II Android Development] gm0:
Mine has never rebooted on its own. You should consider a clean install with a behaviour like that, it's certainly not normal.
[Galaxy S II Android Development] toshibashi:
. . . still reboots in flightmode and I have to enable WiFi manually. At least my custom wallpaper survived the reboot. Wallpapers often reset to default all of a sudden.

I'd like to replace the default wallpaper by the one of my choice, number 5 or 6 in the wallpaper gallery.

I found some wallpaper related stuff using RootExplorer:

/data/data/com.android.wallpaperpicker

/data/data/com.android.wallpapercropper

/data/data/com.android.wallpaperbackup

/data/data/com.android.wallpaper.livepicker

wallpaper.jpg

wallpaper_lock.jpg

wallpaper_lock_orig.jpg

wallpaper_orig.jpg

wallpaper

wallpaper_lock

wallpaper_lock_orig

wallpaper_orig

Both the default wallpaper and my custom wallpaper exist with and without .jpg extension. The remaining images of the wallpaper picker gallery must be hidden inside the database .db files. Maybe if I pick one of them as the current choice I could save it as the default?

---------- Post added at 09:54 PM ---------- Previous post was at 09:47 PM ----------

I've just done a clean install on my second i9100 with more data space and DorimanX kernel. I'm still looking for a smart way to clone all my apps and data to it.

Forget Titanium, I got to clone 75 apps in a batch job.

Any ideas?
[Galaxy S II Android Development] OzyrysJimi:
Mine does not reboot. It starts on it's own.

Just to clarify: I've made a clean install. I've came from Cyanogenmod 12. I have 1GB partition.

Today I've installed update from January 31st. Now I can see black screen with a messagage "Interface couldn't start" so nothing happens.

Another thinh is, in lineage revovery i can't install any .zip package (gapps, any other custom recovery...) so every time I have to install new recovery using Odin.
[Galaxy S II Android Development] toy_story:
Look here - https://xdaforums.com/galaxy-s2/help/preparing-clean-loss-data-installation-t3712409
[Galaxy S II Android Development] DevisG79:
Clean installed latest LOS14.1. Performance is good. All works. Happy.:good:
[Galaxy S II Android Development] gm0:
wrong folder. the wallpaper is stored in /data/system/users/[userprofile#]/

But also wasted effort to look into that, with an install as broken as yours there's no doubt that you should start over clean.

Use another app if you don't like Titanium although Titanium does the job just fine. If you're using GApps you can also just backup to their service and restore from there.