yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] titanic_fanatic:
Possible Fix for Torch Not Showing up in Tile Selection Menu

So I found a strange entry in the config.xml of the framework-res.apk for torch and it was set to false (disabled). This is strange because it seems to be disabled based on that option, but I was able to somehow get it to show without this option set and we didn't have this option set in the last build.

That being said, I have enabled this option and rebuilt the framework-res.apk. I have created a special flashable zip that does a couple of things. It will first detect the presence of framework-res.apk.bak (notice the .bak) and if found, you have already run the script for update so it will now restore this backup. If this backup is not found, it proceeds with backing up your existing framework-res.apk and updating it with the new one.

So first time you run this zip, it will backup and upgrade. The next time you run it, it will restore your backup. It's an all in one flashable zip update/restore. Pay attention to the output in cwm as it will tell you exactly what it's doing ;)

I'm not sure this will fix the problem, but it's at least a good start and this option should be enabled any ways. As always, this should be fool proof, but always take a nandroid just in case ;)

Please let me know if this fixed the issue or not as I already have torch enabled and cannot test other than to make sure it won't bootloop the phone ;)

Thanks for your continued support :D

EDIT:

I almost forgot, you should also wipe the dalvik-cache before rebooting the phone or the changes in the framework-res.apk might not take.
[Galaxy S II General] titanic_fanatic:
This is the gallery bug where the gallery is unable to generate thumbnails when trying to read an existing mp4 file (one created with an older version of android). It causes the app to fault and will soft boot the phone.

The fix is to move these offending mp4's into a folder of their own and add a blank text file to that same directory named .nomedia (don't forget the . at the beginning). This will stop the galley from scanning them and causing the phone to crash. You can still open these videos with a filemanager and play them with gallery, gallery just can't generate the previews and the video files cannot be browsed using gallery.

Any new videos created with the camcorder should not cause the same problem and can be left in with your existing gallery photos for browsing with gallery ;)

P.S. I haven't seen your username yet, welcome to our thread ;)
[Galaxy S II General] danrobi:
Textra works fine, it's just that it does not trigger the bln.
[Galaxy S II General] titanic_fanatic:
Hmmm... That's strange, I'll look into it and if I need to will contact the developer ;)
[Galaxy S II General] danrobi:
Don't worry about it, it is really no big deal. Take care of the people with bigger and more serious issues.

---------- Post added at 07:07 PM ---------- Previous post was at 07:00 PM ----------

Funny thing just happened, the phone was in my pocket it went off and was vibrating every 2 or 3 seconds. I rebooted the phone and about an hour later i wanted to show a picture to my dauther and as i opened the galery, it went off again and vibrating too. The only new things on my phone are a few of the new google apps ( hangout, camera, gmail and home wich i deleted couple minute after since i'm using nova launcher.
[Galaxy S II General] titanic_fanatic:
This sounds like the power button is stuck. Since if you press and hold the power button past the first vib then it will continue to vib every couple of seconds until you release the power button. Did the buttons maybe get pressed too hard recently? Maybe the case your using?
[Galaxy S II General] danrobi:
Third time as i'm writting these words. Make sense, i pressed the power botton to see the notification fo the email saying that you quoted me.

---------- Post added at 07:25 PM ---------- Previous post was at 07:23 PM ----------

Any way to fix this?
[Galaxy S II General] titanic_fanatic:
If it's related to the rom then you could try flashing the rom over top. This will fix anything that was corrupted or not copied during your original flash.

If it's hardware related, flashing the rom again still not fix it, but that is a good place to start :-/
[Galaxy S II General] danrobi:
I will try to reflash the rom, if i can get it to boot in recovery mode. Took my case off and power botton seems to work fine.

Thanks

---------- Post added at 07:37 PM ---------- Previous post was at 07:35 PM ----------

I will try try to reflash the rom, if i can get the phone to reboot into recovery. Took my case off, power button seems fine.

Thanks

---------- Post added at 07:41 PM ---------- Previous post was at 07:37 PM ----------

I will try try to reflash the rom, if i can get the phone to reboot into recovery. Took my case off, power button seems fine.

Thanks

---------- Post added at 07:42 PM ---------- Previous post was at 07:41 PM ----------

sorry for that , strange things are happening everywhere tonight.
[Galaxy S II General] danrobi:
More strange things, i have reflash 4.3.1 and now bln is working with textra notifications. ???????? Never worked with 4.3. My weird shutdown problem looks gone so far.

---------- Post added at 08:46 PM ---------- Previous post was at 08:44 PM ----------

In textra settings you can choose the led notification's color, by default it is green. I 've set it to white, i'm not sure if that's what fixed the problem.
[Galaxy S II General] irenek:
Yes, the fix works, Torch is back.

Other issues I've noticed:

- Vibration not always works after restart (carry-over from last build :) )

- Screen unlock somethimes doesn't show anything, works if you type a password or just slide by feel (carry-over again)

- Gallery bug got my phone constantly rebooting until I flashed it again

Very smooth build though :) Thank you!

Irene
[Galaxy S II General] titanic_fanatic:
[NEW] Philz Advanced CWM Recovery 5.18.4

I have a little treat for you guys. I have successfully built Philz Advanced CWM Recovery (Based on CWM 6.0.4.4) for the SGH-I757M. It has loads more features than the standard CWM and is soon to be a touch edition.

In addition to building this new recovery, I also tweaked it slightly to use a slightly larger font (roboto instead of the standard font) and also fixed the naming convention of our sdcards. Now they are named Internal sdcard (/storage/sdcard0) and External sdcard (/storage/sdcard1). I also fixed up the flashable zip to install Aroma File Manager automatically so you don't have to install it separately from the recovery itself.

I will be submitting my code to the developer today and hope he can integrate all of the touch functionality and extra extra features (like tweaking the look of the ui).

Anyway, here is the download link for the flashable zip. Just flash it with CWM ;)

NEW Philz Advanced Recovery 5.18.4 (CWM 6.0.4.4) compatible with CM10.1/CM10.2

PhilzAdvancedRecovery5.18.4-CWM6.0.4.4-SGH-I757M.zip (9.5MB)

For information on Philz Advanced Recovery, visit his thread here:

CWM 6.0.4.4 Advanced Edition / PhilZ Touch 5.18.5 + exFAT + NTFS

Don't forget to hit his thanks button for an awesome face lift to the existing CWM :D

EDIT:

Done... Request has been sent to Phil3759. He is apparently a busy guy, so I'm not sure how long it will take for him to get to my request.
[Galaxy S II General] bijon440:
Hey guys. Is anyone else having problems with sms? I'm usuing the stock app and it wont show contacts and I can't send an receive any texts. I've been through the settings and they look normal. Any ideas?
[Galaxy S II General] titanic_fanatic:
No issues here, can you pull a logcat ?
[Galaxy S II General] danrobi:
Can't acces the GUI settings. ???
[Galaxy S II General] titanic_fanatic:
That's part of the stuff that Phil will add (proprietary code) ;)
[Galaxy S II General] danrobi:
Oupss! Sorry got a little too anxious. ;)
[Galaxy S II General] kingjinx:
Just wanna say great work been following and using all your ROM's. I'm loving 10.2 only 2 issues 1.) gallery has no pics except new selfies and can't access my SD card 2.) Pull down menu lock up. Otherwise smooooth. Thanks.
[Galaxy S II General] Majortom420:
It's smooth but the pull down lock up happens way to often, and the phone reboots interfere to much to be a daily driver. Not to discourage you fanatic, you've done a great job so far, but how do I downgrade?
[Galaxy S II General] manfromgta:
I have been using the latest release since its been available and have not had either of those issues even once. Did you do a clean install?

Sent from my SGH-I757M using Xparent Cyan Tapatalk 2
[Galaxy S II General] formercontra:
Changing the debug.composition.type in the build prop to debug.composition.type=mdp fixed all the pulldown lockup issues for me.
[Galaxy S II General] titanic_fanatic:
There should be no random reboots unless you have old mp4's when using the gallery and the odd time when changing governors. Other than that there should be no reboots.

Downgrading is the same as flashing. Just flash the ROM you want to use. Make sure you take your backups ;) you can also still use the new CWM if you want, no need to revert that ;)
[Galaxy S II General] Majortom420:
I did not
[Galaxy S II General] mtlguy123:
Wow! Thanks for the ROM! I've had it for a little over 24 hours, and pretty much no problems 'til now. It's fast, stable and smooth. If you keep posting these great ROMs, I might just keep this phone forever! :)

One question though: I'm trying to chane the governor to smartass, but it keeps reverting to interactive after reboot. Is there something I'm not doing right?

Oh, and I flashed the newest Google Apps extracted from Kit-Kat (someone posted the link earlier), and together with your ROM, well, it's just fantastic!

Thanks again!
[Galaxy S II General] titanic_fanatic:
There is a checkbox on the same page where you change the governor to set it at boot, make sure it's checked and you won't have to set it everytime you boot ;)

I too installed some of the new kitkat apps and yes, I love them. They'll be included with the next build ;)

Welcome to our thread ;)
[Galaxy S II General] RukusX7:
is the Smartassv2 a better choice than interactive? I like interactive over ondemand because it doesnt have boostpulse enabled by default. If ondemand had boostpulse disabled by default, ondeman would be the best choice for battery life. On dadoes rom, through a series of annoying steps, I was able to get boost pulse disabled and was easily grabbing 15 hour days on my phone. But I am also not on it all day. prob 2 hours of screen time.

---------- Post added at 08:22 PM ---------- Previous post was at 07:45 PM ----------

When my phone has smartassv2 set on boot, it won't lower from 1512mhz. Just a heads up to other people. It works fine when i set manualy after boot. Thats not true, I am having problems with Smartassv2 no matter what i try.
[Galaxy S II General] Khoapv:
Vibration doesn't work even though I restarts multiple times
[Galaxy S II General] jcastillo2k:
Custom Ringtone

Everything is working great now, keep working this rom rock
[Galaxy S II General] titanic_fanatic:
Alright guys, here's an update on philz touch recovery.

Because he likes to enable exfat support, he asked that I make the recovery buildable with the precompiled stock kernel. It took me all of yesterday to figure out how to make that work and bootlooped my phone a couple of times ;) no biggie, that's why we have nandroid right. I updated our device tree with these mods and have passed the ball back to Phil. So now it should only be a matter of days before we see the official release of philz touch cwm.
[Galaxy S II General] mtlguy123:
You would think that a guy that can unlock a bootloader and flash a new ROM, and understand the idea that there's such a thing as a governor, would also figure out how to check a box :)... Thanks!

Smartassv2 makes the phone ridiculously fast, but the battery drains way too quickly. Guess you can't have it all! Thanks for the tip!

I have one more uestion/request: has anyone else experienced a lack of Gallery app? I don't have one, and tried installing it back with the apk, but it says installation failed. Any reliable source I can try from again? Thanks!
[Galaxy S II General] jbpanache:
Good news:cool::cool::victory::victory:

Great work TF..:good::good::good:...Much appreciated
[Galaxy S II General] bitwarrior1:
After using the first build for a few days I went back to 10.1 for the stability, but I have to say the new build is solid! Many thanks, t_f
[Galaxy S II General] titanic_fanatic:
Just use a filemanager to put the apk in /system/app and give it the same permissions as the others. Then reboot into recovery and go to Advanced -> Wipe Dalvik Cache. Then reboot into android. This will make the system recreate the dalvik cache and should get you're gallery back ;)
[Galaxy S II General] mtlguy123:
Worked! Thanks a lot!

Know that you have a fan in Brazil! :) (Well, Canadian expat!)
[Galaxy S II General] bijon440:
Hey. Sorta jumped the gun with the SMS thing. Went back to slim for a day as for some reason the GPS wouldn't engage in 10.2. Clean flashed 10.2 again twice and used the 'clean to flash new rom ' option in philz cwm(not sure if that made a difference) but everything works fine now. Had a brief issue with the GPS and sensors going haywire not knowing north from south, but a clean of dalvik and fixing permissions seemed to take care of that

Thanks once again!
[Galaxy S II General] bitwarrior1:
I was loving the new build but the a2dp problems still exist, so I went back to 10.1. This time I was able to get a catlog, problem starts around timestamp 06:06:22. Beyondpod freezes (same behaviour with poweramp, etc) when trying to playback over a2dp with my car. Beyondpod then unfreezes, starts playing through the phone speaker and bluetooth crashes, unable to restart until the phone is rebooted.

catlog attached
[Galaxy S II General] titanic_fanatic:
I'm sorry your still experiencing this issue :( I looked at your logcat and did find the ANR (Application Not Responding) and other miscellaneous errors. Can you please send me the contents of /system/etc/bluetooth (should be 3 .conf files) as and also I would like to have a look at /system/etc/audio_policy.conf. If you could zip them up for me and email to titanic.fanatic.xda@gmail.com, I'm wondering if there is either an error in one of the files (possible corruption) or maybe some of these files didn't get properly copied over.

Question, when you came back to 10.2, did you do a clean or dirty flash? Either way, this may be the cause since the rom doesn't wipe the /system partition and neither does Wipe Data/Factory Reset (I think this only erases your cache and data partitions).

I did update the instructions a couple of day ago (maybe closer to a week ago) with an added step for a clean flash for this particular reason. I added that you must go into Mounts and Storage -> Format /system, /data and /cache. I think this is what happens if you use the wipe to install a new rom feature of the new Philz Advanced Recovery I posted a few days ago. Someone else had tried this option, and where he was having some difficulties with something (I think it was a GPS issue), a clean flash using that option had fixed his problem ;) That might be one option to try ;)
[Galaxy S II General] titanic_fanatic:
Wholly crap, the cm11 repos are being pushed to github as we speak ;)

https://plus.google.com/117962666888533781522/posts/gFjZS7NcTNr
[Galaxy S II General] jbpanache:
Just a Thought

Hey TF,

This is just a thought...

We have AOSP search and keyboard apps comes built in with the ROM and these don't get updated from the play store (at least for me:confused:).

So, why don't we have the Google search and keyboard pre-installed with the ROM as those apps gets updated automatically when there is an update.And we can get rid of those AOSP search & keyboard apps and claim little more space.:D:D (it can also be removed manually using root explorers, but just saying)

Let me know your thoughts and please correct me if i am wrong.:angel:
[Galaxy S II General] titanic_fanatic:
It's a good idea, but you would end up having to use titanium backup to link the app to the market after installing the rom unless I can figure out how that is done through titanium. I'll look into it ;)
[Galaxy S II General] bitwarrior1:
I installed the first build using the clean install instructions with formatting system, data, cache and cleaning dalvik cache. The second install I used Philz 'new rom' format option. Both times the symptoms were identical. Emailed the files to you (twice, ignore the first email. It contains files from 10.1). I should note that upon retesting, this issue seems to be only with beyondpod; both apollo and poweramp worked for me while beyondpod consistently crashed, taking bluetooth down with it

edit: some googling reveals that beyondpod and bluetooth hate each other regardless of OS. Anyone recommend a podcast manager that's CM10.2 friendly?
[Galaxy S II General] titanic_fanatic:
I was just emailing you about this ;) your files are good, and yes, you are correct, it's a bug with beyondpod. I'm not sure if they are aware, but I did find a couple of posts that explain somewhat how to fix the problem. They require fixes to the app.

I don't use a podcast app, sorry I can't recommend one :(

Also, it's good to know that you can get the other players to work ;)
[Galaxy S II General] titanic_fanatic:
I'm so impatient and am syncing the cm11 repos :P I'm sure there will be bugs, however, I'm not sure when our kernel will be pushed and need that. Will build as soon as the rest of the repos become available ;)
[Galaxy S II General] formercontra:
I've used Volksempfänger for ages now, it's pretty stable and it's got a nice ui and it's been great on 10.2 so far :)
[Galaxy S II General] Tronith:
I say don't rush it. As the os updates we tend to rush from what we have to the latest. But we yet to have a stable version that is without most of the glitches. Our last solid os is strange peers dadoes cyanogen 10.1 (4.1.2).

The slim bean was nice to have but had to many random reboots for me, then that seems to have been abandoned for this room as an update. Which updating to CM10.2 is nice and as we already have a strong cm10.1, why not. But if we jump to cm11 before getting this Rom to work almost as good as its predecessor, then we have to sit on the strong Rom from strange until kit Kat is past alpha stages. Don't get me wrong. I 100% am thankful to all the work you are doing titanic_fanatic. But as you are currently the only developer working on our phone, there is only so much time a day you can dedicate to your development. And so this Rom may not make a stable build status if you start to work on cm11 right away as it gets released. This is my opinion, and concern. I'm sorry if I offended anyone by saying this. (I know we have other contributing fixes to this Rom, so I don't exclude any of you to this comment. I know Titanic is doing a lot, and that he has help from you all)

Thank you for reading :) and feel free to disagree. As I said this is just a concern from someone who isn't capable of being of much help.
[Galaxy S II General] Ramal1982:
MotionsSettings.apk

Please help me on what folder MotionsSettings.apk,because in official rom I didnt find MotionsSettings.apk.Please help me wher or in what folder MotionsSettings.apk?on 4.1.2 on I757M Galaxy S2 HD
[Galaxy S II General] titanic_fanatic:
No offence taken ;) I would have to say that I do and don't agree with you all at the same time. I understand your concern and appreciate it ;)

If you ever follow the github repos that are used to download and build the source, you'll know that it's a versioning system. What that means is there is an extensive amount of tracking and history information. Every time we make a change to the source (commit), it gets done by feature (separate, but same code source) and then merged back into the main source once completed. This gives us great flexibility in that when a new version comes out like this cm10.2 for example a lot of the existing issues were taken care of such as vm notification. These features (commits) can be merged back into old and/or new source. So while I agree with "finishing what you started", the truth is your better off to start with the new source when it comes out to see what fixes have been applied and merge them back into old source instead of reinventing the wheel. On the other hand bln isn't up to par on this build and is because the old commits for it no longer fit into the new source so I actually do have to reinvent the wheel here.

Like you said, I seem to be the only one developing for this device right now and don't have all the time in the work to work on it, so it's most beneficial for me to be able to play with and test the new source which does unfortunately lead to older projects being left behind for a while. It took me so long to get cm10.2 running that by the time I released it kitkat is now out and there will be many fixes and improvements that will most likely be able to benefit older projects. What I'm getting at here is, if I don't start with the new source, my only option is to reinvent the wheel and that takes a considerable amount of time. If I can get kitkat at least up and running maybe it won't have the same issues, in which case it could be put aside while those fixes are tracked down and merged into back into the older projects.

Well, thanks for reading my long post too, and for the record, you've been more help than you give yourself credit for ;) I could never have gotten these Roms to where they are if it weren't for all of you testing them out and reporting back since you use your phones differently than me and have different apps as well. I could never test it all by myself ;)

So thank you everyone.

Just so you know, while the older projects are not currently being worked on, I have not abandoned them. Also, if anyone has a little bit of even the most basic of programming skills, you could learn to do this and I'm more than willing to help you get started and explain how it all works, you just need a little patience then we could have two projects on the go at the same time, and each project could actually brochure the other ;)
[Galaxy S II General] Ramal1982:
MotionsSettings.apk?

Please help me on what folder MotionsSettings.apk,because in official rom I didnt find MotionsSettings.apk.Please help me wher or in what folder MotionsSettings.apk?on 4.1.2 on I757M Galaxy S2 HD
[Galaxy S II General] titanic_fanatic:
This should have been posted in the stock Rom thread:

http://xdaforums.com/showthread.php?t=2272102

Also 1 post is enough, you have to be patient please I'm pretty good about getting back people ;)

Now, to answer your question, if it was a system apk it would be in /system/app, but I know this apk is not part of the stock Rom. It may have been a part of the older ics or GB, but I'm not sure about that. You could download and open the ics or gb zip file and browse to /system/app to see if the file is there ;)

Fyi, even though I'm not active in the stock Rom thread right now, I get the updates and will respond to you there ;)

Welcome to our small family of s2 users ;)
[Galaxy S II General] Ramal1982:
MotionsSettings.apk?on 4.1.2 on I757M Galaxy S2 HD

Do you know where is it this system file Motion Mode or MotionsSettings.apk.I download zip file from this http://xdaforums.com/show....php?t=2272102 but I did not find this file please help me about it please

---------- Post added at 01:29 AM ---------- Previous post was at 01:10 AM ----------

please answer to my post please where is motion mode?on official rom?4.1.2
[Galaxy S II General] titanic_fanatic:
I already replied, and your being pushy. Try this link:

http://lmgtfy.com/?q=MotionSettings.apk
[Galaxy S II General] Ramal1982:
MotionsSettings.apk

i dont find it about 2 days i did not find it and i know that on all anbdroid 4.1.2 phones are not this apk file MotionsSettings.apk?maybe it is called another name as motion mode or something.Can you search about it because i know english poor please help me about searching this file