Tutorial ini uda ane coba dan work di hh ane yg EVERCOSS A7 JELLY BEAN 4.2.2....
- download bahan"nya...di...http://www.4shared.com/zip/7ltVutrUba/lcd_Density.html
tempatkan bahan" tersebut sesuai dgn tempatnya masing"...
Langkah pertama.....
-decompile Settings.apk nya....
- masuk ke Settings.apk\res\\values\\arrays.xml
tambahkan ini di baris terakhir...(bebas sih cuma biar rapi aja) sebelum </resources>
Code :
<string-array name="entries_lcd_density">
<item>240</item>
<item>242</item>
<item>244</item>
<item>246</item>
<item>248</item>
<item>250</item>
<item>252</item>
<item>254</item>
<item>256</item>
<item>258</item>
<item>260</item>
<item>262</item>
<item>264</item>
<item>266</item>
<item>268</item>
<item>270</item>
<item>272</item>
<item>274</item>
<item>276</item>
<item>278</item>
<item>280</item>
<item>282</item>
<item>284</item>
<item>285</item>
<item>286</item>
<item>288</item>
<item>290</item>
<item>292</item>
<item>294</item>
<item>296</item>
<item>298</item>
<item>300</item>
<item>302</item>
<item>304</item>
<item>306</item>
<item>308</item>
<item>310</item>
<item>312</item>
<item>314</item>
<item>316</item>
<item>318</item>
<item>320</item>
<item>322</item>
<item>324</item>
<item>326</item>
<item>328</item>
<item>330</item>
<item>332</item>
<item>334</item>
<item>336</item>
<item>338</item>
<item>340</item>
<item>342</item>
<item>344</item>
<item>346</item>
<item>348</item>
<item>350</item>
<item>352</item>
<item>354</item>
<item>356</item>
<item>358</item>
<item>360</item>
</string-array>\par
<string-array name="lcd_density_entries">
<item>160</item>
<item>182</item>
<item>200</item>
<item>220</item>
<item>240</item>
<item>245</item>
<item>268</item>
<item>280</item>
<item>300</item>
<item>320</item>
<item>340</item>
<item>361</item>
<item>420</item>
<item>480</item>
<item>@string/custom_density</item>
</string-array>
<string-array name="lcd_density_stock_entries">
<item>213 -- nexus7</item>
<item>240 -- hdpi</item>
<item>320 -- xhdpi</item>
<item>480 -- xxhdpi</item>
</string-array>
<string-array name="lcd_density_stock_values">
<item>213</item>
<item>240</item>
<item>320</item>
<item>480</item>
</string-array>
-tambahkan ini diSettings.apk/res/values/ids.xml
sama sebelum...</resources>
Code:
<item type="id" name="dpi">false</item>
<item type="id" name="dpi_edit">false</item>
-buka Settings.apk/res/values/strings.xml
tambahkan ini sebelum </resources>
Code:
<string name="title_ui">General UI</string>
<string name="title_ui_summary">Change the LCD Density</string>
<string name="dpi">DPI</string>
<string name="lcd_density_title">LCD Density</string>
<string name="lcd_density_summary">unknown</string>
<string name="current_lcd_density">"Current LCD Density: "</string>
<string name="lcd_density_wizard">LCD Density Wizard</string>
<string name="follow_through_title">Follow through!</string>
<string name="follow_through_summary">Make sure you follow the steps one-by-one and complete each one before proceeding to the next.</string>
<string name="stock_density_title">Change to preset values</string>
<string name="stock_density_summary">Tablets and older phones use 160. Most phones use 240.</string>
<string name="stock_density_changed_summary">"Density set to: "</string>
<string name="reboot_title">Reboot NOW!</string>
<string name="reboot_summary">Come back here after the reboot and complete the rest of the steps!</string>
<string name="clear_market_data_title">3. Clear all relevant market data.</string>
<string name="clear_market_data_summary">This step clears data from market, google play services and google services framework.</string>
<string name="clear_market_data_cleared">Data successfully cleared</string>
<string name="clear_market_data_donot_cleared">"Data couldn't be cleared, please clear it yourself!"</string>
<string name="reboot_cleardata_title">4. Reboot!</string>
<string name="reboot_cleardata_summary">Come back here after the reboot and complete the rest of the steps!</string>
<string name="open_market_title">5. Open Market and hit accept</string>
<string name="open_market_summary">Press back when done to return here.</string>
<string name="open_market_summary_could_not_open">"Couldn't open the market! If you're sure it's installed, open it yourself from the launcher."</string>
<string name="custom_density_title">Change density to whatever you like!</string>
<string name="custom_density_summary">Some values may cause compatibility issues with apps and the playstore, use at your own RISK!</string>
<string name="custom_density_summary_invalid">INVALID DENSITY!</string>
<string name="stock_density">320 stock</string>
<string name="custom_density">custom</string>
<string name="set_custom_density_title">Set custom density</string>
<string name="set_custom_density_set">Set</string>
<string name="custom_density_dialog_title">WARNING!</string>
<string name="custom_density_dialog_summary">Changing your LCD density can cause unexpected app behavior. If you encounter market app incompatibility please return here and restart the process from step 1.</string>
<string name="custom_density_dialog_button_got">Got it!</string>
<string name="custom_density_dialog_button_reboot">Reboot now</string>
<string name="su_dialog_error_title">Warning</string>
<string name="su_dialog_error_message">"An error occurred.
Please check for root access. To activate go into superuser settings and enable root access."</string>
<string name="lcd_warning_title">LCD Density Warning</string>
<string name="lcd_warning">Be Advised that it is recommended to use a Multi-DPI Play Store to avoid any issues with apps after changing your system density. Do you understand?</string>
<string name="lcd_warning_yes">YES</string>
<string name="lcd_warning_no">NO</string>
-buka Settings.apk/res/xml/display_settings.xml
tambahkan line ini sebelum... </PreferenceScreen>
Code:
<PreferenceScreen android:title="@string/lcd_density_title" android:key="lcd_density_setup" android:fragment="com.android.settings.adi.fragments.DensityChanger" />
</PreferenceScreen>
-di Settings.apk/AndroidManifest.xml
tambahkan line ini....
Code:
<activity android:label="@string/lcd_density_wizard" android:name=".fragments.DensityChanger">
<intent-filter>\par
<action android:name="android.intent.action.CREATE_SHORTCUT"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>\par
</activity>
- Decompile Settings.apk nya...
- Sign Settings.apk nya...
- dan lalu Recompile recompile lagi Settings.apk nya....
Langkah kedua....
samakan angka" dibawah ini dengan yg ada di public.xml Settings.apk agan" semua
-buka dulu Settings/smali/com/android/settings/adi/fragments
DensityChanger$1.smali
\tab #56\tab\tab 0x7f07083b\tab type="string" name="clear_market_data_cleared"
DensityChanger$4.smali
\tab #52\tab\tab 0x7f0a023b\tab type="id" name="dpi_edit"
\tab #120\tab 0x7f070844\tab type="string" name="custom_density_summary_invalid"
DensityChanger$ClearMarketDataTask.smali
\tab #582\tab 0x7f07083b\tab type="string" name="clear_market_data_cleared"
DensityChanger.smali
\tab #199\tab 0x7f07084d\tab type="string" name="su_dialog_error_title"
\tab #204\tab 0x7f07084e\tab type="string" name="su_dialog_error_message"
\tab #209\tab 0x7f070487\tab type="string" name="ok"
\tab #239\tab 0x7f050058\tab type="xml" name="adi_lcd_density_setup"
\tab #277\tab 0x7f07084f\tab type="string" name="lcd_warning_title"
\tab #283\tab 0x7f070850\tab type="string" name="lcd_warning"
\tab #289\tab 0x7f070852\tab type="string" name="lcd_warning_no"
\tab #299\tab 0x7f070851\tab type="string" name="lcd_warning_yes"
\tab #388\tab 0x7f070486\tab type="string" name="cancel"
\tab #407\tab 0x7f040095\tab type="layout" name="adi_alert_dialog_text_entry"
\tab #427\tab 0x7f070847\tab type="string" name="set_custom_density_title"
\tab #445\tab 0x7f070848\tab type="string" name="set_custom_density_set"
\tab #496\tab 0x7f070849\tab type="string" name="custom_density_dialog_title"
\tab #510\tab 0x7f07084a\tab type="string" name="custom_density_dialog_summary"
\tab #530\tab 0x7f07084b\tab type="string" name="custom_density_dialog_button_got"
\tab #548\tab 0x7f07084c\tab type="string" name="custom_density_dialog_button_reboot"
\tab #627\tab 0x7f070846\tab type="string" name="custom_density"
\tab #709\tab 0x7f070836\tab type="string" name="stock_density_changed_summary"
\tab #887\tab 0x7f070841\tab type="string" name="open_market_summary_could_not_open"
NOTE!
contoh....
DensityChanger$1.smali\par
#56\tab 0x7f07083b\tab type="string" name="clear_market_data_cleared"\par
tab #56 = posisi line di smali nya...
tab 0x7f07083b = nah itu angka" yg harus diganti dengan yg ada di public.xml agan" semua...
type="string" name="open_market_summary_could_not_open" = di public punya agan ini yg harus dicari lalu angka nya yg 7f.....ini lah yg menggantikan nanti nya angka" yg 7f.....di smali...
- Decompile Settings.apk nya...
- Sign Settings.apk nya...
- Terakhir Push Settings.apk ke system/app...
done
selamat mencoba dan jangan patah semangat klo masih gagal...dan biasakan lah membaca document di group sebelum bertanya sesuatu...
tutorial ane sadur dari....http://forum.xda-developers.com/showthread.php?p=51308318