Affichage des articles dont le libellé est CM12based. Afficher tous les articles
Affichage des articles dont le libellé est CM12based. Afficher tous les articles

vendredi 27 février 2015

[Q] NFC problems in CM12-based mods with kltexx/g900f topic






Hi,

the mod threads for the various cm12 builds claim that NFC is working, and there are also several user replies with reports that it works fine. Yet it doesn't work for me, and at least some others: The device reports that NFC is working, I can activate and deactivate it, but neither Beam nor reading NFC tags works. The funny thing is that after flashing cm12, restoring an old cm11 nandroid backup does not restore NFC functionality. It doesn't matter if I do a clean install/full wipe. With Lollipop TW roms (I've tried XtreStoLite), NFC works fine. I have the ANK1 modem and ANK7 bootloader installed.

Things I've tried so far:
  • Using Samsung's nfc libs from XtreStoLite (They don't work; the NFC app just keeps crashing, probably because they require a tw kernel)

  • Using the g900i NFC fix (I don't know how to check which NFC chip is installed and thought that maybe they use different ones among different g900f devices)

  • Manually updating the NFC configuration files (because I've noticed that despite running the latest nightly at that time, the files in /etc/libnfc* did not include the commit that updated them for Lollipop. This, however, does not seem to be the case with current nightlies anymore.)

  • Using different kernels

  • Using Temasek's hlte-based CM12 build and the unofficial builds from cm's repo that are posted in the unified forum


There's nothing that looks particularly interesting in logcat, with the possible exception of these lines:

Code:


# Just after enabling NFC
E/BrcmNfcJni( 2220): nfaConnectionCallback: unknown event ????
E/BrcmNfcJni( 2220): nfaConnectionCallback: unknown event ????
# When starting an NFC test app
I/Timeline( 2314): Timeline: Activity_launch_request id:com.nxp.taginfolite time:1175958
I/ActivityManager(  683): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nxp.taginfolite/.activities.MainView bnds=[857,362][1044,608]} from uid 10160 on display 0
I/MicrophoneInputStream( 2682): mic_close gzi@dd3f2d7
D/audio_hw_primary(  271): in_standby: enter: stream (0xb34a20c0) usecase(7: audio-record)
E/BrcmNfcJni( 2220): nfaConnectionCallback: unknown event ????
E/BrcmNfcJni( 2220): nfaConnectionCallback: unknown event ????
D/BrcmNfcJni( 2220): RoutingManager::nfaEeCallback: NFA_EE_SET_TECH_CFG_EVT; status=0x0
D/BrcmNfcJni( 2220): RoutingManager::nfaEeCallback: NFA_EE_SET_PROTO_CFG_EVT; status=0x0
D/BrcmNfcJni( 2220): RoutingManager::commitRouting
D/BrcmNfcJni( 2220): RoutingManager::nfaEeCallback: NFA_EE_UPDATED_EVT
# When trying to disable NFC
I/NfcP2pLinkManager( 2220): Duplicate onLlcpDectivated()
E/BrcmNfcJni( 2220): nativeLlcpServiceSocket_doAccept: fail accept
D/NdefPushServer( 2220): stop, thread = Thread[Thread-91,5,main]
D/NdefPushServer( 2220): shuting down server thread
E/SnepServer( 2220): IO error
E/SnepServer( 2220): java.io.IOException
E/SnepServer( 2220):        at com.android.nfc.dhimpl.NativeLlcpServiceSocket.accept(NativeLlcpServiceSocket.java:42)
E/SnepServer( 2220):        at com.android.nfc.snep.SnepServer$ServerThread.run(SnepServer.java:211)
E/BrcmNfcJni( 2220): nativeLlcpServiceSocket_doAccept: fail accept
E/NdefPushServer( 2220): IO error
E/NdefPushServer( 2220): java.io.IOException
E/NdefPushServer( 2220):        at com.android.nfc.dhimpl.NativeLlcpServiceSocket.accept(NativeLlcpServiceSocket.java:42)
E/NdefPushServer( 2220):        at com.android.nfc.ndefpush.NdefPushServer$ServerThread.run(NdefPushServer.java:154)
E/BrcmNfcJni( 2220): nativeLlcpServiceSocket_doAccept: fail accept
E/HandoverServer( 2220): IO error
E/HandoverServer( 2220): java.io.IOException
E/HandoverServer( 2220):        at com.android.nfc.dhimpl.NativeLlcpServiceSocket.accept(NativeLlcpServiceSocket.java:42)
E/HandoverServer( 2220):        at com.android.nfc.handover.HandoverServer$ServerThread.run(HandoverServer.java:108)
E/BrcmNfcJni( 2220): RoutingManager::nfaEeCallback: unknown event=2 ????


There's nothing interesting in dmesg, as far as I can see.

Has anyone solved this problem, or another idea how this could be solved? Also, if others here are affected as well, maybe we can pinpoint why some of us are affected and others aren't.






mercredi 11 février 2015

[ROM] [titan] [5.0.2] [CM12-based] **crDroid** topic







this is crDroid for Moto G





crDroid Custom Features:

Nav bar tweaks (on/off toggle and custom dimensions);
Animated rotation tile;
Wake up on plug;
Development shortcut;
Clock and time clickable in expanded status bar;
Notification ticker;
Quick unlock;
PIN keypad shuffler;
Custom lockscreen shortcuts;
Answer calls with hardware home button;
Status bar clock tweaks (right, center or hide clock with many dates formats to show. Custom colors included);
Notifications counter;
Volume keys wake the device;
Ability to hide the alarm clock icon from status bar;
Dialer Lookup;
Profiles form CyanogenMod (new merges and lollipop style);
Protected apps (using trebuchet launcher);
Filter spam notifications;
CyanogenMod SuperUser;
Clear all button in recent panel with custom option (hide, top right or top left);
Privacy guard from CyanogenMod;
Quick settings pull down with one finger (right, left or off);
Smart pull down;
Configurable 0, 90, 180 and 270 degree rotation;
Toggle to not allow quick settings on secure lockscreen;
Brightness control through status bar;
Double tap status bar sleep;
Data activity indicators;
Call blacklist support;
Increasing ring tone;
In call vibrations;
Advanced reboot menu;
Option to hide adb notification;
Screen shot quick delete with confirmation;
Long press back to kill with configurable timeout;
Less frequent notifications sound;
Advanced keyboard features (auto rotation with timeout, disable full screen, selector notification, show enter key, volume key cursor control);
New Eleven music player and AudioFX from CyanogenMod;
Statusbar network speeds;
AOKP system animations;
Left handed navbar during landscape mode;
App circle sidebar;
Toast Animations;
Media Scanner on boot behaviour;
Gesture Anywhere;
Omniswitch;
Screenrecorder;
Weather banner;
Search bar in recents;
Omniswitch instead of cm recents;
Wakelock blocker;
Advanced powermenu;
Lcd density;
cLock;


Among others. For more info visit our github

Always Have a full functional Backup. Just in case!


TITAN


PA gapps


screenshots



First time installing crDroid to your Moto G, or coming from another ROM:
- Make sure you're running a proper working Recovery (CWM or TWRP)
- Copy GApps and crDroid zip to your internal SDCard
- Boot into Recovery
- Wipe system,cache,data
- Flash crDroid zip
- Flash GApps zip
- DO A DATA WIPE / FACTORY RESET
- Reboot
- Don't restore Apps using Titanium Backup!


Don't expect any support if you:
- are not running stock crDroid-kernel
- have installed any mods such Xposed!
- have modified system files



Thanks to:

CM Team
Slim Roms Team
ParanoidAndroid Team
temasek
Omniteam
@slukk
@Shawn5192
@luk1337


And Many More...



http://crdroid.org/


crDroid G+ community


https://github.com/crdroidandroid

XDA:DevDB Information
crDroid, ROM for the Moto G 2014

Contributors
firebird11, Cristiano Matos, davidteri91, ChemoNL
Source Code: https://github.com/crdroidandroid

ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Testing

Created 2015-02-11
Last Updated 2015-02-11