yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] ELki123:
thanks to gangster my s2 get into soft brik but this is a start to good news: went all the way through gangster recommendation from START and.... my S2 run CM 13 with CWN Recovery and 12.1 kernel ...

looks good for now

gapps working and NEW rom BY OTA is downloaded now OTA

THANKS ON EVERYTHING

Thanks for all answers

Gangster my man thanks ! :)
[Galaxy S II Android Development] oscarlamyf:
Can I backup and restore in recovery to convert to f2fs without losing data?
[Galaxy S II Android Development] the.gangster:
I am still not sure if I understand you right, as you are definetly not running CM13 on a 12.1 kernel. But anyway, as it works for you now:

If I helped you: you should have listened to me right away!

If I didn't: you got me wrong!

LOL
[Galaxy S II Android Development] ELki123:
So tell me what i have please ?
[Galaxy S II Android Development] the.gangster:
You have CM13 on CM13-kernel.
[Galaxy S II Android Development] ELki123:
Thanks sir ? meanwhile, Cm update fails md5 check when trying to download new nightly 26.2 anyone also fail ?
[Galaxy S II Android Development] fireburner-de:
[MENTION=6159291]Lysergic Acid[/MENTION] I can understand, that this might not matter for the noobs, but an experienced user might need these commands.

Also soundrecorder is used by me for reminder memos and screencast seems to be used by many, when i read this thread.

Couldn't there be some kind of config file for the flashing process, where one can decide if he wants full or small CM?

As it is now, I am really unsatisfied, as it restricts experienced users.

Sorry to say, you're doing an´excellent job, but I really dislike this commit!

There is just no choice, if one wants newer nightlies.

Beside, I want to share my experience in a long up-time run:

I am experiencing similar lags, after some days of up-time, like we had under CM12.1. (didn't look it up exactly, but it was getting worse after 100h from my feeling)

Imo there seems to be still some memory tweaks missing, to improve memory handling.

I now tried to set swapiness from 60 to 40 and from my feeling I would say it got a bit better, though these lags still happen.

The worst lags happen by using Google Search app. (up to half a minute of very little response).

Except of this issue, I could not find any problems. Now reboots, no soft-reboots, no freezes, no wifi nor mobile network issues. (I am now at 200h with 20160214)
[Galaxy S II Android Development] pravingasva:
This link has been put many times in this thread.

Here it is:
[Galaxy S II Android Development] tltan86:
Understanding CM kernel does not have trim implemented yet, I would like to ask you guys, would you choose f2fs over trim or vice versa? Why?

I personally feel trim is more important.

Currently I'm still on Lanchon's CM 13 trim kernel. :)
[Galaxy S II Android Development] pravingasva:
Good that you finally managed it!! :good:

I didn't came across this issue. I use CyanDelta, so dont know if this is some problem with the your nightly package download.
[Galaxy S II Android Development] june_cezar:
hello guys, I got a problem. how do I reroot it? I've tried setting the root access to apps on developers but still cant have root privilage. please help. :(
[Galaxy S II Android Development] pravingasva:
You cannot re-root it, but you can re-flash it! :D This is the only setting for enabling root on your device for now! Cannot guess exactly what is the problem from your statement, so just re-flash the /system partition and try again. I also suggest to "Apps and ADB" access, as you would need it sometime probably. :good:
[Galaxy S II Android Development] johaend:
I would have voted for trim too! And everyone should read the nice explanation (thanks [MENTION=4141005]Lanchon[/MENTION]) for what happens without trim: http://xdaforums.com/showthread.php?p=65444687

Who doesn't want trim after reading that post? ;)

I'm also using Lanchon's trim kernel on CM13 (brickbug chip). :)
[Galaxy S II Android Development] cdrivex4:
Yeah I think I'm staying on 2302 till that mini change gets reverted.

No BT issues either, GPS I still find a bit flaky.

All works nicely if there is a vote remove mini.

screw those that don't know enough about trim for everyone's device longevity add trim support.

Also re:lag I set the virtual swap to 0.rarely have any lag.
[Galaxy S II Android Development] Draky50110:
As I install every nightly, with OTA, I don"t trim because it means one reboot for flash/optimizing for the nightly + one reboot for reflashing TRIM/optimizing...

