[GUIDE] Add Extra Informations in Settings.apk topic


Hi! I'm back for making a new guide for ya! :D

In this thread, i'll tell you how to Add Extra Informations that like TeslaROM based CyanogenMod!



Okay here we go!



Guide Add Extra Information di Settings.apk!



Recuirements:

- Apktool v1.5.2

- Knowing what is Compare



- Merge all files to its places

- Then add this in res/drawable/xml/DeviceInfoSettings.xml -->



<PreferenceScreen android:title="@string/teslaextrainfo" android:key="extrainfo" android:summary="@string/teslaextrainfo_summary">

<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.tesla.ex trainfo.MainActivity" />

</PreferenceScreen>



- Now add this in AndroidManifest.xml -->



<activity android:theme="@*android:style/Theme.Holo.Dialog.NoActionBar.MinWidth" android:name="com.android.settings.tesla.extrainfo .MainActivity">

<intent-filter>

<action android:name="android.intent.action.MAIN" />

</intent-filter>

</activity>



- Next add this in res/drawable/values/strings.xml -->



<string name="teslaextrainfo">Extra information</string>

<string name="teslaextrainfo_summary">Display extra info for cpu, display, etc</string>



- Recompile dan Sign

- Decompile your Settings.apk again

- In here we must compare the ID in Public.xml to smali for work!

- Open smali/com/android/settings/tesla/extrainfo/MainActivity.smali

- Search code with "0x7"

- 0x7f0400d6 --> extrainfo_layout.xml

(layout)

- 0x7f0802bc --> mainLinearLayout (id)

- Then compare dan paste that code to ID Public.xml to smali

- Next Recompile and Sign

- And push!



If this guide doens't work on your Device, pls make sure post the log in comments so i will know and try to fix it :)



Thanks to:

- Allah SWT

- Prophet Muhammad SAWW

- My GF :D



Download:

Settings Files



Credits:

- Cyanogen Team (Big thanks for you for helping me!)

- TeslaROM

- AICP

- AOKP

- PAC-ROM

- GzROM

- ROM that based CyanogenMod!

- Jawaad Saeed for making original guide!







4 commentaires:

  1. Pretty! This was a really wonderful post. Thank you for providing these
    details.

    RépondreSupprimer
  2. As everyone well knows, a balanced diet requires calorie
    control. It is the best concept to visit a doctor that can do work to
    discover out what you are deficient so you can fulfill your nutritional gaps.

    A very simple strategy to deal with hunger and cravings
    is to learn to choose food items that will probably fill a person and stay away from meals which cause a person to end up being famished.

    RépondreSupprimer
  3. you're actually a good webmaster. The web site loading
    speed is amazing. It sort of feels that you are doing any unique trick.

    Moreover, The contents are masterpiece. you have done a fantastic job in this matter!

    RépondreSupprimer
  4. Thank you, I have recently been searching for information about this subject for
    a long time and yours is the best I have discovered till now.
    However, what in regards to the conclusion? Are you positive
    in regards to the supply?

    RépondreSupprimer

Remarque : Seul un membre de ce blog est autorisé à enregistrer un commentaire.