yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] the.gangster:
:) though it was in this thread like ~2500 other posts. Maybe you are right, selective reading sometimes filters the interesting ones.

My test result was like 8 posts later http://xdaforums.com/showthread.php?p=64299328

Would have been nice though, if also others would have tested. Although I'm convinced I did what he described, and although checking myself for implantation errors, successes or errors should always be verified by independent tests. Plus, I only tested TWRP variant.
[Galaxy S II Original Android Development] Lysergic Acid:
I bit too harsh but, true story.

It's not that hard but it requires time you know, while I'm submitting patches you guys are playing some game, or relaxing at home :p I do enjoy that after all, so no problem

I forgot about TWRP again didn't I? I'll try to inject TWRP for the next version
[Galaxy S II Original Android Development] Boolian:
The girlfriend's stock Samsung JB rom has recently (1-2 month) started showing the same pattern of freeze/reboot as this rom. I hadn't paid much attention to her complaints of "weird things" happening. I would ust flush huge caches, etc. and hand it back.

But I caught some of these freezes over the holidays. I'm now wondering why a Stock JB Rom is suddenly experiencing our issues.

the only common denominator is OTA gapps updates. I'm going to try and blag kmesg off her phone and compare.
[Galaxy S II Original Android Development] flashxml:
Problems with Google calendar. I don't have this option in my calendar so I can synchronized my phone. I used you last snapshot rom with android gaps aroma
[Galaxy S II Original Android Development] the.gangster:
[MENTION=4295446]flashxml[/MENTION]

I guess you better address that to the according openGapps thread (each, normal and aroma have one).

But from what I know, the Gapps includes two components for calendar.

CalSync (Google Calendar Sync) which gets installed only, if the other CalendarGoogle (Google Calendar) is not installed. The latter again will (by default) uninstall and replace the stock calendar version.

So depending on what you choose in GApps package you should still see stock calendar (com.android.calendar) and the Google Calendar Sync (com.google.android.syncadapters.calendar) in your settings -> apps -> all tab.

With that combination I am having the choice to add a google account to sync with in calendar settings. Although I am on Nightly 20151226 this shouldn't have changed since Snapshot-build.

Happy New Year. At least for our developer [MENTION=6159291]Lysergic Acid[/MENTION] it's just 5 minutes to 2016.
[Galaxy S II Original Android Development] jojobg:
Happy New Year.

Bumping my question on full device encryption topic. Anyone achieved encrypting their phone [MENTION=6159291]Lysergic Acid[/MENTION] states FDE is working on CM12.1 and S2.
[Galaxy S II Original Android Development] wdevil12:
Happy New Year

2015 was incredible year for S2 development. I've known the most amazing developers during that year such as [MENTION=6159291]Lysergic Acid[/MENTION] [MENTION=5811506]gsstudios[/MENTION] @arnab @GreekDragon [MENTION=5419355]warrior1208[/MENTION] [MENTION=1597520]Markox89[/MENTION] [MENTION=6474096]sai24[/MENTION] @ and others who have contributed this community curiously. You all did impossible possible. Your patience and support during this whole time are worth than gold. Never Ever Stop Learning And Helping! You're my Heroes guys! Happy New Year!
[Galaxy S II Original Android Development] good8life:
It's true : I'm install night 30.12 without PIT (system and date stock) & without remove script - fill cyanogenmod 12 : 2 days nothing freeze . ( GAPPS from open gapps 25.12 Pico)

I'm install from Google play kernel auditor - change : odemant & cio - phone sleep very good .

Thanks you & Regard for LysergicAcid!
[Galaxy S II Original Android Development] gaikokujinkyofusho:
need twrp so can put gapps?

I flashed this rom and was going to flash gapps at the same time but stupidly had the wrong gapps, forunately (I think) cwm or gapps caught me gave me an error and said I needed gapps for 5.1 and not 5.0 so I rebooted to put gapps for 5.1 on and went back to cyanogen recovery thinking I could just use that but it seems not as simple as I thought. When I try to do "apply update" (from sdcard0 or sdcard1) I simply get "install failed, installation aborted". I tried taking a look at the logs but couldn't make sense of them. At the moment not a huge fan of cyanogenmod recovery but perhaps its something else... I thought I could perhaps put twrp on and install gapps that way but I am unsure of that and am afraid its going to involve odin or something like (which I haven't touched in a long time).

