yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] postafoa:
i buy second hand S2's for $30 a pop, always keep 2 or 3 of them at all times, fully encrypted, with encrypted backups, tuned and optimized, running AICP. I keep offline encrypted full backups, i have extended batteries. I also buy S2's with dead mobos and S2's with cracked screens, and then manually combine them into working units, zap them, and flash them with AICP. I never have to worry about lost or stolen phones. I never install gapps, only OSS software. I run unifiedNLP with local CellID databases giving me offline location with OsmAnd. I run this and that, as a result of years of learning and optimizing the S2. I laugh at people paying $600 on credit for their new S7's.

This phone will never die.

Just wanted to thank GreekDragon and everyone else, too numerous to mention, for all the hard work they have done over the years. Thankyou.
[Galaxy S II Android Development] GreekDragon:
New build is up! :)

Updated ROM Sources.

Added SamsungDoze.

Fixed RIL.

https://www.androidfilehost.com/?fid=457095661767105399
[Galaxy S II Android Development] Troubadour666:
thanks and good job Man

dirty flashed + banks gapps.
[Galaxy S II Android Development] :
Thread cleaned.

Please stay on topic and don't ask about ETA.

The developer has a real life as well and it may take a while.

Please stay patient until then.
[Galaxy S II Android Development] Nobby1960:
No chance with SuperSU and AICP - I've tried all. I think the kernel should be by default on permissive to flash SuperSU. Otherwise you get boot loops.
[Galaxy S II Android Development] kiva1:
Oh that's to bad.

Dev didn't change that in the OP, so i thin that it's work's
[Galaxy S II Android Development] Yakap:
Go to developer options and click root access
[Galaxy S II Android Development] linusdan:
New build is up!

Download here: http://dwnld.aicp-rom.com/device/i9100/NIGHTLY/aicp_i9100_n-12.1-NIGHTLY-20170626.zip

Change Log: http://dwnld.aicp-rom.com/device/i9100/NIGHTLY/aicp_i9100_n-12.1-NIGHTLY-20170626.zip.html
[Galaxy S II Android Development] Nobby1960:
Latest build works fine here, the button LEDs have now fully Samsung stock mode. A minor bug in setup, FC from system UI in GApps. If you change the language is it normal or new that system UI will make a restart?
[Galaxy S II Android Development] GreekDragon:
It's not a bug, is a feature :p . Imo is normal because you literally switch language packages and that makes the system to "reboot" to apply the new language package.
[Galaxy S II Android Development] Nobby1960:
Okay, thank you :) The minor bug FC from system UI in setup is only with German language (Deutsch/Deutschland).
[Galaxy S II Android Development] GreekDragon:
Anyway i'll ask to the team about it.

PS: Jumpin' Jack Flash, it's a gas :)
[Galaxy S II Android Development] Nobby1960:
Big thanks to you :) Yeah, it was in 1968, I was an eight years old boy. In German broadcast stations Rock/Pop music was very hard to find. I jumped often to Radio Luxembourg, there I heard this tune from the Stones and fell in love with it - until I die :D
[Galaxy S II Android Development] cascabel:
Haven't tried the latest build as i needed my phone stable (currently running Kitkat right now). Just noticed a couple of things when i did try this rom.

1. I can't get any superuser methods to work. Flashing lineage su add-on lets me choose root for adb and apps in dev settings but doesn't give me root permissions (ex: root apps do not work - they state it's unrooted). Flashing supersu gives ke bootloops (kernel?).

2. When i tried the earlier builds, i noticed that the phone won't go into deep sleep. Is that normal? It drains battery fast and keeps the phone a bit warm. It's could be a wakelock issue, but i haven't tested for myself.
[Galaxy S II Android Development] Nobby1960:
You have no root access? It works fine for me with the Lineage SU. Deep sleep is working too (in latest build, earlier builds I didn't tested all in last weeks). I can see it on BetterBatteryStats and in Kernel Adiutor. Did you make a clean flash? SuperSU have a problem if the SELinux mode in kernel is enforced by default like AICP standard kernel. Then you have boot loops.
[Galaxy S II Android Development] cascabel:
I just installed it again today since i had free time. Lineage SU works, so i probably downloaded the wrong one previously (or it was corrupted). Unfortunately, there's still no deep sleep. I did a clean flash, no custom kernel. I'm using Kernel Adiutor free to check and deep sleep is unused... Tried downloading greenify and naptime, still no success. I'm trying to check if there's a wakelock preventing it from deep sleep. I'll try BetterBatterStats and see if it gives me a different value for deep sleep.

Btw, what i did was:

Formatted/wiped /system /data /cache /dalvik

Flashed AICP

Flashed GAPPS (Pico)

Flashed supersu add-on

Rebooted

Edit

I'm pretty sure I'm on the latest build as i downloaded it just earlier today...
[Galaxy S II Android Development] Nobby1960:
[MENTION=4661380]cascabel[/MENTION]

Weird, same configuration as mine - check the deep sleep plain vanilla, without your installed apps (except Kernel Adiutor and BBS). I remember I had a similar problem, it was a certain app, which prevented the deep sleep.

Edit: I have switched the SELinux mode to permissive with SELinuxModeChanger, this is the only difference. I attach a screenshot from BBS.
[Galaxy S II Android Development] cascabel:
I'll try another clean flash later today since i'll need my phone. I'll try setting selinux to permissive to. Any way i can get logs for that? I've never ancountered this issue before. Weirdly it happens to me on all roms that are android 5+ (tried with lineage os nougat, xenonhd, and a few lp/mm roms).

Edit:

Screenshot is from earlier. Only difference is i have installed substratum and changed fonts and added a theme.

Edit 2:

Clean flashed again

Using Opengapps Pico and Lineage su add-on

No other additional installs besides kernel adiutor (free) and BetterBatteryStats

Will monitor it and check again later this afternoon.
[Galaxy S II Android Development] cascabel:
Still no deep sleep. I have only Kernel Adiutor (free) and BetterBatteryStats installed, nothing else. I'd love to stay on this rom (or Lineage tbh), but my battery dies way too fast because of this... I'll do one last clean flash tomorrow after redownloading the rom and maybe try a different gapps package (anything but opengapps). Hopefully that will fix the issue. Else I'll just upload logs (will have to search how to get logs related to wakelocks or ni deep sleep).
[Galaxy S II Android Development] Nobby1960:
Did you ever made a complete factory reset - I mean, back to stock ROM and a start from scratch? This can sometimes work miracles, from my personal experience.
[Galaxy S II Android Development] cascabel:
Not yet. I don't have access to Odin right now since I've yet to buy a new laptop, so I haven't been able to do that. Thanks for reminding me, though. I remember using that to fix some issues on an old xperia phone. Worth a try when i can.

Update:

I believe it's the gapps. I did a clean install (this time rom and supersu add-on only), and deep sleep is back. Lol. Going to try a different gapps package or bypass gapps altogether. Thanks for your patience guys.

Edit 2:

I sincerely apologize to the dev for cluttering the thread. Seems the vbus wakelock issue is the culprit. I've read about it now, and a simple reboot fixes it, but it was never present on my other devices. Now using the rom with micro gapps (opengapps) and everything's fine (so far in the last 3 hours or so). I've always been a fan of AICP. so I'm pretty satisfied. Just need to figure out hot to completely get rid of that wakelock. (play services played a role, too. But i was able to block them, so they're not an issue anymore)
[Galaxy S II Android Development] lexus46:
When I try to add weather provider for cLock, I don't find any. Earlier there was a Yahoo Weather Provider app on Store, but it vanished. What provider can I add, please?
[Galaxy S II Android Development] toy_story:
Hi, [MENTION=6837123]lexus46[/MENTION]

Look here .
[Galaxy S II Android Development] MigoMujahid:
As [MENTION=8052153]toy_story[/MENTION] said, you can use his script

Or..you can install the attached clock app as an update to the current one ;)

It works in all LineageOS ROMs, and has built in weather providers.
[Galaxy S II Android Development] lexus46:
Thanks. Do you have a working script for Marshmallow too?
[Galaxy S II Android Development] Nobby1960:
For the current AICP builds (or LOS) flash my attached version from LockClock (with the script from [MENTION=8052153]toy_story[/MENTION]), the apk has changed. With the older one you get ugly colors.
[Galaxy S II Android Development] lexus46:
Thx. I ask you the same question. Do you have something for MM?
[Galaxy S II Android Development] Nobby1960:
Unfortunately I have no MM version :(
[Galaxy S II Android Development] MigoMujahid:
No ugly colors here..

Only the white bar but i know where the "done" button is!

I'm on XenonHD and used the same app in AICP before..

Edit: you mean the yellowish colors? I remember something like that...but it wasn't a big deal for me..
[Galaxy S II Android Development] Nobby1960:
I don't know exactly when the changes came, I still have an apk from February here (out of a RR ROM). With this I get now a poisonous-green weather indicator on home screen :laugh:
[Galaxy S II Android Development] MigoMujahid:
Yeah, it happened to me in AICP, AICP only ?
[Galaxy S II Android Development] toy_story:
LockClock for MM

Hi, here I wrote a new script for Marshmallow.

Script fix LockClock version 3.4.1(21) for MM !

Weather widget clock with two assembly suppliers (OpenWeather and Yahoo weather).

Set in TWRP: LockClock_MM_Yahoo-mod.zip!

Wipe cache/dalvik after flash do not necessarily.
[Galaxy S II Android Development] lexus46:
Thank you very much! Please tell me, have I wipe cache/dalvik after flash? And for which version of cLock is this mod? The one that has no built-in weather provider?
[Galaxy S II Android Development] toy_story:
Wipe cache/dalvik after flash do not necessarily.

Look at the screenshots.
[Galaxy S II Android Development] lexus46:
Yahoo Weather Provider doesn't refresh, Open Weather Map shows not real values... :crying:
[Galaxy S II Android Development] Nobby1960:
No problem - in Settings/Battery/Performance optimation set cLock on "Not optimized". So it refreshes in deep sleep mode. Works here very fine. It's possible that Yahoo does not sync from time to time, but the issue lies with Yahoo itself. This also happens occasionally at Open Weather.
[Galaxy S II Android Development] lexus46:
I mean Yahoo not refreshing even with manual refresh.
[Galaxy S II Android Development] Nobby1960:
Ahh, okay - I tried to refresh Yahoo manual just this moment, it works. You can try the attached cLock, it's direct from my test phone :)

Edit: Oh, I forgot it in a hurry - you need it for MM :silly:
[Galaxy S II Android Development] lexus46:
Thanks anyway.:good:
[Galaxy S II Android Development] Nobby1960:
A new build is up since yesterday :)

Download
[Galaxy S II Android Development] linusdan:
I'm very happy to see that Magisk is not available on the latest build of the I9100! :victory: :angel: :o :cool:
[Galaxy S II Android Development] linusdan:
After 12 hours of use, I can say: the last compilation has a very slow interface even if you change the launcher! It becomes irritating to use.
[Galaxy S II Android Development] Nobby1960:
Which version do you compare, previous from 07/03? Until now, I still notice no significant difference. Launcher change to Trebuchet is fast, switch back to Nova takes always a bit longer ;)

But my phone runs the most time deliberately on 1200 MHz with a tweaked ondemand governor.
[Galaxy S II Android Development] linusdan:
With the build the day 07/10. I thought it was the launcher, I traded for Evie and it's the slowness still persists. I only have the basics installed on the phone (Keep, instagram, Tiesto app).
[Galaxy S II Android Development] MoixyS2:
Sending and receiving Bluetooth files it's Working?

Camera and Voice Record?

Works Fine?
[Galaxy S II Android Development] Nobby1960:
Sending/receiving files via Bluetooth only works correct for me with the Root Explorer. With any other file manager I have issues (transfer stops just before the end of the file).

Camera and voice record is okay. But the blue boot logo loads veeeery slow here - I did change it with an other AICP bootanimation, then it works fine.
[Galaxy S II Android Development] Sercan Ali:
Last OTA update stucks in aicp logo. Did Any other face this?
[Galaxy S II Android Development] w1lh3lm3d:
On mine it worked perfectly. did you wipe cache?
[Galaxy S II Android Development] Sercan Ali:
Did it take long to boot? I waited about ten minutes but nothing happened, stucked at aicp logo...
[Galaxy S II Android Development] w1lh3lm3d:
The first time it takes 15-20min after that booting takes just 5min
[Galaxy S II Android Development] Sercan Ali:
Interesting...Over OTA it stucked. May be I will try next build over OTA. Thanks
[Galaxy S II Android Development] linusdan:
The latest build flows very well!
[Galaxy S II Android Development] mixchan:
latest build so far so good, thanks to all developers
[Galaxy S II Android Development] Nobby1960:
[MENTION=4657801]mixchan[/MENTION]

You further search for a FM radio app? Just enjoy my announcement. Works fine with every Lineage based N ROM.
[Galaxy S II Android Development] mixchan:
Thanks a lot :good:
[Galaxy S II Android Development] MbMax:
Hi everyone. ;)

The last week I've installed the previous release (aicp_i9100_n-12.1-NIGHTLY-20170918.zip). Before of this, in my Galaxy S2 there was installed a MM 6.0.1 ROM derived by CM13. The passage to AICP went fine. The ROM runs smoothly, and perhaps it's the fastest ROM I've ever installed on my S2. :)

This morning I've received the OTA message for a new release, so I've downloaded it and I've try to flash it. The operation didn't went fine due to the following error E: unable to find the \misc directory.

Due to this error, in recovery mode it was impossible to install any update. Without success I've also try to flash another kernel and another ROM.

So at the end I've restored the SAMSUNG stock with Odin, and I've done all the passage to install AICP in a clean manner. But after flashing it, the error was there again. Now I know that the next time the update to the new AICP release will be impossible again.

Have you any tip to solve this strange problem? I've googled a lot, but without find a real solution.:(

Many thanks in advance for your answers.
[Galaxy S II Android Development] Oxydeme:
Hi may I ask you which TWRP version you used for flashing?

Have you tried the latest one?

Can be found here, I googled a bit bout it:

https://twrp.me/samsung/samsunggalaxys2i9100.html

Or directly here:

https://dl.twrp.me/i9100/#

Just flash the downloaded package and retry after that, it may solve your problem.. I guess.

Cheers,

Oxydeme
[Galaxy S II Android Development] MbMax:
I've used the version 2.8.7.0. I've try several times to update it, both via recovery and using HeimdallSuite as described HERE, but, strangely, it doesn't work. Flashing .img file via recovery seems to work, as no error messages appears. But after the reboot the old version is always there. With HS the behaviour is the same. All works fine, but at the end the old release is always there. Obviusly I've followed carefully the instructions step by step. :rolleyes:
[Galaxy S II Android Development] Nobby1960:
My post comes unfortunately a bit late, sorry. If you have not done it with the recovery, flash my attachment via Odin. It's a special kernel for the S2 with built-in TWRP 2.8.7.0. This allows you a clean flash from this ROM.

First flash the kernel, make a full wipe (cache, dalvik, system, data). After this flash the ROM and the newer TWRP (3.1.0-0) as img. Reboot in recovery, you must see now the new one. Then flash GApps etc.
[Galaxy S II Android Development] blue whale:
on a xiaomi redmi running RR nougat, I extracted the FM radio app and tried it on the ROM RRnougat for the s2 but it force closes.

Did you do something special to get a rm radio app working?

I tried your app on this aicp rom and I cannot get it the speaker to output the sound. THe sound is always through the headset.
[Galaxy S II Android Development] Nobby1960:
I don't use this radio app with the speaker, cause the headphone cable acts as an FM antenna at the same time (on the Samsung phones I9100 and I9300). Without connected headphones FM receiving is very poor.
[Galaxy S II Android Development] linusdan:
Sometimes my cell phone goes into negative mode without having activated the function and only returns to normal by restarting.

Has that ever happened to you? I'm using the build on 11/20/2017
[Galaxy S II Android Development] John D J:
Hi ye this happened with my phone too on this rom and RR rom. Also keep deleting my screensaver. Moved to a different rom. No problems now. Doesn't have the great settings of this rom but no more hassle. Respect to the Devs here though beautiful rom. Just too buggy for my phone.
[Galaxy S II Android Development] linusdan:
That sad! I love this custom ROM. I love all available for I9100, but this is the only one in which I restart the cell phone and do not download drastically, besides the responsiveness that is perfect = (
[Galaxy S II Android Development] diaconu.silviu:
First of all thanks to Devs !

Second, I installed aicp_i9100_n-12.1-NIGHTLY-20171204.zip (prior to this i used djibe89 tutorial for root ,twrp ) with recovery-the.gangster-IsoRec-TWRP-3.1.0-0-i9100.zip . I had no problem installing the system, gapps and my apps . When I tried to download something from internet (puffin browser , zedge) there is always an error "download error" . Also i could not save contacts to vcf file (error export 0Kb file).It seemed like a problem of storage access .WiFi behaves strangely, random disconnections , poor GPS locks . Someone else has encountered such errors ?

For the moment i reverted back to Slim-i9100-4.4.4.build.9.1-UNOFFICIAL-20160104-0852 ,no problem whatsoever. Sorry for my English !
[Galaxy S II Android Development] GreekDragon:
Merry christmas people. :)

I wish you will enjoy this day as much as i do..you can see it. haha.

I got witcher 3 , what you guys got?
[Galaxy S II Android Development] linusdan:
Merry christmas [MENTION=5651185]GreekDragon[/MENTION]!!! Merry christmas peoples!!!

Just listening to music and eating raisins hahaha
[Galaxy S II Android Development] lexus46:
Happy New Year!
[Galaxy S II Android Development] Nobby1960:
Sorry, I can't flash the newest build (20161028) on my fullwiped S2 (TWRP recovery). I only see a never ending AICP start animation (bootloop?). This happens with and without the 7.x Google Apps (banks gapps, opengapps). I've tried it several times (boot in recovery, fullwipe....), no chance.

The older build is no problem to flash.
[Galaxy S II Android Development] AngelRoker:
Just reporting

I flashed it today, it seems that heat while charging bug is back.

Also the BANKS Gapps gives me FC on com.android.phone (clean flash). I'm using Opengapps Pico for now. RIL and data are working fine.

Maybe I did something wrong... (?) Not sure.

And thank you for your job. As [MENTION=4440784]Deses[/MENTION] said, it's amazing that our old and brave phone still gets that much love.
[Galaxy S II Android Development] GreekDragon:
When my device is on standby i have no heat.

the "com.android.phone" FC can be fixed after rebooting 1-2 times.

First boot takes longer.
[Galaxy S II Android Development] GreekDragon:
N7.1 build is up! :)

Updated ROM Sources.

https://www.androidfilehost.com/?fid=457095661767106122
[Galaxy S II Android Development] AngelRoker:
Maybe you didn't wait long enough for it build its cache. Mine took almost 20 minutes to finish boot. If you want to make sure it is working, try running a logcat on the adb console. If it shows something like this, it is still booting up

