[Android General] Abdullaharis:
Hello guys

Here is a new guide on setting up the recents.

Credit:-

KachalkinGeorg (The GK)

Requirements (deodexed):-

1.Settings.apk

2.SystemUI.apk

3.NotePad++

4.Patience.. if you dont have try to get it

First Part

( Settings.apk )

1.Decompile Settings.apk

2.Download recentsettings.zip from attachment. extract and copy to your Decompiled Settings.

3.Open Settings\res\values\ids.xml and add below code

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

4.Open Settings\res\values\strings.xml and add below code

<string name="header_gk_system_special">Systemâ„¢</string>
<string name="recents_panel_title">Recents panel</string>
<string name="recents_panel_settings">Recents panel settings</string>
<string name="show_clear_all_recents_button_title">Clear all recents button</string>
<string name="show_clear_all_recents_button_summary">Show clear all button on recents panel</string>
<string name="recents_clear_all_location_title">Clear all recents location</string>
<string name="recents_clear_all_location_top_right">Top right</string>
<string name="recents_clear_all_location_top_left">Top left</string>
<string name="recents_clear_all_location_top_center">Top center</string>
<string name="recents_clear_all_location_bottom_right">Bottom right</string>
<string name="recents_clear_all_location_bottom_left">Bottom left</string>
<string name="recents_clear_all_location_bottom_center">Bottom center</string>
<string name="recents_clear_all_dismiss_all_title">Clear all tasks</string>
<string name="recents_clear_all_dismiss_all_summary">Choose whether to dismiss all tasks or ignore the foreground task</string>
<string name="recents_show_searchbar">Show Search Bar in Recents</string>
<string name="recents_show_searchbar_summary">Enable or disable the Google search bar in the recents menu</string>

5.Open Settings\res\values\arrays.xml and add below code

<string-array name="recents_clear_all_location_entries">
<item>@string/recents_clear_all_location_top_right</item>
<item>@string/recents_clear_all_location_top_left</item>
<item>@string/recents_clear_all_location_top_center</item>
<item>@string/recents_clear_all_location_bottom_right</item>
<item>@string/recents_clear_all_location_bottom_left</item>
<item>@string/recents_clear_all_location_bottom_center</item>
</string-array>

6.Open Settings\res\xml\dashboard_categories.xml and add below code

<dashboard-tile android:icon="@drawable/ic_settings_gk_system" android:id="@id/gk_system_section" android:title="@string/header_gk_system_special" android:fragment="com.android.settings.gk.GKmodSystem" />

7.Now Recompile and Decompile Settings (For ids)

8.Open Settings\smali\com\android\settings\gk\GKmodSystem.smali and find below code

0x7f050055

replace with below id

<public type="xml" name="gk_system_settings"

9.Open Settings\smali\com\android\settings\gk\Resents\RecentsPanelSettings.smali	and find below codes

find

0x7f090356

replace with below id

<public type="string" name="recents_clear_all_location_top_right"

find

0x7f090357

replace with below id

<public type="string" name="recents_clear_all_location_top_left"

find

0x7f090358

replace with below id

<public type="string" name="recents_clear_all_location_top_center"

find

0x7f090359

replace with below code

<public type="string" name="recents_clear_all_location_bottom_right"

find

0x7f09035a

replace with below id

<public type="string" name="recents_clear_all_location_bottom_left"

find

0x7f09035b

replace with below id

<public type="string" name="recents_clear_all_location_bottom_center"

find

0x7f060042

replace with below id

<public type="xml" name="gk_recents_panel_settings"

10.Now Compile Settings and move to your device.

Continued in next post