آموزش فعال سازی Night Shift Mode android7.1

ساخت وبلاگ
سلام این مشکل خیلی هاست که از اندروید 7.1 در z5 استفاده میکنند
من اموزشش رو پیدا کردم لطفا یکی ترجمه کنه...


So I'm sure everyone knows about Android 7.0's Night Mode and how it can be toggled pretty easily with a Settings.Secure modification, and most people probably know how Google replaced Night Mode with Night Display in 7.1+. The problem with Night Display is that devices need to be "compatible." I don't like this change, but I found a bit of a workaround if you're not able to build your own ROM (or you don't want to). This should work on most 7.1+ devices.

For this, you'll need to know how to use APKTool.


  1. Get your framework-res.apk (/system/framework/framework-res.apk)

  2. Use APKTool to decompile the APK

  3. Open framework-res/res/values/bools.xml and find this: `<bool name="config_nightDisplayAvailable">false</bool>`

  4. Change `false` to `true`

  5. Use APKTool to rebuild the APK

  6. Open the original APK in a ZIP viewer and copy the META-INF folder into the new APK

  7. Push the new APK back to your device and reboot to TWRP (If you have it. Otherwise, do these operations with `adb shell`)

  8. Copy the new APK to /system/framework/ and set its permissions to 0644 (rw-r--r--)

  9. Reboot. Now, the Night Display Settings.Secure options will actually work.


Hopefully this is the right section. I couldn't find anything in General for guides, and I saw this had guides similar to this. Tell me if it's wrong, and I'll flag to move


[GUIDE] Get Night Display working on 7.1+ | Android Development and Hacking
.
vbiran انجمن ها...
ما را در سایت vbiran انجمن ها دنبال می کنید

برچسب : نویسنده : محمد رضا جوادیان vbiran بازدید : 214 تاريخ : دوشنبه 27 آذر 1396 ساعت: 2:26