• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[WIP][ROM][ARM64][VoLTE][Redmi 2][DISCONTINUED] CAF_AOSP_7.1.2 for Redmi2 WT88047

pirej

Elite Member
Jan 13, 2013
1,417
3,205
0
Skopje
Hi, this rom is built using arm64 sources from Codeaurora, branch LA.BR.1.2.9_rb1.29 with some adjustments to fit our "little precious... "


Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

INSTALLATION
- MAKE BACKUP of your working rom before flashing this one.
- Boot into recovery
- Wipe System, Data, Cache, Dalvik Cache
- Flash the zip
- Reboot your device
First boot takes some time. Wait patiently.

WORKING
- Wifi,
- Bluetooth,
- RIL (voicecall, sms, data),
- SDCard,
- audio / video
- FM radio
- Camera
- GPS
- VoLTE


NOT WORKING
- Camera
- GPS

SOURCES
https://github.com/redmi2

CREDITS
me
you
everyone

DOWNLOADS
androidfilehost
wt8847_64_twrp_3.2.1

If you want root, flash
"phh's SuperUser"
OR
SuperSU
OR
MagiskSU

Gaaps are not included, open_gapps-arm64-7.1-pico works fine.

The ROM supports signature spoofing, so you can use microG as a "replacement" for gaaps.





XDA:DevDB Information
CAF, ROM for the Xiaomi Redmi 2

Contributors
pirej
Source Code: https://www.codeaurora.org/cgit/quic/la

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP 3.1.1 and L bootloader
Based On: CAF AOSP ARM64

Version Information
Status: Stable

Created 2017-03-08
Last Updated 2018-06-05
 

pirej

Elite Member
Jan 13, 2013
1,417
3,205
0
Skopje
Changelog:
- 02.04.2017 fixed Camera
- 03.04.2017 fixed GPS (will be included in the nex build) get the fix here
- 04.04.2017 updated all sources to the latest CAF branch LA.BR.1.2.9_rb1.14, included gps fix, removed qcom bt apps.

- 09.04.2017
Camera - include missing 8MP picture size
Wrong device name - fixed
Gallery FC when entering edit mode - fixed
Unlocked 400 and 533 Mhz cpu frequencies
- 18.04.2017
Options to disable camera shutter sound and screen-shot sound
Camera Beautification Options
Signature Spoofing permission
Advanced Power Menu
Buttons Rebinding Options (and changed the color to "Teal" instead the initial "Blue", to match all of the other items in settings
Navbar Buttons
Quick settings pull down
Quick Charge
Faux Sound
MSM hotplug
Various Framework and Kernel optimizations/improvements
- 20.04.2017
Added VoLTE support
removed Quick settings pull down
Disabled system-wide Camera shutter sound (editable in system.prop)
-25.04.2017
I have updated all of my sources to the latest LA.BR.1.2.9_rb1.15 branch for msm8916_64 (no sign of 7.1.2 yet)
I didn't check what exactly is changed upstream, so... :)
I removed the second APN setting in mobile settings
Increased in-call audio volume
The wifi drivers in kernel are updated too (i forgot to update them before)
-01.05.2017
From what i remember..
Changed app icons for phone/messages
Added screen recorder option ( press power and volume-up keys at the same time to start, and same combination to end recording)
Added "Phone info" in about/status/Phone info (no need to dial *#*#4636#*#*)
Updated mixer for a louder in call sound (and i hope i didn't introduce some distortions in music playback as in the first try)
Those are the obvious changes..
And.. a some under the hood changes..
-21-05-2017
no new features,
no new (reported)bug fixes..
fixed some unreported bugs(errors in logcat)
some BoringSSL related changes,
and some other misc changes
-26.05.2017
updated to android 7.1.2
-19.06.2017
updated to LA.BR.1.2.9_rb1.22
-31.07.2017
updated to LA.BR.1.2.9_rb1.23
-26.08.2017
updated to LA.BR.1.2.9_rb1.24
-02.10.2017
updated to LA.BR.1.2.9_rb1.26
-18.10.2017
improved proximity sensor sensitivity
misc updates in kernel for gereral performance
display related changes
added(in dialer) and enabled call-recording
-03.11.2017
updated to LA.BR.1.2.9_rb1.27
patched to allow changing of the " WebView provider"
-02.12.2017
updated to LA.BR.1.2.9_rb1.28
included some of the previous changes/bug-fixes:
added option to remove the QuickSearchBar in launcher settings
switched to ltr559 to get the proximity working
fixed gallery not being able to open edit mode
Temp change-log until the next full build..
Updated kernel, with added support for the great kernel-app "spectrum"
and with fixed "display shifted" bug.

-11.01.2018
Updated to LA.BR.1.2.9_rb1.29
-05.06.2018
--------------------------DISCONTINUED--------------------------------
 
Last edited:

Venkatesh

Senior Member
Mar 1, 2012
971
653
93
@pirej can you share your kernel source here again? Also, how which tool you used to unpack-repack the boot.img? can you tell me the process? I'm having issues only with this in here
Hey, why do you ask same question again? He's building from source, not packing, unpacking boot.img. Go and get sources link from previous post and there are tons of methods in xda on unpacking boot.img.
 

LuanHalaiko

Recognized Developer
Jul 12, 2015
1,912
1,809
0
Lapa
forum.xda-developers.com
Hey, why do you ask same question again? He's building from source, not packing, unpacking boot.img. Go and get sources link from previous post and there are tons of methods in xda on unpacking boot.img.
Look, I asked him again becouse I tried using a lot of methods for making the boot.img, BUT it dosn't work, when I compile the kernel all I get is the kernel.gz and the dt.img, I need the ramdisk for caf that is on the boot.img, I can unpack-it, but I can't repack-it, it will give me an error saying that it can't find mkbootfs and mkbootimg, even that they are on the location indicated Mkboot , that's why I'm asking for help
 

valenrock

Senior Member
Oct 7, 2010
427
96
0
jakarta
Booted successfully on my HM 2014818 (Indian Variant).
The ROM is snappy af its like Redmi 2 on steroids.
It just misses out on Camera , Non remappable H/W keys and GPS which will be fixed by pirej ? soon™.
Clean flashed TWRP 3.0.3.0
.....
Script succsesded (1.000000)

But stuck at boot animation ( white google text )
Something wrong here @pirej ?