yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] ioev:
Bug: Apps moved to "sdcard" lose their shortcuts on reboot

I noticed this with the older version of this rom, as well as the most recently released version. I move a lot of my apps to the "sdcard" (14gb partitian) to save space on the tiny 2gb partition. But when I reboot, any shortcuts I had to those applications are lost, and I have to create them all over again. Has anyone else noticed this?

I'll test more on the newest version, since I didn't see anything relating to this in the changelog, I may as well report a few other problems:

- sometimes the connection to the camera gets "locked" and the only way to release it is to reboot. This happens pretty frequently when using the google camera app.

- broken video playback. This occurs in videos I just took, and with apps like Netflix. The video playback is all garbled, even though the sound is fine.
[Galaxy S II General] titanic_fanatic:
Interesting log, I didn't see what I was expecting to see, so I'll need to study these logs. Thank you for pulling it for me.

EDIT:

if you can, backup your sdcard to your computer and then re-format it. I'll continue looking at your logs in the meanwhile.
[Galaxy S II General] titanic_fanatic:
For netflix, use netflix black. That one works.

I'll run some tests with google camera as I don't experience this issue with the stock camera and that one might be an easy fix.

Is the video issue with videos taken with google camera? Again, if it's those taken with google camera, it might be an easy fix.

For your shortcuts, use a file manager like ES file explorer and make /mnt/media_rw folder permissions writable (check all boxes under user group and other) to see if that will help. That was a kitkat issue that I had fixed previously and was overwritten during one of my upstream merges.

EDIT:

For google cam, it's the 1080 video that's messed. Try 720 for now.
[Galaxy S II General] Myrkskog:
Thanks for all the hard work. I'm looking forward to getting this rom working, but I am having an issue with the install.

When I try to flash Gapps I keep getting an error and it aborts the installation. Using the Gapps from build 20141122.

Thanks!
[Galaxy S II General] titanic_fanatic:
Are you using the latest Philz recovery?

Can you pull the recovery logs after you try flashing the gapps and it fails then go back to the main screen and into advanced and send logs. It will show you where it saved the logs so that you can post them here ;)
[Galaxy S II General] Myrkskog:
Not sure where the recovery log is. Ill mess around and see where it is. I am using the latest Philz though.

Edit just saw you said how haha.

---------- Post added at 07:12 AM ---------- Previous post was at 06:53 AM ----------

Hmmm it adds to many characters to post and the upload says invalid file. I hope this end is enough for you, otherwise can I email it to you?

-- Installing: /storage/sdcard0/pa_gapps-modular-mini-4.4.4-20141121-signed.zip

Finding update package...

I:Update location: /storage/sdcard0/pa_gapps-modular-mini-4.4.4-20141121-signed.zip

Opening update package...

Installing update...

W:Using fallback updater for downgrade...

line 2 col 1: syntax error, unexpected $end, expecting IF or STRING or '!' or '('

1 parse errors

E:Error in /storage/sdcard0/pa_gapps-modular-mini-4.4.4-20141121-signed.zip

(Status 6)

Installation aborted.

press any key to continue.

press any key to continue.

---------- Post added at 07:28 AM ---------- Previous post was at 07:12 AM ----------

I havent tried any version but the most recent. But I am doing this for performance issues my phone is having and hoping to take advantage of your latest optimizations.
[Galaxy S II General] titanic_fanatic:
Can you please send it to titanic.fanatic.xda@gmail.com

Thanks kindly ;)
[Galaxy S II General] NoSpamDan:
Hey [MENTION=4859152]titanic_fanatic[/MENTION]:

I can't compile with the RIL class set to ro.telephony.ril_class=SamsungMSM8660RIL

How did you get around this? I've commented that out in the msm8660.mk file for now...
[Galaxy S II General] karce32:
Issue with gapps

So I downloaded all the main apps from the OP, however when I try to install gapps it gives me a status 6 error and it aborts.

flashed philz_touch_6 12.8

JB radio

CM 11 20141122 unofficial

pa_gapps - modular mini 4.4.4 20141207 signed

So i have no google apps at the moment. Tried the 20141121 gapps version as well, it also fails.

is it the version of philz touch that is messing it up?
[Galaxy S II General] titanic_fanatic:
Are you asking for kitkat or Android L? What is the error you are getting?

I still haven't got L to boot so can't be of much assistance there, but for compiling L with this option I had to different my cm11 dir with my cm12. It's java that is missing in one of the telephony classes and can't remember which one. Grep helped me find the files though in my cm11 dir ;)

No issues for me compiling with this in cm11.
[Galaxy S II General] titanic_fanatic:
Someone mentioned this yesterday. I'm still looking into it. It appears there's a syntax error in the install script. I'll let you guys know as soon as I figure out the issue ;)
[Galaxy S II General] karce32:
OK, thanks for the quick response. Loving this so far
[Galaxy S II General] titanic_fanatic:
Try this older version

https://www.androidfilehost.com/?fid=95832962473398759
[Galaxy S II General] karce32:
That seems to have worked! Thanks
[Galaxy S II General] ioev:
I checked the /mnt/media_rw permissions, and everything is already checked. Must be something else then?

I also tried the regular camera, and it works totally fine, so you're right, it's something to do with Google Camera. I'll avoid using that for now.

I'll try to give netflix black a try, as long as it Chromecast support then it should be alright.

Thanks for the help, and also for the rom!
[Galaxy S II General] NoSpamDan:
L it is... I have to do some detective work.

Thanks
[Galaxy S II General] irenek:
Will do, thank you!
[Galaxy S II General] karce32:
works great

Just want to thank you for making this phone usable again. Been wanting a new phone, but with this it allows me to be happy with it for at least another year, as well as not worry about old bugs with ICS i used to have. This phone was terrible with the JB update, even with the slim/no bloat version.

I've tried every version of your firmwares since slim bean, however I haven't been able to accept it because of missing or buggy features. But I can say with this I have so far no need to go back to non-bloated stock ICS. Besides battery drain while actually using the device, stand-by is amazing. I don't have FB installed, and i've disabled notifications for Google Play Service and Email, so I can have it at 100% after I unplug it for at least an hour in my pocket. I've disabled auto-brightness and I'll test it out tomorrow to see if it helps prevent some battery drain while I use it.

Keep up the good work.
[Galaxy S II General] titanic_fanatic:
I think this is a result of the input boosting. You could try disabling it by going to /sys/module/cpu_input_boost/parameters. Then open input_boost_ms and change the value to 0. This will disable the input boost saving more battery while you use the phone. 1500 is the default value and represents the number of milliseconds the input boost is active for after you touch the screen.

Also, you should try gsam battery monitor as it will show you what processes are eating up the most battery ;)
[Galaxy S II General] RukusX7:
I wonder if ukm and synapse will work for your kernel? Synapse is an app that allows me to tweak my settings on my oneplus one.

Check it out.

http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986
[Galaxy S II General] Gaussia:
This has been a bit of a problem for me as well. For whatever reason, this version of Netflix works on my phone. It's a newer version than the latest "Netflix Black", although not new enough to include profiles. I'd love to get a newer update in the future, but for now at least I can watch Netflix on this device.

I found this thread in the A500 forum where they seemed to have a similar issue and found a workaround. I admit I don't know enough to investigate further and see if such a patch/script could be created for us. Any thoughts?

ps. I've been running quiet in this forum but always keeping an eye on progress being made, thanks again for all you do titanic_fanatic!
[Galaxy S II General] karce32:
re

Couldn't find that path...

And I'll have a look at gsam battery monitor as well
[Galaxy S II General] karce32:
capacitive back light notification

I was messing around with the notifications using the capacitive back lights, and when I got into the settings > Display & Lights > Notification Lights and try to change any of the times (Short, Fast/Long, Slow) the lights begin to flash and never stop until reboot. And even though the speed settings were modified, it always blinks at the same rate. Not sure if this is something that can be worked on, but unsure if you were aware of the issue.
[Galaxy S II General] titanic_fanatic:
Use the advanced settings to manage bln. The system bln settings do not work with the bln implementation in this kernel. Blink interval and blink timeout settings can be modified in the advanced settings although you cannot modify these on a per app basis like the system settings. The system version of these settings I keep meaning to remove to avoid confusion. I'll make sure it gets removed before next release.
[Galaxy S II General] titanic_fanatic:
Have you been able to get L top boot for the skyrocket yet? I noticed you have an entirely new fstab on the slim gerrit. Is this required to get it booting?

Currently, I just get nothing. No boot animation, no logs. The kernel doesn't even panic and cause a reboot it just stays at a black screen.

I'm using the 8960 HALs and am building cm12. Any ideas?
[Galaxy S II General] NoSpamDan:
I currently cannot even flash; the fstab changes were for "by-name" partition support, but I suspect the kernel needs some work to support by-name. Currently using the CM12 kernel. There were Slim /build repo changes which required the fstab update.

As for my Gerrit commits, I wouldn't use them just yet because I have some major dependency issues and will be redoing some of them. I was able to build though... Guess that's part of the battle at least.
[Galaxy S II General] Titus_Andronicus:
Since the GPS is one of the main things I use my phone for, I finally decided to fix this problem. I installed CM9, and the stock ICS radio. Problem fixed. The phones GPS got a lock within 1 or 2 minutes from a cold start inside my house. That is more like it. The JB modem was taking 10 or more minutes in ideal conditions (open sky, or even beside a GPS booster). Although I am already missing some of the cool KK and CM11 features, CM9 is still WAYbetter than stock.
[Galaxy S II General] titanic_fanatic:
Glad you found something that works for you, although, sad to see you leave ;)

EDIT:

This just gave me an idea :D I'm going to try out the ics GPS module on my kitkat build. No guarantees that it will work, but you never know right. I'll let you all know how this goes after I've tested it out ;)
[Galaxy S II General] Titus_Andronicus:
That would be AWESOME! While CM9 is nice, I would definitely prefer to use CM11 with a workable GPS.
[Galaxy S II General] m54:
Hi Titanic,

Been running the latest rom for a bit and just wanted to let you know I had the flash reboot - I was around 45-50% battery remaining.

Other than that its been running really well so far!
[Galaxy S II General] titanic_fanatic:
Cheers, I noticed that EmanualU upped the threshold in his kernel to 60%. I will do the same for our next release ;)
[Galaxy S II General] swamp_mule:
Camera

My apologies if this has been discussed, I did not find my answer in a forum/thread search: my camera is not properly rotating my pictures after I take them. Taking a portrait shot flips it 90 degrees to landscape and vice versa. Any suggestions?
[Galaxy S II General] titanic_fanatic:
I actually just noticed this yesterday. I think I know where the problem is and will revert the commit that caused it for the next build ;)
[Galaxy S II General] titanic_fanatic:
I have recompiled the camera module and it does in fact fix the orientation issue. Just replace /system/lib/hw/camera.msm8660.so with the one in the zip file attached to my post. Ensure that it has the same permissions as it did originally and reboot your phone. Now the camera should work as expected ;)
[Galaxy S II General] swamp_mule:
This is probably my inexperience, but I get a "read-only file system" error when I try to overwrite that file using ES File Explorer (which is granted SuperUser). Any suggestions?
[Galaxy S II General] Brockman:
TF - Thanks for all your hard work with this phone. I've pretty well put every every build on my i757M, and I find this one to be the best. The camera fix above works perfect.

However, I recently put this build on my wife's i757M with not such good results. The phone reboots almost once every 5 - 30 minutes. Attached is a logcat, but I don't know if I did this right.

I've reinstalled this build twice after doing a complete wipe each time. There is no particular app thats causing the reboots, but I think it does happen more with more apps running at once...

Thanks again for all your help!
[Galaxy S II General] titanic_fanatic:
In as file explorer, go to the tools in the side menu, then click on root explorer, click on the menu item, not the on/off button. Then a window will pop up and you will select Mount R/W and select / and /system as RW. Then you can paste the file.
[Galaxy S II General] titanic_fanatic:
I will need the last_kmsg. After the phone reboots, open the terminal and type the following commands:

Then email this log to me at titanic.fanatic.xda@gmail.com
[Galaxy S II General] swamp_mule:
I now get a "cannot connect to camera" error. Any suggestions?
[Galaxy S II General] titanic_fanatic:
i accidentally attached the file from carbon. try this one which is from cm. also make sure it has the same permissions as other files in that directory ;)
[Galaxy S II General] radu_ionut:
Need Help With my i9100!!!

Hello,

I have a problem with my galaxy s2 device. I instaled 4.12 on it and worked just fine but trying to install a game i realized that i need a newer version of andoid and tried to install 4.44 kitkat and did not succeded.

Now my phone isnt working anymore. I fallowed all the steps from some software install indication but nothing.

When i open the phone is going from the start in booting mode and all roms i try to install doesnt work.

Any advice for me please? Need help to reinstall andorid on it.

I'm new on this site and i dont know whre to place this post and i tried here!

Thx,

Radu
[Galaxy S II General] titanic_fanatic:
This sounds like a bootloop and is usually caused when you try to flash over an existing Rom. You must format /data, /system and /cache before flashing. With Philz touch recovery you can also use the clean to install new Rom option.
[Galaxy S II General] radu_ionut:
I managed to reinstall android 4.12 on my phone. I wanted to install kitkat 4.44 but i didnt succeded. Do you know and kitkat rom that works on galaxy s2 and it was tested by other users?

Thx for the answer!
[Galaxy S II General] titanic_fanatic:
I'm the only dev for this phone, and all my kitkat ROMs are working and in use by other users ;)

Do you have the latest Philz recovery on your phone? If so, try all the steps again and after you flash the Rom, flash it again a second time.

And lastly, just to confirm, you have an SGH-I757M (Galaxy S2 HD LTE)? My ROMs will not work on other s2 phones.
[Galaxy S II General] irenek:
Formatted SD, issue still occurs almost every day, but analyzing it I think may be it caused by overheating, because usually the phone goes into rebooting cycle after I use camera and becomes really hot; in this case I remove battery and let it cool down. I didn't have this behaviour with previous ROM, started right after I flashed the last ROM. Is there any logs I can pull for you? Or any scenarios you would like me to try?

The ROM is great anyway :)
[Galaxy S II General] radu_ionut:
model number: GT-I9100

Build number: JZO54K.I9100XWMS1

This is what i have on about section. Dont know anything else about it.

May be you know better then me.

thx
[Galaxy S II General] titanic_fanatic:
It's that darn spinlock. I'm still working on that one. I too had a random reboot tonight with this same error

And my device was hot when it happened, almost at 50 degrees. I haven't had this reboot when my phone is below 40 as a rule of thumb, I generally don't let my device get hotter than 40 and use gsam battery monitor to monitor this for me. When my device gets too hot, I just turn off the screen for a few minutes until it cools down again.

I find all browser's cause my phone to heat up really quickly and try not to use it as much as possible. Games would also cause this.

Lowering the overclock will help slightly with the heating up, but will still cause a spinlock if the device gets too hot.

Anything above 40 is probably bad for internal hardware anyways, so try to keep it under 40 ;)

Will let you know when I figure out how to fix this one ;)

This explains it all, and I'm wondering how you even flashed my rom in the first place because you have the wrong model. The zip is supposed to check that you have the right model and that you have the supported baseband.

Your lucky you didn't brick your phone after flashing the radio for the wrong device.

The first rule of thumb with flashing ROMs is never flash a Rom intended for a different device. Your i9100 is the first generation s2 this is for the second generation s2 with LTE.

There are probably xda threads for various custom ROMs for your device, you only need to use Google to search for them.

Your device is in fact still officially supported by cm though and you can find cm11 for your device by visiting the cm website.

http://download.cyanogenmod.org/?device=i9100 (direct link to your device downloads)

For support if you need it, you still need to find one of those xda threads with a dev who works with your device. I don't own an i9100 and don't know the hardware so I unfortunately can't help you past pointing you in the right direction of where to find cm for your device.

Oh, since your new. It would probably also be helpful for you to know that cm11 is kitkat (Android 4.4) which is the version you are looking for ;)
[Galaxy S II General] radu_ionut:
Thank you very much for your advice and your prompt answer!
[Galaxy S II General] Titus_Andronicus:
Any progress on this trick? I would love to have this work!
[Galaxy S II General] titanic_fanatic:
This actually caused gps to take even longer to find any satellites :(
[Galaxy S II General] Titus_Andronicus:
OK, here is what I am thinking. Tell me if this is possible, or if I am just crazy.

Restore my original backup to original Bell JB (that would include its JB radio). Then use this ROM to flash CM11 (KK) but don't flash the included JB radio.

Will this work, or will it just cack?
[Galaxy S II General] titanic_fanatic:
The jb radio in my downloads is extracted from that Rom, so you are already running it's radio ;) I will be testing out some hacks that I found to try and improve gps. If they work out, I'll include with the next build which should be out in the next week or so with new Bluetooth and Wi-Fi drivers ;)
[Galaxy S II General] Titus_Andronicus:
I was wondering if that was the case. It is kind of strange; the GPS was working ok with the stock JB build and modem, but with CM11 (KK) it was horrible. Must be some strange interaction between the modem and OS.

