Translate

Jumat, 15 Agustus 2014

Swipe recent app gb

swipe recent app

paham dc/rc via pc/hh CARA :

1. Decompile framework-res.apk
2. Download framework_swipe.zip
move/copy ketempatnya masing2
3. Buka res/values/ids.xml dan tambahkan kode berikut sebelum <*/resources>

Code:

<*item type="id" name="ll">false<*/item>
<*item type="id" name="iVIcon">false<*/item>
<*item type="id" name="tVName">false<*/item>
<*item type="id" name="mainlayout">false<*/item>
<*item type="id" name="swiperecent">false<*/item>
<*item type="id" name="taskman">false<*/item>
<*item type="id" name="noapps">false<*/item>

ingat tanda bintang hapus

4. Save
rekompil lalu dekompil lagi

5.) buka framework-res/res_src/values/public.xml
catat kode publik dibawah ini
<*public type="layout" name="appsview_item" id="0x7fxxxxxx" />
public id nomer 1

<*public type="id" name="ll" id="0x7fxxxxxx" />
public id nomer 2

<*public type="id" name="iVIcon" id="0x7fxxxxxx" />
public id nomer 3

<*public type="id" name="tVName" id="0x7fxxxxxx" />
public id nomer 4

<*public type="id" name="mainlayout" id="0x7fxxxxxx" />
public id nomer 5

<*public type="id" name="swiperecent" id="0x7fxxxxxx" />
public id nomer 6

<*public type="id" name="taskman" id="0x7fxxxxxx" />
public id nomer 7

<*public type="id" name="noapps" id="0x7fxxxxxx" />
public id nomer 8

<*public type="layout" name="recent_apps_dialog" id="0x7fxxxxxx" />
public id nomer 9

save rekompil sign rename lalu

6. Decompile android.policy.jar.
7. Download policy_swipe.zip extract move/copy ke folder smali 8. buka AppsArrayAdapter.smali
replace kode berikut dengan kode yang tadi sudah dicatat

Code:
const v3, 0x1090093
ganti dengan public id nomer 1
const v3, 0x10202b9
ganti dengan public id nomer 4
const v3, 0x10202b8
ganti dengan public id nomer 3
const v3, 0x10202b7
ganti dengan public id nomer 2

9.Save
lalu buka RecentApplicationsDialog.smali
const v5, 0x1090093
ganti dengan public id nomer 1
const v3, 0x10202bc
ganti dengan public id nomer 7
const v3, 0x10202bb
ganti dengan public id nomer 6
const v3, 0x10202bd
ganti dengan public id nomer 8
const v3, 0x10202ba
ganti dengan public id nomer 5
const v3, 0x1090054
ganti dengan public id nomer 9

10. save recompile android.policy.jar.
11.push/flashable zip

DOWNLOAD BAHAN
android policy swipe.zip
framework-res swipe.zip

Credits :
Roman Nurik@github
JakeWharton@github
NineOldAndroids
StackoverFlow.com
@PineappleOwl
@mariozawa
Lenox Devs
Potato Inc

sumber http://forum.xda-developers.com/galaxy-y/general/guide-swipe-recent-apps-t2792836

1 komentar: