yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] mznk:
[MOD][DDLF2][UPDATED]Low Brightness, Swipe to Clear, 15 Toggle (2G/3G), BLN & CRT etc

Only for De-odexed DDLF2 ROM

You can find the Deodex Packages here and here

I request other devs to credit and link back to this thread if they use these mods in their cROMs.

I have never asked for thanks and I never will. All I ask is for proper credits and link back.

Includes:

Mod Pack 1:

1. Swipe to Clear Notifications

2. Arabic Support

3. Extended Power Menu

4. Smooth Scrolling Mod

5. SMS App Restrictions Removed

6. Optimized touch input

7. Removed "Swipe to Unlock" text from lock screen (English Users Only)

8. Some Build.prop tweaks and a Better Panel Background

Download

Mod Pack 2:

9. 14 Toggles (Modified for 100% Stock look): Download

10. Services.jar patched for LED Notifications and lights.omap3.so from CM9: Download

(Thanks to Dhiru and loSconosciuto)

Note: BLN works for everything except missed calls (?), I'll appreciate if any body can help to make it work 100%.

Mod Pack 3:

11. 1% Battery with stock look

12. CRT ON and OFF animation

Download

Mod Pack 4:

13. Low Brightness and Auto-Brightness Thanks to loSconosciuto

14. ICS Transitions

15. Lockscreen Charging Bug (By default it shows "Charging" instead of "Connect charger" when battery is lower than 20%)

Download

Mod Pack 5:

16. 15 Toggles (With 3G/2G Toggle)

Download

Update:

17. Fully working BLN (Thanks to loSconosciuto)

18. Categorized Settings (As in ICS)

Removed ICS Transitions for now (culprit for random reboots)

(If you still get random reboots please provide a log via alogcat, that would be really helpful)

Combined Mod Pack (All Mods) Update 2 : Download

Restore Original Updated: Download

To do:

1. Bounce animation in list view instead of over-scroll glow.

2. Call Recording

3. TSM Parts (Partially Working)

4. Network Mode Toggle with Data on.

How to:

1. Flash the zip through CWM.

2. Flash Mod Pack 1 followed by Mod Pack 2 for 14 toggles!

3. Flash Mod Pack 1 followed by Mod Pack 3 for 1% Battery and CRT Animation and so on.

4. For BLN flash BCK v14 fix followed by UC Kernel v15. (Wi-Fi Works!)

Tip:

1. To Swipe to clear notifications, try swiping from the middle of the notification.

2. Clear Dalvik Cache after applying the mod.

Reason for different mod packs is that I combine mods over one another as I feel the need for it. Therefore, one mod becomes dependent on other!

Flash in given order to avoid boot loop or FC!

Flash at your own risk!
[Samsung Galaxy SL i9003] BassBlaster:
Thank you very much for these mods! :good: :highfive: Now we need ICS theme for LF2 :)
[Samsung Galaxy SL i9003] jejemilo:
and 14 toggles. thanks mate.

please add 1% battery mod by ganesh and nonscrollable ext power menu.

http://xdaforums.com/showpost.php?p=28218611&postcount=47
[Samsung Galaxy SL i9003] goldenmoon:
thx. mate.........:D:good:
[Samsung Galaxy SL i9003] TheFrankenstain:
I try this but get systemui FC
[Samsung Galaxy SL i9003] ivAnash:
Hey dude, thanks for the mod, but what's the panel background?? .. I didn't quite get it..
[Samsung Galaxy SL i9003] mznk:
It's a .9 PNG Backgroung used for popups for volume etc. I have attached a screen shot for better understanding.

Added More Mods in OP.
[Samsung Galaxy SL i9003] ayush95gupta:
Good job.....

Crt??????please add:D
[Samsung Galaxy SL i9003] mznk:
I'll add CRT on and off in a short while. (Though I personally don't like CRT animation as it delays locking and unlocking)
[Samsung Galaxy SL i9003] jejemilo:
Do i need to flash the kernels first before your mod?
[Samsung Galaxy SL i9003] mznk:
For LED notifications you'll need UC Kernel v15. For the rest of the mods any kernel with CWM will do.
[Samsung Galaxy SL i9003] joelmonty:
Works great ,14 toggles look as good as stock,swipe to clear extended menu ,looks awesome,thanks.
[Samsung Galaxy SL i9003] anziclone:
If i apply 1% mod then the power menu doesnt pop up.. the phone just restarts... can u make a combined mod of everything into one.... so 14 toggle, swipe, 1% and ics animations, crt animation ... itd be great if you could come up with such a mod... thanks...

Sent From My Head To Yours Through a Lot Of Complicated Networks!
[Samsung Galaxy SL i9003] rk7987:
+1
[Samsung Galaxy SL i9003] mznk:
Updated the OP with more mods and a combined mod pack!
[Samsung Galaxy SL i9003] 2009sebastian:
hello! thank you for the mods.:good:

I have a question when you say

"Reason for different mod packs is that I combine mods over one another as I feel the need for it. Therefore, one mod becomes dependent on other!"

Does it mean that I can't flash the mod pack ii without flashing previously the mod pack i? or is only for the features in the mod. hope i am clear.

I am interest in the toggle buttons mod!!!

regards
[Samsung Galaxy SL i9003] shivanker.goel:
GPS Conf for India

my gps reception actually got worse after applying mod 1 .. :confused:

did anybody else face a similar problem??

btw mznk, thank u so much for the mods!
[Samsung Galaxy SL i9003] mznk:
Yes, you'll have to apply Mod Pack 1 to get 14 toggles as it is dependent on Swipe to Clear Notifications mod.

One thing you can do is, take the framework.jar from Mod 1 and the rest of the files from 14 toggles mod and replace them with root explorer. That way you get Swipe to Clear and 14 Toggles.

Thanks for informing about the GPS problem, the config was working very well on DDKP3 but not on DDLF2. I have removed it for now and added a restore file. You can restore and apply the mod again.
[Samsung Galaxy SL i9003] ivAnash:
@mznk

Is there anyway to apply only the crt OFF animation and not the On thing??

and abt the gps.conf file, have u reverted back to stock or does the new file include any mods..
[Samsung Galaxy SL i9003] mznk:
Extract and replace the framework-res.apk from zip for CRT OFF. To revert to stock gps.conf flash the restore pack and then the mods. (I have removed the mods with gps.conf file)
[Samsung Galaxy SL i9003] vishal24387:
please add 10 lockscreen.
[Samsung Galaxy SL i9003] mdaamir1989:
@mnzk

1) Should i add the mods as descibed in OP one after the another ??

2) Should the procedure be same for the combined mod ?
[Samsung Galaxy SL i9003] mznk:
If you want all the mods just flash the combined pack, or flash as in the order in OP. (1-2, 1-3, 1-2-3)
[Samsung Galaxy SL i9003] ageback:
I only flashed Combined Mod Pack and everythings goes well.
[Samsung Galaxy SL i9003] shivanker.goel:
It would be awesome if u can add 10 lockscreen too!
[Samsung Galaxy SL i9003] mdaamir1989:
Flashed the combined mod pack . Was on BCK 14 fix. Stuck at samsung logo . Was BCK 14 fix the problem ?
[Samsung Galaxy SL i9003] mznk:
Try flashing the restore pack from cwm and then the mod pack. Btw is your phone de-odexed?
[Samsung Galaxy SL i9003] mznk:
I'll try to port them but no promises. :)
[Samsung Galaxy SL i9003] eddjanier143:
Sir you Add EDT TWEAK Battery MOD

Please sir on stock :)
[Samsung Galaxy SL i9003] emptyragnarok:
Hmm in UC kernel it's written XXKPQ ONLY .. where is universal kernel link? i didn't find any.. help me please!
[Samsung Galaxy SL i9003] bscraze:
It's universal, just don't report bugs if you don't flash it on kpq as testing was done on kpq
[Samsung Galaxy SL i9003] emptyragnarok:
o_O alright :D :D never knew ;) thanks as usual for help
[Samsung Galaxy SL i9003] anziclone:
Combined worked as a piece of cake... Keep up the good work.... M happy with the default lock screen... The only thing i do miss is a good looking perfected ics theme... If u could do just that we'd love it and be grateful.... If u come up with a rom with all these tweaks and ics theme with a cam hack, there would be loads of suckers for it... Respect! :thumbup::thumbup::thumbup:

Sent From My Head To Yours Through a Lot Of Complicated Networks!
[Samsung Galaxy SL i9003] 2009sebastian:
I only flash the toggles and it is working fine.
[Samsung Galaxy SL i9003] mdaamir1989:
Flashed the restore pack and again flashed the mod pack. Worked this time :)

Cheers and thanks :)
[Samsung Galaxy SL i9003] vishal24387:
Tarunagg's ICS theme???
[Samsung Galaxy SL i9003] floating boy:
reqest for adding low brightness mod all build.prop tweaks,beats audio,

Hey boss can you pls add beats audio with conrltrol panel, low brightness hack and all build.prop tweaks....
[Samsung Galaxy SL i9003] Taxman.:
Keep up the good work!

I would really appreciate and be grateful for a bundle that included camera hack v6.1!
[Samsung Galaxy SL i9003] RealSteel:
Should the combined mod be flashed over UC kernel v15 in order for the bln to work?
[Samsung Galaxy SL i9003] vishal24387:
Yes.

But first flash bam kernel (to avoid wifi error) & then flash UC kernel.
[Samsung Galaxy SL i9003] alex88510:
Hi,

Is it possible to make the 14 toggle button show 6 button at a time which same like 14 toggle button in XXKPQ?

If you doesn't want to release another version of this mod, can you kindly teach me how to modify it and also how to remove the header of power menu?

Thanks.
[Samsung Galaxy SL i9003] mznk:
It is possible to have 6 toggles at a time, but you'll have to search for it yourself. For removing the header of extended power menu follow the guide in OP, there's a section to remove the header.

I haven't included these because I wanted to stick to 100% stock look.

Updated the OP with more mods and an updated combined mod and restore pack.
[Samsung Galaxy SL i9003] TheSG:
All works thanks bro.
[Samsung Galaxy SL i9003] patelfaiz:
Thanks MZNK...not only for the Mods but also for links to the HOW-TO threads..Good work.
[Samsung Galaxy SL i9003] alex88510:
thanks for reply.

Is it possible to include other types of lockscreen?

Been searching the whole phone for it for a while then finally found that it's not include in this mod pack :p
[Samsung Galaxy SL i9003] ecmy92:
DO I need to flash the kernels before applying the combined mod to make it work? I flashed combined mod several times on BCK kernel 14 fix and it stucked at bootloop. Even after i tried flashing the restore pack and flash combined mod again... it still stucked at bootloop. Btw, my phone is deodexed.
[Samsung Galaxy SL i9003] mznk:
Yes, I have ported TSM Parts and EDT to get the lockscreens working but it isn't stable (even originally) that's why I didn't post it. You need to mod framework.jar, framework-res.apk and android.policy.jar to get it working. Also, you need to mod Settings.apk if you use TSM Parts or you can use EDT without modding Settings.apk. Try searching for already ported mods and use diff tools to study the changes.

You need CWM, DDLF2 (Stock and deodexed) and busybox (comes pre-installed with all CF-Root kernels) installed to get the mods working. Try flashing the restore pack and then the mods again. If still not successful do a clean install and then flash the mod pack.
[Samsung Galaxy SL i9003] matapollos:
Thanks sooo much for this mod!

It makes this awesome rom even better!

One question, did you also mod battery colors or is it my imagination?

Cheers
[Samsung Galaxy SL i9003] mznk:
The battery changes colour according to the amount remaining, but it is stock green for most part.
[Samsung Galaxy SL i9003] cukierkas:
will it work on deodexed xwlf2?
[Samsung Galaxy SL i9003] vishal24387:
I dont think so. Its mainly for ddlf2 rom.
[Samsung Galaxy SL i9003] cukierkas:
sad, but true :)

:good:
[Samsung Galaxy SL i9003] mznk:
I think they will work as xwlf2 and ddlf2 are pretty much same. You can try the mods, but make sure you make a cwm backup so that you can do a restore in case of failure.
[Samsung Galaxy SL i9003] cukierkas:
thanks for trying to help.

i got the bootloop after installing 15 toggle mod:(:rolleyes:
[Samsung Galaxy SL i9003] khandelwalsiddharth:
hey cant see 2g/3g toggle after flashing modified updated zip !! NEED HELP !
[Samsung Galaxy SL i9003] mznk:
If you send me the SystemUI.apk and Phone.apk (deodexed), I can try porting it.

Go to Quickpanel Settings App and choose Network mode toggle, if it still doesn't show up try the restore zip and then the combined mod zip.
[Samsung Galaxy SL i9003] Taxman.:
Being more specific, i was talking about this one: http://xdaforums.com/showthread.php?t=1453547

Thanks for the updates!
[Samsung Galaxy SL i9003] khandelwalsiddharth:
hey i got the toggle button but the problem is that the network is not changing to 2g .. i mean the toggle button is not working
[Samsung Galaxy SL i9003] loSconosciuto:
Hi mznk, great work.

I read in the OP that you would like to have LED notifications for missed calls too, so I took a look at services.jar and I maybe I found something.

Try this:

NotificationManagerService.smali

.method private getAlertOnCallMode()I
.locals 4

.prologue
.line 1356
[COLOR="RED"]const/4 v0, 0x3
return v0[/COLOR]

....

I'm not sure of this and I don't know if this overrides any system setting. getAlertOnCallMode gets the value of a setting named alertoncall_mode, but I couldn't find any reference to it in Settings.apk, so I think it's something we can't change. I'm not sure if it does what we want, so, the only thing we can do, is to try. The problem is that I'm not on stock...
[Samsung Galaxy SL i9003] mznk:
You can flash it over my mods as it just replaces the camera.apk

It is working for me and others (though there is a very small delay which happens even in settings). You can try restoring and then flashing again.

Thanks, I was thinking about contacting you. I'll try this method and get back to you. Thanks again for your contributions!
[Samsung Galaxy SL i9003] vishal24387:
@mznk

In ICS I have seen that notification bar have small icon of 'setting' from where we can directly go to settings. Cant we modify our gingerbread notification bar so that we can also have setting icon as shortcut?
[Samsung Galaxy SL i9003] loSconosciuto:
I realized that the problem is not in services.jar, but it's in Phone.apk, it makes more sense.

Try this:

Phone.apk -> com/android/phone/NotificationMgr.smali

iput-object v5, v9, Landroid/app/Notification;->contactCharSeq:Ljava/lang/CharSequence;

[COLOR="RED"] iget v11, v9, Landroid/app/Notification;->flags:I

or-int/lit8 v11, v11, 0x1

iput v11, v9, Landroid/app/Notification;->flags:I

iget v11, v9, Landroid/app/Notification;->defaults:I

or-int/lit8 v11, v11, 0x4

iput v11, v9, Landroid/app/Notification;->defaults:I[/COLOR]
[Samsung Galaxy SL i9003] mznk:
I'll try to add that. I am also thinking about modding the settings to categorized like in ICS.

It works, Thanks a lot! I'll update the OP soon. Btw, can't we modify Mms.apk the same way instead of modifying services.jar?
[Samsung Galaxy SL i9003] loSconosciuto:
I'm glad to hear that. It was easier than I expected.

Anyway that code is already in Mms.apk.

I've never tried to understand what that services.jar patch does, but from a quick look it seems that it prevents LED notifications from being disabled when the screen is on. If I remember correctly, the stock Mms.apk turns the screen on when there's a new message, so as soon as you get the message, LED notifications are disabled.

You could do some changes in Mms.apk to prevent the screen from being turned on, but then LED notification wouldn't be as reliable as they are now, because it happens that the screen is turned on (i.e. warning messages).
[Samsung Galaxy SL i9003] vishal24387:
In ICS theme nitin have already done that. You can contact him to know how to do that.
[Samsung Galaxy SL i9003] ivAnash:
@mznk

Can u tell me which files in the framework - res. apk is responsible for the CRT OFF animation, so that I can replace that specific file and add it to the framework- res of the 1st mod.

I don't want the 14 mod thing (mod 2), so I'd like to skip that...
[Samsung Galaxy SL i9003] mznk:
Ok, I understand it better now. Thanks!

Already modded, no need to contact anyone :D

You just have to change the value of 'animatescreenlights' from true to false in res/values/bools.xml
[Samsung Galaxy SL i9003] ivAnash:
can't find the value folder in res...
[Samsung Galaxy SL i9003] joelmonty:
After flashing the mods I've been getting random reboots ,any one facing this issue I'm not sure which .of it is but I'm sure its the mods because after flashing the restore zip the random reboot are gone .
[Samsung Galaxy SL i9003] neutronz:
how to disable CRT ON effect? i think CRT OFF without CRT ON effect is more better. :D

--edit--

when idle for a while, my screen turning on/off automaticly.. how to fix that?
[Samsung Galaxy SL i9003] mznk:
Use apktool to decompile the apk, then you'll get a values folder in res.

Thanks for notifying! (I was having it too, but nobody complained so I thought it was just me)

Anyways I have fixed the bug, just download the new update :D

I have answered this exact question on page 2 of this thread. I am not facing any automatic on/off, try the new update maybe that'll solve it for you.

Updated the OP.
[Samsung Galaxy SL i9003] neutronz:
download on progress, i hope there is no more automatic on/off screen :good:

req: can u make only CRT OFF without CRT ON effect? thanks

--edit--

flashing the new update: automatic screen on/off still there, dunno what mod that trigger the screen.. i think its because BLN, how to flash all the mod without BLN? or how to remove the mod?

--edit--

rrrr, replaced service.jar and lights.omap3.so with the restore.zip file, still getting random screen ON..
[Samsung Galaxy SL i9003] pellou:
Hi,

may i flash 15 Toggles (With 3G/2G Toggle) on [ROM][LF2][07.07.2012]TheFrankenstain^MODv.3.5?

And How?

How to:

1. Flash the zip through CWM.

2. Flash Mod Pack 1 followed by Mod Pack Mod Pack 5: 15 Toggles (With 3G/2G Toggle)

Tip:

1. Clear Dalvik Cache after applying the mod.

Thanks
[Samsung Galaxy SL i9003] pellou:
Soory for the post,

I have found the quick panel setting in the Rom... Sorry for the wrong post :o
[Samsung Galaxy SL i9003] joelmonty:
@mznk can you make this mod for our phone too?

I really liked this feature when i was on CM9
[Samsung Galaxy SL i9003] zerocool420:
restart prob

u done a great job everything work good 4 me.

bt after applying ur combined pack my phone get a restart problem.

now it restart atleast one or two time a day.

any solution....
[Samsung Galaxy SL i9003] joelmonty:
I have the same issue not sure what's the problem , the phone sometimes even restarts when I try to pick up a call, use the restore zip if you want to stop the restarts
[Samsung Galaxy SL i9003] vishal24387:
thank hod. I thought I was the only one who is facing such problem. I am also facing some random restart problem. Restart happens suddenly without any reason at least once a day.
[Samsung Galaxy SL i9003] botac_6:
cannot download restore zip as my antivirus detect virus within the zip.

can someone help me?

thanks!
[Samsung Galaxy SL i9003] swapyworld:
Dude...I read ur instruction at bottom of first post...!!

Do we have to flash mod1 everytime? like if i flash mod 1 and then for 14 toggles followed by 1% battery is it fine?

or

i ll have to flash mod 1 everytime before flashing correspodning mods?

Btw thanked for such a great work :highfive:
[Samsung Galaxy SL i9003] zerocool420:
yes bro! bt i dont want to install restart.zip, i just want the solution only ........ if anybody find it then tell... thanks 2 all
[Samsung Galaxy SL i9003] ayush95gupta:
.......:(

facing random reeboots at start screen....flashed ddlf2..bam kernal...ur combined mod update 2...format dalvikchache......reboot...nd then regular reboots...

edit-it now workes fine........
[Samsung Galaxy SL i9003] vishal24387:
I dont have any solution for u. But I think this mod has mostly nothing to do with restarts. I have observed very carefully & I can say that its because of xda bam v14fix cf root kernel & similar other universal kernels. Most of the present kernels are not optimised as per value packs. They are best kernel for xxkpq & similar roms. But for value packs like DDLF2 these custom kernels are creating problems.
[Samsung Galaxy SL i9003] cukierkas:
hello there. don't know about ddlf2, never tried, but with xwlf2 didn't had any randoms reboots. In my opinion, try to untick all the tweaks in tweaks app. after it - no probs at all. use supercharge script instead. really recommended.
[Samsung Galaxy SL i9003] vishal24387:
I never tick any option in tweak app. It really mess with rom. In my opinion most of the time scripts creates some problem with kernel configuration.
[Samsung Galaxy SL i9003] Hetalk:
I agree with this statement. I've tried different tweaks and scripts, but eventually something happens that I have to do a new flash.

As of now, I have a clean cm9a11 with apex launcher pro, and have absolutely no issues(lags/reboots/fc/etc)
[Samsung Galaxy SL i9003] joelmonty:
Im facing the auto reboot issue,but its weird,by the way im using All mods package updated and rom is of course DDLF2 stock and kernel is Ganesh's Cf root,the auto reboot is very weird,when the phone is in deep sleep it happens ,it happens like this ,i can suddenly hear the boot sound ,and when i try to wake up the phone i can thee the boot animation and the phone starts up,and when i checked in the about phone up time it showed that the reboot never happened the uptime was the previous value,Im pretty sure that this issue is with the mods because it started when i flashed the mods and it goes away if i flash the restore zip.I have attached my log from alogcat when this auto reboot happened .thanks for your help.
[Samsung Galaxy SL i9003] pancit:
It is not caused by any of the two kernel - UC & BCK... The random reboots is caused by the tweak used in framework-res and services...

I didn't used this MOD... but I was experiencing random reboots when I used the tweak for Low Brightness...

I applied the same MOD to XWLF2... then I tested the phone... I set my screen timeout to 30 secs... Low Brightness should dim the screen before it reached its timeout... because the MOD was set to a brightness of 1. But, when this is applied to this value pack, instead of dimming screen phone hangs and eventually will survive.. but most of the time phone reboots... others cannot see this because it is seldom for people to reach the screen timeout... they usually turn off the screen before it reach its timeout... and in case if they leave the phone unattended then reboots happen...

This is if my theory is right...
[Samsung Galaxy SL i9003] vishal24387:
then whats the solution to prevent random reboots?? Should we lower screen timeout or should we increase brightness???
[Samsung Galaxy SL i9003] 2009sebastian:
modifying background colour

Hello! I tried to modified the toggles background and I was not able.

I use this guide http://www.android-hilfe.de/1246256-post5.html (google translate...) everything seems to work except for the background in the toggles. I have applied mod2 pack so I was wondering if you could give me some tips to succeed.

Regards
[Samsung Galaxy SL i9003] pancit:
I am working for a fix for it right now...

I'll be back if it works :)
[Samsung Galaxy SL i9003] vishal24387:
One imp thing now I am using ganesh's CF root. Everyday I experience nearly 3-4 random reboots due to xda bam & UC kernel. But today whole daywith ganesh's CF root I didnt experienced any random reboot. So I can confirm u that this ddlf2 mod has nothing wrong.
[Samsung Galaxy SL i9003] amitsaha402:
No doubt Bam kernel is best for XXKPQ n XXKPU according performance n no overheating problem even in OC. But with value pack it's horrible. Random bootup, lag in game n wrong battery status. Using ganash cf-root about 1month n it's work like a charm. Not a single problem. :) :thumbup:
[Samsung Galaxy SL i9003] AmmarGitham:
Hi, You've written that TSMParts is partially working. What does that mean?... I was trying to do 10 lockscreen mod on DDLF2 but resulted in bootloop. So if you could share your work on TSMParts in this thread or another, it would be great. :good:
[Samsung Galaxy SL i9003] ishan.cool8:
???????

what to do if i only want ctr off animation and swipe to clear notifications??????:confused:
[Samsung Galaxy SL i9003] vishal24387:
Buddy is it always necessary to quote whole OP (original post i.e. first post of this thread) everytime for asking a small doubt??? :rolleyes: Post ur doubts without quoting OP. Surely we will help u.

I will suggest u to flash all mods. Its a worth try.