yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] laptopu:
I think it is important fm radio app is at least considered especially as sadly spirit will no longer be supported by the late developer.
[Galaxy S II Android Development] dathoang83:
dear all user!!

please help to solve this problem on my Galaxy S2.

I flashed CM13 to S2.

then flash gapps 6.0, try with Pico - Nano - mini\

but have error code with #70.

after that, I increase internal storage from 2GB to 3GB, by pit file and Odin .

and I flash Gapps again, but still have #70.

if anybody know this problem, please help to solved it.

thank
[Galaxy S II Android Development] LeBourrin:
You flashed wrong pit file. The one with 512 MB for System and (2)3GB for Data.

Use the 1GB3GB pit file.
[Galaxy S II Android Development] dathoang83:
thank for help.

currently situation for my S2:

- internal storage: 2.95

- SDcard0:10.49.

is it right?
[Galaxy S II Android Development] LeBourrin:
It's not the System partition size.

Download DiskInfo app in order to see the real size of your System partition.
[Galaxy S II Android Development] Kurt Krummbein:
Or just do a "df -k" in console app ;).

Gtz

Kurt
[Galaxy S II Android Development] d_j_l:
were the patches from the September's android security bulletin included in the current nightly?
[Galaxy S II Android Development] Rendering:
I did a clean flash but the phone is experiencing various random reboots. Could you please give a look to the bugreport.txt logs at

https://mega.nz/#F!NoRHFBwZ!wQE5mJISD_SEQ7JiO0XyVg

Thank you
[Galaxy S II Android Development] MauroRTR:
Yes, I updated last saturday and the patches were already included.
[Galaxy S II Android Development] dathoang83:
THANKs many.

I solved that problem.
[Galaxy S II Android Development] laptopu:
I have also been experiencing random reboots for past few couple of weeks, once I turned phone off and it said shutting down then rebooted. Another time I plugged in a charger and it rebooted. Last week I took it out of my pocket and noticed without pressing anything it went from black screen to cm boot logo. As it goes I still get occasional process system not responding messages on start that I thought were fixed.
[Galaxy S II Android Development] dumdidum123:
SpiritF works fine for me
[Galaxy S II Android Development] EMONESSboy:
can any1 share with me pit file of 1gb system and 3gb data for s2 i9100
[Galaxy S II Android Development] Saber:
Have a look at my guide here:

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

gsstudios
[Galaxy S II Android Development] Dr.Fix:
With the 20160912 nightly the battery drains like hell... even attached to charger it has difficulties in filling (plugged on a PC with a usb cable still discharges).

Always updated nightly by nightly, no special app installed/changed.
[Galaxy S II Android Development] tltan86:
spirit 2. spirit fm doesn't work.

edit: am a proud supporter.
[Galaxy S II Android Development] jojobg:
I would assume phone back is hot, if you use process vs cpu usage list tool you will find the culprit.

No issues with 12th and 13th here. Ran them for 24 hours.
[Galaxy S II Android Development] BenjyTec:
Spirit2 FM works for me, too. Did you try the Playstore app or the one that is available here on xda?
[Galaxy S II Android Development] todonormal:
I buy and it's beautiful, great. Spirit2 FM it's good
[Galaxy S II Android Development] Boolian:
Also 20160904. Same problem. Draining faster than charge or static while charging/in use Still analysing.

Possible suspect a recent Google Play/Services update.

Don't see anything particular in changelogs which would impact

Reverting build to test.

---------- Post added at 01:32 AM ---------- Previous post was at 01:09 AM ----------

Anyone experience a "Theme chooser has stopped" toast on reboots?

20160409
[Galaxy S II Android Development] cypryan1217:
Which is the best build for battery life?
[Galaxy S II Android Development] EMONESSboy:
stock 4.0.3
[Galaxy S II Android Development] laptopu:
Spirit is great but has sadly lost its dev would it be possible for anyone else to pick it up? I can see now we get nougat and love it on this device but will spirit still work, because if not we have lost a feature.
[Galaxy S II Android Development] LeBourrin:
I'm on 20160913 and have no battery drains. I charge my phone via USB.

You may need a clean install.
[Galaxy S II Android Development] croperas:
What are you talking about? the Dev are still here, no one is working on 7.0 because they are waiting for CM14 to start first.
[Galaxy S II Android Development] Acid0057:
He means the Spirit FM developer. He passed away about a year ago I think.
[Galaxy S II Android Development] MARCOSOFT:
Bluetooth contact sharing on My_Radiosat Renault

I'm having trouble with my S2 connection with my bluetooth radio Renault.

Everything is working well, with the exception of "Contact sharing"!

If I have this option enabled 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!

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 mobile phone in order to call the radio commands!

Has anyone had this problem and know how to solve?

I have the impression that this feature was already running an earlier CM13 ROM!
[Galaxy S II Android Development] croperas:
Ok, so there is actually an APP called spirit.... :rolleyes:

NVM
[Galaxy S II Android Development] tltan86:
Sorry, I should have made my post clearer. What I meant was the first version, Spirit1 doesn't work for me. I didn't managed to get the beta version of Spirit1 which is made compatible with MM. Anyway I love the Spirit2 GUI. Awesome work! :D
[Galaxy S II Android Development] Boolian:
Sadly it seems he passed just a few months ago - See Here

Mike Reid spent over a decade working on Spirit, I doubt anyone could easily pick up his work.

Refer to the link above. His colleagues are trying to continue with his last project.

I don't know if their work includes the Spirit FM app.
[Galaxy S II Android Development] killswitch33:
Contact Cannot Export to Sim

I cannot export my all contacts in my simcard:confused:
[Galaxy S II Android Development] Rendering:
Are there any news or the developers are completely dived into Android 7 development?
[Galaxy S II Android Development] MARCOSOFT:
Bluetooth contact sharing on car radio - CM13 6.0.1

I'm having trouble with my S2 connection with my bluetooth car radio.

Everything is working well, with the exception of "Contact sharing"!

If I have this option enabled on 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!

Has anyone had this problem and know how to solve?

I've narrowed the list of phone numbers for 3 only to be easy and fast to sync, but can not sync!

However, with radio commands, can access the historico of dialed, received and missed!

I think the problem is related to the lack of permissions than those asked!

I have the impression that this feature was already running an earlier CM13 ROM!
[Galaxy S II Android Development] luther1987evo:
Dear all

I want to upgrade to CM13 but there have error occurred, display "Error code 70" when install Gapps Nana, May I know which step i was missing.

1. Open ODIN

2. Connect the phone to my PC via USB while in download mode

3. Open I9100_16GB_6GBdata.pit in PIT and kernel-Lanchon-TRIM-IsoRec-20160207-cm-13.0-i9100-for-ODIN.tar in PDA

4. When I click start Odin3 display msg as below:

<ID:0/003> Added!!

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Set PIT file..

<ID:0/003> DO NOT TURN OFF TARGET!!

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> zImage

<ID:0/003> NAND Write Start!!

<ID:0/003> RQT_CLOSE !!

<ID:0/003> RES OK !!

<ID:0/003> Removed!!

5. S2 auto reboot and Press and hold button combinations (home button + power button + volume up) to boot into recovery, seem TWRP 3.0.21 installed successsfully.

6. Selected Wipe -> Swipe to Factory reset.

[IMG="06"]http://i63.tinypic.com/idbofr.jpg[/IMG]

7. Selected Install -> cm-13.0-20160916-NIGHTLY-i9100 -> Swipe to confirm Flash.

8. S2 display Successful.

[IMG="08"]http://i66.tinypic.com/2gvog01.jpg[/IMG]

9. Selected Install -> open_gapps-arm-6.0-nano-20160917.exe

10. System dislay error code: 70

[IMG="10"]http://i65.tinypic.com/2me5stf.jpg[/IMG]

11. Open Setting -> Storage & USB -> Internal storage 5.91GB, sdcard0 7.49GB

[IMG="11"]http://i63.tinypic.com/99i8g3.jpg[/IMG]

Please advise.
[Galaxy S II Android Development] jojobg:
Wrong PIT, use 1_4 or 1_6GB the ones you've used is as it seems the default one. You need to increase the /system fs.
[Galaxy S II Android Development] Cesartrejo1507@gmail.com:
first thank so much for everything, you are doing a good job dude, when have we cm14 in our s2? there are smarthphone like s3, s4, xperia sp and s even htc hd2 we know that are old smarthphone but we need to know our process about cm14:D
[Galaxy S II Android Development] BenjyTec:
[MENTION=1316912]luther1987evo[/MENTION]

I think it is also necessary to wipe internal storage after repartition, not only /cache and /data. Just select 'advanced wipe' in TWRP and tick it. Otherwise you won't be able to access the storage.
[Galaxy S II Android Development] diablo20:
Hi, I flash 8.9.2016 build and it is very stable(no gps problem and no reboot during calls).

The call recorder working very good on that build without speaker enable you can hear the other side voice clearly.

I'm using Call Recorder by clevermobile.
[Galaxy S II Android Development] MARCOSOFT:
Which configuration you used?

For me the sound on the other side is still very low compared with my voice!
[Galaxy S II Android Development] luther1987evo:
Hi Jojobg

Open Setting -> Storage & USB -> Internal storage 5.91GB, sdcard0 7.49GB, but install Gapps still display no space...

---------- Post added at 02:10 AM ---------- Previous post was at 02:04 AM ----------

Hi BenjyTec

[IMG="12"]http://i63.tinypic.com/idbofr.jpg[/IMG]

I have selected all in Wipe setting, but still show no space when install Gapps..
[Galaxy S II Android Development] Saber:
Hi,

I think you are getting confused between system and data partition size. What you are seeing as 6GB of internal storage is the data partition. Gapps gets installed onto your system partition and you don't have enough space. You are using the default system partition size of 500MB, so you need to select the pit file with 1GB system partition.

Here is my guide containing the pit files with enlarged system partition sizes:

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

gsstudios
[Galaxy S II Android Development] andyhers:
Is it possible to set prefered network as : 2G only, 2G/3G (auto), 3G only like into stock rom ?

Currently only able to set 2G and 3G, which if I set 3G, it might fallback to 2G if any bad reception in 3G signal quality.

Some network company set different quota for data package in 2G, 3G and 4G so it would be usefull for those who have that kind of limitation.

Thanks
[Galaxy S II Android Development] diablo20:
File format: wav

Audio source: communication

try to change the audio source and check which option is best for you
[Galaxy S II Android Development] mariustma:
Phone constantly losing network signal, did anyone else this problem or is my sim faulty
[Galaxy S II Android Development] jojobg:
I'm experiencing this every now and then, based on the received SMS and voicemails. But would not rate it "constantly".

Now by loosing network signal do you refer to the icon showing no coverage, or icon showing network and coverage ok, but when called your caller is getting out of coverage notification?
[Galaxy S II Android Development] rubentkato77:
Sometimes I have that problem too
[Galaxy S II Android Development] mariustma:
[MENTION=6609462]jojobg[/MENTION] No, on my phone all things look normally but problem is as you said "When called your caller is getting out of coverage notification?"
[Galaxy S II Android Development] jojobg:
Logcat will be needed anyway. Follow the OP troubleshooting steps.

No need to install SU in that complex way, just enable root from about menu.
[Galaxy S II Android Development] ran000:
Early bird

http://xdaforums.com/galaxy-s2/development-derivatives/rom-cm14-unstable-t3465152
[Galaxy S II Android Development] TareqMh:
guys i was on an older CM13 , but i update my device via ota , but the device is refusing to bootup , neither entering recovery mod ,i am only able to enter downloading mod , can u help me and give me a non Zip file for this rom to be able to install it via odin ?
[Galaxy S II Android Development] jojobg:
I suppose you were on early June release or even prior that period. Need to perform full wipe due to kernel changes.
[Galaxy S II Android Development] TareqMh:
but i cant enter to recovery mod neither downloading mod ,,,:crying:

i can only enter the warning screen to the downloading mod but when i press vol+ , the phone will shutdown

Edit :

i intalled a new recovery and the phone now is able to boot up fine ^^

but when i am trying to flash Gapp

an Erorr keep saying ( insufficient storage ) even when i downloaded the pico package 84 MB ?
[Galaxy S II Android Development] jojobg:
Err. Is your phone repitted? You need the system fs at 1Gb.
[Galaxy S II Android Development] TareqMh:
what do u mean ( repitted ) ^^

how i can free some system storage ?
[Galaxy S II Android Development] jojobg:
http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162 courtesy goes to gsstudios
[Galaxy S II Android Development] TareqMh:
thank you too much

but i dont want to fully format my phone :@

i only want to get google play

so can i only download it as an APK file ?
[Galaxy S II Android Development] jojobg:
Maybe you need to read this one too. http://xdaforums.com/galaxy-s2/development-derivatives/guide-want-to-update-to-cm13-read-t3313978

or in short, wanna 13/14 with gaps. need to re-pit.
[Galaxy S II Android Development] Kurt Krummbein:
I'd prefer this one Lanchon-Repit ... moves without remove.

Gtz

Kurt
[Galaxy S II Android Development] Boolian:
I experienced this occasionally where wifi/data "locks up" and shows warning on icon. Usually resolved by toggling airplane mode.

Depending on your circumstances, there is a 'possible' solution to the problem in 20160917 nightly.

See Here
[Galaxy S II Android Development] dumdidum123:
you can do a backup in twrp, then repit and after that restore the backup.

You need at least 768MB for your system partition in order to install cm13 + pico gapps.

note: if you repit your phone, there is quite nothing on the phone after it. so if you did a backup, transfer it to your external sd card or safe it on your computer

---------- Post added at 11:28 AM ---------- Previous post was at 11:20 AM ----------

Another question guys,

is there any way to edit a wifi network if its not in range? If I go to "saved networks", I can only delete them.
[Galaxy S II Android Development] vbracer:
This ROM is working great - thanks to everyone who made it possible.

I have found 1 bug:

Volume Buttons Wakeup device. (Settings >Buttons >Scroll to Volume buttons and toggle "Wake up device".)

This does not always wake up the device (as the Home button does).

Especially after being locked for a while, but not always.

Can someone please let the author/s know?
[Galaxy S II Android Development] BenjyTec:
I just can agree with [MENTION=7088985]vbracer[/MENTION] that this is an amazing ROM. Only thing I noticed so far is that the layout of the advanced privacy setting seems to be a little bit broken (see screenshot), in CM12 this was better.

But thanks for your work [MENTION=6159291]Lysergic Acid[/MENTION] !!
[Galaxy S II Android Development] ka_ru:
I want to add modules in the Kernel. Please tell me a link to the kernel source code. What configuration do you use for make and how the toolchain?

Thank you.

Andrew.
[Galaxy S II Android Development] Kevin3014:
Anyone got any idea what this means?

"Updater process ended with ERROR: 2"

I tried to clean flash the latest nighty (cm-13.0-20160923-NIGHTLY-i9100.zip), that went okay, no error. But when I tried to flash Opengapps (open_gapps-arm-6.0-pico-20160924), I get this error: 2. It passed the MD5 check.

I'm kinda clueless here.
[Galaxy S II Android Development] fubo73:
Have you repartitioned? Look throughout the thread.

Sent by my SM-G900F, aka Galaxy S5
[Galaxy S II Android Development] Kevin3014:
I've been running CM 13 with gapps since CM 13 got released. Yes it's re partitioned with 1gB /system.

Error for that is error: 7, I'm getting error: 2 here. :confused:
[Galaxy S II Android Development] Boolian:
Deleted

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

I'd suggest first looking through the wiki Here for all build info.
[Galaxy S II Android Development] jojobg:
It's time for log digging. Check the opengapps.log on your SDcard for details if you are not shy attach it for others to investigate.
[Galaxy S II Android Development] Kevin3014:
I flashed the previous nighty (cm-13.0-20160921-NIGHTLY-i9100), with no luck. I downloaded gapps again, got the same error: 2 again.

Here's the log file.
[Galaxy S II Android Development] jojobg:
That's the recovery.log not the opengapps.log from installation.
[Galaxy S II Android Development] Kevin3014:
I'm afraid opengapps.log comes up only after installation. This error shows up before it installs.

(According to https://github.com/opengapps/opengapps/wiki/FAQ (point #4) since I couldn't find it anywhere)

Edit: I was able to find an old copy of opengapps in my PC, I was able to flash it successfully. :D

Thanks anyway! :D
[Galaxy S II Android Development] dumdidum123:
had massive problems last night after updating to 20160923.

the phone switched off after max 15 minutes. not while using but while the display was switched off. if i tried to turn on the screen it didn't wake up so i hold down the power button until it switched on again.

Today it didn't behave that way. I don't know whats the issue.
[Galaxy S II Android Development] ran000:
No problem with 20160923 build was here. Successfully have updated to 20160924 build some hours ago and

have not problem as well.
[Galaxy S II Android Development] Draky50110:
Found a bug, maybe an old one : when phone is in standby then I press power and drop down the notification bar.

Then I "click" on the profile icon to change it (from "default" to "silent" for instance) but... nothing happens.

I must unlock the phone to change this with notification bar icon.

Am I the only one with the bug ?

Last nightly flashed.

Thanks :)
[Galaxy S II Android Development] TareqMh:
THANK you very much , i gess that is what i am looking for ,

but its too complicated and i am a 100% noob programmer :crying:
[Galaxy S II Android Development] Boolian:
You can do it!

Just read carefully and you'll see the how the naming of the zip file works.

Start with looking at a standard 'stock' Pit file for i9100 .

Read This

Scroll down to "Galaxy S2 samples"

See how the standard config for an S2 is:

