.

Add toggle vào notifi

Link tải: Tải tại đây

-Mở folder smali/com/zam/cover/cover.smali

-Search id  0x7f0c00c9
-Thay nó bằng id public.xml
<public type="id" name="lenoxpic" id="( 0x7....... )" />
*  save )

-Mở Quote.smali
-Search id  0x7f0c00cb
-Thay nó bằng id public.xml
<public type="id" name="cover_label" id="( 0x7....... )" />
* save )

---------------------------

-Mở folder smali/com/zam/owner/ProfileName.smali

-Search id  0x7f0c00ca
-Thay nó bằng id public.xml
<public type="id" name="name_profile" id="( 0x7....... )" />
*  save )

-Mở ProfilePicture.smali

-Search id  0x7f0c00cc
-Thay nó bằng id public.xml
<public type="id" name="pp" id="( 0x7....... )" />
*  save )

----------------------------

Sửa thông tin profile ở SystemUI/res/layouts/reza_spectro_profile.xml


- done!
- recompile
- sign
- push
- reboot
-----------++++++++GUTLAK+++++++------------

kalo gagal coba lagi..... :p


      Editing Tut By                                  Original tutor by me
      Reza Dhepaluz                                      "Dixo Lahagu"

                            Wassalam....



--------------66666666666666666666666------------

ui facebook ver 1

http://www.oni.vn/RlLcC

B1.Bung SystemUI.apk mà bạn đang dùng
mở file status_bar_expanded.xml (hoặc gemini_status_bar_expanded.xml tùy  máy) ở trong res/layout
> sao chép dòng code này
 <include android:layout_width="fill_parent" android:layout_height="174.0dip" layout="@layout/kholish_layout" />
-> dán dòng code đã sao chép ở trên vào dưới dòng code này
this line
<include layout="@layout/status_bar_expanded_header" />
->sao chép thư mục res trong Bahan-Bahan\Bahan step 1\SystemUI_src\ mà bạn đã tải sau đó chép vào thư mục SystemUI mà bạn đã bung ra

- đóng gói và sign SystemUI của bạn
- kiểm tra xem có lỗi nào không? nếu không làm tiếp bước 2

B2. Bung SystemUI.apk mà bạn vừa làm xong ở B1
- Mở kholish_layout.xml trong thư mục SystemUI/res/layout

-> Tìm dòng code chứa  android:text="tempat foto profile"

-Sau đó thay        <TextView
bằng:   <com.nemesis.ownerinfo.Carrier

-Tiếp tìm dòng code chứa     android:text="tempat nama"
-sau đó thay thế  <TextView
bằng
<com.nemesis.ownerinfo.NamePlate
sau khi thay xong thì xóa android:text="tempat nama" và thay bằng android:text=""

- sao chép thư mục smali trong thư mục Bahan-Bahan\Bahan Step 2\SystemUI_src và dán vào thư mục SystemUI mà bạn đã bung ra ở B2
 đóng gói và sign SystemUI của bạn
-cài đặt quickpic.apk ở trong Bahan-Bahan\Bahan Step 2\ vào thiết bị của bạn
và đưa file apk com.nemesis.xxx.apk   vào  system/app set quyền rw-r-r .
- đóng gói và sign SystemUI của bạn
- kiểm tra xem có lỗi nào không? nếu không làm tiếp bước 3

B3: Bung SystemUI.apk mà bạn vừa làm ở B2
-sao chép thư mục smali trong Bahan-Bahan\bahan step 3\SystemUI_src và dán vào thư mục SystemUI mà bạn đã bung ra ở B3
sao chép file com.lenox.Lenox_Label.apk vào system/app và set quyền rw-r-r

- mở file lenoxlabel.smali trong thư mục SystemUI\smali\com\lenox\Lenox_Label, and mở file public.xml trong SystemUI\res\values\

- trong lenoxlabel.smali tìm dòng 25 và sẽ thấy 0x7f08011f, thay 0x7f08011f bằng code của lenoxlabel trong public.xml

sau khi thay xong thì lưu lenoxlabel.xml và thoát ra
tiếp mở file lenoxpicture.smali trong SystemUI\smali\com\lenox\Lenox_Label

-tìm dòng thứ 21 và thay 0x7f08011c với code của "lenoxpic" trong public.xml
 sau khi thay xong thì lưu lenoxp.smali và thoát ra
để dễ dàng, các bạn dùng chức năng tìm kiếm cho dễ dàng


-mở fie kholish_layout.xml trong thư mục SystemUI\res\layout
- tìm dòng code chứa android:text=""  và thay <TextView bằng <com.lenox.Lenox_Label.lenoxpicture

- tìm tiếp dòng code chứa android:text="tempat status" và thay <TextView bằng <com.lenox.Lenox_Label.lenoxlabel
sau khi thay xong thì xóa android:text="tempat status" và thay bằng android:text=""

- đóng gói và sign SystemUI của bạn

B4.
- Bung SystemUI.apk mà bạn đã làm ở xong ở B3
- mở kholish_layout.xml
- tìm dòng code chứa android:text="tempat tombol" và thay <TextView thành <com.b16h22.statusbar.MultiPanelButtons

sau khi thay xong thì xóa android:text="tempat tombol" và thay bằng android:text=""

- sao chép 2 thư mục res và smali trong Bahan-Bahan\Bahan step 4\SystemUI_src vào thư mục SystemUI mà bạn đã bung ra ở B4

mở file status_bar_expanded.xml (hoặc gemini_status_bar_expanded.xml tùy  máy) ở trong res/layout
sao chép dòng code
<com.b16h22.statusbar.MultiPanelFlipper android:id="@+id/markmellarpes_multi" android:layout_width="fill_parent" android:layout_height="wrap_content">
và dán ở trên dòng code
<ScrollView android:id="@id/scroll" android:background="@*android:color/transparent" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
                        <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:background="@*android:color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
                    </ScrollView>
và code này ở bên dưới
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
                        <include layout="@layout/kholish_tab1" />
                    </ScrollView>
                    <ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
                        <include layout="@layout/kholish_tab2" />
                    </ScrollView>
                </com.b16h22.statusbar.MultiPanelFlipper>
-Open style.xml trong SystemUI\res\values\
ở trước dòng </resources> (dưới cùng)
dán code này:
        <style name="InformationItemTitleStyle">
        <item name="android:textSize">17.0sp</item>
        <item name="android:textColor">#ffcccccc</item>
        <item name="android:gravity">right</item>
        <item name="android:paddingLeft">16.0dip</item>
        <item name="android:paddingRight">10.0dip</item>
    </style>
    <style name="InformationItemTabStyle">
        <item name="android:paddingTop">2.0dip</item>
    </style>
    <style name="InformationTextStyle">
        <item name="android:textSize">17.0sp</item>
        <item name="android:textColor">#ff99ff00</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
    </style>
- đóng gói và sign SystemUI của bạn

B5: bung SystemUI.apk mà bạn là xong ở B4
- mở file public.xml trong thư mục SystemUI\res\values
- mở file  MultiPanelButtons.smali trong SystemUI\smali/com/
b16h22/statusbar/
- tìm id  "btn_default_small" trong public
- thay id của các dòng 54, 61, & 68 (0x7f020006 ) trong MultiPanelButtons.smali bằng id của "btn_default_small" trong public.xml

mở file MultiPanelFlipper.smali trong SystemUI\smali/com/
b16h22/statusbar/
- tìm "markmellarpers_multi" trong public.xml

- thay id của dòng 21 (0x7f0c0108) trong MultiPanelFlipper.xml bằng id của "markmellarpers_multi" trong public.xml

- đóng gói và sign SystemUI của bạn

- chép vào SystemUI.apk vào thiết bị của bạn
dùng root explorer chép vào system, set quyền rw-r-r
di chuyển sang system/app
khởi động lại máy và thưởng thức :D



--------------66666666666666666666666------------





--------------66666666666666666666666------------



http://www.oni.vn/oD7wm


 . Decomple SystemUI.apk

a. chép file vào folder SystemUI_src theo đường dẫn

1.  mở  SystemUI/res/vaules/ids.xml
dán Code vào dưới cùng trên </resources>

    <item type="id" name="spomc_toggle_toggle_button">false</item>
    <item type="id" name="spomc_toggle_icon_button">false</item>
    <item type="id" name="spomc_toggle_text_button">false</item>


2.mở SystemUI/res/values/strings.xml

dán Code vào dưới cùng trên </resources>

    <string name="spomc_always_use_accessory">Use by default for this USB accessory</string>
    <string name="spomc_bt">BT</string>
    <string name="spomc_data">Data</string>
    <string name="spomc_rotate">Rotate</string>
    <string name="spomc_wifi">Wi-Fi</string>
    <string name="spomc_gps">GPS</string>
    <string name="spomc_wifiap">Wi-Fi AP</string>
    <string name="spomc_airplane">Airplane</string>
    <string name="spomc_vibrate">Vibrate</string>
    <string name="spomc_silent">Silent</string>
    <string name="spomc_torch">Torch</string>
    <string name="spomc_sync">Sync</string>
    <string name="spomc_settings">Settings</string>
    <string name="spomc_control">Controller</string>
    <string name="spomc_ram">Clear RAM</string>
    <string name="spomc_brightness">Brightness</string>
    <string name="spomc_weather">Weather</string>
    <string name="spomc_volumes">Volume</string>
    <string name="spomc_widgets">Widget</string>
    <string name="spomc_reboot">Reboot</string>
    <string name="spomc_battery">Battery</string>
    <string name="spomc_troll">Troll</string>
    <string name="spomc_flash">Flash</string>
    <string name="spomc_prev">Previous</string>
    <string name="spomc_next">Next</string>
    <string name="spomc_play">Play/Pause</string>
    <string name="spomc_sleep">Sleep</string>
    <string name="spomc_default_wifi">WIFI</string>
    <string name="spomc_default_bt">BT</string>
    <string name="spomc_default_gps">GPS</string>
    <string name="spomc_default_rotate">ROTATE</string>
    <string name="spomc_default_vibrate">VIBRATE</string>
    <string name="spomc_default_control">CONTROL</string>
    <string name="spomc_default_sync">SYNC</string>
    <string name="spomc_default_data">DATA</string>
    <string name="spomc_default_silent">SILENT</string>
    <string name="spomc_default_settings">SETTINGS</string>
    <string name="spomc_default_airplane">AIRPLANE_MODE</string>
    <string name="spomc_default_ram">CLEAR_RAM</string>
    <string name="spomc_default_brightness">BRIGHTNESS</string>
    <string name="spomc_default_weather">WEATHER</string>
    <string name="spomc_default_volumes">VOLUMES</string>
    <string name="spomc_default_widgets">WIDGETS</string>
    <string name="spomc_default_reboot">REBOOT</string>
    <string name="spomc_default_battery">BATTERY</string>
    <string name="spomc_default_troll">TROLL</string>
    <string name="spomc_default_flash">FLASH</string>
    <string name="spomc_default_prev">PREV</string>
    <string name="spomc_default_next">NEXT</string>
    <string name="spomc_default_play">PLAY</string>
    <string name="spomc_default_sleep">SLEEP</string>
    <string name="spomc_default_profile">PROFILE</string>
    <string name="spomc_default_cpu">CPU</string>

3.mở SystemUI/res/values/styles.xml

dán Code vào dưới cùng trên </resources>

    <style name="brucekey_icon">
        <item name="android:disabledAlpha">?android:disabledAlpha</item>
        <item name="android:background">@drawable/togglebtn_bg</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
    </style>


4. mở SystemUI/res/values/array

dán Code vào dưới cùng trên </resources>

    <string-array name="spomc_default_toggles">
        <item>@string/spomc_default_wifi</item>
        <item>@string/spomc_default_bt</item>
        <item>@string/spomc_default_gps</item>
        <item>@string/spomc_default_rotate</item>
        <item>@string/spomc_default_vibrate</item>
        <item>@string/spomc_default_sync</item>
        <item>@string/spomc_default_silent</item>
        <item>@string/spomc_default_settings</item>
        <item>@string/spomc_default_data</item>
        <item>@string/spomc_default_airplane</item>
        <item>@string/spomc_default_ram</item>
        <item>@string/spomc_default_control</item>
        <item>@string/spomc_default_brightness</item>
        <item>@string/spomc_default_weather</item>
        <item>@string/spomc_default_volumes</item>
        <item>@string/spomc_default_reboot</item>
        <item>@string/spomc_default_battery</item>
        <item>@string/spomc_default_troll</item>
        <item>@string/spomc_default_flash</item>
        <item>@string/spomc_default_play</item>
        <item>@string/spomc_default_prev</item>
        <item>@string/spomc_default_next</item>
        <item>@string/spomc_default_sleep</item>
        <item>@string/spomc_default_profile</item>
        <item>@string/spomc_default_cpu</item>
    </string-array>

5. dán code này vào tab trống

Code:

        <com.spacey.xperiatabs.toggles.TogglesView android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />


6.  - RECOMPILE
    - SIGN
    - PUSH
    -Reboot
    -PRAY 😀
6. sét 644 app ToggleSettings.apk cho vào system/app
 Nguồn XDA
 Dịch Nguyễn Thanh Tùng