yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Kevin3014:
I had 89% of battery, thought of taking a backup so I flashed Lanchon's TWRP recovery, took a backup and when I tried to reboot. The phone is stuck with a battery icon which is not charging. I can't boot into recovery either! I'm freaking out right now. Help!

Yes, I'm using cm-12.1-20151224-NIGHTLY-i9100.
[Galaxy S II Original Android Development] daniu:
Hi

That's not so special ... if charging does not help remove the battery for a while, put it back in and it should boot ...

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Original Android Development] Kevin3014:
Well I fixed it. Since it didn't boot into recovery, I thought my recovery is damaged. So I installed CWM using Odin, and flashed Lanchon's TWRP-TRIM kernel and it booted up again. With 80% of battery remaining. :D

Lucky that the bootloader didn't get messed up.
[Galaxy S II Original Android Development] lummujaj:
im stuck at "finisht boot" for like 15mins ...
[Galaxy S II Original Android Development] Lanchon:
you are not being clear on what you did. "Lanchon's TWRP recovery" is not any particular file. "Lanchon's TWRP-TRIM kernel" is probably (who knows what you flashed!) an obsolete zip with an obsolete TWRP in it.
[Galaxy S II Original Android Development] Dark1Angel:
I've read the changelog, but I want to be sure so sorry if it bothers. Is the isorec kernel by [MENTION=4141005]Lanchon[/MENTION] 20160111 merged into the rom or do i still have to flash it separately after rom?
[Galaxy S II Original Android Development] Lanchon:
isorec is merged. TRIM is not.

if you just want isorec you don't need to flash my kernel.
[Galaxy S II Original Android Development] the.gangster:
[MENTION=6559665]Dark1Angel[/MENTION]

you had a look there and didn't see it?

Even if it you could have tested yourself with ease, the answere is: No not his kernel was merged, but his patchset was merged into the stock kernel, to support IsoRec-Recoveries.
[Galaxy S II Original Android Development] Kevin3014:
This is the file I flashed. kernel-Lanchon-TRIM-FreezeFix-TWRP-20160111-cm-12.1-i9100.zip

First I flashed the above .zip file using CM Recovery, and rebooted. It successfully booted into CM12.1 so I turned my phone off and went into TWRP recovery, took a backup, took some time. In the TWRP recovery it showed there's 89% battery remaining. So I rebooted the phone, it showed the Samsung logo with the device info and then it got stuck with a battery icon with a small circle in it. So I thought the battery is dead, plugged it into the wall adapter and the circle didn't start to rotate. That's when I freaked out. Waited another 30 mins and there was no change. Removed the battery and out and put it back in, that didn't work either, same screen, but this time it directly showed the battery icon without showing the Samsung logo. Tried to boot into recovery but still stuck on the same screen. Luckily I could boot into download mode, I quickly plugged my phone into my PC opened up Odin and flashed CWM. After the flash, it automatically rebooted into CWM, I flashed 'kernel-Lanchon-TRIM-FreezeFix-TWRP-20160111-cm-12.1-i9100.zip' using CWM, rebooted the phone and it's back working again. Now it had 80% of battery.

I was using your TRIM-freezefix kernel before, the one which doesn't have TWRP.

The kernel which I flashed from CM recovery before and CWM recovery after, is one and the same. There was no other kernel in my SD card.

Sorry for not being clear before. I was kinda freaked out, didn't know what to do.
[Galaxy S II Original Android Development] Lanchon:
lol, well the file kernel-Lanchon-TRIM-FreezeFix-TWRP-20160111-cm-12.1-i9100.zip is obsolete. the TWRP in it is old and buggy. it seems you'd agree now :) don't use it! only use my isorec kernels and recoveries.
[Galaxy S II Original Android Development] Kevin3014:
I'll update my phone to the latest nighty with your isorec patch, soon. I don't have enough bandwidth right now. I'll probably update mine on the 1st of February. :fingers-crossed:
[Galaxy S II Original Android Development] Lanchon:
in the meantime you can get the isorec twrp and my latest kernel. combined they are probably around 10 or 12 MB.
[Galaxy S II Original Android Development] aleMarvel:
only me have a bug with video streaming ?
[Galaxy S II Original Android Development] n3m3sis:
Nope! For quite sometime now I have had a situation where live videos that that used to stream from Bet365 no longer work. I have submitted numerous bug reports when it happens, with a description.

