yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] kahvitahra:
First zip is sources for devs like it says... its not flashable zip.

Only change in framework-res is that i added image when torch is on. I guess that there can be used like background wallpaper id instead. Then

it will only affect android.policy.jar.

So yes, it can be made. :)

Thanks mate :)

Great. Yes, there is ics lockscreen enabled in that zip.

Hmm. That does not really make any sense to me? That zip have 4way boot, so you wont loose it.

________________________

Note to all, that i'm not going to make this to every single rom. That is why i share sources to rom chefs/themers that they can include this the way they want to. :)
[Galaxy S II Themes and Apps] ads7112:
Please could you make it compatible with MyHome ..... ?
[Galaxy S II Themes and Apps] kahvitahra:
This is compatible with that. It seems thought that if you launch apk from lockscreen with that myhome, then it flashs the led, so maybe i add wait for that voicetalk command. I look that when i have time.
[Galaxy S II Themes and Apps] johnyboy_:
Is possible to implement a option to change what application is launched when press home button? For example camera.
[Galaxy S II Themes and Apps] kahvitahra:
Yes, but that will need new apk. I suck at making apk. That myhome does exactly that, so look into that one. Also jkays apk have that kind of options.
[Galaxy S II Themes and Apps] johnyboy_:
jkays don't work in ICS yet. i will look at myhome app
[Galaxy S II Themes and Apps] Mr.V786:
Thank you for confirming, I will try it :)
[Galaxy S II Themes and Apps] papakaliati:
So m8 any chance you gonna make the mod without changing the Ui from ics to samsung stock? I really preffer the blue over the green!

Thanks in advance.
[Galaxy S II Themes and Apps] kahvitahra:
Well yea. Im just away from home couple of days.

It very easy to make your self thought if you can smali/baksmali and use apktool.

That image id is called from keyguardviewmanager.smali. Search for id 0x10807d0 and replace that with some id from your framework-res. For example background image. Then you just smali it to classes.dex and drag and drop that to zips android.policy.jar and replace that old classes.dex. Then remove that framework-res.apk from that zip package and flash it.
[Galaxy S II Themes and Apps] DSA:
Great find and share, thanks K

This works perfect on my own LP4 ROM (flash & 4 way boot), and actually added crt effect too (didnt see that bit mentioned)
[Galaxy S II Themes and Apps] squall458:
Torch worked perfectly but 4 way did not on VK LP4 latest rom.
[Galaxy S II Themes and Apps] kahvitahra:
Those are in same file, so if one of those works, i doupt that other wont.

One bug that 4way still have is that if you press that restart button while in lockscreen then you have to unlock to see the sub-menu.
[Galaxy S II Themes and Apps] kahvitahra:
Update 7/4/12

Now that flashable zip for lp4 dosen't affect to your themes at anykind. It only contains changes in android.policy.jar.

Backup before flashing.

Download from POST 1.
[Galaxy S II Themes and Apps] waduk00:
I realy apreciate your job ... Very usefull
[Galaxy S II Themes and Apps] shoman94:
I just incorporated it into my ROM framework... thanks!
[Galaxy S II Themes and Apps] shoman94:
Question..... Anyway to make the light stay on longer? I guess I should all if it goes out after 5 to 6 seconds for you i9100 guys?
[Galaxy S II Themes and Apps] kahvitahra:
It stays on as long as you press homebutton.
[Galaxy S II Themes and Apps] shoman94:
Interesting because on the i777 with capacitive home button it only stats on for 5 seconds. I wonder if that is a limitation in that style button.
[Galaxy S II Themes and Apps] kahvitahra:
Can be. Does the screen turn off and then flashlight shutsdown? Then it may be that the call for keeping screen awake is different.
[Galaxy S II Themes and Apps] shoman94:
Edit: the flashlight stays on for 6 seconds. Turns off, then the screen still stays lit for 8 seconds after. All while holding the home button.

