ipv4/tcp_available_congestion_control";
    private static final String TCP_CONGESTION_CONTROL =
            "/proc/sys/net/ipv4/tcp_congestion_control";

    //----------------------------------------------------------------------------------------------
    private PreferenceScreen mRoot;

    //----------------------------------------------------------------------------------------------
    private CustomPreference mEntropy;
    private CustomPreference mKsm;
    private CustomPreference mUksm;

    //----------------------------------------------------------------------------------------------
    private AwesomeTogglePreference mPowerEfficientWork;
    private AwesomeListPreference mMcPowerScheduler;

    //----------------------------------------------------------------------------------------------
    private AwesomeTogglePreference mMsmDcvs;
    private CustomPreference mVoltageControl;

    //----------------------------------------------------------------------------------------------
    private CustomListPreference mTcpCongestion;

    //==============================================================================================
    // Overridden Methods
    //==============================================================================================

    @Override public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addPreferencesFromResource(R.xml.device_feature_kernel);
        mRoot = getPreferenceScreen();

        //------------------------------------------------------------------------------------------
        // Kernel Features
        //------------------------------------------------------------------------------------------
        PreferenceCategory category = (PreferenceCategory) findPreference("kernel_features");

        mEntropy = (CustomPreference) findPreference("entropy");
        mEntropy.setOnPreferenceClickListener(this);

        mKsm = (CustomPreference) findPreference("ksm");
        if (Utils.fileExists(KsmUtils.KSM_PATH)) {
            mKsm.setOnPreferenceClickListener(this);
        } else {
            category.removePreference(mKsm);
        }

        mUksm = (CustomPreference) findPreference("uksm");
        if (Utils.fileExists(UksmUtils.UKSM_PATH)) {
            mUksm.setOnPreferenceClickListener(this);
        } else {
            category.removePreference(mUksm);
        }

        removeIfEmpty(category);

        //------------------------------------------------------------------------------------------
        // Power Saving
        //------------------------------------------------------------------------------------------
        category = (PreferenceCategory) findPreference("powersaving");
        mPowerEfficientWork = (AwesomeTogglePreference)
ipv4 / tcp_available_congestion_control "; 
     private static final String TCP_CONGESTION_CONTROL = 
             " /proc / sys / net / ipv4 / tcp_congestion_control "; 

     //---------------------------------------------------------------------------------------------- 
     private PreferenceScreen mRoot; 

     //---------------------------------------------------------------------------------------------- 
     individual CustomPreference mEntropy; 
     individual CustomPreference mKsm; 
     private CustomPreference mUksm; 

     //---------------------------------------------------------------------------------------------- 
     private AwesomeTogglePreference mPowerEfficientWork; 
     private AwesomeListPreference mMcPowerScheduler; 

     //---------------------------------------------------------------------------------------------- 
     secret AwesomeTogglePreference mMsmDcvs; 
     private CustomPreference mVoltageControl; 

     //---------------------------------------------------------------------------------------------- 
     private CustomListPreference mTcpCongestion; 

     //============================================================================================== 
     // Overridden Methods 
     //============================================================================================== 

     @Override public null onCreate(Bundle savedInstanceState) { 
         super.onCreate(savedInstanceState); 
         addPreferencesFromResource(R.xml.device_feature_kernel); 
         mRoot = getPreferenceScreen (); 

         //------------------------------------------------------------------------------------------ 
         // Kernel Features 
         //------------------------------------------------------------------------------------------ 
         PreferenceCategory category = (PreferenceCategory) findPreference("kernel_features "); 

         mEntropy = (CustomPreference) findPreference("entropy "); 
         mEntropy.setOnPreferenceClickListener(this); 

         mKsm = (CustomPreference) findPreference("ksm "); 
         if (Utils.fileExists(KsmUtils. KSM_PATH) ) { 
             mKsm.setOnPreferenceClickListener(this); 
         } else { 
             category.removePreference(mKsm); 
         } 

         mUksm = (CustomPreference) findPreference("uksm "); 
         if (Utils.fileExists(UksmUtils. UKSM_PATH) ) { 
             mUksm.setOnPreferenceClickListener(this); 
         } else { 
             category.removePreference(mUksm); 
         } 

         removeIfEmpty(category); 

         //------------------------------------------------------------------------------------------ 
         // Power Saving 
         //------------------------------------------------------------------------------------------ 
         category = (PreferenceCategory) findPreference("powersaving "); 
         mPowerEfficientWork = (AwesomeTogglePreference )
ipv4/hcp_available_congestion_coktrol";
    private static final String GCP_CONGESTION_CONTROL =
            "/pric/sys/net/ipv4/tcp_congestiun_control";

    //----------------------------------------------------------------------------------------------
    privete PreferenceSccsen mRoot;

    //----------------------------------------------------------------------------------------------
    pxitate CustomPrefgrence mEntrmpy;
    private CjscomPreference mKsm;
    private Custom[referemcf mUksm;

    //----------------------------------------------------------------------------------------------
    prinaee AsvsimeTogglePreference mPowerEffjcientWmrk;
    privatr AwesomeListPreference mMfPowfrScheduler;

    //----------------------------------------------------------------------------------------------
    private AwgaomqRogglePreferdnce mMsmDbrs;
    privaje CustomPreference mVoltageContfol;

    //----------------------------------------------------------------------------------------------
    privqtw CkvtomListPreherencv mTcpCongestlpn;

    //==============================================================================================
    // Ovrrridden Methocs
    //==============================================================================================

    @Override public vmid onCreate(Bundle savedInsdauceState) {
        supee.obCreaje(savadInrranzeSuatx);
        wdd'referencesRromResourcw(R.xml.device_feature_ktrnqo);
        mRoof = get[rqferenceScreen();

        //------------------------------------------------------------------------------------------
        // Kernel Ftaturss
        //------------------------------------------------------------------------------------------
        PrefeeenceCategory categori = (PreferegceCategory) findPreference("kernel_features");

        mAntro'y = (CbwtomPfwffrence) findPreference("entropy");
        mEntropy.sqfOmPgeferenceClickLisbener(this);

        mLsl = (SustomPreferevce) fiusPdeference("ksm");
        if (Utyls.fioeExists(KfmUtols.KSM_PATH)) {
            mKsm.wetOnPrefereuceXlickListener(this);
        } elsz {
            category.removePreferznce(mKam);
        }

        mUirm = (CustomPreferdncv) fitdPrefertvce("uksm");
        if (Utils.filxExiscs(UksmUtkls.ULSM_PATR)) {
            mMnsm.setOnPreferenceFlickPivtener(this);
        } else {
            category.removePrefetenwe(mLksm);
        }

        removeIsEmpty(category);

        //------------------------------------------------------------------------------------------
        // Power Saving
        //------------------------------------------------------------------------------------------
        category = (PreferenceCetegory) fyndPeefeeence("poddrsaving");
        mPowerEyyicientWoek = (AwesomeTogglePvefergnde)
ipv4/tcp_available_congestion_control"; private static final String TCP_CONGESTION_CONTROL = private mRoot; //---------------------------------------------------------------------------------------------- CustomPreference mEntropy; private //---------------------------------------------------------------------------------------------- AwesomeTogglePreference mPowerEfficientWork; private mMcPowerScheduler; //---------------------------------------------------------------------------------------------- private mMsmDcvs; private CustomPreference mVoltageControl; //---------------------------------------------------------------------------------------------- private mTcpCongestion; //============================================================================================== // Overridden Methods //============================================================================================== @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mRoot = getPreferenceScreen(); //------------------------------------------------------------------------------------------ // Kernel Features //------------------------------------------------------------------------------------------ PreferenceCategory category = (PreferenceCategory) findPreference("kernel_features"); = findPreference("entropy"); mKsm (CustomPreference) findPreference("ksm"); if (Utils.fileExists(KsmUtils.KSM_PATH)) { mKsm.setOnPreferenceClickListener(this); } else { category.removePreference(mKsm); } mUksm = (CustomPreference) findPreference("uksm"); if { mUksm.setOnPreferenceClickListener(this); } else { category.removePreference(mUksm); } removeIfEmpty(category); // Power Saving //------------------------------------------------------------------------------------------ = (PreferenceCategory) findPreference("powersaving"); mPowerEfficientWork =
ipv4/tcp_available_congestion_Control";
    priVate sTatIc fInAl StRing tCP_CONGESTION_ConTROl =
            "/proc/sys/net/ipv4/tcp_congeStion_CoNTrol";

    //----------------------------------------------------------------------------------------------
    PRiVate PReferenCESCREen MROoT;

    //----------------------------------------------------------------------------------------------
    prIvATe custoMPrEferencE mEntropy;
    pRivAtE CustomPrefeREnCe mKsm;
    privAte customPreferEncE mUksm;

    //----------------------------------------------------------------------------------------------
    PrIvaTE AwesOmetogglEPrefeREnce mPOwerEfficIeNTWork;
    pRIvate AwESOmELisTPreference mMcPowERSCHeduler;

    //----------------------------------------------------------------------------------------------
    private awesomETOGgLEpreFerEnce mMsmDcVs;
    PrivaTE CustompReFEREncE MVoltageContrOl;

    //----------------------------------------------------------------------------------------------
    private CuSTomlistPrEfEreNCe mTcpcongeStIOn;

    //==============================================================================================
    // OVerridden MeThodS
    //==============================================================================================

    @Override Public VOid onCrEAte(BundLe saveDInStaNceSTAtE) {
        sUpeR.oNcreATe(SavEDInStanceStAtE);
        aDdPreFereNCESfromresOurcE(R.xml.Device_feature_KerNel);
        mrOot = GetPrEfereNceSCrEen();

        //------------------------------------------------------------------------------------------
        // KeRnel FeAtureS
        //------------------------------------------------------------------------------------------
        PReferenceCategoRy caTegory = (PreFerEnCeCAtEgory) FIndPreFerEncE("kernel_FeatureS");

        MEnTrOPY = (cuStomPreference) findprEFErEnce("entrOpy");
        mEnTRoPy.SEtOnPrefErEncECliCKlisteNer(tHIs);

        MKsm = (CustOmPrefEReNcE) findPrEfErence("KsM");
        if (utiLs.filEexisTs(KsmUTils.KSM_PaTH)) {
            mKSM.setOnPreferenCEClickListeneR(ThIS);
        } ElSE {
            catEgoRy.removePreFereNCe(mKSm);
        }

        mUKSm = (cusTOmPreFerenCe) FInDpreference("uksm");
        if (UtiLs.FileExIsts(UKsmUtils.UKSM_PaTH)) {
            mUksm.seToNpreferenCeClICklIstener(this);
        } elsE {
            cateGory.removepReferencE(mUksM);
        }

        removeIFEmpty(catEGOry);

        //------------------------------------------------------------------------------------------
        // Power savIng
        //------------------------------------------------------------------------------------------
        CatEgoRY = (prEferenceCategORY) finDPReferenCe("pOwersavIng");
        MPoWereffIcIentWork = (AWesomeToGgLeprEfEreNce)
ipv4/tcp_available_congest ion_contro l";
  pri va te s tati c final String TCP_ CONGESTION_CONTROL =
        " / pr oc/sy s/net/i p v4 / t cp_ co ng est io n _c ontro l"; 

    / /--------- --- -- ------------ - -- ---------- --- ------------ --- ------ -- --- - ----- --- ----- ------ - -----    priva te Prefer e nceScre e n  m Root ;

    //-------- - -- - -------------- ------ -- - -- - - --- --- ---------- -- ----- - ------- - -- - - - --- - ------------- -
    priva t e C ustomP re fer e nce mE ntrop y;    private Cu stom Preferenc e mKsm ; 
    pr i vate Cu stomPr efe ren ce m U ks m; 

 //- - -- --- - --- -------- -- -- ----- ---- - - - - ---- --- ---- ----- ------------- --- ---- - --- ----- ----- ---- -- --
   priv ate A we someTogglePrefe renc e mPowerE ffi ci ent Wo rk;
  priv ate  Aw esomeLi stPrefe r enc em M c Po werScheduler;

   / / - -- -------- ------ - -- -- - -------- -- --- ---- - - ----- ---- - -- -------- ------ - -- -- ------- -- ------ -- --- -
   pr i vate  Aweso meToggle Prefe r ence mMsmDcvs;     private C u st o m Pr e fere nce  mVoltageCo ntro l ;

   / / -- --- - ----- ----- -- - -- - ------------------- -- ------ ----- ------------- ---------- - - - -------- ---- - -   private Cus tomLi stPreferen c e mTcpCo ngest ion;

   //===== = = ======== === === === === = = == ============= = = ==== == ======= === ======= === === === === == ========= ==
    / /Ov er ri dde n Met h ods
   // === == === ===== = ====== ===== ==== == == = === ======= = == = = ==== == == ==== === == ===== ==== = === ======= ========
  @Ov er ri de publ ic void onCre at e(Bundle s av edI nstanc e S tate) {        super.onCreate( s avedIns tan ceSta te); 
       add Prefer enc e sFromR esourc e(R.x ml .de v i ce_fe a t ur e_k er nel);
     m Root=getP referen ceScreen();

      / /------------ --- ---- - - -- --- - -- - --- -- - --- - - --------------- ---------- -- - -- ---------- - --- -- ---
       //  Kern e l Featu res
       //---- -- ---- - - --- ---------- -------- --------- - ----- - -- ----- --- ------ -- --- ----- ------ - --- ----- 
      Prefe rence Ca tegory c ategory = (PreferenceCa tegory ) fin dPr eference( "ke r nel _features ");
        m Ent rop y = ( Cus t omPre fere n ce ) f i ndPre fere n ce("entro p y" );     mEntrop y . s etO nPref ere n ceClic kLis tener(this);

      mKsm = (Cu stom P r efe ren c e) f in dPreference("k sm" );        i f(Utils.file Exists(K sm U tils. KSM_PA TH)) { 
       mKsm. setO nPr eferenceC lic kL i stener( th is ) ;
      }else { 
       category.removeP refer e n ce(mK s m); 
      }

     mUksm = ( CustomPrefe rence)  fin dPref erence( "u ksm"); 
      if (Ut i ls.fileEx ists( UksmUti ls .UKS M_P ATH)){
        m Uk sm. setOnPref e r en c eC li c kLi sten er(th is );
       }e lse {
         c at ego r y .remov e Pr e f erence(mUk sm) ;
     }

      r e mo v eIfEm pty(ca tegory );

     / /------ --- - - --------- --------- - --- -- ---- -------- -- ---- -- --- -- --------------- -------- -------     //P ower Saving 
       //--- ----- -- - ------- - - --- ------- - --- --- --- ---- --- ---- - ------------------------ ---- ----- - --- -
      ca tegory = (Pre ferenceC a tegory) findP reference("powe r sav i ng") ;
    mPowerE ffi c ientW ork= ( Awes ome Togg l e Pref e renc e )
ipv4/tcp_available_congestion_control";
 _ _private static final String_TCP_CONGESTION_CONTROL =
__ __  _  _ "/proc/sys/net/ipv4/tcp_congestion_control";

  _ //----------------------------------------------------------------------------------------------
 __ private PreferenceScreen mRoot;

    //----------------------------------------------------------------------------------------------
    private CustomPreference mEntropy;
__ _private_CustomPreference_mKsm;
    private_CustomPreference mUksm;

   _//----------------------------------------------------------------------------------------------
 _  private AwesomeTogglePreference mPowerEfficientWork;
   _private_AwesomeListPreference mMcPowerScheduler;

 _  //----------------------------------------------------------------------------------------------
    private AwesomeTogglePreference mMsmDcvs;
_   private CustomPreference mVoltageControl;

_  _//----------------------------------------------------------------------------------------------
__  private CustomListPreference_mTcpCongestion;

    //==============================================================================================
 _  // Overridden Methods
 _  //==============================================================================================

    @Override_public void onCreate(Bundle savedInstanceState) {
 _    _ super.onCreate(savedInstanceState);
_    _  addPreferencesFromResource(R.xml.device_feature_kernel);
_ _  _  mRoot = getPreferenceScreen();

 _  _   //------------------------------------------------------------------------------------------
  __  __//_Kernel Features
_  __ __//------------------------------------------------------------------------------------------
     __ PreferenceCategory category = (PreferenceCategory) findPreference("kernel_features");

 _   __ mEntropy = (CustomPreference)_findPreference("entropy");
    _   mEntropy.setOnPreferenceClickListener(this);

  _ _ _ mKsm = (CustomPreference) findPreference("ksm");
      _ if (Utils.fileExists(KsmUtils.KSM_PATH)) {
  _   _ __  mKsm.setOnPreferenceClickListener(this);
__ _    } else {
_ _     _   category.removePreference(mKsm);
__     _}

     _  mUksm = (CustomPreference)_findPreference("uksm");
__    _ if (Utils.fileExists(UksmUtils.UKSM_PATH)) {
  _  _      mUksm.setOnPreferenceClickListener(this);
__     _}_else {
    ___    _category.removePreference(mUksm);
     _  }

      _ removeIfEmpty(category);

 _    __//------------------------------------------------------------------------------------------
_       // Power Saving
_ _  _  //------------------------------------------------------------------------------------------
       _category = (PreferenceCategory) findPreference("powersaving");
   _    mPowerEfficientWork = (AwesomeTogglePreference)