I reckon it will get fixed at some point but since not everyone watches the races, or has a bet I will just have to wait until the great developers here get round to it. :)
[Galaxy S II Original Android Development] Syaani:
There are some cm12.1 Snapshots on the way.
[Galaxy S II Original Android Development] Kozmyk:
Still Getting Backup Error with IsoRec and TWRP

I flashed:

kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100.zip

and:

recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip

at the same time.

Rebooted, wiped cache and dalvik.

Rebooted System

Rebooted to Recovery

Tried to do a TWRP Backup and got the same old Error message when it got to backing up the Data partition:

E:createTarFork() process ended with ERROR=255

:confused:
[Galaxy S II Original Android Development] falke69:
Hi Kozmyk,

just install latest nightly build with integrated IsoRec.

Then install CWM 6.0.5.1 recovery (recovery-Lanchon-IsoRec-CM-6.0.5.1-20160112-i9100.zip) from there.

Boot into recovery and do the backup. I have done several backups with this setup without any problems.

Ok, I don't use the trim option but if you also don't need this feature I would suggest that you try this.
[Galaxy S II Original Android Development] BenjyTec:
From where do you know? And do you know when?
[Galaxy S II Original Android Development] aleMarvel:
i not understand.. you mean last build of cm12 (cm-12.1-20160126-NIGHTLY-i9100.zip) have isorec integrated ?
[Galaxy S II Original Android Development] falke69:
[MENTION=5082007]aleMarvel[/MENTION]

Yes of course Isorec is merged into official nightly.

See there

You just need to install an IsoRec compatible recovery.
[Galaxy S II Original Android Development] Syaani:
I only saw a few snapshots on download.cyanogenmod.org

Those are marked with YOG7DAO3J1 tag.
[Galaxy S II Original Android Development] Drhedphuk:
You can read about it here

http://www.androidpolice.com/2016/0...pshot-build-in-two-months-starts-rolling-out/
[Galaxy S II Original Android Development] Syaani:
Yes that was basicly the source I heard about new snapshots.
[Galaxy S II Original Android Development] Drhedphuk:
Oops sorry, It wasn't actually you that I wanted to quote as you were the one to originally post about the forthcoming snapshots. :D
[Galaxy S II Original Android Development] Sercan Ali:
Does anybody face random force closes? Even if the battery level is well enough, after opening some apps like twitter, instagram etc the phone shuts down suddenly....Is it a ram issue? I am using latest nightly build ....
[Galaxy S II Original Android Development] Lanchon:
the kernel is not his problem, he can use the kernel he prefers.
[Galaxy S II Original Android Development] Kozmyk:
Almost ...

@ falke69 Thanks for that tip.

Reflashed latest Nightly, flashed the recovery-Lanchon-IsoRec-CM-6.0.5.1-20160112-i9100.zip

Started the CWM backup and waited ... successful backups - boot\ , recovery\ , system\ ...

I was just about to jump up and down with glee at the point of success when....

"Error trying to backup data" :crying:

I'm guessing that something is either corrupted and/or resistant to copying in the data\ partition

Anticipating the need for a Format in the not too distant future I tried a backup using MPE (MyPhoneExplorer)

It backed up most of the stuff I asked it too but it threw out these errors: (see attachments)

So it looks like it's not a TWRP vs CWM problem.

I might suspect a problem from the PIT change except that I had successful TWRP backups

after

the PIT change using the stock_kernel_twrp_1020-signed.zip kernel+recovery that Lysergic Acid provided in the OP.

I'm not sure what I should swipe/reformat/re-install next ??

[IMG="Backup Errors1"]http://xdaforums.com/attachment.php?attachmentid=3625487&stc=1&d=1453994811[/IMG]

[IMG="Backup Errors 2"]http://xdaforums.com/attachment.php?attachmentid=3625489&stc=1&d=1453994811[/IMG]
[Galaxy S II Original Android Development] Lanchon:
boot to recovery, unmount all partitions, adb shell to it, and investigate. start by running fsck on /data (/dev/block/youlookitup)
[Galaxy S II Original Android Development] vincenzo.rimi:
info missed root

Hello everyone, I have a S2 with CM 12.1; Yesterday I saw that I lost strangely the root on my device and then I opened the Superuser system app, that tells me that I need to update the binary but it produces an error!

I removed the root from developer menu, i have restarted my device and after I put the root rights from the developer menu, but without results.

What should I do to restore the rights of root?

thank you
[Galaxy S II Original Android Development] ultravy:
Try to flash super su from recovery.
[Galaxy S II Original Android Development] Kozmyk:
Unmounted everything in CWM

I got a result from "adb device"

Tried "adb logcat" but it threw an error (sorry - didn't write it down - had visitors)

Remounted everything.

Rebooted to CM

Rebooted to CWM Recovery once more.

Cleared unused data/Freeing Space.

Ran Backup to SDCard1 as per usual

Backup worked !!!! - No Errors! :good:

I guess Unmounting and Remounting must've reset something.

Result! :D

Thanks for your help.

I'll leave the darker depths of adb to another day I think ;)
[Galaxy S II Original Android Development] vincenzo.rimi:
re:

it works fine

thanks friend:)
[Galaxy S II Original Android Development] Boolian:
Yes, occasionally browsing (Opera browser) Freeze and f/c. Browsers do generate a very large cache over time. I clear it and it becomes stable. I can usually tell in advance as the browser becomes sluggish.

Also using my dashcam "Daily Roads Voyager" -but that will break anything which isn't stock/JB based!

Great for testing roms :)

Trying to use two GPS based apps simultaneously will do it too. So I don't.

I think I remember it happening with Skype as well, but other than that, this is a damn stable rom and I've tried many.

I did have a dodgy nightly recently, which I swear was 2016-0114 - but I don't see that listed any more.

If it happens again I might try disabling Zram.
[Galaxy S II Original Android Development] Andrea900:
No problems at all with stock browser. It's the best about stability and speed.
[Galaxy S II Original Android Development] MikiGry:
It just turn off ? Not a freeze , just it shuts down like you take out battery out of it ?

If yes , than you need to buy a new battery.
[Galaxy S II Original Android Development] philippe734:
Performance menu ?

Hello,

I am using the build snapshot. The "performance" menu is missing instead of to be present and next to the "development options" menu.

In a nightly build, is there the "Performance" menu ? If so, could you please share a screenshot of the options in the performance menu ?

Where is the performance menu ?

Thank you !
[Galaxy S II Original Android Development] Klaerchen:
In settings/battery.
[Galaxy S II Original Android Development] Sercan Ali:
Yeap shuts down suddenly but the battery is not empty indeed.
[Galaxy S II Original Android Development] hwasdin:
Hello - i have 2 questions about CM 12.1

1) Is MMS problem solved? (without installing other sms/mms apk)

2) I saw on YT that some people on CM 12.1 on Power Menu (holding POwer Button) got "Silent Icon" (standardly there are only 4: none/star/vibration/loud) ... Any idea how to make the 5th one?

/Thanks for any help
[Galaxy S II Original Android Development] ahmadabumaizer:
Has anyone realised that there are some apps that after launching the phone the phone can't see the internal memory at all like applock (when trying to guide images or videos) or tube

---------- Post added at 02:07 PM ---------- Previous post was at 01:40 PM ----------

Just to ask fusion rom is a cm based rom that hasent been updated for a while i was wondering if i could keep the cm base updated using cyandelta
[Galaxy S II Original Android Development] daniu:
Hi,

Lanchon says we should discuss trim in the trim thread but imo we should discuss inclusion of trim patch in official cm12.1 in here.

As far as I understand there is way smaller risk to destroy a device with trim than without. There is no proven bricked device through trim and generally there is a very low number of bricked devices at all. If I understand it correctly even Samsung readded trim(?)

I would definitely vote for the trim patch to be added to official cm12.1! I think the people who oppose the patch will soon die out due to broken devices because they never trim!

So pleas Lysergic Acid: give us trim as a standard as many other devices have already.

Best regards

Sent from my x-phone using brain 2.0
[Galaxy S II Original Android Development] Kevin3014:
Trim, the necessary evil. :p

I agree with you, my phone has the superbrick bug, and I flashed TRIM kernel without knowing there's a possibility of bricking the device, but it didn't brick mine. Lanchon confirmed that it's safe to use his TRIM kernel on phones with superbrick bug.

S2 has lasted for a long, long time, if someone utterly unlucky bricks it, it's time for them to buy a new device anyway.
[Galaxy S II Original Android Development] Lanchon:
oh sorry, i just asked guys not to discuss my trim kernel in the isorec recovery thread. didnt mean anything else.

so far there is one report of dead device with trim:

-first report in 2+ years of trim.

-it had the most common of emmcs and firmwares around, the one most people on trim have. it works fine for everybody else.

-the brick symptoms (no bootloader splash) are compatible with complete emmc failure. brickbugged devices usually load the bootloader.

-there are countless reports of S2's dying of old age with the same symptoms, that were never trimmed.

it very much seems to be completely unrelated, that is all i can say.
[Galaxy S II Original Android Development] daniu:
Hi