Means a lot of time lost every day.
[Galaxy S II Android Development] Andrea900:
Cyandelta is the answer.
[Galaxy S II Android Development] DevisG79:
You can flash a kernel directly after flashing the nightly , then wipe Caches and reboot. So there is No waste of time. I think time is waste updating every day except you are a real dev or want to try something (No offense)☺, but that can decide each himself
[Galaxy S II Android Development] ELki123:
Thanks [MENTION=4659967]pravingasva[/MENTION] ! Anyone else succeede in the last nightly update ?
[Galaxy S II Android Development] chrisXL:
You can use OTA for download and then flash all your preferred zip files at once from TWRP (cm13, gapps, trim kernel, isorec recovery, xposed, gps.conf, ...). Only one reboot needed.
[Galaxy S II Android Development] stylemessiah:
+1

Its the only sane way to do nightlies. I dont have the greatest internet connection, ill take 20-30mb each night over 200mb each night...
[Galaxy S II Android Development] stylemessiah:
Just pointing out you only need to flash:

* cm13 nightly

* Trim kernel

each time if you use CyanDelta Theres no need to reflash the IsoRec Recovery each time. Once its flashed on your device, its there for good.

The rest you can use backup scripts in your addon.d to backup and restore automagically across nightlies

Attached are the files i use, ymmv

Includes:

GPS

V4A

Xposed

Nova Launcher

View attachment 3661885

Extract the .sh files and copy to your /system/addon.d and set each .sh files permissions to match the other files you'll find there.
[Galaxy S II Android Development] the.divergent:
After more than 15 days using of CM13 my phone suddenmy started to heat very much, also charger wasn't able to charge it, it took 5 hours to charge it to 40% with airplane mode. Until yesterday everything worked fine. I was on 20160214 build becouse it is most stable. In meantime i switched back to CM12.1 where everything works fine

Regards
[Galaxy S II Android Development] chrisXL:
Sure. mine was only one (simple) way to avoid additional reboot. [MENTION=3582785]Draky50110[/MENTION] will choose the most friendly way to him.
[Galaxy S II Android Development] Draky50110:
Thanks for all tips :)
[Galaxy S II Android Development] good8life:
I can flash kernel-Lanchon-TRIM-IsoRec-20160207-cm-13.0-i9100 , if I have data and cache with f2fs?
[Galaxy S II Android Development] makix13:
Nop, we need new Lanchon's cm13 kernel with trim and f2fs,coz Lanchon's kernels are CM official kernels with trim enable.

And please, don't ask Lanchon's for a new kernel, if he wants/can he will do it .

Regards

S2 Cyanogenmod 5.1.1 [official nightly] - Lanchon's kernel isorec - arnab isorec twrp - Xposed [official framework] - Viper4Android
[Galaxy S II Android Development] the.gangster:
Sure you can flash it.

And it will definitely not be able to mount the two partitions.

Ups: makix13 was faster, although going into detail...
[Galaxy S II Android Development] Skyline:
Man, calm down i think [MENTION=6619837]good8life[/MENTION] is just asking if it will work or not and you already answered him. He is Not asking for any ETA or any other out of rule thing. Of course making a trim kernel is completely depends on what Lanchon think about it but It's nothing to do with his question.

Sorry If I said anything wrong. No offence.
[Galaxy S II Android Development] makix13:
Sorry, i forgot to write an [emoji6]at the end.it sounds so rude, not my intention [emoji2]

S2 Cyanogenmod 5.1.1 [official nightly] - Lanchon's kernel isorec - arnab isorec twrp - Xposed [official framework] - Viper4Android
[Galaxy S II Android Development] vege666:
I'm running cm-13.0-20160224 (but previous cm13 builds had the same problem) and if I connect to a wifi network which requires logon, I don't get any notification for wifi logon and mobile data transfer gets disabled. So I'm actually offline unless I open any webpage (so I get redirected to wifi logon page) or I disconnect wifi (so mobile data re-enables).

With cm12.1 mobile data transfer didn't get disabled and I had wifi logon notification.

Is there any way to fix this?
[Galaxy S II Android Development] daniu:
Hi

Got one question:

I use K9 mail with this ROM and just found out that I cannot save attachments at all. It just says it did my succeed in saving the attachment.

I guess the reason is mm and the new rights management allowing apps only to access their respective folder. I tried to change te folder where k9 saves the attachments but unfortunately this dialogue in k9 does not work (seems like another access problem)

Any solution to that?

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] kal4metal:
Question. Can we format /system partition to f2fs? Did anyone tried this already, and if so, how did he do this?
[Galaxy S II Android Development] rINanDO:
Here are my ext4 vs f2fs results with a s2 with eMMC rev. VIS00M. The performance is disapointing on this s2 with f2fs. These are the results with ext4.
[Galaxy S II Android Development] rINanDO:
And the results with f2fs.
[Galaxy S II Android Development] pravingasva:
Hmm.. I've jumped back to ext4, not feeling much difference too. If we neglect the numbers, ext4 is much reliable and faster overall. Thanks for testing, but can't judge f2fs till it is applied to all partitions. :)
[Galaxy S II Android Development] SAMDestroy:
http://xdaforums.com/showpost.php?p=65496446&postcount=2538

