[MOD][GUIDE] [Team ReJectZ] FI03 Camera-Volume Rocker/Shutter Mod - Samsung Epic 4G Touch

FIO3 volume rocker / shutter mod
Made the mod from the guide here, be sure to thank his thread, camera mod
3. Camera Volume Up/Down as a shutter
* FILE:
com\sec\android\app\camera\Camera.smali
* METHOD:
.method public onKeyDown(ILandroid/view/KeyEventZ
* MODIFIED switch case:
.line 1487
:sswitch_data_204
.sparse-switch
0x4 -> :sswitch_38
0x17 -> :sswitch_90
0x18 -> :sswitch_90
0x19 -> :sswitch_90
0x1a -> :sswitch_38
0x1b -> :sswitch_90
0x42 -> :sswitch_90
0x50 -> :sswitch_3a
0x52 -> :sswitch_36
0x55 -> :sswitch_38
0x59 -> :sswitch_38
0x5a -> :sswitch_38
.end sparse-switch
* EXPLANATION:
0x18 is volume up, 0x19 is volume down
We are telling these switch cases to link to sswitch_90 and act the same as touch shutter button.
----------
* METHOD:
.method public onKeyUp(ILandroid/view/KeyEventZ
* MODIFIED switch case:
.line 1690
nop
:sswitch_data_184
.sparse-switch
0x4 -> :sswitch_3d
0x17 -> :sswitch_cd
0x18 -> :sswitch_cd
0x19 -> :sswitch_cd
0x1a -> :sswitch_3d
0x1b -> :sswitch_cd
0x42 -> :sswitch_cd
0x50 -> :sswitch_146
0x52 -> :sswitch_96
.end sparse-switch
* EXPLANATION:
0x18 is volume up, 0x19 is volume down
We are telling these switch cases to link to sswitch_90 and act the same as touch shutter button.
Click to expand...
Click to collapse
I took the camera from the black ROM and modded the smali to to allow you to take pictures with the volume rockers. Devs if you want to use this fio3 modded camera in your Rom I don't mind, just re theme it and gimme credit for making the mod, AND thank the Dev from the original thread.
Directions: download to sd card, boot into recovery, wipe cashe, dalvik cashe, and flash.
DOWNLOAD FIO3 camera/shutter mod here.camera volume rocker shutter mod​

Yes! Love this. Gonna try this out. easier then trying to hit the button on the screen. Thanks for this.

g_ding84 said:
Yes! Love this. Gonna try this out. easier then trying to hit the button on the screen. Thanks for this.
Click to expand...
Click to collapse
I would like to know how it works for you cause I've only treated it on.my phone and want to.make sure it works good on someone else's phone too

Sweetness I miss this on other roms
Sent from my SPH-D710 using xda premium

Hey Tim, do you want to post the one I did for FI25 also?
Camera sounds removed
Volume rocker mod
Camera can be used with less than 15% battery & during phone calls
I have the same mod for FI03 if you want it as well.
The camera app is definitely one of the harder ones to mod, especially since they changed a lot of the code from build to build.

tdunham said:
Hey Tim, do you want to post the one I did for FI25 also?
Camera sounds removed
Volume rocker mod
Camera can be used with less than 15% battery & during phone calls
I have the same mod for FI03 if you want it as well.
The camera app is definitely one of the harder ones to mod, especially since they changed a lot of the code from build to build.
Click to expand...
Click to collapse
Ya bro, thats totally cool. Post a link, and I'll link it with credit to you in the OP. Good lookin out man!

FI03 & FI25 Modded camera
Here are both FI03 & FI25 deodexed modded camera flashable zips.
These have a couple of extra features:
- Sounds removed (note, this does not remove the sounds that come with the stock roms, just those in the camera.apk)
- Volume rockers can be used to take pictures
- Camera can be used with less than 15% battery and during phone calls

tdunham said:
Here are both FI03 & FI25 deodexed modded camera flashable zips.
These have a couple of extra features:
- Sounds removed (note, this does not remove the sounds that come with the stock roms, just those in the camera.apk)
- Volume rockers can be used to take pictures
- Camera can be used with less than 15% battery and during phone calls
Click to expand...
Click to collapse
Good job man. Excellent work .! I'll add those to the top shortly. Thank you sir!

Is there a version for FI27 or will FI25 work on FI27?
Sent from my SPH-D710 using xda premium

JonSCSL said:
Is there a version for FI27 or will FI25 work on FI27?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
The FI25 version should work fine.
Sent from my SPH-D710 using xda premium

tdunham said:
Hey Tim, do you want to post the one I did for FI25 also?
Camera sounds removed
Volume rocker mod
Camera can be used with less than 15% battery & during phone calls
I have the same mod for FI03 if you want it as well.
The camera app is definitely one of the harder ones to mod, especially since they changed a lot of the code from build to build.
Click to expand...
Click to collapse
Thanks man again, awesome mods!

Love this mod! Is there any to get an odex version?
Sent from my SPH-D710 using xda premium

JonSCSL said:
Love this mod! Is there any to get an odex version?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Honestly I can't stand odexed. There are several threads for odexing and deodexing your rom/apps in the dev section. I would just look there if you would like to odex it. Shouldn't take too long.Or just google dexopt wrapper, and you should be able to odex it just fine.

JonSCSL said:
Love this mod! Is there any to get an odex version?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
If you want odex. The easiest way is if you have titanium backup. Hit the menu button and select integrate delvik cache into system. All you system apps will be odexed.
Sent from my SPH-D710 using xda premium

g_ding84 said:
If you want odex. The easiest way is if you have titanium backup. Hit the menu button and select integrate delvik cache into system. All you system apps will be odexed.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Huh, thanks for the tip bro

I don't understand that. If your on a deodexed rom and use titamium to integrate, does that odex your whole rom? Or just your apps?
Sent from my SPH-D710 using xda premium

JonSCSL said:
I don't understand that. If your on a deodexed rom and use titamium to integrate, does that odex your whole rom? Or just your apps?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I would go to the odex and deodex thread. Dextopt wrapper and dsxda kitchrn also work

I don't understand that. If your on a deodexed rom and use titamium to integrate, does that odex your whole rom? Or just your apps?<br />
<br />
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
It will only odex you system apps. Which IMO is where you'll see the difference. speed wise
Sent from my SPH-D710 using xda premium

g_ding84 said:
It will only odex you system apps. Which IMO is where you'll see the difference. speed wise
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks gding... you are appreciated

timmetal6669 said:
Thanks gding... you are appreciated
Click to expand...
Click to collapse
No problem, Just sharing the knowledge I have.

Related

[MOD]Smoothscroll and 30 volume step for DXKT5 deodex

This is a smooth scroll mod and a 30 volume step for deodexed DXKT5.
Thanks to AndroidON for his brilliant tutorial http://forum.xda-developers.com/showthread.php?t=1411317
download the framework.jar attached below and replace your original one in system/framework.
set permissions to rw-r--r-- by root explorer
tested on DXKT5
Excellent! Thanks for bringing this to STOCK
thanks dude..it's very usefull
Any changes in this mod?
I didn't feel any changes
Thanx for your appreciation guys..!!
I cant post in development section as i m new so it would be highly appreciated if any of you post this....
KaiTzer said:
Any changes in this mod?
I didn't feel any changes
Click to expand...
Click to collapse
U will have to reboot after setting permissions.
Volume mod is applicable in media only.
Scrolling you can yourself see in apps gallery and document viewers.
First reboot will take little bit long time so keep patience.
Amazing!!
Sent from my GT-S5830 using xda premium
Will these remove the currwnt framewrk?
Sent from my GT-S5830 using xda premium
Superuser9 said:
Will these remove the currwnt framewrk?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
No,you are just replacing your framework.jar,so these mods are just effecting your volume control and your scrolling
WOAH Will definitely use this after I finished switching from CM7.2 to Stock. Downloading stock 2.3.6 and ICS Stock
Sent from my GT-S5830 using xda premium
Works on Blackhawk XWKT7 version too!
Thanks and good work!
I'm sorry but battery precision mod not implemented yet?
Sent from my GT-S5830 using Tapatalk
Stock doesnt need battery fix

[HOW-TO] CM Haptic Feedback on Stock

All credits goes to Delanoister
I'm just sharing
Use any root explorer.
Go to: /system/usr/keylayout/sec_touchscreen.kl
Edit with text editor:
Code:
key 158 BACK
key 139 MENU
Replace to:
Code:
key 158 BACK VIRTUAL
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 217 SEACRH VIRTUAL
Save & exit
REBOOT PHONE
----------
If you wanna go back to stock feedback:
Rename:
Code:
sec_touchscreen.kl.bak
To:
Code:
sec_touchscreen.kl
Save & exit
REBOOT PHONE
Nice, Thanks!
Hi Peter Good post .. So useful ....[Little O.T.]... Why not release an hybrid miui from you and delano's version? Your miui uses less ram but delano's rom is nearly full working ... So .. why not found a tem like GioMIuI or something else [/O.T.]
Frankin96 said:
Hi Peter Good post .. So useful ....[Little O.T.]... Why not release an hybrid miui from you and delano's version? Your miui uses less ram but delano's rom is nearly full working ... So .. why not found a tem like GioMIuI or something else [/O.T.]
Click to expand...
Click to collapse
Where is his MIUI?
Peteragent5 said:
Where is his MIUI?
Click to expand...
Click to collapse
On giocommunity...
Sent from my GT-S5660 using xda premium
voetbalremco said:
On giocommunity...
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
Also its working perfectly fine
DarkShadow69 said:
Also its working perfectly fine
Click to expand...
Click to collapse
Yes...
Bugs:
None
Sent from my GT-S5660 using xda premium
Lol. Oh yeah! I've seen it! Mine will have no bugs also...
Works on ace
Btw set your home button as camera button
Is fun
Or.change thw qwerty keys to other stuff xd
Sent from my GT-S5830 using xda premium
Thanks dude i was searching for this
Sent from my GT-S5660 using XDA
CoolCatGetHome said:
Works on ace
Btw set your home button as camera button
Is fun
Or.change thw qwerty keys to other stuff xd
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
How can i make it as camera button?
Sent From My Galaxy S II Mini, Problem?
Report: this method wont work on froyo.
I'm Back To Froyo!
CoolCatGetHome said:
Works on ace
Btw set your home button as camera button
Is fun
Or.change thw qwerty keys to other stuff xd
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
How to set as camera shuttet
Sent from my GT-S5660 using xda premium
Disable the keys
If I disable these keys with comment, and install only softkeys will it work?
Peteragent5 said:
All credits goes to Delanoister
I'm just sharing
Use any root explorer.
Go to: /system/usr/keylayout/sec_touchscreen.kl
Edit with text editor:
Code:
key 158 BACK
key 139 MENU
Replace to:
Code:
key 158 BACK VIRTUAL
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 217 SEACRH VIRTUAL
Save & exit
REBOOT PHONE
----------
If you wanna go back to stock feedback:
Rename:
Code:
sec_touchscreen.kl.bak
To:
Code:
sec_touchscreen.kl
Save & exit
REBOOT PHONE
Click to expand...
Click to collapse

[MOD] CRT On+Off animation.

This is for deodexed FI25 with CRT off animation already enabled.
This mod will enable the CRT animation when you turn *ON* the screen.
Here is a video of this animation.
This will overwrite services.jar and libsurfaceflinger.so. Please make a backup in case something goes wrong.
FLASH AT YOUR OWN RISK!
Crt_ON_OFF_Signed.zip - 1.34 MB
_dan said:
This is for deodexed FI25 with CRT off animation already enabled.
This mod will enable the CRT animation when you turn *ON* the screen.
Here is a video of this animation.
This will overwrite services.jar and libsurfaceflinger.so. Please make a backup in case something goes wrong.
FLASH AT YOUR OWN RISK!
Crt_ON_OFF_Signed.zip - 1.34 MB
Click to expand...
Click to collapse
Great job! Do you have a guide on how to do this mod? Would like to make one for fio3
timmetal6669 said:
Great job! Do you have a guide on how to do this mod? Would like to make one for fio3
Click to expand...
Click to collapse
I followed this guide http://rootzwiki.com/topic/2553-dev-enabling-crt-on-off-animation-in-roms-how-to/.
You have to make sure the smali code is aligned properly. When copying it there is an extra indent on the code >.>.
OH almost forgot. The stock libsurfaceflinger.so isn't compatible so I borrowed one from the international gs2 forum that was built from cm9 source.
Can this be used on PA JB ROM??
Sent from my hand
Nope just Tw fi25. Sorry! I can take a look if i can do it tho.
Sent from my SPH-D710 using xda app-developers app
_dan said:
Nope just Tw fi25. Sorry! I can take a look if i can do it tho.
Sent from my SPH-D710 using xda app-developers app
Click to expand...
Click to collapse
Please do! I know JB ROMs have the issue with it and I love the feature! :thumbup::thumbup:
Sent from my hand
What about an Odexed version? Is that possible?
This is working for me on Crawj's FH23 stock deodex rom, fixed the screen flicker as well
Thanks for the mod Dan :beer:
Edit: also working on Universe 2.3 & TBAS3 2.3
Sent from my SPH-D710 using Tapatalk 2

[build.prop tweak] softkeys enabled

To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
works great. Thanks
killphillxr said:
works great. Thanks
Click to expand...
Click to collapse
You are welcome mate!!!
thanks you
I can see that option in the file. Is that mean I need to add this key in the file?
Sent from my HTC Desire using xda premium
wongb said:
I can see that option in the file. Is that mean I need to add this key in the file?
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Yes mate go to build.prop located into /system open it with a text editor and add the line i am writing at first post save it restart your phone and you ll have the softkeys enabled!!!
Thanks, it works well
Sent from my Galaxy Nexus using xda premium
Thanks,work in Jellybean rom! :thumbup:
Sent from my MP711I using xda app-developers app
Is there a way to reduce the size of the soft keys. Thanks
bedi.gursimran said:
Is there a way to reduce the size of the soft keys. Thanks
Click to expand...
Click to collapse
No mate you cant do that with this mod. To do that you need to modify other system file manually
Wait,am i missing something?? Do we need to download app for softkeys??
Sent from my GrenadeLauncher Equiped Motorola XT910
MarkelofRazr said:
Wait,am i missing something?? Do we need to download app for softkeys??
Sent from my GrenadeLauncher Equiped Motorola XT910
Click to expand...
Click to collapse
Nope just edit build.prop as I say at first post and u are done that is of course if your Rom does not have them enabled
Sent from my HTC Desire using xda app-developers app
purelook hd rom
I'm using purelook hd rom and it has xperia engine in it. Can't get the soft keys on it. Need help as I can't survive without these.
LMT
hi, as an alternative to standard softkeys, you could use the app LMT (requires root)
it supports gestures, expanded desktops and Pie Softkeys with long press function as in Paranoid rom and some more nice features
Could be interesting for some
halaros2 said:
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
Click to expand...
Click to collapse
works. thanks
Can't believe it's so simple!
Works great!
Lot of thanks!
halaros2 said:
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
Click to expand...
Click to collapse
Is there a way to customize the "Recent" soft key to "Menu"? When I added the script while using the CM10 rom, I could change them around in the navigation settings. I recently switched back to the stock JB version, but added soft keys because my hardkeys stopped working after I dropped it in a spa
Any advice would be much appreciated!
Cheers!
kamirza said:
I'm using purelook hd rom and it has xperia engine in it. Can't get the soft keys on it. Need help as I can't survive without these.
Click to expand...
Click to collapse
U mean u tried this mod and it doesn't work?
penguinmaster said:
Is there a way to customize the "Recent" soft key to "Menu"? When I added the script while using the CM10 rom, I could change them around in the navigation settings. I recently switched back to the stock JB version, but added soft keys because my hardkeys stopped working after I dropped it in a spa
Any advice would be much appreciated!
Cheers!
Click to expand...
Click to collapse
Nope u can't edit it with this mod... For doing this u have to edit other files
Is there any way to make the Soft Keys smaller.. (at least 50% smaller than its original size/height)... its because my phone (the Galaxy S Advance) has a resolution of only 480x800.... I just feel like there is not enough space on my screen to be honest, that's why I'm asking this....
(Post Added)
- I can't take Screenshots anymore, using my Home + Power Button
- My dialer app is getting covered with the Soft keys.. so I can't call anyone because I can't tap on the call button
halaros2 said:
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
Click to expand...
Click to collapse
Awesome thanks!
Sent from my GT-I9082 using Tapatalk 4

[MOD] Toggles(EQS) + Aosp Recent Apps

This mod gives you Aosp style recent apps as you can see from the first screenshot posted below with the recent apps open.
PLEASE READ:
Any of the mods below will most probably work with any sense rom(except viper which has a super modded framework ).If it doesnot work for you just report back and i'll include support for the rom you are using.Happy flashing
HOW TO:
Just flash the zip file attached corresponding to the rom you are using
AOSP RECENT APPS
ORDROID:
1.Without battery percentage:
https://docs.google.com/file/d/0BxQin5xmUKAoWVdvUE83SWNVdlU/edit
2.With green battery percentage:
https://docs.google.com/file/d/0BxQin5xmUKAoX1N0T2dsRXhyM2s/edit
INSERTCOIN:
1.Without battery percentage:
https://docs.google.com/file/d/0BxQin5xmUKAoOE1MS1lMaUxHa00/edit
2.With green battery percentage:
https://docs.google.com/file/d/0BxQin5xmUKAoYlJfLU5CZEZUOHc/edit
EQS TOGGLES
1.With no battery percentage + Htc style recent apps:
http://d-h.st/TsV
2.With no battery percentage + Aosp style recent apps:
http://d-h.st/JL8
3.With green battery percentage + Htc style recent apps:
http://d-h.st/Nyt
4.With green battery percentage + Aosp Style recent apps:
http://d-h.st/sb5
5.With blue battery percentage + Htc Style recent apps :
http://d-h.st/6z5
6.With blue battery percentage + Aosp style recent apps:
http://d-h.st/yN0
SHARING AND USE POLICY(ONLY FOR MY TOGGLES MOD)
Hello everyone.As some of you might know that i am a member of the skydragon team and that is the only rom that has all my mods.From now on all my new mods will not be posted here but available only on the skydragon rom.The reason for this is simple,as you all know i'm a new guy and have a lot to learn so i find time really short.This time will be well spent studying and making new stuff.So you will find everything i have to contribute in the skydragon thread from now on as i just find supporting all roms difficult.But this thread will not be closed.All the mods that i have already made will stay here and also news and screenshots of new mods will be posted here so do look here every once in a while.
Confirmed working on ARHD 18. :thumbup:
Sent from my EndeavorU using xda app-developers app
Wow, this is a really neat mod! I loved the AOSP Recent apps style. This is perfect for me. I find it more gesture friendly.
Thanks a lot! Is it possible to include a ''REMOVE ALL'' button like in AOSP??
i have been waiting for this thank you
nice one mate...I've been looking for it! thanks a lot!
Does this mean recent apps will actually work as it's suppose to be on sense roms? eg. goes back to whereever you last left it, instead of reopening the app like in stock roms
popularpp said:
Does this mean recent apps will actually work as it's suppose to be on sense roms? eg. goes back to whereever you last left it, instead of reopening the app like in stock roms
Click to expand...
Click to collapse
No it doesnot change how multitasking is done in sense.It only changes how it is displayed.
hassan89 said:
No it doesnot change how multitasking is done in sense.It only changes how it is displayed.
Click to expand...
Click to collapse
I see, thanks! Good job still :good:
Hope someone can figure out how to make it so it works as it's suppose to !
This is AMAZING hassan! Can I include this in my ROM?
Sent from my HTC One X using xda premium
theDroidfanatic said:
This is AMAZING hassan! Can I include this in my ROM?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Ofcourse you can Everybody is free to use this as they will.
hassan89 said:
Ofcourse you can Everybody is free to use this as they will.
Click to expand...
Click to collapse
Thanks! I'll give credits of course
Sent from my HTC One X using xda premium
I can confirm that it does work! And it feels a lot better than the Sense one. Thanks!
Sent from my HTC One X using xda app-developers app
had a question,i already have blue battery percentage installed on orio,does this remove that ?
vaykossil said:
had a question,i already have blue battery percentage installed on orio,does this remove that ?
Click to expand...
Click to collapse
It has green battery percentage but if you want blue one please upload your SystemUI.apk
nice..works good..thx
Anyone who wants to do this manually:
Decompile SystemUI.
Browse to \SystemUI\smali\com\android\systemui\statusbar and open "StatusBarFlag.smali"
Search for "sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP_FUSION:Z"
Right on top of that line add "const/4 v0, 0x0"
Save and recompile
mwilky said:
Anyone who wants to do this manually:
Decompile SystemUI.
Browse to \SystemUI\smali\com\android\systemui\statusbar and open "StatusBarFlag.smali"
Search for "sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP_FUSION:Z"
Right on top of that line add "const/4 v0, 0x0"
Save and recompile
Click to expand...
Click to collapse
Yeah thats exactly how its done Just wanted to save people the trouble :highfive:
mwilky said:
Anyone who wants to do this manually:
Decompile SystemUI.
Browse to \SystemUI\smali\com\android\systemui\statusbar and open "StatusBarFlag.smali"
Search for "sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP_FUSION:Z"
Right on top of that line add "const/4 v0, 0x0"
Save and recompile
Click to expand...
Click to collapse
Good guy mwilky, knows how to make mod, doesn't, so others get a chance
Sent from my HTC One X using xda premium
Great Job! Work fine! Thanks
---------- Post added at 02:42 AM ---------- Previous post was at 01:50 AM ----------
I have Added this Mod on SystemUI.apk with centered clock and White Battery %
http://d-h.st/FOc
Work on all JB Base 3.14.401.31
RipperNash said:
Wow, this is a really neat mod! I loved the AOSP Recent apps style. This is perfect for me. I find it more gesture friendly.
Thanks a lot! Is it possible to include a ''REMOVE ALL'' button like in AOSP??
Click to expand...
Click to collapse
Yes! +1 to this.
Sent from my HTC One X using xda app-developers app

Categories

Resources