Amlogic .dts editing for LED light - Android Stick & Console AMLogic based Computers

I've got an s905x Amlogic box running SlimBox but the LED light is always on and it's very distracting.
I've extracted the .dts from the original Android 6 .dtb and want to edit SlimBox Android 9 .dts to add proper LED support.
Original Android 6 .dts:
Code:
ledlight {
compatible = "amlogic, ledlight";
dev_name = "ledlight";
status = "okay";
power_gpio_0 = <0x70>;
power_gpio_1 = <0x71>;
power_gpio_g {
led_name = "power_led";
led_gpio = <0x20 0x49 0x0>;
led_active = <0x1>;
led_type = [47 00];
linux,phandle = <0x70>;
phandle = <0x70>;
};
power_gpio_r {
led_name = "power_led";
led_gpio = <0x69 0x6 0x0>;
led_active = <0x1>;
led_type = [52 00];
linux,phandle = <0x71>;
phandle = <0x71>;
};
};
SlimBox Android 9 .dts:
Code:
sysled {
compatible = "amlogic, sysled";
dev_name = "sysled";
status = "okay";
led_gpio = <0x11 0x49 0x0>;
led_active_low = <0x1>;
};
Any ideas?

Hello.
I am also interested in learning how to control the led.
Greetings.

Hello.
I have tried the Khadas Rom from Supurceleron SC_VIM2_USER_NORMAL-v2.0-20210315.img and the definition for the led is the same as in Slimbox android 9. But from the khadas settings you can control the behavior of the LED, always on, always off and flash mode.
So even though the definition in the android 9 .dts is like this, you can somehow control the behavior of the LED, but it's beyond my knowledge.
Greetings.

Related

Compiling a list of hidden dialpad codes!

For those that don't know about it - there are a number of "hidden" codes to enter on your dialpad to call up hidden menus and information about your phone.
For instance, here are some I've seen in other posts and other sites. I don't know if they are carrier specific or not, but these work on my AT&T SG3. I'll add to the OP as I learn about more of them. I'll add screenshots when I can...
*#SELF# (*#7353#) Test menu
*#0*# Test menu style 2
*#0228# BatteryStatus screen
*#0011# Enter Service Mode (use menu and back softkeys to move around)
*#06# Show IMEA Number
*#1111# S/W Version
*#1234# Firmware Version
*#2222# H/W Version
Sent from my A500 using Tapatalk 2
These are Samsung Global Codes
*#1234# = Firmware Version.
*#2222# = H/W Version.
*#8999*8376263# = All Versions Together.
*#8999*8378# = Test Menu.
*#4777*8665# = GPSR Tool.
*#8999*523# = LCD Brightness.
*#8999*377# = Error Menu.
*#8999*327# = EEP Menu.
*#8999*667# = Debug Mode.
*#92782# = PhoneModel. (Wap)
#*5737425# = JAVA Mode.
*#2255# = Call List.
*#232337# = Bluetooth MAC Adress.
*#5282837# = Java Version.
#*4773# = Incremental Redundancy.
#*7752# = 8 PSK uplink capability bit.
#*7785# = Reset wakeup & RTK timer cariables/variables.
#*7200# = Tone Generator Mute.
#*3888# = BLUETOOTH Test mode.
#*7828# = Task screen.
#*#8377466# = S/W Version & H/W Version.
#*2562# = Restarts Phone.
#*2565# = No Blocking? General Defense.
#*3353# = General Defense, Code Erased.
#*3837# = Phone Hangs on White screen.
#*3849# = Restarts Phone.
#*3851# = Restarts Phone.
#*3876# = Restarts Phone.
#*7222# = Operation Typ: (Class C GSM)
#*7224# = !!! ERROR !!!
#*7252# = Operation Typ: (Class B GPRS)
#*7271# = CMD: (Not Available)
#*7274# = CMD: (Not Available)
#*7337# = Restarts Phone. (Resets Wap Settings)
#*2787# = CRTP ON/OFF.
#*2886# = AutoAnswer ON/OFF.
#*3737# = L1 AFC.
#*5133# = L1 HO Data.
#*7288# = GPRS Detached/Attached.
#*7287# = GPRS Attached.
#*7666# = White Screen.
#*7693# = Sleep Deactivate/Activate.
#*7284# = L1 HO Data.
#*2256# = Calibration info? (For CMD set DEBUGAUTONOMY in cihard.opt)
#*2286# = Databattery.
#*2527# = GPRS switching set to (Class 4, 8, 9, 10)
#*2679# = Copycat feature Activa/Deactivate.
#*3940# = External looptest 9600 bps.
#*4263# = Handsfree mode Activate/Deactivate.
#*4700# = Please use function 2637.
#*7352# = BVMC Reg value (LOW_SWTOFF, NOMINAL_SWTOFF)
#*2558# = Time ON.
#*3370# = Same as 4700.
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep.
#*7462# = SIM Phase.
#*7983# = Voltage/Freq.
#*7986# = Voltage.
#*8466# = Old Time.
#*2255# = Call Failed.
#*5187# = L1C2G trace Activate/Deactivate.
#*5376# = DELETE ALL SMS!!!!.
#*6837# = Official Software Version: (0003000016000702)
#*7524# = KCGPRS: (FF FF FF FF FF FF FF FF 07)
#*7562# = LOCI GPRS: (FF FF FF FF FF FF FF FF FF FF FF FE FF 01)
#*2337# = Permanent Registration Beep.
#*2474# = Charging Duration.
#*2834# = Audio Path. (Handsfree)
#*3270# = DCS Support Activate/Deactivate.
#*3282# = Data Activate/Deactivate.
#*3476# = EGSM Activate/Deactivate.
#*3676# = FORMAT FLASH VOLUME!!!
#*4760# = GSM Activate/Deactivate.
#*4864# = White Screen.
#*5171# = L1P1.
#*5172# = L1P2.
#*5173# = L1P3.
#*7326# = Accessory.
#*7683# = Sleep variable.
#*8465# = Time in L1.
#*2252# = Current CAL.
#*2836# = AVDDSS Management Activate/Deactivate.
#*3877# = Dump of SPY trace.
#*7728# = RSAV.
#*2677# = Same as 4700.
#*3728# = Time 2 Decod.
#*3725# = B4 last off.
#*7372# = Resetting the time to DPB variables.
#*7732# = Packet flow context bit Activate/Deactivate.
#*6833# = New uplink establishment Activate/Deactivate.
#*3273# = EGPRS multislot. (Class 4, 8, 9, 10)
#*7722# = RLC bitmap compression Activate/Deactivate.
#*2351# = Blinks 1347E201 in RED.
#*4472# = Hysteresis of serving cell: 3 dB
#*2775# = Switch to 2 inner speaker.
#*9270# = Force WBS.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3757# = DSL UART speed set to. (LOW, HIGH)
#*8726# = Switches USBACM to Normal.
#*8724# = Switches USBACM to Generator mode.
#*8727# = Switches USBACM to Slink mode.
#*8725# = Switches USBACM to Loop-back mode.
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*8370# = Tfs4.0 Test 0.
#*8371# = Tfs4.0 Test 1.
#*8372# = Tfs4.0 Test 2.
#*8373# = Tfs4.0 Test 3.
#*8374# = Tfs4.0 Test 4.
#*8375# = Tfs4.0 Test 5.
#*8376# = Tfs4.0 Test 6.
#*8377# = Tfs4.0 Test 7.
#*8378# = Tfs4.0 Test 8.
#*8379# = Tfs4.0 Test 9.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*22671# = AMR REC START.
#*22672# = Stop AMR REC. (File name: /a/multimedia/sounds/voice list/ENGMODE.amr)
#*22673# = Pause REC.
#*22674# = Resume REC.
#*22675# = AMR Playback.
#*22676# = AMR Stop Play.
#*22677# = Pause Play.
#*22678# = Resume Play.
#*77261# = PCM Rec Req.
#*77262# = Stop PCM Rec.
#*77263# = PCM Playback.
#*77264# = PCM Stop Play.
#*22679# = AMR Get Time.
*#8999*364# = Watchdog ON/OFF.
*#8999*427# = WATCHDOG signal route setup.
*2767*226372# = Camera Reset. (deletes photos)
*2767*3855# = E2P Full Reset.
*2767*2878# = E2P Custom Reset.
*2767*927# = E2P Wap Reset.
*2767*226372# = E2P Camera Reset.
*2767*688# = Reset Mobile TV.
#7263867# = RAM Dump. (On or Off)
Not sure where you pulled those from, but I ran across them on another site and tried them. However, MOST of them don't seem to do anything on the GS3. The ones I posted definitely work, at least on my phone. I'm guessing most of those codes in your list were for the GS2 or earlier. Or maybe the international version of the GS3. I want to post codes that we KNOW work.

About dynamic slider

Solved
Hello,
I used a sample code is reading images from R.java file. I want to change it as display from web. But it has an error. Because i sent parameter is drawable but it must be Integer. How do i it?
Current Code
PHP:
image_prev = (ImageView)findViewById(R.id.image_prev);
image_centre = (ImageView)findViewById(R.id.image_centre);
image_next = (ImageView)findViewById(R.id.image_next);
image_res_ids = new ArrayList<Integer>();
image_res_ids.add(R.drawable.zero);
image_res_ids.add(R.drawable.one);
image_res_ids.add(R.drawable.two);
image_res_ids.add(R.drawable.three);
image_res_ids.add(R.drawable.four);
i want to change with
PHP:
image_prev = (ImageView)findViewById(R.id.image_prev);
image_centre = (ImageView)findViewById(R.id.image_centre);
image_next = (ImageView)findViewById(R.id.image_next);
image_res_ids = new ArrayList<Integer>();
Drawable image = loadImageFromURL("http://dedededede.com/image.png"));
image_res_ids.add(image);
example is here
I'm trying this.
image_res_ids.add(System.identityHashCode(image));
but it doesn't work too.

