yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Dark1Angel:
i installed it but it doesn't appear in the plugin menu. when i press the download button it appears and says it's installed but can't access it
[Galaxy S II Android Development] Saber:
Strange, try this: http://xdaforums.com/showthread.php?t=2524485

Can't test it right now because I'm still on LP :)

Note: Android will say that it is harmful, but it isn't. Google is just very strict when it comes with SELinux changers.

gsstudios
[Galaxy S II Android Development] Dark1Angel:
I'm still on lp too but after i pitted with 768 system and small preload I received error when flashing exposed and I read you said for exposed to work selinux must be on permissive so I want to try it too, though I think i was allways on enforcing and xposed worked

Edit: damn I still get the message "Failed to sysmapfile 'emmc/ xposed....." do you know what that means?
[Galaxy S II Android Development] chrisXL:
Are you on LP? Wich xposed version are you trying to flash?
[Galaxy S II Android Development] _followers_:
xposed-v78.1-sdk22-arm :good:
[Galaxy S II Android Development] chrisXL:
Also v79 is good on LP. Now I'm using v80 on MM.
[Galaxy S II Android Development] Dark1Angel:
can you please give me v79 or v78 sdk22-arm because I can't find it and I wnat to try it

---------- Post added at 06:22 PM ---------- Previous post was at 06:21 PM ----------

xposed-v80-sdk22-arm.zip
[Galaxy S II Android Development] chrisXL:
Here you go

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

Use sdk22 for LP rom and sdk23 for MM.
[Galaxy S II Android Development] andyhers:
FAQ Sugggestions

Hi, thanks for [MENTION=5811506]gsstudios[/MENTION] for spending time to create this thread.

Since even after you made this thread, i still saw many users asking for the same problem.

Hence i want to give you a suggestion, if you don't mind of course, maybe in the FAQ you put a reverse information, so instead you wrote "you must repartition system partition", you could add "if you encounter error 70 while flashing gapps".

I think it would me more "clear" for noobs.

I saw 2 problems that occurs most, that error70 and sdcard0 corrupted.

Cheers

:highfive::highfive:
[Galaxy S II Android Development] andyhers:
maybe it's related to security type ?

wep, wpa, wpa2, and the aes/tkip ? maybe you could try to change to different type of security/encryption
[Galaxy S II Android Development] _followers_:
so u mean its security type but why when im going back to L rom there is no issue about my wifi same security same SSID all same only my ROM have change...i try all M rom but no luck...i already wipe everything, my last option is what if I will only wipe chache and dalvick then flash the M rom, what you do think mate?
[Galaxy S II Android Development] JimboAccy:
Thanks a lot :)

With this guide in the OP and the one youve written about repitting, my S2 phone is now accepting CM13 nightlies and installing them smoothly using lanchons twrp arnab Isorec kernel. Took a while to get it sorted though. I thought I had already flashed a Isorec TWRP kernel and a nightly came out on my first day abroad so I stupidly tried to update it and it failed with a spinny green android belly man logo thing and the message Installing system update and then the phone would just go to a blank screen and restart with no display but I could see it was in a bootloop so had no phone for the majority of the holiday! Oh well it made a nice change :)

I think its because my phone had already been partitioned with the original 8gb data one from metalgearhathaway. I tried the 8gb data file included in your pit zip file attached in your PIT thread but it made no difference - same bootloop so reparted it with the 1gb system 6gb data, flashed lanchons twrp isorec at the same time (using odin) and then mounted and wiped all partitions (apart from my external sd card of course), flashed the nightly I had (which was one a week or so back) and flashed Open GApps mini at the same time, then wiped dalvik and cache and my phone came back :) Since then I have had two nightlies update via the CM Updater and they have both installed perfectly!

Many thanks :good::D

Jimbo
[Galaxy S II Android Development] Saber:
Unfortunately this isn't the root cause for a lot of people. I think there is just something wrong with the wifi driver module on Android Marshmallow, or something related to one of the changes in Android marshmallow that is not allowing our device to connect to some access points.

gsstudios
[Galaxy S II Android Development] Saber:
OP updated with latest information on caller bug in CM13 and some suggestions thanks to [MENTION=7274781]andyhers[/MENTION]

More known issues have also been added to the list.

gsstudios
[Galaxy S II Android Development] _followers_:
thanks mate maybe I'm the only 1 here has this issue with WiFi driver module cuz every M ROM in this S2 forum I have no luck in my fon :crying: so sad...i have to flash now the CM21.1 before flashing CM13 rom or any M rom. :good:
[Galaxy S II Android Development] Kevin3014:
Hope I am asking at the right place, what's the biggest variant of gapps you can flash on an S2 with 1gB /system partition? Tired of flashing pico all the time. :p
[Galaxy S II Android Development] fubo73:
Whatever is NOT in pico, can be installed directly from Play Store. For me all the other variants are relatively useless: I can keep system clean, I can get updates from Store, I can backup/restore with TB as normal apps rather than system apps.

What stops you to install from play store???
[Galaxy S II Android Development] Kevin3014:
The fact that the you can't use the unused space in /system. If I got Chrome installed in /system, then I can save some space in /data and use it to install another app or a large game.
[Galaxy S II Android Development] fubo73:
Do you really need about 450MB (over 13GB)??? What does stops you from get 1GB more from data?
[Galaxy S II Android Development] franticfreddy:
You can move installed apps from playstore in /data, into /system

partition. Just convert them into system apps. Do it by hand

with shell commands or use some tool like Link2SD.

Best regards.
[Galaxy S II Android Development] Kevin3014:
Thanks for all the input, but I would still like to know the largest variant of gapps you could flash. :)

Another problem is, internet bandwidth, if I have a copy of gapps with more apps, then I won't have to manually download them when I flash a custom ROM. Updates are generally smaller than the whole app itself.
[Galaxy S II Android Development] JimboAccy:
After recently (talking last 2 days) repitting, wiping and formatting my S2, I think I can answer that as I was curious to find out the very same thing - with a new shiny 1gb system partition, what would be the biggest Gapp package I could flash successfully and it turned out to be the Mini as the next one up (Full) was only just too big to install after flashing the latest official CM13 nightly at the time as that took up just over half of that 1gb system partition when flashed. I even tried to install the Full Gapp before installing the rom to see if i could somehow get it to fit but it said quite understandably that it couldnt find a build.prop file (ie no ROM flashed).

Hope that helps so that anything in the bigger packages that are not in the Mini that you need, you will have to download. This is the Open Gapps I am talking about as I know there are differing versions...

Jimbo
[Galaxy S II Android Development] Kevin3014:
Just the answer I was looking for! Thanks a lot. I might repartition mine to 1.5gB /system. :fingers-crossed:
[Galaxy S II Android Development] DFurax:
Hey,

I didn't do a factory restet to install CM 13, i went to Cm12.1 to Cm13 just by flashing. No I'm blocked on the boot logo. I did'nt do a backup. What should I do ?

Thanks
[Galaxy S II Android Development] _followers_:
this M rom has no luck for me....i have already wipe everything and then i repit my system again and again but my wifi si connect and disconnect every second maybe i will stay at L rom huhuhuhu :crying:
[Galaxy S II Android Development] s2ing:
i am on cm-13.0-20160218

i want to update to cm-13.0-20160219

i can't use OTA Updater method.

If i use (Manual method ) which is (fslash the new CM and flash isorec recovery and do Wipe cache)), will my settings be deleted?

because it looks like i am formatting my phone!! or the current CM in my phone will know it's just an update?

I don't want to loose any setting with every nightly update!
[Galaxy S II Android Development] maro777:
will not be removed, everything will be
[Galaxy S II Android Development] s2ing:
thanks, I liked the cyandelta program but i don't have google backdoors so manually it is then.
[Galaxy S II Android Development] the.gangster:
Although you got an answere already I think it is not that, what you were really searching for.

Almost nobody considers the fact, that open gapps support a simple config file called ".gapps-config" put next to the zip.

I use that for a long time already and download the full gapps package but as my config tells it what to skip it is not installing everything. So if you spent some minutes to think about it, you can simply install a full package, wait for it to fail with error 70, look at the logfile it writes (also in the same folder as the zip resides in), see the space calculation in there and decide, what to put into the configfile in order to be left out upon GApps installations, reflash it once more with modified configfile and your done!

Simple, but nobody seems to have time to read here. So also nobody reads there.
[Galaxy S II Android Development] JimboAccy:
Spoke too soon by the looks of things. I now cant update any apps from the play store as its says my device has insufficient space. Checked storage and yes its saying the 6gb partition is very nearly full - only a few kb available (unsure why) so will need to think about how to proceed. Might just repit, go back to normal recovery and manually update the nightlies as and when so that I can have an 8gb data partition again..

