xchieclax (SV!) [Off] [#] (24.10.2014 / 09:07) Đang tìm người yêu |
DOWNLOAD
Dùng để Decompile, Recompile apk
Công cụ:
- Apktool Bạn cần [Đăng nhập] để thấy link!
- Notepad++ Bạn cần [Đăng nhập] để thấy link!
- JDK Bạn cần [Đăng nhập] để thấy link!
- JRE Bạn cần [Đăng nhập] để thấy link!
CHÚ Ý:
- Các file apk đã được chỉnh sửa làm ví dụ trong bài chỉ dành cho Xperia S đang chạy ROM eXistenZ - Niaboc79
- Bạn có thể dùng cách trên cho các phiên bản Android, cũng như thiết bị khác
TIẾN HÀNH:
- Dùng Root Explorer copy file systemUI.apk (system/app/systemUI.apk) vào thẻ nhớ.
- Bạn down file apktool về đổi tên lại thành apktool(cho nó tiện)
Decompile:
- Giải nén apktool vào ổ C:
- Copy file systemUI.apk vào thư mục apktool
- Vào cmd (Start->Run->cmd)
- Gõ cd c:\apktool
- Gõ apktool if systemUI.apk
- Gõ apktool d systemUI.apk (đợi giải nén)
- Ẩn cmd xuống tí còn làm tiếp.
- Ta được thư mục SystemUI trong C:\apktool
Sau bước này, bạn tiến hành chỉnh sửa với Notepad++, sẽ có ví dụ và file đính kèm bên dưới
Sau khi chỉnh sửa xong, ta sẽ tiến hành Recompile
Recompile:
- Bật cmd lên gõ apktool b systemui
Phần 1: Chỉnh sửa thông báo Pin.
- Decompile như ở trên
- Vào thư mục systemUI->res-> values-vi (với tiếng Việt) hoặc values (với tiếng Anh).
- Mở file strings.xml (mở bằng notepad++).
- Chỉnh sửa các mục bôi đỏ theo ý bạn.
Lưu ý : %d%% là % Pin.
- Recompile như trên #1
- Mở file systemUI.apk lúc này lên bằng winrar hoặc 7zip
- Copy 2 file META-INF + AndroidManifest.xml vào c:\apktool\SystemUI\build\apk
- Sau khi copy xong bật lại cmd gõ apktool b systemUI
- Vào c:\apktool\systemUI\dist ta sẽ được file systemUI.apk vừa sửa xong.
- Copy file systemUI.apk vào đt vậy là xong (lấy chỗ nào đặt lại chỗ đó và set permission như cũ)
- File SystemUI.apk đã mod: Bạn cần [Đăng nhập] để thấy link!
Phần 2: Chỉnh sửa Màn Hình Khóa.
- Copy file UxpNxtLockScreen.apk(system/app\UxpNxtLockScreen.apk) vào C:\apktool
- Decompile như ở trên
- Vào thư mục UxpNxtLockScreen->res-> values
- Mở file integers.xml (mở bằng notepad++).
Sửa dòng <integer name="unlocks_before_hint_removal">3</integer>
thành <integer name="unlocks_before_hint_removal">9999999</integer>
Tiếp đến vào UxpNxtLockScreen->res-> values-vi (với tiếng Việt) hoặc values (với tiếng Anh).
Chỉnh sửa các mục bôi đỏ theo ý bạn.
Recompile như trên #1
Làm tương tự phần trên.
File UxpNxtLockScreen.apk đã mod: Bạn cần [Đăng nhập] để thấy link!
Phần 3: Thêm mức lưu lượng sử dụng dữ liệu 0,00K/s
-Decompile như trên.
-Ta đc mục systemui.
-Bạn dow file này về: Bạn cần [Đăng nhập] để thấy link! sửa tên lại thành smali rồi copy vào systemui (copy chồng lên)
-Vào thư mục systemui->res->layout
-Mở file status_bar.xml lên rồi copy dòng này vào:
<fx.dzolcp.Speed android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Save lại.
-Tiếp vào thư mục system->res->values
-Mở file styles.xml lên rồi copy dòng này vào cuối:
<style name="TextAppearance.StatusBar.Speed" parent="@style/TextAppearance.StatusBar.Clock"> <item name="android:textSize">14.0dip</item> <item name="android:textColor">#ffffffff</item></style>
Save lại.
Recompile như trên #1
Làm tương tự phần trên.
vnsony.vn
__________
Tin học như cơm bình dân
Bài viết liên quan:
Xem chủ để ngoại tuyến (Offline)Sắp xếp theo thứ tự từ trên xuống