if I just wake it.... the screens stays on for 8 seconds.
[Galaxy S II Themes and Apps] kahvitahra:
Yeah man. Hard to tell since i dont own that device. Sorry :)
[Galaxy S II Themes and Apps] shoman94:
Wondering if you could,d help me figure this out. If you changed the switch to utilize your menu key instead I'm willing to bet you would have the same outcome.
[Galaxy S II Themes and Apps] kahvitahra:
Sure I can try to help you. PM your android policy and the original one and we take a look. I have limited time ( like all of us ) and i'm bad at trying to make things work to other phones, but sure i want to try to help :)
[Galaxy S II Themes and Apps] shoman94:
Pm sent... my base is UHLPE
[Galaxy S II Themes and Apps] LiLChris06:
Was going to do this mod, but I will wait for the outcome. :p

No point in a 6 sec flashlight for me, rather use the toggles till then.
[Galaxy S II Themes and Apps] kahvitahra:
For sgs2 this works like it should. That is the phone i use. If you want to make this work to other phone then you have to figure stuff out.
[Galaxy S II Themes and Apps] shoman94:
They are both sgs2's. Just ours is AT&T specific. I tried as you suggested in the pm and the torch won't even come on......
[Galaxy S II Themes and Apps] kahvitahra:
Dont know dude. In past i have spend so many hours for helping people to do mods to their phones. It's really hard when you dont have device and you are just guessing, you know?

Just look into code and try some stuff out. Im sure you can figure that out.
[Galaxy S II Themes and Apps] shoman94:
No that's fine. I'm just thinking there is something in the code somewhere that times out the capacitive buttons. I Hope I can find it.
[Galaxy S II Themes and Apps] Johnny11:
Love the mod.

Any word on if it is or when it will be compatible with XWLP7-based ROMs?
[Galaxy S II Themes and Apps] theXeffect:
How do I get rid of the ics lock screen I only want Samsung lock screen ....
[Galaxy S II Themes and Apps] kahvitahra:
In development section there is jkays thread for how to enable ics lock. So revert it back. On phone so cant remember exactly what it was.
[Galaxy S II Themes and Apps] shoman94:
I'm not having any luck.... I've been trying different things the last 2 nights.... :mad:

Do you by any chance know how to change it to a volume toggle? Stop it enabled by volume down instead?
[Galaxy S II Themes and Apps] kahvitahra:
Sorry to hear that mate.

With those volume keys you have to make sure that you don't break any incall/other functions for those keys. At same method in phonewindowmanager.smali there should be some functions for those keys ( check for example "skip songs with volume keys" -mod ). There you can find some ideas.
[Galaxy S II Themes and Apps] squall458:
+1
[Galaxy S II Themes and Apps] jastonas:
Anyone care to make this work on aosp/aokp?
[Galaxy S II Themes and Apps] androiduser44:
+ 1

im using sakaschi mod aokp rom

would be nice on an aokp rom
[Galaxy S II Themes and Apps] zt_lee:
I flast the 4way boot bla bla zip file, but the flash doesnt work, what's wrong?
[Galaxy S II Themes and Apps] therealashish:
Awesomeness :)
[Galaxy S II Themes and Apps] kevuin:
I´ve been looking for this feature for so long!

So is anyone working on this for normal CM9 ?
[Galaxy S II Themes and Apps] MiG123:
Hi there, so do you think that we can have skip songs with long press volume key mod for ICS?
[Galaxy S II Themes and Apps] kahvitahra:
Sure, i don't think there have been any changes in that button behaviore.

About those roms you are asking to port this: I really don't have time to make this to all roms. I'm not even using ICS myself. Maybe i'll make flashable zip with few mods ( this, 4way, skip song, home lagfix ) to some samsung firmware. What is best firm that have been released at this point? LP7?
[Galaxy S II Themes and Apps] shoman94:
Yes the Netherlands xwlp7 is IMO the best so far.
[Galaxy S II Themes and Apps] coldflid:
Attached for deodexed lp7 (includes aosp lockscreen, no home button lag)

Edit there's something wrong with uploaded version, will fix tomorrow
[Galaxy S II Themes and Apps] kahvitahra:
For deodexed XWLP7/8 roms

Torch from lockscreen, 4-way reboot, Home button lagfix, Skip songs with volume keys, ICS lock (and ability set some of those on or off)

http://xdaforums.com/showpost.php?p=24927413&postcount=519
[Galaxy S II Themes and Apps] kahvitahra:
For latest CM9 nightly build 2012-04-14

