LightBlog

mardi 12 avril 2016

[Request] Rio-L03 oem info file

Hi, could someone please get me a copy of OEMinfofile from RIO-l03 device.
It can be found at: dev/block/platform/soc.0/7824900.sdhci/by-name/oeminfo
(root access required).
Thanks in advance!


from xda-developers http://ift.tt/1MsQMIa
via IFTTT

mate 8 locked

i bought a used mate 8 locked with à huawei ID when i try to activate it . it ask for the first owner if . but i dont have it . and i managed to unlock the bootloader bug can't flash nothing on it . any help fellas


from xda-developers http://ift.tt/1qne5bX
via IFTTT

[VR-560] TEKXnesis HYBRID S7E URv1 00/00/16 G935F TEKXodus TERRITORY -> TEKHDway!

S7E DEV Thread under construction... TEKXnesis/TEKXodus TERRITORY,...!*!







TEKHD


from xda-developers http://ift.tt/1qGPLlR
via IFTTT

Moto x Style(pure) Maximum external storage question.

I currently am debating on getting a high capacity micro SD card for my moto. I was wondering what the maximum capacity is, I know they sell up to 512 GB micro SD cards but am wondering if the phone would even support it. If not what is the maximum capacity? Thanks!!


from xda-developers http://ift.tt/1qne33L
via IFTTT

BLE Application (Display data from characteristic in a textView)

I used the BluetoothLeGatt example code to write an app that automatically connects to a bonded BLE peripheral upon launching the app. Now i am trying to display the data from one of the peripheral's characteristic in a textView. The BluetoothLeGatt example code only demonstrates this using ExpandableListView.OnChildClickListener, my app should require no user input and simply get he data from the characteristic. This is what i have so far:

Code:


private TextView mConnectionState;
private TextView mDataField;
private String mDeviceName;
private String mDeviceAddress;
private ExpandableListView mGattServicesList;
private BluetoothLeService mBluetoothLeService;
private boolean mConnected = false;
private BluetoothGattCharacteristic mNotifyCharacteristic;
 
private final String LIST_NAME = "NAME";
private final String LIST_UUID = "UUID";
 
// Code to manage Service lifecycle.
private final ServiceConnection mServiceConnection = new ServiceConnection() {
 
    @Override
    public void onServiceConnected(ComponentName componentName, IBinder service) {
        mBluetoothLeService = ((BluetoothLeService.LocalBinder) service).getService();
        if (!mBluetoothLeService.initialize()) {
            Log.e(TAG, "Unable to initialize Bluetooth");
            finish();
        }
        // Automatically connects to the device upon successful start-up initialization.
        mBluetoothLeService.connect(mDeviceAddress);
    }
 
    @Override
    public void onServiceDisconnected(ComponentName componentName) {
        mBluetoothLeService = null;
    }
};
 
// Handles various events fired by the Service.
// ACTION_GATT_CONNECTED: connected to a GATT server.
// ACTION_GATT_DISCONNECTED: disconnected from a GATT server.
// ACTION_GATT_SERVICES_DISCOVERED: discovered GATT services.
// ACTION_DATA_AVAILABLE: received data from the device.  This can be a result of read
//                        or notification operations.
private final BroadcastReceiver mGattUpdateReceiver = new BroadcastReceiver() {
    @Override
    public void onReceive(Context context, Intent intent) {
        final String action = intent.getAction();
        if (BluetoothLeService.ACTION_GATT_CONNECTED.equals(action)) {
            mConnected = true;
            updateConnectionState(R.string.connected);
            mConnectionState.setTextColor(Color.parseColor("#FF17AA00"));
            invalidateOptionsMenu();
        } else if (BluetoothLeService.ACTION_GATT_DISCONNECTED.equals(action)) {
            mConnected = false;
            updateConnectionState(R.string.disconnected);
            invalidateOptionsMenu();
            clearUI();
        } else if (BluetoothLeService.ACTION_GATT_SERVICES_DISCOVERED.equals(action)) {
            // Show all the supported services and characteristics on the user interface.
            //displayGattServices(mBluetoothLeService.getSupportedGattServices());
        } else if (BluetoothLeService.ACTION_DATA_AVAILABLE.equals(action)) {
            displayData(intent.getStringExtra(BluetoothLeService.EXTRA_DATA));
        }
    }
};
 
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_device_control);
 
    final Intent intent = getIntent();
    mDeviceName = intent.getStringExtra(EXTRAS_DEVICE_NAME);
    mDeviceAddress = intent.getStringExtra(EXTRAS_DEVICE_ADDRESS);
    mConnectionState = (TextView) findViewById(R.id.connection_state);
    mDataField = (TextView) findViewById(R.id.data);
 
    Intent gattServiceIntent = new Intent(this, BluetoothLeService.class);
    bindService(gattServiceIntent, mServiceConnection, BIND_AUTO_CREATE);
    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
 
 
 
 
 
 
}
@Override
protected void onResume() {
    super.onResume();
    registerReceiver(mGattUpdateReceiver, makeGattUpdateIntentFilter());
    if (mBluetoothLeService != null) {
        final boolean result = mBluetoothLeService.connect(mDeviceAddress);
        Log.d(TAG, "Connect request result=" + result);
    }
 
}
 
@Override
protected void onPause() {
    super.onPause();
    unregisterReceiver(mGattUpdateReceiver);
}
 
@Override
protected void onDestroy() {
    super.onDestroy();
    unbindService(mServiceConnection);
    mBluetoothLeService = null;
}
 
private void updateConnectionState(final int resourceId) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            mConnectionState.setText(resourceId);
        }
    });
}
 
private void displayData(String data) {
    if (data != null) {
        mDataField.setText(data);
    }
}
 
private void clearUI() {
    mGattServicesList.setAdapter((SimpleExpandableListAdapter) null);
    mDataField.setText(R.string.no_data);
}
 
 
 
 
private static IntentFilter makeGattUpdateIntentFilter() {
    final IntentFilter intentFilter = new IntentFilter();
    intentFilter.addAction(BluetoothLeService.ACTION_GATT_CONNECTED);
    intentFilter.addAction(BluetoothLeService.ACTION_GATT_DISCONNECTED);
    intentFilter.addAction(BluetoothLeService.ACTION_GATT_SERVICES_DISCOVERED);
    intentFilter.addAction(BluetoothLeService.ACTION_DATA_AVAILABLE);
    return intentFilter;
}

I've successfully connected to an already bonded device, but now im trying to get the data from a characteristic using its uuid and display it in a textView. The BluetoothLeGatt example shows how a characteristic is selected by a user using an expandable list view onclick listener displaying the supported characteristics. I want to bypass all that and just get the data from the characteristic with the known uuid.


from xda-developers http://ift.tt/1qGPKyp
via IFTTT

Strange Bluetooth problem

I've got a US version P8 Lite running Lollipop. About 3 weeks ago I started losing the ability to talk on my phone through bluetooth even though music streaming is still working fine. The call does connect but I have to switch to the handset to talk. It will start working again if I restart the phone but eventually loses voice ability again. Any ideas of what could be causing this??????


from xda-developers http://ift.tt/1qndZ4e
via IFTTT

samsung galaxy s4 at&t SGH-I337 is not recognized by pc

hey,everybody .
this is my first post here , so please excuse my ignorance .
s4 att , android 4.2.2 , baseband i337UCUAMF3 , KERNEL 3.4.0-812098 , BUILD # JDQ39.I337UCUAMF3
When connected to pc , it starts charging , put pc does not see it .
tried 10 different usb cables ( including samsung original ) , tried dial *#0808# made sure it shows mtp+adb
tried 4 different computers from windows xp . up to windows 10 , kies does not see it , odin does not see it , pc does not see it .
i put it in download mode , no change .
updated windows media player , installed google sdk , nothing !
reset to factory , several times , did it from the phone menu , and from recovery , nothing !
i put 4.2.2 on a micro sd card , went into recovery , apply update from external i get error (error in tmp/sideload/package.zip status 7 )!!!!
does not connect via adb either !!!

PLEASE HELP !!!!


from xda-developers http://ift.tt/1qGPJui
via IFTTT