Thoughts on how to resolve this would really be appreciated!!
[Galaxy S II Original Android Development] good8life:
GAPPS from open gapps 25.12 Pico http://opengapps.org/
[Galaxy S II Original Android Development] the.gangster:
If you use the TWRP that you can download in OP you don't need Odin. As it's signed,you can flash it even in CM-recovery.
[Galaxy S II Original Android Development] gaikokujinkyofusho:
Thanks, I guess I should have been a bit more specific but I am actually using opengapps and the pico version but cyanogen recovery doesn't seem to want to flash it? perhaps I am not going about the flashing process right as I am not familiar with cyanogenmod rec. I tried just putting it in in the storage/sdcard0/ and flashing it with its default name, nada. Then tried renaming it to update.zip, nada. then renaming it to gapps.zip, nada. The renaming stuff was new to me (in cwm i normally just selected what I wanted to flash) but I saw it in another post so I tried it. I also tried this in /storage/sdcard1, nada.

---------- Post added at 05:10 AM ---------- Previous post was at 04:58 AM ----------

Thanks good8life. I did download the TWRP package that the OP posted off the front page but trying to flash that from CM-rec has been about as sucessful as my gapps flashing. I am hoping I am just doing something wrong in the flashing process, for flashing twrp i tried everything that I tried for gapps minus renaming it "gapps.zip" (willing to try that too though! :D)
[Galaxy S II Original Android Development] daniu:
Hi

In TWRP you also don't need to rename anything and it does not matter where the file is. If you do not have a download problem (did you check the checksum?) you have some bigger problem (with an old phone like the s2 hardware defects should never surprise). Did you flash the right versions: s2 - i9100 not s2 plus or something?

I suggest dirty or clean flashing of cm (complete ROM) once more. Can't see any mistake on your side besides that you tried some weird things :)

BTW: no need to fear odin - unless your usb port is broken ...

Regards
[Galaxy S II Original Android Development] good8life:
3 days without freeze. Galaxy sleep excellent !
[Galaxy S II Original Android Development] cherryb8844:
and its my up time
[Galaxy S II Original Android Development] good8life:
Game with system

Change with PIT system & date , delete system apps with remove - script : just big game with your phone - every time you have freeze.

Regard.
[Galaxy S II Original Android Development] Andrea900:
Update about the "freeze case": I've reached my personal best of 125h+ uptime, with freezefix kernel and 200/800 mhz - ondemand governor!

My Galaxy is just PERFECT, the rom much more polished, snappier and updated than the stock one!

Thanks a lot guys and a happy new year to our community! :victory:
[Galaxy S II Original Android Development] kudos1uk:
LOL, same here.
[Galaxy S II Original Android Development] good8life:
I try PIT phone was very hot, l take remove script any time - galaxy freeze any time. Now no PIT, no script - galaxy working 3 days prefect. Night 30.12, open gapps 25.12.

Regard.
[Galaxy S II Original Android Development] gregor99:
I did all the negatives you mentioned and I'm fine with 3+ days without freeze (running pure snapshot cm12.1). Respect to all involved developers. SGS2 is an amazing device. Looking forward for the next snapshot and cm13 in the future.
[Galaxy S II Original Android Development] daniu:
Hi

At least I still don't really know what you want to tell us. At the moment however it sounds like you do not have a problem. Good!

Regards
[Galaxy S II Original Android Development] souler456:
Let me try to decrypt them for you...

I think what he says here that if you change your PIT size, change your system & date time (??), and delete system apps with some remove script, it'll be a pain since it'll cause freeze... I think...

I think what he says here now that he tried changing his PIT and used the remove script, and he got freezes. Now, he don't use them anymore any leave them stock, and all runs well, 3 days, to be exact. Using latest nightly, and some gapps. And now he gave us regards.

:D :) ;) :good:
[Galaxy S II Original Android Development] the.gangster:
If you also consider his first reply http://xdaforums.com/showthread.php?p=64589744here, I guess you almost got it right.

Except that you also have to translate 'date' into 'data' in all of his posts. So it's not date time, but the data partition, he was referring to.

Anyway, uptime isn't really relevant. I had no freeze for more than a month most of the time on stock TWRPied kernel.

But today it hit me again. I almost couldn't believe it.
[Galaxy S II Original Android Development] flashxml:
Hy please provide link freezefix kernel and what setting are you doing for this device for 125 hours up time
[Galaxy S II Original Android Development] daniu:
Don't be lazy: freezefix kernel is somewhere in this thread. The settings will most likely be hard to tell - I guess it could be anything: installed gapps, removed system apps, installed user apps, which apps are actually used how long, cpu governor, etc.

Regards
[Galaxy S II Original Android Development] BenjyTec:
[MENTION=4295446]flashxml[/MENTION]

Search for the words "more than just a stab in the dark" posted by [MENTION=5948587]zeitferne[/MENTION] ☺
[Galaxy S II Original Android Development] good8life:
What today - freeze? With original setting phone?
[Galaxy S II Original Android Development] the.gangster:
Yes. First freeze since many weeks. And yes, with original settings
[Galaxy S II Original Android Development] good8life:
This is progress man! You month install nightly - phone have more garbage , from date, external memory folder " android" , delete apps, install apps?!

Now, if you install Skype from Google play after video call - right now take freeze, because now more apps it's not good!

Make same time full wipe - everything will be ok.

Regard.

About, who not understand so need go to original setting phone ( system&date)

forget about it ( Italia mafia forever) :)
[Galaxy S II Original Android Development] good8life:
who don't want to freeze every day ?!

I send rar file - from rar more good PIT , but better PIT - stock system & date !

Regard. Frozen people.

My Galaxy working with stock system and date long time!
[Galaxy S II Original Android Development] the.gangster:
[MENTION=6619837]good8life[/MENTION]

honestly: Do you understand your own posts?

My intergalactic universal translator failes only on yours. You could at least *try* to do it better. Instead you even continue to write 'date' if you mean 'data'. This doesn't help anyone. Also using or recommending stock sizes for /System and/or /Data doesn't really make sense and is (to our current state of knowledge) not related to the freezes.

Just my 2cents...
[Galaxy S II Original Android Development] rogers11:
I'm sure he is laughing at each answer he gets.
[Galaxy S II Original Android Development] kal4metal:
After so much spamming from these alien language posts, here are my 2 cents.. :p

I reverted back to kitkat because of the freezes since september and came back after I saw zeitferne's freezefix. The rom is as stable as it gets. Snappier than ever and no freezes whatsoever for more than a week. I am using ondemand/deadline. IMHO that's the final fix that could give our beloved SII a worthy snapshot. I mean, who really cares about the old and buggy pegasusq? Really. Do you guys prefer a completely non usable/frustration inducing rom, but with one more governor? Please merge zeitferne's patch so we can get an fpbug fixed kernel with trim support from Lanchon. The rom is perfect! Thank you LA and Zeitferne!
[Galaxy S II Original Android Development] ajislav:
+1

Couldn't say it better
[Galaxy S II Original Android Development] flashxml:
@ good8life

Intergalactic speak please.

We are located on planet earth :)
[Galaxy S II Original Android Development] good8life:
Oops ! Thanks. Ok data.

Why? From my phone original setting system & data give normal work.

Because I read post from one man - he speak about the same - I'm say now.

Yes, man , maybe I install nightly 30.12 & gapps differently : recovery ->zip -> reboot. And, I'm lucky! Don't have freeze zzz

Regards
[Galaxy S II Original Android Development] Andrea900:
Now, there is the last bug, after the random freezes and the strange mtp connection timeouts...

Torch timeout!

One defect into a sea of perfection...

P.S.: what about camera api 2 support?
[Galaxy S II Original Android Development] j1gga84:
No more freezes and reboots but when phone is unused and in deep sleep for a long time I cannot put it back on sometimes and have to reboot by pressing home button for 5 seconds..

Regards

Sent from my SM-G900F using german Tapatalk 4
[Galaxy S II Original Android Development] wdevil12:
those timeouts are known bugs. should be AOSP bugs not just CM. And camera api 2??? implemented or not, it doesnt change a thing, as our camera is dead old.
[Galaxy S II Original Android Development] rogers11:
Is http://xdaforums.com/showpost.php?p=64485117&postcount=718 related somehow?
[Galaxy S II Original Android Development] Andrea900:
Torch timeouts right? Or mtp? Because now I'm experiencing no problems when I plug my device to a Windows / Linux PC.

About the Camera Api 2 support... Our camera is not as dead old as you think. Samsung Galaxy Grand Prime came out in 2015 with a street price of 200€ ca. and a 8mpx camera. I can take photos with my S2 that can reach, even surpass, the Grand in quality (even the flash is brighter).

I believe that we can squeeze a bit more juice from this camera, just taking photos in raw format (and then editing these, of course)
[Galaxy S II Original Android Development] flashxml:
I found a solution,you know what solution I chose ?

Search on Google : solution

:)

http://xdaforums.com/galaxy-s2/orig-development/rom-cyanogenmod-12-1-nightly-builds-t3147661/post64426642#post64426642
[Galaxy S II Original Android Development] Andrea900:
Sadly, no... Marshmallow uses a Flashlight API to control the torch function. Lollipop simply "hacks" the Camera one.

In my opinion, that fix is useless in our case.
[Galaxy S II Original Android Development] Ferretx:
For me the battery life seems a lot of better in the official nightly
[Galaxy S II Original Android Development] LifeSpecial:
What theme name ?
[Galaxy S II Original Android Development] Athawulf:
https://play.google.com/store/apps/details?id=com.dtaf.alonso.twzs6&hl=it

https://play.google.com/store/apps/details?id=com.s.launcher&hl=it
[Galaxy S II Original Android Development] ATM@BIN:
I am not sure about this process....I just followed that and it ended up in boot screen hanging....finally i had to flash the unofficial build again to make my mobile work.... So if anyone knows exactly what to do to update from final unofficial build[06/17] to the latest official build please let us know....
[Galaxy S II Original Android Development] carlosfl8:
Why don't u just start from scratch? Clean flash? I normally, do a factory reset, wipe cache partition, wipe dalvik cache, then format system, format data, format cache, even sometimes I format sdcard0 aka internal memory, then I followed with flashing the rom itself then finally gapps and bam done and dusted
[Galaxy S II Original Android Development] ATM@BIN:
I actually tried that...But the CM recovery was showing some type of errors while flashing the rom as well as the pico GApps...Thats why i was waiting for someone to post the steps what they did to update to the official builds...
[Galaxy S II Original Android Development] wdevil12:
the less you use the custom kernel, the more you get support from @LA himself. I would better advice you to flash custom kernel to get cwm/twrp before flashing next official nightly. After you have flashed the rom, Dont reboot! Just flash other mods (e.g. gapps, supersu..) while you are still in cwm/twrp.
[Galaxy S II Original Android Development] carlosfl8:
CM Recovery? U mean Cyanogen Recovery, right?
[Galaxy S II Original Android Development] Lysergic Acid:
Because we need to follow stock phone layout, I can't really force everyone to flash pit files.

I've made a similar script commit yesterday here: http://review.cyanogenmod.org/#/c/102514/ maybe you got these commands from there, anyway I was working on it for 2 days, and it really works on all the situations. Hopefully the next nightly will support custom pits by default.
[Galaxy S II Original Android Development] ATM@BIN:
Yes i was referring to Cyanogen Recovery itself...
[Galaxy S II Original Android Development] carlosfl8:
Go there and download PhilzKernel, thank Kostelo I think

http://xdaforums.com/showthread.php?p=61647924

After flashing the kernel, u need to reboot in recovery again, then flash a CWM KitKat Recovery, reboot in recovery again, then yes finally u can flash these official builds with no problem, doing the steps by steps I told u before... But again, CM Recovery will be back after, but at least u got a way out now... Lol
[Galaxy S II Original Android Development] AZZABAK:
Wohoo official nightly, @ Lysergic Acid you're the best man!!!
[Galaxy S II Original Android Development] JoshinPl:
Trust me that you can [emoji14] a lot of people have repartitioned the phone and I think that create those partition can be done via recovery, because it is not the system partition
[Galaxy S II Original Android Development] Lysergic Acid:
No, you should know there's a lot of people who installed via CM installer, or installed CM because it's known to be a "firmware upgrade", without mentioning users who doesn't know about this thread at all.
[Galaxy S II Original Android Development] Lysergic Acid:
Btw, next nightly will support custom pits. You can get back to your 1gb /system :o
[Galaxy S II Original Android Development] ringen00:
Happy to hear this! [emoji4]

Would need a tut on this btw. ...
[Galaxy S II Original Android Development] Saber:
Nice, I'll update my re-partition guide to tell people to update when next release comes out :)
[Galaxy S II Original Android Development] Sonar Killa:
Hello.

I have received the update notification for the nigtlies on my phone, and i tried to install it using that same notification(7/2/2015) in settings(about phone, etc...).

But like many others, i had a lot of errors about gapps not working, etc.

And immediately returned to 6/17 build from the original discussion, but today i noticed this official nightly thread, and i would like to know if the same problems are present if i install the latest nightly via CWM recovery using the links in this thread?

