yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] chusebizen:
Which the DPI size you have? As far as I know, lower than 200 causes this issue.

Hope this will help
[Galaxy S II Android Development] Acid0057:
Also if dpi doesn't fix it, try clearing data of the contacts app and storage.
[Galaxy S II Android Development] iistoryahi:
And make sure you've check the permission
[Galaxy S II Android Development] Sub_Zero2:
Greeetings all cyanogenmod fans, developers, and testers. This is a tribute to the best custom mod in this world, and [MENTION=6159291]Lysergic Acid[/MENTION] - the maintainer of this powerful device.... Keep up the good work, and NEVER give up!!! Cm14 is also coming!! Cheers all!!;;
[Galaxy S II Android Development] kripget:
thanks sir chusebizen! currently my dpi is 180. so that's why

thanks sir chusebizen! current dpi is 180

---------- Post added at 11:18 AM ---------- Previous post was at 11:13 AM ----------

Thanks everyone
[Galaxy S II Android Development] vaxu:
Hi, I have updated from CM12 to the 2016-10-15 build. Works fine so far. Thanks for that. :)

There is only a little more battery drain, but this isn't a major problem.
[Galaxy S II Android Development] psg:
Hi

I install gapps nano. How to enable SWYPE (gesture typing) in CM13 (i9100 phone + CM13 samsung S7 theme)

I enabled this option in keyboard settings but swypw writing not works (voice typing works ok).
[Galaxy S II Android Development] mirhl:
I have some theories...

Could it be we have some difficulties with external cards that have some special partitioning?

I dunno wherever my micro sd came from (a Wii perhaps?) but fdisk shows it has like 4 partitions with "different physical/logical beginnings".

Desktop linux, Windows and Apolo-7.3_OM_Regular-TWRP recovery have no problems seeing the fat64 partition anyway.

I attached the first few MB of the disk dd dump.

EDIT: I had reported this on late CM jira under issue CYAN-8171
[Galaxy S II Android Development] heleneh:
After struggeling with old CM13 updates I installed the current version after full wipe. Now I want to repatition it with Lanchon REPIT but it stops with error:

No space left on device while trying to resize /dev/block/mmcblk0p9 Please run 'e2fsck -fy /dev/block/mmcblk0p9' to fix the filesystem after the aborted resize operation

Attached the recovery.log

Doesn't Lanchon REPIT work anymore?
[Galaxy S II Android Development] the.gangster:
[MENTION=6892485]heleneh[/MENTION]

Wrong thread. Post there instead.

But to solve your problem:

You configured repit to resize system to 1gb and to keep the contents while your system partition is currently holding 1.2gb already.

So read the readme for option to either wipe on repit (faster anyway) or change the sizes.

And you are using an outdated version anyway.
[Galaxy S II Android Development] imsubhu:
Null IMEI and Baseband

Help Needed !!!

Null IMEI and Baseband . How can i fix and Repair Null IMEI on Samsung Galaxy S II I9100 . [IMG="Null IMEI"]https://dl.dropboxusercontent.com/u/97974323/Screenshot_20161022-111929.png[/IMG]
[Galaxy S II Android Development] heleneh:
Thanks man! So I won't change it and it will stay as it is.
[Galaxy S II Android Development] todonormal:
I have questions: My S2 have

Now, i install apps (internal storage or samsung sd card automatically) and i move to sdcard0, but, when i install updates, automatically move apps to internal storage. Then, i have what move newly to sdcard0

What it is better: sdcard0 or SD Samsung card for apps?:confused:

In other order, I found this interesting guide: https://techmagus.ninja/install-link2sd-apps2sd-marshmallow/
[Galaxy S II Android Development] Dr.Fix:
Anybody know why "wireless display" option is missing in screen share? Any way to restore it?
[Galaxy S II Android Development] Shadow Of Leaf:
video rendering error

i use cm13 as a dialy use and it is nice smooth

but when i want to see a video on youtube or another website the video became glitched

so i did some logcats about that

10-22 15:06:33.106 28793-28845/com.android.browser E/chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderCompositor-0x49abd190]GL ERROR :GL_INVALID_OPERATION : ScopedTextureBinder::ctor: <- error from previous GL command

10-22 15:06:33.140 28793-28845/com.android.browser E/chromium: [ERROR:logger.cc(46)] Too many GL errors, not reporting any more for this context. use --disable-gl-error-limit to see all errors.

you can see that the problem is in webview

i hope that i help the maintenir Lysergic Acid
[Galaxy S II Android Development] jojobg:
In your case SD Samsung card. The guide is interesting I'm glad that we have finally the link2sd functionality available for M via app but there is already native approach in M check mixed mode sd card from my signature links ;)
[Galaxy S II Android Development] todonormal:
Great. Native aproach it's limited to apps developers, but link2sd it's for all apps... (i think, or not?). Thanks for all :good::good:

NOTE: i am using your guide for partition ;);)
[Galaxy S II Android Development] Andrea900:
No hw support.
[Galaxy S II Android Development] jojobg:
Should be the case. But I'm yet to hit the need for link2sd, and I'm a very heavy user believe me. On L and below I could not lived without Link2sd, but now life is different ;)

Err I though your model is with 64GB, is this an sd card with high percentage on internal part?
[Galaxy S II Android Development] LeBourrin:
Hi. I've tested with my phone and I don't have glitches. I tried a youtube video in Opera browser and Youtube app.

I run CM13 2016-10-12 build with app up to date.
[Galaxy S II Android Development] Shadow Of Leaf:
Yes i don't have problem with youtube or alternative browser

But the native browser have the problem
[Galaxy S II Android Development] DevisG79:
Maybe account options by Google have to be updated. My wife`s phone had an info from google about that in the last few days.
[Galaxy S II Android Development] LeBourrin:
Oh your right, the video is glitched for me too in stock browser.

Fortunately the glitches disappears when you go full screen.
[Galaxy S II Android Development] laptopu:
What's the score with battery life please? I find using the phone eats battery, around 1 to 2 percent a minute just using Firefox or Twitter. Standby not great either. When this happened last time I did a clean install but it's a pita wiping data, that worked for a while then power went downhill again. Happened twice so clean installs only temporarily fixes this for a few weeks, not long term. Using gapps, nothing obvious showing in battery use or wakelocks, any advice please?
[Galaxy S II Android Development] Boolian:
If you don't have a backup of your EFS partition or directory, that's a problem.

However, you could get a generic IMEI by flashing back to stock, flashing a suitable modem ,then re-installing CM13

I had a sudden IMEI problem once which I tracked down to a faulty USB charging port (!) See Here

Other than that, altering IMEI is a bit of a taboo subject, sorry I can't assist more.

---------- Post added at 11:31 PM ---------- Previous post was at 11:07 PM ----------

I'm not suggesting you have a hardware problem, as battery life is a bit poorer with CM13 (IMHO)

But, for those with serious battery issues/shutdowns etc. [MENTION=4141005]Lanchon[/MENTION] (kudos) has a very interesting, short thread Here

It's worth a read. Possibly irrelevent to your problem, but very interesting nonetheless. He gives a simple resistance test to check for a failing capacitor/s

Remember this is an old device now.
[Galaxy S II Android Development] anobaa:
can you guys help me out? im stucked in boot animation after installing cm-13.0-20161021-NIGHTLY-i9100. Tried 20161015, 20161019 but no luck. i tried cm 12 and its working. What ive done:

- repartitioned to I9100_1GB-System_4GB-Data_512MB-Preload using odin.

- wiped everything using cwm

- format to default or ext4

- flash lanchon kernel(kernel-Lanchon-20160406-cm-13.0-i9100), cm then gapps(open_gapps-arm-6.0-pico-20161023) using recovery

but im stucked with boot animation. ive also tried flashing lanchon kernel using odin (kernel-Lanchon-TRIM-IsoRec-20160207-cm-13.0-i9100-for-ODIN)

ive been flashing roms since cm 12 but this is the first time i cant resolve an issue for days. If you guys have 20161001 download link, can you share it to me? That was the last rom i successfully flashed. I hope you can help me guys. Tell me if you need more info. I really love this rom. :):)
[Galaxy S II Android Development] LeBourrin:
Easy! Lanchon kernel is useless. Don't flash it and CM will work
[Galaxy S II Android Development] anobaa:
Tried this. Waited for 30 minutes, still no luck. I'll just have to wipe everything then install cm and gapps right?
[Galaxy S II Android Development] the.gangster:
[MENTION=7817284]anobaa[/MENTION]

as you repartitioned by odin with a pit file: Even if the pit was properly made so that the starting sectors havn't changed for the original-sized Preload partition.

Make sure you have formatted it (ext4). Otherwise it would also explain the problems you currently have.

On the other hand, as you were willing to move to a Custom ROM anyway and as no CM will use it anyway you could also minimize your Preload partition to enlarge either Data or internal SD-card by 504MB this way. Or simply use that tool to format preload. Read its readme to see an explaination of the syntax to use for either case.
[Galaxy S II Android Development] nongio30:
Hi guys, I have an issue with the bluetooth. If I use Aukey BR-C2 receiver (A2DP, HSP, HFP profiles) , it works great for streaming music, but making calls using it doesn't really work. It pairs perfectly, but there is no sound. If I use motorola hs815 (HSP, HFP profiles), I don't have any problem.

I attach two logcat. I am not capable of understanding them.

With the original samsung rom 4.1.2, I didn't have any problem with the akuey.

Any ideas? At least I'd like to know the reason of this different behavior.

Thanks
[Galaxy S II Android Development] bassist82:
hello guys,

I just installed the latest nightly build for my S2 but I dont have root access. Anyone know how to enable it?

thanks
[Galaxy S II Android Development] rpdroky:
Go to settings -> about phone -> tap 7 times the build number -> back to settings --> developer options -> enable root acces :)

Cheers :highfive:
[Galaxy S II Android Development] bassist82:
thank you!!

I enabled the root access and opened the superSU , it asks for an update. I choose to be done through twrp/cwm, the phone restarts in twrp and I can see that installs a zip file but when it finish it restarts and freezes at the boot logo. Any solution??
[Galaxy S II Android Development] Saber:
SuperSU (system mode and not systemless mode) needs the kernel to be in permissive mode. I would recommend leaving SuperSU installation out as the included root manager is sufficient.

Saber.
[Galaxy S II Android Development] gianluca.cecchi:
BTW: out of curiosity on my 24/09 cm13 I have

Settings --> Info

At bottom

SELinux state = Application

If I go into terminal and type

$ getenforce

Enforcing

$

What are the other available mappings in info page?

Permissive = ?

Disabled = ?

Can one change them, eg through terminal with setenforce or from settings page?
[Galaxy S II Android Development] Saber:
You can change to permissive using setenforce or by using a selinux changing app, but I believe it will revert once you reboot. You need to use a permissive kernel (last one was made for a build from long ago) or a ROM that has been compiled to have selinux permissive.

The possible selinux states are enforcing and permissive. Marshmallow requires selinux to be at least permissive to boot.

Saber.
[Galaxy S II Android Development] gianluca.cecchi:
Ok, but suppose I have not a terminal application.

Does the "Application" SELinux state in info page match 1<->1 Enforcing

So that I'm sure I;m in ENnforcing mode? What I would see in info page with a kernel in Permissive mode?
[Galaxy S II Android Development] Saber:
Never seen application mode before. CM13 and other ROMs based on CM13 are set to enforcing by default. It should just say "permissive" if you are on permissive mode in the settings info.

Saber.
[Galaxy S II Android Development] gianluca.cecchi:
I mean what you see from inside settings page.

see here when from the terminal I can see that I'm on Enforcing:
[Galaxy S II Android Development] the.gangster:
[MENTION=5648201]gianluca.cecchi[/MENTION]

why don't you change your displaylanguage to english and check if it's not simply a translation-error?

Or you could flash latest build and see if the issue still exists?
[Galaxy S II Android Development] bassist82:
With this rom (latest build) I have a buzz sound when i open the camera application. is it a bug? also anyone know if I can use the fm radio with this rom? are there any applications from playstore that can use the bult-in radio receiver?
[Galaxy S II Android Development] Teekanne3000:
I have problems with live display. It's active but doesn't do anything. I am on nightly 0910. Does someone know help?

Greetings

Teekanne

Edit: It is gone. I have deaktivate live display, shutdown and started the device and then reaktivate live display. Now it is working again.

Greetings

Teekanne
[Galaxy S II Android Development] Sub_Zero2:
There has been no updates since the 21st of october.... Could this be because our maintainer has no galaxy s2 device?
[Galaxy S II Android Development] p3dboard:
The buzzing is from the auto focus pulsating, touch the screen to focus, it should stop the buzzing. For the radio, Spirit fm 2 radio in the play store is the best, there might be a free version of this on xda somewhere

---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------

I think it's just cyangenmod backend, plus more time is now being spent on cm14 development, so cm13 is more stable, less development being done
[Galaxy S II Android Development] dii86700:
Why not have update for now build wen have change in cm change log all fon hev now update but s2 dont have update mor of 7 days that is becaus dont have s2 development or something else? Sorry for my bad english thanks and thanks for brilliant rom Lysergic Acid ?
[Galaxy S II Android Development] Sub_Zero2:
My general idea is that the maintainer of this device, samsung galaxy s2, does not have a samsung galaxy s2 anymore.... If this is the reason for the lack of updates, then please someone can you donate one for [MENTION=6159291]Lysergic Acid[/MENTION] ? Or borrow him one....? I hope someone has a spare one, because he had to give his s2 to his mother, because she broke her own phone with water....
[Galaxy S II Android Development] jojobg:
If you look at the change log you will see that there are commits. So development continues. What is missing is build which is something else. It is to be expected with the heavy CM14. But don't worry they will kick a build once there is enough critical mass of valid commits ;)

Just my 2 cents on the topic.
[Galaxy S II Android Development] the.gangster:
And if I may add a few cents more:

They are constantly "kicking builds".

The problem is that jenkins (buildbot for the automatic buildprocess) failed to complete for our i9100 at least two times.

once failed with broken pipe and timed out (28.10.16 09:04)

2016-10-28-0904

once timed out (27.10.16 03:02)

2016-10-27-0302

STRIKE THAT: --->

before it now finally succeeded

2016-28-1614

about an hour ago. <---- I PICKED A WRONG DEVICE HERE :(

So new build will be pupblished if you ask me.

No need to bother [MENTION=6159291]Lysergic Acid[/MENTION] with it from my point of view. But feel free to donate him a device to make it easier for him to keep up the developement.

Happy flashing.

EDIT: OOOPS my bad! The last output I grabbed was from another device. Sorry, so we have to wait if next build will succeed, unless someone looks into it before that.
[Galaxy S II Android Development] Sub_Zero2:
He's the maintainer of cm of this device... Ofcourse it's important both for cm13 and cm14 :)
[Galaxy S II Android Development] the.gangster:
[MENTION=1601710]daniu[/MENTION]

But don't throw your s2 away.

Just in case your ZenFone reaches its EOL one day, the i9100 will still be there.

This one would even survive a nuclear war...or two...

;)
[Galaxy S II Android Development] Sub_Zero2:
Are you crazy??

The s2 was way before it's time!!!!

That's why it's still hanging in here with cm13 and cm14!!!!!!

Believe me!!!
[Galaxy S II Android Development] DanielM998:
Just noticed there's a new build, all is good :)
[Galaxy S II Android Development] hwasdin:
Hello guys,

I wanted to flash my CM12 --> CM13.1. So i opened faq and read that i have to repartition my card. Co i download PIT (i use Lanchon method), which i named:

-system=1G-data=6G-sdcard=max++ext4-preload=min+wipe

After entering recovery (i have TWRP) i got Error[1] in which we can read something like this:

FATAL: invalid partition configuration for 'system': system=1G

[ERROR 1]

Any thoughts? It is pretty weird cause i did it as in faq.

Thanks for any help.

/hwasdin
[Galaxy S II Android Development] the.gangster:
[MENTION=7140528]hwasdin[/MENTION]

There is a support-thread for such issues.

Make sure to use latest version as there was a syntax change with latest version and readme refers only to that.
[Galaxy S II Android Development] KaeptnAmerica:
Hanging in the boot animation

Hi people,

I hope I'm in the correct thread. On my SGS II (i9100) I managed to install the TWRP 3.0.2.1 (latest version i found in this forum).

So I can boot to Upload mode and Recovery without any problems.

For the installation i wiped "dalvik", "cache", "system" and "data".

For repartioning I used Heimdall-Suite and set the system to 1GB, data to 6GB and Preload to 512MB. (Was using CM12.1 previously with 1GB-system, 6GB-data and only 45MB preload)

Then started the install of the latest nightly build as of 2016-10-29.

After that I installed OpenGapps 6.0 pico also as of 2016-10-29.

After the installation i checked the contents with the linux-terminal within TWRP (great feature).

At the end I rebootet the phone.

The white Sasmung logo and text appears. Then the blue CyanogenMod logo appears and the white circle behind it keeps pulsating (boot animation)

But the phone is stuck in this situation. It never finished booting. Due to the fact, that i have no logs during this process (maybe this can be archived somehow?) I don't know where to start searching for the problem.

Thats the point where I think you can give me a hint.

In other threads I read about clearing dalvik again solved some problems. Other took out the battery for at least 5 mins.

Of course I tried all of this, and to install an other kernel (kernel-Lanchon-20160406-cm-13.0-i9100) which is IsoRec capable. Tried another nightly of CM13. But nothing helped me. The phone still is not booting.

Previously I have had CM12.1 on the device. There I only got the system to boot with Kernel_Dorimanx-V11.0b006-[16-07]-[28-07]-LP-SGII-GSSTUDIOS-TRIM-signed. All others also stuck in the boot animation loop.

Maybe this is a hint to my problem, unfortunatelly I don't know.

I really will appreciate your help in this situation.

Thanks in advance

CptAmerica

BTW.:Please don't bother me for my english I'm from Austria and not used to write in english. But i hope i can point out my problem.
[Galaxy S II Android Development] TriboDoP:
[MENTION=7828900]KaeptnAmerica[/MENTION]

Have you beeing patient when booting (15 min+) ?

Because i cant see anything wrong in your procedure and your Phone started booting without any error.

Regards
[Galaxy S II Android Development] KaeptnAmerica:
over 50 minutes

Hi [MENTION=7031250]TriboDoP[/MENTION],

due to my searching and reading in the forum, the device tried to boot over 50 minutes without success. I read posts which stated, that the first boot took some time, so I gave it to my device. Unfortunatelly it doesn't ever left the boot animation.
[Galaxy S II Android Development] 0670:
Hi i love your work and you are doing well but i have a question, when will snapshot version relase?( I think this is most question on peoples minds)(i hope very soon :) )
[Galaxy S II Android Development] tominator34:
Gapps

Hy. Its very hard to find good gapps for this version, I am trying but nothing... i select pico from the link but i repeat nothing happens... could anyone help witch one is the best full, mini i dont know..

is there any other way to install from other side not with flashing...? sorry i am amateur..:D:D
[Galaxy S II Android Development] Zarosky:
Resize partitions to install gapps for recoverys
[Galaxy S II Android Development] Teekanne3000:
Hello everyone,

I want to ask what you think about to crowd founding a s2 for lysergic acid?

Greetings

Teekanne
[Galaxy S II Android Development] Gh0strid3r:
Hey guys,

my phone keeps disconnecting from my wifi network at home when it goes to sleep mode although it's supposed to stay connected, even when I'm downloading something. This is only on my phone (tablet works fine) and only at home, it stays connected to other wifi networks. I'm using 1021 nightly but that won't matter since i experienced this issue in every other nightly over the past few months.

Any thoughts on that? Thanks :)
[Galaxy S II Android Development] tominator34:
thanks for idea but with odin i just complicated things.. now computer does not recognize sd card... and i cant upload or do nothing... phone says its all normal sd card internal storage all data in there...

iam confused now...
[Galaxy S II Android Development] cypryan1217:
Which is the best build until now? I want to be stable and the battery life to be good.
[Galaxy S II Android Development] TriboDoP:
Hi

Any Progress in solving your Problem?
[Galaxy S II Android Development] KaeptnAmerica:
Nope, unfortunatelly not :(
[Galaxy S II Android Development] TriboDoP:
having a working recovery i would do it once more including repitting (maybe using recovery and lanchons repitting tool to flash).

Then make a full wipe and install cm 13 and gapps in one go).

The last option of course is to flash original Firmware and stock partition.
[Galaxy S II Android Development] the.gangster:
[MENTION=7828900]KaeptnAmerica[/MENTION]

Most of the time people that repit by Odin or heimdall and change their preload partition forget to format the latter. That leads to inability to mount it and not booting. You didn't explicitly mention it so I just want you to make sure you did.

You could easily repit anyway and resize preload again as spending 512mb on a partition that's not used is wasted space. Lanchon's repit would also able to format it right away...
[Galaxy S II Android Development] franticfreddy:
There had been several discussions in the past about this, and best conclusion for me

was to leave the preload partition at the default size of 512 mb.

In an emergency case you may need to flash the stock rom which isnt fitted

for the modded pitfile with the decreased preload partition size.

Just to be sure to have a noob friendly option to reflash whole stock rom..

I also think youre right with some problems in formatting the changed partitions.

The solution was to use PhilZ touch recovery 6.48.4 for formatting the preload partition.

All other recoverys like CWM 6.0.4.6 had problems formatting it.

[MENTION=7828900]KaeptnAmerica[/MENTION]

I think you need to re-initialize the partitions and format them all (include emmc in twrp recovery , remember to disable mtp while format emmc) immediately when reboot

into recovery the first time after re-pit. After formatting the partitions you may reboot

into recovery again before begin to install cm rom.
[Galaxy S II Android Development] KaeptnAmerica:
[MENTION=7192829]franticfreddy[/MENTION]

Ah OK, the preload partition may be the problem. So I can give it a try to directly format it in the terminal window within TWRP.

Or should I go the "long" way, and format them all?