yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Lanchon:
every user that upgrades across major CM versions needs to manually reflash gapps, or else phone pseudo-dies. i think this is a VERY SERIOUS ISSUE with CM and the CM updater, but it's not an issue of i9100.
[Galaxy S II Android Development] lukss12:
I can't understand why they send via OTA an update that probably will break your system. Ok they don't support gapps officially, but in the real world people uses it... At least the update from major android versios should wipe the system.
[Galaxy S II Android Development] abdulhkeem:
anyone having issue applying update in cyanogen recovery i get installation failed when choosing either sdcard 0 or sdcard1 and gapps pico wont install even when i have 5+gb system partition. i tried another cwm recovery the kitkat compatable one and the same issue error code 70

(used sideload via adb)
[Galaxy S II Android Development] Lanchon:
recommend:

1GB /system

6 or 8GB /data

vestigial /preloaf

(see the end of the OP on TRIM for PITs and script)
[Galaxy S II Android Development] Toniccu:
Is there a solution for gapps installation fail?
[Galaxy S II Android Development] Syaani:
Is anyone else getting download failed on browser? Google Play works pretty well though.
[Galaxy S II Android Development] Lanchon:
CM updater should have AT LEAST an option to disable major upgrades!!!! so you set up a phone for a friend he wont break it but still can have updates.

it should notify of major upgrades differently, and it should know whether data wipe is necessary and inform so.

it should detect gapps and refuse to do a major upgrade using the GUI if a) gapps or b) wipe needed

cm updater is a disgrace

---------- Post added at 12:08 PM ---------- Previous post was at 12:06 PM ----------

oh jeez, it started... brace yourself!!!
[Galaxy S II Android Development] kudos1uk:
Yes agreed a serious CM issue, I'm sure a lot of inexperienced users will be tempted by the M offering in upgrades, they will upgrade and discover that not only do they need gapps but there is in fact no room for it on their device.

Just my view but I think CM are letting their users down by offering an update that in reality can't be used on their phones, I know the argument is that CM is independent of gapps and Google but in reality they have to coexist.

It's a shame a warning can't be included to tell users they need to repit before updating, at least they can then repit with a fully working phone on 12.1 without having to do an emergency repit with a partially working phone on 13.
[Galaxy S II Android Development] blackb00m:
Guys, I'm sorry for such a stupid question

But is there a solution for a problem when my phone contents isn't visible in Windows Explorer?
[Galaxy S II Android Development] Lanchon:
i wanted to have a flashable repitter that spares data ready for this occasion, it would only take me a few hours, but i'm too busy now and the switch to CM13 didn't wait.
[Galaxy S II Android Development] rqzheng2008:
I still can't figured out how to flash twrp recovery for cm13 after reading the thread you gave. In my case, i just flashed alpha #6 yesterday, and i face the installation error while flashing the official nightly builds zip on sdcard, or at the inner memory. Both are failed, so can u tell me where to get a twrp recovery and how to flash in ? By odin? Thanks for your help!!!
[Galaxy S II Android Development] akiwiz:
Anyone got viper4android to work?
[Galaxy S II Android Development] j1gga84:
If the original one does not work because of the selinux state, try this one here instead:

http://xdaforums.com/nexus-6/themes-apps/viper4android-t2952137

:good:

regards
[Galaxy S II Android Development] CHEF-KOCH:
I solved my MTP issue without needed Windows Media Feature pack, just installed the Total Commander ADB Plugin which works and is more than as enough to copy stuff to/from your device. Anyway a shame windows/explorer is not able to handle MTP without external stuff.

Latest version works without troubles, install apk, install driver, reboot, works. XPosed also works well.
[Galaxy S II Android Development] lukss12:
Besides the discussion of gapps, room and pitting. I think this is the real problem, the CM incapability of handling a major update correctly, the way they update can break your phone, even without gapss... Any modification on system (some apk, even xposed) that depens on android major version will break it... On the other hand, when cyanogenmod updater was designed they made it for some class of "experienced" users, nowadays there are a lot of people here without any minimum knowledge trying to modify their phones, and if you ask me... I would say, **** them! Here we try to learn and help and I'm tired of this people asking for help as if it is our obligation to waste our time helping because they haven't taken the time to read the full OP. (I'm sorry for those who have friends they helped, but when I modify a friend's phone the first thing I told is "if you ever see the words android and update in the same sentence better you talk to me first") Saying this, if a cappy CM updater makes people understand why xda rules were meant, they can take a thousand years to fix it.
[Galaxy S II Android Development] abdulhkeem:
i have a wierd bug which is some of the sd card (internal one) is missing files in mtp on pc and they appear fine in the cm file manager i extracted the pit file but it wont appear on the mtp but it is there in the file manager.
[Galaxy S II Android Development] gianluca.cecchi:
Hello,

I was able to update from Alpha6 to cm-13.0-20160204-NIGHTLY-i9100 on my test phone gt-i9100p wihout sim, only wifi

OTA update failed in download because of md5 error.

After downloading from web and verifying sha1sum, update from external sd aborted in cm recovery

reboot still in alpha6

copied zip to emulated sd in "Download" directory from file manager (giving root access) and verified sha1sum

reboot in cm recovery of alpha6

wipe cache

applied update selecting from emulated

storage/emulated/0/Download

(during update appeared as /data/media/0/Download)

wipe cache

reboot

all went ok with usual app optimization phase

The only minor thing I notice is the background changed (probably the one in alpha6 doesn't exist anymore and it applied the default one at boot?)

Also the clock widget took 10-15 seconds to load.

going to test more.
[Galaxy S II Android Development] FDiHD:
hi you guys, i have cm12.1 right now,, can someone tell me if its worth upgrading to cm13? what does it have in compare with cm12?
[Galaxy S II Android Development] RYUU23:
Thanks! I'll try it out.

I did the repit 1 GB system 4 GB data one from Dirty Unicorns, i thought that should've done the job.
[Galaxy S II Android Development] pacman7:
[MENTION=5651185]GreekDragon[/MENTION] the Recovery is limited , in the installation of the ROM before leaving the recovery and restart , recovery-Lanchon-IsoRec-CM-6.0.5.1-20160112-i9100.zip flash the file to replace the recovery:

http://xdaforums.com/galaxy-s2/orig-development/isorec-isolated-recovery-galaxy-s2-t3291176

Regards.
[Galaxy S II Android Development] Syaani:
Stay where you are.
[Galaxy S II Android Development] Dr AM:
Much smoother , graphics on games looks sharper , RAM management much better and other android 6 stuff

Its worth to upgrade but wait for tomorrow's nightly as it will have some fixes on mobile data

Sent from my GT-I9100
[Galaxy S II Android Development] Troubadour666:
Hi :)

/storage/self/primary/Pictures/Screenshots

thanks
[Galaxy S II Android Development] Syaani:
Does AdAway work on cm13?
[Galaxy S II Android Development] Troubadour666:
Yesssssss, done :)
[Galaxy S II Android Development] ManuelR9:
Friend, where I can find the latter to put at the end of your message? "(See the end of the OP on TRIM for PIT and script)" ?? Thank you
[Galaxy S II Android Development] Klitoni:
Thank you for your great work, really apreciated !
[Galaxy S II Android Development] carlosfl8:
I just shifted to CM13, so far so good... The only "problem" is that I couldn't install SuperSU to take over my root apps, but I guess it's more down to SuperSU than the ROM itself... Good job!
[Galaxy S II Android Development] Dr AM:
Yes , I use adaway 3.1 and it does work perfectly

Sent from my GT-I9100
[Galaxy S II Android Development] Toniccu:
Ehy man I use custom roms by many years (my english is bad sorry) and I never had an issue like this. Now the cyanogen recovery don't find any files for "apply update". Have you got any solution for this? In the first post is not specified that Cyanogen Recovery of this 13.0 versione has this type of issues...
[Galaxy S II Android Development] Acid0057:
Sorry it's been a long time since I used download mode or Odin. Maybe try the twrp website
[Galaxy S II Android Development] cherryb8844:
Hay sorry for OT

Hello [MENTION=4141005]Lanchon[/MENTION] you are a inventor and discovered the trim for our s2 faster performance and fpbug for some hang on music.

Is their any way to you create or find a way to just flash a zip to reparation the device in only one zip can reparation the device I have already reparation my device I got pit 768sys with small preload from your trim OP .

The reparation zip will allow the noobs or newbie user to reparation the device easily

Otherwise there is a method someone posted and created teparation device via flashing zip but the method is really so hard to understanding by newbies like me

I mean only one flashable zip that reparation the device.
[Galaxy S II Android Development] Acid0057:
You're welcome
[Galaxy S II Android Development] lukss12:
[*]CyanogenMod 13 comes with Cyanogen Recovery by default, if you don't like it you can flash alternative recoveries using IsoRec

Just flash the .cpio file in recovery partition

[MENTION=7243829]Toniccu[/MENTION] sorry I was editing the post while you answered.

EDIT: at your point, it will be easier to flash twrp with odin and flash isorec + rom again

Or you can do the /obb "trick" in CM recovery (i think it still works) but you will need to sign the zip you want to flash

This is explained some posts back
[Galaxy S II Android Development] Toniccu:
Thanks for the reply. The point is not "I don't like it", the point is "doesn't work". Now how can flash the .cpio(.lzo) file?
[Galaxy S II Android Development] Lysergic Acid:
Huge problem there, a friend just noticed me about it. CM recovery is lacking an essential selinux rule to mount the sdcards, really weird too as I cannot allow it on the device tree because it's a neverallow rule. I confirmed the issue when I mounted the sdcards with no problem with permissive selinux.

So for now, I suggest everyone to flash a separated recovery BEFORE installing CM13, or you'll have problems to flash stuff from the recovery.

EDIT: If you're already screwed, your options are sideloading or Odin, sorry.

Regards
[Galaxy S II Android Development] kudos1uk:
Won't selinux switcher do the trick if its fine with permissive?
[Galaxy S II Android Development] abdulhkeem:
[MENTION=6159291]Lysergic Acid[/MENTION]: any fix for gapps? or does it need sd fix first?

a million thanks for continuing the support!
[Galaxy S II Android Development] akiwiz:
Think you but which zip did u flash? Since there are 3 versions n I tried ViperAtoms n it didn't work
[Galaxy S II Android Development] markokrstic:
send me GAPPS for CM13, I cant install any of them
[Galaxy S II Android Development] Lysergic Acid:
If you can get it to work on the recovery, yes :eek:

What do you mean by "fix gapps"?
[Galaxy S II Android Development] rqzheng2008:
Is there any tutorial of sideloading or Odin flashing? Many thanks!!!
[Galaxy S II Android Development] akiwiz:
YouTube should help that, Odin is easier just find a kernel with twrp (.tar file) and flash it using odin
[Galaxy S II Android Development] Fleander:
We can't instal gapps. Status 70

"Insufficient storage space available in System partition".
[Galaxy S II Android Development] akiwiz:
Use a 1gb system pit
[Galaxy S II Android Development] fubo73:
Did you read that you need 1gb of system partition otherwise gapps will not install?

Sent by my SM-G900F, aka Galaxy S5
[Galaxy S II Android Development] franticfreddy:
Anyone knows how to install Chainfire's SuperSU ?

And which version to choose? I tried SuperSU 2.65..

Flashing in recovery dont work, also install with APK

doesnt work, it fails on update su binary :(

Best regards.
[Galaxy S II Android Development] markokrstic:
can you give me a link how to do that?
[Galaxy S II Android Development] fubo73:
My hint is read read read. Lysergic Acid already pointed to Trim post in is signature and other details...
[Galaxy S II Android Development] IonutGherman:
I will try with v2.52. I read somewhere that this version woks with 6.0 but I don't know until I will test it
[Galaxy S II Android Development] markokrstic:
is it really hard to copy paste link and answer? as nopCommerce and Magento 2 developer I answer every day on same questions. If you dont want to give correct answer then dont answer, simple as that. No comment
[Galaxy S II Android Development] fubo73:
There are plenty of users that start playing with what they do not know without even trying to search for info. For example I started looking at this thread today but read all the posts to check for drawbacks. Besides, the same question appears from different users every two/three posts, also if the answer is one or two post before. I had this experience in xposed threads and got very tired of this kind of endless requests...

Do you want a link? Here it is.
[Galaxy S II Android Development] fireburner-de:
Well we would have to search for that Link, too.

Is it really that hard to use the forum search once in a while?

Just my 2 cents.
[Galaxy S II Android Development] zanmisel:
http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162
[Galaxy S II Android Development] :
Recovery

Did I understand correctly that at the moment I flash the nightly zip via TWRP the recovery is replaced with CM recovery that currently cannot flash from sd (int/ext)?

So to flash a next version I first need to reflash a TWRP recovery by ODIN to be able to flash the next nigthly zip from sd?

Or is there any possibility to avoid that the twrp is replaced by cm recovery. Have I missed this while reading?

Thanks!
[Galaxy S II Android Development] Acid0057:
Check out a few posts back for IsoRec. It can get you twrp after flashing cm13 but before rebooting.
[Galaxy S II Android Development] hwasdin:
Hello,

Quick question - how to install zip in CM Recovery? WHen i tap "Apply update" - it says (always) "installation failed" ... But i dont even choose any zip file ... ?

Any ideas?
[Galaxy S II Android Development] :
Hi! Thanks, I missed it because I didn't understand IsoRec.

So if I get the ISoRec explanation correct, I simply flash "recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip" (to keep TWRP) with my current recovery BEFORE I flash CM13. Then when isntalling CM13.zip it will will only replace the Kernel and the ISOlatedRECovery from the "recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip" stays active and isn't replaced by CM recovery.

Correct?
[Galaxy S II Android Development] Acid0057:
You're welcome. Other way around. Flash cm13 first then before rebooting flash the IsoRec twrp file you referenced. Then you'll keep twrp. Don't forget gapps if you want them too.
[Galaxy S II Android Development] GreekDragon:
You will flash recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip AFTER flashing CM13.
[Galaxy S II Android Development] smamow:
here man http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162

EDIT*: ups, delete please
[Galaxy S II Android Development] gordak985:
Came from CM12.1. Finished with flashing and installing of my core apps few moments ago. Working great, as expected. Thank you Lysergic Acid! You are the MAN!
[Galaxy S II Android Development] GreekDragon:
We're famous.:p:p:p
[Galaxy S II Android Development] TeutonJon78:
Great work devs. Is the i777 going to get turned on for CM13 as well, or is there something holding that one back?
[Galaxy S II Android Development] hwasdin:
Another issue ..

After flash - i cannot import any SIM contacts (i had it) - it only shows: "There are no contacts" or "SIM card is empty" . What is more - when i add a few contacts i cannot EXPORT them.

Big problem ... Any ideas?
[Galaxy S II Android Development] BenjyTec:
A flashable zip for repartition already exists, I used it without problems. The whole process isn't that complicated. Here's the link:

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

Edit: Sorry, I just saw that it leaves /system partition untouched, so this doesn't help in our case.
[Galaxy S II Android Development] fireburner-de:
It will work either way! Before and After.
[Galaxy S II Android Development] abdulhkeem:
i posted before on a previous page i have 5gb for system and still having the error 70 i tried the smallest 3 open gapps available to no avail :(

i even installed twrp and wiped all partitions and installed the rom from my external sd and it is the same error.
[Galaxy S II Android Development] fireburner-de:
Are you sure, that you have 5GB on /system and not /data?

Maybe post output of "df" from Terminal, and we will see your /system size.
[Galaxy S II Android Development] Lani007:
can you help me i cant to flash

installation aborted
[Galaxy S II Android Development] :
Thanks a lot. This sounds like if it (the IsoRec) was flashed once, it will stay sticky forever. (resp. as long as a IsoRec compliant Kernel is in a Rom package) So I only need to flash it before/after I flash CM13 the first time (without rebooting in between) , from there onwards any further CM13 update will never exchange the recovery again? That sounds very comfortable if true.

Gesendet von meinem GT-P5210 mit Tapatalk
[Galaxy S II Android Development] fireburner-de:
Exactly!
[Galaxy S II Android Development] :
Thanks for your patience & support, really very clear now.

Never thought that MM makes it to S2.

Gesendet von meinem GT-P5210 mit Tapatalk
[Galaxy S II Android Development] abdulhkeem:
i did this way back when i had stock jb.

terminal emulator image attached
[Galaxy S II Android Development] Draky50110:
So if I sum up : to come from any other ROM before, we should :

- re-pit to 1GB/4GB (more than stock)

- boot to a recovery (any)

- flash CM13

- flash IsoRec TWRP by arnab

- reboot

Is all ok ?

Maybe should be written in 1st post if ok.
[Galaxy S II Android Development] daniu:
Hi

Browsing through the last pages it seems M has yet the following problems or unanswered questions

-which supersu works? Or does the stock version work properly?

-recovery does not work properly (needs isorec)

-needs repited partitions (1gb system) if you want gapps

Then I wonder:

-does xposed work properly?

-any way to trim?

Did not really find any list with open issues - where did I miss that?

Quite surprised that cm shifted to m and abandons l so fast ... normally I love to be up to date but this one seems to be quite early. Not sure I really want that on my only smartphone ... And I think the posts by even less experienced users than me proof that it is a good idea to wait a bit longer until shifting to m

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] Dr.Fix:
Since I cannot flash anything from cm recovery (operation aborted trying to access any sdcard!) could anybody point me to a odin flashable compatible twrp? Thanks
[Galaxy S II Android Development] franticfreddy:
After re-pit dont forget to format all affected partitions / blocks.

And then, yes thats the right way to go :)