What I noticed was that there was plenty of GPS recieved signal strength from multiple satallites, but it wouldn't lock; almost like it was refusing to do the math calculation, or the system wouldn't allocate the resources to do the math.

Anyway, I am looking forward to the results of your hacks!

Thanks again for all your work on this phone.
[Galaxy S II General] formercontra:
Any of my old I757 friends want a OnePlus One invite?
[Galaxy S II General] titanic_fanatic:
I'll take one please since my contact is up next August and need to think about a new device ;)
[Galaxy S II General] formercontra:
I'll send you the link on Hangouts ;)
[Galaxy S II General] RukusX7:
Go with either the Oneplus for about $425, or for $250 you can get the moto g 2014 unlocked at staples. We're in the stages of official CyanogenMod support currently as well. The device lacks lte and NFC capability, but a lte version is coming soon.

My contract is also up this September, so I'll be watching what device to choose after then. Its nice having a new phone.
[Galaxy S II General] iDynamics:
The Moto G is a very capable little device. I pulled the trigger on the 2013 variant yesterday for $107 prepaid and $3 for an unlock code. Well worth the money.
[Galaxy S II General] RukusX7:
I have the moto g 2014. Better camera 8mp, 5" screen, sdcard slot.
[Galaxy S II General] iDynamics:
The SD card slot is the thing that I really miss.
[Galaxy S II General] RukusX7:
Did you get 16gigs? Mines only 8 so it's nice to have an SDcard slot for my 32gb card.
[Galaxy S II General] iDynamics:
I got the 8GB version.
[Galaxy S II General] jonnyjb:
Where did you get your unlock code at?
[Galaxy S II General] RukusX7:
I meant to post here.

I'm developing for the moto g 2014 if anyone is looking to an inexpensive device to upgrade with dev support.
[Galaxy S II General] danrobi:
I'm about to change my phone, that is a good point for the moto g. :)
[Galaxy S II General] RukusX7:
And people even smarter and better at developing have custom kernel, and are in the midst of official CyanogenMod
[Galaxy S II General] RukusX7:
For those who were interested in the Moto G, I found this

https://github.com/CyanogenMod/android_device_motorola_titan

Cyanogenmod support for the Moto G 2014
[Galaxy S II General] danrobi:
Well guys, that's it for me, my S2 gave up on me. I finally went for the LG G3 wich i love so far. It is great looking and sofware side, it is great too, not to bloated. LG apps are good and nice looking, my wife and dauther who recently purchased the galaxy S5 are very jaleous.

Titanic, thank you so much for yorur work on the S2, hope your next phone will be the G3 so you can make it worth keeping for 4 years. ;)
[Galaxy S II General] Brockman:
I'm still a hard core CM 11 user but I've been having some problems with the audio recently. It seems that after the screen has been off for any length of time that there is no audio while the screen is off, or for the first 5-10 minutes after it 'wakes up'. Anyone else have this issue at all? This is with the latest build that tf put up on his androidhostfile page - the February 4th build - although I started having this problem with the build before it last week sometime. Any thoughts tf?
[Galaxy S II General] titanic_fanatic:
I updated the audio drivers in the latest build, but not the one before it. Can I get you to take a dmesg for me? The instructions are in the second post ;)
[Galaxy S II General] Brockman:
Apparently I wasn't as hard core as I thought. I bought a Nexus 5 today, so my time with the S2 has come to an end. Thanks for all your hard work TF.
[Galaxy S II General] Titus_Andronicus:
Hey, were you able to get any progress with this? I would love to switch back to CM11.0!
[Galaxy S II General] titanic_fanatic:
Yes, I discovered that the gpc.conf file was missing. I added it back plus set the NTP server to the Canadian one and now it's working well for me.

Just download the gps.conf.txt file from this post, rename it to gps.conf and put it in /system/etc. Then set it's permissions to the same as other conf files in that directory. Then reboot and gps should work much better ;)
[Galaxy S II General] avasguy:
GPS

Can you explain this a little bit more? Please give an exact instruction, where do I have to copy this file. My GPS is not working at all.

BTW, guys did you have instability with bluetooth? Sometimes just turn off and I have to restart the phone to make it work again.

Thank you very much.