"lanchon-repit-XXXXXXXX-system=0.5G-data=2G-sdcard=max-preload=0.5G+wipe-i9100.zip"

But for CM13 - You ideally want your system to be 1Gb (To fit Gapps) and your Data to be 4Gb/6Gb or whatever you prefer.

( Preload is not specifically used for MM so its reduced to a minimum -You could keep your standard Preload of 0.5GB if you wish, just change it in the file name, but it's better to leave it as 'Preload=min)

Lanchon has some Sample files which can be downloaded Here

Look for the "i9100" files.

Eg:

"lanchon-repit-20160923-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip"

Flashing this file via TWRP gives you the 1GB System partition you need for Gapps, keeps your Data partition the

same size it already is,

Does not delete any Data, shrinks your Pre-load to a minimum and does a cache wipe.

If you wanted your 'Data Partition' to be 6Gb, just change the file name to show 'data=6G' or 'data=4G' whatever you prefer.

But best just keep it as it is to begin with "data=same"

If anyone wants to correct any errors in this explanation please do!
[Galaxy S II Android Development] the.gangster:
There is just one thing to correct:

the '+wipe' parameter is given for the preload partition. It is a valid parameter for every supported partition. So this one will format the preload partition. Not the cache.

If not explicitely defined, its counterpart (keep) is predefined.
[Galaxy S II Android Development] Boolian:
I am not a smart man! I need to read more carefully myself "Preload=min+wipe" it says it clearly, d'oh! - Thank you.
[Galaxy S II Android Development] LKNGOC:
Hello everyone! I have a S2 running on cm10.2 with cwm-based recovery 6.0.4.5. How can I flash the cm12 or cm13? Thank you!

Gửi từ GT-I9100 của tôi bằng cách sử dụng Tapatalk
[Galaxy S II Android Development] cherryb8844:
First post of this thread is your answer just read ?
[Galaxy S II Android Development] LKNGOC:
I have 2 questions: what's kitkat compatible recovery?( CWM-based recovery 6.0.4.5 can flash?) And can I return to current rom cm 10.2 after flashing cm 13?(due to some bugs)

Gửi từ GT-I9100 của tôi bằng cách sử dụng Tapatalk
[Galaxy S II Android Development] ssanjy:
I'm not quite sure about the recovery,. If it's for s2 then you try by flashing it.... but for switching ROMs you can do it either by restoring your nandroid backup or fresh install through recovery.... You may jump back and forth as many times as possible.... Please note that MM ROMs do require you to repartition your device...
[Galaxy S II Android Development] gianluca.cecchi:
hello,

I want to refresh a cm13 dated 2507 with 2409, because I have to give an used S2 to my son. The S2 doesn't have a micro-sd at the moment and in the mean time I copied the rom file and the opengapps file on internal storage under download directory.

I don't remember if I can flash the rom from internal storage and in that case the caveat I should follow so to not delete/format the area from where I'm flashing....

Any hint?

Thanks,

Gianluca
[Galaxy S II Android Development] kepsilla:
I have updated 2 times with CM Updater with no problems. It downloaded nightly to internal sdcard cmupdater directory.

It booted automatically to TWRP and updated system. No problems found.

Update was easy and all apps and internal sdcard stayed.
[Galaxy S II Android Development] gianluca.cecchi:
Thanks.

Yes, ok. But I think that using cmupdater is a delta thing (sort of dirty flash?), while I want to make a clean flash. I think is different, isn't it?
[Galaxy S II Android Development] kepsilla:
If you want clean install and reinstall apps, start to TWRP and wipe system , data, cache and dalvik cache.

Do not wipe internal sdcard, where downloaded nightly zip and gapps are located.

Install downloaded nightly zip and downloaded open gapps. TWRP should find zip files from internal memory root directory.

Reinstall all apps.
[Galaxy S II Android Development] Chemudan:
CM dead? Why not updates
[Galaxy S II Android Development] rubentkato77:
Maybe next update Will be Nougat 7.0. ?
[Galaxy S II Android Development] BOOKRA:
When the rom come out form NIGHTLY to finel ver?
[Galaxy S II Android Development] Kurt Krummbein:
Hopefully never, "final" means development stopped, no updates, no fixes, no devs who care about the device.

So ... never ask for final ... and btw. never ask for eta ;)

Gtz

Kurt
[Galaxy S II Android Development] Saber:
Latest nightly seems to be having build issues.

http://jenkins.cyanogenmod.com/job/android/180760/

Compile ended in less than a minute.

gsstudios