[Q] What the correct way to read from thumb_image column on messages table (Whatsapp)

Hi all,
I build a software for myself that read from Whatsapp db (that stored on my android device)..
I trying to read from thumb_image column but cannot find the correct way ...
I write this software on c# language... and the code for read its column as follows:
//thumbImage is the value that stored in thumb_image column.
byte[] encodedbytes = System.Text.Encoding.Unicode.GetBytes(thumbImage);
string encoded = System.Convert.ToBase64String(encodedbytes);
byte[] utf8Decoded = System.Text.Encoding.UTF8.GetBytes(encoded);
File.WriteAllBytes("Images\\" + mdeiaName, utf8Decoded);
but it's not working, so i trying to use IronPython as following:
string pythonScript = @"import base64
class DecryptString(object):
def Decrypt(self, str):
return base64.b64encode(str).decode(""utf-8"")";
ScriptEngine engine = Python.CreateEngine();
ScriptSource source = engine.CreateScriptSourceFromString(pythonScript);
ScriptScope scope = engine.CreateScope();
source.Execute(scope);
dynamic DecryptString = scope.GetVariable("DecryptString");
dynamic decryptString = DecryptString();
var result = decryptString.Decrypt(thumbImage);
File.WriteAllText("Images\\" + mdeiaName, result);
but without success...
Can somebody help me?

[ISSUE] Trying to compile kernel but it won't boot.

Okay, let's get the troubleshooting started here. Before any source can even be thought of being released it needs to be properly compiled.
So we're trying that (well, Dees Troy is at the moment) and it compiles.
But it doesn't boot. He's managed to get kernels compiled on other MTK devices that boot, so why does this one not work?
First one with the right answer gets a cupie doll and a million thanks.
Discussion go!
Quick guess: wrong partitioning ?
Sent from my Nexus 5 using Tapatalk
kuronosan said:
Okay, let's get the troubleshooting started here. Before any source can even be thought of being released it needs to be properly compiled.
So we're trying that (well, Dees Troy is at the moment) and it compiles.
But it doesn't boot. He's managed to get kernels compiled on other MTK devices that boot, so why does this one not work?
First one with the right answer gets a cupie doll and a million thanks.
Discussion go!
Click to expand...
Click to collapse
Well i have the same Problem with the released Sources from AlcaTel for the MediaTek 6516. It compiles all fine but when i want boot it on the Watch Phone it fails.
How about if you or somebody else upload here one time the Working Kernel that was shipped by MediaTek and one time the self compiled Kernel so we can do a binary comparison of the Two Builds.
Maybe some Magic Numbers are only missed how knows ?
P.S. Btw i guess you used the same Kernel Configurations like the one used by the Mediatek People? I had some trouble with the Kernel Config file as it exist several Boards for the MTK6516 with different Sensors and Option that needed to be activated deactivated ? Can you ebolorate more on this Point. Maybe post the Kernel Config File here so we can study it. It is full GPL Licensed and has nothing to do with Mediatek itself.
ARAN said:
Well i have the same Problem with the released Sources from AlcaTel for the MediaTek 6516. It compiles all fine but when i want boot it on the Watch Phone it fails.
How about if you or somebody else upload here one time the Working Kernel that was shipped by MediaTek and one time the self compiled Kernel so we can do a binary comparison of the Two Builds.
Maybe some Magic Numbers are only missed how knows ?
P.S. Btw i guess you used the same Kernel Configurations like the one used by the Mediatek People? I had some trouble with the Kernel Config file as it exist several Boards for the MTK6516 with different Sensors and Option that needed to be activated deactivated ? Can you ebolorate more on this Point. Maybe post the Kernel Config File here so we can study it. It is full GPL Licensed and has nothing to do with Mediatek itself.
Click to expand...
Click to collapse
I'll upload one of each.
Try this:
...mediatek/config/mtxxxx/autoconfig/kconfig/platform
Disable:
CONFIG_KPROBES
Compile and test.
If still no go:
Also disable:
CONFIG_KALLSYMS
CONFIG_KALLSYMS_ALL
Compile and test.
How are you repacking the kernel?
There's an specific pack/repack scripts for packing zImage +ramdisk of mtk devices:
http://forum.xda-developers.com/showthread.php?t=1587411
B.regards
superdragonpt said:
Try this:
...mediatek/config/mtxxxx/autoconfig/kconfig/platform
Disable:
CONFIG_KPROBES
Compile and test.
If still no go:
Also disable:
CONFIG_KALLSYMS
CONFIG_KALLSYMS_ALL
Compile and test.
How are you repacking the kernel?
There's an specific pack/repack scripts for packing zImage +ramdisk of mtk devices:
http://forum.xda-developers.com/showthread.php?t=1587411
B.regards
Click to expand...
Click to collapse
edit: Yea forget what I said. I'm dumb for not looking in the right folder.
kuronosan said:
edit: Yea forget what I said. I'm dumb for not looking in the right folder.
Click to expand...
Click to collapse
So I packed and repacked and I still get no boot. There looks to be about a 300kb difference in size between stock kernels and what I end up with.
I don't even get adb.
Original zimage: https://drive.google.com/file/d/0Bxmcjxk_EtPSWnRvbGhraVBoQ2c/edit?usp=sharing
My compiled zimage: https://drive.google.com/file/d/0Bxmcjxk_EtPSV3lYZlpSc0RFT2s/edit?usp=sharing
kuronosan said:
So I packed and repacked and I still get no boot. There looks to be about a 300kb difference in size between stock kernels and what I end up with.
I don't even get adb.
Original zimage: https://drive.google.com/file/d/0Bxmcjxk_EtPSWnRvbGhraVBoQ2c/edit?usp=sharing
My compiled zimage: https://drive.google.com/file/d/0Bxmcjxk_EtPSV3lYZlpSc0RFT2s/edit?usp=sharing
Click to expand...
Click to collapse
Thanks for uploading the Files.
First i am asking how do you come to the Conclusion that the Difference between your Kernel Build and the Original Mediatek Kernel Build is about 300 KB?
When i do compare your Build and the Original Build i see that your Build called "zBuildNew" is over 600KB fat oversized aka bigger than the Original Build.
A Visual Compare with the Linux tool "vbindiff" reveals that the real difference actually is much bigger as it miss nearly everything that exist in the Original Build.
From all the Analysis i get the Impression that you Compiled the Kernel with the wrong Option. Speak you are not using really the Original Kernel Config Options from Mediatek.
The real difference in Size because of this is not 300KB but over >2 Mega Byte as it miss a lot of Information that exist in the Original Build.
You can do itself such a analysis with the Linux Tool vbindiff and you will see itself that a lot of things are missed in your Build!
I asked you last time to Post your Kernel Config file here in the Forum! It can be shared easy without any problems and limitation as it is 100% Full GPL and has nothing to do with MediaTek itself but you did fail on this Point!
ARAN said:
P.S. Btw i guess you used the same Kernel Configurations like the one used by the Mediatek People? Can you ebolorate more on this Point. Maybe post the Kernel Config File here so we can study it. It is full GPL Licensed and has nothing to do with Mediatek itself.
Click to expand...
Click to collapse
This Configuration File is the Most Important File. It is the Kernel Backing Recipe File.
Please post your own Config Kernel File here and also the original Build Kernel Config file.
With this two Files over 90% of the Kernel Compiling Problems can be solved.
Thanks.
Thanks for the response. If you mean the config.gz it doesn't exist. Where else can I find it?
sent from my Galaxy S5 using Tapatalk
kuronosan said:
Thanks for the response. If you mean the config.gz it doesn't exist. Where else can I find it?
sent from my Galaxy S5 using Tapatalk
Click to expand...
Click to collapse
Pull it from your running watch through adb. That's what I did last time I needed one for bdaman80 while he was building a kernel.
kuronosan said:
Thanks for the response. If you mean the config.gz it doesn't exist. Where else can I find it?
sent from my Galaxy S5 using Tapatalk
Click to expand...
Click to collapse
Your Own Kernel Config File can be found in the Directory called "kernel"
It is a hidden file that normally is not showed. You need to activate Hidden Files to be showed.
In the command line the best is if you change to directory with "cd YourPathWhereKernelFilesAre/kernel" and do a "ls -la" this will show also all hidden files including the wanted Kernel Config File ".config"
The Original Config File that MediaTek has used to Compile the Kernel should be shipped in this Directory too and was probably overwritten after the Compilation.
I Myself as a Example have found the Original Config File for the "Z1 Watch Phone" when i accessed the Phone over ADB and looked at all Files including the hidden ones with the Console.
Most of the Times the original Config File can be Found inside Android hidden Directorys. Check all Files and Dirs with the Console over ADB.
Maybe you will have luck like myself.
When you open the Original MediaTek Kernel Config File you will see a lot of specific MediaTEK Options that can be enabled for all
available Boards they Support.
Here a Snipet Example of the Orignal Kernel Config File for the "Z1 Watch Phone" that use the MediaTek for the MT6516 SoC
Code:
# CONFIG_ARCH_MT3351 is not set
CONFIG_ARCH_MT6516=y
#
# MT6516 Board Support Package
#
#
# MT6516 Board Type
#
# CONFIG_MT6516_EVB_BOARD is not set
# CONFIG_MT6516_PHONE_BOARD is not set
# CONFIG_MT6516_GEMINI_BOARD is not set
# CONFIG_MT6516_OPPO_BOARD is not set
CONFIG_MT6516_E1K_BOARD=y
# CONFIG_MT6516_CPU_208MHZ_MCU_104MHZ is not set
CONFIG_MT6516_CPU_416MHZ_MCU_104MHZ=y
# CONFIG_MT6516_CPU_468MHZ_MCU_117MHZ is not set
CONFIG_MAX_DRAM_SIZE_SUPPORT=0x10000000
# CONFIG_CEVA_MT6516 is not set
CONFIG_RESERVED_MEM_SIZE_FOR_PMEM=0x3600000
CONFIG_HAVE_TCM=y
Do you have such Lines in any of your Kernel Configuration Files ?
If not then this will getting really hard to Compile!!!
I would really like to help you but my October DEV Kickstarter Order is since 6 Months not delivered to Switzerland.
If i had my Omate Device i would be the first one to Help you as i am only interessted into the Kernel and the Hardware.
I do not plan to use Andoird on this Device but my own Computer Operating System. So Having a working Open Source Kernel is very Important for me and has a high priority!
ARAN said:
Your Own Kernel Config File can be found in the Directory called "kernel"
It is a hidden file that normally is not showed. You need to activate Hidden Files to be showed.
In the command line the best is if you change to directory with "cd YourPathWhereKernelFilesAre/kernel" and do a "ls -la" this will show also all hidden files including the wanted Kernel Config File ".config"
The Original Config File that MediaTek has used to Compile the Kernel should be shipped in this Directory too and was probably overwritten after the Compilation.
I Myself as a Example have found the Original Config File for the "Z1 Watch Phone" when i accessed the Phone over ADB and looked at all Files including the hidden ones with the Console.
Most of the Times the original Config File can be Found inside Android hidden Directorys. Check all Files and Dirs with the Console over ADB.
Maybe you will have luck like myself.
When you open the Original MediaTek Kernel Config File you will see a lot of specific MediaTEK Options that can be enabled for all
available Boards they Support.
Here a Snipet Example of the Orignal Kernel Config File for the "Z1 Watch Phone" that use the MediaTek for the MT6516 SoC
Code:
# CONFIG_ARCH_MT3351 is not set
CONFIG_ARCH_MT6516=y
#
# MT6516 Board Support Package
#
#
# MT6516 Board Type
#
# CONFIG_MT6516_EVB_BOARD is not set
# CONFIG_MT6516_PHONE_BOARD is not set
# CONFIG_MT6516_GEMINI_BOARD is not set
# CONFIG_MT6516_OPPO_BOARD is not set
CONFIG_MT6516_E1K_BOARD=y
# CONFIG_MT6516_CPU_208MHZ_MCU_104MHZ is not set
CONFIG_MT6516_CPU_416MHZ_MCU_104MHZ=y
# CONFIG_MT6516_CPU_468MHZ_MCU_117MHZ is not set
CONFIG_MAX_DRAM_SIZE_SUPPORT=0x10000000
# CONFIG_CEVA_MT6516 is not set
CONFIG_RESERVED_MEM_SIZE_FOR_PMEM=0x3600000
CONFIG_HAVE_TCM=y
Do you have such Lines in any of your Kernel Configuration Files ?
If not then this will getting really hard to Compile!!!
I would really like to help you but my October DEV Kickstarter Order is since 6 Months not delivered to Switzerland.
If i had my Omate Device i would be the first one to Help you as i am only interessted into the Kernel and the Hardware.
I do not plan to use Andoird on this Device but my own Computer Operating System. So Having a working Open Source Kernel is very Important for me and has a high priority!
Click to expand...
Click to collapse
I found two of such files; one was my compiled .config and the other was for the 2.x kernel in the external directory. I should have thought about searching through this before I tried to compile. I'm guessing hidden files don't get pushed unless you specifically push them?
kuronosan said:
I found two of such files; one was my compiled .config and the other was for the 2.x kernel in the external directory. I should have thought about searching through this before I tried to compile. I'm guessing hidden files don't get pushed unless you specifically push them?
Click to expand...
Click to collapse
I don't understand what you mean with "don't get pushed"
Are you referring to git push?
Hidden Files are similar to normal Files they only are not showed in a File Browser or in the Console as long as you don't explicit want them to show up.
Most of the Time they do the Magic in Linux and are because of this Hidden to be able to prevent Corruption and Damage from the User.
If you are fetching or uploading File Code Sources with GIT then Hidden files are handled also like other files included in the repo.
Hidden files are no Problem for git and are showed always when you checkout a GIT Repo with a Browser in GitHub as a example.
ARAN said:
I don't understand what you mean with "don't get pushed"
Are you referring to git push?
Hidden Files are similar to normal Files they only are not showed in a File Browser or in the Console as long as you don't explicit want them to show up.
Most of the Time they do the Magic in Linux and are because of this Hidden to be able to prevent Corruption and Damage from the User.
If you are fetching or uploading File Code Sources with GIT then Hidden files are handled also like other files included in the repo.
Hidden files are no Problem for git and are showed always when you checkout a GIT Repo with a Browser in GitHub as a example.
Click to expand...
Click to collapse
Yes. I'll double check the source files we were given but I didn't see the config in my tree. I did see it in others, so I might have messed up (I compiled before I pushed).
sent from my Galaxy S5 using Tapatalk
Is this what you're looking for?
https://github.com/kuronosan/mt6572...nfig/ipro72_we_jb3/autoconfig/kconfig/project
kuronosan said:
Is this what you're looking for?
https://github.com/kuronosan/mt6572...nfig/ipro72_we_jb3/autoconfig/kconfig/project
Click to expand...
Click to collapse
Hi Kuronosan!
Thank you a lot for the sharing of this Link!
It looks like that it goes in the right direcrion but it is only a small Part of the Kernel Configuration File.
Normally the full Kernel Config file has about 1000 to 2000 Lines with Option to Turn On or Off.
I downloaded however now the first released and build Firmware from MediaTek for the Omate Truesmart Watchphone
called "Omate_Developer_Truesmart_20131028" from 28 Oktober 2013
I could sucessfull extract the System Image and get very Important Files from this Image which helps as a lot to ReBuild the Kernel and Android.
Here is as a Example the very Important Original Build.Prop File that was used to Build all the Code for the Omate Truesmart
Very Important: I need somebody who can flash this Developer Firmware on his Omate and Pull all Files including the hiddens ones and publish them. Another Possibility is to extract all the Images from this Developer Firmware and publish that way the Files for Download.
Maybe LokFish Marz can do it or somebody else ? Thanks !
Downloading at the moment the Kernel Sources to Study them and try to rebuild the Kernel myself till end of the next Week.
Awaiting all Files from the Developer Firmware to be Published.
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JDQ39
ro.build.display.id=ALPS.JB3.MP.V1.8
ro.build.version.incremental=eng.user.20131028.164738
ro.custom.build.version=20131028.164738
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=Mon Oct 28 16:50:25 CST 2013
ro.build.date.utc=1382950225
ro.build.type=user
ro.build.user=user
ro.build.host=user-desktop
ro.build.tags=test-keys
ro.product.model=OMATE
ro.product.brand=OMATE
ro.product.name=x201
ro.product.device=x201
ro.product.board=x201
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=alps
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=
# ro.build.product is obsolete; use ro.product.device
ro.build.product=x201
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=x201-user 4.2.2 JDQ39 eng.user.20131028.164738 test-keys
ro.build.fingerprint=OMATE/x201/x201:4.2.2/JDQ39/20131028.164738:user/test-keys
ro.build.flavor=
ro.build.characteristics=default
persist.sys.timezone=Africa/Harare
# end build properties
# begin mediatek build properties
ro.mediatek.version.release=ALPS.JB3.MP.V1.8
ro.mediatek.platform=MT6572
ro.mediatek.chip_ver=S01
ro.mediatek.version.branch=ALPS.JB3.MP
ro.mediatek.version.sdk=1
# end mediatek build properties
#
# system.prop for generic sdk
#
rild.libpath=/system/lib/mtk-ril.so
rild.libargs=-d /dev/ttyC0
# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }
# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}
# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}
#
wifi.tethering.interface=ap0
#
ro.opengles.version=131072
wifi.direct.interface=p2p0
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=128m
# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0
# Power off opt in IPO
sys.ipo.pwrdncap=2
ro.sys.usb.storage.type=mtp,mass_storage
# USB BICR function
ro.sys.usb.bicr=yes
# USB Charge only function
ro.sys.usb.charging.only=yes
# audio
ro.camera.sound.forced=0
ro.audio.silent=0
ro.zygote.preload.enable=0
# temporary enables NAV bar (soft keys)
qemu.hw.mainkeys=0
ro.kernel.zio=38,108,105,16
#
# ADDITIONAL_BUILD_PROPERTIES
#
persist.gemini.sim_num=2
ro.gemini.smart_sim_switch=false
ro.gemini.smart_3g_switch=0
ril.specific.sm_cause=0
bgw.current3gband=0
ril.external.md=0
ro.sf.hwrotation=0
ril.current.share_modem=2
curlockscreen=1
ro.mediatek.gemini_support=true
ro.operator.hwlcm=s6d04d2x01
ro.operator.hwtp=ft5206/msg2133
ro.operator.hwmaincamera=ov3660_yuv
ro.operator.hwgsensor=bma222
ro.operator.hwmsensor=mmc3416x
persist.radio.fd.counter=15
persist.radio.fd.off.counter=5
persist.radio.fd.r8.counter=15
persist.radio.fd.off.r8.counter=5
persist.mtk.wcn.combo.chipid=-1
drm.service.enabled=true
fmradio.driver.enable=0
ril.first.md=1
ril.flightmode.poweroffMD=1
ril.telephony.mode=3
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
mediatek.wlan.chip=mediatek.wlan.module.postfix=_
ril.radiooff.poweroffMD=0
ro.config.notification_sound=Proxima.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.ringtone=Backroad.ogg
custom.hw.version=HW2.0
customize.product.name=Omate3
customize.product.cust=umeox
customize.product.version=M1.0
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
# begin adupsfota properties
ro.adups.fota.oem=umeox72
ro.adups.fota.device=OMATE
ro.adups.fota.version=ALPS.JB3.MP.V1.8
# begin adupsfota properties
LOL. Every firmware in my archive is a test build, Mediatek has not released anything but test builds for every one of the x201 models and board revisions.
I'm not sure where you are going with this build.prop thing. And if you are looking for a /proc/config.gz in the firmware, it's not there, along with media_profiles.xml and a number of other typically expected files. power_profiles.xml is wrong on every MTK firmware I've ever seen, across multiple devices/SOCs, supported clock rates is wrong, I'm pretty sure I never even found a proper voltage table.
And as far as his git, it took multiple people, days to get the files in the right place. It looked like MTK pretty much put source in a blender and gave us the results.
I Downloaded the Sources now and tryed a test run Kernel Compile on my newest Ubuntu Linux Machine.
The Point is that the Sources that were delivered are depending on a 4 Year Old Distro Linux from the Year 2010
I had already to Fix this https://github.com/kuronosan/mt6572_x201/blob/master/mediatek/build/tools/checkEnv.py#L429 File several Times because it fails to Build the Kernel as it use the "GCC --v" option that does not exist any more.
Its pity that the Sources are that outdated or at least require already a 4 Year Old Linux Distro to be build.
The Build.Prop File provide several interesting Information like Drivers, Manufacturer and Compiler Information.
Code:
ro.product.model=OMATE
ro.product.brand=OMATE
ro.product.name=x201
ro.product.device=x201
ro.product.board=x201
[B][U]ro.product.cpu.abi=armeabi-v7a[/U][/B]
ro.product.cpu.abi2=armeabi
[B][U]ro.product.manufacturer=alps[/U][/B]
ro.build.product=x201
[B][U]ro.mediatek.platform=MT6572[/U][/B]
ro.mediatek.chip_ver=S01
[B][U]rild.libpath=/system/lib/mtk-ril.so[/U][/B]
[B][U]ro.operator.hwmaincamera=ov3660_yuv
[/U][/B]
[B][U]ro.operator.hwgsensor=bma222[/U][/B]
[B][U]ro.operator.hwmsensor=mmc3416x[/U][/B]
I have made a Google Search for the Manufacturer ALPS together with the keyword MediaTek "ALPS MediaTek" as a example and found 83 Page Step by Step Official guide Document how to Compile the MediaTek Sources that were Delivered. Its additional Information that are helpful especially in such Situation like yours.
Beside this there is also the very Important File ProjectConfig.mk File that i Could extract from the Developer Firmware that has all the Options that were probably used to Compile the Kernel.
Code:
# = CUSTOM_HAL_MAIN_LENS +CUSTOM_HAL_MAIN_BACKUP_LENS + CUSTOM_HAL_SUB_LENS + CUSTOM_HAL_SUB_BACKUP_LENS
#CUSTOM_HAL_AUDIOFLINGER = audio
#CUSTOM_HAL_IMGSENSOR = imx073_mipi_raw ov3640_yuv_af siv120b_yuv
#CUSTOM_HAL_MAIN_BACKUP_IMGSENSOR =
#CUSTOM_HAL_MAIN_BACKUP_LENS =
#CUSTOM_HAL_MAIN_IMGSENSOR = imx073_mipi_raw
#CUSTOM_HAL_MAIN_LENS = fm50af
#CUSTOM_HAL_MATV =
#CUSTOM_HAL_SUB_BACKUP_IMGSENSOR =
#CUSTOM_HAL_SUB_BACKUP_LENS =
#CUSTOM_HAL_SUB_IMGSENSOR = hi704_yuv
#CUSTOM_KERNEL_ACCELEROMETER =
#CUSTOM_KERNEL_ALSPS =
#CUSTOM_KERNEL_BATTERY = battery
#CUSTOM_KERNEL_IMGSENSOR = imx073_mipi_raw ov3640_yuv_af siv120b_yuv
#CUSTOM_KERNEL_JOGBALL =
#CUSTOM_KERNEL_LCM = nt35582_mcu_6575
#CUSTOM_KERNEL_MAGNETOMETER =
#CUSTOM_KERNEL_MAIN_BACKUP_IMGSENSOR =
#CUSTOM_KERNEL_MAIN_BACKUP_LENS =
#CUSTOM_KERNEL_MAIN_IMGSENSOR = imx073_mipi_raw
#CUSTOM_KERNEL_MAIN_LENS = fm50af
#CUSTOM_KERNEL_MATV =
#CUSTOM_KERNEL_OFN =
#CUSTOM_KERNEL_SUB_BACKUP_IMGSENSOR =
#CUSTOM_KERNEL_SUB_BACKUP_LENS =
#CUSTOM_KERNEL_SUB_IMGSENSOR = hi704_yuv
#CUSTOM_KERNEL_TOUCHPANEL = generic
#CUSTOM_KERNEL_WIFI =
#CUSTOM_MODEM = ipro72_we_jb3_hspa
ADUPS_FOTA_SUPPORT = yes
ADUPS_FOTA_WITH_ICON = no
ALWAYSON_DFOSET = no
ALWAYSON_DFOSET_VALUE = MTK_CTA_SUPPORT
AUTO_ADD_GLOBAL_DEFINE_BY_NAME = MTK_ACMT_DEBUG MTK_BT_PROFILE_AVRCP MTK_NVRAM_SECURITY MTK_MMPROFILE_SUPPORT MTK_GPS_SUPPORT MTK_MULTIBRIDGE_SUPPORT MTK_GEMINI_4SIM_SUPPORT EVDO_DT_SUPPORT MTK_YMAL_SCATTER_FILE_SUPPORT MTK_FM_SUPPORT MTK_USES_HD_VIDEO MTK_TABLET_PLATFORM MTK_DUAL_MIC_SUPPORT MTK_AUTO_DETECT_MAGNETOMETER MTK_AUDIO_ADPCM_SUPPORT MTK_GEMINI_SMART_3G_SWITCH CUSTOM_KERNEL_OFN MTK_BT_PROFILE_MANAGER MTK_ION_SUPPORT MTK_TVOUT_SUPPORT MTK_FM_RECORDING_SUPPORT MTK_DEDICATEDAPN_SUPPORT MTK_DDR3_SUPPORT MTK_LCA_SUPPORT MTK_AUD_LOCK_MD_SLEEP_SUPPORT MTK_IPV6_SUPPORT MTK_MT6572V1_PHONE_POWER_REWORK MTK_DT_SUPPORT MTK_STEREO3D_WALLPAPER_APP MTK_MATV_SERIAL_IF_SUPPORT MTK_BT_FM_OVER_BT_VIA_CONTROLLER MTK_BT_PROFILE_PBAP MTK_FAT_ON_NAND MTK_BT_PROFILE_A2DP MTK_CAMCORDER_PROFILE_MID_MP4 MTK_BT_PROFILE_HFP MTK_BT_PROFILE_AVRCP14 MTK_VOICE_UI_SUPPORT MTK_MASS_STORAGE MTK_BICR_SUPPORT MTK_BT_PROFILE_BIP MTK_BT_PROFILE_BPP MTK_CTPPPOE_SUPPORT MTK_COMBO_QUICK_SLEEP_SUPPORT MTK_THEMEMANAGER_APP MTK_HDR_SUPPORT MTK_TMP103_SUPPORT MTK_BQ24158_SUPPORT MTK_DSPIRDBG MTK_TABLET_DRAM MTK_MT8193_SUPPORT MTK_MERGE_INTERFACE_SUPPORT HAVE_AACENCODE_FEATURE MTK_BT_PROFILE_MAPS MTK_FM_50KHZ_SUPPORT MTK_WIFI_HOTSPOT_SUPPORT MTK_TB_DEBUG_SUPPORT MTK_COMBO_SUPPORT MTK_BT_PROFILE_OPP MTK_2SDCARD_SWAP MTK_FLIGHT_MODE_POWER_OFF_MD MTK_RADIOOFF_POWER_OFF_MD MTK_BT_PROFILE_MAPC MTK_SHARED_SDCARD MTK_EMMC_DISCARD MTK_2IN1_SPK_SUPPORT MTK_MDM_LAWMO MTK_EAP_SIM_AKA MTK_MULTI_STORAGE_SUPPORT MTK_CACHE_MERGE_SUPPORT MTK_MT8193_HDCP_SUPPORT MTK_ENABLE_VIDEO_EDITOR MTK_WFD_SUPPORT MTK_AUDIO_RAW_SUPPORT MTK_WAPI_SUPPORT MTK_FD_SUPPORT MTK_DISPLAY_HIGH_RESOLUTION HAVE_ADPCMENCODE_FEATURE NAND_OTP_SUPPORT MODEM_UMTS_TDD128_MODE MTK_FACEBEAUTY_SUPPORT MTK_AAL_SUPPORT EVDO_DT_VIA_SUPPORT MTK_BT_SUPPORT MTK_YAML_SCATTER_FILE_SUPPORT MTK_BT_40_SUPPORT MTK_BT_PROFILE_FTP MTK_ASF_PLAYBACK_SUPPORT MTK_CAMERA_BSP_SUPPORT MTK_MT8193_HDMI_SUPPORT MTK_HIGH_QUALITY_THUMBNAIL MTK_IPV6_TETHER_NDP_MODE MTK_FM_RX_SUPPORT MTK_IMAGE_LARGE_MEM_LIMIT MTK_FM_TX_SUPPORT MTK_MDM_FUMO MTK_BRAZIL_CUSTOMIZATION_VIVO MTK_BRAZIL_CUSTOMIZATION_CLARO MTK_ENABLE_MD2 MTK_ENABLE_MD1 HAVE_XLOG_FEATURE MTK_LCA_RAM_OPTIMIZE MTK_RMVB_PLAYBACK_SUPPORT MTK_BT_PROFILE_SIMAP MTK_BT_PROFILE_TIMES MTK_NATIVE_3D_SUPPORT MTK_MEM_PRESERVED_MODE_ENABLE MTK_AUTORAMA_SUPPORT MTK_BT_PROFILE_TIMEC MTK_VOICE_UNLOCK_SUPPORT MTK_UMTS_TDD128_MODE MTK_TETHERING_EEM_SUPPORT MTK_MATV_ANALOG_SUPPORT MTK_BSP_PACKAGE MTK_SIM_AUTHENTICATION_SUPPORT MTK_BRAZIL_CUSTOMIZATION CUSTOM_KERNEL_ACCELEROMETER MTK_LCA_ROM_OPTIMIZE MTK_VT3G324M_SUPPORT MTK_KERNEL_POWER_OFF_CHARGING MTK_NFC_SUPPORT MTK_NAND_UBIFS_SUPPORT CUSTOM_KERNEL_GYROSCOPE MTK_MDM_SCOMO MTK_SIM_HOT_SWAP_COMMON_SLOT CUSTOM_KERNEL_MAGNETOMETER MTK_EMULATOR_SUPPORT MTK_BT_PROFILE_HIDH MTK_AUTOIP_SUPPORT MTK_BT_PROFILE_PAN MTK_PRODUCT_INFO_SUPPORT MTK_CAMERA_APP_3DHW_SUPPORT MTK_WLAN_SUPPORT MTK_PQ_SUPPORT MTK_TETHERINGIPV6_SUPPORT MTK_UART_USB_SWITCH MTK_IPOH_SUPPORT MTK_AUTO_DETECT_ACCELEROMETER HAVE_CMMB_FEATURE MTK_USES_VR_DYNAMIC_QUALITY_MECHANISM MTK_EMMC_SUPPORT_OTP MTK_TB_APP_CALL_FORCE_SPEAKER_ON MTK_COMBO_CORE_DUMP_SUPPORT MTK_TB_HW_DEBUG MTK_PLATFORM_OPTIMIZE MTK_MULTISIM_RINGTONE_SUPPORT TELEPHONY_DFOSET MTK_BIP_SCWS MTK_BEAM_PLUS_SUPPORT MTK_QVGA_LANDSCAPE_SUPPORT MTK_FM_SHORT_ANTENNA_SUPPORT MTK_HDMI_SUPPORT MTK_GEMINI_3SIM_SUPPORT MTK_RILD_READ_IMSI MTK_BT_PROFILE_SPP MTK_BT_30_SUPPORT MTK_FAN5405_SUPPORT MTK_MT8193_NFI_SUPPORT MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION MTK_HW_ENHANCE MTK_NCP1851_SUPPORT MTK_LCEEFT_SUPPORT MTK_BT_PROFILE_DUN MTK_DHCPV6C_WIFI MTK_BT_PROFILE_PRXM MTK_FSCK_MSDOS_MTK MTK_MAV_SUPPORT MTK_IPV6_TETHER_PD_MODE HAVE_AWBENCODE_FEATURE MTK_BQ24196_SUPPORT MTK_WEB_NOTIFICATION_SUPPORT MTK_MD_SHUT_DOWN_NT MTK_SPH_EHN_CTRL_SUPPORT MTK_WB_SPEECH_SUPPORT CUSTOM_KERNEL_ALSPS MTK_VIBSPK_SUPPORT MTK_BT_PROFILE_PRXR ENCRY_PARTITION_SUPPORT MTK_BQ27541_SUPPORT MTK_SD_REINIT_SUPPORT MTK_SENSOR_SUPPORT MTK_M4U_SUPPORT MTK_EMMC_SUPPORT MTK_BT_21_SUPPORT MTK_S3D_SUPPORT MTK_WLANBT_SINGLEANT SUPPORT_SDCARD2
AUTO_ADD_GLOBAL_DEFINE_BY_NAME_VALUE = MTK_SIM1_SOCKET_TYPE MTK_TOUCH_PHYSICAL_ROTATION_RELATIVE_TO_LCM MTK_LCM_PHYSICAL_ROTATION LCM_HEIGHT EMMC_CHIP CUSTOM_KERNEL_SSW MTK_SINGLE_3DSHOT_SUPPORT MTK_EXTERNAL_MODEM_SLOT MTK_SHARE_MODEM_SUPPORT MTK_NEON_SUPPORT MTK_SHARE_MODEM_CURRENT CUSTOM_KERNEL_MAIN2_IMGSENSOR LCM_WIDTH MTK_SIM2_SOCKET_TYPE
AUTO_ADD_GLOBAL_DEFINE_BY_VALUE = MTK_PLATFORM CUSTOM_KERNEL_LENS CUSTOM_KERNEL_MAIN_BACKUP_LENS BOOT_LOGO CUSTOM_KERNEL_LCM MTK_MODEM_SUPPORT MTK_ATV_CHIP CUSTOM_KERNEL_MAIN_IMGSENSOR MTK_BT_CHIP MTK_WLAN_CHIP CUSTOM_KERNEL_SUB_BACKUP_IMGSENSOR CUSTOM_KERNEL_MAIN2_BACKUP_IMGSENSOR MTK_IME_INPUT_ENGINE CUSTOM_KERNEL_MAIN_BACKUP_IMGSENSOR CUSTOM_KERNEL_FLASHLIGHT CUSTOM_KERNEL_SUB_IMGSENSOR CUSTOM_KERNEL_SUB_LENS MTK_AUDIO_BLOUD_CUSTOMPARAMETER_REV CUSTOM_KERNEL_IMGSENSOR MTK_FM_RX_AUDIO MTK_COMBO_CHIP MTK_GPS_CHIP CUSTOM_KERNEL_SUB_BACKUP_LENS CUSTOM_KERNEL_MAIN_LENS MTK_FM_TX_AUDIO MTK_FM_CHIP CUSTOM_KERNEL_MAIN2_IMGSENSOR MTK_IME_HANDWRITING_ENGINE
BOOT_LOGO = qvga
BUILD_CTS = no
BUILD_KERNEL = yes
BUILD_LK = yes
BUILD_MTK_SDK =
BUILD_PRELOADER = yes
BUILD_UBOOT = no
CUSTOM_BUILD_VERNO =
CUSTOM_HAL_ANT = mt6582_ant_m1
CUSTOM_HAL_AUDIOFLINGER = audio
CUSTOM_HAL_BLUETOOTH = bluetooth
CUSTOM_HAL_CAMERA = camera
CUSTOM_HAL_CAM_CAL = dummy_eeprom
CUSTOM_HAL_COMBO = mt6572_82
CUSTOM_HAL_EEPROM = dummy_eeprom
CUSTOM_HAL_FLASHLIGHT = dummy_flashlight
CUSTOM_HAL_IMGSENSOR = ov3660_yuv #s5k5cagx_yuv #s5k4ecgx_mipi_yuv s5k8aayx_yuv
CUSTOM_HAL_LENS = dummy_lens #sensordrive dummy_lens
CUSTOM_HAL_MAIN2_IMGSENSOR =
CUSTOM_HAL_MAIN_BACKUP_IMGSENSOR =
CUSTOM_HAL_MAIN_BACKUP_LENS =
CUSTOM_HAL_MAIN_IMGSENSOR = ov3660_yuv #s5k5cagx_yuv #s5k4ecgx_mipi_yuv
CUSTOM_HAL_MAIN_LENS = dummy_lens #sensordrive
CUSTOM_HAL_MATV = #matv
CUSTOM_HAL_MSENSORLIB = mmc328x akm8975 ami304 yamaha530 mag3110 akmd8963 bmm050 bmm056 mc6420 mmc3416x s62xd lsm303md hscdtd006
CUSTOM_HAL_SENSORS = sensor
CUSTOM_HAL_SUB_BACKUP_IMGSENSOR =
CUSTOM_HAL_SUB_BACKUP_LENS =
CUSTOM_HAL_SUB_IMGSENSOR = #s5k8aayx_yuv
CUSTOM_HAL_SUB_LENS = #dummy_lens
CUSTOM_KERNEL_ACCELEROMETER = bma222 #bma056 #bma050 #KXTJ2_1009
CUSTOM_KERNEL_ALSPS = #cm36283
CUSTOM_KERNEL_BATTERY = battery
CUSTOM_KERNEL_CAMERA = camera
CUSTOM_KERNEL_CAM_CAL = dummy_eeprom
CUSTOM_KERNEL_CORE = src
CUSTOM_KERNEL_DCT = dct
CUSTOM_KERNEL_EEPROM = dummy_eeprom
CUSTOM_KERNEL_FLASHLIGHT = dummy_flashlight
CUSTOM_KERNEL_GYROSCOPE = #mpu6050c#mpu3050c
CUSTOM_KERNEL_HDMI =
CUSTOM_KERNEL_HEADSET = accdet
CUSTOM_KERNEL_IMGSENSOR = ov3660_yuv #s5k5cagx_yuv #s5k4ecgx_mipi_yuv s5k8aayx_yuv
CUSTOM_KERNEL_KPD = kpd
CUSTOM_KERNEL_LCM = s6d04d2x01 #nt35510_fwvga
CUSTOM_KERNEL_LEDS = mt65xx
CUSTOM_KERNEL_LENS = dummy_lens #sensordrive dummy_lens
CUSTOM_KERNEL_MAGNETOMETER = mmc3416x #bmm056 #bmm050 #akm8963
CUSTOM_KERNEL_MAIN2_BACKUP_IMGSENSOR =
CUSTOM_KERNEL_MAIN2_IMGSENSOR =
CUSTOM_KERNEL_MAIN_BACKUP_IMGSENSOR =
CUSTOM_KERNEL_MAIN_BACKUP_LENS =
CUSTOM_KERNEL_MAIN_IMGSENSOR = ov3660_yuv #s5k5cagx_yuv #s5k4ecgx_mipi_yuv
CUSTOM_KERNEL_MAIN_LENS = dummy_lens #sensordrive
CUSTOM_KERNEL_MATV = #mt5193
CUSTOM_KERNEL_RTC = rtc
CUSTOM_KERNEL_SOUND = amp_6323pmic_spk
CUSTOM_KERNEL_SSW = ssw_single
CUSTOM_KERNEL_SUB_BACKUP_IMGSENSOR =
CUSTOM_KERNEL_SUB_BACKUP_LENS =
CUSTOM_KERNEL_SUB_IMGSENSOR = #s5k8aayx_yuv
CUSTOM_KERNEL_SUB_LENS = #dummy_lens
CUSTOM_KERNEL_TOUCHPANEL = ft5206 msg2133 #GT9XX #ft5206
CUSTOM_KERNEL_USB = mt6577
CUSTOM_KERNEL_VIBRATOR = vibrator
CUSTOM_LK_LCM = s6d04d2x01 #nt35510_fwvga
CUSTOM_MODEM = ipro72_we_jb3_hspa_b15
CUSTOM_PRELOADER_CUSTOM = custom
CUSTOM_SEC_AUTH_SUPPORT = no
CUSTOM_SEC_SIGNTOOL_SUPPORT = no
CUSTOM_UBOOT_LCM = s6d04d2x01 #nt35510_fwvga
DEFAULT_INPUT_METHOD = com.touchtype.swiftkey.micro/com.touchtype.KeyboardService
DEFAULT_LATIN_IME_LANGUAGES = en-US fr ru
DFO_MISC = MTK_ENABLE_MD1 MTK_ENABLE_MD2 MD1_SIZE MD2_SIZE MD1_SMEM_SIZE MD2_SMEM_SIZE MTK_MD1_SUPPORT MTK_MD2_SUPPORT
DFO_NVRAM_SET = TELEPHONY_DFOSET ALWAYSON_DFOSET OP01_CTS_COMPATIBLE_DFOSET
DISABLE_EARPIECE = no
DMNR_TUNNING_AT_MODEMSIDE = yes
ENCRY_PARTITION_SUPPORT = no
EVB = no
EVDO_DT_SUPPORT = no
EVDO_DT_VIA_SUPPORT = no
FEATURE_FTM_AUDIO_TEST = yes
GEMINI = yes
GOOGLE_RELEASE_RIL = no
HAVE_AACENCODE_FEATURE = yes
HAVE_ADPCMENCODE_FEATURE = yes
HAVE_AEE_FEATURE = yes
HAVE_APPC_FEATURE = no
HAVE_AWBENCODE_FEATURE = no
HAVE_CMMB_FEATURE = no
HAVE_GROUP_SCHEDULING = no
HAVE_MATV_FEATURE = no #yes
HAVE_MTKLOUDNESS_EFFECT = yes
HAVE_SRSAUDIOEFFECT_FEATURE = no
HAVE_VORBISENC_FEATURE = yes
HAVE_XLOG_FEATURE = yes
KBUILD_OUTPUT_SUPPORT = yes
LCM_HEIGHT = 240
LCM_WIDTH = 240
MD1_SIZE = ref:chkMDSize.pl md1
MD1_SMEM_SIZE = 0x00200000
MD2_SIZE = ref:chkMDSize.pl md2
MD2_SMEM_SIZE = 0x00200000
MTK_2IN1_SPK_SUPPORT = no
MTK_2SDCARD_SWAP = no
MTK_AAL_SUPPORT = no
MTK_ACMT_DEBUG = no
MTK_ACWFDIALOG_APP = no
MTK_AGPS_APP = yes
MTK_ANDROIDFACTORYMODE_APP = yes
MTK_API_CHECK = yes
MTK_APKINSTALLER_APP = yes
MTK_APPGUIDE_APP = no
MTK_AP_SPEECH_ENHANCEMENT = no
MTK_ASD_SUPPORT = yes
MTK_ASF_PLAYBACK_SUPPORT = no
MTK_ATV_CHIP = #MTK_MT5193
MTK_AUDENH_SUPPORT = no
MTK_AUDIOPROFILE_SELECT_MMS_RINGTONE_SUPPORT = no
MTK_AUDIO_ADPCM_SUPPORT = yes
MTK_AUDIO_APE_SUPPORT = yes
MTK_AUDIO_BLOUD_CUSTOMPARAMETER_REV = MTK_AUDIO_BLOUD_CUSTOMPARAMETER_V4
MTK_AUDIO_HD_REC_SUPPORT = yes
MTK_AUDIO_PROFILES = yes
MTK_AUDIO_RAW_SUPPORT = yes
MTK_AUD_LOCK_MD_SLEEP_SUPPORT = no
MTK_AUTOIP_SUPPORT = no
MTK_AUTORAMA_SUPPORT = no
MTK_AUTO_DETECT_ACCELEROMETER = no
MTK_AUTO_DETECT_MAGNETOMETER = no
MTK_AVI_PLAYBACK_SUPPORT = yes
MTK_BACKUPANDRESTORE_APP = no
MTK_BAIDU_LOCATION_SUPPORT = no
MTK_BAIDU_MAP_SUPPORT = no
MTK_BAIDU_SEARCH_BAR_SUPPORT = no
MTK_BEAM_PLUS_SUPPORT = no
MTK_BENCHMARK_BOOST_TP = no
MTK_BICR_SUPPORT = yes
MTK_BIP_SCWS = no
MTK_BQ24158_SUPPORT = no
MTK_BQ27541_SUPPORT = no
MTK_BRANCH = MAIN2.1
MTK_BRAZIL_CUSTOMIZATION = no
MTK_BRAZIL_CUSTOMIZATION_CLARO = no
MTK_BRAZIL_CUSTOMIZATION_TIM = no
MTK_BRAZIL_CUSTOMIZATION_VIVO = no
MTK_BSP_PACKAGE = no
MTK_BT_21_SUPPORT = yes
MTK_BT_30_HS_SUPPORT = no
MTK_BT_30_SUPPORT = yes
MTK_BT_40_LE_STANDALONE = no
MTK_BT_40_SUPPORT = no
MTK_BT_CHIP = MTK_CONSYS_MT6572
MTK_BT_FM_OVER_BT_VIA_CONTROLLER = no
MTK_BT_POWER_EFFICIENCY_ENHANCEMENT = yes
MTK_BT_PROFILE_A2DP = yes
MTK_BT_PROFILE_AVRCP = yes
MTK_BT_PROFILE_AVRCP13 = no
MTK_BT_PROFILE_AVRCP14 = no
MTK_BT_PROFILE_BIP = no
MTK_BT_PROFILE_BPP = no
MTK_BT_PROFILE_DUN = no
MTK_BT_PROFILE_FTP = no
MTK_BT_PROFILE_HFP = yes
MTK_BT_PROFILE_HIDH = yes
MTK_BT_PROFILE_MANAGER = yes
MTK_BT_PROFILE_MAPC = no
MTK_BT_PROFILE_MAPS = no
MTK_BT_PROFILE_OPP = yes
MTK_BT_PROFILE_PAN = yes
MTK_BT_PROFILE_PBAP = yes
MTK_BT_PROFILE_PRXM = no
MTK_BT_PROFILE_PRXR = no
MTK_BT_PROFILE_SIMAP = no
MTK_BT_PROFILE_SPP = yes
MTK_BT_PROFILE_TIMEC = no
MTK_BT_PROFILE_TIMES = no
MTK_BT_SUPPORT = yes
MTK_BUILD_VERNO = ALPS.JB3.MP.V1.8
MTK_BWC_SUPPORT = yes
MTK_CACHE_MERGE_SUPPORT = no
MTK_CALENDAR_IMPORTER_APP = yes
MTK_CAMCORDER_PROFILE_MID_MP4 = no
MTK_CAMERA_APP = no
MTK_CAMERA_APP_3DHW_SUPPORT = yes
MTK_CAMERA_BSP_SUPPORT = yes
MTK_CDS_EM_SUPPORT = yes
MTK_CELL_BROADCAST_RECEIVER_SUPPORT = no
MTK_CHIP_VER = S01
MTK_CHKIMGSIZE_SUPPORT = yes
MTK_CMAS_SUPPORT = no
MTK_CMCC_MOBILEMARKET_SUPPORT = no
MTK_CMMB_CHIP =
MTK_COMBO_CHIP = MT6572_CONSYS
MTK_COMBO_CORE_DUMP_SUPPORT = no
MTK_COMBO_NAND_SUPPORT = no
MTK_COMBO_QUICK_SLEEP_SUPPORT = no
MTK_COMBO_SUPPORT = yes
MTK_CPU = arm_cortexa7
MTK_CTA_SET = no
MTK_CTA_SUPPORT = no
MTK_CTPPPOE_SUPPORT = no
MTK_DATADIALOG_APP = no
MTK_DATAREG_APP = no
MTK_DATAUSAGELOCKSCREENCLIENT_SUPPORT = no
MTK_DATAUSAGE_SUPPORT = no
MTK_DATA_TRANSFER_APP = yes
MTK_DDR3_SUPPORT = no
MTK_DEDICATEDAPN_SUPPORT = no
MTK_DEFAULT_DATA_OFF = no
MTK_DENA_MINIROSANGUO_APP = no
MTK_DENA_MOBAGE_APP = no
MTK_DHCPV6C_WIFI = yes
MTK_DIALER_SEARCH_SUPPORT = yes
MTK_DIGITAL_MIC_SUPPORT = no
MTK_DISABLE_EFUSE = no
MTK_DISABLE_POWER_ON_OFF_VOLTAGE_LIMITATION = no
MTK_DISPLAY_HIGH_RESOLUTION = no
MTK_DITHERING_SUPPORT = no
MTK_DM_APP = no
MTK_DM_ENTRY_DISPLAY = no
MTK_DP_FRAMEWORK = yes
MTK_DRM_APP = yes
MTK_DSPIRDBG = no
MTK_DT_SUPPORT = no
MTK_DUAL_MIC_SUPPORT = no
MTK_EAP_SIM_AKA = yes
MTK_EMMC_DISCARD = no
MTK_EMMC_SUPPORT = yes
MTK_EMMC_SUPPORT_OTP = no
MTK_EMULATOR_SUPPORT = no
MTK_ENABLE_MD1 = yes
MTK_ENABLE_MD2 = no
MTK_ENABLE_VIDEO_EDITOR = no
MTK_ENGINEERMODE_APP = yes
MTK_ENGINEERMODE_INTERNAL_APP = yes
MTK_ENS_SUPPORT = no
MTK_ETWS_SUPPORT = no
MTK_FACEBEAUTY_SUPPORT = no
MTK_FACTORY_MODE_IN_GB2312 = yes
MTK_FAN5405_SUPPORT = no
MTK_FASTBOOT_SUPPORT = yes
MTK_FAT_ON_NAND = no
MTK_FD_FORCE_REL_SUPPORT = yes
MTK_FD_SUPPORT = yes
MTK_FENCE_SUPPORT = yes
MTK_FILEMANAGER_APP = yes
MTK_FIRST_MD = 1
MTK_FLIGHT_MODE_POWER_OFF_MD = yes
MTK_FLV_PLAYBACK_SUPPORT = yes
MTK_FMRADIO_APP = no#yes
MTK_FM_50KHZ_SUPPORT = no
MTK_FM_CHIP = #MT6627_FM
MTK_FM_RECORDING_SUPPORT = no#yes
MTK_FM_RX_AUDIO = FM_DIGITAL_INPUT
MTK_FM_RX_SUPPORT = no#yes
MTK_FM_SHORT_ANTENNA_SUPPORT = no
MTK_FM_SUPPORT = no#yes
MTK_FM_TX_AUDIO = FM_ANALOG_OUTPUT
MTK_FM_TX_SUPPORT = no
MTK_FOTA_ENTRY = no
MTK_FOTA_SUPPORT = no
MTK_FSCK_MSDOS_MTK = no
MTK_GALLERY3D_APP = yes
MTK_GALLERY_APP = yes
MTK_GAMELOFT_AVENGERS_ULC_CN_APP = no
MTK_GAMELOFT_AVENGERS_ULC_WW_APP = no
MTK_GAMELOFT_GLL_CN_APP = no
MTK_GAMELOFT_GLL_ULC_CN_APP = no
MTK_GAMELOFT_GLL_ULC_WW_APP = no
MTK_GAMELOFT_GLL_WW_APP = no
MTK_GAMELOFT_LBC_CN_APP = no
MTK_GAMELOFT_LBC_ULC_CN_APP = no
MTK_GAMELOFT_LBC_ULC_WW_APP = no
MTK_GAMELOFT_LBC_WW_APP = no
MTK_GAMELOFT_SD_CN_APP = no
MTK_GAMELOFT_SD_WW_APP = no
MTK_GAMELOFT_WONDERZOO_ULC_CN_APP = no
MTK_GAMELOFT_WONDERZOO_ULC_WW_APP = no
MTK_GEMINI_3G_SWITCH = no
MTK_GEMINI_3SIM_SUPPORT = no
MTK_GEMINI_4SIM_SUPPORT = no
MTK_GEMINI_ENHANCEMENT = yes
MTK_GEMINI_SMART_3G_SWITCH = 0
MTK_GOOGLEOTA_SUPPORT = no
MTK_GPS_CHIP = MTK_GPS_MT6572
MTK_GPS_SUPPORT = yes
MTK_GPU_CHIP = MALI400MP1
MTK_GPU_SUPPORT = yes
MTK_HDMI_SUPPORT = no
MTK_HDR_SUPPORT = no
MTK_HEADSET_ICON_SUPPORT = no
MTK_HIGH_QUALITY_THUMBNAIL = yes
MTK_HWC_SUPPORT = yes
MTK_HWC_VERSION = 1.0
MTK_HW_ENHANCE = no
MTK_IMAGE_LARGE_MEM_LIMIT = no
MTK_IMEI_LOCK = no
MTK_IME_ARABIC_SUPPORT = no
MTK_IME_ENGLISH_SUPPORT = yes
MTK_IME_FRENCH_SUPPORT = no
MTK_IME_GERMAN_SUPPORT = no
MTK_IME_HANDWRITING_ENGINE = none
MTK_IME_HANDWRITING_SUPPORT = no
MTK_IME_HINDI_SUPPORT = no
MTK_IME_INDONESIAN_SUPPORT = no
MTK_IME_INPUT_ENGINE = none
MTK_IME_ITALIAN_SUPPORT = no
MTK_IME_MALAY_SUPPORT = no
MTK_IME_PINYIN_SUPPORT = yes
MTK_IME_PORTUGUESE_SUPPORT = no
MTK_IME_RUSSIAN_SUPPORT = no
MTK_IME_SPANISH_SUPPORT = no
MTK_IME_STROKE_SUPPORT = no
MTK_IME_SUPPORT = no
MTK_IME_THAI_SUPPORT = no
MTK_IME_TURKISH_SUPPORT = no
MTK_IME_VIETNAM_SUPPORT = no
MTK_IME_ZHUYIN_SUPPORT = yes
MTK_INCLUDE_MODEM_DB_IN_IMAGE = yes
MTK_INPUTMETHOD_PINYINIME_APP = no
MTK_INTERNAL = no
MTK_INTERNAL_LANG_SET = no
MTK_ION_SUPPORT = yes
MTK_IPOH_SUPPORT = yes
MTK_IPO_SUPPORT = yes
MTK_IPV6_SUPPORT = yes
MTK_IPV6_TETHER_NDP_MODE = no
MTK_IPV6_TETHER_PD_MODE = no
MTK_ISMS_SUPPORT = no
MTK_KERNEL_POWER_OFF_CHARGING = yes
MTK_LAUNCHERPLUS_APP = no
MTK_LAUNCHER_ALLAPPSGRID = no
MTK_LAUNCHER_UNREAD_SUPPORT = yes
MTK_LAUNCH_TIME_OPTIMIZE = yes
MTK_LCA_RAM_OPTIMIZE = no
MTK_LCA_ROM_OPTIMIZE = no
MTK_LCA_SUPPORT = no
MTK_LCEEFT_SUPPORT = yes
MTK_LCM_PHYSICAL_ROTATION = 0
MTK_LIVEWALLPAPER_APP = yes
MTK_LOCKSCREEN_TYPE = 1
MTK_LOG2SERVER_APP = no
MTK_LOG2SERVER_INTERNAL = no
MTK_M4U_SUPPORT = yes
MTK_MASS_STORAGE = yes
MTK_MATV_ANALOG_SUPPORT = no
MTK_MATV_SERIAL_IF_SUPPORT = no #yes
MTK_MAV_PLAYBACK_SUPPORT = no
MTK_MAV_SUPPORT = no
MTK_MD1_SUPPORT = 3
MTK_MD2_SUPPORT = 4
MTK_MDLOGGER_SUPPORT = yes
MTK_MDM_APP = no
MTK_MDM_FUMO = no
MTK_MDM_LAWMO = no
MTK_MDM_SCOMO = no
MTK_MD_SHUT_DOWN_NT = yes
MTK_MEDIA3D_APP = no
MTK_MEMORY_COMPRESSION_SUPPORT = no
MTK_MEM_PRESERVED_MODE_ENABLE = no
MTK_MERGE_INTERFACE_SUPPORT = yes
MTK_MMPROFILE_SUPPORT = no
MTK_MMUMAP_SUPPORT = no
MTK_MODEM_SUPPORT = modem_3g
MTK_MT519X_FM_SUPPORT = no
MTK_MT8193_HDCP_SUPPORT = no
MTK_MT8193_HDMI_SUPPORT = no
MTK_MT8193_NFI_SUPPORT = no
MTK_MT8193_SUPPORT = no
MTK_MTKLOGGER_SUPPORT = yes
MTK_MTKPS_PLAYBACK_SUPPORT = no
MTK_MULTIBRIDGE_SUPPORT = no
MTK_MULTISIM_RINGTONE_SUPPORT = no
MTK_MULTI_STORAGE_SUPPORT = yes
MTK_MUSIC_LRC_SUPPORT = no
MTK_MVNO_SUPPORT = yes
MTK_NAND_PAGE_SIZE = 4K
MTK_NAND_UBIFS_SUPPORT = no
MTK_NATIVE_3D_SUPPORT = no
MTK_NATIVE_FENCE_SUPPORT = no
MTK_NEON_SUPPORT = yes
MTK_NETWORK_TYPE_ALWAYS_ON = no
MTK_NETWORK_TYPE_DISPLAY = no
MTK_NEW_IPTABLES_SUPPORT = yes
MTK_NFC_ADDON_SUPPORT = no
MTK_NFC_APP_SUPPORT = no
MTK_NFC_FW_MSR3110 = no
MTK_NFC_FW_MT6605 = no
MTK_NFC_MSR3110 = no
MTK_NFC_MT6605 = no
MTK_NFC_SE_NUM =
MTK_NFC_SUPPORT = no
MTK_NOTEBOOK_SUPPORT = no
MTK_NVRAM_SECURITY = no
MTK_OGM_PLAYBACK_SUPPORT = no
MTK_OMACP_SUPPORT = yes
MTK_OMA_DOWNLOAD_SUPPORT = yes
MTK_OOBE_APP = no
MTK_PCB_BATTERY_SENSOR = no
MTK_PHONE_NUMBER_GEODESCRIPTION = yes
MTK_PHONE_VOICE_RECORDING = yes
MTK_PHONE_VT_MM_RINGTONE = no
MTK_PHONE_VT_VOICE_ANSWER = no
MTK_PLATFORM = MT6572
MTK_PLATFORM_OPTIMIZE = yes
MTK_POWER_SAVING_SWITCH_UI_SUPPORT = no
MTK_PQ_SUPPORT = yes
MTK_PRODUCT_INFO_SUPPORT = no
MTK_PRODUCT_LOCALES = en_US zh_CN es_ES zh_TW ru_RU pt_BR fr_FR de_DE tr_TR it_IT in_ID ms_MY vi_VN ar_EG th_TH pt_PT nl_NL el_GR hu_HU tl_PH ro_RO cs_CZ iw_IL my_MM km_KH ko_KR ldpi mdpi hdpi
MTK_QQBROWSER_SUPPORT = no
MTK_QVGA_LANDSCAPE_SUPPORT = no
MTK_RADIOOFF_POWER_OFF_MD = no
MTK_RAT_BALANCING = no
MTK_RAT_WCDMA_PREFERRED = yes
MTK_RCSE_SUPPORT = no
MTK_RELEASE_PACKAGE = rel_customer_basic rel_customer_platform rel_customer_operator_cu
MTK_RESOURCE_OPTIMIZATION =
MTK_RILD_READ_IMSI = no
MTK_RSDM_APP = no
MTK_RTP_OVER_RTSP_SUPPORT = yes
MTK_RTSP_BITRATE_ADAPTATION_SUPPORT = no
MTK_S3D_SUPPORT = no
MTK_SCOMO_ENTRY = no
MTK_SCREEN_OFF_WIFI_OFF = no
MTK_SD_REINIT_SUPPORT = no
MTK_SD_SUPPORT = yes
MTK_SEARCH_DB_SUPPORT = yes
MTK_SECURITY_SW_SUPPORT = yes
MTK_SEC_BOOT = ATTR_SBOOT_ONLY_ENABLE_ON_SCHIP
MTK_SEC_CHIP_SUPPORT = yes
MTK_SEC_MODEM_AUTH = no
MTK_SEC_MODEM_ENCODE = no
MTK_SEC_MODEM_NVRAM_ANTI_CLONE = no
MTK_SEC_SECRO_AC_SUPPORT = yes
MTK_SEC_USBDL = ATTR_SUSBDL_ONLY_ENABLE_ON_SCHIP
MTK_SEND_RR_SUPPORT = yes
MTK_SENSOR_SUPPORT = yes
MTK_SHARED_SDCARD = no
MTK_SHARE_MODEM_CURRENT = 2
MTK_SHARE_MODEM_SUPPORT = 2
MTK_SIGNATURE_CUSTOMIZATION = no
MTK_SIGNMODEM_SUPPORT = yes
MTK_SIM1_SOCKET_TYPE = 1
MTK_SIM2_SOCKET_TYPE = 1
MTK_SIM_AUTHENTICATION_SUPPORT = no
MTK_SIM_HOT_SWAP = yes
MTK_SIM_HOT_SWAP_COMMON_SLOT = no
MTK_SIM_RECOVERY = yes
MTK_SINA_WEIBO_SUPPORT = no
MTK_SINGLE_3DSHOT_SUPPORT = no
MTK_SIP_SUPPORT = no
MTK_SMARTSWITCH_SUPPORT = no
MTK_SMSREG_APP = yes
MTK_SMS_FILTER_SUPPORT = yes
MTK_SMS_NATIONAL_LANGUAGE_SUPPORT = no
MTK_SMS_TURKISH_TABLE_ALWAYS_SUPPORT = no
MTK_SNS_FACEBOOK_APP = no
MTK_SNS_FLICKR_APP = no
MTK_SNS_KAIXIN_APP = no
MTK_SNS_RENREN_APP = no
MTK_SNS_SINAWEIBO_APP = no
MTK_SNS_SINAWEIBO_TEST = no
MTK_SOUNDRECORDER_APP = no
MTK_SPECIAL_FACTORY_RESET = no
MTK_SPECIFIC_SM_CAUSE = no
MTK_SPH_EHN_CTRL_SUPPORT = yes
MTK_STEREO3D_WALLPAPER_APP = no
MTK_SUPPORT_MJPEG = yes
MTK_SWIP_AAC = no
MTK_SWIP_VORBIS = yes
MTK_SYSTEM_UPDATE_SUPPORT = yes
MTK_TB_APP_CALL_FORCE_SPEAKER_ON = no
MTK_TB_APP_LANDSCAPE_SUPPORT = no
MTK_TB_DEBUG_SUPPORT = no
MTK_TB_HW_DEBUG = no
MTK_TELEPHONY_MODE = 3
MTK_TENCENT_MOBILE_MANAGER_NORMAL_SUPPORT = no
MTK_TENCENT_MOBILE_MANAGER_SLIM_SUPPORT = no
MTK_TETHERINGIPV6_SUPPORT = yes
MTK_TETHERING_EEM_SUPPORT = no
MTK_THEMEMANAGER_APP = no
MTK_TINY_UTIL = yes
MTK_TLR_SUPPORT = no
MTK_TMP103_SUPPORT = no
MTK_TODOS_APP = no
MTK_TOUCH_PHYSICAL_ROTATION_RELATIVE_TO_LCM = 0
MTK_TTY_SUPPORT = yes
MTK_TVOUT_SUPPORT = no
MTK_UART_USB_SWITCH = yes
MTK_UMTS_TDD128_MODE = no
MTK_USB_AUDIO_SUPPORT = yes
MTK_USES_HD_VIDEO = no
MTK_USES_STAGEFRIGHT_DEFAULT_CODE = no
MTK_USES_VR_DYNAMIC_QUALITY_MECHANISM = yes
MTK_USE_ANDROID_MM_DEFAULT_CODE = no
MTK_USE_RESERVED_EXT_MEM = no
MTK_VIBSPK_SUPPORT = no
MTK_VIDEOWIDGET_APP = no
MTK_VIDEO_1080P = yes
MTK_VIDEO_FAVORITES_WIDGET_APP = no
MTK_VIDEO_THUMBNAIL_PLAY_SUPPORT = no
MTK_VLW_APP = no
MTK_VOICE_UI_SUPPORT = no
MTK_VOICE_UNLOCK_SUPPORT = yes
MTK_VSIM_AUTO_ANSWER = no
MTK_VSS_SUPPORT = no
MTK_VT3G324M_SUPPORT = yes
MTK_WAIT_SYNC_SUPPORT = no
MTK_WAPI_SUPPORT = no
MTK_WAPPUSH_SUPPORT = yes
MTK_WB_SPEECH_SUPPORT = yes
MTK_WCDMA_SUPPORT = no
MTK_WEATHER3D_WIDGET = no
MTK_WEATHER_PROVIDER_APP = no
MTK_WEATHER_WIDGET_APP = no
MTK_WEB_NOTIFICATION_SUPPORT = yes
MTK_WEEK_NO = W10.24
MTK_WFD_SUPPORT = no
MTK_WIFI_HOTSPOT_SUPPORT = yes
MTK_WIFI_P2P_SUPPORT = no
MTK_WLANBT_SINGLEANT = no
MTK_WLAN_CHIP =
MTK_WLAN_SUPPORT = yes
MTK_WML_SUPPORT = yes
MTK_WORLD_CLOCK_WIDGET_APP = yes
MTK_WPA2PSK_SUPPORT = no
MTK_WVDRM_SUPPORT = yes
MTK_YAML_SCATTER_FILE_SUPPORT = yes
MTK_YGPS_APP = yes
MTK_YMCAPROP_SUPPORT = no
MULTI_CH_PLAYBACK_SUPPORT = no
NAND_OTP_SUPPORT = no
NATIVE_AUDIO_PREPROCESS_ENABLE = yes
NO_INIT_PERMISSION_CHECK = yes
OP01_CTS_COMPATIBLE = no
OP01_CTS_COMPATIBLE_DFOSET = no
OP01_CTS_COMPATIBLE_DFOSET_VALUE = OP01_CTS_COMPATIBLE
OPTR_SPEC_SEG_DEF = NONE#OP02_SPEC0200_SEGA
PLATFORM_MTK_SDK_VERSION = 1
RESOURCE_OVERLAY_SUPPORT = generic
SUPPORT_SDCARD2 = yes
TARGET_ARCH_VARIANT = armv7-a-neon
TELEPHONY_DFOSET = no
TELEPHONY_DFOSET_VALUE = MTK_DT_SUPPORT MTK_TELEPHONY_MODE MTK_SHARE_MODEM_SUPPORT MTK_SHARE_MODEM_CURRENT MTK_ENABLE_MD1 MTK_ENABLE_MD2 MTK_FIRST_MD
USE_OPENGL_RENDERER = true
WIFI_WEP_KEY_ID_SET = no
WIFI_WPS_PIN_FROM_AP = no
Did any of you already used this Different Config Settings to Build the Kernel ?
What firmware are you using to pull from?

[Q] MTK LCM request - HF_15025_1395_A0

Can anyone provide the Mediatek LCM c source file for "HF_15025_1395_A0"?
It doesn't even look similar to any of the ones in my collection, or I'd have played trial-and-error with timings
This is what I have found from the phone so far (it's a Landvo L800S by the way):
Code:
DSI_CLK_REG = 0x821, DSI_DAT0_REG=0x401,DSI_DAT1_REG=0x101,DSI_DAT2_REG=0x100,DSI_DAT3_REG=0x100
DSI_PHY_TIMCONFIG, Cycle Time = 18(ns), Unit Interval = 3(ns). div1 = 1, div2 = 2, fbk_div = 18, lane# = 2
DSI_PHY_TIMCONFIG, HS_TRAIL = 15, HS_ZERO = 8, HS_PRPR = 4, LPX = 4, TA_GET = 20, TA_SURE = 6, TA_GO = 16, CLK_TRAIL = 15, CLK_ZERO = 22, CLK_HS_PRPR = 3
DSI_PHY_TIMCONFIG, 0x0f080404,0x18140610,0x0f160000,0x00081803
DISP/[DISP] kernel - VSA : 5 0(us)
DISP/[DISP] kernel - VBP : 10 0(us)
DISP/[DISP] kernel - VFP : 5 0(us)
DISP/[DISP] kernel - VACT: 960
Given the amount of junk on the stock firmware, I'm thinking the LCM name is probably fake to hide the real identity...

Categories

Resources