so it must be possible some how :)
[Galaxy S II Android Development] pravingasva:
I don't think anyone has tried yet, as it is not supported. No one has reported clearly, but we would face mounting issues when flashing CM 13 again.

Many have not tried as they are waiting for full support, and many want to stick to trim kernel. But you're not limited to try and report. All the best! ;)
[Galaxy S II Android Development] kal4metal:
My results after trying to format /system to f2fs. First, I copied the whole "system/lib" folder in sdcard0 so I can use it as starting folder in Terminal Command and pushed one more time mkfs.f2fs in /sbin. Then I unmounted all partitions, except /emmc. I tried "mkfs.f2fs -l f2fs /dev/block/mmcblk0p9" but it gave back "permission denied". So, if anyone's wondering, It's impossible at least for now to get a bootable /system partition with f2fs format. I hope it gets fully supported in the future. I already feel the difference using browser, facebook etc. :)
[Galaxy S II Android Development] chrisXL:
I have no problem with cm13 (0227 build) and k9 mail. Attach are stored correctly. Did you restored somethings (k9 mail backup, titanium backup, others)? Anyway try to wipe k9 mail data and reconfigure your accounts.
[Galaxy S II Android Development] daniu:
Hi

Well ... of course I do restore my settings - who doesn't ... was afraid that might be the only way. Since I didn't even know if it helps I didn't want to try.

Does anyone know another way?

Thanks!

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] ELki123:
Holly moses, new nightly update 27-2 .... the phone is black and a weak flash light every 5 seconds.... mamamia what happen here , anyone !?
[Galaxy S II Android Development] chrisXL:
No problem here. Bad download?
[Galaxy S II Android Development] ELki123:
it looks that the downloaded was ok ...

what to do !? :(
[Galaxy S II Android Development] chrisXL:
Format system (only) and retry ?

---------- Post added at 09:42 PM ---------- Previous post was at 09:39 PM ----------

Which is your save attachment path? /storage/weirdnumber (your sdcard number)?
[Galaxy S II Android Development] fireburner-de:
I had no problem restoring my CN12.1 K9 data.

I don't know about TB, but with oandbackup, I either can restore app+its data or only its data.

So if TB also has this function, I would delete K9, reinstall and only restore its data from the backup.

That's how I did.

edit: My storage path is internal sd with weird number in its name

Don't know if it might have problems with external.
[Galaxy S II Android Development] chrisXL:
After tap wait about 30-40 seconds and see if dialogue appears.
[Galaxy S II Android Development] daniu:
Hi

thanks ... however I get a dialogue: Go to folder and click OK, below that there is a yellow folder with a blue plus and on the right side an OK Button - bellow that is nothing. I assume that k9 shows that because it cannot access my data ...

TiBa can restore data only or app only but I don't see how that should help me because as I understand the problem is in my data and my account settings also ... so either account and problem or no account data ... I guess I should have changed the folder in CM12.1 ...

best regards
[Galaxy S II Android Development] toty250:
Tnx guys
[Galaxy S II Android Development] iistoryahi:
I have a question about the data connection , when i turn on the data then when the data is on , signal icon show only R in upper , i can't see if my data running 2G/E or 3G/H , I don't know if this is an issue because this happen also on lollipop. Is there a way to see my mobile data connection ??
[Galaxy S II Android Development] SadaT5700:
Usually it stand for Roaming (international) status, and need to enable data roaming.

Are you travelling outside your SIM card original country?

SadaT I9100 ROM 6.0.1 CM 13.0 IsoRec Trim
[Galaxy S II Android Development] iistoryahi:
Yes i know it's a roaming sign , I always on the data roaming when i used data

No the sim i used is for my country but it is roaming , i don't know why but this problem happen on me , only me
[Galaxy S II Android Development] Lanchon:
hey! i don't know there were kernel changes if no one tells me about them, of course you should tell me! i'm mostly not reading this thread, too much volume plus personal issues with xda. i'll look into the f2fs thing.

---------- Post added at 03:46 AM ---------- Previous post was at 03:42 AM ----------

this is ridiculous. there is ZERO sense in using f2fs for a read only partition!!! advantage of f2fs exits only during writes. the only candidates are /data and /sdcard (of course i recommend that sdcard be kept as vfat). /cache is unused so migrating to f2fs is just ridiculous too.

so basically /data; that's all.
[Galaxy S II Android Development] bibidibobidibu:
I've got this error message after i'm trying to change file system of /cache by using twrp v2.8.7.0 :

E: mkfs.f2fs -t 1 /dev/block/mmcblk0p7 process ended with ERROR=255

E: Unable to wipe '/cache'

E: Error changing file system.

Thanks
[Galaxy S II Android Development] Lanchon:
the F2FS TRIM kernels are up.

now i'm watching the kernel repos so hopefully i'll notice next time something is up.
[Galaxy S II Android Development] SAMDestroy:
i have /data and /cache on f2fs

using isorec twrp

All fine in eMMC check

eMMC Type V3U00M FwRev: 0x0e

No Brick

flashed the current nightly cm-13.0-20160228-NIGHTLY-i9100.zip

flashed the new trim kernel with f2fs support kernel-Lanchon-TRIM-IsoRec-20160228-cm-13.0-i9100.zip

now my device is stuck on boot logo,doing reboot, stuck on boot logo again ...
[Galaxy S II Android Development] good8life:
I have the same you install - my phone working good

Ups nightly 27.02
[Galaxy S II Android Development] SAMDestroy:
seems i found what i did wrong.

is it true thats i first need to flash cm-13.0-20160228-NIGHTLY-i9100.zip and doing a reboot with optimizing apps, doing a reboot to twrp and on the last step i need to flash kernel-Lanchon-TRIM-IsoRec-20160228-cm-13.0-i9100.zip?

in other words i cant flash both on the fly?

if so then i found where my problem was :)

