Ingredients :
- OrangeFox Treble Recovery : https://drive.google.com/open?id=11tD-5aRVakZIcSd3sQsFpR9Dj5rAfu43
- Vendor Patch (Treble ROM) : https://drive.google.com/open?id=1nIBLzdAkW-N-dKXt4-2qPHXMNNs064qs
- Vendor Patch (non-Treble ROM) : https://drive.google.com/open?id=1c4hUDtf7l_-iO-MstLhYJR8tZpQipSEv
- Vendor Patch (for non-Treble ROM after Flashing Magisk) : https://drive.google.com/open?id=1JBNIskGFJOJKAnIdM8t_K_P_De_em8-Q
- Kernel : https://drive.google.com/open?id=1FAHZm3Fus30D1Y9lUj325FFSKAvbILkg
Tools :
- PC.
- TWRP Recovery or anything similar.
Major bugs :
- Goodix fingerprint not work (but FPC fingerprint work).
- Front camera 4 MP only instead of 16 MP (non-Treble only).
Steps to do :
- # 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.
- # 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.
- # 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).
- # Finalizing :
- Reboot System.
- # 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.
I do not understand
ReplyDeleteThere is a translation function in this blog, i suggest you to use it
DeleteI suggest making a video tutorial
ReplyDeleteДа, это будет здорово если вы сделаете видео урок
DeleteDetailed tutorial on 10/05/2020 at 22:05 WIB update
DeleteI installed the ROM Miui EU pie, but the camera bug and fingerprint still haven't been fixed, I need an update soon, because I like the ROM
ReplyDelete