yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] MARCOSOFT:
Contact sharing Bluetooth

Please, somebody help me ...

I'm really need the help of the developers.

I'm having trouble with my S2 connection with my Bluetooth car radio. If I have the option to "Contact sharing" active pairing, the S2 disconnects after approximately two minutes, and can not make the turn up again until I turn the car off and on again, and repeat!

If I do not activate the "Contact sharing" on the pairing, then the Bluetooth connection to the radio does not turn off and can receive and make calls by mobile phone, but do not have access to the phone book of the phone in order to call the radio commands!

I tested the rom DU v10.6 and connection already works well, with the exception of network signal, that always has 3 signal lines, when the maximum force is 6 signal lines!

I am a professional driver and this feature is very important to me.

Can you help me solve this problem "Contact sharing"?

Thank you.
[Galaxy S II Android Development] Droidriven:
The "man with a beard", DEC 24th(Christmas eve), connect the dots.

---------- Post added at 08:10 PM ---------- Previous post was at 08:08 PM ----------

I think he's pulling your leg.
[Galaxy S II Android Development] ssanjy:
I too have experienced few lags in other mm based ROMs too as the time passes.... But you should consider repitting your internal SD to at least 4gb.... I'm not sure how you are able to get 40% space free despite having installed your apps because in my case it would fill up with only few apps installed.... Try to repit your device to 4gb days and see if that helps... This way you will have enough space for your apps... Good luck
[Galaxy S II Android Development] TriboDoP:
Hi [MENTION=5691352]Droidriven[/MENTION]
[MENTION=6560258]the.gangster[/MENTION] answered to another request for cm14 in his special sense of humor (Post 6136)

i found this post rather funny and thanked him (trying to be funny aswell) and thats why i called him "Santa Gangster" (and not [MENTION=6560258]the.gangster[/MENTION])

Thanks and regards!
[Galaxy S II Android Development] Droidriven:
Yes, I know. I was connecting the dots for someone else because what they posted implied they didn't get the allusion to Santa.
[Galaxy S II Android Development] sanyigz:
Can't do it, lanchon repit not works anymore (it writes not all partitions can be unmounted, cuz it's run from one of these partitions... but i don't know why the SD card needs to be unmounted...).

I can't find my OTG cable, so i can't use pendrive.

PS: somehow after starting x times repit, it worked.
[Galaxy S II Android Development] felipevsw:
My Moto X2 hard bricked yesterday, so I resurrected my good old S2 and installed this ROM on it. I remember having Ambient Display on it back in the day, but I can't seem to find it now, ideas?

Basically I'd like the screen to turn on when I receive notifications. Thanks!
[Galaxy S II Android Development] the.gangster:
[MENTION=7776932]sanyigz[/MENTION]

For repit-problems check and read this thread.

It will copy itself to /tmp in such a case. Rerun it from there.
[Galaxy S II Android Development] Andrea900:
Ambient display was disabled due to the lack of the proper sensors. By the way, you can reactivate it using a Xposed module (just search"Ambient Display").
[Galaxy S II Android Development] Teekanne3000:
I can confirm.

Greetings

Teekanne

---------- Post added at 12:21 PM ---------- Previous post was at 12:15 PM ----------

Problem still exist on nightly 0710.

Greetings

Teekanne
[Galaxy S II Android Development] Sercan Ali:
It is strange that I face the same issue with my note 4 on stock firmware. Not only for WhatsApp, for Google+ , Instagram etc.... I can't access gallery nor open camera within app. They all return to apps again...I have been facing this issue after a new little stock firmware update... May it be because of Android ?
[Galaxy S II Android Development] Teekanne3000:
Sorry, i don't know.
[Galaxy S II Android Development] Sub_Zero2:
The problem with cyanogen recovery not mounting internal sdcard when updating from cmupdater was fixed on the october 5 build. "Mount internal sdcard when updating from os".
[Galaxy S II Android Development] the.gangster:
LOL

The impossible unthinkable happened.

Is that a birthday present exactly one week before first anniversary of [MENTION=6159291]Lysergic Acid[/MENTION] starting this thread?
[Galaxy S II Android Development] valmiera-9:
Any solution when phone shuts itself down without user interaction? How to track what's causing this? Had it this january, this february and had it today multiple times using latest nightly.

Didn't use marshmallow until yesterday again because of this bug. Thought it would be gone by now but No.
[Galaxy S II Android Development] tofrost:
is there a way to switch of the light of the back and menu button when charging? I tried flashing the BLN_MOD via cm recovery which failed every time. Therefore i cannot run synapse to configure BLN.
[Galaxy S II Android Development] the.gangster:
[MENTION=1985230]tofrost[/MENTION]

TWRP recovery is strongly recommended.

But anyway. If you want to do it manually read the posts of that time.
[Galaxy S II Android Development] tofrost:
that did the trick.. now working as expected. Thanks mate!
[Galaxy S II Android Development] BOOKRA:
How can i diable proxy sensor?

He is not working good even in the last stuck rom.

But in the stuck rom was option to turn it off

and it solve the broblem.

So How can i diable proxy sensor

Tnx
[Galaxy S II Android Development] tofrost:
me again.. i am trying to use the EQ with AudioFX... but i cannot change anything in custom settings.. is it not working? With an older nightly audioFX was working fine (it also had another UI).
[Galaxy S II Android Development] Droidriven:
Use Viper4Android, you won't be disappointed.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS FOR EVERYONE TO SHARE
[Galaxy S II Android Development] tofrost:
tried viper. Installed BusyBox, installed v4a driver, enabled, rebooted - does not work.. at least not with spotify.

Driver status:

NEON enabled: NO

Enabled: NO

Status: Abnormal

Audio Format: Unsupported

Processing: No

Sampling Rate: 0

... did i miss something?
[Galaxy S II Android Development] Ham1do:
firstly , you need to set Selinux to permissive using kernel audiutor
[Galaxy S II Android Development] tofrost:
there is no such setting in kernel auditor (guess it should be under misc.. which it is not).

Edit: I think the solution is somewhere in the Viper-Thread, i will look there. Thanks anyways!
[Galaxy S II Android Development] ManuelR9:
Hello cracks! I have a S2 galaxy with pit 3GB and want to expand to 9GB at least to install applications without problems because I have little space but the computer does not recognize the phone or W10 or W7 or WXP, I can fix it by changing the USB flex?

I'm using CM 12.1 in January nightly. For when functional CM13 in this mobile wonderful?

A greeting cracks
[Galaxy S II Android Development] Dr AM:
Just tried latest build on 1GB4GB PIT and can confirm that internal sdcard works normally , but still has weird name on file managers

Sent from my GT-I9100
[Galaxy S II Android Development] Draky50110:
Is there an app which gives the PIT ?

I flashed once a PIT but can't remember which values I used :p
[Galaxy S II Android Development] jer194:
I tried (dirty flash), and using external sdcard as 'internal' finally seems to work for me --- congratulations & thanks, rINanDO!

As an addon, the new ROM is based on a more recent CM version (API-Level 'Elderberry')
[Galaxy S II Android Development] ran000:
Thank for good news. Successfully flashed. Really all features work well.

However permissions for internel storage looks setted not correctly. Such app as FBReader does not see its Books directory at internal storage, same problem with permission for OfficeSuite.

May be it is only my problem?

PS. It is really my problem - change permission by Setting/Apps/FBReader or so. and all work well.

Thank for solution and for help.
[Galaxy S II Android Development] the.gangster:
Easy to see all your partition info with Diskinfo.

https://play.google.com/store/apps/details?id=me.kuder.diskinfo

Yes. Usually changing the USB sub board fixes that. Did that already three times on my two devices. Worked well each time. (I assume you already tested different cables)
[Galaxy S II Android Development] Draky50110:
Ok, Diskinfo gives me :

- 1 GB System (FACTORYFS)

- 4 GB Data (DATAFS)

- 9 GB SD card (lol) (UMS ?)

What is difference between DATAFS and UMS ?
[Galaxy S II Android Development] cherryb8844:
Don't care about the name this is a big step of cm13 thanks for test and review and thanks to DAV for make the device newer ??
[Galaxy S II Android Development] Klaus20:
Instruction to my way

http://xdaforums.com/showpost.php?p=65013001&postcount=560

Tools

http://xdaforums.com/showpost.php?p=60824013&postcount=3

My way

http://xdaforums.com/showpost.php?p=65037021&postcount=577
[Galaxy S II Android Development] the.gangster:
[MENTION=3582785]Draky50110[/MENTION]

In Diskinfo go to settings and choose to see more infos.

It will show you the mount paths so you can get an impression of what's inside. You can browse these folder with a filebrowser.

Data provides the space for installing apps. SD is what is presented to you as internalSd for storing data, pics, music, video...
[Galaxy S II Android Development] Dr AM:
I know it's a big step , I wasn't complaining :)

Sent from my GT-I9100
[Galaxy S II Android Development] oscarlamyf:
Congratulations! Are there any other changes in the new build? Is SELinux permissive?
[Galaxy S II Android Development] cherryb8844:
Sorry buddy i didn't meant to you are complaining I just commented on your review and test.

it just a misunderstanding because my English is week I'm still learning sorry and regards:)
[Galaxy S II Android Development] ManuelR9:
Friend thank you very much for taking the time to answer! I've been looking USB FLEX and there are different reviews ..... 2.2, 2.3, ..... What should I buy?

there any way to change the PIT unused ODIN / PC ???
[Galaxy S II Android Development] rINanDO:
I pulled the latest sources yesterday, so its a build of january 30th. Selinux is set to permissive.
[Galaxy S II Android Development] Draky50110:
Will it be possible to flash this CM13 with a CWM recovery ?

I change the PIT with Gustavo Kernel w/ CWM included.

Then I flashed Resurrection Remix + Gapps.
[Galaxy S II Android Development] rINanDO:
You don't need a specific PIT. Just one that suites you right. Same rules apply like in Lollipop. For Gapps you need at least a 1GB system PIT.
[Galaxy S II Android Development] rINanDO:
I don't know if we can get rid of those weird names. It looks like user separation is now enforced with user-specific GIDs and hardcoded. See here https://github.com/CyanogenMod/android_system_vold/blob/cm-13.0/PublicVolume.cpp#L116
[Galaxy S II Android Development] Klaerchen:
Thanks, that work really great!

After booting twice, even the file manager on CM13 shows 'sdcard0' and 'sdcard1', as well as windows Explorer (see screenshots).
[Galaxy S II Android Development] Lysergic Acid:
Test build

Here's a new build with (probably) all the fixes till now, including the sdcard fix (thanks [MENTION=2222292]rINanDO[/MENTION] for realizing the storage.xml thing, we had the sdcard working by months but we didn't realize it :p) and some SELinux policies too (It's enforcing on purpose, we need to get everything working with SELinux).

I'm starting to push the final bits to CM and if most stuff is working then I'll start the nightlies :)

Download: https://www.androidfilehost.com/?fid=24391638059059926
[Galaxy S II Android Development] Lysergic Acid:
Funny, but I have some bad news on this.

My mom broke her phone (probably dropped on water but she was shy to reveal the real cause) and then I gave her the s2 while she don't buy a new one (yes, my mom is using CM13 and she's not complaining about issues lol).

So I cannot test things now, plus my lack of time makes things even harder, so I don't know what's gonna happen.
[Galaxy S II Android Development] Ham1do:
I hope that she will use CM14 :angel:
[Galaxy S II Android Development] Droidriven:
Did you do use post #2 in this thread as a guide?

xdaforums.com/showthread.php?t=2191223&styleid=18

Did you install it the way it says for Samsung in this screenshot? If not, then yeah, you might have missed something. If you did and it still didn't work then oh well, it didn't hurt to try.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS FOR EVERYONE TO SHARE
[Galaxy S II Android Development] mynameismy_name:
Is there a fix yet for GApps error 70? Nano and Pico aren't a solution.
[Galaxy S II Android Development] the.gangster:
LOL,

stop joking.

start searching or at least

start reading what's linked in the OP.
[Galaxy S II Android Development] rubentkato77:
Is it me or 10-10-2016 build battery last more than usual for me?

Sorry for my bad english

Regards
[Galaxy S II Android Development] tofrost:
yup. Did everything described there. Only thing that worked was to change the SeLinux setting... Maybe I look deeper into the problem when i have time, but for the next few days, I will go with this solution. Thanks for your help!
[Galaxy S II Android Development] :
Hopefully that doesn't mean the end of development for CM14. Whatever happens thank you for your invaluable work with the S2. We are all in debt to you.

Fingers crossed that you find some time to continue with developing this great device, but as always: real life is so much more important.... :good:
[Galaxy S II Android Development] Rocknetous:
Same problem

Could you tell me how you solved your problem, I have the same problem. Error 70 Can't install gapps.

I downloaded DiskInfo app as Lebourrin has suggested.

And yes system is full. My pit partition was 8gb/8gb

Here's the Diskinfo report:

INTERNAL STORAGE

Cache → 100MB (5,7 used)

System (FACTORYFS) → 512MB (512used) ← 0% Free

Data (DATAFS) 8GB → 625MB used

SD card(UMS) → 5,5GB (69,2MB used)

SD CARD → 29,3GB (Used 7,9 GB)

MEMORY

RAM ---> 786MB (483 MB used)

Swap → 255MB (13,7 used)
[Galaxy S II Android Development] Kevin3014:
Stop being a lazy bum and use the search function, or just read the first post.
[Galaxy S II Android Development] Rocknetous:
Yeah

I did it. I didn't find the answer that's why I was asking. I think the solution is here but I'd like to undestand better. Ill make some specific quesions. Don't worry :cowboy:

---------- Post added at 04:15 PM ---------- Previous post was at 04:04 PM ----------

Thanks so much Leburrin I was suspecting some like this. With your solution I think I'll be able to install gapps. But I have some questions: Why the system size is limited to 1GB despite the free space near to 16 GB? Is it possible to resize to 2GB for instance? :o
[Galaxy S II Android Development] ssanjy:
1 GB is enough to flash the ROM and basic package of Gapps..... It will be waste of spaces if you make the system 2 GB since it'll not be fully used but your internal storage (where your pictures, videos musics etc gets stored) will decrease if you intend to keep data and preload constant... But if you still want 2 GB system then I think you can do it with Lanchon's REPIT tool...

Basically the total storage ie 16 GB is a whole pizza which is sliced into different sizes as required by different partitions... You make one slice bigger, one of your other slice will get smaller... So maintain an optimal size as per the partition requirement to get the maximum utilization of the limited storage
[Galaxy S II Android Development] jojobg:
Rinando is helping for the development of the unofficial build in the other thread together with SerenityS and some other developers I suppose. But for official status we will need Lysergic Acid.

So don't worry, but still worry if you wish ;)
[Galaxy S II Android Development] Kurt Krummbein:
You can even make a 14GB /system partiion+2GB /data partition, if you don't want to install any user apps, store photos, messages, music ....

System-files and Pico-GApps fit perfectly into the 1GB /system partiontion, which i used now by many CM13 users. Why waste more of the precious 16GB storage available than needed.

And, by the way, this discussion was lead so often now on this thread, that it is realy boring to see it again ;).

Gtz

