yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] ors98:
Reboot and overheating problem

Hi guys!

Ive flashed this rom like 1 week ago and it worked fine. Ive downloaded several updates for it like twice a week. And since yesterday i have some issues. It reboots itself frequently and im not sure what the problem is. Could it be the overheating? Because when it reboots the phone is hot like fire. Do you guys have any solutions for this?

Thx

ors98
[Galaxy S II Original Android Development] Pissa:
hi guys, just a quick question, probably a noob one.

when I had the unofficial 12.1, I got notifications when the phone was blocked (blinking notification for about 2/3 mins, can't remember) with a preview of the content of the notifications.

when I switched to the official 12.1, this feature seemed to be not present.

I read about the lack of ambient display.

is that the cause or it's a problem of my phone?

do you guys use some alternative app to have the same behaviour?

I think it's possible with xposed, but I'm not familiar with it so I prefer a standalone app.

thanks!
[Galaxy S II Original Android Development] the.gangster:
[MENTION=6159291]Lysergic Acid[/MENTION]

According to changelog it looks like a kernel patch was commited 3 days ago on 08-11.

If I don't get it wrong it does not look to be of any importance, so no reason to ask you to create a new TWRP-injected kernel.

(Last three nightlies ran with no issues on LA's TWRP-kernel here)

But in case I am wrong I just wanted to draw some attention to it.

Regards
[Galaxy S II Original Android Development] Lysergic Acid:
I was marked as a reviewer on that commit, you can see my name there, so I was aware of it. It's not necessary to update the kernel as you said too :)
[Galaxy S II Original Android Development] djnikosp:
First of all, thank you so much for this great rom!

Since my two last dirty flash updates on 20150812 and 20150813 I have no longer the choice to select the system profile from the power menu. Is anyone else having the same problem?
[Galaxy S II Original Android Development] cherryb8844:
Why the new build come with saprate recovery. Image did this necessary to flash it and how to flash
[Galaxy S II Original Android Development] Dr AM:
Delete
[Galaxy S II Original Android Development] LeBourrin:
It's change nothing for us. The recovery is still in the nightly zip (as you see the size does't change).

The recovery in a separated zip is usefull for non samsung phones, as the recovery is independant form the kernel. So just ignore this.
[Galaxy S II Original Android Development] Lanchon:
actually what i said before is wrong. for the kernel to change, yes a commit must show up there. but what people call kernel here is what you flash and what you flash includes more than just linux: it includes the init ramdrive, the recovery etc. commits for those will show elsewhere. what i meant to say was that the question was a bit nonsensical: the kernel changes when the developer changes it... hes developing! asking for commitments about not changing the kernel is like saying: could you please stop development while you continue your development?
[Galaxy S II Original Android Development] GabrielSousa:
flasing the rom dont pass

"Patching system image unconditionally"

whats the fix ?
[Galaxy S II Original Android Development] lukss12:
It takes a while to flash the rom how much have you waited?
[Galaxy S II Original Android Development] iistoryahi:
It takes 3-5 minutes on me

---------- Post added at 04:17 AM ---------- Previous post was at 04:11 AM ----------

On official build ambient display disabled , if you want to use ambient display download on exposed and activate it
[Galaxy S II Original Android Development] lukss12:
Yes it depends on the recovery too, mine takes a little bit longer in CMW. So they use to think installation is stuck but it actually isn't.
[Galaxy S II Original Android Development] iistoryahi:
Probably Yes , CWM are pretty recovery on JB and KK but for me on LP i never use it again , TWRP are perfect for our LP roms :good:
[Galaxy S II Original Android Development] mackaburg:
My wifi is dead in hardware and i still get reboot on suspend as nightly 20150815, how can i completely disable wifi without rebuilding the kernel? My computer is less powerful than S2...

Deleting dhd.ko made nothing, same as deleting wlan0 from build.prop. Is downgrading to CM11 the only lasting option? I didn't had the wifi back there but i didn't get reboot either. Sadly all CM11 nightly links from cm site are 404, and snapshot links are gone.

The error that trigger reboot:

java.lang.Exception: android_net_wifi_getInterfaces null interface array
[Galaxy S II Original Android Development] ltcutto:
Hey! hello everyone, can you help me please to find decision in installing on my i9100 some TWRP Recovery, i cant find i9100 on official site, trying some google request and have no reason.

Now i have 12.1-20150508-UNNOFICIAL-i9100 & CWM Recovery and i cant properly install the new official build (after install i have many toasts with massages about force close google apps, google services, and so on)

I tried many combinations in installation of new builds, but i have: "many toasts with messages about force close google apps, google services, and so on" or "have no google apps installed when i installed TK GApps"

Now I can not understand how I can upgraded to new builds with worked gapps
[Galaxy S II Original Android Development] lukss12:
First you must wipe data, cache and format system. After that you can flash Official Rom and use official CM gapps if you have custom System partition (~750MB or more) or use pico gapps linked in OP if you have 512 MB stock system partition.
[Galaxy S II Original Android Development] ltcutto:
Well I try it again:

1) Wipe all data\factory reset, wipe cache, wipe dalvik via CWM

2)Format system partition

3) install pico or gapps (but in case CM gapps what i must chose "arm" or "arm64" or "x86" ? )

4) install cm-12.1-20150816-NIGHTLY-i9100.zip

5) enjoy?

Did I understand you correctly?
[Galaxy S II Original Android Development] Giobio:
You have to change third point with fourth.
[Galaxy S II Original Android Development] ltcutto:
Ok, if i do that, i need TWRP Recovery, but i have no idea were i can find it, official TWRP have no i9100 model in list.

New cyanogen recovery cant do anything, it cant format \system partition, in fact i cant install pico because i have error code 40 or 70 just do not remember

If i do that: "change third point with fourth" in fact i lost working CWM and have disabled "New cyanogen recovery" and then install pico get error code 40 or 70 , rebooting to system and have clear rom without gapps pico and many others...
[Galaxy S II Original Android Development] :
Hi everyone. I'm on the UNOFFICIAL CyanogenMod 12.1 and I'm interested on the OFFICIAL one. But I have a few question.

1. Should I have TWRP recovery to flash the ROM? Actually I have the CWM provided with the UNOFFICIAL ROM.

2. I already repartitioned the system (6GB), can I install the official CM Gapps or I need the pico ones?

3. There are big bugs (like reboots) or little ones?

Thank you guys!
[Galaxy S II Original Android Development] lukss12:
Flashing from CWM on unnoficial is fine, i think you want to say 1GB system because 6GB is insane. Yes you can flash CM Gapps with 1GB system and No, there isn't any big bugs with stock kernel. Only hangs or rarely reboots whe using memmory hungry apps like chrome.
[Galaxy S II Original Android Development] the.gangster:
1.You should really read the opening post once.

2.who said that you should reboot between step 4 and 3? You can flash GApps right after the ROM.
[Galaxy S II Original Android Development] :
Thank you. I'm gonna flash so
[Galaxy S II Original Android Development] mimox:
I just updated my Galaxy S2 to this ROM and while I really love it I ran into one problem: The option "enable on-screen nav bar" (which I know from CM 12.1 on my Galaxy Tab S) is missing. This is very unfortunate for me as the middle button on my device is kind of broken (it still works but only registers about every third press). Is this option only available on tablets? If so, why?

Is there another way to a) enable the on-screen buttons and b) disable at least the capacitive buttons?

Thanks in advance!
[Galaxy S II Original Android Development] ltcutto:
Thank the gods, everything is working properly, it should be fixed in latest build, I have done:

1) Wipe all data \ factory reset, wipe cache, wipe dalvik via CWM

2) Format system partition

3) install cm-12.1-20150816-NIGHTLY-i9100.zip

4) install tk_gapps-modular-pico (uni) -5.1.1-20150809-signd.zip

5) enjoy!

But i have a question, where i can find TWRP Recovery? can someone link me?
[Galaxy S II Original Android Development] mimox:
You should find a TWRP kernel in the original post (search "TWRP" on the first page of this topic).
[Galaxy S II Original Android Development] cherryb8844:
Any random reboot or hot device on this latest build ?
[Galaxy S II Original Android Development] the.gangster:
As you still ask the same question, you obviously still haven't read the opening post. Please do so.
[Galaxy S II Original Android Development] ltcutto:
Noop device work's great:good:
[Galaxy S II Original Android Development] daniu:
Hi

I just reinstalled yesterday's ROM - to test the reason for the random reboots I did install xposed but not activate any modules yet. Not reboots so far (less than a day but I did listen to mp3 - however just 15mind)

I will report as soon as the phone reboots randomly ...

Regards
[Galaxy S II Original Android Development] ltcutto:
mimox

the.gangster

Thank's, it was hard to to notice, some small text
[Galaxy S II Original Android Development] Fr4nz83:
Have latest nightly, no reboots so far...but let's wait for at least 2 days of continuous usage before proclaming victory! ;)
[Galaxy S II Original Android Development] daniu:
I am still not sure it is/was the ROM or xposed - so: are you using xposed?

I use v70

Regards
[Galaxy S II Original Android Development] maly_szcz:
I have random reboots from time to time. Mostly, afrer few hours my device is off. I am using my device as dashcam.
[Galaxy S II Original Android Development] Fr4nz83:
I'm using the basic ROM. Anyway, I just got a crash while watching a video so...problem NOT solved! :(
[Galaxy S II Original Android Development] ajislav:
Is it reproducible? I.e. can you repeat the crash? If yes can you link to the video?
[Galaxy S II Original Android Development] Fr4nz83:
No, unfortunately it is not reproducible...these crashes happen quite randomly.

The only pattern I can see is that they occur with RAM-hungry apps (90% of the crashes occur with Chrome, but I had some even with Spotify and the BBC app).

Anyway, this is a well-known issue (ewven if the cause is unknown, seemingly) and there's a strange silence from Lysergic Acid about the issue...:D
[Galaxy S II Original Android Development] Weib67:
I can confirm that random freezes/reboots are not xposed related, as it happens also on xposed free i9100.

Seems indeed more generally memory/ram related.

In my case, it seems that clearing all applications (in recent apps menu) makes the problem more frequent. However, not clearing apps dosen't prevent it.

I'm currently collecting logs, since I went from unofficial to official recently.

And as Fr4nz83 said, no answer from Lycergic Acid for months. Stange. :confused:
[Galaxy S II Original Android Development] kavi75:
Wi-Fi direct

Wi-Fi direct is not working.

Even failed to rename the device!

Someone please confirm this
[Galaxy S II Original Android Development] lukss12:
Same here
[Galaxy S II Original Android Development] daniu:
Hi,

well ... maybe - but:

yesterday I though: comeon finish it: switched the modules in xposed on and - less than half an hour later the phone rebooted without me doing anything. Maybe that was coincidence but sorry - I doubt that.

So this morning I switched all modules off again, updated to v71 and listened to podcasts and music and did not have any reboot ...

maybe the problem has different reasons one of them being one of my modules. I'll keep testing without xposed modules switched on for some more time and then turn them on one by one. I use:

-greenify

-xposed

-wakelock terminator

-xposed media scanner optimizer

-secure settings

BTW: I am on 0815 nightly with TWRP-kernel by LA, 512MB ROM, 6GB data, 23MB preload

regards
[Galaxy S II Original Android Development] Teknonic:
Sound Recording Bug

I noticed that I couldn't record sound using any sound recorder apps. Neither the Sound Recorder app nor another app was registering any sound nor allowing me to hit the record button. After a bit of playing around I realised that it was occurring when "OK Google" detection from any screen was enabled. Disabling that option allowed me to record again.
[Galaxy S II Original Android Development] aleMarvel:
hi i have a problem with notification on playstore..

the notifications updates don't appear.. why ? problem of cm or gapps ?
[Galaxy S II Original Android Development] JavaScout:
Can someone pls explain to me: what is happening on CM github? Are those incremental or standalone GApps packages?*

https://github.com/cgapps/vendor_google/tree/builds/arm
[Galaxy S II Original Android Development] wdevil12:
Im sure those reboots are not xposed related. I haven't had any reboots/freezes for 7,8days.

Current Setup:

-CM12.1 Build 2015-08-05

-Dorimanx V11.0beta009-TRIM (Battery Profile with max freq 800/1000)

-Xposed V70 20150808 by romracer

-Greenify 2.7 beta4

-ViPER4Android FX 2.3.4.0

- Default Partition size..

I assume it could be the kernel related but still..

---------- Post added at 04:34 PM ---------- Previous post was at 04:29 PM ----------

WiFi direct doesn't work yet, Dev skipped this in order to fix more serious issues.. maybe in the future releases..

---------- Post added at 04:49 PM ---------- Previous post was at 04:34 PM ----------

its definitely gapps' fault. No problem here. pico gapps.

---------- Post added at 04:56 PM ---------- Previous post was at 04:49 PM ----------

They are not gapps made by CM.
[Galaxy S II Original Android Development] daniu:
Hi,

sorry - cannot follow your logic:

I: it might be some xposed module cause without enabling them I get no reboot, enabling them I got a reboot straight away:

You: no - it should not be connected to xposed cause I am using xposed [with almost completely different modules] and got no reboots ...

Sorry: it is still well possible that one of the modules I normally use cause the reboots. Good to know that it is probably not greenify ;) Another reason might be my restricions in xprivacy ...

regards
[Galaxy S II Original Android Development] wdevil12:
Oh sorry. I got it. I thought you said that xposed was the reason.
[Galaxy S II Original Android Development] aleMarvel:
now i try tx... i can flash over my actually gapps from recovery cm12 ?
[Galaxy S II Original Android Development] wdevil12:
Yes u can. first open your old gapps zip and look for what differs from thr new one e.g. paths, init.d files. if they dont match delete old gapps files from system and flash the new one then wipe dalvik.
[Galaxy S II Original Android Development] aleMarvel:
ah ok i must delete from system !!!
[Galaxy S II Original Android Development] daniu:
I think most gapps do that themselves, don't they?
[Galaxy S II Original Android Development] wdevil12:
They might and I see TK pico gapps also does that as well.
[Galaxy S II Original Android Development] daniu:
Hi,

I changed to:

-768MB ROM, 6GB data, 23MB preload, still 0815 nightly with TWRP kernel and I turned on the following xposed modules: greenify and xposed media scanner optimizer. Seems like these modules don't cause the reboots. Still no problems. Actually I guess it is xprivacy cause most people use it and I guess it is easy to block some important thing ...

regards
[Galaxy S II Original Android Development] cherryb8844:
I dont think rendom reboot is cause by xposed I'm using first nightly with many modules like

YouTube adaway

Flat style indicator's

Greenify

Xtoast

Status bar download

And yes I have latest framework installed v70

No reboot only freezing issue I face

I thing that was a kernel related issue that someone post he/she using dorimanx kernel without any reboot
[Galaxy S II Original Android Development] Weib67:
Hi,

Good to see other people try to investigate on that problem.

As I said, Xposed might be a factor, but is for sure NOT the cause, since I got those freezes on a device without xposed (let alone any module). If it's reproductible, then ok, but since it's not, it has indeed to be either a coincidence, or to be ressource related. For the very same reason, I can tell you that it is not related to Xprivacy.

That is interesting. I didn't test any custom kernel, as I assumed the stock one should be the most stable.

Anyway, I got two i9100 here. Both used as daily drivers. One completely stock (no Xposed) and very light usage. It lasts for a few days, maybe a week, before freezing.

The second has xposed, but most importanly is heavily used. This one has much more random reboots/freezes than the first one. It lasts no more than a couple of days.

As I pointed out earlier, the 9gag app is also systematically force closing on my 9100s. Yet, the comments on the playstore are all good and don't mention this bug, so it has to be rom related.

First log is about the 9gag app problem, and second log is about a random reboot. Hope [MENTION=6159291]Lysergic Acid[/MENTION] will be kind enough to take a look at them.

http://pastebin.com/z8MUatCK

http://pastebin.com/YA0jZgyD
[Galaxy S II Original Android Development] daniu:
Hi,

I think that your freezes come from DorimanX - I stopped using that Kernel due to freezes - cannot recall a lot of reboots with that kernel though. That was exactly the reason why I was whining here to get a stock kernel with cwm/twrp AND trim because - sorry gsstudios - I do not believe that dorimanx is usable ATM plus I don't care about most of the added features (dual boot, oc, uv, etc). Now I am living without trim until someone has mercy with us ;)

And I still believe that my reboots (I don't have any freezes) came from one of the xposed modules (not xposed itsself). I listened to podcasts this morning for quite some time which caused reboots before but did not now (only greenify and xposed media scanner optimizer enabled). If I'd get less than 1 reboot per 2 days (I am at that point right now) I would be very happy and would not bother too much.

regards
[Galaxy S II Original Android Development] Weib67:
[MENTION=1601710]daniu[/MENTION]

Hi again,

Well, you just quoted a post where I say that I never used any custom kernel, so it's definitely not Dorimanx related.

Plus, I already said a couple of time that freezes also happen on xposed free I9100. So, seems we are running in cercle here.

We'll have to wait for the logs to be examinated. Feel free to provide some as well.
[Galaxy S II Original Android Development] Gabrius99:
Hi

I'm thinking to flash this ROM, is it almost stable or it has weird bug?

Which kernel do you suggest me to avoid the super brickbug (i'm on last 4.1.2)

Greets
[Galaxy S II Original Android Development] cherryb8844:
Use philz touch kernel for avoid brickbug

http://xdaforums.com/galaxy-s2/deve...lz-cwm6-stock-kernel-cwm6-root-exfat-t1877270
[Galaxy S II Original Android Development] daniu:
Hi,

sorry - messed up ...

However I just wonder why I do not get any freezes using xposed with a few modules while you do get freezes ... I would expect some app to be the reason.

Concerning your 9gag whatever app: I cannot comment on anything in playstore anymore for a long time because I do not have google+ - so I would not be too sure you get all problems with an app by reading the comments.

regards
[Galaxy S II Original Android Development] Gabrius99:
[MENTION=6709252]cherryb8844[/MENTION]

Then it's sure flash or wipe from this? Can I then flash twrp and perform wipe?

Greets
[Galaxy S II Original Android Development] cherryb8844:
Yes there is stock based twrp recovery created by LA you can get from OP full wipe need for installing the ROM make sure battery level is more than 80% and use pico gapps follow this

On recovery

Wipe data factory reset

Philz recovery recommend you clean device for installing new ROM

Tap clean

That clean all thing data cache dalvic cache and preload

Install ROM

Install Gapps

Flash your kernel what you like

Reboot :)
[Galaxy S II Original Android Development] Gabrius99:
Ok, thanks.

Which kernel do you suggest?

Can I leave cm one or it has probem?
[Galaxy S II Original Android Development] cherryb8844:
You need twrp here the link

https://www.androidfilehost.com/?fid=24052804347787517

And my friend nightly have always some issues and bug When you need a bug free ROM so I suggest you to wait for a stable release
[Galaxy S II Original Android Development] DualJoe:
Kernel and recovery are still bound on S2? When i flash this to an already installed custom kernel it will be gone. Is that correct?
[Galaxy S II Original Android Development] the.gangster:
You got it, man.

And always will...
[Galaxy S II Original Android Development] str0be:
Stuck on Samsung Logo with triangle after freeze

First, I wanna thanks LSD for the wonderfull job he is oding on this release.

I tested successfully Lolipop on my "old" Galaxy S2, and I have to say it was quite working smooth, fast and fine ( except maybe some freezes, I'll say one day over two).

The issue is after one of this freeze, I rebooted my phone, which is now stuck on first Samsung Logo (with triangle). I have no access anymore to recovery menu, but ODIN mode is working fine.

So I used ODIN to go back to a stock firmware (the one I used before installing Cyanogen), but despite all messages seems OK, my phone is still blocked on this boot screen...

Does Cyanogen had changed something that now I can't go back to stock this way ? (as I am a little bit lazy, my plan is to go back to stock, then install Cyanogen with Cyanogenmod installer, then upgrade to Loliipop + Gapps (the pico one if I remeber) from SD card from the recovery menu (I made it on five phone last week, everything was working fine).

So if anybody have any idea on how to unblock from booting screen (I repeat ; I have acccess to ODIN mode, but the two stock mode I tested didnt change anything), you would be welcome.

PS : I cant' remember wich nightly version was installed on my S2, but I a m quite sure I updated it from autoatic updater last week.

PS : Don't worry about my data, I know I already lost all my SMS etc... I didn't save, so I have really nothing to lose !

Thank everyone for reading me, and again, thanks to Lysergic Acid for the job!
[Galaxy S II Original Android Development] chrisXL:
Try to:

- flash Philz recovery (.tar for odin)

- reboot in recovery (don't boot phone)

- wipe data (for new rom option)

- flash a kk compatible recovery (for me "stock twrp by LA" is good)

- flash rom

- flash gapps (optional)

- reboot

If that don't help maybe you have to change format partition for sdcard0.
[Galaxy S II Original Android Development] LeBourrin:
[MENTION=739412]str0be[/MENTION]

Do you have repartitioned your memory ? If you use a PIT with a modified Preload you can't boot stock 4.1.2.
[Galaxy S II Original Android Development] str0be:
Hi Lebourrin.

Nonono, I didnt. Only installed one CM Nightly release and Gapps from zip from the recovery mode installed by the get-cm installation (6.0.5 if my memory doesnt failed ?). Then I didint installed special apps, neither played with advanced features (like CPU overclocking etc....).

To chrisXL : not sure the msg was for me, but if it was, please note that I removed both sim and sd card before flashing with Odin. Nevertheless,I'll try to flsh from Philz.tar as you suggested.

Thanks to all !