Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

Chromatix_Snapshot HexWrapper for 0x301(769) libs

$
0
0
Hi made a wrapper for the chromatix lib to get access to all possible triggers/tables for /aec/afs.....
this wrapper works for now only with snapshot libs based on 0x301. that are devices with hal2 as far i understood it.
it will NOT! fully work with devices like nexus5/6, htc m9, lg gflex2 g4.
but the added structs can used to figure out where, as sample, the exposuretable is stored.

the wrapper is made with and for hex workshop.
hexworkshop
the only thing you have todo is to figure out how long your exposure table is and add the value to the wrapper else everything behind the expotable does not match
the default length from qcom has 500 entrys. lg added for the g3 540 entrys but use only 451. zte z5s use default length
Code:

typedef enum CHUNK_TYPE
{
    EXPOSURE_TABLE_SIZE  = 500, //default 500, lg g3 540
    //DATA_CHUNK  = "data",
} CHUNK_TYPE ;

Make a Backup (and store it in a save place) bevor you start changing the chromatix lib!

the hexwrapper can found there: lib_chromatix_snapshot.hsl
if you want to know what a value does look into chromatix_imx135_snapshot.h

happy modding ;D

Attached Thumbnails
Click image for larger version

Name:	hexwork.jpg
Views:	N/A
Size:	235.2 KB
ID:	3384497  

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>