* Mod 3Minit Battery. 1.Decompiler file SysemUI.apk ra bằng apktool. - Tìm theo đường dẩn res/layout/status_bar.xml. - Ctrl + F Tìm code : Code: android:layout_width="wrap_content" Thay bằng code này : Code: android:layout_width="0.0dip" Và code : Code: android:layout_height="wrap_content" Thay Bằng code này : Code: android:layout_height="0.0dip" (Thay như vậy là cho mất đi biểu tượng pin góc của máy ) Tíếp theo tìm dòng code này : Code: <ImageView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="7.0dip" /> Và thêm code này vào dưới nó : Code: <com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" /> (Code này để thêm biểu tượng pin của 3Minit Battery vào ) 2. Bạn download file này giải nén ra chép vào theo đường dẩn : smali/com/android/systemui/statusbar/policy 3. Đóng gói lại xong. Chép file SystemUI.apk mới sửa xong vào System/priv-app 4 . Tải file 3Minit Battery Này về chép vào System/app set 6 4 4. Chúc Bạn Thành Công Nhé .
Mod lock home ẩn : 1.Decompiler file SysemUI.apk ra bằng apktool. - Tìm theo đường dẩn res/layout/status_bar.xml. thêm code này cuối dòng Code: <LinearLayout android:gravity="left" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:paddingLeft="0.0dip" android:layout_width="50.0dip" android:layout_height="fill_parent" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" /> </LinearLayout> <LinearLayout android:gravity="right" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="50.0dip" android:layout_height="fill_parent" android:layout_marginRight="0.0dip" android:singleLine="true" android:layout_toRightOf="@id/recent_apps" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" /> </LinearLayout> Đóng gói lại xong ^^
Bạn cho mình hỏi bạn dùng chương trình gì để decompile và recompile vậy? Mình dùng APKtool bản 3.0, notepad trong máy để chỉnh code mà recompile bị lỗi. Thanks bạn nhiều
Có bác nào chụp ảnh xong phải đợi vài giây để lưu ảnh k?mình chụp xong cứ hiện đang lưu tầm 3s,trước dùng rom stock k thấy bị
Bạn làm 1 bài hướng dẫn cụ thể được không, mình làm tới bước recompile là bị lỗi. Làm hoài mà ko được gì hết. Bạn cố gắng hướng dẫn giúp mình nhé. Thanks bạn nhiều
các app hệ thống còn khá nặng, framework-res tới 24mb. những thành phần thừa bác nên xóa đi cho nhẹ. e chỉ góp ý thế thôi. hehe.
Mình làm được rồi, có điều đoạn code đó chèn trước dòng cuối cùng chứ ko phải để ở cuối bro ơi. Sau bao lần tìm hiểu thì làm ok rồi. Cám ơn bro nhiều nhá
có ai bị lổi quay video bằng phần mềm camera sẳn của máy bị lổi mất âm thanh không ai biết hướng dẩn em cách khắc phục cái @@
Chờ file fix của chủ thớt đi bạn ơi. Chủ thớt đang bận nhiều việc quá. Nếu dùng bản S_S thì dùng file fix theo hướng dẫn ở trên nhá bạn