[4.4 Kernels] Automatically detect panel command line

Search This thread

dr87

Inactive Recognized Developer
Apr 22, 2013
1,470
9,241
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-common/commit/58feacbc7ba19c4aa63612037dcc038b4f8b2dde (commit link updated)
 
Last edited:

savoca

Inactive Recognized Developer
Oct 28, 2011
1,715
5,298
Pasadena
downloads.codefi.re
Google Pixel 7
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-common/commit/1c30e3070587489250d84ea41f027dc03f701812

my hero :crying:
 

SeVIIn

Senior Member
Jul 13, 2011
308
141
You two rock! So, glad our devices has such awesome devs, this will undoubtedly come in handy for many people.
 

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    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-common/commit/58feacbc7ba19c4aa63612037dcc038b4f8b2dde (commit link updated)
    12
    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 :good:
    11
    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-common/commit/1c30e3070587489250d84ea41f027dc03f701812

    my hero :crying:
    4
    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
    1
    Thanks buddys to make this device Awesome!

    Congratz!!