yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S II Plus] cappoccia:
[MENTION=5999439]GHsR[/MENTION]

Thanks for your effort. It's the best ROM ever flashed on my device! (I've flashed more than 20 roms...)
[Samsung Galaxy S II Plus] rINanDO:
I have uploaded a new build here https://www.androidfilehost.com/?fid=24591000424959303.

Fixes:

* galaxys2plus-common: This device is hdpi

Fixes cm-build.

* galaxys2plus-common: Fix MTP permissions

This fixes storage access via USB and adb logcat

* Kernel: bcmp-chargr: Fix faulty voltage_now value

CM-13.0 has a new charger imported from Cyanogen OS, but voltage_now was reported faulty in apps like "Battery Log"
[Samsung Galaxy S II Plus] elidor90:
So i need just to flash and work or need full wipe?
[Samsung Galaxy S II Plus] rINanDO:
No need for full wipe. Just flash ROM and gapps (optional) afterwards.
[Samsung Galaxy S II Plus] Ext3h:
Something ain't right with that build. Getting graphic glitches on various animated UI elements in the settings app, mostly radio buttons and switches. See screenshot for an example. Another corruption occurred right afterwards to the overlay notification that a screenshot was made, the black background glitched while fading.

Not sure if the image files themselves are damaged, if the flash just went bad, or if something broke when changing the DPI setting. However, it does persist after reboot, and clean reflash.

The corruption randomly occurs on different frames of the animated elements if applications using that graphic are unloaded. Obviously, the corruption is most noticeable if by chance either the first or last frame got damaged. The actual pattern of the corruption changes with every launch of an application using these UI elements.

It only appears to occur with the stock AOSP design. Not when using the "style" from the HexoLibre design.
[Samsung Galaxy S II Plus] rINanDO:
I can't reproduce the issue. Are more users suffering this?
[Samsung Galaxy S II Plus] riannevaplus:
Yes!
[Samsung Galaxy S II Plus] 57DeNiK57:
Try to disable KSM in Kernel Auditor to fix this problem.
[Samsung Galaxy S II Plus] Ext3h:
[MENTION=2222292]rINanDO[/MENTION] There is more wrong with that build: Brightness control isn't working either. Color calibration does work, but neither auto nor manual brightness control works. The brightness is stuck on max.

That's not even active per default on this ROM. But it's interesting, Kernel Adiutor is crashing every few seconds on this build.
[Samsung Galaxy S II Plus] rINanDO:
Thanx for the info. I can reproduce the crash in kernel audiutor and brightness issues. If you find more issues just report them.
[Samsung Galaxy S II Plus] rINanDO:
New build is up! https://www.androidfilehost.com/?fid=24694152805483174. I just resyned cm sources and applied the patches. It seems I had a corrupted build.
[Samsung Galaxy S II Plus] elidor90:
Soo now its ok not havin problems
[Samsung Galaxy S II Plus] jojobg:
At least the graphic glitches have disappeared. But I had experienced SOD on first boot after upgrade for both builds. Did anyone else had the same?
[Samsung Galaxy S II Plus] Ext3h:
Yes.

Currently in progress of performing a clean reflash, but I did encounter multiple SOD today. Well, technically not "SOD", but the usual "SOD while battery drains like crazy" which is typical for this device. Happened while bicycling in the countryside, so definitely no Wifi networks in range which could have caused it.

Let me see if this also happens again after I flashed the newest build on a blank FS.

EDIT1:

And if that doesn't work, another attempt with increasing the minimum core voltage for the lowest clock states. No Kernel with overvolt support for this ROM. Meh, then just deactivate the lowest clock state.

EDIT2:

Nope, at least the graphic corruptions are still there.

EDIT3:

And so is SOD.

EDIT4:

And the ROM has the same bug as GHsR's build, you can't deactivate, or in any way reconfigure zRAM. Attempting to do so just freezes all swap management related tools.
[Samsung Galaxy S II Plus] jojobg:
I stand corrected. Confirm glitches are there.
[MENTION=2222292]rINanDO[/MENTION] - Are these blind builds or you have device to test after you build?
[Samsung Galaxy S II Plus] Ext3h:
[MENTION=2222292]rINanDO[/MENTION] Another app which crashes right on start with your build: https://play.google.com/store/apps/details?id=de.schildbach.oeffi

It did definitely work with GHsR's build. Never mind that. Not your fault. Got to report the bug to the developer of that app.

Too bad, it IS a bug in your build. dex2oat lacks permissions to write oat-Files to the dalvik cache. And the system libraries don't have their caches created properly on install.

The oat files are where they are supposed to be, but they have a version missmatch with the source .jar / .dex files.
[Samsung Galaxy S II Plus] rINanDO:
No blind builds. I have a device to test, but it isn't my primary phone. I see the glitches are still there. I use all the patches and blobs of Ghsr. So it must be something in cm which needs device specific patch.

---------- Post added at 08:30 AM ---------- Previous post was at 08:27 AM ----------

Can you give me a logcat? I installed the app but it starts, so I can't reproduce.
[Samsung Galaxy S II Plus] Ext3h:
Sure, relevant section of logcat is attached. Clean flash of your latest build + yesterdays Open GApps Mini.

Ah, an no, I was mistaken. The cache file is not there, it's missing. I don't get either why it isn't being regenerated after clearing the dalvik cache - every other system library is.
[Samsung Galaxy S II Plus] Ext3h:
[MENTION=2222292]rINanDO[/MENTION] Either my battery is suddenly (and randomly) dying, or the charge logic is also broken now.

When I charge my empty battery to 100%, i actually get the full battery life from the point when it reaches 100%.

But when I plug it in on the evening, and unplug it in the morning, I get that "please unplug" notification - and the battery is already almost drained over night. As if the phone would start running off the battery once it is full?

Right now, I'm sitting here with a fresh unplugged, 13% charged battery. And while I'm in Recovery (or the phone is turned off), I actually get the "charging" animations. Before I shut down your ROM, it claimed "full battery, please unplug" though.
[Samsung Galaxy S II Plus] rINanDO:
Hmm I didn't experienced that this morning.

Can you check with kernel audiutor if your device is entering sleep mode? Sounds like an app is running 100% CPU during charge. Can you also provide a logcat?
[Samsung Galaxy S II Plus] Ext3h:
Hm, it's entering deep sleep now, after deactivating all the "SamsungDoze" gestures you newly added and rebooting.

I will try to get a logcat the next time the device drains too much energy.
[Samsung Galaxy S II Plus] rINanDO:
After clean flash I see the charging icon issue. It shows a full circle with a '?' in it....
[Samsung Galaxy S II Plus] Ext3h:
I guess you should then also be able to reproduce the issues with dex2oat and the google maps lib now.
[Samsung Galaxy S II Plus] rINanDO:
Yes I can reproduce it
[Samsung Galaxy S II Plus] jojobg:
I'll leave you two figure it out, I'm falling back to last GHSR release.

edit: dirty downgrade failed. FYI
[Samsung Galaxy S II Plus] Zkster:
The links are still down for GHSR's builds.. anyone has mirrors of the latest build? (28/7/2016)
[Samsung Galaxy S II Plus] jojobg:
http://www.4shared.com/zip/FXGny0hAba/cm-130-20160728-UNOFFICIAL-i91.html
[Samsung Galaxy S II Plus] promeneur:
can't download file from basketbuild site

since several days i try to download files from basketbuild site.

i only get a page saying "unplanned maintenance ....no ETA".

am i alone in this case ?

thanks
[Samsung Galaxy S II Plus] elidor90:
What are u try to download from there !
[Samsung Galaxy S II Plus] promeneur:
the 6.0.1 cyanogenmod 13 rom
[Samsung Galaxy S II Plus] elidor90:
U have a 4shared link up shared by jojobg and its the last rom of ghsr
[Samsung Galaxy S II Plus] promeneur:
thanks to jojobg to supply the rom
[Samsung Galaxy S II Plus] promeneur:
EAP SIM protocol ?

is WIFI EAP SIM protocol is supplied with this rom ? does it run well ?

i need it with my ISP "Free mobile"

thanks

---------- Post added at 02:10 PM ---------- Previous post was at 01:43 PM ----------

once i copied the rom and gapps to internal sd card it remains 497 MB unused .

is it safe to flash rom when it remains 497 Mo unused in the internal sd card ?
[Samsung Galaxy S II Plus] jojobg:
GHSR builds

Please have in mind that GHSR builds had and still have issues with cm theme engine. Trebuchet FC after applying a theme. Be patient, apply the CM default and perform full reboot. At some point Trebuchet FC stops. For impatient readers you'll need to clean dalvik and cache from recovery and re-register and reconfigure all your programs. For theme usage you'll need to fall back even earlier build from beginning of July or end of June.

As the data recovery of basketbuilds is without ETA, and we want to leave Rinando to fix his new stream of CM 13 builds, let me know if you'll need mirrors of the referred build versions.

P.S. For the newcomers: I'm not a developer!
[Samsung Galaxy S II Plus] elidor90:
About theme engine i have installed and used another theme for.me works fine no problems.. Iam using nexus launcher not trebuchet
[Samsung Galaxy S II Plus] jojobg:
Please test with Trebuchet launcher and report back, it may be due to dirty installations on my side. But I'm sure I've experienced the same with clean flash also.
[Samsung Galaxy S II Plus] elidor90:
Tryed right now applied trebuchet and nougat theme no FC ..opened some app to try and its ok ..a screen shot nougat
[Samsung Galaxy S II Plus] jojobg:
And let the digging begin. Apparently the issue is on my side as I've tested with nova launcher which started FC the moment I've applied a theme.

Just an advice, you should sanitize from privacy data your screenshots before uploading them for public eyes.

Edit: Confirmed. Clean flash did the trick, apparently the first two rinando builds corrupted something.
[Samsung Galaxy S II Plus] elidor90:
Well i have about 2weaks that i have made a clean install on my phone .. About screen u right but i share to help ..
[Samsung Galaxy S II Plus] albrof007:
https://s.basketbuild.com

?????????

some problems !!!!!
[Samsung Galaxy S II Plus] elidor90:
U need help with something?
[Samsung Galaxy S II Plus] promeneur:
hello

i want to make a clean install. i mean from a phone without nothing <=> nothing in the internal sd card and with no external sd card in a first step.

here is the procedure i want to apply:

- shutdown smartphone

- take off the external sd card

- start twrp

- delete all in internal sd card except rom+gapps zip files

- install 6.0.1 rom+gapps

in a second step

i add a new 32 GB external sd card which i format to be a mixed internal-external one:

- 8 GB for extending the internal storage for Apps

- 24 GB for external storage (Documents, Musics, Pictures, Videos)

is this good ?

thanks
[Samsung Galaxy S II Plus] elidor90:
Well u need to put rom and gapps in memory card to flash .. After that the phone will ask u how to use your memory card as internat or external
[Samsung Galaxy S II Plus] promeneur:
thanks

i see that there is a feature in twrp: wipe internal storage.

it means all partitions are wiped but not deleted. it's good enough for me. but is there any danger doing this ? for example if EFS is wiped then this prevents your phone from connecting to any type of mobile network. then i must restore this partition from a backup. is there any other danger?

i see also a feature in twrp: adb sideload: you can with this feature push and install a zip (with md5 checking) in one command then no need to copy rom+gapps to sdcard.

so combination of the 2 features is what i want to made a clean install or is it too much?

note:

to format a mixed sd card i will use method indicated by jojobg in his post page 57 "Long Live Multi-partition SD". do you know any bad side effect ?

thanks

---------- Post added at 01:11 PM ---------- Previous post was at 12:48 PM ----------

can you share also the md5 file? thanks
[Samsung Galaxy S II Plus] jojobg:
Copy ROM and GAPS on internal memory. Wipe without format in TWRP recovery. Install from internal memory. Go as planned.

The tricky part is only if your current Google backup contains more apps than 4Gb, if yes switch steps ;)

Bad sides of mixed mode the same as internal with the complexity of new internal low level feature that not everyone understands fully. And ofcourse data loss of mixed part of SD card if you switch phones or ROMs ;) I don't remember exactly but for instance RR <> CM13 interchangeable without data loss. AOSP <> CM13 based - no go ;) but I may be wrong it was ago when I've used AOSP with mixed mode for tests. Bare in mind that current TWRP for S2+ does not mount internal part of mixed mode SD. That partition is accessible only in OS booted, MTP transfer mode, but still accessible from PC. That's the difference with using EXT4 and Link2SD for example in L and below.

Edit: No MD5 generated sorry. No MD5 downloaded originally.

Edit2: Don't play with EFS without backup file available off phone.

Edit3: Above 4GB for extension based on the same limitation - not every app is movable, is a waste of space that could be used for portable part. I've tried with 75% based on the how to provided. But next time I need to resize my 32Gb will use bigger % for portable. But check with [MENTION=4625416]anastasiszn[/MENTION] if he succeeded to implement his crazy 20Gb internal + 10 GB portable project for Kali.
[Samsung Galaxy S II Plus] albrof007:
Can someone post a mirror, please (due to Basketbuild maintenance)?
[Samsung Galaxy S II Plus] promeneur:
report about installing 6.0.1

thanks to jojobg for its answers.

i installed without pb the 6.0.1

but

i can't connect to a wifi lan. i tried a hotspot, a lan created with my modem-router, the lan created with my PC in wifi access point mode. no success.

- modem-router , pc wifi lan : authentication problem (dhcp in the 2 cases)

- hot spot after the connection i authenticate with the internet explorer with success but android says always you need you need to authenticate. if i fill an url then again the template to authenticate is displayed.

no wifi is a big problem. i am going to restore the stock android.

apart that it is very stable, no crash during several hours.

another thing it's a pity but in the internal sd card many folders and files ares not swiped.

thanks
[Samsung Galaxy S II Plus] jojobg:
Did by any chance you've restored any type of WiFi settings via Titanium or similar app?

No issues on my side, home wpa2 personal, corp. office free with authentication site.
[Samsung Galaxy S II Plus] promeneur:
all the lans (modem-router and pc as AP) are ipv4/ipv6, personal wpa-psk.

compared to the stock android it seems the signal is strong during scanning but weak during authentication. it is not the case for stock android.

for the hotspot it works but you need to wait a long time (1or 2 mn) after authentication that system changes the icon from a triangle with ! to a triangle.

another thing: in contrary of the stock android it does not supply the WIFI EAP SIM protocol.

can you describe how to restore wifi settings from twrp backup to 6.0.1 ?

thanks

---------- Post added at 08:45 AM ---------- Previous post was at 08:22 AM ----------

pc+opensuse x86_64+dongle bt 4.0

with linux you need last version 5.x of the bluetooth libraries and bluedevil if you are in kde environment.

you can pair pc and smartphone.

sending file from pc to phone fails: nothing happens at the phone, no notification, nothing.
[Samsung Galaxy S II Plus] promeneur:
another BT problem.

missing feature: you can't hide the smartphone once it is paired.
[Samsung Galaxy S II Plus] elidor90:
Here u have the lasted build of ghsr uploaded and shared from jojobg

www.4shared.com/zip/FXGny0hAba/cm-130-20160728-UNOFFICIAL-i91.html
[Samsung Galaxy S II Plus] promeneur:
about wifi authentication problem i wonder if it is not a simple problem.

- the ssid of the modem-router and pc ap is something like this : Xy_Za

perhaps it does not like this kind of syntax and maybe it likes something like xyza

- my router supplies wpa(tkip+aes) and wpa(aes+ccmp)

with stock android no problem with those 2 types of security but perhaps 6.0.1 does not like them.

it supplies also wpa(tkip) but it is less secure.

- french wifi settings ? can we access to these settings ?

"Wi-Fi frequency band" choice is on "auto" ?

"Wi-Fi region code" is "France"?

with a wifi analyzer i checked that the wifi channel of the lan is the best one.
[Samsung Galaxy S II Plus] DodoGTA:
Offtopic:

This is awesome ?:
[Samsung Galaxy S II Plus] jojobg:
What exactly is awesome? You could have attached it as thumbnail and I see Duos model may be Grand on it and here is S2+ thread...
[Samsung Galaxy S II Plus] DodoGTA:
That AOSP 7.0 booted on GT-S7582
[Samsung Galaxy S II Plus] jojobg:
Congrats on Trend Plus users for having N ROM :) Now we are jealous ;)
[Samsung Galaxy S II Plus] MMKamal:
Can you provide another mirror plz!
[Samsung Galaxy S II Plus] silentrain94:
nice!
[Samsung Galaxy S II Plus] DodoGTA:
This file is pulled from my box of junk ?:

http://cloud.tapatalk.com/s/57caf5b968d3b/NFC-DESTROYER_LOLLIPOP.zip
[Samsung Galaxy S II Plus] jojobg:
Mirror of what?
[Samsung Galaxy S II Plus] MMKamal:
Mirror for downloading the ROM because BasketBuild is down.
[Samsung Galaxy S II Plus] jojobg:
http://www.4shared.com/zip/FXGny0hAba/cm-130-20160728-UNOFFICIAL-i91.html

You could have searched the thread...
[Samsung Galaxy S II Plus] MMKamal:
Thanks! and will do next time.
[Samsung Galaxy S II Plus] bob8x:
Sry guys, I'm very n00b in samsung world, always had HTC and nexus, and with my N5x which is going to RMA, I have to use my old sister's sg2+ .

The main download is down, so I downloaded from 4shared the rom; the issue now is the custom recovery since it should be SELinux compatible...

On twrp main site I found many version: 2.8.7 both img and tar ( flashable with odin? ) and 3.0.2 only img.

Which version should I flash? ( if .img which is the procedure? )

Thank you.
[Samsung Galaxy S II Plus] Pendragon2000:
I'm currently using 3.0.2-0 twrp recovery. I've found it as zip file, but I don't remember where is. If I found it on my computer , I'll share it.
[Samsung Galaxy S II Plus] jojobg:
TWRP 3.0.2-0 for S2+ mirror: http://www.4shared.com/zip/xRhWYbQVce/twrp-3020-s2vep-20160407.html
[Samsung Galaxy S II Plus] promeneur:
where to find twrp

https://twrp.me/devices/samsunggalaxys2plus.html

and there is a tuto to install it.

for linux users you can follow the tuto with odin but use heimdall instead Odin.

just type this command as normal user:

heimdall flash --RECOVERY twrp-3.0.2-0-s2vep.img --no-reboot
[Samsung Galaxy S II Plus] DJ_FAres:
OT:

Is the Galaxy S2 plus able to read 64gb sd card ?

And wich class is faster class 6 or 10?

F.
[Samsung Galaxy S II Plus] Pendragon2000:
Galaxy s2 plus can read Micro Sd until 64gb and 10 is the faster class.

source: http://goo.gl/YYuU0F
[Samsung Galaxy S II Plus] jojobg:
[MENTION=2222292]rINanDO[/MENTION] - How things are progressing on your side, any luck finding the root causes for the issues detected?
[Samsung Galaxy S II Plus] mostafiz80:
Can i install on GT-i9105 not GT-i9105P.
[Samsung Galaxy S II Plus] Pendragon2000:
yes, but look first post, you need to install a file. Unluckly basket build site is down, so at the moment you can't flash on i1905 device.
[Samsung Galaxy S II Plus] jojobg:
As per the instructions on OP you can ;)
[Samsung Galaxy S II Plus] rINanDO:
I solved the battery issue. But the UI glitches and permissions dex2oat issue with Offi-app remains. I remade my build environment just in case but it has no effect. I don't know what changes in cm causes the glitches. Still searching....
[Samsung Galaxy S II Plus] jojobg:
Thank you for the update. 1 out of 3 down :) 2 to go.

@ All - I'm trying to debug a SOD and High CPU usage freeze and I'm kind of puzzled why there is no last_kmsg for this phone ... Any suggestions are welcomed.
[Samsung Galaxy S II Plus] Lumia520Eg:
links !!!
[Samsung Galaxy S II Plus] jojobg:
Search the thread ...
[Samsung Galaxy S II Plus] Pendragon2000:
http://www.4shared.com/zip/FXGny0hAba/cm-130-20160728-UNOFFICIAL-i91.html
[Samsung Galaxy S II Plus] Lumia520Eg:
thanks guys :cowboy:
[Samsung Galaxy S II Plus] RaulAkaAlaRau:
Hello.

First a BiG thanks to the devs that keeps our devices alive.

I downloaded the 20160916 version from the link and it works awesome but the phone shuts down in the pocket and i dont know why. Its my second phone and its a I9105p.

I installed the CM13 directly over a CM12 with the nano gapps. Maybe this is the issue that makes my phone shut down unexpectedly.

Does anyone encounter this shut down or its just me?

Thanks in advance.
[Samsung Galaxy S II Plus] promeneur:
what's new in 2016 09 16 version?
[Samsung Galaxy S II Plus] jojobg:
Welcome on board, trying to debug this one for more than a month but without /proc/last_kmsg "no way jose" btw it's not an new issue in 16th.

And where the heck did you find 16th build to test on :) just curious.

[MENTION=5999439]GHsR[/MENTION] - Are you building and releasing again?

I wouldn't recommend using this version till one of the developers confirms he'd build it and a change log is received... OTA server works ...
[Samsung Galaxy S II Plus] RaulAkaAlaRau:
I found it in the link to the builds. Should i put the July build instead? Or its same with the shut down issue?
[Samsung Galaxy S II Plus] jojobg:
It's your decision which to keep, the same on 28/07. For the time being, It seems GHsR is working again on S2+, two commits on his github on 15th, and a new build in his basket build on 16th, this time OTA works. So it looks like him, but no change log no nothing else to confirm ... Well actually it's not a shutdown issue. It is SOD most of the times, I experience shutdowns during night on the charger.

New theme stuff merged and etc.
[Samsung Galaxy S II Plus] RaulAkaAlaRau:
What is OTA? Automatic updates?
[Samsung Galaxy S II Plus] jojobg:
Over The Air updates.
[Samsung Galaxy S II Plus] lionboy33:
I'm downloading and going to install the 0916 upload too rn.. It's my second phone anyway

Maybe I can find out anything about the shutdowns
[Samsung Galaxy S II Plus] RaulAkaAlaRau:
I dont know what to look for and help with the shutdowns.

When a new version arrives we will do it OTA and there is a notification for it? Its my 1st build on CM13 and I come from CM12 where wasn't any updates OTA.
[Samsung Galaxy S II Plus] Pendragon2000:
Look on setting>about phone>upgrades (or somethings look this).

Here, you would see if notifications are enabled.
[Samsung Galaxy S II Plus] jojobg:
Yes, default check update cycle is weekly, for my S2 it is twice daily but there we have official nightlys.

Regarding shutdown investigation follow the OP troubleshooting instructions, but as I said ... strangely enough /proc/last_kmsg is no where to be found on this phone ;)
[Samsung Galaxy S II Plus] ap_mnl:
I have the 0916 version and I get no sudden shutdown. Even, I get no issues at all for now.
[Samsung Galaxy S II Plus] jojobg:
Last evening I couldn't stand it anymore so I took a deep breath and did a long round of troubleshooting.

Clean dalvik and cache. Reboot loops upon attempt to download and install update of a software.

Full wipe + format. Reinstall 0916 from scratch. Reboot loops at the end of boot animation.

I was suspecting it but after check of the SD card on PC it seems there were some logical corruptions on the portable part. Fixed them.

After new split of the SD card in Mixed mode and reinstall from scratch, phone behaves properly. Whole working day not a single SOD or freeze or reboot.

My 2 cents for everyone with reboots or SODs or freeze and use SDcard.
[Samsung Galaxy S II Plus] H2Oxide:
I'm having issues getting root permission on this ROM. I've followed this guide to help me install CM 13. I've enabled root permission for apps in the Developer options, but Titanium Backup can't get root access. Any help on this?
[Samsung Galaxy S II Plus] jojobg:
Did you check privacy guard listing just below the setting for root enablement?