Moto G LEDs Custom Controls - Moto G Android Development

Moto G LEDs Custom Controls
Playing With Notification LED
​Original source <<< make sure you read the blog article before commenting ....
It's always cool to know at a glance that your device is charging without the need of lighting the screen, here is how:
Requirements :
Moto G (tested on XT1032)
Rooted
SU rights granted
adb if you want to monitor all this from a computer
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, BURNT LEDs,
* thermonuclear war, or you getting fired because the alarm app failed.
* 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.
*/
{
"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"
}
in /sys/class/leds/charging/trigger we have these triggers available :
Code:
[none] bkl-trigger usb-online flash0_trigger torch_trigger mmc0 battery-charging-or-full battery-charging battery-full battery-charging-blink-full-solid bms-online
easy to change them using :
Code:
echo battery-charging >/sys/class/leds/charging/trigger
The same is available in /sys/class/leds/white/trigger, and /sys/class/leds/white/brightness allows to dim the LED, though :
During test i was able to show that using /sys/class/leds/charging/trigger overrides any other trigger (if a notification comes, then it won't change the pattern) After extended test, it turned out that MotoG also have two LEDs
[*]Though using /sys/class/leds/white/brightness allows to use 0~255 values to dimm the LED, and /sys/class/leds/white/trigger works; it is overridden by any incoming notification that set brightness back to 0.
edit : Current knowledg is :
/sys/class/leds/charging/trigger → first LED, can be set to on/blinking while charging, although at full brightness.
/sys/class/leds/white/trigger → second LED, can be dimmed, but the LED turns back off when a notification comes in.
For now, the best way is to set "first" LED (/sys/class/leds/charging/) for charging using dedicated trigger and keeping the "second" one to none and get both working together this way.
What we need is to find a way to dim the "first" LED
______________________________​
Set at boot:
WARNING : if you fail this, you may screw up your device ... (keep a backup somewhere)
Create a blank file and name it like 99charging_LED-blink
paste the following in that file :
Code:
#!/system/bin/sh
# enabling charging LED blinking while charging
echo "battery-charging-blink-full-solid" >/sys/class/leds/charging/trigger
echo "1" >/sys/class/leds/charging/brightness
mount /etc/init.d as RW
Paste 99charging_LED-blink there
set permissions as -RWXR-XR-X
Open terminal emulator, and type :
Code:
su
sh /etc/init.d/99charging_LED-blink
Plug it to charger, it should start blinking ... if not, make sure everything is correctly set
Reboot
Enjoy!
______________________________​
The above has only been tested on CM11
Here is the LED related Thread for MotoE
XDA:DevDB Information
Moto G notification LEDs Custom Controls, Tool/Utility for the Moto G
Contributors
matmutant
Version Information
Status: Testing
Created 2014-11-24
Last Updated 2014-12-15

reserved
reserved

reserved too
....

@matmutant where were you so far we were missing you soo much
thanks for the mod

reversegear said:
@matmutant where were you so far we were missing you soo much
thanks for the mod
Click to expand...
Click to collapse
I am always around here, though i don't post if un-needed, and i was out of idea regarding customizations :silly:

Working! Good job! Thank you so much for this!
EDIT: Working on CM11 and CM12 (anerik).

It would be cool if we could change the colors,and i think it would be possible..
Edit: sorry,i haven't read the blog -.-
BUT! I know you from the mini xperia's forums,i was an X8 user. I still have the old x8,and i was thinking,maybie we could make a hardware modification and swap the leds from X8 to Moto G? I have an old broken x8 at home,and the screen is broken but i think the led works. I haven't dissasembled my Moto G yet and i don't know if the led is hard sealed to the Motherboard or Speaker or camera..

Totally useless, but still classy : you can make the screen blink using :
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/lcd-backlight/trigger
:silly::silly::silly:

I´m not sure what is this for.. :S

wijiji said:
I´m not sure what is this for.. :S
Click to expand...
Click to collapse
Read, still dont understand read again

Where is that second LED located?

eddydc1 said:
Where is that second LED located?
Click to expand...
Click to collapse
in the same hole : i was able to show it on MotoE, and it should be similar on MotoG : here is the proof

Latest discovery :
Using "bkl-trigger" as */charging/trigger allows you to get the LED on as long as the screen ("bkl" stands for backlight)
Code:
echo bkl-trigger >/sys/class/leds/charging/trigger
i understood this after reading that https://github.com/gokulnatha/GT-I9...tation/devicetree/bindings/leds/leds-qpnp.txt
>_<

Why not setting this at boot?
Set at boot:
WARNING : if you fail this, you may screw up your device ... (keep a backup somewhere)
Create a blank file and name it like 99charging_LED-blink
paste the following in that file :
Code:
#!/system/bin/sh
# enabling charging LED blinking while charging
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger
echo 1 >/sys/class/leds/charging/brightness
mount /etc/init.d as RW
Paste 99charging_LED-blink there
set permissions as -RWXR-XR-X
Open terminal emulator, and type :
Code:
su
sh /etc/init.d/99charging_LED-blink
Plug it to charger, it should start blinking ... if not, make sure everything is correctly set
Reboot
Enjoy!

@matmutant thanks for interesting discovery
Can we somehow do the next thing
when notification comes leds both are active but the brighter one starts blinking?
like when you do the following commands:
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger | echo 255 >/sys/class/leds/white/brightness

S0bes said:
@matmutant thanks for interesting discovery
Can we somehow do the next thing
when notification comes leds both are active but the brighter one starts blinking?
like when you do the following commands:
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger | echo 255 >/sys/class/leds/white/brightness
Click to expand...
Click to collapse
Not without modifying the HAL :cyclops: (same as for brightness)
or, maybe with a tasker routine that would echo when notification comes and then revert ... but it would have a huge footprint on performances

Thanks for sharing this! This thread not getting much love but i found it very interesting.
And btw, can we set any LED to on when the screen is turned on by wake gesture from custom kernel? I know it should be a kernel thing, though :/

Is this work in moto g2? I don't have charging folder in Leds folder.

vikasb32 said:
Is this work in moto go? I don't have charging folder in Leds folder.
Click to expand...
Click to collapse
Moto "Go"? which ROM and Model number?
You may try with /white/ instead, but any incoming notification will override and set brightness back to 0 (that's what i've experienced on my Falcon XT1032, on a Peregrine XT1039 and on a Condor XT1022)

matmutant said:
Moto "Go"? which ROM and Model number?
You may try with /white/ instead, but any incoming notification will override and set brightness back to 0 (that's what i've experienced on my Falcon XT1032, on a Peregrine XT1039 and on a Condor XT1022)
Click to expand...
Click to collapse
Sorry moto g 2nd gen

Related

[MOD] 23/07 Binary Battery indicator for SenseFroyo 1.0c

This update installs a binary battery percentage indicator. This is a particularly 'geeky' mod, and it requires some getting used to. I made it for fun, install it if you want to, or don't if you don't like it.
If there are any ROMs that you want me to make an update.zip for, let me know. Be advised though that this mode is specifically made for ROMs with black notification bars, although the battery icons don't have a background color, I can't imagine them being readable on white notification bars.
Changlog:
Added icons.zip as attachment (contains all the icons).
Added charging icons.
Crash course: reading binary numbers.
The battery indicator consists of 2 rows of 4 'LEDs', the top row represents the 10's the lower row the 1's. Binary numbers are read from right to left, in this order the bits represent the values 8, 4, 2, 1 or (2^i for i = 3 .. 0), because the top row are 10's their values are 80, 40, 20 and 10 respectively.
For example, the image below,
{
"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"
}
.
In this image the 4, 2 and 1 LEDs are on in the top row, representing (4 + 2 + 1) * 10 = 70. In the lower row only the 4 LED is on, representing 4 . Put this together and you get 70 + 4 = 74%.
Creating your own custom framework-res.apk
If you are not using AdamG's sensefroyo 1.0c chances are that the posted update.zip will land you a nice bootloop. If this is the case, you can modify your ROMs framework-res.apk. It's not that hard, just follow the steps below. Before you start you need the Android SDK (most notably adb), apktool, the attached icons.zip and ofcourse a rooted phone. (These instructions are for linux, but windows and mac instructions won't differ that much.)
Reboot your phone into recovery. Make sure you enter whatever custom recovery image you are using.
Execute:
Code:
adb shell mount /system
adb pull /system/framework/framework-res.apk
While executing the steps described below, make a nandroid backup.
Use apktool to unpack the .apk:
Code:
apktool d framework-res.apk
Unzip icons.zip and copy the files to the right directory:
Code:
unzip icons.zip
cp res/drawable-hdpi-v4/* framework-res/res/drawable-hdpi-v4/
cp res/drawable/* framework-res/res/drawable/
CD into the framework-res.apk directory and rebuild the apk:
Code:
cd framework-res/
apktool b
Push the new framework-res.apk found in the dist/ directory:
Code:
adb push dist/framework-res.apk /system/framework/framework-res.apk
.
Reboot phone.
Don't blame me if it goes wrong!
nice idea but i'd stick with the decimal battery for quicker reading although i love this kind of stuff
nice idea, but kind of useless since human beings operate on decimal system
Hi - sorry to be a killjoy - maybe I pushed it wrong, but this made my phone boot continuously (HTC white screen boot loop)
I booted into recovery and then used the following commands:
adb shell mount /system
adb pull /system/framework/framework-res.apk C:\AndroidBackup
adb push framework-res.apk /system/framework
adb reboot
let me know if I've missed something!
fatboygrim said:
Hi - sorry to be a killjoy - maybe I pushed it wrong, but this made my phone boot continuously (HTC white screen boot loop)
I booted into recovery and then used the following commands:
adb shell mount /system
adb pull /system/framework/framework-res.apk C:\AndroidBackup
adb push framework-res.apk /system/framework
adb reboot
let me know if I've missed something!
Click to expand...
Click to collapse
What rom are you using?
ah yes - my fault - I'm using Modaco R5 WIP - didn't notice it's only for v1.0c of the AdamG/Opendesire team froyo sense Rom
Any chance of getting a version that will work on Modaco / other roms etc?
stingerpl said:
nice idea, but kind of useless since human beings operate on decimal system
Click to expand...
Click to collapse
I'd hardly consider it useless, there are people who enjoy reading their numbers in binary.
Nice work blubber83, I'm sure there will be people on here who will love this
munkimatt said:
Nice work blubber83, I'm sure there will be people on here who will love this
Click to expand...
Click to collapse
Absolutely! Please create versions that will work on a few other (popular) Roms
Nice touch and idea, won't be using as I don't have the foggiest! Nice work though
stingerpl said:
nice idea, but kind of useless since human beings operate on decimal system
Click to expand...
Click to collapse
Speak for yourself. After 10 Years of Engineering, I see Hex or binary where it's not even intended.
nice idea, but kind of useless since human beings operate on decimal system
Click to expand...
Click to collapse
Speak for yourself. After 10 Years of Engineering, I see Hex or binary where it's not even intended.
Click to expand...
Click to collapse
What do you mean "speak for yourself"? I'm an engineering graduate also but I'm still pretty sure that human beings operate in decimal system. If this would not be true, you should not need any instructions on how to convert it back to dec. For me, using this is like making a cup of tea with your boxing gloves on. I just don't see the point.
stingerpl said:
What do you mean "speak for yourself"? I'm an engineering graduate also but I'm still pretty sure that human beings operate in decimal system. If this would not be true, you should not need any instructions on how to convert it back to dec. For me, using this is like making a cup of tea with your boxing gloves on. I just don't see the point.
Click to expand...
Click to collapse
Why do human's work on decimal? Because that's the number system we are first taught as a child. When you have been using a different number system almost as long as another, the distinction is small.
If you're fluent in several languages you'll understand exactly what I mean.
Hence I said "Speak for yourself", it was a light hearted joke, it is of course true to most humans, but there is no reason binary should be much harder than decimal if you use it enough.
I will make a Super Circle battery Mod with binary number ...
... in version Z !!!
I've attached a new version with charging animation. Also posted some instructions on making your own mod for different ROMs then sensefroyo.

Scripts for Nautilus (Linux file browser)

Hello !
I wrote some scripts for easily pushing and installing files/apks to your android device.
The advantage over "command line" and other scripts like mine :
- Multiple selection allowed (install 100 APKs in one click ! )
- You have a progress bar (shows only the progression between multiples files/ not the state of a single pushing).
- You can choose the destination on your phone with a simple prompt by choosing "Push to ..."
- It's a very simple and lightweight nautilus script...
- You don't have to (in fact, you can't) put the usb in "usb disk" mode, just have debugging enabled.
Examples
To simply install some applications, just select them, right click, go to scripts->ADB->install
{
"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"
}
Progression :
Idem for files :
Progress :
Confirmation :
(So the "Push to ..." allow you to choose a destination. "Push to musique" is just a copy of "Push to sdcard" with the second line of the script changed to copy files to /sdcard/music/ instead of /sdcard/ )
How to install
- Download the scripts :
http://www.itstudents.be/~tom/android/ADB Scripts for Nautilus.tar.gz​- Uncompress the files in ~/.gnome2/nautilus_scripts/ADB/
So if your name is mario, you should copy the 3 files to :
/home/mario/.gnome2/nautilus-scripts/ADB/
You are not obliged to make the last folder named ADB, it's just to make "categories" in the Nautilus script menu (like in the screenshots)​
Requirements
- A correctly installed ADB
What is a correctly installed ADB?
- The PATH environment variable has to be set, to be able to just type "adb" and not "/path/to/sdk/platform-tools/adb". If it's not done :
Edit the file ~/.bashrc , you can do that by typing in the console
Code:
gedit ~/.bashrc
and add this line changed for yourself at the end of the file
Code:
export PATH=${PATH}:/path/to/android-sdk-linux_86/platform-tools/
Or, if this does'nt work :
Edit the file /etc/environment , you can do that by typing in the console
Code:
gedit /etc/environment
and add this text changed for yourself at the end of the line "PATH:", before the last ["]
Code:
:/path/to/android-sdk-linux_86/platform-tools/
- The rules for udev have to be made to allow any non-root user to access to the device
Method for any HTC device :
Edit with root rights the file /etc/udev/rules.d/51.android.rules by typing in the console :
Code:
gksudo gedit /etc/udev/rules.d/51.android.rules
and add the lines :
Code:
SUBSYSTEM=="usb|usb_device", SYSFS{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
Hope you'll enjoy !
Please correct my english
don't want people to know what you're listening to, eh?
It's cool; I like it.
very useful
thanks man
I've been wanting to do something like this but never had time to. Will definitely test this out!
Sent from my Nexus One using XDA App
Oh epic win thanks for this!
Sent from my HTC Hero using XDA App
Please reupload ADB Scripts for Nautilus.tar.gz somewhere.
Stupid me...
http://www.kmel.be/~tom/android/ADB Scripts for Nautilus.tar.gz
Please note a little "bug", the progress bar progress when a file start transfer. So if you send just one big file, it will be at 100% for a little time...
Easily correctible, but I haven't the time now...
MappaM said:
Stupid me...
http://www.kmel.be/~tom/android/ADB Scripts for Nautilus.tar.gz
Please note a little "bug", the progress bar progress when a file start transfer. So if you send just one big file, it will be at 100% for a little time...
Easily correctible, but I haven't the time now...
Click to expand...
Click to collapse
nice work. very handy
EDIT: actually I may have spoke too soon, these don't seem to be working for me. Ubuntu 10.10
I know my udev and $PATH are all set up correctly. So I'm not sure where these are failing for me..
any thoughts?
EDIT2: OK it was a $PATH issue the ~.bashrc however is only for interactive non login shells adding the adb path to ~.profile and a re-login solved my problem with this script. Or alternatively you could call adb in the script using it's full path.
Thanks MappaM for the great base script!
Here is my version of "Push to Movies":
My solution to the immediately full progress bar was to use the --pulsate option in zenity this works for me because I am likely to only be sending one file anyway and don't need the fine grain feed back of an incremental progress bar. The one that bounces back and forth is what you will see.
echo "15" ; sleep 1
is a hack, you may not need it but for me it lets the pulsate flag work.
zenity bugs reported here
https://bugs.launchpad.net/zenity/+bug/291850
https://bugzilla.gnome.org/show_bug.cgi?id=567663
Code:
#!/bin/sh
#this is MY path, your path will be different . change this path.
android_path="/sdcard/media/video/movies/"
i=1
(
for thing in "[email protected]"
do
# this first echo tricks the pulsate into working you may not need it. try it both with and without it.
echo "15" ; sleep 1
echo $(($i * 100 / $#))
echo "# Pushing \"${thing}\"" ;
adb push "${thing}" $android_path
i=$(($i+1))
done; i=$(($i-1)) ; echo "# $i files pushed." ) | zenity --progress --pulsate --auto-kill --width=300 --text "Copying files..." --title "Pushing files to $android_path"

[ROM][4.2.2][NIGHTLIES] CyanogenMod 10.1 for HTC One XL

CyanogenMod 10 is a free, community built distribution of Android 4.2.2 (Jelly Bean) which greatly extends the capabilities of your phone.
This is the official Nightly Build of CM10.1 for the AT&T HTC One X / HTC One XL.
To hear about the latest updates and changes to CyanogenMod as a whole, please follow +CyanogenMod on Google+!​
Code:
#include
/*
* 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 Instructions (These are all required)
S-Off your device (Do this before RUU'ing and it will not wipe your /sdcard)
Update to 3.18 RUU
Flash a custom recovery (TWRP/CWM)
Download latest Nightly
Download and flash GAPPS
Nightlies return! Keep an eye on http://get.cm/?device=evita
List all Questions and Off-Topic discussions here
Changelog
You can find the latest Changelog here
Github
Huge thanks:
intervigil, xkonni, toastcfh, deck and rohan32 - Great team to work with for the HTC MSM8960 device family.
Issue Reporting
Report device specific bugs to the Issues List. Please make sure to mark the issue with the Label "Milestone-CM10.1" so we can keep versions of CM issues separate.
Report CyanogenMod specific bugs to CyanogenMod's Jira Tracker.
NOTE:
Do not expect support if you have issues after you:
Use applications like CyanDelta
Restore data from Titanium Backup
Flash custom kernels
Use random flashable mods on top of CyanogenMod (except Google Apps)
Those things alter cyanogenmod and no one can expect me to support add-ons / random apps / etc. along with keeping our device maintained. Please keep this in mind. If you have an issue, remove all mods, remove all custom kernels, flash the kernel that comes with the cm.zip. At that point, please reply with issues.
FAQs:
* Q: Why don't i have Reboot -> Recovery/Bootloader any more?
* A: Read this
* Q: I'm having Google Play Music Issues! What do I do?
* A: Go to Settings -> Apps -> All. Disable Apollo, reboot your device, and then clear app data in Play Music. See this issue for details.
{
"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"
}
How to gather helpful data for troubleshooting
Pre-requisites:
ADB setup and minor knowledge on how to use it. (See here if you do not have such knowledge)
Have an open command prompt or terminal window.
How to obtain a full logcat
Code:
adb shell
su
logcat > /sdcard/logcat.txt
exit
exit
adb pull /sdcard/logcat.txt
How to obtain a targeted logcat for a particular issue
Code:
adb logcat > logcat.txt
Immediately reproduce the issue
CTRL + C out of the running logcat.
How to obtain a dmesg (helpful for catching kernel issues on a running build)
Code:
adb shell
su
dmesg > /sdcard/dmesg.txt
exit
exit
adb pull /sdcard/dmesg.txt
How to obtain a last_kmsg (helpful for catching kernel issues from last kernel boot-up such as bootloops)
Code:
adb shell
su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
exit
exit
adb pull /sdcard/last_kmsg.txt
Christmas Time =DDDDDD
Sent from my HTC One XL using xda app-developers app
Have been using CM10.1 on my Galaxy Tab 2 and it's been awesome. Can't wait to try this out
Sent from my faster than Chuck Norris, One XL
it wont boot on mine. hboot 1.14 flashed boot.img after full wipe . ideas?
Same, doesn't boot on my one x with 1.09
I love you so much h8rift. I'm going to flash this immediately. Happy holidays!
Update: It runs! everything is looking great at the moment
I'm on hboot 1.09 and I did the following:
- Factory reset
- Wiped system (redundant?)
- Wiped cache
- Wiped dalvik cache
- Installed cm10.1
- Installed 4.2 gapps
- Rebooted
(in that order)
Issues noticed so far:
- Google Now (specifically the voice search aspect) crashes -------- FIXED
- CRT animation is SUPER fast (I'm not sure if this is a bug or how it is supposed to be) -------- Not a bug
- One time when turning off the screen, the screen displayed a tan-ish color (I haven't been able to reproduce this though) -------- Nothing wrong
That is all for now, I would post this on the issue tracker, like you stated--but I want to see if it's just me having these issues or if it's everyone.
Thank you for all your hard work on this, h8rift and the rest of the team.
Well done h8. I'm excited to try this out. Absolutelygrim and I will have a new base for our MIUI.
BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOM! Glad this got posted on a day like this
Merry Christmas to all, or Happy Holidays to those who don't celebrate it
Wicked cool! I got my Christmas wish. Thanks h8rift
Sent from my One X using xda premium
Thanks h8, let's hope s-off plays through as well. Amazing Christmas presents
# su
i flashed it and got it to boot, i know some are having issues getting it to boot. well i got booted in everything worked but i had to reboot phone and once i did it was stuck on the htc screen and i couldnt find any way around it.
Mike724 said:
Issues noticed so far:
- Google Now (specifically the voice search aspect) crashes
- CRT animation is SUPER fast (I'm not sure if this is a bug or how it is supposed to be)
- One time when turning off the screen, the screen displayed a tan-ish color (I haven't been able to reproduce this though)
That is all for now, I would post this on the issue tracker, like you stated--but I want to see if it's just me having these issues or if it's everyone.
Click to expand...
Click to collapse
- just tested google now w/o issues :-S.
- CRT animation is supposed to be that fast .
- Not sure what could be causing that tan-ish stuff, keep an eye out. maybe there's a slight race condition where colorspace isn't loaded before display turns on. Either way, shouldn't be anything serious.
ps3kev said:
i flashed it and got it to boot, i know some are having issues getting it to boot. well i got booted in everything worked but i had to reboot phone and once i did it was stuck on the htc screen and i couldnt find any way around it.
Click to expand...
Click to collapse
if you can get it booting again, get me a last_kmsg:
adb shell
su
cat /proc/last_kmsg > /sdcard/lastkmsg.txt
then PM it to me if you dont mind (don't post it in case it may have some sort of personal data in it like your email addy, etc.)
i cant get it booted. my question is why it does this. i got 4.1.2 aosp rom booted up just fine after this happened
---------- Post added at 07:43 AM ---------- Previous post was at 07:42 AM ----------
it only booted once which is so weird. and then i rebooted it and boom stuck on htc screen
h8rift said:
- just tested google now w/o issues :-S.
- CRT animation is supposed to be that fast .
- Not sure what could be causing that tan-ish stuff, keep an eye out. maybe there's a slight race condition where colorspace isn't loaded before display turns on. Either way, shouldn't be anything serious.
Click to expand...
Click to collapse
That's weird about Google Now issue. If I click the microphone icon or say "Google", it immediately crashes. I'll try again with a new copy of gapps.
ps3kev said:
i cant get it booted. my question is why it does this. i got 4.1.2 aosp rom booted up just fine after this happened
Click to expand...
Click to collapse
May have to do with some of the necessary kernel changes to get 4.2 going (and vsync, for that matter). getting a kernel msg for one or more of these breaking should help narrow down what is missing/broken so we can fix it or ifdef it in or what-have-you.
When we tested the mass kernel change towards vsync a couple of months ago, this happened.
I'm going to look back on what needed to be changed/removed and see if anything jumps out at me, but i'll need folks help who this is busted for as well.
Mike724 said:
That's weird about Google Now issue. If I click the microphone icon or say "Google", it immediately crashes. I'll try again with a new copy of gapps.
Click to expand...
Click to collapse
oh derp, yeah you'll need the 4.2 gapps linked in OP.
h8rift aby reason why it'll boot on some and not on others?

[ROM][4.4.2][Best Ever]MIUI 7 Beta [5.9.10][Smoothness Redefined]

Here is My Another Rom for Mmx A110Q
PHP:
#include
/*
* 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.[/COLOR]
*/
{
"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"
}
* Full Multilanguage
* Xperia keyboard
* Random Reboot Fixed
* After calls freeze Fixed
* Smoothness added
* Fast,stable and Fluid Ui
* Partitions Fixed
* GPS Tweks
* BT Tweks
* Pre-Rooted
* Brighter Flashlight
* Brighter Camera Flash
* Themes Supported
* Battery Tweaks Added
*Optimized speed and WiFi
*Global MIUI6 style theme
*Optimized GPS, speed up positioning speed
*Touch effect optimization
*Optimized CPU running
*Deodex
*Optimized memory management
*Optimized network
*Optimized battery power
*Zipaliagned*
*Improve picture quality and Camera quality
*Unlocked FPS, improving 2D / 3D performance
* Many More....
And Lots Of Stuff I Dont Remember Now
Screenshots
HERE
Bugs-
Post If u find any
Download Link
See Post No. 2 below
Installation
1. Place downloaaded rom zip into root of sd.
2. wipe data, cache , dalvik cache using custom recovery
3. select install zip from sd and select rom zip .
4. reboot and enjoy
- To Enable Root Acces go to "Security"(app), click Permission manager and check root permission
Credits
Ankit Saini (Me)
AND SPECIAL THANKS TO AMIT AND PINTO THAKUR
Give Feedbacks For This Rom Thank You !!
Leave a THANK. It will Motivate me.
XDA:DevDB Information
[ROM][4.4.2]MIUI 7 Beta [5.9.10], ROM for the Micromax Canvas 2 Plus A110Q
Contributors
asainiboy, asainiboy
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Current Beta Version: 5.9.10
Created 2015-09-12
Last Updated 2015-09-12
DOWNLOADS
Mod Edit – Some content removed
PLease Read FAQ. Its recommended.
FAQ
Q:How to enable ROOT ?
A:First open any app which requires root permission and use it but a pop-up will appear that will say you dont have root access.
Then go into Security > Permissions > Root Access. There you will see the app which requires root. Click on it then it will ask you to accept the permissions.There will be 4 or 5 Pop-ups and in each you will need to wait 5 sec. After it gets completed you will get root access for the respective app.
Getting DeepSLEEP Bug?
A: Flash THis via cwm Fixed In Version 2
Q: System Animation is slow?
A: Go to setting>Additional Settings>developer option, and change these values:
window animation scale->.5x
transition animation scale->.5x
animator duration scale->.5x
Q: Getting message "Dont Cover the orange area of screen!"???
A: It is a feature of MIUI6 to prevent Pocket Dial, To Disable this goto SETTINGS>ADDITIONAL SETTINGS>DISPLAY and disable prevent pocket dial.
Q:Confused Between Buttons??
A: Menu Button>Recent Apps
Back Button>Back
Home Button >Home
Menu Button(longPress)>Options
Note : to change these: Goto SETTINGS>ADDITIONAL SETTINGS>BUTTONS and customise as per ur need
Q:How to Change default storage?
A: Goto SETTINGS>ADDITIONAL SETTINGS>Storage and change as per ur requirements.
Q: How to add widgets/replace icons?
A: Just pinch the homescreen and customise as u like..
Q: How to Set Personal Ringtones?
A:Play Your rintone/music/song which you want to set ringtone and tap on albumart>select "..." and click set as ringtone. SEE IMAGE BELOW:
Q: How To remove any chinese app(if u dont like that)
A: Simply Uninstall from app manager..
Q: How to move apps to SD-Card ?(if u dont like that)
A: Moving apps to sd does not works on MIUI.
Q: How to Turn ON flash light from Lock Screen ?(if u dont like that)
A:The lock screen on the MIUI v6 or v5 had a few extra functions than the standard unlocking and shortcuts. One of them is turning flashlight On directly from the lock screen. For that, while the screen is active but locked, you just need to long press the home button and the torch / flashlight turns on. It would not turn off until you prompt it although the screen would go blank in a few seconds.
Q: How to Change the look of Multitasking / Recent Menu ?(if u dont like that)
A:By default, when you press the Recent key (the left bottom one), the recent apps show up, and it is just the App icon that is seen. But, you can make it look like the iOS multitasking screen where large thumbnails are shown, with the preview of what is going on in the app. You can change that by “pinching out on the empty area in the multitasking screen”. Pinching in / out is what changes the look, basically.
Thats It...
Nice...
Great work...
My rom version is 5.8.13 beta...
Do I wipe all and install this one or
Just install without wipe anything...
And one more thing that the option of move to SD card is available or not???
Reply please...
Best of luck for future roms...
Nice...
Great work...
1 >> please help me...in every previous MIUI roms i install whatsapp notifications are not appearing
only when i open app only then it bursts out all the notifications
2 >> When i remove all the chinese apps ..bloatware with root es explorer as some apps cannot be uninstall from the settings
>>>In the next reboot it stucks on the bootloop
3 >> waiting for move to sdcard option
please help
keep up the good work
Best of luck for future roms.
ejaz.msgs said:
Nice...
Great work...
My rom version is 5.8.13 beta...
Do I wipe all and install this one or
Just install without wipe anything...
And one more thing that the option of move to SD card is available or not???
Reply please...
Best of luck for future roms...
Click to expand...
Click to collapse
if you are using MIUI 6 previous version flash directly and flash gapps(again)
else do all wipes
MIUI doesnt support app to sd
developer_android said:
Nice...
Great work...
1 >> please help me...in every previous MIUI roms i install whatsapp notifications are not appearing
only when i open app only then it bursts out all the notifications
2 >> When i remove all the chinese apps ..bloatware with root es explorer as some apps cannot be uninstall from the settings
>>>In the next reboot it stucks on the bootloop
3 >> waiting for move to sdcard option
please help
keep up the good work
Best of luck for future roms.
Click to expand...
Click to collapse
whatsapp notifications working fine(just lock whatsapp in recent apps)
I just install this rom without wipe and it works for me...
My previous rom 5.8.13 beta...
And this new version is better than before...
Thanks to you...
One more issue is that it is not rooted...
Please provide patch for rooting...
Thanks...
Everything works fine but the led notification doesn't work. Not even while charging. I guess it was fixed in 5.8.xx but again this problem has occured.
Very nice work.. Thanks Dev....
Its been two days i am using this ROM. Came across following bugs,
1. NVRAM error (Can be solved using a patch of NVRAM available on XDA)
2. Applying theme other than the default one - Just the main screen looks cool.. navigate to settings - entire background and font goes black.
3. Notification light not working while charging.
4. Auto rotation problem in a specific behavior - Keep auto-rotate on > Open any App (say whatsapp) > Rotate your screen(landscape) > Turn off Auto-rotate (keeping whatsapp on) > Navigate to main screen > Main screen will be properly rotated (Portrait), Open back Whatsapp, It will open in rotated (landscape) screen.
Will post if found anymore bug.
Thanks again for the ROM...!!!!
Great Rom..
anyone face battery drain issue ..?
superb work...
thanks
Gr8 work....
Ota update works or not....????
Probably No......Cause There were Two Updates since i installed this and no one of it works......Hopefully wait for an updated patch....
Mod Edit
Thread Closed
ronnie498
Senior Moderator

[Experimental][WIP][Ubuntu Touch - 15.04][20-01-2016] Ubuntu Touch for Moto-E

{
"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 <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.
*/
WARNING : This ROM is a "Work In Progress" : this ROM is experimental, Only tested in xt1021 ,flash it only if you know what you are doing
Downloads
Ubuntu Touch Condor 20-01-2016.tar.xz
How to install
Do not forget to do a NANDROID backup before flashing anything.
You need to use Ubuntu AND a Motorola Moto E (2014) Unlocked
That's only flashable on Ubuntu/Linux because the rootstock software (flashing tool) doesn't exist on Windows OS
Flash on you device,
1. Extract Ubuntu Touch Condor 20-01-2016.tar.xz to a some folder
2. Reboot the device into fastboot mode
3. Flash boot.img and recovery.img using fastboot
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
4. Boot the device back to recovery
5. Wait until adb has started (use "adb devices" to check if it has started)
6. Wipe Data partition with adb shell (recovery dont have option to wipe)
Code:
adb shell
$ mount data
$ cd data
$ rm -rf *
$ exit
7. Flash ubuntu root system and system.img using rootstock installer
Code:
./rootstock-touch-install vivid-preinstalled-touch-armhf.tar.gz system.img --custom device_condor.tar.xz
8. After that it may boot ubuntu.
Click to expand...
Click to collapse
Sources: https://github.com/ElKowak(not updated)
Thanks you
Remember that's a community project
Thanks guys
changelog
20-01-2016 Second Release
updated to ubuntu 15.04
17-12-2015 Initial Release
What is Working :
Wifi (stop working when turn off on network manager)
Mobile Data (tested in xt1021 maybe works on xt1022 too)
Sdcard
Sound (parcially)
Voice call (thanks to @peat_psuwit)
Dual Sim (thanks to @peat_psuwit)
What is Not Working:
Gps
Bluetooth ( not tested)
Bugs:
Some freezes on firstboot
Wifi Workarround
Enable Developer mode on System Settings
Code:
$ adb shell
$ ifconfig wlan0 up
$ service network-manager restart
your tell me
Woah!!!Great job man!
Inviato dal mio Moto E utilizzando Tapatalk
Wooow I've waited a long time for this!!
images
Amazing
Good work thanks
.-.-
awsum
love it!!!!!!!:laugh::laugh::laugh:
hopefully over time it becomes stable
I'm trying to install it but I get this error:
"adding android system image to installation ... simg2img: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory"
any solution
magdeoz said:
I'm trying to install it but I get this error:
"adding android system image to installation ... simg2img: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory"
any solution
Click to expand...
Click to collapse
try this
Code:
$ sudo apt-get install libselinux1
kowakx said:
try this
Code:
$ sudo apt-get install libselinux1
Click to expand...
Click to collapse
archlinux
magdeoz said:
archlinux
Click to expand...
Click to collapse
you can try install libselinux from archlinux aur repository https://aur.archlinux.org/packages/libselinux/
but i don't know if work or you can use a ubuntu in virtual box
kowakx said:
you can try install libselinux from archlinux aur repository https://aur.archlinux.org/packages/libselinux/
but i don't know if work or you can use a ubuntu in virtual box
Click to expand...
Click to collapse
Thanks, I tried
Code:
yaourt -S libselinux
and it worked!
some screenshots
After nearly a day installed, from one moment to another the wifi stopped working, reboot several times and simply not detected any network.
In everything else I loved it!!
waiting for a new build
magdeoz said:
After nearly a day installed, from one moment to another the wifi stopped working, reboot several times and simply not detected any network.
In everything else I loved it!!
waiting for a new build
Click to expand...
Click to collapse
enable development mode on about this phone and use this command on adb shell
Code:
$ ifconfig wlan0 up
$ service network-manager restart
ubuntu
@ developer can u port it for our moto g2 titan .... plzz I can help with testing
It's a humble request please maintain this rom........whenever u get time don't just make it outdated.......bcause lot of condor users are waiting for it.........thanx for the work.....
now im working in call sound and in update ubuntu touch version to 15.04 (14.09/14.10 is not supported anymore)
when 15.04 runs smooth than 14.09 i will upload a new build

Categories

Resources