yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] maly_szcz:
As i said before, i am using my SGS2 mostly as dashcam (DailyRoads Voyager).

I can confirm random reboots. I am not shutting down DailyRoads Voyager. In next morning phone is rebooted or is off.

What's more, app frequently crashes when i want do stop recording (or app stops recording after 5 minutes - file rotation) and camera no longer works (i have to reboot phone manually). Another problem - sometimes app can't initialize recording.

I can collect logs if you will look at them.

Regards,

Daniel
[Galaxy S II Original Android Development] Mike60:
Bring to life

Good evening

After three years i decide to repair my old i9100. I buy it on apr 2011. Many years ago.

I buy rooted cheap mainboard fron China ( Aliexpress ). Install. It work.

a. After one week rotation are not worked. At beginning was ok.

b. I want to change IMEI to make identicaly number on plastic case and internal.

c. I will use it more like GPS on car, to make pictures but i prefer to make a good backup phone.

Please - because i am novice i ask if possible to install Lolli 5.1 ( CyanogenMod 12.1 ) on it and what I need to do.

I don't need nothing from inside phone memory. So i can delete all.

In attachment some picture with internal software.

Sorry for my non native English language

Thank you in advance

Mike
[Galaxy S II Original Android Development] Lanchon:
man if you want to mod your phone READ UNTIL YOU KNOW HOW TO DO IT. dont ask questions like this, IT IS ALREADY ALL WRITTEN DOWN FOR YOU ELSEWHERE. don't be lazy and READ.

this is a thread to discuss OFFICIAL CyanogenMod 12.1 Nightly Builds. if you are not using OFFICIAL CyanogenMod 12.1 Nightly Builds you shouldn't post here.

and regarding changing IMEI:

-this is illegal in many countries.

-it is AGAINST XDA RULES to discuss changing IMEIs, so don't!
[Galaxy S II Original Android Development] BenjyTec:
For installing this ROM, I recommend to search YouTube, there are many useful instructions, like here: m.youtube.com/watch?v=J5AlfnstqmE

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] heleneh:
I have issues with GPS on CM12.1

GPS Apps don't find the signal when only in Phone mode. When High accuracy is activated it works, but I supposed it uses WLAN or Mobile Internet. In this case it communicates the data with google, what I don't want and creates traffic that I don't want.

Is it a known issue? Any fix for that? Thanks!

Edit: It works but needs a long time to start up. Any possibility to solve this issue?
[Galaxy S II Original Android Development] AloneOnTheDark:
Try with FasterFix on play store
[Galaxy S II Original Android Development] LeBourrin:
I've tryed now in Phone mode and it fix location in 10 secondes. (I'm on nightly 20150821)
[Galaxy S II Original Android Development] kikoto:
I am experiencing very slow battery charging since upgrading to CM 12.1 (coming from CM11). Anyone else experiencing the same? Charging via wall charger is just as slow (if not slower) than via PC-USB and it takes 5+ hours to a full charge. I tried several different USB cables and chargers (including factory samsung ones) but it's still the same. Charging was fine on CM11 and now if I do something random with screen on (like texting) the battery % even goes down slowly when charging through the wall charger...
[Galaxy S II Original Android Development] Mike60:
Sorry but .....

1. If you buy board with modified ROM but are not working properly what are your next steps ?

2. If you are NOVICE and in your hands your phone is dead what you are doing with second board ?

3. If you buy new mainboard what you do with different IMEI ( case & electronically ) ? This are illegal to buy mobo ?

3. I understand what you are writing and I will check more threads. Ok ?

- If I don't have yet installed on this phone OFFICIAL CyanogenMod 12.1 Nightly Builds so I can not write here nothing ?

Best Regards

Mike
[Galaxy S II Original Android Development] Pa9an:
I had seen this once after upgrading I think to NIGHTLY 20150820.

Battery drained faster than it could be re-charged on the all plug.

The only thing I did was reboot the phone and the issue was gone.

This may sound silly and you will likely already have done it - but have you rebooted again after the upgrade and the initial setup (Optimizing app x of xx)?

At least it helped on my end.

I'm now on 20150823 (and Dorimanx kernel) with no issues so far.
[Galaxy S II Original Android Development] ziodime:
my s2 has a very slow current flow with cm12(with stock wall charger i have 88mah, with usb and a s3 wall less than 400), i've had cm11 and everything was working fine.

is there a method like boeffla kernel of s3 to set current limits?
[Galaxy S II Original Android Development] Resync:
[MENTION=6159291]Lysergic Acid[/MENTION] the latest nightly doesnt work with your twrp kernel.

