yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Lanchon:
no its not wasted. trim it once and it will be an excellent source of overprovisioning. given that you mostly cant write there, your phone will behave sort of ok even if you later stop using a trim-enabled kernel for ever. it doesnt matter where trimmed space comes from, it all counts. of course you can only trim free space, and it remains trimmed till you write to that particular area of the emmc.

the problem here is that people want to max out their internal sdcards, which is exactly the area that doesnt need the I/O speed afforded by internal flash, that can easily be extended by popping in an actual sd, and to top it all its free space cant be trimmed on account of the filesystem being FAT. so growing sdcard is the best way to make your phone slow and power hungry, and to fry your internal emmc at an astonishing rate due to high write amplification that results from low trimmed space.

---------- Post added at 03:49 PM ---------- Previous post was at 03:39 PM ----------

i dont see the point of arguing over 0.5GB. i mean is it really worth the trouble of not having free space in /system that you might need down the line for, i dont know, xposed, moving some app there, whatever, when you ACTUALLY NEED gigs of free space SOMEWHERE for the phone to work fine an the emmc not to burn out? why do you want it all in /data if the point is that you CANT USE IT anyway?

seriously, we are talking 3GB here... $1! isn't a quality sandisk ultra 32GB card around $10 these days?? (slickdeals.net)

EDIT: that said, devs will bust their behinds to keep sys usage under 0.5gb so that most people can use their work. so i think it will never hamper you too much to keep a stock sys.
[Galaxy S II Original Android Development] CrashingDutchman:
My device ended up in a bootloop after the 0702 nightly... not sure what to do now. Any suggestions?
[Galaxy S II Original Android Development] MirmiX:
happened to me too.

I solved flashing a kernel via odin so that i could reach the cwm again.
[Galaxy S II Original Android Development] rajat2010:
Thank you for the hard work @Lysergic_Acid and congratulations for the success

Successfully OTA update from nightly 01 to nightly 02

gapps-5.1-2015-06-02-15-19.zip

https://github.com/cgapps/vendor_google/blob/builds/arm/gapps-5.1-2015-06-02-15-19.zip

1 gb system and 6 gb data.......

[IMG="snapshot1"]http://i57.tinypic.com/29oikbs.png[/IMG]

[IMG="s2"]http://i58.tinypic.com/2njg5sx.png[/IMG]

[IMG="s2"]http://i57.tinypic.com/73joth.png[/IMG]
[Galaxy S II Original Android Development] LonsDead:
GPS don't work

Hi,

Finally I found a problem in biuld 1.7, I have not yet installed the 2.7

I found a problem on the GPS don't work good and satellites does not take the fix is very long indeed very long, I have some more results in activating the network data but busts completely my position even if written manually and automatically rather forget.

Who knows how to work well'm gps both online and offline both? rom or which do you recommend? Right now with all those tested I do not remember who works and who does not.

Thank you all

Update: GPS

Build 3.7 gps work both alone and dates and wi-fi.

Good!
[Galaxy S II Original Android Development] Drx86:
Please fix your link... i9100 requires arm GApps, not x86. People might install x86 and complain they don't work.

I wonder how you managed to fill the 1 GB system partition... :confused:
[Galaxy S II Original Android Development] MirmiX:
You used x86 gapps?

Isn't that pack for intel x86 architecture?
[Galaxy S II Original Android Development] yuyuen72:
0702 no mobile data, but call, message and wifi is ok
[Galaxy S II Original Android Development] wdevil12:
Skipping is not stopping. after set amount of time for skipping that alarm time triggers again. Dont you wake up after skipping the same alarm time for about 10times? I do;)
[Galaxy S II Original Android Development] benzo:
For me too, even in the second nightly.

And i have google servies crash every time, also no google play store installed.

So how can i wipe system/data? Maybe a new recovery? Which one?

Thank you
[Galaxy S II Original Android Development] Dr.Fix:
No, you didn't understand. I wake up BEFORE the alarm triggers.

You can bring down the menu and tap "ignore this time" (or something like that). This should prevent the alarm to start at all for that iteration, but it turns on again. On CM11 it worked perfectly.
[Galaxy S II Original Android Development] liberteus:
Same here. And I lost root. Can't install new software, can't browse the sd card with fileexplorer... situation is not "dire" but sucks bad.

Can someone help me out of this hole?
[Galaxy S II Original Android Development] JamaRu:
Search your operator apn settings in google,and then create it manually,it ll be solve.
[Galaxy S II Original Android Development] wdevil12:
I got it. After pressing the dismiss button, that alarm didnt go off, so it worked as expected on 6/17 build.
[Galaxy S II Original Android Development] cpl.Bower:
I really hope you can change the option to update from the internal SDCard. Usually you can update from internal but now you need a external, I dont know why this had to change...
[Galaxy S II Original Android Development] liberteus:
For users with issues: I just deleted the system and flashed back the previous version, which let me do what I needed done. No matter how hard I tried I couldn't get the new version to work properly (root access, google play store).

Until new version is out, I will pass :)
[Galaxy S II Original Android Development] iamnotkurtcobain:
Seems all themes you use haven't been updated or don't support low res phones anymore.
[Galaxy S II Original Android Development] Dr AM:
+1

Prove that it's not ROMs fault
[Galaxy S II Original Android Development] iamnotkurtcobain:
Thanks for confirming too :)

Which theme is that?

Btw how's cm12.1 running on the S2? KitKat ran poorly on it...

Running Ics (cm9) back in 2011 was magic ;)
[Galaxy S II Original Android Development] Lysergic Acid:
I knew the *** was gonna hit the fan

First I suggest everyone to use tkgapps: http://xdaforums.com/android/software/tk-gapps-t3116347 the pico version fits perfectly in the /system.

Second, this is not a bug, this is block-based OTAs, included in Lollipop, that makes all the phones use the same partition table. That's good to me as I can eliminate bug reports that could be a repartition issue, but not good for users who like to repartition to fit gapps. This is how all the devices are running CM btw, but I'll search for a way to disable this, considering even CM gapps doesn't fit in /system.

Btw, the first two nightlies didn't had the FP Bug fix, now it's included in the upcoming nightly.
[Galaxy S II Original Android Development] Dr AM:
It's called Dark Diamond

https://play.google.com/store/apps/details?id=com.vogt.dark.diamond

Well , everything works good "till now" , still the first day on official build
[Galaxy S II Original Android Development] Nightshadow931:
[MENTION=4141005]Lanchon[/MENTION], why we need so much free space in /data ?

I'm just curious.. I have 1GB system and 3GB data, with ~400mb free right now.

Why would it matter if I had 1GB free, that memory is not used anyway ?

Sent from my GT-I9100
[Galaxy S II Original Android Development] Lanchon:
because of the way ssds work. read on FTL, overprovisioning and write amplification. and that free space needs to be trimmed for it to count.
[Galaxy S II Original Android Development] lukss12:
Can`t get GPS Fix on 07/08

My gps is refusing to find and lock satelitles... I've changed NTP server to Argentina's one but it's still not working. Any workaround for this?. I was using it well and quickly on unofficial, this is the first time i tried to use it with official
[Galaxy S II Original Android Development] daniu:
Hi,

Since you mention this: did anybody ever write in this thread that at the moment there is (in my opinion) no usable kernel with trim and recovery with nandroid backup function? I guess it's hard to miss ... but we this here is not a paid support forum so we cannot demand anything but just wait for someone to have mercy with us ...

Concerning memory: yes - it is cheap - but even cheap is money and do you think people keep using an old s2 if they got too much of it? Well - I guess I'm gonna invest in it soon. I simply never read that it is that important - so the cheaper solution seemed OK for now ...

Cannot see a reason to spend 500MB more for RAM as long as it is so easy to change the partitioning. Why not just change partitioning in that moment I need the space in system? So far had no problems (as long as the problems are something I can distinguish) with 500MB

regards
[Galaxy S II Original Android Development] Fr4nz83:
I have exactly the same modem and I have no problems. Maybe the modem chip inside your S2 is broken?

I'd try to revert back to builds you knew were working on your phone or also revert back to CM11 and see what happens.
[Galaxy S II Original Android Development] iistoryahi:
Hi , Running this rom Last Month and i'm facing the problem about battery and sound. The battery got no longer and the sound not so perfect even i'm on power amp music player. Today , i want to flash this rom again , i want to know the new updates what's working or not

One Thing , Is it perfect the new updates to daily use ?
[Galaxy S II Original Android Development] mysteryno46:
Camera is not working

Check this video

https://youtu.be/Fbi1baq_Cko

Camera app has been misbehaved since I flashed CM11 and same continues with CM12.1. Camera mostly doesn't work. Say Once in every 10 trial it may work but not normally.

Is it that my hardware is having the issue now? Or I do have some other option to try and check.

I have already tried pro capture but same results.
[Galaxy S II Original Android Development] eminem_b:
You should provide a logcat and wait for someone to analyze.
[Galaxy S II Original Android Development] Lartza:
Mhh... Last night I actually wiped everything again including /system, flashed cm-12.1-20150617-UNOFFICIAL-i9100.zip, 3G worked.

Factory reset, flashed latest nightly and 3G worked.

No idea why :D

So it seems going completely clean. (I had re-partitioned with PIT) And installing cm12.1 after that possibly makes 3G not work
[Galaxy S II Original Android Development] Klaerchen:
indeed, this helpeded much! Thanks.

Nevertheless the build does not go smoothly:

Compiling Android seems to work, but when the kernel is compiled, then i receive this error:

CC kernel/cpu.o

CC kernel/exit.o

CC kernel/itimer.o

TIMEC kernel/timeconst.h

Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home

/wolli/cm12.1/kernel/samsung/smdk4412/kernel/timeconst.pl line 373.

/home/wolli/cm12.1/kernel/samsung/smdk4412/kernel/Makefile:144: die Regel für Ziel „kernel/timeconst.h“ scheiterte

make[3]: *** [kernel/timeconst.h] Fehler 255

/home/wolli/cm12.1/kernel/samsung/smdk4412/Makefile:954: die Regel für Ziel „ker

what about this 'defined(@array)' error?

Thanks!

Klaerchen
[Galaxy S II Original Android Development] anonimowywybryk:
sory for my English.

The PIT file is only odin flash? or maybe recovery flashable zip too ?
[Galaxy S II Original Android Development] maly_szcz:
You cannot flash pit file via recovery. Use odin instead.

(polish) Nie możesz zflaszować pit-a przez recovery. Użyj ODIN-a.

Regards,

Daniel
[Galaxy S II Original Android Development] Typhoon_Master:
Did i something wrong, or cant i use goggle now everywhere on cm12?

The option for this is missing?

Ans was the google-now/cm-sidebar feature in trebuchet removed again?
[Galaxy S II Original Android Development] cherryb8844:
Recovery method is to difficult to understand .

Use Odin method for repartition [MENTION=589051]gss[/MENTION]tudio guide recommended
[Galaxy S II Original Android Development] Lanchon:
> Cannot see a reason to spend 500MB...

i answered this two posts before your question
[Galaxy S II Original Android Development] daniu:
Hi,

I guess I was not saying what I wanted to say: I was talking about system - am I right when I say: if I don't mind changing partition when I need to there is no reason to change the 512MB for system?

BTW: changed to 6GB yesterday - will see what my phone does with it. At the moment I got more than 2GB free on /data but I know that it is normal straight after wiping /cache

Lanchon: wouldn't you be the right one to give us a kernel with trim and CWM or TWRP? As far as I remember your trim enabled kernel also only has cyanogenmod recovery, right?

regards
[Galaxy S II Original Android Development] cauch_y:
Hi,

Is there any work in progress on the patch to enable MMS in stock app? MMS work with textra but with stock app there is no way to send or receive message. I tried editing APNs and removing the extra one I had but still no luck. BTW IMHO limits for my APN is way to large - it should be 300 kB not 600

Inb4 MMS so ancient

Inb4 stock app is sh*t
[Galaxy S II Original Android Development] karlrt:
bootloop with latest nightly

Tried out 0811 and 0810 nightly, but ran into a bootloop (just the animated android 5.1 logo) with both of them. Did the usual install (wiped all the caches), and flashed with cm11 again, which worked great. (no bootloop)

how can I test whats going wrong?
[Galaxy S II Original Android Development] cherryb8844:
Im using build 20150701 run smoothly mostly stable
[Galaxy S II Original Android Development] wdevil12:
and vulnerable..
[Galaxy S II Original Android Development] lukss12:
I'm not trying to spam but this are 3 interesting bugs i found on the ROM and it will be awesome if people using a recent official build could share if they are having the same behavior and what build/kernel are they using.

1- long press action doesn't work for back and menu button (action for back button can be enabled from developers options)

2- lockscreen music visualizer not working

3- gps not even finding satelittles or finding one at maximun

Thank you all of you. I'm doing this post because last posts are in majority about trim, custom recovery, different gapss packages. Topics not strongly related with the official ROM development itself.

---------- Post added at 03:00 AM ---------- Previous post was at 02:44 AM ----------

I forgot, [MENTION=6159291]Lysergic Acid[/MENTION] I was trying to trace an error generated by Netflix app. I traced it up to the h264 decoder from libstagefright, this file exactly android_frameworks_av/media/libstagefright/codecs/on2/h264dec/source/h264bsd_decoder.c

But the Error Flag H264BSD_PARAM_SET_ERROR causing the crash can be returned in two differents parts of the code. The library uses stdout an stderr for debuggin but i don't know if it is possible to see stdio generated by a library.so invoked from an app?
[Galaxy S II Original Android Development] Weib67:
Can anyone browse the 9gag app without the app hanging every couples of minutes ? Thanks.
[Galaxy S II Original Android Development] daniu:
Hi,

first of all: CM12.1 0806 nightly with minimal gapps and LAs official kernel with TWRP

1. why would it be a bug if it can be enabled in developer options? The other 2 work for me as intended

2. I think that also works for me - I guess the point is that the background changes and you can see the music visualized

3. my gps is way better than on KK - it is so good that I never really checked how many satellites I get. Usually I only do that if I do not get a fix quickly ...

I don't consider the first two "interesting bugs". In my opinion the worst bug in this ROM the reboots and I would not disagree if someone would say: after having had recoveries with backup ability (to talk about the most important but definitely not the only missing feature of CM recovery) it is kind of a bug to deliver a recovery without that.

regards
[Galaxy S II Original Android Development] akirayjin:
I'm having problem using pico gapps that in OP recomended in 1st page. I flash the ROM and then flash the Gapps. But when booting to the ROM all i get is force close about all Gapps (lke Keyboard). My /system is stock but I partition the /data and /sdcard part. And it's Clean Install. Do I need to partition the /system to?
[Galaxy S II Original Android Development] chrisXL:
I can confirm all
[Galaxy S II Original Android Development] takkaros:
Has anyone else changed the usb mode to charging only? I cant seem to be able to switch back to mass storage. The usb options remain grayed out, with or without the usb connected

Edit: my bad, it is actually throwing out a toast notification saying that the usb is disconnected
[Galaxy S II Original Android Development] karlrt:
another problem, this built (as most olter nightlies) is not found on the server:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado-2.4-py2.7.egg/tornado/web.py", line 1037, in _execute
self.prepare()
File "/usr/local/lib/python2.7/dist-packages/tornado-2.4-py2.7.egg/tornado/web.py", line 1487, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found

---------- Post added at 01:54 PM ---------- Previous post was at 01:18 PM ----------

Might this be the problem why cm 12.1 wont work?

detected filesystem ext4 for /dev/block/mmcblk0p9
Patching system image unconditionally...
detected filesystem ext4 for /dev/block/mmcblk0p10
script succeeded: result was [0.200000]

This is what I get after flashing from CWM. I repartitioned the system earlier via a PIT File and ODIN to get a bigger /data and /system
[Galaxy S II Original Android Development] bolshoi_booze:
I can confirm the issue with the GPS... Posted it some pages back

How can we help debug the problem?
[Galaxy S II Original Android Development] Fr4nz83:
Here the GPS is working (latest build, 12/08).

Try to use the GPS Test app, and tell us what you see...
[Galaxy S II Original Android Development] MorpheousMarty:
Is user switching broken a known issue or something wonky with my device? Using a clean wipe then straight ROM flash with the recommended Pico GApps.
[Galaxy S II Original Android Development] the.gangster:
Looks all normal.

Are you sure you have bootloop when flashing? Because boot animation can really take a long time after flashing new build until it starts to show the message, that the apps are getting optimized.

Maybe you were not patient enough?

---------- Post added at 06:37 PM ---------- Previous post was at 06:36 PM ----------

If I remember right it's still disabled on purpose.
[Galaxy S II Original Android Development] lukss12:
That you can enable it doesn't mean it works, have you tested it? Enable killing an app by long-pressing back button and KILLING an app this way? If it works it should close the app and generate a toast saying it was finalized.

The music visualizer is not the backgroud changing. It should show an spectrum over the image in the lockscreen like an EQ. Were you talking about it by saying "music visualized"?

I'm sure it's the biggest "bug" in the ROM but it's in an early stage of development and we need to wait for an usefull oficial CM recovery. I consider the first one an interesting bug because the phone is not recognising long-press and it is important to know why. About point 2 it's a new CM feature on LP and i know it was working on unnoficial and not here.

---------- Post added at 01:46 PM ---------- Previous post was at 01:40 PM ----------

Could you share your build and kernel? Thanks.
[Galaxy S II Original Android Development] the.gangster:
[MENTION=5361265]lukss12[/MENTION]

Issue 1: app killing is working here, too. And always did so far. Currently on nightly 20150812, but took a lot of'm since 20150715.
[Galaxy S II Original Android Development] lukss12:
What about menu button? Have you tried setting it an action on long press?
[Galaxy S II Original Android Development] the.gangster:
I had and I also just changed it a minute ago. Now it also does what I've just chosen. (Screen off)
[Galaxy S II Original Android Development] lukss12:
Thank you man I'm now downloading today's nightly to do a clean install and try to see what's going on with my buttons. Some people if facing it also.. May be dirty updates are causing it.
[Galaxy S II Original Android Development] the.gangster:
[MENTION=5361265]lukss12[/MENTION]

Good idea.

As I have not seen anyone confirming the button-problems here. As I understand, ChrisXL was confirming all what daniu wrote.

So what's left over as confirmed by some is the GPS issues you experienced.

Let's see what keeps a position on your list after a clean install.

Good luck
[Galaxy S II Original Android Development] daniu:
Hi

Everything tested and it works, long press does what it is supposed on all 3 buttons and yes it is that visualization ...

Regards
[Galaxy S II Original Android Development] lukss12:
After clean intall of latest nightly:

- music visualizer doesn't work when setting dpi 180 or less. I don't know if it is meant to be like that or not.

- my buttons continue not working for long press (Could it be hardware problem?)

- gps saw two satelittles only for a few seconds when i was standig out of the house so, the situation is pretty the same.
[Galaxy S II Original Android Development] Paulojrc:
The GPS only works outside. How can you expect to have GPS signal below a roof???
[Galaxy S II Original Android Development] lukss12:
Standing out of the house... Not below a roof, not in the middle of the street..

---------- Post added at 03:56 PM ---------- Previous post was at 03:53 PM ----------

There is a weird behavior when setting charge only mode it falls back inmediatly to MTP.
[Galaxy S II Original Android Development] maly_szcz:
Sometimes works, and sometimes does not (i have to reboot the phone to make it working).

Tested with Yanosik app.

Regards,

Daniel
[Galaxy S II Original Android Development] wdevil12:
unfortunately, GPS hasnt been working properly since selinux or pie thing got fixed(( Victory doesnt come without sacrifice, so the rom got official loosing gps those times
[Galaxy S II Original Android Development] lukss12:
Wasn't PIE fixed on last unofficial? It was working great there. I don't remember what was SELinux status on that ROM.
[Galaxy S II Original Android Development] Lanchon:
sorry im not a kernel dev, i just wanted to solve the trim and fpbug issues on this platform and that's done. you need to ask your kernel dev. you can flash LA's twrp when u need to and then get back to mine.

regarding /system, this is what i wrote before:

no its not wasted. trim it once and it will be an excellent source of overprovisioning. given that you mostly cant write there, your phone will behave sort of ok even if you later stop using a trim-enabled kernel for ever. it doesnt matter where trimmed space comes from, it all counts. of course you can only trim free space, and it remains trimmed till you write to that particular area of the emmc.

...

i dont see the point of arguing over 0.5GB. i mean is it really worth the trouble of not having free space in /system that you might need down the line for, i dont know, xposed, moving some app there, whatever, when you ACTUALLY NEED gigs of free space SOMEWHERE for the phone to work fine an the emmc not to burn out? why do you want it all in /data if the point is that you CANT USE IT anyway?

...

EDIT: that said, devs will bust their behinds to keep sys usage under 0.5gb so that most people can use their work. so i think it will never hamper you too much to keep a stock sys.
[Galaxy S II Original Android Development] Paulojrc:
No GPS problems here...
[Galaxy S II Original Android Development] Dr AM:
It hangs for me too on all CM and AOSP ROMs I tried
[Galaxy S II Original Android Development] LeBourrin:
A short message about the GPS problem. Maybe the problem is older than CM12.1 because even with CM11 I have location problems. After a random running time, my S2 only see 2/3 satellites. I found that killing the "Google Play Services" task fix the bug and my S2 find more satellites.

Another thing, I just saw that CyanogenMod plans to release a stable version at the end of the month. Perhaps we will have our first Snapshot after a long wait.
[Galaxy S II Original Android Development] ran000:
Please, What is August 13 recovery.img? Any explanations.