[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mountaser halak:
Changelog

20190604-tissot-Official]

• Merged June security patches

• Improved Display Power On Delay

• RR Upstreams

• LOS Upstreams

20190526-tissot-Official]

* Merged May Security Patches

• Updated Vendor libs from the latest Stock

• Moun Kernel V8.1

• Kernel Upstream to 4.9.176

• Caf and Drivers Upstreams

• WiFi Driver Prima Upstreams

• Techpack Audio Driver Upstreams

• Fixed F2FS support

• RR Upstreams

• LOS Upstreams

• Minor updates and fixes

20190313-tissot-Official]

* Merged March Security Patches

* RR Upstream

* Fixed IMS registration issues with Pie Firmwares

* Increased the amount of in-call and media volume steps

* Re-added QCOM's WFD implementation

* Moun Kernel V7.4

* Kernel Upstream to 4.9.162

* Drivers and caf upstreams

* WiFi Prima Driver Upstreams

* Minor updates and fixes

20190216-tissot-Official]

* RR and LOS Upstreams

* Feb Security update

* switched to a fully open source camera Driver thanks to Flex1911

* Re-enabled and fixed camera HAL1

* Fixed HFR camera capabilities

* Fixed FM radio

* Moun Kernel V7.2

* Kernel Upstream to 4.9.158

* Drivers and caf upstreams

* updated Se-policy for spectrum to work on enforcing in pie

* updated spectrum profiles and improved performance and gaming

20180913-tissot-Final/Treble-Final]

• Set the Tag to Final for the Final Oreo Build (Next is Pie but no ETA)

• Merged September security update

• RR upstreams

• Lineage upstreams

- Moun Kernel V5.6/V5.9

• Linux Upstream to 3.18.121

• CAF Upstream to LA.UM.6.6.r1-09600-89xx.0

• Updated Wi-Fi driver to LA.UM.6.6.r1-09600-89xx.0

• check the older Changelogs for the full none treble log

20180826-tissot-Official/Official-Treble]

• Merged August security update

• Some under the hood changes

• updated Gcam to Arnova's Pixel2Mod V8.2

• RR upstreams

• Lineage upstreams

• Fixed all the random bugs from the deleted RR AIO treble build from 3 days ago (VoLTE, Brightness slider, WIFI Hotspot, .....)

- Moun Kernel V5.2/V5.6

• Linux Upstream to 3.18.119

• CAF Upstream to LA.UM.6.6.r1-09500-89xx.0

• Updated Wi-Fi driver to LA.UM.6.6.r1-09500-89xx.0

• alot of spectrum improvements (you need to flash the kernel zip to get Spectrum support)

" Official links are down use Mega till they get fixed! "

20180708-tissot-Official/Official-Treble]

• Merged July security update

• Fixed signal fluctuations. Feel Stock like signal bar stability. (April modem recommended)

• Fixed MIUI offline charging animation in GSIs (Official-Treble ONLY)

• Slightly faster & smoother boot animation

• Various fixes for better stability

• Updated Gcam to Pixel2Mod V8 By Arnova8G2

• RR upstreams

• Lineage upstreams

- Moun Kernel V5.0/V5.1

• Full kernel Rebase

• Linux Upstream to 3.18.114

• CAF Upstream to LA.UM.6.6.r1-09000-89xx.0

• added magiskpolicy and fixed spectrum on boot profile set by giving it the right Permissions through Selinux Enforcing ( Thanks to [MENTION=3016351]kdra[/MENTION]g0n ) (you need to flash the kernel zip to get spectrum support)

• removed the 2.4GHz and the 850MHz gpu and cpu overclock and the Underclock to 307MHz(as its proven to be un-stable and it was effecting the battery life significantly)

• Added back the old Overclock from V3.3 2.2GHz on the CPU and 700 on the GPU (not on by defult)

• Added wireguard importer

• Fixed the battery leak from V4.3

• Redid the Spectrum battery profile and improved balanced profile and switched to simple ondemand gov for the cpu on all profiles (you need to flash the kernel zip to get spectrum support)

• Alot of Kernel wide cleanups

CAF Upstream to LA.UM.6.6.r1-08900-89xx.0

Removed lazyplug (no need for it anymore and it was useless all along)

Updated and improved AutoSMP integration with Spectrum (you need to flash the kernel zip to get spectrum support)

Fixed a bug were the build script wasnt updating GCC

Kernel wide cleanups (more to come V5 is coming soon)

20180628-tissot-Official-Treble

• initial release

• Added RR-OTA

- Changelog from experimental RR AIO

• Resurrection Remix Upstream

• Lineage OS Upstreams

• Updated Gcam to Pixel2Mod V8 By Arnova8G2

• Set GPU and CPU Max speed to stock speeds on boot (so the GPU and the CPU OC is 100% not on by defult)

• Moun Kernel V4.5

CAF Upstream to LA.UM.6.6.r1-08900-89xx.0

Removed lazyplug (no need for it anymore and it was useless all along)

Updated and improved AutoSMP integration with Spectrum (you need to flash the kernel zip to get spectrum support)

Fixed a bug were the build script wasnt updating GCC

Kernel wide cleanups (more to come V5 is coming soon)

20180612-tissot-Official

• Resurrection Remix Upstream to RR 6.1.0 (see the changelog for that in the settings)

• Lineage OS Upstreams

• Set GPU and CPU Max speed to stock speeds on boot (so the GPU and the CPU OC is 100% not on by defult)

• fixed bluetooth crash on boot When setprop on for bt is enabled

• Updated Gcam to Pixel3Mod V4 By Arnova8G2

• Fixed usb tethering (for sure this time)

• Moun Kernel V4.2

Linux Upstream to 3.18.111

Merge latest caf patches LA.UM.6.6.r1-08600-89xx.0

CPU Overclock to 2400 MHz (not on by defult)

GPU Overclocked to 855MHz (not on by defult)

Added CPU Underclock Freq down to 307MHz

• Moun Kernel V4.3

Linux upstream to Linux Upstream to 3.18.112

20180525-tissot-Official

• RR Upstream

• Updated Gcam to Pixel3Mod V3 By Arnova8G2

• Adjust MODEM_PA_MITIGATION and MODEM_PROC_TEMP_MITIGATION as per stock mido

• Moved thermal config to device tree

• Generated thermal-engine.conf

• Fixed BT mac address reading (calling over BT should now work as well)

• Added Missing atfwd dependency to DT and Vendor

• Fixed USB tethering not working for some users (needs to be confirmed)

• Moun Kernel V4.0

Changelog:

Added Spectrum support (u need to flash moun kernel to be able to use the Spectrum profiles)

Tuned the valuse for ondemand and conservative Governors

Added lcd notifier

Kernel Upstream to 3.18.109

Added LAZYPLUG and RELAXED Governors

Updated lazyplug to V2.0

set Relaxed Governor to Use State Notifier for Display Query

Added Relaxed Governor v1.3

Overwrite mac address if config file exists

Overclocked CPU to 2208MHz

Overclocked GPU to 700MHz

Added Spectrum support (Download The Spectrum App From Google Play )

Spectrum profiles: (u need to flash moun kernel to be able to use the Spectrum profiles)

Balance: everything is normal just like V3.3 with a small speed boost (Default Profile)

Performance: the CPU and GPU overclocking are present and autosmp hotplug is on

Battery: Relaxed Governor and LAZYPLUG are on to give you a mint kernel like battery life (thanks to [MENTION=6665890]GamingDevilsCC[/MENTION])

Gaming: the CPU and GPU overclocking are at the maximum and they are always on the max freq and adreno idler is of to insure no framedrops

20180512-tissot-Official

• Fixed Deep sleep

• disable sco enahnced command

• Revert Pin libskia copy of libMiCameraHal

• Ship and enable atfwd daemon

• Drop init.qcom.usb.sh

• Remove copying of QCRIL DB from vendor partition

• Enable Camera1 API for legacy targets.

• Update cam blob list

• Revert Add dummy libkeymaster1 for goodix fingerprint

• overwrite mac address if config file exists

• Revert "HACK: arm64: add CNTPCT_EL0 trap handler"

• Update Vendor blobs

20180510-tissot-Official

• Switched to GCam 5.1.018 1.6RC2 test4c by_SerJo87

• May security update

• Moun Kernel V3.3

• Linux Upstream to 3.18.108

• Revert nhappymann's Camera Patch [2/2]

• Fix audio_effects.xml copy out path

• Revert nhappymann's Camera Patch [1/2]

20180502-tissot-Official

• Set fluencetype to fluencepro

• Enable EIS by default

• Fix dual cam support for GCamWide app

• Set qcom parser value to 3183219

• Add nhappymann's Camera Patch

- Module to patch photos and video recording.

- Module resolution (4096x3072), quick and stable focus.

- 30/120 fps video on rear module and 30/60/120 fps on front module.

- Better bitrate on video and audio.

- Better EIS for GCam.

• Updated Gcam to Pixel2Mod-Arnova8G2-V7-Final

• Kernel Upstream to 3.18.107

• Merge latest caf patches

• all drivers are now updated means FP is now faster boot is faster and overall performance is improved by the caf patches

• RR upstream

20180426-tissot-Official

• Fixed FPC fingerprint on enforcing

• Updated Vendor Display Config to V1.1

20180425-tissot-Official

• Selinux Enforcing

• Fixed Face Detection on Stock Camera

• Updated GPS & FM HALs

• Shifted from Live Display JNI to Live Display Native

• Fix disabling of DT2W from Settings

• Tweaked Auto Brightness

• Enabled ZRAM

• Removed unnecessary things from vendor, & hence reduced ROM file size

• Fixed all kinds of Fingerprint issues (like Enrollment Failures)

• Your persist partition will not be touched anymore, & hence your Mac Address won't be destroyed

• Kernel upstream to 3.18.106

• No more Forced Fast Charge in default kernel

20180415-tissot-Official

• Fixed Substratum issues

• Substratum is now working in full OMS mode no root is needed no reboot is needed

• Alot of RR Upstreams

• Kernel upstreams to v3.18.105

• Updated Gcam to Pixel3Mod-Arnova8G2-V1

• time_daemon: use /persist to store offset to RTC

• readmac: add support for reading bluetooth mac

• Move readmac to /vendor

• readmac: Refactor

• read wlan mac address

• Add CAS HAL

• Drop camera shims

• Move sysconfig XMLs to vendor

• Move HIDL shims to vendor

• Split vendor specific and system props

• Build bootctrl.msm8953 from source

• Add BootCtrl & IR to manifest

• Update data-ipa-cfg-mgr from upstream

• Enforce RRO on framework-res

• Add powerhint from stock

• Set voice call volume steps to 7

• Switch to vendor.display.config 1.1

• Fix Vendor Image Mismatch

• Revert ADB hacks

20180411-tissot-Official

• Moun Kernel V3.0

• Rebaced the kernel and Fixed all of the random issues

• Kernel upstreams to v3.18.103

• Removed all un nessery featurs from the kernel like Blu_active and maple i/o

• Fixed Adreno Idler not not idealing under 320 Mz

• Added State Notifier and improved the battery in Interactive

• Fix Miracast

• Improve call quality

• Add support for 32/48KHz VoIP

• Set GPU default power level to 133MHz

• Set default read_ahead to 512KB

• wifi: enable QPower and Deep sleep at the same time

• wifi: Enable 2.4GHz channel bonding (improve WiFi speed)

• Improve scrolling responsiveness

• Low audio flinger standby delay to reduce power consumption

• Disable round corner padding overlay

• Add speaker backends

• Reduce adaptive brightness debounce durations

• Add MIUI charging animation when switched off

• Increase media volume steps 15 -> 25

• Use kernel-based exfat

20180404-tissot-Official

• April's Securety update

• removed Fingerprint boost

• removed Fastcharging up to 2500mah

• Added BLU_ACTIVE

• Added Maple I/O Scheduler

• Updates from RR

20180402-tissot-Official

• Enable Camera App pinning

• Improved dex2oat

• Kernel changes

• Power Suspend

• Speed up boot

• Battery optimizations

• USB Fastcharge Support

• Adreno Idler

• Sound Control

• Fast Charge up to 2500ma

• Fingerprint Boost Driver

• exfat Support

20180327-tissot-Official

• Fixed OTA not working for no Reason !!

• Fixed WhatsApp camera

• Fixed telephoto lens

• Added KPTI patched time blobs

• Kernel upstream to 3.18.102

• Fixed DT2W when system sleeps

• Resurrection Remix upstream

20180323-tissot-Official

• Fix derp

• Implement new DT2W support

• Add LED node permissions from LOS

• Update Toolchain (Linaro 7.2)

• Update radio & WiFi to 1.1

FAQ

How can i record logs

http://telegra.ph/HOW-TO-TAKE-LOGS-06-11

How can i install Dolby Atmos

Download and flash this via magisk (open module section and then tap plus "+" button) or via TWRP if magisk doesn't work :

https://androidfilehost.com/?w=files&flid=247761

Remember before flashing :

1. Install busybox from magisk download section (install and reboot)

2. DELETE any sound mod you've installed before like audiofx / musicfx / viper / aml / acp / ainur etc, using Titanium Backup app (best way), or another system app remover

How can Solve Jio issues

Follow this Guid on xda

https://xdaforums.com/mi-a1/how-to/jio-network-issue-finally-solved-t3778229

How can i Fix my Persist Partition and get my wifi and BT Mac back

first try the Persist Resurrector tool

if it didnt work then try following guid

If you have Wi-Fi MAC Address which begins from

00:0a:f5:??:??:?? (Lineage pool) OR 49:6E:74:66:??:?? (broken by wrong data type), AND you want (or need) to change it!

You will need:

1. Root access

2. File Manager

