Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,324 Members 42,480 Now Online
XDA Developers Android and Mobile Development Forum

[4.4 Kernels] Automatically detect panel command line

Tip us?
 
dr87
Old
(Last edited by dr87; 1st July 2014 at 06:19 AM.)
#1  
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8185
Posts: 1,416
Join Date: Apr 2013

 
DONATE TO ME
Default [4.4 Kernels] Automatically detect panel command line

I will leave this up for devs to see. This is a 100% accurate method to set the users correct panel without the user having to flash a zip or do anything else

Here is the actual commit. This is much different from savocas script as it doesn't toggle the jdi and lgd command line back and forth every flash but automatically detects the correct panel.

https://github.com/dr87/4.4_g2-commo...cc038b4f8b2dde (commit link updated)
The Following 40 Users Say Thank You to dr87 For This Useful Post: [ Click to Expand ]
 
savoca
Old
#2  
savoca's Avatar
Recognized Developer / Recognized Contributor
Thanks Meter 3330
Posts: 1,266
Join Date: Oct 2011
Location: Cuyahoga Falls

 
DONATE TO ME
Quote:
Originally Posted by dr87 View Post
I will leave this up for about a week for all devs to see. This is a 100% accurate method to set the users correct panel without the user having to flash a zip or do anything else

Here is the actual commit. This is much different from savocas script as it doesn't toggle the jdi and lgd command line back and forth every flash but automatically detects the proper panel.

https://github.com/dr87/4.4_g2-commo...027dc03f701812
my hero
The Following 11 Users Say Thank You to savoca For This Useful Post: [ Click to Expand ]
 
SeVIIn
Old
#3  
SeVIIn's Avatar
Senior Member
Thanks Meter 35
Posts: 108
Join Date: Jul 2011
You two rock! So, glad our devices has such awesome devs, this will undoubtedly come in handy for many people.
 
dr87
Old
#4  
Recognized Developer / Recognized Contributor - OP
Thanks Meter 8185
Posts: 1,416
Join Date: Apr 2013

 
DONATE TO ME
Thread reopened and commit updated in OP

Had to fix an extra spacing in the cmdline and add the locations loki would extract the boot.img

All should be working now
The Following 12 Users Say Thank You to dr87 For This Useful Post: [ Click to Expand ]
 
gorm
Old
#5  
gorm's Avatar
Senior Member
Thanks Meter 106
Posts: 257
Join Date: Jun 2009
Location: Morganton, NC
You guys rock. Soooo thankful for our great Devs.


Sent from my VS980 4G using XDA Premium 4 mobile app
 
dorimanx
Old
#6  
dorimanx's Avatar
Recognized Developer
Thanks Meter 57776
Posts: 8,377
Join Date: Feb 2010
Location: Some Where North!

 
DONATE TO ME
Quote:
Originally Posted by V@no View Post
I've installed TT on flash card 2 weeks ago, since then I've flashed rom several times. Also changed radio several times. Today, while I was inside a concrete building I've started TT from flash card, surprisingly it didn't get upset about anything and started normally (I didn't install it after flashing rom). After about a minute it showed my current location...I was shocked, because before it never could locate GPS device, I had to start gpstest and wait until it get lock, then start TT.
Weird.
NICE!

I will be happy to merge it for people!

Sent from my LG-D802
Phone: ★LG Optimus G2 D802
Wife Phone:
★Samsung Galaxy II


KERNEL: Dorimanx-LG-G2-PWR-CORE-VX.X

>LG G2 KK KERNEL OP<
>LG G2 JB KERNEL OP<
>LG G2 BETA KERNEL STORAGE<

KERNEL: Dorimanx-SGII-PWR-CORE-V10.XX
>SG2 KERNEL OP<
>SG2 BETA THREAD<
>SG2 BETA STORAGE<
>SG2 Q&A THREAD<


>HTC HD2 KERNEL
>HTC HD2 DORIMANX MAG + CLK NAND ROM!

>JOIN FACEBOOK PAGE!

>ABOUT ME!

>CLICK TO DONATE AND SUPPORT

You can Buy me a BEER! if you like my work.

The Following 4 Users Say Thank You to dorimanx For This Useful Post: [ Click to Expand ]
 
iall5tar
Old
#7  
iall5tar's Avatar
Senior Member
Thanks Meter 968
Posts: 755
Join Date: Apr 2011
Location: MadCity
Thanks buddys to make this device Awesome!

Congratz!!

“The Kingdom of God is within man” - not one man nor a group of men, but in all men! In you! You, the people have the power - the power to create machines. The power to create happiness! You, the people, have the power to make this life free and beautiful, to make this life a wonderful adventure.
-The Last Dictator-

The Following User Says Thank You to iall5tar For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes