yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] wolfanger:
I didn't know GPS issues could be related to modem. I'll try changing it. Now i am using i9100NELS1. Thx for advice!
[Galaxy S II Original Android Development] Weib67:
Well, to be honest, I'm not entirely sure either. But there has been some feedbacks that reported some improvements (maybe due to better data management, who knows).

http://xdaforums.com/galaxy-s2/general/modem-quickest-gps-t1265897

Anyway, it's either that, or you'll maybe have to do a super clean install, starting from original rom from your provider if possible, and reflash CM 12.1 all over again.

Seems a long process, but this has in many cases fixed a lot a weird issues. Good luck ! :)
[Galaxy S II Original Android Development] king_ahmed:
ok man ... try to open facebook + facebook messenger + uc browser or any other browser and see what happen the phone will freeze and you will force it to reboot but with Zram i don't have this froze and my phone can handle all this programs ... and i don't feel any difference in performances :good:
[Galaxy S II Original Android Development] rINanDO:
I build the latest nightly myself with zRAM enabled. Unfortunately my phone freezed while I was typing a message in Whatsapp and receiving a message simultanuously. I had about 250mb free memory (according CoolTool) 10% CPU usage at the moment of freeze. Using stock kernel. Look like it is not CPU load related nor RAM related.
[Galaxy S II Original Android Development] Weib67:
Sorry, I don't use facebook on my phone... I want it bloatware free. :D

More seriously, Zram can be good if you do heavy multitasking. But still, I don't think zram is enable by default on newer phones (and some of them are not more powerful than S2), and they run very well on LP.

Anyway, I can't have freezes on demand, regarless of how many heavy apps/games I launch at the same time. Maybe your logs would be useful to LA.:)

Thanks again so much rlNanDO for experimenting. :)

Well, I agree that the whole thing seems totally random. Altough it happens more often when I heavily use the phone, the freeze itself can happen whenever it feels to. :silly:
[Galaxy S II Original Android Development] king_ahmed:
i don't know but with me i don't have any freeze ....... and if i remember LA was said that freeze because RAM related. :rolleyes:

ya Zram very good with multitasking ..... i can't take logs because i have another rom :D
[Galaxy S II Original Android Development] ajislav:
In my case the reboots happened when I turned on sync in the morning after a night of 'no sync'.

So it is compatible with both plausible explanations: a) sudden load b) background sync
[Galaxy S II Original Android Development] Teknonic:
The wake-up time for calls did seem to be faster in an earlier build: 23-8-15 from memory.

---------- Post added at 10:57 PM ---------- Previous post was at 10:41 PM ----------

Could the problem be with RAM management? I'm thinking that it might be clearing up the wrong stuff when it needs more RAM.

This may also be linked to the torch/flashlight turning off not long after you turn off the screen. I've noticed that when you turn the screen back on it always thinks that the flashlight is still on. It could be dumping the app out of the memory in a bid to be memory efficient...
[Galaxy S II Original Android Development] rINanDO:
I also don't have much freezes. Maybe once a week. The freezes of whatsapp today only occurs to me once and i can't reproduce the freeze.....

I'm confuzed ;) ;)
[Galaxy S II Original Android Development] king_ahmed:
i have this freezes because i use my phone with heavy apps and heavy multitasking
[Galaxy S II Original Android Development] hecko:
iam not able to do a factoryreset

and i cant flash cwm can anyone help

iam on nightly20150827 with actual cyanogen recovery
[Galaxy S II Original Android Development] dave202:
Finally had my first reboot with Battery Saver enabled after 2 and a bit days, which is about the same as when I was still on CM 11 M12 :/ It happened in the few minutes after using the camera and pressing the power button to put the phone to sleep.

---------- Post added at 10:10 PM ---------- Previous post was at 10:06 PM ----------

Wow! I hadn't noticed before but I see exactly the same with the torch here. If I leave it on for any length of time 30s-1m then it randomly turns itself off, and when I press the home button, the notifications indicate that the OS thinks the torch is still on. Weird.
[Galaxy S II Original Android Development] Lysergic Acid:
I just downloaded a "GPS tester" and I had no problems to get signal of 9 satellites. I don't support mods by the way, the GPS must get signal with stock settings. Send me a log of the problem if possible.
[Galaxy S II Original Android Development] kudos1uk:
Just flash the TWRP kernel in OP.
[Galaxy S II Original Android Development] slish76:
can't install gapps

Hi, I just upgraded to CM12.1 from a CM11 Official ROM just using the OTA updater.

I noticed that it installed on the device the Cyanogen Recovery (i had CWM before) and now if i try to install Gapps (Pico version) i can't for the error "setting some_perm: failed" or something similar.

The forum search tool doesn't help me to find a solution so: someone had same problem as mine and managed to solve it?

Thank you!

---------- Post added at 11:37 AM ---------- Previous post was at 11:25 AM ----------

Forget this please, lol.

I updated to latest nightly and i installed with success gapps.

Now the problem is that Play Store crashes
[Galaxy S II Original Android Development] jnetode:
I also think there is some RAM management problem and it can be related to the freezes.

Sometimes, when I press back button several times, all apps close and then one app that should be long closed appears as if it were open.

I went back to CM11 for some time, because the freezes were getting me crazy, but then CM11 got me crazy :silly: and I came back.

I had forgotten about that. Yesterday I had this again and remembered the old times from CM12 weird behaviours.

It is still soooo much better than CM11!! :good:
[Galaxy S II Original Android Development] hecko:
iam also unable to flash the TWRP kernel

E: footer is wrong

E: signature verification failed

Installation aborted
[Galaxy S II Original Android Development] AloneOnTheDark:
Download the kernel again. I think you have a corrupted file.
[Galaxy S II Original Android Development] manyak33:
xposed

Xposed no working :( ?
[Galaxy S II Original Android Development] Tekkla:
After first flash started by CyanDelta TWRP has been replaced by CM Recovery. Option to replace recovery on update is turned off in dev option. What am I doing wrong?
[Galaxy S II Original Android Development] LeBourrin:
With our i9100 this option doesn't work because the recovery is fusionned with the kernel. So the recovery is always flashed.
[Galaxy S II Original Android Development] chrisXL:
Cyandelta allow you to flash other zip files after rom (gapps, modem, gps.conf and twrp recovery also). See in cyandelta settings.
[Galaxy S II Original Android Development] rommy667:
[MENTION=6910013]manyak33[/MENTION] xposed works great on this rom.
[Galaxy S II Original Android Development] Tekkla:
Knew about this feature but forgot it. Thanks you for reminding me. :)
[Galaxy S II Original Android Development] T3RRY-SAMA:
CM12.1 Android 5.1.1 - LINK2SD extsd2

Hi, I need help for mount a second partition with Lnk2SD. When I try it, only get "mount: invalidargument".

Also I get error when trying install the add-on for play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market
[Galaxy S II Original Android Development] minghi1:
Wake up the screen. Swipe the dialer and scroll in recent call. Freeze !! No heavy application open in background. It seem random situation. Perhaps conflicts in allocating of the ram? Certain that a log would help find the cause. It's a major iussue in this ROM.
[Galaxy S II Original Android Development] manyak33:
How loading? Can you help pls ?
[Galaxy S II Original Android Development] LeBourrin:
Video playing bug

[MENTION=6159291]Lysergic Acid[/MENTION]

I recorded a 20 minutes video with stock camera app. I watch it with the gallery app and sometimes I got an error when I seek it while playing it (with the seek bar). Phone tell's me "Unable to read the video" and stop playing.

I've picked logcat and I found somes Errors :

- 08-28 22:18:39.095 13870 14733 E OMXNodeInstance: getExtensionIndex(37:SEC.AVC.Decoder, OMX.google.android.index.storeMetaDataInBuffers) ERROR: BadParameter(0x80001005)

- MediaPlayer: Attempt to seek to past end of file: request = 789213, durationMs = 0

It's random because sometime I've got no problem and if I play again the video and move the seek cursor to 3/4 of video's lenght and got "Unable to read the video"

I'm on 2015 08 21 build with stock kernel.
[Galaxy S II Original Android Development] rommy667:
[MENTION=6910013]manyak33[/MENTION] i followed this guide to the letter and all went 100% ok http://highonandroid.com/android-ap...ed-installer-on-android-lollipop-5-05-15-1-1/
[Galaxy S II Original Android Development] 水島芝:
Anyone using Gustavo kernel?

Did the synapse and stweak work on CM12.1?

I've flash Gustavo but the synapse and stweak aren't work
[Galaxy S II Original Android Development] iamnotkurtcobain:
Network battery drain fix incoming?

http://review.cyanogenmod.org/#/c/107828/
[Galaxy S II Original Android Development] 水島芝:
Is it patch to reboot battery drain bugs?
[Galaxy S II Original Android Development] rogers11:
Seems that it just fixes the battery statistics but not the drain.
[Galaxy S II Original Android Development] Dark1Angel:
Recovery

Hi! I flashed a nightly official and the recovery also updated into a touch cyanogen recovery. With this new one I can't find the:wipe dalvik cash option, format sdcard0 and all the formats. it's just "wipe data/factory reset" button. How do I reverse to my previous CWM recovery to have these options again.

Second problem: I just entered a bootloop and without the "wipe dalvik cash" button how can i get out of it?
[Galaxy S II Original Android Development] anonimowywybryk:
Use Dorinmanx kernel -> http://xdaforums.com/galaxy-s2/development-derivatives/kernel-dorimanx-lp-5-x-x-t3145879

and stweak app, it's work :)
[Galaxy S II Original Android Development] 水島芝:
I'm using Gustavo, is it necessary to wipe system before flashing DorimanX?

Or I must use kernel wipe that provided in the Gustavo kernel forum?
[Galaxy S II Original Android Development] BenjyTec:
Yes, the inbuilt cyanogen recovery isn't very useful at the moment, so you have to flash a signed recovery through cyanogen recovery to get wipe options working. There are two signed compatible recoveries, but at the time, only the TWRP recovery is working. You can download it here:

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

Just take out the battery, reboot to CM recovery, flash TWRP, wipe what you want/is needed and reflash ROM.
[Galaxy S II Original Android Development] tokenize:
Whenever I use the 9GAG app, eventually the phone always freezes and 9GAG app crashes. Upon inspection of the log, it's always an OutOfMemoryException. I think zRam would solve most of these problems.

Regards
[Galaxy S II Original Android Development] x3dnd3x:
The latest build, has in built task killer? :confused:

My Advance Task Killer is always showing empty.
[Galaxy S II Original Android Development] Weib67:
Zram build has already been tested by rlNanDO. Maybe it can help in this case, but it didn't do much for freezes.

Anyway, I sent a couple of logs to LA, both here and PM, about this 9gag problem, freezes, and reboots, and still no answer at all.

Don't even know if he has taken a look at them. But what can I say, huh...
[Galaxy S II Original Android Development] mirhl:
I noticed a couple of things with MTP.

If I reboot with the phone already connected to computer.. I have to disconnect and reconnect it before I can see it.

Then, when I copy files from PC to phone, timestamps are all modified.
[Galaxy S II Original Android Development] rINanDO:
I think these are different freeze problems and maybe for this situation zRAM will help because out of memory which is causing this problem. My last freeze/permanent phone slowdown in whatsApp using zram (receive message while typing a message) is not related to out of memory or CPU load according CoolTool.
[Galaxy S II Original Android Development] minghi1:
It could be a problem of conflict in same area of RAM by applications or read / write error in I/O data trasmission. Take more log of events to investigate.

Note: for me after a freeze dei UI restart from black screen and sometimes appear a message box with the application that is crashed.

Thanks for the support
[Galaxy S II Original Android Development] LeBourrin:
I've got the empty list too. Lollipop changed the way he manage apps so Task Killers have to be modified.

I browse the Android Market to find a 5.1 compatible app and I finaly found https://play.google.com/store/apps/details?id=com.rhythm.hexise.task. I actualy use it and it's working.
[Galaxy S II Original Android Development] the.gangster:
As I am really listening a lot to FM radio in the recent past, I did not care about my MP3s that reside on my extSdCard for quite a while now.

I would even assume, I was still on CM11 when I did.

But today I wanted to listen to some music again when I realized that none of my music from extsdcard has been inventoried. So the music apps don't offer me to play them. Only one album that is still on internal SD is advertised.

So I also looked on my pictures, that I recently moved to the sdcard1. They also don't show up in the gallery and I am pretty sure they should, shouldn't they?

Everything seems to work though, so all apps can access the external SD so far.

What am I missing?
[Galaxy S II Original Android Development] Klaus N.:
I'd give sd-fix (https://play.google.com/store/apps/details?id=nextapp.sdfix) a try.
[Galaxy S II Original Android Development] BenjyTec:
Hey guys, please excuse this question if it's stupid: Is it possible to simply take boot.img out of the ROM's zip, convert it into .tar and flash it via Odin, for example for repartition? Have I got a working stock kernel then? And is recovery included in boot.img? Thanks in advance
[Galaxy S II Original Android Development] Kozmyk:
Had a headache after using Gustavo's kernel to to the partition expansion. (lp-kernel-14-03-CWM-for ODIN.tar)(PIT file - I91001GB_4GB.pit)

