Wednesday, February 26, 2014

Remove bluetooth name limit by Tweezy

By Zion Near on Monday, January 27, 2014 at 11:52am
Credits goes to SIr  Tweezy.

1. Decompile Settings.apk2. Open Settings.apk/smali/com/android/settings/bluetooth/BluetoothNamePreference.smali with any text editor app/program3. Find this line:

.line 79new-array v4, v8, [Landroid/text/InputFilter;

new-instance v5, Lcom/android/settings/bluetooth/BluetoothNamePreference$Utf8ByteLengthFilter;

const/16 v6, 0x20

invoke-direct {v5, v6}, Lcom/android/settings/bluetooth/BluetoothNamePreference$Utf8ByteLengthFilter;->(I)V

aput-object v5, v4, v7

invoke-virtual {v2, v4}, Landroid/widget/EditText;->setFilters([Landroid/text/InputFilter;)V

4. Delete it5. Save the smali file then recompile then push or flash it via CWM! Enjoy!

No comments:

Post a Comment