CWM flashable zip.
[Galaxy S II Themes and Apps] swood1980:
Great work Thanks!!
[Galaxy S II Themes and Apps] gianpz:
thankx!! good job :)
[Galaxy S II Themes and Apps] hatori:
Any chance for new LP9. Very good MOD, THK.
[Galaxy S II Themes and Apps] kahvitahra:
Darkside agent told that lp7/8 version worked great on lp9 http://xdaforums.com/showthread.php?p=25372443
[Galaxy S II Themes and Apps] :
REQUEST !!

Hi

I tried to use your work as a template but i have not been able to work it out by myself :( ...

Im trying to enable the Torch-on-Lockscreen-feature for the Galaxy Nexus Prime i9250!

Since that Phone does not have a Home-Button, you cannot use the lockscreen torch, even with MIUI Rom where the feature comes from.

My idea is to use other keys to enable the torch , such as the volume keys!

pressing both volume keys (up and down) -> TORCH ON!

I think it wouldnt be much effort to do so since the code must be already there.

Could you please have a look into this :D ?

Ive attached Framework and android.policy.jar from my latest Gnex-MIUI-v4-ROM.

Please tell me if you need any other information!
[Galaxy S II Themes and Apps] kahvitahra:
Hi!

I don't have time to look into this now. And making mods to devices i dont own have really never worked out.

When you use volume keys for that torch, then you should be careful that you don't break any of normal functions for those buttons.
[Galaxy S II Themes and Apps] kenkiller:
Appears not to work on DXLP9....anyone tried as well?
[Galaxy S II Themes and Apps] kahvitahra:
Yes, so it seams. I look at it in weekend.

Even thought there is no need to update to every single leak. But this time i look at that dx.. rom. Normally only xx and xw roms.
[Galaxy S II Themes and Apps] kenkiller:
Yeah, only reason I switched to it was due to it being for my region. :D

Take ur time, I flashed back to XWLP9 cos the mods were so useful.... :)
[Galaxy S II Themes and Apps] geroxx:
good work! thank you (:
[Galaxy S II Themes and Apps] kahvitahra:
Check THIS thread for dxlp9 version.
[Galaxy S II Themes and Apps] kenkiller:
Much thanks, much appreciated!
[Galaxy S II Themes and Apps] android_robot:
it worked thanks alot ;)
[Galaxy S II Themes and Apps] kahvitahra:
For latest CM9 nightly build 2012-05-05

CWM flashable zip.
[Galaxy S II Themes and Apps] schreda:
thanks man for the cm9 version!! :D
[Galaxy S II Themes and Apps] Mr-H:
thanks for the flashlight on lockscren ! :)

4 way lockscreen for CM9 PLEASE

Sorry for my bad english, i'm french...
[Galaxy S II Themes and Apps] kevuin:
The new CM9 version works like a charm!

Would it be possible to set up the torch to only turn on when the homebutton is pressed longer than 1 second or something similar ?

through that you could avoid unintentional lighting up of your LED , or people thinking you're taking pictures :D

I noticed that it even turns on if you just tap the button, this could then be avoided (in your pocket or while unlocking)

Otherwise great ! really useful ! Thanks alot !

-----

Edit:

Also, on the new 20120507 Build you don't have the new functions of the Customizable Lockscreen shortcuts.
[Galaxy S II Themes and Apps] godzifa:
Hi,

I tried to install this mod twice on XWLP9 (WanamLite 11.3.1 with phenomenal kernel 5.3 Extreme) but my phone crashes on boot... :(

EDIT:

Strange... when I tried to launch my phone in recovery mod, my phone boot normaly with the mod installed :confused::confused::confused:

I'm going to re-install my kernel...
[Galaxy S II Themes and Apps] luexi:
Hi, will there got a fix for the latest cm9 version? after flashing the torch, the shortcut apps were all gone in the lock screen:o
[Galaxy S II Themes and Apps] kahvitahra:
Well those nighlies pop up almost every single day, so i really dont have time to make that. Im not even using cm. But maybe ill make one if i have time :)
[Galaxy S II Themes and Apps] rizcom:
LP4_Deodex_CWM_Torch_4WayBoot_ICS_Lock.zip can someone add Skip Track via Volume Buttons to this LP4 Please :)
[Galaxy S II Themes and Apps] sohebq:
What about My rom? Sorry if its asked already.
[Galaxy S II Themes and Apps] kahvitahra:
Not sure that i follow you.

