[LG Optimus 2x] civato:
New Mod Guide

Camera ShutterSound off option

​

What is this for?

V30B Germany and V30A EU doesn't got this option but it easy to get it

What will we be needing?

(If you need Java , SDK, a rom cook/dev will already got that installed and knows what I'm talking about)

CameraApp.apk (system/app) , framework-res.apk and lg-res.apk (system/framework) = all deodexed.

Notepad ++

Winrar or 7Zip (I prefer winrar)

APK-MultiTool and install this.

Get to it part 1:

Put the "framework-res.apk" and "lg-res.apk" in the "other" folder.

Rename

the "lg-res.apk" to "com.htc.resources.apk" (If not decompiling will not be succesful. NOTE: also needed if you want to decompile the "SystemUI.apk for battery mods"

Click on the "Setup.bat" and select "2" and then "1" (This will set correct sources)

Again Click on the "Setup.bat" and select "2" and then "3" (This will set correct sources)

Again Click on the "Setup.bat" and select "3"(This will create the folders).

Get to it part 2:

Put the "CameraApp.apk" in the "place-apk-here-for-modding" folder.

Click on the "Script.bat" and Decompile the "CameraApp.apk" with the APK-MultiTool (set project .. = select the apk ...= select .. to decompile). (With my tool it is 25 to select project , 9 to decompile)

In "project" folder of the APK-MultiTool you will find the folder "CameraApp.apk"

Now go to /projects/CameraApp.apk/res/values/arrays.xml

Open "arrays.xml" with the notepad++ and search the following line: "star_camera_shutter_sound_entries" = Line 13258.

Now you will need to add a line just after this line "<string-array name="star_camera_shutter_sound_entries">"

You add the following line "item>@string/off</item>"

Now you will need to add a line just after this line " <string-array name="star_camera_shutter_sound_entryValues">"

You add the following line "<item>off</item>"

So it looks like this:

13258 <string-array name="star_camera_shutter_sound_entries">
13259 <item>@string/off</item>
13260 <item>@string/shutter_sound_1</item>
13261 <item>@string/shutter_sound_2</item>
13262 <item>@string/shutter_sound_3</item>
13263 <item>@string/shutter_sound_4</item>
13264 </string-array>
13265 <string-array name="star_camera_shutter_sound_entryValues">
13266 <item>off</item>
13267 <item>0</item>
13268 <item>1</item>
13269 <item>2</item>
13270 <item>3</item>
13271 </string-array>

Get to it part 3:

Safe the changes.

Now as a "Compile System APK files" (with me it is option 11)

It starts building............

If it asks "Aside from the signatures, would you like to copy......................." you click "y".

Now you get a second question .................................. , before you do anything you go to the newly created "keep" folder and

delete

"resources.arsc"

Return to the cmd and you press any key , it will finish the build if you did everything correct. (Please don't ask me to solve your errors)

Now go to the "place-apk-here-for-modding" and you will find the new "System_CameraApp.apk" (with older tools it is called "unsigned_.....")

Get to it part 4:

Extract the "System_CameraApp.apk" with winrar.

In that extracted folder select everything and create a new "CameraApp.zip" , now before you press the compress button you rename the .zip to .apk so it is like this "CameraApp.apk".

Now you press the compress button but make sure you compress into

store mode

.

Now it is all done and you can replace your old CameraApp.apk in system/app.

If you replace it with a root explorer a reboot and wipe of dalvik cache is needed.

Enjoy and don't forget to say thank you!

ALL INFO ALSO IN OP