yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Titus_Andronicus:
Thanks for this exelent ROM! I installed this on my stock phone. I was starting to think I was going to have to upgrade my phone to a S4 or something, it was starting to suck so bad. This ROM has given my phone new life!
[Galaxy S II General] crdnick:
i need to noob out and ask how to do this. i have the exact same problem.

edit: got it. lol.
[Galaxy S II General] titanic_fanatic:
Download 7zip and notepad++ if your on Windows. File roller and gedit is ok if your using Linux.

Then open the zip file with one of the archive programs I mentioned above depending on your os.

In the zip file, browse to META-INF/com/google/android and extract the updater-script to any place on your hard drive.

Then open the updater script with either notepad++ or gedit depending on your os.

You will see the assertion lines at the top of the file.

Delete them. The first line will then be... package_extract_file("system/etc/test_radio_version...

Then save the file and drag it back into the zip file allowing it to overwrite.

Then just upload the zip back to your phone and flash away ;)
[Galaxy S II General] crdnick:
i ended up just doing a find and replace from sgh-i757m to galaxys2hdbell instead of deleting the line.

worked.
[Galaxy S II General] microcontroleur:
Android 5.0 Lollipop

Quick question, will our phone hardware be able to support Lollipop?
[Galaxy S II General] titanic_fanatic:
[MENTION=4800121]Sultanxda[/MENTION] had proven that it can ;) I'm just trying to get it to boot. I got it to build, but I don't even get a boot animation :( Still working on it though ;)
[Galaxy S II General] formercontra:
Well, I upgraded to a xperia z3 yesterday. Thanks to everyone who kept this phone alive! especially [MENTION=4859152]titanic_fanatic[/MENTION] not too many phones get this kind of treatment :) I'm giving this s2 to someone else on the condition I can flash updates, so I can still try and help out where I can.
[Galaxy S II General] Titus_Andronicus:
As previously mentioned, I just installed CM11.0. So far I am loving it. However, I am having problems with the GPS. It is taking 10+ min to get a satallite lock. This is crazy. The stock firmware was usualy less than 30 sec to get a satallite lock.

From what I have read, this sounds like an issue with the new radio/modem flashed. As instructed in the first post in this thread, I flashed JB_modem_I757MUGMC5. Is there other compatible radios that others have had success with?
[Galaxy S II General] titanic_fanatic:
No, this is the only radio for this device for jb and up. I find that turning on Wi-Fi, even if not connected to it helps.

Unfortunately we are stuck with these proprietary drivers unless someone knows how to reverse engineer a closed source driver.

Also, the other thing I find helps is to open an app that actually uses the gps while it's trying to connect to the satellites like Google maps.
[Galaxy S II General] titanic_fanatic:
On another note, there will be new builds coming out in the next week for all my kitkat ROMs. I have integrated [MENTION=4800121]Sultanxda[/MENTION]'s cpu boost framework as well as cpu overclocking. My antutu score got as high as 14154 where my older antutu benchmarks were down below 12000 ;)

I have also now added sgs2hdbell as a device name in the updater script so all bell devices should no longer have an issue with flashing ;)
[Galaxy S II General] titanic_fanatic:
Thank you for sticking around for so long and for all the support you've given me in the past ;)

Sony eh! I have been thinking about a Sony for a bit now. What's really enticing for me is they're at the top of the pack when it comes to releasing source and keeping older devices up-to-date.

I still have until August 2015 on my contact anyways so I'll be with this phone until then at least and hope to have something lollipop for it before I go!

Kinda looking forward to a new device myself though. And if I've learned one thing, it's that you should research the device you want before you get it to make sure it has the support you need.

Good luck with your Z3
[Galaxy S II General] colinoftheeast:
Well after running your CM9 forever, my phone starting being rather finiky so upgraded to CM11 a few days back. Unfortunately the stupid NFC Service is killing my battery. I can do a force stop on it but it seems like something else just takes over so maybe that's not a great idea. Basically the phone is being kept awake constantly and not allowed to sleep. I can't disable NFC in the options for some reason. I uncheck the box and its always checked when I come back into the settings.

I have searched high and low for a solution to this. I did find something about not being able to disable NFC on CM11 and I think it was fixed in one of the newer builds. I don't really keep up with the development of CM11 so I'm not 100% sure on that one.

Has anyone else had this problem or could someone maybe suggest a solution? Is it possible that re-flashing it again might help?