Thank you in advance
[Galaxy S II Original Android Development] ATM@BIN:
Thank you very much for the response....i will do these steps and let you all know whats the outcome....
[Galaxy S II Original Android Development] wdevil12:
WIFI BUG is still there.

[MENTION=6159291]Lysergic Acid[/MENTION]

Bro firstly, thanks for your incredible work. Im on latest build (5/7/15) and checked if the old bug existed. Yes its still there. You can easily reproduce this bug ( its the same bug that causes reboot and ShareIt not working properly, I have just realized how to reproduce it).

1) First turn on WiFi hotspot and turn it off.

2) Turn on Wifi itself and you will see it saying "turning wifi on" and no longer responses to the switch button.

If it turnes on with no problem, just do the same procedure again.

I'm also trying to reproduce other bugs and collecting logs if needed, will provide as soon as I do.

BTW, Official builds rock!!!!
[Galaxy S II Original Android Development] Naudiz:
As far as I know, there is still a bug in the kernel which prevents the CPU to go below 500 MHz after the camera has been used to record a video.

Since we have that many Kernel-Experts in this thread: Did anyone ever investigate this further?

It can be pretty annoying when you need the camera regularly.
[Galaxy S II Original Android Development] LeBourrin:
Since i'm with Lollipop I use the Nexus Torch app : com.farproc.nexustorch. She hasn't timeout.

For camera api 2 I think it's a driver problem. So we won't get it.
[Galaxy S II Original Android Development] bixi:
To do the point of the situation...for this rom the best kernel is the zeitime's kernel? With which configuration?
[Galaxy S II Original Android Development] fireburner-de:
Hi, I am new here at XDA, but I was following this Thread for a while. I

am also regularly on a German android board (andoid-hilfe.de).

I am running the nightly from 22th Dec. with zeitfernes freezefix.

I got 50+ hours before I ran out of battery. No I reached 250h today. I

had freeze like behavior for a few times, but always it stabilized again

after about a minute. Today it went slow and unresponsive again, but

eventually soft rebooted automatically (I think this is included in

freezefix?!?).

I tried to get dmesg or /proc/kmsg via adb, but unfortunately it had

been reset through reboot.

Maybe someone can tell me how to preserve logs through reboot, so I can

post logs if I will encounter any of this behavior again.

Well finally, many thanks to this community and the devs, especially LA.

You’re a hero!
[Galaxy S II Original Android Development] Lanchon:
google fpbug

---------- Post added at 10:56 PM ---------- Previous post was at 10:40 PM ----------

HIDDEN (/preload) is a big useless partition and many people shrank it to almost nothing on PIT changes. this means that /preload is a bad place to place the recovery because it wouldnt work on many phones, and making it work would require repartitioning again.

the S2 has a RECOVERY partition, which i think is the same size as the kernel partition and i think it goes completely unused. it probably was going to be, you know, a proper recovery partition but then i dont know what went though samsung engineers working on the bootloader and we are stuck with this crap.

nobody that i know of ever changed the recovery partition size and it looks like a safe place for your purposes.

a totally different alternative would be a flashable zip that unpacks the current kernel and changes the recovery and reflashes it. or even a TWRP version that unpacks the kernel on reboot and asks to replace the recovery using the same method if it is not a copy of itself (similar to root checking).

---------- Post added at 11:16 PM ---------- Previous post was at 10:56 PM ----------

[MENTION=6159291]Lysergic Acid[/MENTION], regarding TRIM-enabling your TWRP kernel:

you dont need to read anything, i've already checked that your kernel (official CM) contain all the patches necessary to make them safe and you just need to apply this completely trivial patch:

https://github.com/Lanchon/BrickbugAftermath-SGS2/blob/cm-12.1/patches/kernel_samsung_smdk4412.patch

so if you want to support TRIM, you dont have any excuses left :-p
[Galaxy S II Original Android Development] the.gangster:
We had this discussion already. But I never seen any pit with preload smaller than 8MB. And even if there are phones out there with smaller ones, it won't be many.

Anyway, as it now got your attention you could maybe have a look at his solution? As I tested it without success back then, but someone like you would surely find the error. Once it runs it could still be modified. But as preload gets mounted by default I assume it be easier to prepare for the most people.

---------- Post added at 03:55 AM ---------- Previous post was at 03:27 AM ----------

@fireburner-de

How about last_kmsg?