Song : Maroon 5 - One More Night

Hotel - F : [★Hotel★™ FAMILY Says Welcome To My Blog.]

Sunday, April 26, 2020

0 Alternative to A.R.I.S.E. Sound System Mod for Android 9+

For better Android sound system, you can follow the steps below :

Alternative 1 (Treble ROM and non-Treble ROM supported) - Ainur Narsil + Dolby Digital Plus + ViPER4Android FX + v4arise preset :
  1. Download this source.
  2. Flash Ainur Narsil with Magisk.
  3. Install ViPER4Android FX 2.7.apk then open it's app and install driver. Next, extract ViPER4Android-2.7-presets-v2.0.zip to /sdcard/Android/data/com.pittvandewitt.viperfx/files.
  4. Flash Audio Modification Library (AML) with Magisk then restart your phone.
  5. Flash Dolby Digital Plus with Magisk (do not open it).
  6. Flash Audio Compatibility Patch with Magisk then restart your phone.
  7. Treble ROM jump to step 8; for non-Treble ROM, boot to recovery then flash vendor_patch_non-treble_v4a_ddp_ainur-narsil.zip
  8. You can open Dolby or DDPlus and ViPER4Android FX now. 
  9. I suggest you to use v4arise preset on ViPER4Android FX 2.7 and use original Movie preset on Dolby or DDPlus.
Alternative 2 (Treble ROM only) - Ainur Narsil + Dolby Atmos + ViPER4Android FX + V4ARISE preset :
  1. Download this source.
  2. Flash ACDB with Magisk.
  3. Flash ViperFX-0.95-ACDB with Magisk then extract ViPER4Android.zip to /sdcard.
  4. Flash Dolby Atmos Blend or RC4 with Magisk.
  5. Flash Ainur Narsil from Magisk.
  6. I suggest you to use V4ARISE preset on ViPER4Android FX 2.7 and do not change any settings on Dolby Atmos.
Credits :
Ainur Radio, ViPER520, Dolby Audio™, Zackptg5, ACDB, A.R.I.S.E Sound Systems™, XDA, and many people that contributing to this.
  

Friday, April 24, 2020

6 How to Port Xiaomi Redmi 4X (santoni) Treble and non-Treble ROM to Xiaomi Redmi Note 5A Prime (ugg)

----------------------------------------------------------------------------
Ingredients :

----------------------------------------------------------------------------
Tools :

  • PC.
  • TWRP Recovery or anything similar.
----------------------------------------------------------------------------
Major bugs :

  • Goodix fingerprint not work (but FPC fingerprint work).
Minor bugs :

  • Front camera 4 MP only instead of 16 MP (non-Treble only).
----------------------------------------------------------------------------
Steps to do :

  1. # How to make santoni ROM zip be flashable to ugg device :
    • Prepare santoni ROM in your PC then go to \META-INF\com\google\android in that ROM zip. 
    • Next, extract updater-script and modify that by delete assert line text (leave the empty space) with notepad++. 
    • Then, drag modified updater-script to that ROM \META-INF\com\google\android directory and update zip. 
  2. # How to trebelized ugg device partition table :
    • Boot to TWRP Recovery then flash OrangeFox Treble Recovery.
    • In OrangeFox Recovery, select Wipe > tick Dalvik/ART Cache, System, Data, Cache, and Vendor > slide the slider. 
    • Still in OrangeFox Recovery, select Menu > Manage Partitions > Data > Format Data.
    • Go back to Menu > Reboot > Reboot Recovery.
  3. # How to apply ugg kernel and vendor patch to ported santoni ROM:
    • In OrangeFox Recovery > select Wipe > tick Dalvik/ART Cache, System, Data, Cache, and Vendor > slide the slider. 
    • Copy ported santoni ROM, kernel, and Vendor Patch (Treble or non-Treble ROM) to Internal Storage. 
    • In OrangeFox Recovery, flash that santoni ROM > Kernel > Vendor Patch (Treble or non-Treble ROM). 
    • Extra step for non-Treble ROM if you want to flash Magisk : 
      • Boot to OrangeFox Recovery then flash Vendor Patch (for non-Treble ROM after Flashing Magisk). 
  4. # Finalizing :
    • Reboot System.
  5. # How to change device identity from Xiaomi Redmi 4X to Xiaomi Redmi Note 5A Prime :
    • Modify build.prop in /system to :
      ro.system.build.fingerprint=xiaomi/ugg/ugg:7.1.2/N2G47H/V9.5.8.0.NDKMIFA:user/release-keys
      ro.product.system.model=Redmi Note 5A Prime
      ro.product.system.device=ugg
      ro.product.model=Redmi Note 5A Prime
      ro.product.device=ugg
      ro.build.product=ugg
      ro.build.description=ugg-user 7.1.2 N2G47H V9.5.8.0.NDKMIFA release-keys
      ro.build.fingerprint=xiaomi/ugg/ugg:7.1.2/N2G47H/V9.5.8.0.NDKMIFA:user/release-keys
    • Modify build.prop in /vendor to :
      ro.vendor.build.fingerprint=xiaomi/ugg/ugg:7.1.2/N2G47H/V9.5.8.0.NDKMIFA:user/release-keys
      ro.product.vendor.device=ugg
      ro.product.vendor.model=Redmi Note 5A Prime
      ro.bootimage.build.fingerprint=xiaomi/ugg/ugg:7.1.2/N2G47H/V9.5.8.0.NDKMIFA:user/release-keys
    • Modify build.prop in /vendor/odm/etc to :
      ro.odm.build.fingerprint=xiaomi/ugg/ugg:7.1.2/N2G47H/V9.5.8.0.NDKMIFA:user/release-keys
      ro.product.odm.device=ugg
      ro.product.odm.model=Redmi Note 5A Prime
----------------------------------------------------------------------------
FAQ : 

  • MI logo bootloop even after kernel flash? flash Magisk.
  • Facing offline charging bug? calibrate your battery with Easy Battery Calibration. Still not work? use another ROM.
----------------------------------------------------------------------------
Thanks to
@adislice (for the initial Android 10/Q kernel and recovery build),
@ghiffaryr (for camera, fingerprint, sensor, and sound vendor patch; reboot recovery; DT2W Goodix-TS and FT5435-TS),
@zqm64 (for 16 mp front camera on treble ROM and front flashlight),
and santoni devs that making much great ROM.
----------------------------------------------------------------------------
Changelog :

  • Initial patch build 20/04/2020 at 11:24 WIB.
    • Manually fixing steps.
  • Updated 01/05/2020 at 22:00 WIB.
    • More efficient way to port non-Treble ROM.
  • Updated 02/05/2020 at 11:25 WIB.
    • ctsProfile: false fixed.
  • Updated 07/05/2020 at 21:56 WIB
    • Added flashable zip vendor patch for Treble ROM.
    • Included recent apps button fix to vendor patch.
  • Updated 09/05/2020 at 01:03 WIB
    • Optimized vendor patch.
  • Updated 10/05/2020 at 21:09 WIB
    • Added missing Goodix fingerprint driver (maybe Goodix fingerprint still not fixed anyway).
  • Updated 10/05/2020 at 22:05 WIB
    • Detailed tutorial.
  • Updated 11/05/2020 at 17:14 WIB
    • Green camera fixed - Thanks to @ghiffaryr.
  • Updated 11/05/2020 at 20:38 WIB
    • Auto mount added to vendor patch updater-script.
  • Updated 07/06/2020 at 09:19 WIB
    • 16 MP front camera fixed for Treble ROM - Thanks to @zqm64.
  • Updated 28/06/2020 at 01:54 WIB
    • DT2W enabled by default in kernel for Goodix-TS and FT5435-TS  - Thanks to @ghiffaryr.
    • Reboot recovery fixed - Thanks to @ghiffaryr.
    • Front flashlight enabled by fixing kernel configuration - Thanks to @zqm64.
----------------------------------------------------------------------------