The CM12.1 ROM overwrote it as expected and worked fine.

GREAT!!! Lollipop on an S2 without Pico Gapps.

I use Micro and add my own from there (old habit from Paranoid Android days)

BUT when I reflashed Gustavo's kernel to get CWM recovery, Lollipop got stuck after Optimising Apps, basically didn't finish booting.

Followed the OP- Important Informations to the TWRP link, flashed THAT recovery instead and all is working fine.

Just posting this in case anyone else finds themselves stuck trying to get the Gustavo's CWM to work under 12.1 Nightly.
[Galaxy S II Original Android Development] ajislav:
Not sure about the TAR part, maybe just renaming is enough*

Yes.

Yes.

*I think there is a thread somewhere on XDA which describes this.

But why flash stock kernel, with CM recovery? Why not something else, e.g. the kernel with TWRP (see 1st and 2nd posts).
[Galaxy S II Original Android Development] sirdeiu:
1. You have to rename boot.img to zImage and add that to a tar archive to flash it with Odin.

2. Flash this for recovery: https://www.androidfilehost.com/?fid=24052804347800758 , to be able to format system partition.

3. To repartition use a pit file (with modified/increased system partition size, but no modification to preload partition) from here: http://xdaforums.com/showpost.php?p=50750761&postcount=509. I used the 1GB_6GB.pit file with Odin, and the above recovery, after flashing those with Odin, boot to recovery, use the Wipe menu to format system (ext4) partition, there you can see it's size is 1GB if the Odin flash part was OK. Then format the emmc/internal storage, go to Mount and the phone should appear as GT-I1900 mtp device in Windows. Copy rom+gapps packages, go to Install menu, choose rom zip, choose gapps zip, install, wipe dalvik/cache, reboot, wait - it takes a while to start.
[Galaxy S II Original Android Development] BenjyTec:
Thanks for your responses, I just want to have a working kernel for repartition, just in case if a problem appears with custom kernels (look at Philz recovery - ends up at bootloop). But as long as TWRP is working properly, I'll definitely use TWRP.
[Galaxy S II Original Android Development] Kozmyk:
I went to this thread

http://xdaforums.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381

for Zip to Tar conversion and then found the ready made ones on offer there were just what I was after.
[Galaxy S II Original Android Development] DAusRon:
hi mate. i'm new here.

currently, i have cm12.1 unofficial build 17.6.2015 flashed in my s2. I want to increase the system partition. so, do i have to tick 're-partition' checkbox in odin??

thanks in advance.
[Galaxy S II Original Android Development] makix13:
Hi man,

We are in unofficial version so it's better to post this kind of question in it's thread:

http://xdaforums.com/showthread.php?t=2955551

In the other hand, yes you must tick repartition, any other help please report in the right thread [emoji6]

S2 LA Cyanogenmod 5.1.1 [unofficial] [06/17] - Xposed [unofficial romracer's framework] - [rovo's beta 4 apk] - Viper4Android
[Galaxy S II Original Android Development] Danielmariuss:
Notifications CM12.1 - Lollipop

Hello, what to do , to be displayed in android notifications as lollipop ? Nightly cm 12.1-20150829 - use .
[Galaxy S II Original Android Development] daniu:
please elaborate - like this not can understand I you :D
[Galaxy S II Original Android Development] wolfanger:
Last Nightly has : "Add support for Samsung extended AGPS". I'm flashing right now. Maybe it'll fix gps issues for many users.
[Galaxy S II Original Android Development] sirdeiu:
Yes, you have to have repartition checked in Odin to do that. Also you need a pit file with increased system partition size. See here http://xdaforums.com/showpost.php?p=57100311&postcount=2 for details regarding partitioning and pit files. Do not use a pit file that modifies the preload partition size.
[Galaxy S II Original Android Development] maximeeder:
cm 11 to 12.1

Hi;

i'm still using CM 11 snapshot M12 and Clockworkmod Recovery. if i 'll would like to update to CM 12.1 (install zip from SD and GAPP flash ,...) then it's required to repartition or not?

i'm a beginner and don't know to how do this!

may i have it without repartition? how does it work?
[Galaxy S II Original Android Development] Lanchon:
yes it is possible, but u dont need to flash a kernel to repartition, you can just repartition by itself. i know for a fact you can with heimdall.

recovery is included in boot.img
[Galaxy S II Original Android Development] daniu:
Why not?

Just make sure you format the preload partition afterwards ... (not many recoveries can do that - philz can)

No problem then and saves almost 500MB

Regards
[Galaxy S II Original Android Development] BenjyTec:
Yes, I'm quite sure it isn't necessary to do repartition, you only have to flash Pico Gapps (link in OP) to fit in the /system partition. Most user only do repartition to have more free storage for Apps.
[Galaxy S II Original Android Development] aleMarvel:
crash crash always crash.. i have 2/3 reboot for day.. with whatsapp, dophin, facebook..

happen only for me ?
[Galaxy S II Original Android Development] maximeeder:
Thank you. Exactly, more free space is awesome.

How is repartition? Is it difficult? Any reference or help that guide me to do it step by step there?
[Galaxy S II Original Android Development] iistoryahi:
What about the patch for Radio Mobile Bug ?? :)
[Galaxy S II Original Android Development] Malhavoc Blackdrake:
I've been using this ROM for weeks, and everything is really good and pretty stable, except for an issue with GPS: using google maps, my position is updated only once every good amount of seconds, making actual real time navigation impossible.. anyone else with such issue?
[Galaxy S II Original Android Development] mirhl:
I just wasted a day to do a guide.

Repartitioning can also be done with a recovery.

TWRP (as included in the alternative kernel download in the OP) is fine.

You can either use one of the zip provided by the original fix creator, or use my personal favorite one:

768MB system

6GB data

8806MB internal storage

8MB preload

Of course remember to backup everything somewhere else.

p.s: also, it would be cool if somebody cool look at those bugs with MTP timestamps and at boot
[Galaxy S II Original Android Development] LeBourrin:
I've got GPS issues too. Probably the same you have.

I've quick fix (in about 10-15 seconds) but after that phone periodicly lost satelites (down to 0 satelites for 1 second) and restart the search. Resulting real time navigation very erratic, like you.

I saw satelites lost with "GPS Data" app

Edit: I've forgot to tell you that I've got this GPS bug with CM11. CM12.1 just changed nothing.
[Galaxy S II Original Android Development] LeBourrin:
After flashing build 2015-08-21 I refrained me from update/reboot my phone in order to see how long it can keep alive without crash.

I have successfully made it work for eight days. Today I was browsing the web with Chrome and I've got a reboot :(

Anticipating that, I've installed "Bootlog uptime" app which capture crash log, so I post it here for you [MENTION=6159291]Lysergic Acid[/MENTION]. Hope it will help. I found that line:
[Galaxy S II Original Android Development] hebermc:
"(Optional)Flash Google Apps.zip from sdcard"

I get some error about incompatible install, check FAQ #7... Its the first time I install the nightly version so I decided to do factory reset on phone (its my secondary phone). The other version+gapps worked fine, any ideas?

I already did the whole pit file thing previously, gapps I tried was tk_gapps-modular-mini-5.1.1-20150830-signed
[Galaxy S II Original Android Development] Syaani:
Good news guys. For all ROMs and devices. http://www.cyanogenmod.org/blog/releases-releases-releases-august-2015
[Galaxy S II Original Android Development] the.gangster:
[MENTION=4312010]hebermc[/MENTION]

If you got got instructed that precisely, why are you not simply following that advice?

The factory reset is almost the opposite of that.

So simply format /system and flash ROM and GApps again.

It seems you had installed a non-TK-GApps-package before.
[Galaxy S II Original Android Development] Weib67:
Merci LeBourrin for investigating. ;)

l’m conviced that most users would experince at least a freeze or a reboot within more or less one week of uptime.

Hope as well that LA will eventually have time to dig into ours logs.
[Galaxy S II Original Android Development] Dr AM:
Looks like no snapshot for our device [emoji14]
[Galaxy S II Original Android Development] Syaani:
No hurry

"This is a substantial amount of releases, so bear with the build-bots as they go through the list. Should there be any hiccups in the process, we’ll resolve them tomorrow; for now, we’re going to go grab a beer or three."
[Galaxy S II Original Android Development] rockingjassie:
I haven't done pit process... Will it cause any problem??
[Galaxy S II Original Android Development] BenjyTec:
No, the ROM is made to fit into standard partitions. But I recommend to wipe /system before flashing ROM to make sure there is enough space there. Beside that, you should use Pico Gapps to fit into the /system partition. Hope this helps.
[Galaxy S II Original Android Development] rockingjassie:
Check inbox... And thanks
[Galaxy S II Original Android Development] hebermc:
The new cyanogenmod recovery does not have a format system option and apparently "factory reset" does not work, from what I read I will need to downgrade to a previous version of CM and then do the format system/factory reset.