When I flashed it I used all that was listed except the GAPPS. I only flashed PA mini gapps. Could this be causing a problem?
[Galaxy S II General] titanic_fanatic:
Are you sure it's nfc? Did you use a battery app to detect that?

The phone not going to sleep is generally caused by the location services. Try this, go to:

Settings -> Wi-Fi

Then press menu and click on Advanced and make sure that Scanning Always Available is not checked.

This should help with your phone not going to sleep.
[Galaxy S II General] colinoftheeast:
I did have that option unchecked already. NFC services was at the top of my battery usage list. I have had it stopped for a while now and the battery life is better but still not nearly good enough to last the day where before I would be around 20-30% when I went to bed with CM9. I do have Kernal samepage merging checked as per your suggestion to someone else earlier in this thread.

I have a wakelock detector installed now so I will see what is going on. I stopped NFC services last night and charged it overnight and it still says its been awake for 96% of the 8h since I charged it. Just rebooting now to let it run with NFC services for a bit.

As I said before, is it possible only installing the PA mini gapps and not the main GAPPS could be causing a problem?
[Galaxy S II General] titanic_fanatic:
No, it wouldn't be the gapps, that's the same one that I use.

When you flashed the ROM, did you clean flash it, ie: you wiped everything before you flashed it? If you flashed this ROM over top of your previous ROM, that could be the cause. If that's the case, make sure you wipe everything before flashing. In Philz recovery there is an option to "Clean to Install New ROM". This option will do exactly what it says and cleans up so that you can install a new rom which wipes /data, /cache and /system. This is needed when coming from other ROMs. Flashing over top of an old ROM can leave bits from the old ROM which can interfere with the system.

If that isn't the case and you've clean flashed, can you please pull a logcat for me. The instructions on how to do so are in the second post of this thread. You can send the report to titanic.fanatic.xda@gmail.com since logcats sometimes contain sensitive information ;)
[Galaxy S II General] colinoftheeast:
I did do the clean to install rom option when I put this one on. That's what the instructions said and I made sure to follow them as closely as possible. Ok I will try a logcat for you. Thanks very much :)
[Galaxy S II General] colinoftheeast:
As I said in my email it seems like NFC finally turned off after the reboot I did before taking the logcat. Everything seems to be ok after that. My battery usage has been much better so far. Before I posted I tried so many things and rebooted a ton. I don't know why it finally decided to work for me just after I caved and posted. So basically I'm not sure you need to waste your time looking at the logcat and I feel bad that I might have wasted some of your time already.
[Galaxy S II General] wolfaz1313:
Battery

I have a huge drain on the battery:crying:
[Galaxy S II General] titanic_fanatic:
Go into Settings -> Wi-Fi and press the menu button, then click on Advanced and maybe sure that Scanning Always Available is unchecked. This will stop the phone from going to sleep.
[Galaxy S II General] wolfaz1313:
Thank

Thank you my good man! Did as you said!
[Galaxy S II General] titanic_fanatic:
There is a new build coming with many enhancements to the kernel. It's building right now and Will test it this evening. More performance with cpu overclocking and cpu input boost. Save battery with panel undervolt and charge faster with fast charge ;)
[Galaxy S II General] iDynamics:
Looking forward to this build :D
[Galaxy S II General] RukusX7:
You guys are lucky to have both sultanxda and titanic_fanatic! There is no doubts you will see lollipop. But be patient, its still in alpha stage on my Oneplus.
[Galaxy S II General] titanic_fanatic:
New Build is Up!

Alright, the new build is up. This one has many changes and it is

REQUIRED

that you

CLEAN FLASH

this one as strange things have happened when flashing this one on top of the old one.

See the changelog for all changes and edit /etc/init.d/92_setpaneluv to change the panel undervolt value if you would like. it is a value between 0 and 500 in increments of 25 (mV). The default 500 should be ok and will help save battery so I can't see why you'd want to change it ;)

Download

Changelog
[Galaxy S II General] titanic_fanatic:
Forgot to also mention, if you run into a random reboot. As soon as the phone had finished rebooting, open terminal and run the following:

Post the log here or email it to me at titanic.fanatic.xda@gmail.com so that I can see what happened ;)
[Galaxy S II General] colinoftheeast:
Awesome stuff man!
[Galaxy S II General] iDynamics:
Been running your newest build for a few days. Everything works as it should. Another fantastic rom. Thanks! :D
[Galaxy S II General] omar.kassam97:
This new build is insane! Managed to get a crazy 3 hours of screen on time over 10 hours, I've never got battery life like this on my phone before!
[Galaxy S II General] titanic_fanatic:
That's because of the panel under volting ;)
[Galaxy S II General] Strange Peer:
Dadoes-unofficial

Thank you Titan, I like this ROM a lot, fast and stable!

I've took some time to play with it if you don't mind!

so... feel free to re-upload it elsewhere if you want, to big for DEV-HOST!

DADOES-UNOFFICIAL-celoxhd-20141129.zip 544,9*Mb

add and remove some (app, lib, build.prop), made art runtime default, no need for gapps (those are kitkat apk, no lollipop here)

that's about it, hope you like it!

cheer's!

keep in mind that you need to go in parameter for the lock button (for browser, etc,) to work with the right apps!

REMOVE:

Apollo.apk

BasicDreams.apk

Browser.apk

Calendar.apk

Camera2.apk

CMFileManager.apk

Email.apk

Exchange2.apk

Galaxy4.apk

Gallery2.apk

HoloSpiralWallpaper.apk

LatinIME.apk

LiveWallpapers.apk

MagicSmokeWallpapers.apk

NoiseField.apk

SoundRecorder.apk

SpeechRecorder.apk

Stk.apk

Term.apk (not up to date)

VideoEditor.apk

VisualizationWallpapers.apk

Mms.apk

Trebuchet.apk

ADD:

AmazeFileManager.apk

Books.apk

Bugle.apk

CalendarGoogle.apk

Chrome.apk

CloudPrint2.apk

Drive.apk

EmailGoogle.apk

Exchange2Google.apk

FaceLock.apk

Fitness.apk

GenieWidget.apk

Gmail2.apk

GoogleCamera.apk

GoogleEars.apk

GoogleEarth.apk

GoogleHome.apk

GoogleTTS.apk

Hangouts.apk

Inbox.apk

Keep.apk

LatinImeGoogle.apk

Magazines.apk

Maps.apk

Music2.apk

PlayGames.apk

PlusOne.apk

QuickOffice.apk

Street.apk

SunBeam.apk

Term.apk (UPDATE)

Videos.apk

YouTube.apk

ADD TO build.prop

#

#system props for the MM modules

#

media.stagefright.enable-player=true

media.stagefright.enable-http=true

media.stagefright.enable-fma2dp=false

media.stagefright.enable-aac=true

media.stagefright.enable-qcp=true

media.stagefright.enable-meta=true

media.stagefright.enable-scan=true

media.stagefright.enable-record=true

media.enable-commonsource=true

# System props for audio

persist.audio.fluence.mode=endfire

persist.audio.vr.enable=false

persist.audio.hp=true

af.resampler.quality=255

af.resample=48000

ro.semc.sound_effects_enabled=true

ro.semc.xloud.supported=true

persist.service.xloud.enable=1

# Fields for custom RIL

telephony.lteOnGsmDevice=1

ro.telephony.default_network=9

ro.ril.def.preferred.network=9

ro.telephony.ril_class=SamsungQualcommRIL

#Disabling scrollingcache

#1 = cache ...ON always

#2 = ...ON certain times

#3 = ...OFF certain times

#4 = ...OFF always

persist.sys.scrollingcache=4
[Galaxy S II General] titanic_fanatic:
I will upload it to my androidfilehost. One thing I noticed in your build.prop:

should now be:

This changed recently when we added the new SamsungMSM8660RIL class. The old one shouldn't work anymore. The commit to change this is:

https://github.com/titanic-fanatic/android_device_samsung_msm8660-common/commit/17c3efc61f7094767507781c44dcad4649cfca12

I'll change it back before I upload it to my androidfilehost ;)
[Galaxy S II General] Cl0vensn0w:
a few question and observation.

First I need to thank tinatic and other contributors.

Secondly I need to mention how impressed at the development of this ROM.

It has come a long way!

Observations....

The CPU scales are strictly the highest and the lowest. Not sure of deep sleep

The battery drain is still apparent...and I'm not able to find your undervolt interface

Bln still acts weird, for that reason I don't use it.

After turning off a bluetooth device, bluetooth either becomes unusable until reboot,

Or can take up to a min to pair and communicate properly.

Smooth operation and installation of ROM went without a problem.

Performed a clean install.

Thanks and keep up the hard work guys.

How do you access The undervolt interface?

And is there a way to modify the CPU scales? It seems it does not need to run at full throttle when the screen is on.

I tried both runtimes for this issue.

Also tried a few governors with no luck..
[Galaxy S II General] titanic_fanatic:
The biggest thing for battery is the setting "Scanning Always Available" This setting can be found in Settings -> Wi-Fi then press menu and click on Advanced. Ensure that option is not checked. Also having Wi-Fi turn off while the phone is in sleep mode will also help with battery. Lastly, Google play consumes a lot of cpu and battery, so I have all notifications and automatic updates turned off from play store settings.

Beyond that, you may have a rogue app consuming your battery. Try using gsam battery monitor to track down which apps are consuming the most battery and which wake locks exist.

For bluetooth, I will need a logcat to debug it. I added some new Bluetooth permissions and was hoping that would fix the bt issues that some were having. You can find the instructions for taking a logcat in the second post of this thread.

For the CPU scaling, you'll find the scaling settings in performance settings. It may appear that your min CPU freq is 1134MHz, but that is only because of the cpu input boost which boosts the freq to 1134MHz for 1.5 seconds everytime you touch the screen. It's the reason the phone seems really smooth now.

The default min freq is 384MHz. The default governor and scheduler will be your best option.

Default panel uv is 500mV anything less than that and your screen will start to consume more battery, but if you do want to change it's value, you must use a root file manager and browse to /sys/module/board_msm8x60_celox/parameters/panel_uv

This needs to be set to a value between 0 and 500 in increments of 25. 0 is off and 500 is 500mV uv.

CPU Input Boost can be configured at /sys/module/cpu_input_boost/parameters. input_boost_ms is the number of milliseconds the boost will last, default is 1500 max is 3000 and 0 is off. input_boost_freq controls the MHz. If you want to set it to 384MHz, you would multiply that by 1000 so you would put 384000 in this file.

Let me know how the gsam battery monitor goes for you
[Galaxy S II General] GrAt_On:
Reboots seems to persist in this rom and the latest carbon rom. I tried formatting internal storage and starting from scratch, that didn't work. At this point, the only thing I think that might be causing this problem is during the process of "factory reset" and "clean to install a new rom" in CWM, it displays this message when trying to format sd/ext: "E:unknown volume for path [/sd-ext]". This is the only issue I can think of since it's from my side of things, it can't be an issue from the rom since no one else has reported spontaneous reboots.

For now I'll revert to the slimkat build, I have attached 2 kernel logs.
[Galaxy S II General] titanic_fanatic:
It's definitely nothing that you have done. It's a spinlock that's causing a kernel panic. I just have to figure out where it is. Not sure why I'm not getting the same. It should be happening to everyone.
[Galaxy S II General] iDynamics:
^ Been running the 11/22 build for several days now. Not one random reboot.
[Galaxy S II General] avasguy:
USB mass storage

Hi Titanic,

I am running your new ROM, it seems this is the best ROM for now, except my windows PC do not recognize anymore the attached phone. Debug mode is enabled, but the PC. can't see it, so I can't upload any file to the phone.

Do you have any idea, what should be the problem?

Thank you for your effort. :)
[Galaxy S II General] titanic_fanatic:
You need to enable mtp in storage settings ;)
[Galaxy S II General] avasguy:
Thanks!

Thanks a lot! It is working, although I have to click on the file transfer not media transfer. This feature was not included the earlier versions, or just did not see (?) but never had to use. :D

You made a fantastic job! This rom is really excellent! Thank you!
[Galaxy S II General] titanic_fanatic:
It used to be selected by default but think that was removed when they refactored or device tree. I've added this default back for the next build ;)
[Galaxy S II General] irenek:
Hi TF, just installed a new ROM and getting reboots all the time, when trying to get logs - getting permission denied on second command. Last ROM served perfectly, and I will roll back if can't get it fixed, but would like to give you logs ...

Thanks for your work!
[Galaxy S II General] Tronith:
The layout for the icons me and to change how many rows and cloums there are. As for the instructions to remove the google bar, I'm not sure where home is or trebuchet, or anything after that. I can't find it?
[Galaxy S II General] fab-4ever:
Here it is, my first bug! The parameter button, back button and search button don't work, whenever I am (desk, app, parameter). I restarted 2 times my phone, didn't change a thing. Only the home button work. Still, it vibrate when I touch the buttons.

Envoyé de mon SGH-I757M en utilisant Tapatalk
[Galaxy S II General] GrAt_On:
Found a battery saving tip!

Hey guys,

Recently I found a tweak you can make to dish out some battery life, you really have nothing to lose since this feature isn't functioning in this rom yet. Firstly, you must first enter Google Now -----> Settings ------> Voice and disable Hotword detection. Even though it doesn't work, the phone stays on keeping its "ears" open to hear the words "Google Now" at all times; I'm not sure if it is a substantial improvement to our battery life, but it is a start! :)
[Galaxy S II General] Tronith:
I

So ever 1 out of 3 times my bln goes ceasure on me and my bottoms become inactive when I get a notification. I've setup my sidebar app to have most the normal apps I use so I can still navigate my phone while it goes but it's still happening to much. Just updating from previously.

So a few more bugs. When I get a call and I try to answer, my screen stays off and lags really long befor I can answer my call. Made me miss a few calls today. Within the same issue from my lock screen to unlock the screen stays off, but is still active. Active meaning I still can unlock and press bottoms, but ithe screen is still off. It returns after 10-15 seconds. If it was one or two seconds I'd be okay with lag but again that's a long time.

I've put xda app on my home screen 4 times now and each time I unlock the screen it disappears. No clue why. Also this is specific just the xda app. All other applications stay on the home screen

That's all I noticed so far, I'm gona try and play around with some settings and hopefully that will shorten my lag time, other than those bugs the romev feels nice
[Galaxy S II General] Socim:
Are you using google home?
[Galaxy S II General] Tronith:
I'm not sure what google home is? I'm using the default luncher
[Galaxy S II General] Socim:
Some gapps package replace launcher3 with google home. I have also encountered similar problem with google home. I prefer trebuchet as it has a transparent status bar.
[Galaxy S II General] omar.kassam97:
Thanks for your help! Forgot to wipe all data only chose clean to install new rom
[Galaxy S II General] fab-4ever:
Not sure but choosing clean to install new room include wipe data, no? I did the same thing a you, I choose this option when I selected wipe data...

Envoyé de mon SGH-I757M en utilisant Tapatalk
[Galaxy S II General] danrobi:
Forget the doubts i had about battery life, just made it through 2 days with a full charge. It is just the same as the last cm10.2 build. :)
[Galaxy S II General] Tronith:
As far as I know titanic_fanatic 's gapps has trebuchet. Any app that isn't a stock app disappears from the home screens
[Galaxy S II General] Socim:
Sorry I don't know why. Maybe you can try this one which I built for myself. http://d-h.st/D5Y
[Galaxy S II General] titanic_fanatic:
For the icon on the Homescreen disappearing, can you pay close attention on each boot if it's there, and add soon as you notice it missing, save a logcat do I can take a peek.

This gapps doesn't have the Google home launcher. It has trebuchet and I'm not sure why this would be happening, it hasn't happened to me yet. Maybe a logcat will give me a clue.
[Galaxy S II General] Tronith:
I CANT quote without xda crashing. Where do I put the luncher in the directories? Couldn't find it anywhere
[Galaxy S II General] titanic_fanatic:
Launcher goes into /system/priv-app
[Galaxy S II General] Tronith:
Thanks for the tip. I think K I'm Gona return to stock because the other one I can't control the home screens at all and I don't need 5 screens lol
[Galaxy S II General] titanic_fanatic:
You always have the option of a third party launcher like nova launcher or go launcher ex.
[Galaxy S II General] fab-4ever:
Hello, the Google keyboard always crashes, I don't use that one, but Swype, but when I open the keyboard there is always a notification saying that "Google keyboard crashed".

Envoyé de mon SGH-I757M en utilisant Tapatalk
[Galaxy S II General] titanic_fanatic:
In your terminal after you su, execute this command:

$ chmod 777 /mnt/media_rw

Then the logs should save.

Thank you
[Galaxy S II General] irenek:
This command didn't work but I mounted RW through ES explorer. What is interesting, it stopped rebooting :) it was going crazy - rebooted may be 20 times in 30 min ))) but I left it alone, charged and it behaves now :)

Here we go, started again, but I think I found the reason - my 32GB sdcard is causing that, as soon as I removed it the phone behaves again, I have old 2GB card which I use for flashing purpose and this one doesn't cause the problem. I was able to restore a few apps before it went into reboot loop.

Attaching my log to support the idea :)

Just to be clear - SD card that is causing the reboot is not new, I've been using it with this phone for about 2 years.