Best regards.
[Galaxy S II Android Development] abdulhkeem:
forgot toquote: -)

reply above.
[Galaxy S II Android Development] Draky50110:
And so, after all IsoRec operation, CM13 flashing and so, will OTA works directly or ?

Or we need to flash through TWRP each nightly + ISOREC just after ?
[Galaxy S II Android Development] Dark1Angel:
[MENTION=6159291]Lysergic Acid[/MENTION] you should(if you have time) add to the first post that repitting is mandatory and maybe a link, 2 + link to isorec kernel(i suppose the one included doesn't have trim so i'd have to flash the kernel too if i want it)+recovery and all other basic requirements and steps so that this thread not be filled with the same questions over and over.
[Galaxy S II Android Development] fireburner-de:
Well you have still stock /system partition size with 512MB. You only increased your /data partition to 6GB.

Means, you need to flash a pit with 1GB for /system to get CM13 + GApps to work.

Well, the point is, that CM Team considers CM independent of Google, thus they do not support GApps. Which means for CM Team our S2 does not need repit, as CM13 fits.

Though, you are right, most users use GApps and therefore run into problems, if they are still on stock /system.
[Galaxy S II Android Development] abdulhkeem:
so yeah now i know i had changed the data and not the system partition sigh

back to repartitioning again

do you have any thread to create a zip to repartition or do you recomend i stick to odin
[Galaxy S II Android Development] Dr.Fix:
Well I followed the guide in the OP, even if I already had partitioned I cannot flash anything from recovery, nor I cannot install isorec twrp... I cannot find anywhere a link with a compatible odin twrp to use.. please help me!
[Galaxy S II Android Development] fubo73:
I solved using the TWRP from here. I used 1GB+6GB, everything finally worked and have CM13+gapps up and running.

[MENTION=6159291]Lysergic Acid[/MENTION]: on AFH I cannot find any Kernel with TRIM enabled. Is TRIM embedded in CM13?
[Galaxy S II Android Development] MagMerlin:
Hello i'm new and noob lol. Before all Thanks for the great work, specially to LA and his closer co-workers.

i'm coming from build fixing sdcard posted here before alpha 6. I received OTA update, now i have CM recovery, is safe doing update OTA without isorec and repit?
[Galaxy S II Android Development] abdulhkeem:
no you will need pit and isorec
[Galaxy S II Android Development] Dr.Fix:
I tried it and now my phone doesn't boot in CM13 anymore... samsung logo and black screen!!

What could I do now?

I'll try flashing isorec TWRP from current TWRP and then CM13 again..
[Galaxy S II Android Development] vaxu:
I found the pit files for ...

... here:

http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162

But I found nothing in the thread for vestigial. Is there any summarize or explanation?

I searched the OP up and down. It would be nice, if the recommendations with link would be added to de OP.

Thanks!
[Galaxy S II Android Development] akiwiz:
Did it work? Ver 2.46 from playstore and flashing zip from recovery doesn't work
[Galaxy S II Android Development] franticfreddy:
Now i have tested several versions of Chainfire's SuperSU.

There is no version working yet.

I think it has something to do with kernel se policy.

So i think the problem is in the CM13 rom..

Maybe [MENTION=6159291]Lysergic Acid[/MENTION] can fix it or make it compatible

somehow.

EDIT:

I found out, after installed the SuperSU APK and you

click to update su binary in twrp mode, the phone reboots

into TWRP, then flash some zipfile from SuperSU and

then after reboot system it gets bootloop in cm splash screen :(
[Galaxy S II Android Development] Draky50110:
Is this problem in all CM13 (other phones) ?
[Galaxy S II Android Development] Klitoni:
I just finished setting it up

I used 1Gb/4GB pit file

All went smooth and the Rom is super fast and smooth
[Galaxy S II Android Development] franticfreddy:
If you talk about SuperSU - well, for me i just can say that theres no

problem with my S4 (i9505), in combination with CM13 and SuperSU.

I cant test any other CM13, only for S4 (i9505) and S2 (i9100).

Maybe other people can report more? :)

Best regards.
[Galaxy S II Android Development] AskatasunaNexus6p:
The S2 was my first android, that was a few phones ago now working with a rooted Nexus 6P on Pure Nexus ROM.
[Galaxy S II Android Development] Draky50110:
So if no problem with S4+CM13, then the problem is S2+CM13...