Jimbo
[Galaxy S II Android Development] DFurax:
UP

Please I can't do anithing, I need some help to unblock my phone.

Thaanks
[Galaxy S II Android Development] Kevin3014:
I read that right after posting my doubt earlier. Coincidence. :laugh:
[Galaxy S II Android Development] falke69:
Thank you very much for your perfect description.

I have successfully updated my phone from 12.1 to 13 step by step according to your detailled description in OP. No problems so long except the known issues.

;)
[Galaxy S II Android Development] Acid0057:
I'd read the original post in this thread and start at stock cyangenmod recovery. Are you able to get into download or recovery mode?
[Galaxy S II Android Development] DFurax:
Thanks for your answer, yes I can go in the recovery and the download mode. What do you advise me ?

Ty
[Galaxy S II Android Development] Acid0057:
You're welcome. If it's Cyanogenmod Recovery then read the part in the original post about switching to cwm or twrp recovery. Then follow the steps to install cm13 also in the original post in this thread.
[Galaxy S II Android Development] orava:
I have installed 18.2 CM13 nighlty build and set it up (installed gapps, xposed etc) and the question is, what is the best way to update for example from 18.2 -> 19.2 build. I quess best option is to download it via OTA (about phone -> cyanogenmod updates) and then boot to recovery and install it there. But will I lose xposed and gapps? Do I need to install both again after every update? And after update, is there any wipe (dalvik?) what needs to be done?
[Galaxy S II Android Development] Acid0057:
Going from one nightly to a newer one on the same cm version say 13 is fine without and wipes. You don't need to install gapps again. Their auto backed up. Not sure about xposed haven't used it in a while. You can always check the xposed app after install and reboot.

Right now it's recommended to download directly from the cyangenmod site http://download.cyanogenmod.com look for i9100 international. Download and then check the sha1 checksum. I use hashstamp in the Play Store.

Then reboot to recovery and flash to update. It's described in more detail in the original post in this thread.
[Galaxy S II Android Development] DFurax:
So I did it, CM is working thanks, but I can't install the Gapp, i donwloaded and flashed "open_gapps-arm-6.0-nano-20160220.zip" but in my recovery (cmw 6.0.1) I have an error code "Installation Aborted" code 6. What should I do ?

Thanks dude
[Galaxy S II Android Development] the.gangster:
[MENTION=7110457]DFurax[/MENTION]

Read here and you'll know.
[Galaxy S II Android Development] Acid0057:
Have you repartitioned? It's required with cm13. Also detailed in the original post here
[Galaxy S II Android Development] the.gangster:
[MENTION=5173535]Acid0057[/MENTION]

error #6 has nothing to do with space/partitioning. (It is due to CWM 6.0.1 beeing incompatible)

Maybe you also take a look at the link I posted above.
[Galaxy S II Android Development] Acid0057:
[MENTION=6560258]the.gangster[/MENTION] thanks! We posted at the same time.
[Galaxy S II Android Development] DFurax:
How can I repartition ? I searched, but, is it in the recovery ?

Thanks

I read the article, and I'm not on TWRP, is it the problem ?
[Galaxy S II Android Development] PhoenixNZ:
Your only option is to read the OP. carefully and follow those instructions to get TWRP loaded so you can resize the system partition
[Galaxy S II Android Development] :
[MENTION=5811506]gsstudios[/MENTION]

Just an idea, feel free to ignore this is you feel it isn't needed, but - In th OP, you could add a small explanation about common partition sizes. From what I'm regularly reading from newer users, there is some confusion over which pit files they need(many users complaining about using a 3gb or 4gb pit file, thinking that this is the /system partiton). Even just a small warning to explain that pit files that enlarge /system are rarely above 1gb for /system etc......

Then again, who reads these days :D
[Galaxy S II Android Development] DFurax:
I found the right version of TWRP, I also found how to repartitioned on TWRP, but it seems that it's only work for sd card. Should I repartitioned my sd card to install gapp ?

Thanks
[Galaxy S II Android Development] morv01:
OP is the first post in the thread.
[Galaxy S II Android Development] the.gangster:
For error #6 in GApps: no, you are simply on outdated CWM.