i reflashed cm-13.0-20160228-NIGHTLY-i9100.zip, booted the device (optimizing apps was running and my phone was working again)

i rebooted to twrp and flashed kernel-Lanchon-TRIM-IsoRec-20160228-cm-13.0-i9100.zip

booted to system again and all seems fine now.

i was running trimmer on all 3, rebooted again and my phone is working.

now one last question: how can i proof the devices is trimmed now?
[Galaxy S II Android Development] the.divergent:
Download trimmer(fstrim) app from google play store. Than open it and give grant root. Than check /system /data and /cache and click on trim, if trimming is succesful then you'll know that your device is trimmed

Regards
[Galaxy S II Android Development] SAMDestroy:
thats what i already did and it showed "Trim Completed"

"when the fstrim command is run on some devices, it reports success but runs in zero time instead of taking the usual couple of seconds it takes on most devices"

thats why i want it to proof some how
[Galaxy S II Android Development] fy168:
Deleted
[Galaxy S II Android Development] the.divergent:
http://xdaforums.com/showthread.php?p=65561097

Lanchon added trim support for F2FS

Regards

---------- Post added at 01:29 PM ---------- Previous post was at 01:29 PM ----------

Does it says how much space is trimmed?

Regards
[Galaxy S II Android Development] SAMDestroy:
for /system yes.

/cache and /data not

and all was running pretty fast
[Galaxy S II Android Development] the.divergent:
[MENTION=6770733]SAMDestroy[/MENTION], if your device is trimmed it should show somethig like this, (values of trimmed space depends of how much memory you have on yiur partition and how much memory is trimmed. If it doesn't show values like on SS below, try to re-flash trim kernel and try again.

Regards
[Galaxy S II Android Development] SAMDestroy:
ok i did and trimmer is still only showing

so it seems data and cache are not trimmed?
[Galaxy S II Android Development] the.divergent:
Try to re-download and re-flash trim kernel and then again try with trimmer. If it still doesn't work, try with terminal emulator or adb commands which you can find in Trim thread.

Regards
[Galaxy S II Android Development] SAMDestroy:
terminal and adb is showing:

fstrim not found
[Galaxy S II Android Development] fireburner-de:
Try these commands in terminal emulator or adb shell:

su
logcat -d | grep "Trimmed"

This is system log, and there you will definitely see if certain partition was trimmed.

All text not containing Trimmed won't be shown.

For a comparison only type:

logcat -d

Remembered to use a capital T or this command won't show anything.
[Galaxy S II Android Development] SAMDestroy:
sorry but i get no out put for:

su

logcat -d | grep "Trimmed"

:(
[Galaxy S II Android Development] fireburner-de:
You know, that su and logcat are separate commands?

Also if you rebooted and nothing got trimmed, this command won't show anything.

So be sure to try this after using trimmer app and it at least should show /system having been trimmed.
[Galaxy S II Android Development] SAMDestroy:
yep :)
[Galaxy S II Android Development] kosmasgr:
Hello.

I have already repartitioned my /system and successfully flashed latest build.

Awesome work guys ;)
[Galaxy S II Android Development] laptopu:
I have been using cm13 for the past two weeks and noticed battery life is poor when being used and the phone gets warm. If it goes into deep sleep overnight the battery is quite good but in use I get very little time. It's as if CPU is fully utilised most of the time when awake.

I searched online and quite a few people are identifying battery issues but no one cause is identified. I did a clean install and have a battery that is only a few months old.

Also WiFi drops occasionally without warning and reconnects itself. I only noticed this as I was downloading an ota update that dropped WiFi switched to mobile data and chomped into my data tariff.

If I can give further info to help track the cause please tell me what is needed and I will get on it.

Thanks again [MENTION=3021624]launch[/MENTION]eon and others for bringing this rom to us it's great work.
[Galaxy S II Android Development] stylemessiah:
Anyone heard anything about if and when we can have SuperSU working on this rom?
[Galaxy S II Android Development] iistoryahi:
Install busybox then trim agin using terminal emulator

su

fstrim -v /system

fstrim -v /data

fstrim -v /cache

fstrim -v /preload
[Galaxy S II Android Development] the.divergent:
Were you able to trim all partitions?

Regards
[Galaxy S II Android Development] SAMDestroy:
ok i did this and:

i see data trimmed information for /system

no output for /data

"inappropriate ioctl for device" for /cache

instant reboot for /preload

something really wrong here isnt it?
[Galaxy S II Android Development] good8life:
Yes

You can see post 1116, 1117

http://xdaforums.com/galaxy-s2/development-derivatives/rom-brickbug-aftermath-speeding-t2843238/page112
[Galaxy S II Android Development] Farmut83:
you do formatting f2fs using TWRP recovery?
[Galaxy S II Android Development] good8life:
Yes TWRP -> advent -> open terminal -> go to /system/lib after writing :

mkfs.f2fs -lf2fs /dev/block/mmcblk0p7

go

mkfs.f2fs -lf2fs /dev/block/mmcblk0p10

go
[Galaxy S II Android Development] arnab:
That commit was merged before I even gave the greenlight. I am already aware of these issues.
[Galaxy S II Android Development] Lanchon:
yes you can ALWAYS flash them together or separately. no difference, works the same.

---------- Post added at 05:59 PM ---------- Previous post was at 05:49 PM ----------

can anybody reproduce the instant reboot on "fstrim -v /preload"?

you are welcome to try on stock and trim-enabled kernels.

thanks!
[Galaxy S II Android Development] arnab:
[MENTION=4141005]Lanchon[/MENTION] Plz test this patch.

http://review.cyanogenmod.org/#/c/134440/

---------- Post added at 02:37 AM ---------- Previous post was at 02:31 AM ----------

Dont run trim on preload dude.
[Galaxy S II Android Development] Lanchon:
thanks! i commented there. unfortunately i can't test: for now i'm not running CM13 and i'm not running F2FS either.
[Galaxy S II Android Development] arnab:
Plz remove the -1. We havent even tested it yet.
[Galaxy S II Android Development] Lanchon:
ok i did! :) i'd still advice anyone who values their data not to migrate to f2fs unless data_flush is added or the kernel crashes are fully fixed.
[Galaxy S II Android Development] ene_loop:
Sygic is working on your i9100? Mine is still not going beyond the start screen (white screen with Sygic logo in the middle). Nightly from 28.02.2016.
[Galaxy S II Android Development] iistoryahi:
Maybe you could flash again then try to trim again
[Galaxy S II Android Development] rogers11:
Read the last page. Trimming and f2fs do not really play together on this device at the moment.
[Galaxy S II Android Development] philippe734:
All, without overclocking CPU, please, could you share the scores with antutu v5 and v6. Thanks.
[Galaxy S II Android Development] iistoryahi:
FYI .. the trim i mean is on ext4 partition not f2fs
[Galaxy S II Android Development] rogers11:
Maybe, but you were quoting SAMDestroy's message which was about f2fs.
[Galaxy S II Android Development] fireburner-de:
Well, to come back to this gerrit: Switch to common_mini_phone

Did anyone with a stock /system try to install CM+pico GApps? As this is the only reason this patch was added.

And if this would not work, it would be totally useless.

Could anyone find a list what really is removed with this patch? [MENTION=2222292]rINanDO[/MENTION] posted a list, but didn't post a link, where this actually can be seen in the code.

And it would be nice if [MENTION=6159291]Lysergic Acid[/MENTION] could post a statement regarding this patch and the objections, that were raised in here.