The reason that i make tutorials, share sources and share stuff i use in here is that everyone could do some stuff on they own. Try things. Or that rom cooks can implant mods easily to roms. My goal is not to make flashable zips to every rom/leak that is out there, its more like sharing what i know/have done and help people do that also to their phones.

Old saying goes well with xda: "Give man a fish and you feed him for a day. Teach man how to fish and you have feed him for a life time."

I did get a little of track with this quote, so this was not directed to you sohebq. This was more like universal answer ;)
[Galaxy S II Themes and Apps] luexi:
Ok pls try to make one updated for cm9 then. This time is different because they added then the shortcut in lock screen.

Awaiting patiently
[Galaxy S II Themes and Apps] mdjabir:
great work... works perfectly
[Galaxy S II Themes and Apps] Silberpfeil3110:
THANK YOU VERY MUCH!

For providing this nice feature to our beloved CM9.

Using latest May 9th build now, and everything working fine.

It's great :) !
[Galaxy S II Themes and Apps] luexi:
how can be everything work fine?

install the torch zip 5/5 will disable the lockscreen shortcut. :confused:
[Galaxy S II Themes and Apps] kahvitahra:
For latest CM9 nightly build 2012-05-10

CWM flashable zip.
[Galaxy S II Themes and Apps] millennium007:
this sounds interesting
[Galaxy S II Themes and Apps] luexi:
Hey. Thanks for the update! Works like a charm now!!

:D:D
[Galaxy S II Themes and Apps] caodecaca:
great :)
[Galaxy S II Themes and Apps] luexi:
I know its ridiculous but would appreciate if you could update the latest cm9 version. Just tried the 5/10 on the latest cm9 unfortunately there is some error. Hope u can do it on your free time. Thanks :p
[Galaxy S II Themes and Apps] godzifa:
Does this mod work with the last lpd deodexed?
[Galaxy S II Themes and Apps] rhylabs:
No its not just tried it on Omega V13 Lpd its jus giving me some random FCs...
[Galaxy S II Themes and Apps] eezdva:
Yeah the nightlies goes fast. Hard to keep updated.
[Galaxy S II Themes and Apps] RockRatt:
For the extended power menu you can get the android.policy.jar from wanamlite lpd and place it into system/framework

Link to android.policy.jarhttp://db.tt/6F3gZvR3

But to get the flashlight to work from the lock screen the android.policy.jar will need to be fixed to implement it into the LPD based roms. I really like that feature so hopefully someone with better skills can modify it properly to work.

Sent from My SGH-I777 Running Red Reaper Rom
[Galaxy S II Themes and Apps] kahvitahra:
See HERE for this mod and few others to that XWLPD deodexed.
[Galaxy S II Themes and Apps] mastarh:
First, I want to thank you for porting this simple but incredibly helpful feature. I really miss the quick LED access since switching back to CM9 RC2 from MIUI. Could you please port it to CM9 RC2? I already tried to install the one for the latest CM nightly, but I only get a "failed verification" in CWM.

Thanks,

mastarh
[Galaxy S II Themes and Apps] Gabrieltan:
will this mod work in i9100g?? deoxded rom as well...
[Galaxy S II Themes and Apps] devastator83:
Would love to get this working on a CM9 RC2 !
[Galaxy S II Themes and Apps] jonamafun:
Anyone able to assist in creating a version for XWLPU 4.0.4?
[Galaxy S II Themes and Apps] talexop:
+1 from me
[Galaxy S II Themes and Apps] talexop:
I have followed the instructions of Neme77 (Thank you very much of this) http://xdaforums.com/showthread.php?t=1826274

and made a CWM file for XWLPU deodexed rom.

I have tried to my phone and everything works good.

If I helped you please use the thanks button!
[Galaxy S II Themes and Apps] I_V_AN:
Screen capture, please?
[Galaxy S II Themes and Apps] crack_monkey:
Yeah would be awesome when it could be released for the last Stable CM9 Version.

I tried the nighly Version from the start Post, but i get a bootloop after install.
[Galaxy S II Themes and Apps] subset:
Thank You talexop !
[Galaxy S II Themes and Apps] kahvitahra:
Hi mates!

Here's this torch -mod for latest cm9 stable version ( date 2012-08-28 ).

Remember to backup. Flash via CWM.
[Galaxy S II Themes and Apps] cl3ric:
Any AOKP version? :confused:
[Galaxy S II Themes and Apps] BAWS:
Will this be released for the XWLPX rom?
[Galaxy S II Themes and Apps] kahvitahra:
Not by me, sorry. These Samsung ICS roms just aren't worth effort IMO. An d if i do that then there will be other leak in few days and people want to use that then. So you see that there is really no point. I hope JB roms are better for this phone. Mine (gf's) gs2 is still running gb ( hyperdroid ) and i really think that is best rom so far for this phone.
[Galaxy S II Themes and Apps] shoman94:
XWLPX isn't a leak since its available in kies. lol I'm not trying to convince you.... I could do the mod as well if I wanted to but on i777 the capacitive home button won't keep the phone awake so its worthless for me to do. :(

4.0.4 based custom ROM's are beast IMO. I should send you mine to try when I make a i9100 version. :)
[Galaxy S II Themes and Apps] crack_monkey:
Great Job :)

I installed it on CM9 first Stable version (the 9.1.0 stable is a little bit buggy) and it worked with no problems. Now the flashlight could be switched on by holding the home Button one lockscreen :D

realy realy nice, thx for ur Work :)

gz

monkey
[Galaxy S II Themes and Apps] kahvitahra:
Ok. Have to give some thought for that then :)
[Galaxy S II Themes and Apps] kahvitahra:
Check THIS post for XWLPX version of this mod and many others.
[Galaxy S II Themes and Apps] Mr-H:
any CM10 version ?
[Galaxy S II Themes and Apps] erdemkaraman35:
there is torch in neat rom aroma mod,it is very usefull,thanks programer of torch:victory:
[Galaxy S II Themes and Apps] Gabrieltan:
can you do one for dzlp6 ?? or do you have any tutorial?? i want try in my phone..
[Galaxy S II Themes and Apps] kahvitahra:
You can just difference changes from files i posted and merge them to the rom you use.
[Galaxy S II Themes and Apps] kahvitahra:
Not by me now. Maybe when i have time again.
[Galaxy S II Themes and Apps] Mr-H:
ok thank you anyway for your work ;)

PS: sorry for my bad english :(
[Galaxy S II Themes and Apps] d0g:
Has anyone tried this on a Sprint Galaxy S3 with TouchWiz ROM?
[Galaxy S II Themes and Apps] Kitschki:
Any tutorial available?
[Galaxy S II Themes and Apps] Jenda_p:
Is there any chance to create this perfect mod for this official ROM:

Base Firmware: I9100XWLSD (4.1.2)

Region: Europe

Country Nordic Countries

Carrier: Unbranded

Build Date: 31 January 2013

Modem: XXLS8

CSC: OXXLS6

Change List: 889555

without ink effect, only torch on lockscreen

thx
[Galaxy S II Themes and Apps] crack_monkey:
Yeah would be nice when it could be updated for 4.1.2. loved it on CM9 on my SG2 :)
[Galaxy S II Themes and Apps] kahvitahra:
Can't promise anything, but if i have time, I'll take a look at this for jb.
[Galaxy S II Themes and Apps] crack_monkey:
Would be awesome :)
[Galaxy S II Themes and Apps] kahvitahra:
Can someone on DEODEXED XWLPD rom try attached android.policy.jar. Just push it to your /system/framework

Make nandroid BACKUP before pushing! It should have this torch mode and also 4-way reboot in it.

I don't have gs2 currently, so I can't test it.

Thanks!
[Galaxy S II Themes and Apps] ibfromoakcali:
Would also love this for a touchwiz gs3.

This is definitely the most useful feature missing from touchwiz
[Galaxy S II Themes and Apps] d0g:
MOAR has it!

Sent from my SPH-L710
[Galaxy S II Themes and Apps] Seghers:
Is there a Jelly bean version(4.1.2) ?

at the moment I'm on Foxhound Rising 2.5

I loved this feature on ICS and miss it every day.
[Galaxy S II Themes and Apps] bodomfan:
There is but apparently it messes with something

Sent from my Galaxy S2 Running Neatrom with Blueginger Theme
[Galaxy S II Themes and Apps] ipapun4545:
Can you please just put a tutorial on how you edited the Android.policy file to make it work??
[Samsung Galaxy S (4G Model)] tozo3:
On Valhalla black edition and flashed a custom boot animation but animation gets cut short. Is there anyway to slow the boot process so animation completes
[Samsung Galaxy S (4G Model)] lumin30:
Flash stock. It will boot a lot slower for you.
[Samsung Galaxy S (4G Model)] tozo3:
Obviously i do not want the stock thats why i flashed the custom boot animation. just wondering if there's boot process edit, can i add cache wipe on boot maybe that will increase time
[Samsung Galaxy S (4G Model)] lumin30:
Boot animation and stock ROM have nothing to do with each other.
[Samsung Galaxy S (4G Model)] tozo3:
My current ROM favors any stock i would go back to. Basically what you are saying there's no way to slow the boot process. Only other option is to flash a shorter bootanimation file
[Samsung Galaxy S (4G Model)] FBis251:
I like this thread, "How can I make my phone boot slower?"
[Samsung Galaxy S (4G Model)] lumin30:
At the end of the day I wasn't serious. Stupid questions get stupid answers and there is actually a thread for stupid questions. Take no offense to that please... but take a step back and read your question again.

I think you might be the only one on here that wants a slower phone.
[Samsung Galaxy S (4G Model)] tozo3:
key phrase "boot process". no one is talking about performance when system & OS are loaded and active. The English language is difficult to some so ll write in spanish next time
[Samsung Galaxy S (4G Model)] eollie:
Is it so important to slow down how fast your phone boots just to see a boot animation? Most people here are boggled why you want to slow the boot process down just see some pictures when your phone boots? Most people would rather have t booted ready to use faster. That is why most boot animations are no longer than 20 seconds.

I guess I should have written this so a third grader that likes shiny things can understand it tho.
[Samsung Galaxy S (4G Model)] NRGZ28:
Closing this thread.. it's not going to end well I can see. To the OP > No.. there's no way to slow down the boot process. Now go enjoy the operating system and not the damn boot animation! :rolleyes:
[Nexus One Q&A, Help & Troubleshooting] Theshawty:
Is it the software's fault or the hardware's fault that it's so darn buggy?

I mean, single touch inputs are almost fine, but dual-touch inputs aren't. When one touch axis crosses another one's path, they kinda "melt" together. Why is this?

Is the Clearpad 2000 normally like this or did HTC somehow **** it up?
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
It's HW. If it was SW, it would obviously be fixed.
[Nexus One Q&A, Help & Troubleshooting] Theshawty:
Darn it. I went from a crappy phone with buggy digitizer (X10 Mini) , to a good phone with a buggy digitizer (N1).
[Nexus One Q&A, Help & Troubleshooting] ShadowCodeGaming:
Whats wrong with the x10 mini? I liked it, and would like it way more then this n1. In fact, i own one. But i still have to use my n1.
[Nexus One Q&A, Help & Troubleshooting] Theshawty:
The screen size of 2.6 inches. Almost like I needed a magnifying glass for it.
[Nexus One Q&A, Help & Troubleshooting] ShadowCodeGaming:
And you were the one telling me to put glasses on... Just use glasses then!
[Nexus One Q&A, Help & Troubleshooting] Theshawty:
I have glasses already.
[Nexus One Q&A, Help & Troubleshooting] ShadowCodeGaming:
Hmm. Change dpi then.
[Asus  Eee Pad Transformer Prime] Johnny0906:
Annoying message while browsing.
[Asus  Eee Pad Transformer Prime] mopar400:
Again and again
[Asus  Eee Pad Transformer Prime] Hardtack:
Allot, only on my prime tho.
[Asus  Eee Pad Transformer Prime] Mekrel:
Yeah I have this too, yet another thing to add to the long this of problems with this tablet :rolleyes: