[Nexus 5 Themes and Apps] Skies/SANKE:
:DNow, let me tell you how to add this feature in the settings ......

Preparations:

apktool

nopad++

1, download attachments in this layout:

http://pan.baidu.com/s/1qWMAtwo

2, decompile your Settings.apk

3. Open the Settings / res / xml / dashboard_categories.xml

Search for:

<dashboard-category android:id="@id/system_section" android:title="@string/header_category_system">

Add the following sentence:(Note! Please aligned below)

<dashboard-tile android:icon="@drawable/ic_settings_autostarts" android:id="@id/autostarts_settings" android:title="@string/autostarts_title" android:fragment="com.android.settings.autostarts.LewaManageAutostarts" />

Save dashboard_categories.xml

5. Now add the language. Open the Settings / res / values ​​/ strings.xml, in the end, add the following:

<string name="autostarts_title">Autostarts</string>

<string name="autostarts_allowed">Has allowed</string>

<string name="autostarts_prohibited">Has Prohibited</string>

<string name="autostarts_allow_progress_msg">Being restored boot, please wait...</string>

<string name="autostarts_prohibit_progress_msg">Prohibit boot, please wait...</string>

<string name="autostarts_empty_msg">No installation boot applications</string>

<string name="autostarts_optimize_empty_msg">No optimize the startup items</string>

<string name="autostarts_optimize_btn_title">Optimize the startup items</string>

<string name="autostarts_all_btn_title">All autostarts items</string>

Save strings.xml

6. Open the Settings / res / values ​​/ ids.xml, in the end, add the following:

<item type="id" name="autostarts_settings">false</item>

<item type="id" name="appName">false</item>

Save ids.xml

7. Now, the annex res / drawable-xxhdpi / ic_settings_autostarts.png into Settings / res / drawable-xxhdpi /

The annex res / layout / manage_autostarts.xml and manage_autostarts_item.xml into Settings / res / layout /

The annex smali / com / android / settings / autostarts into Settings / smali / com / android / settings /

8. Back to compile current Settings

9. Then directly decompile Settings / dist / Settings.apk (doing so in order to obtain the following need to use the id)

10. Open the Settings again after decompilation / res / values ​​/ public.xml, then open the Settings / smali / com / android / settings / autostarts / LewaManageAutostarts.smali and LewaManageAutostarts $ AppAdapter.smali

11. In public.xml (ctrl + f) Find the following entry id, replace the LewaManageAutostarts.smal

Find manage_autostarts

Replace the LewaManageAutostarts.smali 599 line

Find autostarts_allowed

Replace the LewaManageAutostarts.smali 297 line

Find autostarts_prohibited

Replace the LewaManageAutostarts.smali 393 line

Find autostarts_allow_progress_msg

To replace the first 796 rows LewaManageAutostarts.smali

Find autostarts_prohibit_progress_msg

Replace the LewaManageAutostarts.smali 182 line

Find autostarts_empty_msg

Replace the LewaManageAutostarts.smali 655 and 738 lines

Find autostarts_optimize_empty_msg

Replace the LewaManageAutostarts.smali 765 line

Find autostarts_optimize_btn_title

Replace the LewaManageAutostarts.smali 582 and 731 lines

Find autostarts_all_btn_title

Replace the LewaManageAutostarts.smali 758 and 554 lines

12. Continue to look for the following entries in public.xml (ctrl + f) id, replace the LewaManageAutostarts $ AppAdapter.smali

Find <public type = "layout" name = "manage_autostarts_item"

Replace the LewaManageAutostarts $ AppAdapter.smali line 155

Find <public type = "id" name = "icon"

Replace the LewaManageAutostarts $ AppAdapter.smali line 165

Find <public type = "id" name = "appName"

Replace the LewaManageAutostarts $ AppAdapter.smali line 186

Find <public type = "id" name = "status"

Replace the LewaManageAutostarts $ AppAdapter.smali line 208

Find <public type = "id" name = "app_on_sdcard"

Replace the LewaManageAutostarts $ AppAdapter.smali 227th row

Well, now, back to the compilation

File Source:

http://xdaforums.com/google-nexus-5/themes-apps/mod-autostartmenu-5-0-1-t2989867

Thanks: [MENTION=5032713]garynych[/MENTION]