[s2vep][BLN][AOSP] Test Kernel [Leds fix] - Samsung Galaxy S II Plus

This is pure kernel used by Aosp ROMS, plus BLN, plus a leds fix.
Won't work on stock roms.
No need for ROM with patch for leds anymore.
Works on me. Touch lights to turn on only when they are touched.
This may help to official roms like pacman that don't use the patch for leds.
This is unofficial cause the way I read the buttons timeout is really weird, and I don't know if it will work on other androids than 4.4.
If anyone know a safe way to read from kernel the button timeout, say so to use this for building roms!
BLN is enabled by default and it works thanks to cooldevelopement's changes for moshkernel.
https://github.com/dimimeim/BLN-and...mmit/c4da6fb101776c9f9d55ad0fd97b8a01da01c39c
v2:
fix the ability to turn off leds from settings.

beastaki23 said:
This is the our s2vep kernel used by Aosp ROMS, plus BLN, plus a test for leds fix.
Won't work on stock roms.
No need for ROM with patch for leds anymore.
Works on me. Touch lights to turn on only when they are touched.
This may help to official roms like pacman that don't use the patch for leds.
This is for test, cause the way I read the buttons timeout is really weird, and I don't know if it will work on other androids than 4.4.
If anyone know a safe way to read from kernel the button timeout, say so to use this for building roms!
BLN is enabled by default and it works thanks to cooldevelopement's changes for moshkernel.
https://github.com/dimimeim/BLN-and...mmit/c4da6fb101776c9f9d55ad0fd97b8a01da01c39c
Click to expand...
Click to collapse
Good work man
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app

Will it work on gt -i9105 ?

kkaranjkar said:
Will it work on gt -i9105 ?
Click to expand...
Click to collapse
Don't think so, but if it's stable enough I can built for i9105 too.
Sent from my GT-I9105P using XDA Premium 4 mobile app

Ok... Thanx in advance [emoji4]

I think you should better add a sysfs interface for the timeout and write the timeout to the sysfs file from the rom, probably liblights.
The kernel should be the base to run any system and not depend on a system.

CoolDevelopment said:
I think you should better add a sysfs interface for the timeout and write the timeout to the sysfs file from the rom, probably liblights.
The kernel should be the base to run any system and not depend on a system.
Click to expand...
Click to collapse
Or create a symlink to the timeout sysfs file

CoolDevelopment said:
I think you should better add a sysfs interface for the timeout and write the timeout to the sysfs file from the rom, probably liblights.
The kernel should be the base to run any system and not depend on a system.
Click to expand...
Click to collapse
I think that this also needs a patch to send the timeout to liblights.
From default it calls only setbrightness(255) leading to jni:
Code:
public void setBrightness(int brightness) {
setBrightness(brightness, BRIGHTNESS_MODE_USER);
}
and
public void setBrightness(int brightness, int brightnessMode) {
synchronized (this) {
int color = brightness & 0x000000ff;
color = 0xff000000 | (color << 16) | (color << 8) | color;
setLightLocked(color, LIGHT_FLASH_NONE, 0, 0, brightnessMode);
}
}
without sending timeout.
If we could read it from liblights somehow.

beastaki23 said:
I think that this also needs a patch to send the timeout to liblights.
From default it calls only setbrightness(255) leading to jni:
Code:
public void setBrightness(int brightness) {
setBrightness(brightness, BRIGHTNESS_MODE_USER);
}
and
public void setBrightness(int brightness, int brightnessMode) {
synchronized (this) {
int color = brightness & 0x000000ff;
color = 0xff000000 | (color << 16) | (color << 8) | color;
setLightLocked(color, LIGHT_FLASH_NONE, 0, 0, brightnessMode);
}
}
without sending timeout.
If we could read it from liblights somehow.
Click to expand...
Click to collapse
Hmm i have several ideas.
I think the timeout is something rom-dependet. It just sets brightness to 0 after the timeout.
What we can do now without modifying the rom source is to remove button light from the rom and just turn on the button light for a tineout when the buttons are pressed from the kernel. But i think we wouldn't have a ui to apply the settings anymore
Any other ideas?
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app

CoolDevelopment said:
Hmm i have several ideas.
I think the timeout is something rom-dependet. It just sets brightness to 0 after the timeout.
What we can do now without modifying the rom source is to remove button light from the rom and just turn on the button light for a tineout when the buttons are pressed from the kernel. But i think we wouldn't have a ui to apply the settings anymore
Any other ideas?
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I think you mean a fixed timeout. I was thinking what if we add this java function
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.view.MenuItem;
import android.os.UserHandle;
import android.provider.Settings;
import android.content.ContentResolver;
import android.content.Context;
import android.database.ContentObserver;
public class lights_timeout {
Context mContext;
@overide
public static void main(String[] args) {
mContext = this;
int BT = 5000;
BT = Settings.System.getInt(mContext.getContentResolver(), Settings.System.BUTTON_BACKLIGHT_TIMEOUT, 5000);
// WRITE BT TO /SYS/CLASS/.../TIMEOUT
}
}
from device tree, and call it using jni from lights.c .
http://www.codeproject.com/Articles/22881/How-to-Call-Java-Functions-from-C-Using-JNI
This, I don't know if it's working yet. Do you know which lights.c we are using?

beastaki23 said:
I think you mean a fixed timeout. I was thinking what if we add this java function
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.view.MenuItem;
import android.os.UserHandle;
import android.provider.Settings;
import android.content.ContentResolver;
import android.content.Context;
import android.database.ContentObserver;
public class lights_timeout {
Context mContext;
@overide
public static void main(String[] args) {
mContext = this;
int BT = 5000;
BT = Settings.System.getInt(mContext.getContentResolver(), Settings.System.BUTTON_BACKLIGHT_TIMEOUT, 5000);
// WRITE BT TO /SYS/CLASS/.../TIMEOUT
}
}
from device tree, and call it using jni from lights.c .
http://www.codeproject.com/Articles/22881/How-to-Call-Java-Functions-from-C-Using-JNI
This, I don't know if it's working yet. Do you know which lights.c we are using?
Click to expand...
Click to collapse
This is a good idea.
We are using the proprietary light.cpari.so from stock rom.
Here is an editied lights.c for our device, but with bln support: https://github.com/CoolDevelopment/liblights_s2vep
place this into a folder called liblights in device tree and add lights.capri to PRDUCT_PACKAGES in device_s2vep.mk

CoolDevelopment said:
This is a good idea.
We are using the proprietary light.cpari.so from stock rom.
Here is an editied lights.c for our device, but with bln support: https://github.com/CoolDevelopment/liblights_s2vep
place this into a folder called liblights in device tree and add lights.capri to PRDUCT_PACKAGES in device_s2vep.mk
Click to expand...
Click to collapse
Cannot find this file lights.c file in sources. The other lights.c under hardware directory are different and I don't know which of them s2ve/p use.
This is our hardware sources:
CyanogenMod/android_hardware_samsung
Any idea?

beastaki23 said:
Cannot find this file lights.c file in sources. The other lights.c under hardware directory are different and I don't know which of them s2ve/p use.
This is our hardware sources:
CyanogenMod/android_hardware_samsung
Any idea?
Click to expand...
Click to collapse
You need to add it because our phone does not build the liblights module from source yet, so there is no light.c.
Create a folder named liblights in device/samsung/s2vep and copy everything except the binary folder from here into the folder.
Now add this to device_s2vep.mk:
Code:
PRODUCT_PACKAGES := \
lights.capri
and remove lights.capri.so from vendor files

What's this? Notification light???
OrdinaryNoob

Related

[ROM] CM-10.2 | AOSP 4.3.1 Jellybean [KANG] [Oct-28]

| CyanogenMod 10.2 - Android 4.3.1 - Jellybean |
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
If you ask any questions that are answered in the first two posts your question will be ignored. If you don't search prior to posting you will be ignored. If you don't read you will be ignored. If you've done all that and still don't have an answer then feel free to ask your question. Ambiguity doesn't help anymore. Elaborate. It's that simple.
Click to expand...
Click to collapse
Built from CM source
Service
Text
Data
Call
Audio
WiFi
Google Now
Bluetooth
GPS
MMS
Video playback
Audio playback
Camera
Camcorder
UMS
Maps 7 has graphical glitches. See "Extras" section in 2nd post for older glitch free version
Do NOT use superwipes
Wipe data, cache, and dalvik cache
** (if you are simply applying an update to this rom base this might not always be required)
*** ((but do not report bugs if you didn't full wipe))
Flash ROM
Flash GAPPS
Reboot
???
Profit
To enable Developer Options and Performance go to Settings, About Phone and repeatedly press Build Number.
If you use ADB read this: PSA by CM
If you use reboot to recovery read this: PSA by CM
Regarding new Superuser: PSA by CM
Read the FAQ thread here before posting any questions in this thread: FAQ
And any and all users in this thread who contirbuted or will contribute to making this ROM as stable as possible
NineInchNails for being an awesome dev partner, moral support and friend!
dastin1015 for being an awesome dev partner and friend!
android1234567 for being an awesome dev partner and friend!
android1234567 for all the help with the kernel, without you we wouldn't have new kernel
NLJ for fixing the Sweep2Wake proximity sensor issue
A bunch of thanks to arco, for all his updates to our kernel, our display libs, our media libs, and for fixing the video playback glitching, and for being a good friend and dev mentor.
All my supporters!
I really didn't want to do this but people keep asking so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
Thanks and happy flashing!
Download link is in 2nd post
Oct-28
* viber4android should be fixed now
* Fixed random bug where Gallery would FC when switching from FFC to back camera
Oct-26
* Fixed USB storage bug from last build
* Fixed torch tile missing from quick settings
* A few bug fixes from CM themselfs
* Other upstream changes I can't remember right now
Oct-23
* VOIP apps should be fixed now (tested with Tango)
* Random RC when stopping a video recording should be fixed as well
* Updated usb/bluetooth tethering interface for Android 4.3 to fix tethering
* A few misc bug fixes to kernel (display related)
* A decent amount of upstream changes
Oct-20
* Android 4.3.1
* Lots of updates by cyanogen to the camera
* Fixed torch turning off with screen
* Kernel updated to 3.0.100
* Lots of upstream changes
Oct-10
* Fixed audio being lower then normal in the last few builds
* Updated the msm8660 power hal. This should help any stuttering music playback
* Video recording is now working correctly with shutter sounds!
* Kernel updated to Linux 3.0.99
* Any upstream changes at time of compile
Sep-29
* Really fixed VoIP with some apps (viber, tango)
* Fixed touch-to-focus while video recording, was broke in last build
* Any upstream changes at time of compile
Sep-27
* Fixed VoIP with some apps (untested)
* Fixed data indicators
* Any upstream changes at time of compile
Sep-19
* Fixed permissions for VibratorHW, sensitivity should now be adjustable via CM settings
* Fixed touch-to-focus while video recording (credit: android1234567)
* Tried to address issue some users face when in-call and no one can hear them
* Kernel updated to Linux 3.0.94
* Upstream: Android tagged "Android-4.3 r3 , Build ID: JLS36C"
* Any upstream changes at time of compile
Sep-14
* Added CMAcoount
* Actually enabled the CPU freq syncing across all cores
* More updates to qcom media and display legacy libs
* Any upstream changes at time of compile
Sep-9
* Merged a few upstream changes to our display-legacy repo for better compatibility with AOSP 4.3
* A few camera fixes, (mainly just cleans up logcat spam about paramaters. there really isnt any notice to the user.
* Added ability to control vibration strength via the CyanogenMod settings
* setting CPU freq/gov will always be set across all cores regardless of app
* Any other upstream changes at time of compile
Sep-5
* Hopefully the Battery drain issue is gone, please do a full wipe before reporting about it
* Fixed random FC with video recording by removing the shutter sounds for now until i isolate the issue
* Reverted all my testing changes
* Cleanup
* Any upstream changes at time of compile
* Note: no more rude comments !!!!
Aug-29
* Fixed camera FC when finishing a recording (credit: amphorion)
* Disabled the snapshot while recording feature as our device doesn't support it
* Addressed a rare crash in camera when recording and flash is on
* Any upstream changes at time of compile
Aug-25
* Upstream: make sure unsupported graphics features are disabled for legacy devices (no end-user change, restores CM-10.1 behavior)
* Upstream: Fixed compiling with "DISABLE_ARM_PIE" flag and using official CM toolchain. (before we were using an alternate gcc 4.7 toolchain that happened to work. It has now been fixed the correct way upstream. There will most likely be no end-user change but its always better to be using official CM source code)
* Upstream: Misc stability fixes
* Upstream: Merged android 4.3 - r2.2, Build number: JSS15Q
* Updated kernel to Linux 3.0.93
* A few small changes and cleanup
* Any other upstream changes at time of compile
Aug-21
** NOTE: with this build a fuill wipe is most likely required you will have issues
* Fixed issue with last release where some users, after a reboot could no longer boot the rom again
* All the bugs with the camera we have been having are now gone. Should function the same as in CM-10.1
* Reverted the hack to kernel to get FFC to work without the compile flag "disable arm pie" since we now can
* Any upstream changes at time of compile
* Did some cleanup from the cm-10.2 merge
Aug-18
* Fixed issue where some users couldn't boot the ROM
* Fixed Front facing camera while using GCC-4.7 for compiling
* Enabled Permissive selinux (no enforced option yet)
* Bugfix: Durning compile media libs weren't compiling with the correct headers
* Upstream Changes at time of compile
Aug-16
* Fixed Torch
* Fixed Front Facing Camera
* Fixed superuser being disabled by default bug
* Lots of update to the audio libs (audio-caf)
* Any upstream changes at time of compile
Aug-13
* Fixed Camera. DO A FULL WIPE OR CAMERA APP WILL NOT SHOW UP!!!!
* Tried to address the rare reboot due to the wifi module
* Upstream changes
Aug-12
* initial build everything should be good except camera. we are working on it
* Everyone send a donation to android1234567. despite my multiple negative comments about trying to build with gcc4.6 he tried, and guess what he was right. that got us booting. so everyone end him a few bucks. he more then deservies it
ChronicKernel
Kernel now based on Bruce's kernel with a few changes by me, including:
* Compiled with linaro
* Set flash to disable if battery is below 10% to prevent the random shut-off when taking a pic
* Removed/Disabled KSM
* Removed ZRAM
* User-configurable GPU OC (Not OC'd by default)
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* Added more I/O schedulers
* Tweaked voltages a bit
* Reverted CRT hack to smooth animation in Android 4.2.2+
* Increased pmem memory heaps (copied from htc shooter) as it is needed in Android 4.2.2+ to fix soft-reboots
* PM_FAST enabled by default (high power wi-fi when screen is off)
These settings were changed by me to help make the kernel more stable with our ROM, observed with tests by me. If you want more features of the Sultan kernel feel free to flash it, but support will not be provided in this thread.
Other Features of the kernel include:
* OC to 1866Mhtz (default 1566Mhtz)
* Undervolted
* User-configurable CPU OC
* User-configurable CPU default governor (ondemand = default)
* User-configurable I/O scheduler (default = SIO)
* User-configurable badass gonvernor (default = balanced)
* Sweep2Wake
You can edit many of the settings in /system/etc/init.d/99kernel, here is a snippet of the script with all the config options
Kernel init script: Click Show Content to expand
Code:
#Script originally made by Axetilen. Modified by Sultan (android1234567)
#Updated for albinoman887's ChronicKernel (98% of the credit goes to android1234567. Thanks so much man :)
# Configure your options here #
# Config default CPU Gonvernor (Disabled by default: When disabled uses internal Kernel setting)
# For better battery life switch to badass
# Kernel Default: ondemand
# Possible values
# badass
# ondemand
# interactive
#= lagfee
# performance
GOV=ondemand;
# Config I/O scheduler
# deadline
# cfq
# noop
# vr
# sio (default)
IO=sio;
# Config CPU max frequency
# Default: 1566000 (1566Mhtz)
# Overclockable to - 1836000 (1836Mhtz)
# for badass set to 1566mhtz (best performance/battery life)
MAXFREQ=1566000;
# Config CPU min frequency
# Default: 384000 (384Mhtz)
# Range 384000 - 1944000 (384Mhtz - 1944Mhtz)
MINFREQ=384000;
# Config 3D GPU clock
# 228571000 = 228mhz
# 266667000 = 267mhz (default)
# 300000000 = 300mhz (Recomended For balance of Performance and Battery life)
# 320000000 = 320mhz
GPU=266667000;
# Config 2D GPU clock
# 145455000 = 145mhz
# 160000000 = 160mhz
# 200000000 = 200mhz (default)
# 228571000 = 228mhz (Recomended For balance of Performance and Battery life)
# 266667000 = 267mhz
DD=200000000;
# Badass
# possible values
# 1 = performance
# 2 = balanced
# 3 = battery saving
BADASS=2
# Enable Sweep2Wake
# 0 = disabled (default)
# 1 = enabled
# 2 = enabled (with no button backlight during sweep)
SWEEP=0
# Enable Fastcharge
# 0 = disabled
# 1 = substitute AC to USB charging always
# 2 = substitute AC to USB charging only if there is no USB peripheral detected
FASTCHARGE=0;
# Fsync Control
# Disabled by default (recomended)
# 2 = Fsync disabled
# 1 = Fsync enabled
FSYNC=2;
# TUN
# Disabled by default
# 0 = Disabled
# 1 = Enabled
TUN=0
# End of configurable options #
Please note this is not the full script just a small portion, Check /system/etc/init.d/99kernel for the full script
Team Hydra Github (main): https://github.com/Team-Hydra
CyanogenMod Github: https://github.com/CyanogenMod
ROM : cm-10.2-20131028-Albinoman887-pyramid.zip
GAPPS: : HERE
Goo.im Repo : HERE
* This ROM can also be downloaded directly with GooManager *
The new maps 7 from google has graphical glitches due to our old hacked adreno libs. Click the following link Maps-6.apk
first create the folder structure for your source. I suggest creating android/system n your home directory.
Now cd into this directory enter this command
Code:
repo init -u git://github.com/Team-Hydra/android.git -b cm-10.2
repo sync
( if you have a pretty decent /internet connection (10-20mbps+) you can add -j and then a number ater repo sync i recomend something like repo sync -j10 )
Once you have done that your ready to go. simply run:
Code:
. build/envsetup.sh
./vendor/cm/get-prebuilts
lunch cm_pyramid-userdebug
mka bacon
make sure before you start a new build to always run make clobber
If anyone would like to help bug bash with me feel free. if you make any progress send me a pull request
P.S. I HIGHLY recomend setting up ccache if you are going to compile a lot you can read more about ccache here: Initializing a Build Environment and scroll down to the "set up ccache" section
Happy Developing,
Albinoman887
it's geart~!!!wait for it~
albinoman887 said:
DOWNLOAD
ROM : cm-10.1-20130806-Albinoman887-pyramid.zip
Click to expand...
Click to collapse
The links says 10.1
Good Work. Thanks a lot
i thought you stopped your development on CM 10.2 and android1234567 is going on now? Its quite confusing having 3 4.3 ROMs, which are basically all the same, but on the other hand they are not the same oO
s0ftcorn said:
i thought you stopped your development on CM 10.2 and android1234567 is going on now? Its quite confusing having 3 4.3 ROMs, which are basically all the same, but on the other hand they are not the same oO
Click to expand...
Click to collapse
how are there 3? i dont know i just couldnt stay away..
albinoman887 said:
how are there 3? i dont know i just couldnt stay away..
Click to expand...
Click to collapse
Laidbacknikez has a build out. Have to say welcome back, you weren't gone long enough to miss you
3 devs doing 3 roms just means the flashoholics will get their fix for a little while.
Moh Kohn said:
Laidbacknikez has a build out. Have to say welcome back, you weren't gone long enough to miss you
3 devs doing 3 roms just means the flashoholics will get their fix for a little while.
Click to expand...
Click to collapse
2 devs doing 2 ROMs. I'm not going to dev anymore.
albinoman887 said:
how are there 3? i dont know i just couldnt stay away..
Click to expand...
Click to collapse
yours, android123456 and laidbacknikez i think android1234567 is with ION
Sent from my HTC Sensation using xda app-developers app
android1234567 said:
2 devs doing 2 ROMs. I'm not going to dev anymore.
Click to expand...
Click to collapse
You quit?????
nickislauw said:
You quit?????
Click to expand...
Click to collapse
Yeah. I don't want to dev anymore.
android1234567 said:
Yeah. I don't want to dev anymore.
Click to expand...
Click to collapse
s0ftcorn said:
yours, android123456 and laidbacknikez i think android1234567 is with ION
Click to expand...
Click to collapse
So - just to get it right - this rom is without ion ; android1234567's rom is with ion, but is dead... so currently there's no 4.3 rom with ion?
hi albino .. maybe you can edit the OP a little bit .. camera is in Working as well as in Non Working list also ..
and thanks for this ROM .. hope we have the best 4.3 ROM like we had the 4.2.2
android1234567 said:
Yeah. I don't want to dev anymore.
Click to expand...
Click to collapse
What? Getting so far and dont want to continue this? Thats sad. It will always nag you that you didnt complete the ion port, i promise.
Is it very obvious that i try to needle you?
I LOVE YOU GUYS :laugh::good:. Great work, hope bugs will be fixed soon.
When I come from [ROM] CM 4.2.2 AOSP 10.1 Jellybean [KANG] [Aug-6] I do then anyway as a precaution a full wipe? or is dalvik and cache?
micha12435 said:
When I come from [ROM] CM 4.2.2 AOSP 10.1 Jellybean [KANG] [Aug-6] I do then anyway as a precaution a full wipe? or is dalvik and cache?
Click to expand...
Click to collapse
Full wipe. Wipe anything you can except for sd card.
Sent from my HTC Sensation using xda app-developers app
micha12435 said:
When I come from [ROM] CM 4.2.2 AOSP 10.1 Jellybean [KANG] [Aug-6] I do then anyway as a precaution a full wipe? or is dalvik and cache?
Click to expand...
Click to collapse
As Android1234567 wrote:
Even if you come from the CM10.1 ROM he suggests a full wipe. You could make a backup of your programs and then restore them with titanium backup.

[HACK] Ingress teleportation hack

Ingress is the game about hacking portals around the world. Ironically, it can be hacked itself quite easily. Patch Android using:
Code:
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 5675dd2..ca0e445 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -3640,6 +3640,10 @@ public final class Settings {
* [user=2056652]@return[/user] the corresponding value, or null if not present
*/
public static String getString(ContentResolver resolver, String name) {
+ if(name.equals(Secure.ALLOW_MOCK_LOCATION)) {
+ Log.d("INGRESS_WORKAROUND", "Settings.Secure.getString reporting ALLOW_MOCK_LOCATION as \"0\".");
+ return "0";
+ }
return getStringForUser(resolver, name, UserHandle.myUserId());
}
@@ -3757,6 +3761,10 @@ public final class Settings {
*/
public static int getInt(ContentResolver cr, String name)
throws SettingNotFoundException {
+ if(name.equals(Secure.ALLOW_MOCK_LOCATION)) {
+ Log.d("INGRESS_WORKAROUND", "Settings.Secure.getInt reporting ALLOW_MOCK_LOCATION as 0.");
+ return 0;
+ }
return getIntForUser(cr, name, UserHandle.myUserId());
}
and use any mock location provider (for example
Code:
mrogalski.eu/download/Locator.apk
).
Have fun and spread some chaos.
Umm, but how do I use it? What do you mean by "patch Android"?
wnerw said:
Umm, but how do I use it? What do you mean by "patch Android"?
Click to expand...
Click to collapse
You need to build a rom yourself or have somebody else build a rom with this patch.
I suggest using this guide: http://forum.xda-developers.com/showthread.php?t=1971645 . You can apply patch using "patch" command or by manually modifying files.
Good luck. :good:

[ROM][Falcon/UNIFIED]XPerience-9.1.1_r12 [13/08/15][STOPED]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XPerience 9.0.0 for the Motorola Moto G
XPerience is a free, community built distribution of Android 5.1.0 (Lollipop) which greatly extends the capabilities of your phone.
This project are based on AOSP and CM patches
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.
*/
Project Stoped I work in Android M when the source are published
WORKING:
Working
Dual SIM
WiFi
Bluetooth
Data
GPS
Audio
SELinux
MTP
Sensors
Camera
Youtube HD 60fps
CM Theme engine
Etc..
Not working/ Bugs:
You tell me
How to install:
Download zip from Downloads:
Put zip into Internal Storage
Reboot into Recovery like TWRP
Flash zip file XPerience-9.x.x-xxxxxxx-falcon.zip
Flash Gaaps
Wipe dalvick-cache and cache (if u want can wipe DATA)
Reboot and config
Reboot Again and enjoy!
Screenshots:
xpe_9.1.1_r12-20150814-falcon.zip
Google APPS NEW! for _R8
Lollipop Google Apps​
Changelog in second Post:
OLDER DOWNLOADS
XPerience-9-20141125-EXPERIMENTAL-falcon.zip
Mirror by: @poran123
XPerience-9-20141125-EXPERIMENTAL-falcon.zip
Mirror by: @minidude2012
XPerience-9-20141125-EXPERIMENTAL-falcon.zip
xpe_9-20141126-EXPERIMENTAL-falcon.zip 247.2 MB
Folder XPerience on Mega
Folder on Devhost
xpe_9.0.2_r1-20150112-NIGHTLY-falcon.zip - 258.01 MB
xpe_9.0.2_r1-20150117-NIGHTLY-falcon.zip 256.7 MB
xpe_9.0.2_r1-20150123-NIGHTLY-falcon.zip
xpe_9.0.2_r1-20150126-NIGHTLY-falcon.zip
xpe_9.0.2_r1-20150201-NIGHTLY-falcon.zip
xpe_9.0.2_r1-20150218-NIGHTLY-falcon.zip
xpe_9.0.2_r1-20150224-NIGHTLY-falcon.zip
XPerience_settings_fix_battery_saver-signed.zip
EXPERIMENTAL 5.1
xpe_9.1.0_r3-20150406-EXPERIMENTAL-falcon.zip
xpe_9.1.1_r1-20150505-NIGHTLY-falcon.zip
xpe_9.1.1_r3-20150524-NIGHTLY-falcon.zip
xpe_9.1.1_r3-20150626-NIGHTLY-falcon.zip
xpe_9.1.1_r8-20150719-falcon.zip
If you like my work, you can buy me a coffee with your donatives. All donations are appreciated.
​
XDA:DevDB Information
[ROM][Falcon/UNIFIED]XPerience-9.1.1_r12, ROM for the Moto G
Contributors
TeamMex
Source Code: https://github.com/XPerience-AOSP-Lollipop
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 4.4.4
Based On: AOSP, CM
Version Information
Status: Stable
Created 2014-11-25
Last Updated 2015-10-05
Reserved
You can read the Autors of some commit or comments inside [ ]:
CHANGELOG:
xpe_9.1.1_r12-20150814-falcon
Bump to 5.1.1_r12 android code
Enabled wifi Display
Use prebuilt libomxvdecHevc
add xperience somc battery
Fixes on libstagefright
dhcp fixes
and more changes on github
XPerience_9.1.1_r8-XXXXXXXX cooming to release
SOMC XPerience Battery added on battery icon selection
Fix keyguard CarrierTextLabel
WIP Floating window (maybe work or not :C still work in progress)
Fix issues with simple_ondemand GPU governor
Removed CustomCarrierLabel
- It need to be reworked because this cause some problems
In - words :v Optimized system and Speed up
9.1.1_r8-20150719-falcon-xpe_falcon
Bump to android 5.1.1_r8 codeline
Fix Lag and Random UI crashes
Updated Trebuchet to latest from Cyanogemod 12.1
Updated Webview from 43.0.2357.86 to 43.0.2357.121
Change ROW to Fiops
Change Overlay to go acording to Motorola Moto G 5.0.2 source
update Brightness and Vibrator
udp: fix behavior of wrong checksums
msm8x26: add "adaptive-playback" capability for HEVC hybrid codec
Add CAF commits LA.BF.1.1.2_rb1.23
Fix issues with LMK
With this new build you need new Gapps Download first post more changes here:9.1.1_r8-20150719-falcon-xpe_falcon
xpe_9.1.1_r3-20150524-NIGHTLY-falcon.zip
Fix issues with MP-Decision
Fix issues with camera
Updated kernel to 3.4.108 stable kernel (Without Alessa plug if u want u need flash the v28 from kernel thread)
Fix issues related memory leaks
Update SELinux
Fix issues with FFMPEG codecs
Fix AudioFX crashes (?)
More changes here: 9.1.1_r3-20150626-NIGHTLY
9.1.1_r3-20150524-NIGHTLY-falcon-xpe_falcon.
9.0.2_r1-20150305-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20150305-NIGHTLY-falcon-xpe_falcon.txt
xpe_9.0.2_r1-20150224-NIGHTLY-falcon
xpe_9.0.2_r1-20150224-NIGHTLY-falcon
9.0.2_r1-20150201-NIGHTLY-falcon-xpe_falcon.
9.0.2_r1-20150201-NIGHTLY-falcon-xpe_falcon.
9.0.2_r1-20150123-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20150123-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20150112-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20150112-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20150111-NIGHTLY-falcon-xpe_falcon.
9.0.2_r1-20150111-NIGHTLY-falcon-xpe_falcon.txt
9.0.2_r1-20141228-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20141228-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20141225-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20141225-NIGHTLY-falcon-xpe_falcon.txt
9.0.2_r1-20141220-NIGHTLY-falcon-xpe_falcon
9.0.2_r1-20141220-NIGHTLY-falcon-xpe_falcon
9.0.1_r1-20141219-NIGHTLY-falcon-xpe_falcon
9.0.1_r1-20141219-NIGHTLY-falcon-xpe_falcon
[XPerience-9.0.1_r1-xpe_9.0.1_r1-20141213-NIGHTLY-falcon]
9.0.1_r1-20141213-NIGHTLY-falcon-xpe_falcon
[XPerience-9.0.1_r1-xpe_9.0.1_r1-20141207-NIGHTLY-falcon]
MSM8226
1772079 fixes for ambien display
4235534 audio: update audio_policy.conf for usb audio
d863eaf preload libNimsWrap.so
a03f686 ARCH_ARM_HAVE_TLS_REGISTER := true [Testing/CAF]
3d66a72 Add EGL Cache [CAF]
a59300f Enabled Kingfisher optimization
25b0d4c msm8226: correct ro.min_freq_0
42b8d06 msm8226: init: Add thermal file socket creation into init
frameworks/av
871bea7 Revert "audioflinger: Bind new mixer code to the resampler property"
9094602 audioflinger: Bind new mixer code to the resampler property
frameworks/base
ce7cb4c Revert "WiFi : Fix to DHCP to static IP configuration problem"
e7dc43b SystemUI: add Weather display to status bar header
aa99390 Merge remote-tracking branch 'upstream/cm-12.0' into HEAD
baead60 framework/base: Fix touch failure during video and incoming call.
e9b6567 Bluetooth: Sync Bluetooth Adapter and Manager Service.
76c8f75 WiFi : Fix to DHCP to static IP configuration problem
338423b frameworks/base: Fix to avoid UI freeze issue.
8dea1dc Ability to hide alarm clock icon
kernel/motorola/msm8226/
64188e8 Revert "msm: camera: Fix CCI I2C write fail to write for reg addr 0x00"
67a69b3 Revert "msm: kgsl: Device mutex lock for kgsl_cancel_event"
21be614 msm: kgsl: Device mutex lock for kgsl_cancel_event
091bf95 sched: Fix reference to stale task_struct in try_to_wake_up()
4f7e3b3 disable logger
d6c013e update config add CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
673bf19 msm: mdp3: use INIT_COMPLETION for re-initialization of histo_comp variable
09040bdc msm: kgsl: Add syncpoint tracepoints
97d2e93 msm: mdss: apply BW fudge factor to all controllers when video mode present
49775b1 ASoC: msm: qdsp6v2: fix passing calibration to wrong AFE port
42afab0 i2c-qup: don't ignore the last byte of a message
43b0f03 msm: kgsl: Restrict GPU memory object alignment to 32MB
3056fe0 sync: Only print details for active fences
7b68c62 sync: Add a "details" callback for sync points
acd8931 ARM: dts: msm: Add power manager entry for wcnss
62b70b8 ngd_slim: Register with QMI service in the slave-notification thread
2a84219 ASoC: wcd9306: add support for digital mute ops
4a0ebdc ASoC: wcd9306: implement analog hpf switch in tx path
e69997d ARM: dts: msm: Enable thermal reset feature for MSM8974
acedf2c ASoC: msm: qdsp6v2: Add SLIMBUS 3 TX port as valid port
ecd6315 msm: ADSPRPC: Fix offset for input and output buffers
db63c81 qseecom: Add boundary checks for offset within message.
6f82c30 USB: composite: Fix issue of get interface returning wrong altsetting
f9b134a USB: gadget: f_rndis: Add check before queuing notification available
acd3f6c msm: camera: Fix CCI I2C write fail to write for reg addr 0x00
8b17055 ASoC: msm: qdsp6v2: handle VoIP call recovery during SSR
505fd08 ASoC: msm: fix the audio mute issue post SSR
34d80d1 msm: apr: unblock the apr calls post SSR if the modem is not loaded
fbb8e1e ASoC: compress: propagate the error code from the compress framework
de30af1 ASoC: msm: update platform driver to handle new SSR design.
1826214 ASoC: pcm: update the start-up sequence for playback
953a3fb ASoC: wcd9320: Fix for VI feedback underflow errors
58ccf8a media: dvb: check filter is valid for fullness callback
9bb1d43 msm: mdss: Fix check for highest of overlap and prefill bw calc
9f69e7e msm: kgsl: Wake up GPU only for touch events
2bf5f05 ARM: dts: msm: add blink support for GPLED
f2dc7dd msm: camera: Fix improper ion free in error case
e8e246c msm: mdss: fix for black stripe flicker in browse scroll
e15fa0cb msm: mdss: call wait4comp before wb kickoff
7c0c946 msm: mdss: Disable the PP features if partial update feature is enabled
packages/apps/Mms/
97605ff Mms: Handle possible null array on sub id.
6443cdd Mms: Fix NPE while attaching vcard
ea048a0 Mms: Only retain selected items when choosing recipients.
818423d Mms: Run all selection through SelectRecipientsList.
ca7d7c4 Mms: Add the ability to select recipients from a checkbox list
88eb695 More materialization
packages/apps/Settings/
96c79e2 Merge remote-tracking branch 'upstream/cm-12.0' into HEAD
9c710d5 Settings: add "Show weather" toggle for status bar [Roman birg]
421c3d3 Update the Privacy category drawable
7354663 Update Profiles settings icon
169aff9 Add Buttons settings drawable
dbee0e3 Settings: Fix NPE in Superuser settings
fe66be3 BootReceiver: remove duplicate DisplaySettings.restore(ctx);
8a2af12 settings: Forward-port notification counters
[XPerience-9.0.1_r1]
Bump to android 5.0.1_r1
Apollo added new API and Notification background color
Apollo update Key FM api
Settigs: Perfiles [Forked from CM I change icons later I don't have time to make others] Notification background color
SystemUI: make clock and time clickable in statusbar
Profiles: Add a profile picker activity
Avoid overwriting SYSTEM_ADJ with PERSISTENT_PROC_ADJ
AppOps: Add null pointer check for USERAGENT parameter.
security: prevent FDE after PFE
QuickBoot: enable poweroff charging under QuickBoot mode
Telephony: Add a config item to control fetching APN from OMH card
Dual sim fixes [Remember I don't have XT1031,XT1033 etc devices Only have XT1032 so I can't Test all the fixes for other variants]
SettingsXPE: XPerience Kernel Tweaker v2.2.2 added to settings
Core: fix compile issue of healthd.
GPS fixed [Now the icon do not stay all time, appears only when is used]
Fixed some MemoryLeaks
Add NettrafficMetter [Based on Omni and mokee]
Add option to add Carrier Label and customize [From mokee]
Display: Add support to Listview animations if do not like it you can disable it [settings->Display->Listview Animation] [Based on the older AOKP and Mokee]
DevelopmentSettings : Fixed Some bugged options
Added New Helper Libxperienceutils.so [Based on Mokee lib]
Kernel updates
-- bump to 3.4.57
-- Update FauxSoud driver to 3.4
-- Francisco franco's Sound control (Now support the app)
-- Drivers: usb: Use Android device as USB keyboard/mouse
-- sched: set sched_mc_power_savings to 2
-- Tweaked gobernors
-- Overclocked Slimbus
[XPerience-9.0.0_r2]
Recover apps with malformed certificates. [AOSP]
Added GMock (Google C++ Mocking Framework! [https://code.google.com/p/googlemock/]
Frameworks AppOps: Enable MODE_IGNORED for OP_WAKE_LOCK
Fix some sintax error's on XML's and added Material Icons like Delete
Selinux: Fix healthd's access to /dev nodes
Add selinux policies for superuser
selinux: Add a rule to label the extended keyhandler dex files
SEPolicy: mpdecision: Let mpdecision tune KSM
Sepolicy: Fix camera & surface flinger denials
adec: Fix various issues on Stagefright 5.0
Disable 24-bit until framework is updated
DSP with material Design
LatinIME: Update JNI fallback lib name
Telephony : FC's fixed
Update permissions to the superuser binary
gralloc: Add workaround for Jellybean camera drivers
Camera fixed
Materialized Browser
Fixed SuperUSER acces
CDMA Fixes
Updated xperience kernel to 20
--changes of kernel--
selinux: fix inode security list corruption
SELinux: possible NULL deref in context_struct_to_string
SELinux: use ARRAY_SIZE
SELinux: Reduce overhead of mls_level_isvalid() function call
selinux: add a ugly workaround to bail early when selinux tries to free
SELinux: Fix memory leak upon loading policy
net: loopback: set default mtu to 64K
sched: fix race between try_to_wake_up() and move_task()
GPU overclock 550mhz
More ioschedulers
FauxSound
LCD KAL (configurable LCD configs (Need fauxclock or any other supported kernel tweaker) [thnks to savoca]
[XPerience-9.0.0_r1]
Added new Animation
changed mms from AOSP to mms-caf
ffmpge support
libgui: Bring back support for mHeap-based screenshots
hal: add support for low-latency capture
blacklist support [CM]
Update SELinux policy for sysinit
wifi: Add log message if we fail to read the wifi type.
Changelog support on settings device info
Removed ota updater support [Now is a xperience rom not a AOSP]
more sys improvements
Added HAF (Hardware ABSTRACTION Framework (CMHAL) )
The new codecs broke the camera [Working on fix]
[XPerience-9.0.0]
Based on AOSP android 5.0.0_r7
Used CM roomservice.py
Fixed 3G data
Added CM patches is the reason of why say cm_falcon and not xpe_falcon [changed later]
Added CMFilemanager and CMWallpapers to add variety of wallpapers
Using my stable kernel 3.4.42-xperience-19 without oc and other stuff [yes I say stable]
Added SuperUSER from CM
Add Reboot options (Enable it on settings/dev settings)
Add multi-user support
ambient display
Added initial settings from CM
CM Stuff
I can't upload my source so I forked CM frameworks and ETC from CM and post my changes so It work too]
Fixed some SELinux related issues
Camera fixes [If have some issues with stock camera install google camera and all is now fixed]
Fix HW decoders
I used some CM stuff to make more compatible my rom with Dual-sim variants
Is a EXPerimental version
I working on it since Lollipop released source
I making new Bootanimation so for now I copied bootanimation from Cyanogen for Non upload without animation xD
XPerience-9
initial work
Based on AOSP and CAF
Reserved
one more
finally!
I have been waiting so many hours for this!
Im bout 2 jack off
Downloading and testing!
Sorry, where is the link??
Bro will this ROM support xt1033 dual sim or want to convert gpe
Added changelog in second post report any bug or problem and I try to fix it
and please read changelog
for the bootanim related
edit:
MarckozZ said:
Downloading and testing!
Sorry, where is the link??
Click to expand...
Click to collapse
http://d-h.st/xas
moha07 said:
Bro will this ROM support xt1033 dual sim or want to convert gpe
Click to expand...
Click to collapse
I hope please try and report later
cheers.
TeamMex said:
Added changelog in second post report any bug or problem and I try to fix it
and please read changelog
for the bootanim related
edit:
http://d-h.st/xas
cheers.
Click to expand...
Click to collapse
Sorry to bother you man, but where is the link? that one provided from dev.host is dead! Says FILE NOT FOUND! :S
Not working section could be dual sim as usual sorry. But thanks for the beginning
File not found when I goto download
MarckozZ said:
Sorry to bother you man, but where is the link? that one provided from dev.host is dead! Says FILE NOT FOUND! :S
Click to expand...
Click to collapse
oh u.u d-h has removed the file I go to upload again sorry for that
wait a little longer.
==vj== said:
Not working section could be dual sim as usual sorry. But thanks for the beginning
Click to expand...
Click to collapse
i dont know this is not a CM 12 rom
maybe working dual sim maybe not
Only need tester I have XT1032 variant so i dont know :/
TeamMex said:
http://d-h.st/xas
Click to expand...
Click to collapse
Man, it says FILE NOT FOUND.. Maybe thats not the right link!
EDIT:
Ok man, reupload and we all be hitting that THANKS button! Thanks for all of this!!!
TeamMex said:
Added changelog in second post report any bug or problem and I try to fix it
and please read changelog
for the bootanim related
edit:
http://d-h.st/xas
I hope please try and report later
cheers.
Click to expand...
Click to collapse
Sure bro will try now
Please check the download link it's not working
moha07 said:
Sure bro will try now
Please check the download link it's not working
Click to expand...
Click to collapse
I uploading again
maybe in 30mns is done
TeamMex said:
I uploading again
maybe in 30mns is done
Click to expand...
Click to collapse
Awaiting for the same, take your own time....:good:
may as well get a mirror on gdrive?
if link is up can someone plzz upload on gdrive?
Thank you
Waiting for the upload as well , very excited to try this !
sorry, just ask...
did the wifi hotspot working?

[APP][LIBRARY][5.0+] LolTint (Tint your android app without hanging with xml)

LolTint is open source library anyone can contribute.tint your app without hanging with xml
Introduction
- When we are materializing our android app we need add attribute like <item name="colorPrimary">@color/primary</item etc to get tint in our android app this time AndroidFire present you LolTint now you no need to play with styles. This library is growing day by day we are adding more and more features also you can request your feature
Instructions
1-Open your project
2-Download the jar file from here https://github.com/AndroidFire/LolTint
3-Add into your project
4-Then this code to your class
PHP:
@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
LolTint.on(true,false,true,Color.COLOR_DEEP_ORANGE,this);
}
6-Run the app
Demo
https://github.com/AndroidFire/LolTint/tree/master/Demo << Demo
Change logs
v1.0 :
initial release.
v1.1 : -> fix issue
v1.2: -> fix bug added new feature
Click to expand...
Click to collapse
Credits
Sahid Almas
Github
reserved
Another Awesome Work Keep up the Good Works
it will be more fun if u add compatibility of API14+

[MotoMods Supported][OMS7][NOUGAT][7.1.2][Addison]XPerience-11.1.2_r29 [NIGHTLY]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XPerience 11.X.X for the Motorola Z Play
Maded by Klozz Jesus AKA TeamMEX
XPerience is a free, community built distribution of Android 7.1.1 (Nougat) which greatly extends the capabilities of your phone.
This project are based on AOSP CAF
The First rom with motomods support for the moto z play, dont forget to give the credits if you do a kang of this
Moto Mods supported​
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.
*/
NOTE: READ this PLS
All required device configs, blobs and kernel source are on my github u know the url
Please don ask for etas
Please don't report same bugs all time
too much things are broken
Report with logcat and dmesg
Screenshots representative only
Click to expand...
Click to collapse
Features:
Substratum support
XPerience Updater
NetworkTrafficMetter
Ambient Display with customizations
OMS-N7
Force expanded notifications
Disable inmersive messages
Inmersive recents
Alessa app for kernel tweaking.
XPerience Active Display
Pocket Judge
* Judge if device is in pocket.
* Notify clients callbacks when pocked state changes.
* Start listening when device becomes not interactive.
* Stop listening when device becomes interactive and is NOT in pocket.
policy: introduce pocket lock
fingerprint: disable when device is in pocket
One Hand mode (slide your finger across the navigation bat to switch between the standard and mini screen views(from the center))
App sidebar
Burning protect (Navbar and status bar (only on AMOLED display's)).
You can use Dolby atmos or Viper4android without change Selinux (I added some selinux changes for it)
VoLTE Icon
Magisk Manager
WakelockBlocker
Clean recents with fab
Alarm block
Unlock using fingerprint without enter Pin/Pattern(only devices with fingerprint)
Moto Mods Support
WORKING:
Working
Rild
LTE/3G/2G
Bluetooth
MTP
Sensors
Led
Wi-Fi
MUSIC
sounds
Videos
Camera
camcoder
SELinux
Battery Mod Efficiency mode working
Not working/ Bugs:
YouTellme
How to install:
Download zip from Downloads:
Put zip into Internal Storage
Reboot into Recovery like TWRP
Flash zip file XPerience-11.x.x-xxxxxxx-addison.zip
Flash Gaaps
Wipe dalvick-cache and cache
Reboot and config
Reboot Again and enjoy!
Screenshots:
https://lh3.googleusercontent.com/****Wbf15v8tBRMttby0pViCXsGn22HuE5oJ3g9OXbcus2ybc3wnLGVggSXayByZOaShwr9kihLRmpHRvKXsaSwXxACOnkRt=w1366-h768-rw-no
Basketbuild
Mirror
mirror 2:
Or the web
http://thexperienceproject.com
MD5:
Google APPS
http://opengapps.org
​
OLD things
Boot issues? flash this boot.img via fastboot or using TWRP (?
+XPerience-11.1.1-20170220-NIGHTLY-addison.zip.img
Changelog in second Post:
If you like my work, you can buy me a coffee with your donatives. All donations are appreciated. and this can help me to pay some bills about internet
​
XDA:DevDB Information
The XPerience Project, ROM for the Moto Z Play
Contributors
TeamMex
Source Code: https://github.com/XPerience-AOSP-Lollipop/android_device_motorola_addison
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: AOSP CAF
Version Information
Status: Beta
Created 2017-01-26
Last Updated 2018-08-10
Reserved
NO, AT&T MEXICO haven't VoLTE it is HD Voice.
VoLTE is making a voice phone call over the data LTE network. VoIP.
HD Voice is a higher audio codec that provides clearer calls.
HD Voice is a requirement of VoLTE, but can be implemented on HSPA or EVDO.
2.-. VoLte has more noise cancellation. The previous hd voice seemed to have almost none.
3.- The real VoLTE comes in the 2018
Click to expand...
Click to collapse
** 22/01/2018 **
Allow to install in 0xC114 bootloader version
Some mediacodec hax thanks to erfanoabdi | vache
some debug to Motomod tile.
Note: Jbl still not works
** 17/01/2018 **
MotoMods Tile (Like motorola does)
Returned mod apps (MotCameraMod, Projector)
New insta-share mod , mot game explorer
Some bug fixes (Audio routing 4 jbl is broken in some weird cases it works for a few minutes)
Kernel changes
Some fixes
** 31/12/17 **
Rewrited kernel using latest kernel from motorola based on 3.18.63 (it fix missing things about soundmod and new mods)
Dec security patch
ModFmwkProxyService from source (Decompiled 2.0 from Stock)
Mod camera, moto projector removed from the rom (Download it from Play store (this to make it updated apps ) )
Mod manager added as presigned to maintain the signature provided in the Gplaystore Version.
-- * Bug fixes and stability improvements.
* Compatibility with Polaroid Insta-Share Printer.
added motorola game explorer (for mod pad)
Update blobs to NPNS26.118-22-1 release
supported the new bootloader
Note: JBL mod still not works sorry It will take more time than expected, I have some ideas that I will try.
** 30/10/17 **
Mods platform 2.0
more mods related changes.
ship last incipio firmware 0.82
** 26/10/17 **
healthd: add some support to battery mod
Read battery full capacity from kernel sys file
healthd: batterymonitor Change Path
When mod is attached, send powersource field as part of battery broadcast
Check whether divisor is 0 or not
ueventd.rc: Give sensors HAL access to IIO
Add msm video symbolic link handling
add the posibility to read the Mods firmware.
Fixed ModManager not charge the mod for failing java.io.FileNotFoundException: mods_ap/greybus1/1-3/power_supply
Updated libmodmanager.so from 7.1.1
Update ModManager to last 7.1.1 firmware
Efficiency mode works correctly without external app
Added Incipio firmware.
Auto mod detection on attach. (Not need anymore su start gbmods)
12/10]/2017
Updated Greybus driver to 7.0.0 release
added motomods apps again in the new build
fixed more sepolicy related to motomods.
added greybus loaded not need davtse module =)
For the battery use this app Battery Mod Percentage + Efficiency Enhancer
in case you do not auto load the modules it is enough to do in the terminal the following
su
start gbmodinstall
Click to expand...
Click to collapse
more changes...
[18/03/2017]
Additional RIL blobs
Drop qcom audio effects libs
Add more IMS/RIL blobs (thnks to alberto97)
audio: Switch to xml audio policy (thnks to alberto97)
livedisplay: Map Color profiles (thnks to alberto97)
qdcm: Add back Comfort mode (thnks to alberto97)
audio_effects: Don't depend on outdated and source closed qcom drivers (thnks to alberto97)
* kernel/motorola/msm8953/
prima: Wait for clear filter request's response from firmware [Alberto97]
wlan: Fix buffer overflow in WLANSAP_Set_WPARSNIes() [Alberto97]
wlan: On SSR, update SAP operating band, start and end channels [Alberto97]
wlan: SAP: During SSR, don't check for logp in progress [Alberto97]
wlan: Add buf len check in wlan_hdd_cfg80211_testmode [Alberto97]
[*] Frameworks/base
SingleHandWindow: Allow locking the rotation to 180°
Add tile information to ACTION_QS_TILE_PREFERENCES intent
PackageManager: Always let UID 0 start FallbackHome
SystemUI: Dismiss keyguard on boot if disabled by current profile
AppOpsDetails: Check app permissions safely
* packages/apps/XPeUpdater/
Collapse header even when scrolling out of header
UpdateSettings: UI fixes when download completed
More here...https://raw.githubusercontent.com/K...a459b3b28d71cba65/11.1.1-20170318-NIGHTLY.txt
[08/03/2017]
March security patch
OMS Rootless mode
Substratum + Theme interfacer more info here...https://www.xda-developers.com/stat...a-new-website-more-features-and-future-plans/
IMS fixes taked from Alberto97 github
Fix more denials.
[27/2/17]
February Security patches
Enforcing SELinux
Switched to the fully working Snap Camera
Improved stability
Updated Adreno blobs
aptX support? (not tested)
OMS7 with rootless support (HALF cuz I reverted some part of it.)
Add a protected broadcast for Masquerade events
Themes: Expose Keyguard affordance circle background
enable productivity_device for DocumentsUI
support more text types
24-25/02/17
add Alessa governor my own governor
Add XPerience governor my own governor
--Read 3rd post for more info about governors
Added my own Alessa Hotplug
add burning protectiont to navbar too
CAF rebase 7.1.1 (if you have the last version installed you dont need clean install)
03/02/17
Update Vulkan lib from addison nougat release
Membar on recents
fixed clock options right left center
new updater
translations
bug fixes
more .. https://raw.githubusercontent.com/K...4a6f6d11e8a5edc1f45c7e46c/11.1.1-20170203.txt
26/01/17
same as alberto97 work more: https://forum.xda-developers.com/showpost.php?p=69504812&postcount=2
More SELinux denials
enable burn in protect
--Devices with OLED display suffer from
status-bar's notification items and nagivation bar's software keys
causing permanent burn-ins when used long-term.
--
ASoC: qdsp6v2: prevent null pointer dereference for _vol_cmds
ASoC: soc: msm: initialize buffer to prevent kernel data leakage
Reserved
BUG REPORTS:
https://forum.xda-developers.com/devdb/project/?id=19085#bugReporter
How to take logs for bug reports:
Go to settings and tap on Alessa
Got to Alessa settings
Tap on logcat, dmesg and last_kmesg if is available
Governors only for XPerience project
Alessa:
A less aggressive and more stable ondemand modified by TeamMex. A good compromise between performance and battery. It can be used with the complementary hotplug governor.
This governor is a balance between performance and battery.
XPerience:
The governor aim for an “ideal frequency”, and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq when screen is on. There’s no upper limit for frequency while screen is off.
This governor is a balance between performance and battery.
HOTPLUG:
Alessa Hotplug:
A simple hotplugging driver optimized for dual to octa core.
When the device goes into idle state, the hotplug is responsible for moving the processes to a single core, keeping off the cores that are not in use.
And it lowers the frequencies to the lowest possible, but without getting to remain in a deep sleep of which it does not wake up.
Note:
Touch boost enable only if you do a hard work if not maintain it disabled .
Ascarex TCP congestion driver:
My new TCP congestion driver called ascarex
Ascarex employs end-to-end bandwidth measurements to set cwnd and ssthresh after packet loss.
The probing phase is as the original Reno .
Have a modified control mechanism for use with large congestion windows.
A table indicates how much to increase the congestion window when an ACK is received.
HELP:
YOU CAN HELP TO TRANSLATE XPERIENCE
https://crowdin.com/project/xperience-alessa
https://crowdin.com/project/xperience-parts
https://crowdin.com/project/xperience-settings
https://crowdin.com/project/rainbowunicornxpe
https://crowdin.com/project/xperience-frameworks-and-ui
Credits: not in order:
@Alberto97 For the base repository.
kalo0o For helping me to get the device.
Vache for initial some mods sepolicy
erfanoabdi For his guide about mods.
@davtse For your donation for a mod, and initial searching about greybus paths.
Me for make this work as stock
CAF: For CVE patches.
Google for AOSP
LineageOS for Hardware repos and some bases
YOU CAN HELP TO TRANSLATE XPERIENCE
https://crowdin.com/project/xperience-alessa
https://crowdin.com/project/xperience-parts
https://crowdin.com/project/xperience-settings
https://crowdin.com/project/rainbowunicornxpe
https://crowdin.com/project/xperience-frameworks-and-ui
Great .... Work ... Thanks a lot for making our device awesome ..
hello fantastic camera no working?? very very thanks
I have reteu european installed foro me Zplay? Yes?
What versions Twrp have using?
regards
iron maiden said:
hello fantastic camera no working?? very very thanks
regards
Click to expand...
Click to collapse
Until they apply new blobs from nougat official firmware It will not works.
Hitachy said:
Until they apply new blobs from nougat official firmware It will not works.
Click to expand...
Click to collapse
Hello ah yes you said it thank you very much
iron maiden said:
hello fantastic camera no working?? very very thanks
I have reteu european installed foro me Zplay? Yes?
What versions Twrp have using?
regards
Click to expand...
Click to collapse
You can use TWRP from alberto97 I have it.
Hello, this ROM is also compatible with the model Z Play XT1635-03 (version China Dual-SIM) ?!
Thank you very Much!
iron maiden said:
hello fantastic camera no working?? very very thanks
I have reteu european installed foro me Zplay? Yes?
What versions Twrp have using?
regards
Click to expand...
Click to collapse
This
TeamMex said:
You can use TWRP from alberto97 I have it.
Click to expand...
Click to collapse
I think that linking the right TWRP also in this thread will clear the comment.
TeamMex said:
You can use TWRP from alberto97 I have it.
Click to expand...
Click to collapse
Hitachy said:
This
I think that linking the right TWRP also in this thread will clear the comment.
Click to expand...
Click to collapse
Hello the one that I have right now but does not allow to make copy of EFS does not appear with this recovery
No wipes to install your rom? Wipe data, system, cache and davilk cache? Very thanks
iron maiden said:
Hello the one that I have right now but does not allow to make copy of EFS does not appear with this recovery
No wipes to install your rom? Wipe data, system, cache and davilk cache? Very thanks
Click to expand...
Click to collapse
If you do, efs backup never restore it or you can lose your imei
And if you do it is at your own risk.
t is the reason why in some TWRP this option is not active.
You need wipe Data factory reset to install this.
cheers
TeamMex said:
If you do, efs backup never restore it or you can lose your imei
And if you do it is at your own risk.
t is the reason why in some TWRP this option is not active.
You need wipe Data factory reset to install this.
cheers
Click to expand...
Click to collapse
Hello I do not understand if I restore EFS made with Chinese twrp can I miss the imei? I feel my English thank you very much
regards
Awesome another new ROM to eventually flash! I'm waiting to root my phone till camera is working as I use it way to much but great to know there is more than one choice for when it does come!! Thanks for your hard work!
coyotefiveoh said:
Awesome another new ROM to eventually flash! I'm waiting to root my phone till camera is working as I use it way to much but great to know there is more than one choice for when it does come!! Thanks for your hard work!
Click to expand...
Click to collapse
Rooting doesn't break camera...?
Hello good morning @TeamMex you are going to update for the bike x 2014? Do not work the ota update in the January 7th version thanks and forgive the offtopic
xxBrun0xx said:
Rooting doesn't break camera...?
Click to expand...
Click to collapse
I meant switching from stock ROM.
coyotefiveoh said:
I meant switching from stock ROM.
Click to expand...
Click to collapse
Yes, for now all nougat-based roms have broken camera.
Hitachy said:
Yes, for now all nougat-based roms have broken camera.
Click to expand...
Click to collapse
Yea I know that... That's why I'm not switching as stated in previous post.

Categories

Resources