3. Hex Editor (on phone or PC (WinHEX), better on PC)

4. Hands

What to do?

1. Go by path /persist and copy "wlan_mac.bin" to place you can work it with HEX Editor (better to make backup

2. Open it with HEX Editor. (do not worry, it is short)

If there is filled (like 12 34 56 78 9A BC ... ... ) then you still have original MAC which you can restore, congrats!)

If it almost empty (like 00 00 00 00 00 01 ... ... ) then you already lost original MAC without possibility to restore (unless you had it written somewhere, or remember it)

But DO NOT WORRY, you can always make new MAC

If if filled with start of 49 6E 74 66 ... (in right side there is understandable text) than it was previously got under wrong influence and there is pretty much people have SAME (not one of pool, but SAME) MAC

3. If that file was filled, then skip that point

If it was empty then you need to make it by yourself. To do this imagine MAC, you want to make, and write it (in HEX! It means you can use only 0123456789ABCDEF). For example: 23 BA 45 F1 CC 1A

But file was bigger than these 6 bytes, isn't it? So you need to duplicate what you written, but make last byte +1 (or -1 if last byte was ?F or ?E) from last written, for ex. : 23 BA 45 F1 CC 1(A) 23 BA 45 F1 CC 1(B)

Repeat it again and make last byte +1(or -1 if last byte of "second MAC" was ?E or ?D) from second 1(A) 1(B) —-> 1(C)

File should be filled, if not, then leave rest filled with 00

If there was no space, than create it (total 18 bytes) or write as many WHOLE MAC as you can (all what not whole replace by 00)

Save that file

4. Move it to /persist

Replace old file (that's why backup)

How can i Fix the network fluctuation issues

To solve network fluctuation issue, flash this zip (modem.img file from stock april rom) via twrp, doesn't need to change slot, just flash and reboot

https://www.androidfilehost.com/?fid=818070582850507834

After that, change preferred network to TC-WCDMA/LTE/GSM/WCDMA/CMDA/EvDO

My sensors are not working

Sensors

Tutorial for Sensors Fix for Tissot

Note : If u are reading this then u have already lost your original WiFi Mac Address and also now ur sensors too. As what I have seen is, only this users are affected with sensors too.

When u complete the procedure, u will be loosing ur WiFi again ! So please take backup of ur wifi and bt Mac address before doing anything ( if u have original one )

Procedure

1. Download fastboot stock Oreo zip

2. Go inside the stock folder

3. Go inside images folder

4. Check for persist.img ( this file is necessary )

5. Now check for rawprogram0 file

6. Open it in notepad ++

7. Inside it, u need to find a line like this

<program SECTORSIZEINBYTES="512" filesectoroffset="0" filename="" label="persist" numpartitionsectors="65536" physicalpartitionnumber="0" sizeinKB="32768.0" sparse="true" startbytehex="0x1a8000000" startsector="13893632"/>

8. Now u need to edit this line to

<program SECTORSIZEINBYTES="512" filesectoroffset="0" filename="persist.img" label="persist" numpartitionsectors="65536" physicalpartitionnumber="0" sizeinKB="32768.0" sparse="true" startbytehex="0x1a8000000" startsector="13893632"/>

9. Save and open Miflash tool

10. Copy ur Bt Mac & WiFi Mac if original

11. Go into bootloader / fastboot mode

12. Unlock bootloader if not done already ( fastboot oem unlock )

13. Now go into edl mode ( fastboot oem edl )

14. Your phone screen should now go black and LED light should be blinking ( if not try until u get this )

15. In miflash tool , press refresh

16. This time u will see something like ( COM 8 ) or similar instead of device no.

17. Select clean and lock and press flash

18. Let it complete ! This time it won't reboot automatically to system after flashing is completed.

19. When it completes ( it will say Success ) . Reboot to system by long pressing power key

20. Complete the startup procedure and check sensors !

21. It will be fixed but WiFi will be broken

22. Now flash this zip via twrp

https://www.androidfilehost.com/?w=files&flid=270334

23. Reboot , WiFi will be fixed

24. Now u can fix ur WiFi Mac and bt Mac to original state

Profit !! Thanks to [MENTION=7665161]SevenSlevin[/MENTION] for the WiFi fix zip and helping me with this.

Credits : [MENTION=994288]kunalshah[/MENTION], [MENTION=7665161]SevenSlevin[/MENTION]

Treble

Treble Guide by [MENTION=1844875]CosmicDan[/MENTION]

Treble Recovery with tissot manager for re-partitioning by [MENTION=1844875]CosmicDan[/MENTION]

UpToDate Vendor and Boot images

you can find UpToDate Vendor and Boot images in the official RR-official-Treble folder along with the rom