[GUIDE][CAMERA] How to add 4K & 120 FPS Video modes For LG Official KK ROMS
Well first of all I would like to say that, myself or any other person has no hands in implementing this 4K tech in the phone. LG uses 1 apk for many devices and uses same png's and arrays. Its really very easy to add 4K and 120 FPS to the KK ROMS. LG Has provided every library required for it. [Someone said they haven't but they have actually].
Now on the Portal Thanks to "Eagleeyetom
". Click Here to view.
What is needed?
3) Universal Deodexer.
4) 5 minutes.
5) Mouse pointer
6) Media_Profiles.cml [In Attachments]
7) LG G2 Kitkat Files.
How to start?
Step 1 :
Start TicklemyAndroid.bat. Enter themeing menu by pressing 2. Make sure you get hold of the framework files of the KK ROM. Install the framework-res.apk and Lge-res.apk from the framework folder by placing them in the "IN" folder. Then Press 3 and install both the files.
Step 2 :
Extract Universal Deodexer. [V3]
Place all the files from the framework folder with all the files of the Universal Deodexer Folder. Place you LgCameraApp.apk and LgCameraApp.odex in the apk folder. Click on the main.bat and it will merge the files. You will find the deodexed file in the deodexed folder.
Step 3 :
Place the deodexed app in the "IN" folder of the TicklemyAndroid folder. Start the TicklemyAndroid.bat again. Enter themeing menu by pressing 2. Now decompile the file LgCameraApp.apk. Navigate to the working folder and then open the LgCameraApp folder. Then Navigate to
. Open the file with Notepad++ application.
Step 4 :
Press "CTRL+F" and type search for the line " g2_video_size_entries".
Just make sure your arrays also look the same as these.
check line by line for reference.
Step 5 :
After these are done. Save the xml file. And go to the main menu of Tickle My Android and start the bat file. Enter theming menu by pressing 2. Then press 13 to recompile. When you press 13, it will ask you to select the file which you want to recompile. In this case there will be only 1 file, LgCameraApp.apk. Press 1 to select it. Then it will ask you what type of file it is. As we know it is a system File, press 2 and it will ask whether you want to recompile it. Press Y and then let it rebuild.
Step 6 :
When done, find the apk in the "OUT" folder. New 4K and 120 FPS camera is ready.
How to use?
Make a flashable zip using the zip in the attachemnts or place it in /system/priv-apps/ and set permissions to rw-r--r--.
What is the Media_profiles.xml for?
It sets the Bitrate of the Videos and Audio Bitrate also.
Where to place the Media_profiles.xml ?
Place it in /system/etc/
I have given a zip file which is empty, You can just place your apk and media profiles in the following two folders and flash it.
Note: No need to give any kind of credits to me or anyone else as this way done mainly by LG. I'm just copy pasting to make it work
Mod edit - links removed