But switching to TWRP will also fix it and ensure that your other steps can be taken.
[Galaxy S II Android Development] fubo73:
[MENTION=5811506]gsstudios[/MENTION]: in update to a new CM13 section, there is no mention if gapps must be reflashed or not. For example, I usually flash (in order): new CM13, new gapps, kernel with isorec+trim, xposed. Recovery is not needed anymore as CM13 is already isorec compatible.
[Galaxy S II Android Development] laserkater:
Reflashing GApps is only needed when moving to a new major version, e.g. 12.1 to 13.

Not needed when updating nightlies or other small updates of the same Android version.
[Galaxy S II Android Development] fubo73:
Thanks. I was thinking that an update was formatting /system. Instead, it does not, rather it overwrites files. Kernel is needed as the one from CM is not trim compatible. What about xposed?
[Galaxy S II Android Development] chrisXL:
Xposed needs re-flash
[Galaxy S II Android Development] the.gangster:
Just a few comments on the recent posts:

Flash formats system?

ROM updates are written blockwise to the system partition and the latter gets expanded afterwards again to its actual size. So everything that is not backed up by addon.d-scripts needs to be reflashed. GApps are backed up that way already. So for xposed it should be possible to write a backup-script, too.

GApps on Nightly flash?

True: it's not necessary to reflash GApps with each Nightly, BUT that way GApps will use space in system and in data partition if they are updated thru playstore. The bigger your GApps package the more space is wasted that way. So it makes sense to update GApps with new GApps package in recovery, rather than in Playstore.
[Galaxy S II Android Development] fubo73:
A curiosity: imagine I installed gapps version x (in system). After some days there is an update coming from PS to version x+1: this will be put in data partition. After some more days, I decide to update CM13 and also gapps, that meanwhile reached version x+2. What would it happen? Will version x+1 be removed from data? Which gapps will be started?
[Galaxy S II Android Development] the.gangster:
[MENTION=660982]fubo73[/MENTION]

Yes

X+2
[Galaxy S II Android Development] CplBasti:
I'm having a problem: I'm not new to flashing my device, but even though I followed the steps to install the ROM closely, whenever I go now with flashed CM13 recovery into the recovery mode to flash the new nightly, it aborts as soon as I press Install Update.

I already re-flashed the CM13 Isorec recovery with Odin, but it didnt work. Any advice?
[Galaxy S II Android Development] the.gangster:
[MENTION=6377529]CplBasti[/MENTION]

if you had followed the steps closely you would have had an isorec recovery already right away.

So read post 1. I recommend the terminal method (method 3) to copy it now.
[Galaxy S II Android Development] Putzifisch:
s2 - updated-dead

Hey Guys,

In use:

Samsung S2 i9100 (Germany)

CM 12.1 (offical-nightlies)

ClockWorkMod ROM

What happend?

I downloaded an update. By mistake it was the new CM13 Version. Now.

It is almost completly dead:

1. Does not start (no calble): Android, Recovery Mode, Downloadmode

2. Connected to power: Loading Symbol > stucked grey battery. normal/recovery mode still don't work. But download-mode works!

3. Connected to Computer: Win7(64-bit) does not connect drivers with device > unknown device > no connection to odin

Whats next? Can I fix it?

Cheers Putzifisch
[Galaxy S II Android Development] morv01:
Hi, yes, you can fix it. I had the same problem. Read the first post in this thread, that will bring some light.
[Galaxy S II Android Development] Putzifisch:
Well, did I miss anything.

Read, got it. But still fu**ed.

Suggestions:

1. ADB Sideload Method (requires PC) > can't enter recovery mode

2. ODIN method (requires PC) > Win7 doesn't get s2 connection

3. Terminal method (Doesn't require PC) > would be preferable, but how can I enter the terminal? (recovery, win7, normal boot: all don't work)

Cheers
[Galaxy S II Android Development] Acid0057:
Sorry for the late reply but you'll have to get download mode working or you'll have a hard brick. Maybe try a different USB port or cable. Also check that the drivers are installed properly.
[Galaxy S II Android Development] Dobber_S:
Hey [MENTION=5811506]gsstudios[/MENTION],

You probably already know, but next time you update your OP you can modify the Q&A about trim and possibly also add info about trimmer app.

Horray!! :D
[Galaxy S II Android Development] Saber:
Done.

As for other changes, I've added a little statement about F2FS in the issues post.

Sorry guys that I can't keep this thread up to date frequently, I've been busy with life lately :)

gsstudios
[Galaxy S II Android Development] sdoc96:
Hi guys.

Used this and LA's guide to fix and upgrade after getting caught with the nightlies thing. Worked great, thanks to all.

13 has been excellent until today.

Was doing a TWRP backup to get ready to go to the new nightlies, and after a reboot trying to connect to a crappy pc in TWRP, got stuck in the dreaded grey battery loop.

I can get to download, but not recovery. Tried flashing the Odin flashable kernal again (the 12.1 version from the first post of this thread, which was successful), but still can't get to recovery.

I've been doing a fair amount of searching for a safe method to fix the recovery, but my google-fu/xda-fu must be down today.

Could anyone be kind enough to offer some advice please? Would be greatly appreciated, rather than blasting over it with roms.

EDIT: Decided to try an older CWM tar (CWM-KitKatCompatible-i9100.tar) recovery and managed to get into that now, but still having some trouble re-flashing the "recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip" file from CWM. After flashing without errors, I reboot recovery from CWM and CWM recovery comes back, which seems odd. I'll keep fudging until I brick or fix and report back.

EDIT2: Installing different CWM versions seems to take hold and reboots to the specific recovery, but still no luck getting TWRP to hold on. Any clues welcome.

EDIT3: Could not install the Lanchon IsoRec CWM 6.0.5.1 (would always seem to restart with 6.0.4.7) so decided to take the plunge and install a CM nightly (20160307) after full factory reset, wipe everything. It seems to have worked and after the system came up, I rebooted back to 6.0.4.7 recovery, installed 6.0.5.1, which worked, then installed Lanchon TWRP 2.8.7.0 which worked.

Back and running. Thanks for reading! :)
[Galaxy S II Android Development] stravol:
Hi Guys,

I have the same issue that Putzifisch.

Did update from CM 12.1 to 13 via OTA

I can't enter recovery mode

Only download mode is working but Odin doesnt recognize my phone.

I tried on different cables and ports, even different windows versions, any other phone is working but not my GT-9100

I checked and even installed drivers again.

I know I`m noob but could you please help me I read original post but I can not do anything with my phone at this moment.

Thank you in advance for help.
[Galaxy S II Android Development] arnab:
First go to device manager and see if its detected or not... Also try it in heimdall in linux.. Its odin equivalent in linux.
[Galaxy S II Android Development] the.gangster:
[MENTION=7328097]stravol[/MENTION]

if you have done all the proposed steps that were given to you here and in the other thread, and if you still don't get it to run, you can also search for "usb sub board" in the CM12 or CM13 threads. If you feel, one of the descriptions match (what I'd expect), buy a new usb sub board on ebay (check the revision of your's first) and you should get it detected again.
[Galaxy S II Android Development] rolves1899:
Hey , i havent been around for 3 weeks. Im using CM13 2016/02/19 nightly. I had to repartition my phone to flash gapps . Is there anything new ? do i still need repartition ? And after that can i update with OTA?

Edit: Can anyone explain this https://github.com/Lanchon/REPIT ? What should i do with it ? Just download .zip file and flash it with recovery ? I just need to flash gapps properly nothing else :)
[Galaxy S II Android Development] laserkater:
If you already partitioned (that means your /system partition is bigger than the default 512 MB), you do not have to partition again. Updating via OTA should be possible.
[Galaxy S II Android Development] fireburner-de:
On the page, you linked, everything is explained in detail.

And as [MENTION=6921696]laserkater[/MENTION] said, if you have already partitioned, you do not this repit tool.
[Galaxy S II Android Development] rolves1899:
Thx everyone for help . partition done, everything is ok :)
[Galaxy S II Android Development] yasserelshafeey:
Stock ROM

I am new here you said thats not working for stock ROM i am on rooted stock ROM and need to update to cm13 is there any guides for that?
[Galaxy S II Android Development] todonormal:
Thanks for your excellent guide. I have questions: what it's trim? what it's f2fs? what it's the last lanchon kernel?
[Galaxy S II Android Development] arnab:
Are u aware of the phenomenon known as googling.. It came from google... In case u dnt knw what is google...its 100 zeros after any digit number.
[Galaxy S II Android Development] med med:
I have cm13, but when i flash gapps, google services and google play not working. I have galaxy s2 gti9100

Help. And sorry for languge.
[Galaxy S II Android Development] fireburner-de:
Please read post #1!

And if your language is not sufficient enough for understanding this post, search for an android board in your language or get someone to translate it foe you.