Kurt
[Galaxy S II Android Development] Rocknetous:
Great explanation !

Thank you very much ssanjy !.

That makes more sense, it's clear now. I didn't know precisely the role of system partition.

Now I know how to proceed and why :) :cool:
[Galaxy S II Android Development] Teekanne3000:
I have found a problem with the keyboard in landscape. Everyone else?

Greetings

Teekanne
[Galaxy S II Android Development] gianluca.cecchi:
It is ok here with 20160924 and default AOSP keyboard, at least in whatsapp.

What keyboard and what application?
[Galaxy S II Android Development] nospamboz:
For a year or so, through many nightlies, I have encountered the occasional (once a month) orientation glitch with my keyboard, but terminating the keyboard process (which forces a restart) with OS Monitor always fixes it. I use NextApp keyboard.
[Galaxy S II Android Development] Sub_Zero2:
Oww... Well it's soon christmas.. Maybe she wants a new telephone... Or maybe someone can donate one for lysergic acid. Or if you have money, check out ebay... S2's are cheap nowadays...

Keep up the good work!
[Galaxy S II Android Development] Typhoon_Master:
Does anyone also struggle with mobile data issues like me?

I changed my provider and got a new SIM-Card. I set the APN settings to those which were listed on the providers website, but there is still no connection. No edge, no 3g, no hsdpa, but im able to make phonecalls and write sms.

Here comes the tricky part:

On the one side the same new SIM-Card is working correctly with my girlfriends phone (tested it by myself).

On the other side my old SIM-Card worked properly in my phone.

so where is the failure?

Is there a way to debug and log some messages of the "mobile-data" part of the phone?
[Galaxy S II Android Development] Skyline:
I think I was facing same problem before sometime. Did you set APN Protocol and APN roaming protocol to IPv4 in APN settings for your provider?
[Galaxy S II Android Development] the.gangster:
I just tested CM-Recovery again for probably the first time after almost a year:

Yes, now you can use it to install zips from either internal or external SD.

I was able to toggle between CM-Recovery and TWRP-3.0.2-1 by flashing IsoRec-disabler.zip in TWRP and (after rebooting into CM-Recovery) TWRP-3.0.2-1.zip in CM-Recovery from both locations.

That should make it much easier now for first-time users of CM13 who missed to read the full install instructions.

Cool.

[MENTION=5811506]Saber[/MENTION]

(formerly known as gsstudios) :

Maybe you can put a note in the Noob-guide, that it is easier now to get the TWRP (or any other IsoRec recovery) running.

Edit:

by the way: the CM-Recovery itself still doesn't impress me at all. It didn't even show me the last log after flashing to see what got written to the screen nor did it reveal really useful functions (except for maybe offering an option to wipe the system-partition). So it's really still very very basic...
[Galaxy S II Android Development] Saber:
Updated with pleasure.

I have kept the original guide for those who want to upgrade to older builds.

That's one less issue for new users to deal with :)

Saber
[Galaxy S II Android Development] Rocknetous:
Thanks saanjy and Leburrin, I finally could repit with Lanchon's REPIT tool, thus I've installed Gapps easily.

I juste have some doubts about some partitions. After repit I saw in the Diskinfo report that some partitions as Swap, Kernel, modem and recovery were "Unmounted". Is that normal? :o

Diskinfo report:

zram0[Swap] -->256 MB (NOT MOUNTED)

SBL1 --> 1,2 MB (NOT MOUNTED)

SBL2 --> 1,2 MB (NOT MOUNTED)

PARAM --> 8 MB (NOT MOUNTED)

KERNEL --> 8 MB (NOT MOUNTED)

RECOVERY --> 8 MB (NOT MOUNTED)

MODEM --> 16 MB (NOT MOUNTED)
[Galaxy S II Android Development] the.gangster:
Yes it is.
[Galaxy S II Android Development] Typhoon_Master:
THANK YOU! :) That did the trick!
[Galaxy S II Android Development] dexter9:
nice rom works
[Galaxy S II Android Development] Teekanne3000:
AOSP keyboard. No specific application, it's in the whole system.
[Galaxy S II Android Development] Hellcraft:
Hi i have 5.91gb internal storage, 6.99gb sdcard0 (phone memory) and i'm using the latest nightly (10.13)

My problem is i can't do any change about the files in sdcard0. When i try to change a name i get the error ''the file or folder was not found''

I tried changing the file's name over the pc but still no luck.

Any idea about solution?

Btw i update nightlies with twrp and wipe cache after.

Thanks.
[Galaxy S II Android Development] sinbader:
Recently my S2 does not find any GPS signal. Not sure if that is a hardware problem or a problem with the recent cm builds though. Can anyone confirm the GPS problem?
[Galaxy S II Android Development] 699taha:
Noticed that a long time ago, its a software problem, if you need gps you should go back to cm12.1 snapshot or early builds of cm13 [emoji17]
[Galaxy S II Android Development] p3dboard:
It can also be a network provider problem. I am running cm 13 on the s2 and have no issues with GPS, but a few months back the network carrier in Australia, Vodafone, had some setting in their mobile towers that broke GPS on 3g. GPS worked fine on 2g signals, but on 3g /h /h+ the GPS would just lock.

Eventually they tracked down the issue and rectified it (it was causing lots of issues for people who were trying to play Pokimon I believe which gave it a higher priority to fix it). I had been trying to get Vodafone to realize there was a problem, but thanks to all the extra complaints they got (from their pokamon players on the network) about 3g signal and GPS they did look at it. Now GPS works fne
[Galaxy S II Android Development] maro777:
I have the same problem
[Galaxy S II Android Development] heleneh:
Hi, I have an issue with an already working CM 13 S2 that I rooted months ago for a friend. I updated to TWRP 3.0.2-1 but couldn't update to the recent CM13. Installation stops at detected filesystem ext4 for /dev/block/mcblk0p9 and suddenly opens the start screen of TWRP and freezes. Current version on the phone is CM13-2016-03-13 so very old. This phone isn't used and just an backup device.

What might be the problem? Thanks!
[Galaxy S II Android Development] LeBourrin:
I use the CM13 2016-10-12 build and GPS is working good.
[Galaxy S II Android Development] Renejo:
+1
[Galaxy S II Android Development] BenjyTec:
Some pages back I read that if you want to update from a very old CM13 version, you'll have to perform a clean flash due to kernel changes. This may cause the problem. Perhaps search some pages back for further information. Or just give it a try.

Edit: check this post: http://xdaforums.com/showthread.php?p=68914807
[Galaxy S II Android Development] MARCOSOFT:
I tested the CM14 (7.0) of 15.10.2016.

The Bluetooth works even better than the CM13 version - the CM13 bluetooth sharing the phone book did not work and blocks the autoradio and can not access the call list or make calls by autoradio commands, allowing you to receive calls and make dialing calls on the phone, but listening to the autoradio via bluetooth, if you disable pairing, sharing contacts.

Can solve this problem in the CM13, for this rom also be fantastic?
[Galaxy S II Android Development] RoyalSandwitch:
All I see after flashing CM13 is "xxx 24 of 24 app" then it is restarting again and doing the same all over again.
[Galaxy S II Android Development] Acid0057:
Did you do a factory reset? What rom were you using before?
[Galaxy S II Android Development] bolshoi_booze:
Hi,

I've just upgraded from 20160830 to 20161013 but now I'm getting a lot of random reboots. Is this happening to anyone else?

How can I save some logs to help solve the issue?

Greetings guys
[Galaxy S II Android Development] C.Z.O:
Clean wipe and install
[Galaxy S II Android Development] kripget:
Hi there, tried this rom and beanstalk, my contacts apk always force close. How can i fix it? Thanks in advance!