Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[GUIDE][CAMERA] How to add 4K & 120 FPS Video modes For LG Official KK ROMS

OP Jishnu Surô

28th February 2014, 07:41 PM   |  #1  
OP Account currently disabled
Flag ND-BL-MB-KL
Thanks Meter: 7,566
 
2,452 posts
Join Date:Joined: Nov 2012
Donate to Me
More
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?
1) Ticklemyandroid.
2) Notepad++
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

LgCameraApp/res/values/Arrays. 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.

Click image for larger version

Name:	1.JPG
Views:	4821
Size:	102.7 KB
ID:	2606122

Click image for larger version

Name:	2.JPG
Views:	3634
Size:	109.7 KB
ID:	2606123

Click image for larger version

Name:	3.JPG
Views:	3310
Size:	105.4 KB
ID:	2606124

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.

Downloads Below

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
Last edited by wedgess; 13th July 2014 at 12:08 PM.
The Following 45 Users Say Thank You to Jishnu Surô For This Useful Post: [ View ]
28th February 2014, 07:46 PM   |  #2  
OP Account currently disabled
Flag ND-BL-MB-KL
Thanks Meter: 7,566
 
2,452 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Reserved for more! Exploit all the knowledge friends.
The Following 4 Users Say Thank You to Jishnu Surô For This Useful Post: [ View ]
28th February 2014, 07:47 PM   |  #3  
OP Account currently disabled
Flag ND-BL-MB-KL
Thanks Meter: 7,566
 
2,452 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Another!!
The Following 4 Users Say Thank You to Jishnu Surô For This Useful Post: [ View ]
28th February 2014, 08:02 PM   |  #4  
Wesley32's Avatar
Senior Member
Flag Louisville
Thanks Meter: 101
 
237 posts
Join Date:Joined: Jun 2012
More
Too bad I don't have a 4K TV or anything to view 4K resolution in. This is so fantastic, but I can't take advantage of it with my 2 year old 1080P plasma TV
28th February 2014, 08:07 PM   |  #5  
Member
Thanks Meter: 7
 
74 posts
Join Date:Joined: Aug 2008
Would this be possible on nexus 5 too?
The Following User Says Thank You to k4r70ng For This Useful Post: [ View ]
28th February 2014, 08:15 PM   |  #6  
OP Account currently disabled
Flag ND-BL-MB-KL
Thanks Meter: 7,566
 
2,452 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Quote:
Originally Posted by k4r70ng

Would this be possible on nexus 5 too?

Not yet. Its very different for Nexus 5. Don't worry I will do something.. I have a Nexus 5 too
The Following 16 Users Say Thank You to Jishnu Surô For This Useful Post: [ View ]
28th February 2014, 08:37 PM   |  #7  
a2441918's Avatar
Recognized Developer / Recognized Contributor
Flag New York
Thanks Meter: 3,464
 
1,443 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Will it work on the Galaxy S4 i9500?

Sent from my GT-I9500 using XDA Premium 4 mobile app
28th February 2014, 08:40 PM   |  #8  
OP Account currently disabled
Flag ND-BL-MB-KL
Thanks Meter: 7,566
 
2,452 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Quote:
Originally Posted by a2441918

Will it work on the Galaxy S4 i9500?

Sent from my GT-I9500 using XDA Premium 4 mobile app

Straight answer, NO. This is only for LG camera app brother.
The Following 2 Users Say Thank You to Jishnu Surô For This Useful Post: [ View ]
1st March 2014, 11:36 AM   |  #9  
ShyamSasi's Avatar
Recognized Contributor
CLASSIFIED
Thanks Meter: 1,752
 
2,753 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Ah the original work! It's always appreciated my friend. Keep up the good work. Hoping to see a lot of development.
The Following User Says Thank You to ShyamSasi For This Useful Post: [ View ]
1st March 2014, 01:25 PM   |  #10  
GaYoung28's Avatar
Senior Member
Flag D:/Forum/Felix/Location/Indonesia
Thanks Meter: 82
 
418 posts
Join Date:Joined: Oct 2012
Donate to Me
More
But.. how to flash it? We can't root KK and don't have any custom.recovery :/
Sorry for the question :|

Sent from my LG-D802 using xda app-developers app

The Following User Says Thank You to GaYoung28 For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes