yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] kudos1uk:
Freezing issue.

OK so I will chuck out my experience.

I have 2 S2's my own and an ebay buy, both were manufactured within a month of each other in 2011, both have the same hardware including the insane chip.

My own beloved phone has been using this for months without much issue, the odd unexplained reboot and odd reboot when Facebook app (now gone, using browser) or chrome when it had problems.

The big difference is the second phone, I know this has a hardware problem, it was bought as wifi not turning on and overheating, I could not cure this problem with any ROM so opened it up, I found the coin battery had leaked acid on the PCB, I removed the batter (simple twist) and cleaned the PCB.

This spare phone now works, but if I start it with Wifi on it often freezes, if I change the sim card it freezes, it's a battle frankly to get it going, once up and running and settled down from a reboot it's fine.

Now my own phone is fine, odd reboot but as stable as any rom I have ever run and more stable than KK, I removed the battery from this phone too, the battery is not needed except to retain the time and date when the main battery is removed and this is updated automatically when you reboot anyhow.

I am not saying everyone with a freeze has a leaking battery (far from it) but in my case it is a proven cause, lots of people get this leaking battery problem, it's a time bomb in the aging S2, the coin battery is 4 years old and sooner or later will leak.

My feeling is, there are a lot of hardware problems that can cause a freeze, this is one, if anyone opens their phone for ant reason (replace usb?) take the time to check the coin battery and consider removing it (it's just a twist with thin nose pliers) to protect the PCB from damage.

I pulled info together on this issue here:

http://xdaforums.com/galaxy-s2/help/sgs2-bat500-removal-t2946332
[Galaxy S II Original Android Development] spanitzer:
News about 6.0 Rom? :)

Gesendet von meinem ME173X mit Tapatalk
[Galaxy S II Original Android Development] Weib67:
Yes, a few posts ago by LA. But personally, I would rather have a rock stable 5.1 than a barely bootable 6.0. Plus JustArchi from I9300 section is rather pessimistic about 6.0 on old Exynos and 1GB devices.

About 20151009 nighly : A shut down while idle (never happened before, so maybe a coincidence), and a good old freeze while playing a game on chromecast. Maybe a bit smoother since dlmalloc though.
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION] Just to tell you I had a reboot 1 hour ago :(

Anyway, I agree with Weib, with dlmalloc the phone seems slightly faster.
[Galaxy S II Original Android Development] ringen00:
Please! Someone give me a hint!

Don't want to mess up my phone!

Shall I flash again manually?

The CyanDelta or the full image?

Wipe something before?
[Galaxy S II Original Android Development] gpvecchi:
Thanks! Does it have TRIM enabled?
[Galaxy S II Original Android Development] Lysergic Acid:
Nope, no TRIM support added, sorry.
[Galaxy S II Original Android Development] BenjyTec:
I think there is only [MENTION=4141005]Lanchon[/MENTION] providing kernels with TRIM enabled.

Gesendet von meinem GT-I9100 mit Hilfe von XDA Forums Pro.
[Galaxy S II Original Android Development] Lanchon:
hi LA,

ive seen too many unstable S2s. some have clear overheating issues. some have degraded capacitors that partially short the power lines. some cant stay off and fire up when you plug in the battery (and its not the button and its not the usb port flex). some have leaking coin cells. some have wifi damage from leaked cells. ive also seen many fail out of the blue, most of them never been trimmed. these phones are getting old and showing their age. there is the possibility that the failures you see are just bad hardware. someone with issues should commit to reproduce them on other roms, i bet they can.

i9100s pre fpbug fix were horrible, and still CM put out "stable" images.

my view on the subject: if CM LP is as stable as CM KK, you should go for it.

think about the thousands of people using ur rom and not posting here because they have no problems.

---------- Post added at 04:54 PM ---------- Previous post was at 04:28 PM ----------

btw, i see u had to put out another TWRP kernel, so i guess i need to crank out mine :(((. do you want to start building a trim twrp version yourself? its just a stupid constant anyway. or do you want to share your twrp repos instead? im too lazy to look at the twrp docs and people hate the official recovery.
[Galaxy S II Original Android Development] nhmanas:
Can you enable swap too? Because zram is virtual compressed ram in actual ram as I know and it keeps busy processor. But swap don't do this. I have very little information about this correct me if I'm wrong :D

---------- Post added at 09:15 PM ---------- Previous post was at 09:07 PM ----------

Did you flashed update with stock (cm recovery) kernel or twrp kernel?
[Galaxy S II Original Android Development] chrisXL:
For me xposed works (v75 with LA new twrp kernel). Sorry for OT.
[Galaxy S II Original Android Development] jabarel:
Any issue with last build? wifi network etc
[Galaxy S II Original Android Development] the.gangster:
If I got it right, LA now only published the new kernel, that you did already 10th of September. (His build environment was messed up before.)

So I assume, your 20150910 build and his 0910-build won't differ (except for the recovery and trim-support of course).
[Galaxy S II Original Android Development] kudos1uk:
[MENTION=6159291]Lysergic Acid[/MENTION]

100% agree with all above, this ROM is more than stable enough and more stable than any other ROM I have run, I really think those with the big issues either have bad hardware (like my spare S2), push it too hard (its old!) or expect too much (I saw a complaint it rebooted after 4 days - WTF).

And yes please, TWRP with trim Mmmmmmmmmmm, that really would be the icing on the cake.
[Galaxy S II Original Android Development] haris1976:
sorry for OT

RR was r_24, is the lastest changelog 20151010 was r_24 too ?
[Galaxy S II Original Android Development] Rj_Param:
WiFi is not working with cm kernel ...I have tried squid kernel and everything is fine ....try this if anyone else also have WiFi dhcp issue
[Galaxy S II Original Android Development] cherryb8844:
And can you please share the link of kernel

---------- Post added at 05:50 AM ---------- Previous post was at 05:46 AM ----------

Hello friends bought the new Samsung original battery from amazon its 3.7V

But I noticed the stock that comes with my phone is 4.2 voltage did any one have any idea about it. Did this ok or not sorry for the messing the thread but I already ask this question on accessories thread but no answer from anywhere so please guide me did this hurt my beloved galaxy s2 i9100 or charger
[Galaxy S II Original Android Development] ringen00:
I flashed while on Gustavo's kernel.

Flashing Gustavo's, pico, Xposed.
[Galaxy S II Original Android Development] spanitzer:
Okay thanks.

Can i test the ui or have it a bootloop?

Sorry for my very bad english

Gesendet von meinem ME173X mit Tapatalk
[Galaxy S II Original Android Development] kudos1uk:
I think you will find it's xposed that's the problem, I just updated to 09/10 all went fine, flashed LA TWRP, all OK, flashed xposed and got stuck on flashing face. I tried reflashing LA TWRP Kernel but no joy, had to reflash 09/10 ROM from SD0.

I thought xposed only changed the kernel so I don't know why reslashing LA's TWRP kernel did not fix it?

I will look and see if there is a newer xposed, I have been using 20150702 for ages now.

Just reflash the rom from recovery and all changes will be reversed and you will be up and running again.

EDIT: I was using V65, latest is V74, can anyone confirm V74 works with the latest nightly?
[Galaxy S II Original Android Development] ringen00:
Thanks!

Using Xposed 20150716.

Just flashed 1008 (whole image) manually - works again :)

Now I try CyanDelta with 1011, SuperSU 2.46, Xposed 20150716, Pico 20150705,

LAb's last TWRP (0910)

Update: have been using v67 so far
[Galaxy S II Original Android Development] kudos1uk:
Glad it fixed it.

The original xposed by rovo89 apparently now works on 5.11 so there is no need to use xposed by romracer unless there are issues.

http://xdaforums.com/showpost.php?p=59901244&postcount=2

original Xposed by rovo89:

http://xdaforums.com/showthread.php?t=3034811
[Galaxy S II Original Android Development] ringen00:
[MENTION=5710255]kudos1uk[/MENTION]

Using 'xposed-v75-sdk22-arm.zip'

seems to work! Thanks so much for your help!!!
[Galaxy S II Original Android Development] Lanchon:
he did an AUG-25 and now OCT-09

https://www.androidfilehost.com/?w=files&flid=28681

he did the oct build presumably due to the change in /data encryption

my latest build is from SEP-10, it's just an ugly coincidence that both have the string "0910" in them :)

he uses the spanish "ddmm" convention and i use the international "yyyymmdd", thats why

---------- Post added at 12:19 PM ---------- Previous post was at 12:14 PM ----------

hell no, xposed has nothing to do with the kernel, it patches dalvik vm and friends.
[Galaxy S II Original Android Development] Lysergic Acid:
About that, after I got access to the CM maintainers folder, I saw a maintainer of another devices signing-in those "stable" builds for us, probably without the phone, I don't know really, but he signed it for us. We were indeed without a maintainer for years.

I've looked in your sources but I was too lazy to read your notes about TRIM and then I decided to spend my time in another things :p

I don't change my repos to build twrp myself, I just load a pre-compiled recovery-ramdisk.cpio in the kernel when building it, I can share that with you too if you want.

Swap is too slow man, it also keeps the processor busy. You don't want that unless you need 2gb of RAM to run an app, it would probably crash anyway.
[Galaxy S II Original Android Development] the.gangster:
I was well aware of the different date formats you use. That's why I explicitly wrote "September".

But even though I read LA's warning concerning encrypted phones after changing the path and even though its purpose was to get the wipe in CM-recovery work, I simply thought it was only a change in the ROM (its non-kernel-part) with effect on its stock CM-recovery.

Thank you for clarifying.
[Galaxy S II Original Android Development] eminem_b:
Whoa, zram support: http://www.cmxlog.com/12.1/i9100/

Enable zRAM for i9100 and i777 [2/2]

2015-10-12 at 02:42 pm (+03:00) (android_kernel_samsung_smdk4412)

Can't wait for tomorrow's build :)
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION] I noticed that you introduced the swap capability as well :)

My question: zRAM and swap will be active by default or they shall be activated by accessing an ad-hoc menù?
[Galaxy S II Original Android Development] Dr.Fix:
Pay attention, change #111997 (merged!) requres change #111996 (Needs Code-Review!)...

Since change #111997 tells the phone to enable swap and zRAM I think there will be issues if chagne #111996 won't be reviewd and merged before next nighlty!

Looking at commits it seems a fixed non-configurable value.
[Galaxy S II Original Android Development] Maximko_O <3 wonder:
Really?)
[Galaxy S II Original Android Development] SaZoN:
really =) http://xdaforums.com/galaxy-s2/help/android-6-marshmallow-t3219316/post63257232#post63257232
[Galaxy S II Original Android Development] Lysergic Acid:
They'll be enabled by default now. You can always disable it if you want, of course.

No problems sir, I already pushed it myself ;)
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION] Just out of curiosity...If I remember correctly, you were quite disillusioned about the fact they may help with freezes/reboot issues...why you changed idea? :)
[Galaxy S II Original Android Development] Lysergic Acid:
Well, zRAM will help us to achieve a higher 'free()' value all the time, thus not rebooting when a memory hungry app is launched. That seems to be one of the causes for those problems, but not the root of it.
[Galaxy S II Original Android Development] Resync:
bye bye s2 lovers, iam moving on to a lg g4.

thx for all the great support and updates ;)
[Galaxy S II Original Android Development] lukss12:
When playing music if AudioFX tile is set up it will cause system ui to hang up when opening notification area. It's happening to me on 11/10 nightly.

Choreographer have something to say about it too
[Galaxy S II Original Android Development] chrisXL:
I can't reproduce it (in 10/10 nightly)
[Galaxy S II Original Android Development] n3m3sis:
2151013 applied and up and running. Phone running smooth, no issues so far. Seem to have made my phone a quite a bit quicker! Many thanks LA.

Going to get my pcb cleaned and battery replaced.... dont think I will be buying a new phone for a while after all :)
[Galaxy S II Original Android Development] Naudiz:
I assume, with zRAM support in latest nightly, the kernel has been updated, so I can (at least for the moment) not use TRIM Kernel anymore? Is this assumption correct?

I also second the request for an official Kernel with TWRP + TRIM. It would be like a dream come true [emoji4]
[Galaxy S II Original Android Development] Zentori:
And BLN, please! :fingers-crossed:

It's just impressive that i9100 can handle Android Lollipop so well thanks to you, developers. :good:
[Galaxy S II Original Android Development] Weib67:
The thing is, it can easily happen twice a day, even right after a fresh boot. Another time, it's ok for a couple of days.

It's not really about the uptime, but about how reliable the phone is in real usage. Including when using GPS, making important calls, or simply set an alarm on the phone. I don't think that this type of usage can be described as an ultra heavy hardcore one that the S2 couldn't handle.

And even when the phone is pushed to its limits, I still would expect it to close apps or slow down, not to reboot, crash or freeze.

About bad hardware, it's a possibility. However, it would be odd that stock rom still runs flawlessly, which is my case.

You are not alone.:p However, seems unlikely to happen anytime soon.

About TWRP: I cannot agree more. I think it's primordial to have a solution to create/restore nandroid backups, with an updated kernel. Also, to flash unsigned zips.

About trim: You still can trim before applying the update. If you keep enough free space (the partition doesn't matter, it can be /system or /data), you will still have the benefits from trimming for quite some time. :)

Anyway, I've been testing the 20151013 build with zram for a few hours. I unfortunately didn't notice any impovement in stability with first dlmalloc build, so I hope that zram will help about that.

On a positive note, as I already reported, overall performance are really good in general (especially with zram).:)
[Galaxy S II Original Android Development] Dr.Fix:
2151013 installed, no issues with zRam, even Facebook updated with no errors and in a reasonable time (usually it ended up with errors or took 30+ mins to update).

Just a question: after installng 2151013 build only 3 apps were "optimized" at startup... why? Usually after any nightly updated I got all the apps "optimized".... well.. what does this process mean, does it have any sense?
[Galaxy S II Original Android Development] Fr4nz83:
I have the same impressions...let's keep our fingers crossed and let's thanks [MENTION=6159291]Lysergic Acid[/MENTION] :)
[Galaxy S II Original Android Development] slybunda:
is this stable for use as daily ?
[Galaxy S II Original Android Development] Fr4nz83:
Absolutely yes! Indeed, Lysergic was considering to release a stable build in the upcoming weeks.
[Galaxy S II Original Android Development] n3m3sis:
I have been using all the nightlys since the end of sept 2015 on a daily basis(until the next update).

I have had little to no issues with any of them except 20151011.

I would say give it a go :)
[Galaxy S II Original Android Development] slybunda:
ok its for my mum she uses the phone for whatsapp, text, phone calls, and email with very little web browsing and little youtube.. noting too straneous, just has to be stable.

last cm11 milestone 12 has google play services constantly drain battery life keeping phone awake all the time.
[Galaxy S II Original Android Development] ajislav:
Then why dont you try Lanchon's CM11 build from Sept 04, I think it was posted in the official CM11 thread.

CM11 is definitely more stable

Edit

Here you are http://xdaforums.com/showthread.php?p=62676820
[Galaxy S II Original Android Development] slybunda:
ok cool i will give it a go tonight. thanks guys
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION] I just had a freeze after 7h of uptime :(

Just had Skype in background and using Facebook Lite (so, no killer app).
[Galaxy S II Original Android Development] Jubri:
+1 :D

I Use CyanDelta, and with TWRP, nightly's upgrades are "automatic"

Thanks [MENTION=6159291]Lysergic Acid[/MENTION]!

Regards.
[Galaxy S II Original Android Development] cdrivex4:
.. What version of fb are you on then? I have an ongoing battle with fb, sucks the life out of the phone an each time I try to update took the most current version it says it's done it then laughs at me. I have to try multiple apks from apkmirror before I could get one that would work.
[Galaxy S II Original Android Development] nhmanas:
Apolo kernel with trim+zram+twrp with latest ramdisk of course ? but there's no hope I think...

Btw today's update is awesome [MENTION=6159291]Lysergic Acid[/MENTION] really really smooth!! I brake my taboos with zram thanks :D
[Galaxy S II Original Android Development] Weib67:
Yeah, it seems that we have the same kind of capricious S2. :silly:

Also about 7h of uptime, then had a freeze followed by a reboot. I don't use any facebook app though.

Frustrating... Otherwise, the phone is nearly perfect if it wasn't for these damn reboots:(.
[Galaxy S II Original Android Development] Fr4nz83:
To be honest, reboot/freezes occur randomly, mostly after (or during) I watch some videos in Chrome...the average uptime is around 18 hours, sometimes it lasts more than 2 days, others just a bunch of hours.

Anyway, even with this issue I'd say that the phone is extremely stable and performant, hence it's okay for me. However, I don't think (at least in my case) that these issues are due to some hardware failures...I checked the eMMC (it's okay), I also opened the phone in order to check for the battery problem and see whether the PCB was okay...everything is perfect.

I just hope that one day these issues will be solved :)

Perhaps it could also be interesting to open a poll and see the percentage of people having freeze/reboot issues. This could give us an idea whether this problem is statistically significant or not.
[Galaxy S II Original Android Development] Weib67:
Just had another freeze. 4h of uptime this time, great.:(
[MENTION=6808863]Fr4nz83[/MENTION] Yes, performances are here, but stability, I wouldn’t say that.

Don’t know if statistics would be relevant here, but when LA asked a few pages ago about wether or not we should go stable, you can clearly see that something’s wrong. Lots of comments were negative.

I don’t blame LA nor CM, but I’m afraid that the rom is as good as possible for an Exynos 4 device.

Btw [MENTION=6159291]Lysergic Acid[/MENTION], would new logcats be helpful in any way ? Thanks for your work. :)
[Galaxy S II Original Android Development] Lysergic Acid:
Nope, it's not necessary, I've enough of them. That seems to be a kernel bug after all, pretty much similar to the fpbug weirdness
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION] Just out of curiosity, did you change your stance about the freezes/reboots issue in the last days? Lately you were quite sure about the stability of the releases, but since 2-3 days it seems you changed your idea.
[Galaxy S II Original Android Development] Lysergic Acid:
No, I don't change my idea. I'm pretty sure the reboots depends on usage of the phone, I never had them, even playing Real Racing 3 on CM12.1 :eek:

But the freezes happened to me too, that's the thing killing the "stability" for me, I don't know if I'm asking too much of the phone or what. I'm also not sure about the stable release, if you want a percentage of users of CM12.1 that report freeze issues (the ones that agree to send the data to CM) that would be around 3-5%, but I know not all the users report issues, so it's tough.
[Galaxy S II Original Android Development] gianluca.cecchi:
So this is my report: today I had a freeze after 10,5 days of uptime. It happened when trying to open whatsapp and the display remained white.

After waiting a minute and trying some buttons without result I kept power button pressed and got a reboot.

I think it is quite stable (I have 27/09 version).

What I mainly use:

- 3 gmail accounts (1 free with many e-mails/day, 1 business with medium number of e-mails, 1 business with few e-mails)

- 1 imap account configured inside gmail application itself with 15 minutes frequency and medium number of e-mails /day

- whatsapp with many contacts and several crowded groups and discussions ;)

- moderate web surfing

- train timetable and realtime situation application that I consult very often at beginning and end of the working day

- spotify free (several 45 minutes's sessions during this uptime)

- runtastic with about 3 1hour sessions during this uptime

- some camera usage (photo)

...

At the end I'm quite satisfied at the moment. Thanks LA and all helping developers.

Gianluca
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION]: that's a pity, because apart from this issue the releases are pretty amazing in terms of performances and stability...I hope we can track down what causes the issues and solve it.
[Galaxy S II Original Android Development] n3m3sis:
I had a reboot this morning on 20151013 and also upon this reboot all my icons (home screen and menu screens) had disappear. I clicked a random place on the wallpaper (all that was visible except tab at the top of the screen stiil working) and my gmail came up . Other than that everything very fast on the build. I use MX player, gmail, email, whatsapp, and browser (not chrome).

A question please.... how many of you are updating the nightly's by just wiping the cache and installing over the top of the previous nightly?. How many are wiping cache and doing factory reset/wipe data before installing the latest nightly? Which method is the recommended method for installing the nightly roms.?

Thanks in advance for replies and muchos gracias [MENTION=6159291]Lysergic Acid[/MENTION] and his crew for some awesome works on these roms.
[Galaxy S II Original Android Development] maro777:
I installed a new build every day, just wipe the cache.

At 1013 I had no problems with the reboot.

Currently testing build in 1014 and at the moment it is all good.

Lysergic Acid Thank you for the wonderful work of our Galaxy S2.
[Galaxy S II Original Android Development] Ardroid-xda:
there is a possibility the reboot issue problem come after zRam patch for galaxy s2 ?

sorry i didn't see any reboot problem before, latest update with dirty instal using 20151011 is normal with delta gapps