can you please update it?

also, how can i flash things with cyanogen recovery?

i want to flash supersu and xdabetterbattery but those zips dont work with that recovery :D

last time i checked even nightlies cant be flashed with it?!
[Galaxy S II Original Android Development] the.gangster:
He knows already and tries to provide a new one soon.

see #1395...

Edit: as you added further question:

You just have to sign the zips that you want to flash.
[Galaxy S II Original Android Development] Resync:
and how do i do that? :D

also thx for the info
[Galaxy S II Original Android Development] the.gangster:
There are several tools to accomplish that.

e.g. by reading here
[Galaxy S II Original Android Development] worldwar:
My phone don't detects my sim

Hi, I have a problem. My S2 don't detects my sim but if I restore a nandroid it detects sim without problem. How can I solve?

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

Hi, sorry for double post but I don't have found edit button.

I have another problem when I trying to flash nightly "20150824". In recovery I have error "Status 7", can someone help me?
[Galaxy S II Original Android Development] UnserVater:
Oh man its getting worse with every update...

yesterday i updated from 7/28 nightly to todays and instead of fixed bugs like no mms/sms working and freezes i now have to struggle with forced closes on my googleplay apps...

i think i have to go back to 4.4.4

i deleted the cache and data from those google apps and they are not getting any better...

does someone have the same problems ?

greets
[Galaxy S II Original Android Development] 70x7:
[OT] I'm using ext4 in all my partitions except SD card (vfat). Is better use vfat in data too or better keep ext4?

[/OT]

Enviado de meu GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] Lysergic Acid:
Things just need to be signed to be able to flash in Cyanogen Recovery.

I updated the stock kernel + twrp in the OP. Tested with 24/08 nightly. No TRIM for now, might have in the future.
[Galaxy S II Original Android Development] LeBourrin:
As I said before: For my phone I have experienced freezes when I formated DATA with ext4. Since I reformated to vfat it's mutch better :p
[Galaxy S II Original Android Development] iistoryahi:
Hi mate try to wipe all data , mine run smooth no more freeze i always update everyday with no problems :)
[Galaxy S II Original Android Development] BenjyTec:
Any experiences with the updated TWRP kernel? Are UI crashes fixed? Thanks

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] AloneOnTheDark:
No more UI crashes
[Galaxy S II Original Android Development] Pa9an:
Same here :good:
[Galaxy S II Original Android Development] Xerroneous:
Is this stock kernel + twrp link updated? https://www.androidfilehost.com/?fid=24052804347787517

I flashed it and have crashes

Where is the link for the updated TWRP kernel?

Thanks in advance!
[Galaxy S II Original Android Development] kikoto:
It seems like wipe data/factory reset and wipe cache don't work on my phone (stock CM kernel and recovery)...
[Galaxy S II Original Android Development] kudos1uk:
That's the old one, the new one is in the first post.
[Galaxy S II Original Android Development] BenjyTec:
Yes, CM recovery is currently useless. You have to flash the signed TWRP recovery through CM recovery to get those features working.

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] kikoto:
I thought that CM recovery still remained in use. I flashed TWRP and it works, did a full wipe and now even the charging problem is fixed - the phone registers the charging mode as "Charging on AC" as opposed to only "Charging on USB" earlier.
[Galaxy S II Original Android Development] Fuerte11:
Bluetooth fixed?

The latest nightly has a lot of BT fixes, so is Bluetooth finally been fixed?

Bluetooth: Fix for BT crashes during preload timeout (android_hardware_qcom_bt)

Bluetooth: Fix for ANT standalone turn on failure (android_hardware_qcom_bt)

Bluetooth: Send controller logging VS cmd after wcnss filter init (android_hardware_qcom_bt)

Bluetooth: Fix to handle invalid VS event during patch download (android_hardware_qcom_bt)

Bluetooth: Get FW build label information from VS command (android_hardware_qcom_bt)
[Galaxy S II Original Android Development] the.gangster:
[MENTION=6159291]Lysergic Acid[/MENTION]

the zip doubled it's size, obviously because some modules like sunrpc.ko or NFS.ko "exploded". They increased their size by almost factor ~20, growing from e.g. 330KB to 6MB.

Also [MENTION=4141005]Lanchon[/MENTION] updated his TRIM kernel recently, where the same ko files are still as small as before.

So I wonder if one of you could clarify.

Thanks in advance.

And thank you (both) for your continuous developments!
[Galaxy S II Original Android Development] heleneh:
I don't get any automatic Updates for CM12.1. My current Version is 20150817.

Do I have to activate something? How can I start the update manually? Thanks!
[Galaxy S II Original Android Development] the.gangster:
Settings -> about phone -> CyanogenMod-Updates
[Galaxy S II Original Android Development] heleneh:
Wow, thanks man! :good:
[Galaxy S II Original Android Development] ziodime:
still not charging here
[Galaxy S II Original Android Development] Putzifisch:
Android-Keyboard (AOSP) not working

Hey guys,

I have a problem with my keyboard - it instantly crashes when I activate it.

At the moment I use the Hacker's Keyboard (it's okay, but Androids is better).

I use the 12.1-20150824 Nightly at the moment (but the problem began right from the start).

Shall I do a complete flash of my phone? (if yeah, plz tell me how... still a noob)

Cheers
[Galaxy S II Original Android Development] BenjyTec:
You could install the Google keyboard from Play Store, it is almost the same as stock CM keyboard.

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] Lysergic Acid:
No, this is the first version. The link is in the OP.

Hm, I didn't notice this. I just got the modules from my out folder like I always do, something in the compilation process changed.
[Galaxy S II Original Android Development] ziodime:
i resolved instlling dorimanx kernel
[Galaxy S II Original Android Development] onlyfor.foren:
Perhaps he does not find it.

Under Important information, line 2, a link is hidden. ;)
[Galaxy S II Original Android Development] Oshi-Tech:
Is dorimanx stable for you? It kept rebooting on mine and FC on some apps.

Went with gustavo and it's so much more stable, but the battery life isn't as good and the device runs hotter.
[Galaxy S II Original Android Development] ziodime:
now it's lagging but i did some changes , i'll try default
[Galaxy S II Original Android Development] adrianogoes:
GPS is not working at all. :(

Waze or Google Maps dont get GPS signal.

I used FasterGPS and GPS Status & Toolbox and didnt helped.

Using latest version.

[MENTION=6159291]Lysergic Acid[/MENTION], parabéns! Muito obrigado, a ROM é uma beleza. :)
[Galaxy S II Original Android Development] lukss12:
[MENTION=6159291]Lysergic Acid[/MENTION], when you return to unofficial builds do you think it would be possible to have a ROM with A2DP Sink Feature enabled? Like they did with Nexus 5 adding some overlay on bluetooth package.

A post about this:

http://blog.csdn.net/wendell_gong/article/details/47950781

Files used for Nexus 5 to enable these features on build:

https://github.com/CyanogenMod/android_device_lge_hammerhead/blob/cm-12.0/car_hammerhead.mk

https://github.com/CyanogenMod/android_device_lge_hammerhead/blob/cm-12.0/overlay_car/packages/apps/Bluetooth/res/values/config.xml
[Galaxy S II Original Android Development] dave202:
[MENTION=6159291]Lysergic Acid[/MENTION] Thanks a lot for your amazing work - expect a donation to arrive shortly

I've been using the official CM 12.1 2015-08-21 nightly for several days now, and everything I've tried has worked fine. The only issue I see is the random reboots/power off which happens 2-3 times a day here. I've tried an adb logcat after the reboot but it just came back empty :(

Given that I also see problems reading the battery level reported earlier in this thread, could this be why the phone is rebooting/powering off? In other words, an intermittent read fault makes the OS think the battery is empty when it really isn't, causing the phone to shutdown?

I should add that I was happily using CM 11 snapshot releases last year and had no issues there, except a few months back I jumped to the latest available CM 11 M12 snapshot at which point my phone started powering off about once a week, and after rebooting the battery level would jump down very low, e.g. after power up batter would be 15% even though it was around 80% when the phone powered off. I tried replacing the battery with a brand new one and it didn't make any difference.

Anyhow I thought it may be worth suggesting that the power-off/reboot and battery level bugs may be related and might actually have been introduced in the CM 11 timeframe - and it just so happens that Lollipop tends to trigger the bug much more frequently than KitKat.

NOTE: as an experiment I've left my phone with "Battery Saver" enabled and I've actually managed to get through the whole day without any phantom reboots/power offs...
[Galaxy S II Original Android Development] daniu:
Hi

Possible that this in one reason - but not for me: I walk the dog in the morning, battery is just charged to 100%. I listen to podcasts and get reboots. Afterwards battery is >80%

Regards
[Galaxy S II Original Android Development] iistoryahi:
Here's the link mate :) https://www.androidfilehost.com/?fid=24052804347800758
[Galaxy S II Original Android Development] dave202:
[MENTION=1601710]daniu[/MENTION] I should add that with CM 12.1 the battery level seems more "stable" after a forced or accidental reboot compared to CM 11, i.e. it appears to "jump around" less although of course a reboot does have a noticeable effect on battery life.

FWIW I've just checked my phone this morning and it's now made 24 hours with no gaps in the battery graph in battery saving mode. As you seem to have an easily reproducible test case, does going to Settings -> Battery and turning on "Battery saver" help at all?
[Galaxy S II Original Android Development] Weib67:
[MENTION=1601710]daniu[/MENTION] and [MENTION=6905021]dave202[/MENTION]

Hi,

A far as I know, this battery level problem has always been around, regardless of rom/android version. I believe it's a hardware problem, and no software workaround has been found so far.

Personally, it happens only if the battery level is = or < 60%. Never had it when >60%.

That's a reason why random freezes or reboots can be "deadly" on this device, with battery level dropping from 60 to 10% in 2 minutes.

BTW, I'm sending more logs to LA. Hope you will do the same. :)
[Galaxy S II Original Android Development] aleMarvel:
sorry but... what mean OP ???
[Galaxy S II Original Android Development] Putzifisch:
Hey guys,

I am fairly new, I installed the nightly and most of it works fine. But I think that a complete flash should be done on my phone, because the AOSP is not working. It instantly crashes all the time (see post before)

I use the cyanogen recovery which seems not up-to-date from the feedback here. I searched from the twrp alternative, but could find the correct galaxy s2 i9100. So which recovery shall I use?

Furthermore I would love to find an introduction into roms, flash, cyanogenmod etc. to help myself later on....Where can I find a good one?

Sorry for bothering you with the lame intro stuff, but everyone starts at some point.

_________________

Installed: 12.1.-10150824

Recovery: cyanogen recovery

kernel version: 3.0.64-CM-g58b33ee - bulid01@cyanogenod #1 - Mon Aug 24 03:00:06 PDT 2015

build number: cm_i9100-userdebug 5.1.1. LMY48G - 299cdbfed7 test-keys

SELinux-Status: Strikt
[Galaxy S II Original Android Development] daniu:
Hi,

yeah - was about to say the same thing, whereas I believe that the "battery calibration" methods* help a bit. it is not so bad on my device atm

battery calibration methods:

*charge device till 100% - delete file /data/system/batterstats.bin - or better rename it - can be done with tasker - if I am not too lazy I can send the profile (which turns itsself off after it has done it's job) upon request. Some people say this method is useless. They suggest:

*charge fully, turn off device, charge until 100% again, remove battery for a while, put it back in again, expect the battery status to be wrong for some time

regards

---------- Post added at 10:46 AM ---------- Previous post was at 10:44 AM ----------

http://lmgtfy.com/?q=what+is+OP
[Galaxy S II Original Android Development] usman.aaman:
Any one experiencing Fc on Chrome on today's nightly?
[Galaxy S II Original Android Development] Disabledg:
I have a trouble with music play. Any music player in time of playing music causes phone to reboot. Is it an error of my rom ( maybe bad install ) or known bug?
[Galaxy S II Original Android Development] Weib67:
It's a known bug. Hope LA is currently looking at it.

Funny thing is that I always avoided CM11 because of the fpbug (fixed very lately).

Seems there is something similar in CM12.1 now.. :(
[Galaxy S II Original Android Development] Lysergic Acid:
Opening Post, Original Poster, something like that. Just read what is written in the first post of this thread.

No problems with GPS here, are you sure it's not working? (Obrigado)

I don't think about doing unofficial builds so soon. They would be pretty much the same thing as these official builds, plus the twrp recovery by default. And Android M is around the corner too, while I'm still working on bugs of the official version, so..
[Galaxy S II Original Android Development] Lysergic Acid:
Warning: today's nightly have Chrome FCs. Apparently a commit for the time format causes this on all devices, so skip it if you can.
[Galaxy S II Original Android Development] ajislav:
I am no expert but I think the battery is not the culprit for most of the people who get reboots..

I mean the low battery should show up in the logs.

In my case it (see my post about 2-3weeks ago), the reboots were caused by out of memory errors, I.e. most probably some memory leaks.. [MENTION=5246166]lysergicacid[/MENTION] would you mind sharing your reasons against zram? There are some 1GB RAM devices where the maintainer has enabled zram for Lollipop.
[Galaxy S II Original Android Development] adrianogoes:
Quoting [MENTION=6159291]Lysergic Acid[/MENTION]:

No problems with GPS here, are you sure it's not working? (Obrigado)

Hi! Yes, I"m sure that it is not working at all.

I've tried the 3 options: High Precision (GPS + Mobile), Phone Only (GPS) and Battery Saver (Mobile).

Waze, Google Maps, GPS Status & Toolbox, none of them works. :(

When using Mobile option apps does locate (barely, using cell towers) the phone but do not use GPS data at all. :(

I've also tried to edit my gps.conf and use what was recommended by a very famous thread here in XDA: nothing.

Is there anything I could try?
[Galaxy S II Original Android Development] lukss12:
I had similar problem two weeks ago, I clean flash to solve. Wipe cache/data did not work. Must format system and flash. May be it works for you too.
[Galaxy S II Original Android Development] adrianogoes:
Thanks [MENTION=5361265]lukss12[/MENTION] but I'm already on a very new clean install, after formating /system, /data, /cache, /preload and sdcards using Philz TWRP.

:(
[Galaxy S II Original Android Development] BenjyTec:
Problem fixed.
[Galaxy S II Original Android Development] dave202:
In my case memory usage reports as normal (about 2/3rds in use) and most of the day the phone is sat in my pocket with no WiFi or data enabled due to work restrictions. So literally my phone is doing nothing about from being idle. It sounds then that these are 2 different issues, but again with battery saver enabled I've now been reboot free for nearly 48 hours :)

Is there an option so that when a panic occurs it can appear on-screen so it can be photographed for analysis rather than rebooting the device? Or where can I find the information if such a reboot happens again?
[Galaxy S II Original Android Development] daniu:
Turned on battery saver ... maybe that solves the issue but I guess the key is not the battery but rather "reduces performance"

To me it seems like the reboot happens when the phone needs to work more suddenly ...

That said I guess I will experiment a bit with cpu governors ...

BTW: does cm12.1 not have a program to change the governor? Cannot find it

Regards
[Galaxy S II Original Android Development] king_ahmed:
Zram Is the solution .... in my opinion .... for reboot and freezes issue :good:

---------- Post added at 06:04 AM ---------- Previous post was at 06:00 AM ----------

i'm using Carbon Rom lp with DorimanX kernel and enable Zram (300 mp) .... and i don't have this freezes :fingers-crossed: :o

---------- Post added at 06:16 AM ---------- Previous post was at 06:04 AM ----------

@Lysergic Acid can you please reEnable Zram ?!
[Galaxy S II Original Android Development] jaggsr:
No caller information initially for 4-5 seconds

Running cm-12.1-20150825-NIGHTLY-i9100.

Why there is 4-5 seconds delay before showing caller information when someone call ? Screen stays blank and ringing but wont show caller info for 4-5 seconds, then it will show caller information. Can we get rid of this ?

This problem was also there on CM11 when it was running cm-11-20140804-SNAPSHOT-M9-i9100 in the past for me.
[Galaxy S II Original Android Development] wolfanger:
Gps is not working at all for me too. I am in a fresh installation. Everything else is working perfectly and smoothly.
[Galaxy S II Original Android Development] kudos1uk:
I'm on same build but don't get this problem, maybe 1-2 second blank screen until phone wakes up.
[Galaxy S II Original Android Development] daniu:
I'd agree to this being a problem - I guess the problem here is that 1-2sec feels like eternity or like 4-5sec ... Also when you dial a number and you want to cancel the call you can almost be sure that the other person hears the phone ringing before you had the chance to cancel the call ...
[Galaxy S II Original Android Development] Weib67:
You need to record what's happening on the phone, aka logs. You can try the app Logcat, and send the file to the dev or past it on pastebin.com.:)

I already tried different governors when the option was available, with no result. Did not try power saver mode on though, the phone is already limited enough to limit its hardware even more. Plus, it deals with background sync, which I personally don't like. But it's always good to experiment further.

I don't see why 1GB of ram wouldn't be enough. Every day, lots of phones with only 1GB are released on Lollipop. Zram could also reduce performances, and would probably just delay the problem... Plus, we are not absolutly sure yet that it's a ram related problem. Have you been able to have two weeks straight of uptime without a single freezes/reboots ? Seems most of people here flash nightlies more frequently than that, and thus don't see the problem.:confused:

Maybe you could try to change your modem, and test a couple of them.:)