I want to add the important fact that a trim enabled kernel does not trim anything automatically - so I don't see any reason not to make that standard.

People who don't want trim just don't need to trim.

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Original Android Development] the.gangster:
We had this discussions already. And according to Lanchon it cannot be generally said so.
[Galaxy S II Original Android Development] DevisG79:
That is the best and simple reason why trim should be merged in to official cm12.1 Kernel
[Galaxy S II Original Android Development] daniu:
What cannot generally be said?

Theoretically a star can suddenly drop from the sky and kill you. Of course Lanchon will not take the responsibility that trim will not kill your device - who would? I guys not even in the US you could go to court against some xda developer ...

But fact is: if you do not want to trim you don't need to even your kernel is able to ... so why oppose it. However as long as trim is not enabled in cm standard we need someone to make extra kernels or use old ones with trim if we want to use it.

Plus: don't forget that not trimming causes damage to your memory. So I think it is more responsible to add trim than not to add it ...

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Original Android Development] Dark1Angel:
+the same can be said about rooting. you can as well brick your device by messing with it without knowing what you're doing so what, now we disapprove rooting? well, it's not the same thing, but you undersand what I mean. It's like I can't buy knives because I might kill someone with it. by enabling trim you just offer the possibility, you don't force anyone to use it.
[Galaxy S II Original Android Development] Lanchon:
i responded to this twice in the last week. yes, android user space can and generally does trim by itself due to several possible mechanisms.

nobody here is opposing trim. (well maybe one guy.) the issue is that it's not getting merged. LA doesnt dare but to escalate, and i dont think nobody above him has any recent experience with the i9100. so it'll just linger there for no good reason.
[Galaxy S II Original Android Development] ahmadabumaizer:
Lanchon LA could u guys pleeeeeeaaase reply

---------- Post added at 08:23 PM ---------- Previous post was at 08:21 PM ----------

Ow i ment itube

---------- Post added at 08:24 PM ---------- Previous post was at 08:23 PM ----------
[Galaxy S II Original Android Development] makix13:
IMHO I think from cyanogenmod point of view, a way to avoid problems with users that can take advantage of super Brick bug. Someone with an old broken s2 can said:"hey I install CM 12.1 with official trim and kills my new phone(ironic mode on) ".

I think all of us are happy with trimm( Lanchon Master), and for sure LA try to include in the rom but no one in CM want.

One question, is there a mechanism or something similar to try to force cyanogenmod to include trimm patch?

Regards

S2 Cyanogenmod 5.1.1 [official nightly] - Lanchon's kernel isorec - arnab isorec twrp - Xposed [official framework] - Viper4Android
[Galaxy S II Original Android Development] vikas_toad:
Can I use this rom to update from STOCK Official ICS?

There are so many guides available to root ... not sure which one suits me the best?.. any hints?

Lets's say I root using this guide http://xdaforums.com/galaxy-s2/general/guide-root-unroot-stock-ics-firmware-t1501719 and then flash this rom

will that be fine? anything else needed?

thanks
[Galaxy S II Original Android Development] the.gangster:
You got me wrong.

Fact is: I DO want trim support and am NOT opposing it at all.

Theoretically I could simply be one of those people here, that tries hard to do some reading in the correct thread before posting such things. That is, why I already asked Lanchon if trim would take place without beeing triggered manually.

These were the answeres:

And that was why I wrote "it cannot be generally said so."
[Galaxy S II Original Android Development] jojobg:
ROM Firmware Required: Kitkat Compatible Recovery

In your case : http://xdaforums.com/galaxy-s2/orig-development/kernel-clockworkmod-recovery-6-0-2-9-t1118693

Then follow steps from OP and install latest nightly with isorec enabled.

Choose your preferred isorec recovery from here: http://xdaforums.com/galaxy-s2/orig-development/isorec-isolated-recovery-galaxy-s2-t3291176

And you are good to go.
[Galaxy S II Original Android Development] vikas_toad:
umm, lets say flash the TWRP from the OP first,

then root it using http://xdaforums.com/galaxy-s2/general/guide-root-unroot-stock-ics-firmware-t1501719

and then flash the nightly from the OP. will that be fine?

I don't want to include ODIN as much as possible
[Galaxy S II Original Android Development] jojobg:
Err sorry I missed that there was TWRP in the OP.No need to root.Recovery->Installation steps->Once in CM12.1 enable root from developer options.
[Galaxy S II Original Android Development] Kevin3014:
I'm not sure how you're gonna flash TWRP without a custom recovery.

Installing on a phone with no custom recovery/no root? Then...