dex2oat : Compilation of <some app name> took 123.456 ms
[Galaxy S II Android Development] Nobby1960:
Thank you both, I'll try it again. But first I must recharge my battery ;)
[Galaxy S II Android Development] Giobio:
Did you ever pit your mobile? It is strongly recommended to get Nougat or MM.
[Galaxy S II Android Development] rubentkato77:
In 7.0 build the phone got hot like hell.

Will try 7.1 build and report.

Again thanx for your hard work.

Regards.[emoji2]
[Galaxy S II Android Development] Nobby1960:
Yes, with a 6GB pit file. I had MM (CM13) on the phone with opengapps pico.
[Galaxy S II Android Development] Nobby1960:
Alright it works :good: The firstboot takes ca. 20 minutes. Wi-Fi and GPS are working fine. In the settings there are some issues: Live Display, Color calibration and Color temperatur has no function.
[Galaxy S II Android Development] Zarosky:
Battery drains quickly in all roms android 7.0 and 7.1 for i9100, when solved will be a great rom
[Galaxy S II Android Development] rubentkato77:
Phone gets really hot
[Galaxy S II Android Development] betexino:
wich gapps package are better to use with this rom? (bank or open)

without external sdcard it's boot up faster then
[Galaxy S II Android Development] Trafalgar Square:
https://telegram.me/AICPHangout
[Galaxy S II Android Development] GreekDragon:
Another build is up! :)

Updated ROM sources.

Proper thermal patching.

Video-Recording works with Snap app.

Dirty cow patched.

Kernel name is now IceColdKernel.

https://www.androidfilehost.com/?fid=385035244224390101

Join to our AICP telegram chat: https://telegram.me/AICPHangout
[Galaxy S II Android Development] Spyr0s:
Nice to see old fellows like [MENTION=1184673]LorD ClockaN[/MENTION] in this.

S2 was my next phone after HTC Desire HD in which i was the "DeSense rom maintainer" along with [MENTION=1207866]famonaco[/MENTION] and [MENTION=1184673]LorD ClockaN[/MENTION] was the kernel maintainer while he was doing his first steps in AOKP/AICP five years ago. Now i have an S5 as a primary phone but S2 still works with CM13. Will jump into this when things get more stable, flashing all day and testing roms in not an option for me anymore.

Also, thank you [MENTION=5651185]GreekDragon[/MENTION], nice to see you involved.
[Galaxy S II Android Development] rubentkato77:
I'm gonna flash it right now, thanx mate!
[Galaxy S II Android Development] an24mas:
Battery draining during charging:)
[Galaxy S II Android Development] ahmednagi8:
Secondary notifications panel not working
[Galaxy S II Android Development] Zarosky:
build 20161030 very hot and drains the battery fast in my i9100.
[Galaxy S II Android Development] postafoa:
Hi

I installed this rom, and encrypted my phone. But later i noticed there were still old data like pictures etc from the previous ROM i wanted to get rid of, so i did a full factory reset, wiped everything i could, and reflashed. Now whatever i do after a fresh reflash, in settings -> security it says the phone is encrypted, but it's not, it requires no unlocking code at boot, an TWRP requires no unlocking code.

When i flash anything TWRP says:

'Data successfully decrypted, new block device: /dev/block/dm-0'

'successfully decrypted with default password'

but i can't change the decryption password, and it's never asked at boot, so in effect, the phone is not encrypted.

i can't run repit anymore either

what to do?

thanks

EDIT: Solved it, i had to choose 'require pattern to start device' in screen lock settings., Sorry to bother.
[Galaxy S II Android Development] kadov:
Battery is very hot for me too during charging
[Galaxy S II Android Development] oczkers:
guys it's not bootlop, just wait (~20min probably)
[Galaxy S II Android Development] empilein:
Nightly Builds

can we expect to see nightly builds for i9100 comming soon?

Iam a happy user off AICP over a few years now and would like to see AICP 12.1 nightlys for i9100 :)

greetz