Senin, 21 November 2016

Cyanogenmod 14 For Redmi 2


CyanogenMod is a free, community built, aftermarket firmware distribution of Android 7.0 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Important information:
This thread is for CyanogenMod 14.0 opensource builds for Wingtech WT88047, marketed as Redmi 2 by Xiaomi (but I'm not sure this company really exist). The following will not be supported in this thread:
  • Custom Kernels
  • Mods
  • Modified system files
  • Xposed

What's working :
  • Boots
  • RIL (Calls, SMS, Data)
  • Wi-Fi
  • Bluetooth
  • Camera
  • Video Playback
  • Audio
  • Sensors
  • Flash
  • LED
  • GPS

What's not working :
  • voLTE (No voLTE for you, stop asking)
  • Permissive SELinux
  • Use VOL UP + VOL DOWN + POWER button to enter recovery mode

Instructions :
  • Download the latest build and GApps
  • Reboot to recovery
  • Flash the latest build and GApps
  • For build 20161008, delete the folder /system/priv-app/com.qualcom.location
  • Reboot

Downloads

My unofficial builds: https://www.androidfilehost.com/?w=files&flid=121305
hristodipchikov's builds: https://goo.gl/7D8wKt
ketut.kumajaya's TWRP: http://forum.xda-developers.com/redm...nside-t3277621
Open GApps ARM - 7.0 - Nano: http://opengapps.org/

I would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Credits :

@banmeifyouwant: For his initial kernel source
@ketut.kumajaya: For his big contributions to opensource xiaomi and many ports/fixes
@zwliew: Initial device tree reference, kernel fix contribution
@premaca: "Me: HAALP!" He answered me
CyanogenMod Team
Xiaomi: For MAYBE providing the Kernel Source Code

XDA:DevDB Information
[ROM][7.0][WT88047] CyanogenMod 14.0, ROM for the Xiaomi Redmi 2

Contributors
nicknitewolfpremacaketut.kumajaya, banmeifyouwant
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod 14

Version Information
Status: Alpha
Current Beta Version: 20161019
Beta Release Date: 2016-10-19

Created 2016-10-09
Last Updated 2016-10-19

XDA:DevDB Information
[ROM][7.x][WT88047] CyanogenMod 14.x, ROM for the Xiaomi Redmi 2

Contributors
nicknitewolfpremacaketut.kumajaya, banmeifyouwant
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod 14.x

Version Information
Status: Beta
Current Beta Version: 20161114
Beta Release Date: 2016-11-14

Created 2016-10-09
Last Updated 2016-11-14

Google Pixel Experience Beta for REDMI 2/Prime



READ FIRST!

The Pixel Launcher will work on any device running Android 6 or later
Google Dialer works fine on most models, but can have bugs!!! It should work on Android 6 or later
The Google Assistant will only work on Android 7 or later. If you flash this ZIP on Android 6, the installer will install the new Google Search app, but the Google Assistant wont work.
To get the Google Assistant working you have to flash the "GoogleAssistantBuildProp.zip" after and copy tweaks.prop to your device.

Description

This Thread is for an flashable installer, which will install the new Google Pixel Launcher with Wallpaper, Assistant, Dialer.
You can also download the new bootanimation below.
My ZIP File seems also to activate unlimited Google Photos Storage. (Tested on my G3 with CM14, Beanstalk and AOSP 7.0), so maybe this will only work on Android 7.

Features

Google Pixel Launcher (with working WallpaperPicker)
Google Pixel Dialer
Google Pixel Assistant
Google Pixel Bootanimation (1920x1080)
Google Pixel Ringtones

How to instal

New Google Assistant:
take a look at this thread
- Download all three files mentioned in "Method 2: Flashable ZIPs by @FaserF" from there and copy them to your device, then flash the 2 zip files
New Google Navbar Design:
take a look at my thread here!
New Bootanimation:
Way 1: Download: GooglePixelBootanimation.zip and flash it
Way 2: 
- Copy the bootanimation.zip file (inside the GooglePixelBootanimation.zip) on your SD card/ internal storage on your phone
- use a the root explorer, CM File Browser or any other file browser with root access to perform this action
- copy the .zip file into the system/media folder 
- give the correct permissons 
Android M Ringtones (note nearly all are the same as in Lollipop!)
Way 1: Download: GooglePixelExperience.zip and flash it
Way 2: Extract the ringtones out of the flashable zip and copy the files to system/media/audio to the correct folder
Screenshots



Bugs

OK Google Hotword doesnt work
Pixel Launcher will force close on some devices
Google Dialer will force close on some devices
Bootanimation could be displayed wrong on devices with a lower resolution than qHD (480p)

DOWNLOAD V2 HERE

Get the original Stuff backownload a root browser, open it and activate root access. Now go to /system/priv-app/dialer and /NexusLauncherPrebuild and remove the whole folder, then reboot your phone.

Q&A | Other Informations:
Android Version required: 6.0+ (inlcudes all Lollipop versions!)
- WARNING: As this is taken from a device that is not similar to yours, it still can have risks! Keep this in mind! It was originally made for Android 7.1, not less. I am not responsible for bricked devices, or other things! YOU have decided to make these modifications!
- Some devices need Google's Dialer Framework to get the Dialer work correctly. If you are running a device with opengapps you are fine. If you are on stock you maybe dont have the framework.

Credit and Contribution:
- brianelv for porting the Assistant
- @LlabTooFeR for the Google Pixel System Dump (where the apps & bootanimation is coming from)
- @kl3 for his Dynamic automated build.prop editing

Contributors
FaserF

Version Information
Status: Beta
Current Beta Version: 1
Original Thread

Tesla-N For Redmi 2 wt88047

Ground Zero Roms presents -Tesla-N For Redmi 2 (wt88047)
GZR Presents Tesla-N

GZR G+ Community
https://plus.google.com/communities/...59573276360638

Substratum G+ Community
https://plus.google.com/u/0/communit...17366580091389

Theme Ready and TBO apps
http://forum.xda-developers.com/show....php?t=3113192
http://forum.xda-developers.com/show....php?t=2283828

GZR TWRP Themes
https://onedrive.live.com/?id=67559C...559CDE482EDC1E

George's Tesla TWRP theme
https://plus.google.com/114004832310...ts/AEpG9Sgpbmc

Kernel Features 
  • Based on Official Xiaomi Lollipop sources
  • Supports Lollipop Bootloader
  • Fast Charge
  • Vibration intensity control
  • Schedulers - fiops, sioplus, tripndroid, zen
  • Governors - lionfish, impulse, despair
  • Hotplugs - Mako, MSM
  • Native Double-Tap2-Wake (Display->Tap to wake)
  • KCAL support
  • wlan wake locks toggle support
  • frandom support
  • fsync on/off support
  • Few more internal optimizations


Installation Instructions

ALWAYS MAKE A NANDROID BACKUP FIRST!

Coming from another rom/clean install:
Reboot to recovery.
Wipe system, cache, dalvik/art cache, data
Flash rom zip and gapps
Reboot

Updating from a previous Tesla build/dirty flash:
Wipe system, cache, dalvik/art cache in recovery
Flash rom zip, gapps and any other zips you may use
Reboot

If you want root access, SuperSU will need to be flashed, v2.78 works for me. After flashing, your device may boot twice before boot animation, don't worry it'll be fine after that.
Some users reported 2.52 Beta worked for them.

You can use phhSuperuser as well for root access, get the it from here and you need to install the play store app also.

Substratum support is there as long as you have root and latest Substratum app. Some themes may have a little catching up to do, have fun testing them!

If you have any issues, grab a log after a clean flash, upload and link here please. Add steps to reproduce the issue in your post. 
Do not report issues dirty flashing this over some unofficial build or with some kernel flashed.
Logcat Extreme app is great as you can choose to start recording a log just before reproducing an error and stop recording just after so you log just the part you need.

Xposed is not supported here, if you want to run it and have issues, try an Xposed thread for support and bug reports here only welcome with a clean install with no Xposed present. 

Do not install as Secondary in Multirom (multirom doesn't support yet). Selinux is permissive for now. Default hot plug is MSM.

Dynamic Gapps

http://forum.xda-developers.com/show....php?t=3487192

Open Gapps

http://opengapps.org/

Tesla themed Recovery Image (Thanks to kenymccornick)
tesla_twrp-3.0.2-0-wt88047-20161113-.img

Download

!All Builds are here! https://www.androidfilehost.com/?w=files&flid=121340

Credits
John Brewer
Martin Usbe
Our Great GZR Team
Big Thanks to kenymccornick for helping in Testing

Sources
Device tree (branch: n7.0)
Kernel (branch: n7.0)
Vendor (branch: n7.0-caf)

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

Contributors
premaca 
Source Code: https://github.com/TeslaRom-N

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x

Version Information
Status: Beta
Current Beta Version: 3.0
Beta Release Date: 2016-10-08

Created 2016-10-08
Last Updated 2016-11-21