Download the latest CM 12.1 and Pico Gapps and copy/paste it into your phone's SD Card.

Then download Odin (I used Odin v3.09) and CWM (Kitkat Compatible)

Make sure you have Samsung USB drivers installed on your Windows PC.

Open up Odin, click on AP and select the CWM-KitKatCompatible-i9100.tar file. Connect your phone to your PC

Make sure Auto Reboot and F.Reset time are checked, do not touch anything else.

And click start.

After it's done, your phone will reboot into CWM recovery

Do a factory reset, clear your cache, dalvik cache.

Choose install from sd card, and flash CM 12.1 and gapps.

Don't know if there's a way to bypass Odin.
[Galaxy S II Original Android Development] vikas_toad:
so you mean to say I'll have to do a first flash of custom recovery via ODIN ??

I was thinking to flash TWRP/CWM with the stock recovery as mentioned here http://xdaforums.com/galaxy-s2/general/guide-root-unroot-stock-ics-firmware-t1501719

then do a full wipe,, and then install CM 12
[Galaxy S II Original Android Development] Kevin3014:
I don't know how that works. The stock recovery is basically useless.
[Galaxy S II Original Android Development] vikas_toad:
Umm, I did that, Odin said "pass" and now my s2 won't get ahead of the samsung galaxy s2 -trangle away scree... it flashes once... then again.. and then the screen is compleltely blank ....what happened???

EDIT: MY BAD!

it works wonderfu;;y... realized that my home button was loose and hence was not making the correct key combination...

THANKS!
[Galaxy S II Original Android Development] x3dnd3x:
:o .
[Galaxy S II Original Android Development] Oshi-Tech:
I'm not sure if this is the right place to post this, or if it's related to this issue, but somehow I'm getting an issue for some of my apps to get a "screen off" notification.

What I'm trying to achieve is get my phone to turn off mobile data when the screen goes off. I've tried JuiceDefender (which worked on older versions of Android), the Smart Network Xposed module and using Llama to trigger turn off data when screen goes off.

I suspect there is a lack of notification when the screen goes off. The following is a logcat captured when I'm trying to get Smart Network to turn off data when the screen goes off:

http://chopapp.com/#etm1poux

Alternative link

Also, does anyone know where I can look for all the definitions of the getTasks caller numbers?

e.g.

When I google for it, I'm just getting other people's pastebin but not a definitive list of what number means what.
[Galaxy S II Original Android Development] jt12345:
Which radio are you using with this ROM?

Hi all. Quick question: which radio are you all using with this ROM? I'm using I9100XXMS2 at the moment, but I've also found I9100XXLS9, I9100XXMS3 and I9100XXMS4 which I could flash instead. This ROM seems to be very stable with my current choice, however.

FWIW, I'm running 20160126 nightly and I'm in the UK using the O2 network.

:)
[Galaxy S II Original Android Development] Boolian:
In the UK the modem **LS8 works fine.

The stock modem shipped with Orange network **BVLP7 is a great one too.

I've also run ** MS4, **KH3 and others.

If you're flashing modems - I recommend not flashing the RIL!

Have a read through here to start...

xdaforums.com/galaxy-s2/themes-apps/ref-galaxy-s-2-shipped-modem-collection-t1131950
[Galaxy S II Original Android Development] cherryb8844:
I'm using DDLS9 that comes with stock jellybean I'm in India and using Vodafone work great
[Galaxy S II Original Android Development] BenjyTec:
How can I get a radio? Never knew that it is possible with custom ROM.
[Galaxy S II Original Android Development] Dr AM:
Are you talking about radio fm ?

If yes then get spirit2 app and you'll have it but the app is paid

Sent from my GT-I9100
[Galaxy S II Original Android Development] the.gangster:
That's right, but they are talking about the modem versions here. Not FM radio.
[Galaxy S II Original Android Development] Dr AM:
I know that the first one is talking about radio modems but the last one seemed like talking about fm[emoji14]

Sent from my GT-I9100
[Galaxy S II Original Android Development] Naudiz:
Spirit2 Open is free and available through Fdroid. Should be enough for the basic FM experience.

As for the other radio (Modem), lol: I'm using XXMS4. Never experienced much difference with different modems.
[Galaxy S II Original Android Development] Boolian:
Odd. I flashed 2016-0129 and the last couple of days I woke up to a default stock wallpaper and my 4 persistent apps were off and missing from my notifications pulldown.

Too big a hurry to get out the door for work to grab logs and have a look.

If it happens again I'll get them.

Anyone else had this?