Affichage des articles dont le libellé est Recent Questions - Android Enthusiasts Stack Exchange. Afficher tous les articles
Affichage des articles dont le libellé est Recent Questions - Android Enthusiasts Stack Exchange. Afficher tous les articles

vendredi 27 mars 2015

Enabling OTG support in Micromax Canvas Nitro A310


Device info :



  • Model Number : Micromax A310

  • Android Version : 4.4.2

  • Kernel Version : 3.4.67


The question here doesn't clear out whether all Android devices has OTG support or not. I need OTG support for my device and used USB OTG Checker to check OTG support. The app says -



Your Device OS NOT Support USB OTG!



There is another general note mentioned there that interested me a lot which says -



Important Note: USB OTG function only able fully work if your device OS has USB OTG API and load with USB OTG Kernel.



But on the other hand, looking on Google for enabling OTG support in my device ended me with this XDA link which says that Stock Rom doesn't provide OTG support and solely rooting your device can sort this out.


So the questions are-




  1. Does rooting a device really enables OTG support?




  2. If not, can external API and a USB OTG Kernel be loaded in a Stock ROM to get the desired functionality? Can loading external API has ever been done before somewhere? I know doing such about kernel.




  3. If (2) is true, then does the fact that compatible HW is also required becomes irrelevant?




  4. Not to mention, I do need to know can I get OTG support if its possible?







Nexus 6 OTA from 5.0.1 to 5.1 fails - Error in block.map


I am trying to upgrade my Nexus 6 with version 5.0.1 (Build number LRX22C) via OTA to Android 5.1.


The OTA update is downloaded successfully and after pressing "Restart & Install" I see a dead droid with the message "Error!".


The phone was rooted and I unrooted it via SuperSU. Did not help. Wiping cache partition also did not change anything.


These are the logs:



Finding update package..
Opening update package..
Verifying update package..
Installing update..
Verifying current system..
/dev/block/platform/msm_sdcc.1/by-name/system has been remounted R/W: reflash device to reenable OTA updates
E: Error in 0/cache/recovery/block.map
(Status 7)

Installation aborted.


I would really like to upgrade without wiping the data.


Thanks.





Samsung galaxy A5 USB Otg supported?


I have checked with few USB Otg checkers it said there are Apr are present in mobile. But i could not able to connect Pendrive. Many entry levels phones also have this feature. But this is recently launched metal body phone. I really wondered why this feature is not present. Any way to enable this?





retrieve logcat after a system crash


Is it possible to retrieve a logcat from before a system crash after the phone recovers? I.e. my phone is running normally, then it crashes and reboots, and I want to view the logs when it recovers to try to determine what caused the crash. I can't find any way to view logcat in anything other than realtime, except to have a terminal emulator running and execute logcat -f logcat.txt V, then just leave it running forever. That could build up a massive file that eats up all my storage.


I can't believe there's no way to view a crash report, I just can't figure out how.





Bluetooth Headset suddenly stopped using google now


I bought an LG Tone Pro HBS 750 about a week ago, and it's been great. The phone button, on the left, activated a Google Now voice prompt, even when the phone was off. However, this morning, it suddenly started using the Voice Dialer. I've been Googling for the solution to this problem all day, but all the results I can find are people asking how to enable Google Now voice actions. All the answers require downloading some kind of app, which I don't want to do because it clearly worked before. I've tried:



  • Resetting all the app defaults. The button doesn't (and never had) prompted for a default action app

  • Disabling Google Dialer. This makes the phone app unavailable, but the voice dialer still works

  • Force stopping Google App. This seems to be the app that runs the voice dialer, but stopping it doesn't help. It can't be disabled.

  • Unpairing and repairing the headset

  • Resetting the phone with the headset on

  • Resetting the phone with the headset off


This is on a Nexus 5 running stock Android 5.1





Data-Only USB Cable for Android devices


It is possible to manufacture a cable that transmits data but doesn't charge my device?


I already tried to cut the 5V wire, but after that no data is transmitted (Neither the device is charged).


Cutting the GRND wire apparently doesn't make any difference (Data/Charging works normally)


Reason: I need to check the phone battery consumption during some scenarios, and I need to send ADB commands to read battery value and input commands(Touch/Swipe/Open app, etc)





Can I install android 5 before version of "V20b April 7,2014"


I bought my phone almost a year ago even though I have been getting a message about an upgrade for a long time I haven't installed it. Now I want to upgrade my android . I notices its version V20b April 7,2014. So what should I do ? Is there never version of android I can install directly or I have to install the next version first than the version which has already installed.My current version is 4.2.2





Filter out ARM native apps in Play Store


I have ASUS Zenfone 5. How could I filter out or identify ARM-native apps on x86 phones in Play Store or in other app market?





Locked out of a Samsung Galaxy S2


My phone was stolen recently, and I'm trying to use my wife's old S2 as a temporary replacement. She had a password screenlock, and she can't remember what it was. When I put in my new SIM, the screenlock is still there. Is there a way to get around it?





Android BLE does not receive any beacon after it start for a period of time


Android BLE device does not receive any beacon after it starts for a period of time, My app have initialized BLE at the beginning. even I restart my app, it still doesn't work,I have to restart Bluetooth. I don't know why it happened. This is my code below:



public void initBLE() {
// Use this check to determine whether BLE is supported on the device.
// Then you can
// selectively disable BLE-related features.
if (!mActivity.getPackageManager().hasSystemFeature(
PackageManager.FEATURE_BLUETOOTH_LE)) {
if (CommonUtils.isDebug) {
Log.d(TAG,
mActivity.getResources().getString(
R.string.ble_not_supported));
}
return;
}

// Initializes a Bluetooth adapter. For API level 18 and above, get a
// reference to
// BluetoothAdapter through BluetoothManager.
final BluetoothManager bluetoothManager = (BluetoothManager) mActivity
.getSystemService(Context.BLUETOOTH_SERVICE);
mBluetoothAdapter = bluetoothManager.getAdapter();

// Checks if Bluetooth is supported on the device.
if (mBluetoothAdapter == null) {
if (CommonUtils.isDebug) {
Log.e(TAG,
mActivity.getResources().getString(
R.string.error_bluetooth_not_supported));
}
return;
}
mBluetoothAdapter.enable();
}


/** * Device scan callback. */



private BluetoothAdapter.LeScanCallback mLeScanCallback = new BluetoothAdapter.LeScanCallback() {

@Override
public void onLeScan(final BluetoothDevice device, int rssi,
byte[] scanRecord) {

final DevIBeacon ibeacon = BLEDevice.getDevicefromScanData(device,
rssi, scanRecord);
if (ibeacon == null) {
return;
}

synchronized (mBLEList) {
mBLEList.add(ibeacon);
}
}
};


private void scanLeDevice(final boolean enable) {
if (enable) {
isScanning = true;
mBluetoothAdapter.startLeScan(mLeScanCallback);

} else {
isScanning = false;
mBluetoothAdapter.stopLeScan(mLeScanCallback);
}
}


LeScanCallback does not receive any beacon..





Controller problem withmy denver tablet


So i connected my controller to my tablet using a usb to mni usb cable and the analogs ork fine but the buttons don't work at all. I know what is the problem (i am not using a x360 controller; i am usinga smartbox controller that is made both for pc and ps3). So i'm wondering if there is any way to emulate the controller so that it could be recognized as a 360 controller or if you can set the buttons.


BTW i have tryed it on almost all the apps that have controller support and there was the same problem.


TABLET MODEL:DENVER TAD-70042 (rooted and has android 4.0.4)





Android Studio - google maps points of interest


So far I have managed to implement a simple google maps in my android app. What I would like to do now is to make my app buzz everytime the person is near a park (let the radius be 1/4 miles). Is there a way I can do that? How can my app detect depending on the position if the person is near a point of interest? Any ideas?





my moto g is not turn on after updating to 4.4.4


I was root and unlocking boot loader in my phone g after that i update it to 4.4.4 now it is not going to power on. fast boot mode not turn on too I do not tried anything





how do i remove other peoples google accounts from my device,, i r


My friend used my phone to check his email but forgot to clear his account on my device, now his mails and notication come to my device, how do i remove his gmail account and remain with only my account on my device





Speaker click in silent mode


I've observed in 2 or 3 android phones that when you set the volume to zero, you still can hear a very gentle click noise when you receive some notification that would cause a sound notification. My question is why is necessary to program it to activate and deactivate the speaker in that case, causing the click, instead of just keeping it off. Maybe it is a question for electronics.stackexchange.com?





Youtube 5 is always syncing on Android 2


since I updated my YouTube app from the pre-installed version to 5.5.30 on my Android with 2.6 which is running on a Samsung GT I9003, YouTube tries to sync something all the time.


I'm logged in with a YouTube account an can play all the videos without problems. But, YouTube uses most of the battery and the sync icon is always there.


Forcing the app to stop with the task manager sometimes fixes this issue.


Removing the update fixes the problem, but the default version is not really nice.


Any help would be really appreciated!





Samsung Galaxy tab 3 made in Korea stuck at android logo


I have a samsung galaxy tab 3 made in korea. it's model is GT-P1000. FCCID: A3LGTP1000 Rated: 5V-2A. I clicked the bluetooth and the tablet automatically shut down and restarted but got stuck at the android logo. I tried reseting it using the reset keys such as holding both the power button and vol+. After 30 seconds an image of android with exclamation point appeared but there were no reset selection menu. I let it stay for awhile and after a minute it shut down and restarted again automatically but still got stuck at android logo. I also used the reset button at the back of the tablet but it still got stuck at the android logo when restarting again. Please help me. It's driving me crazyyy!





How to configure build.prop file to disable 3G internet?


I am using Android mobile with JellyBean 4.2.2. Below is the build.prop file contents, is there any settings to disable 3G internet?



#begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JDQ39
ro.build.display.id=SM112_OTD_W_CORAL_V0.0.3_S0516
ro.build.version.incremental=eng.pengyinhua.1402318234
ro.custom.build.version=SM112_OTD_W_CORAL_V0.0.3_S0516
ro.internal.version=
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=2014年 06月 09日 星期一 20:52:21 CST
ro.build.date.utc=1402318341
ro.build.type=user
ro.build.user=pengyinhua
ro.build.host=buildsrv5-desktop
ro.build.tags=test-keys
ro.product.model=ISN707 CORAL
ro.product.brand=ISUN
ro.product.name=
ro.product.device=ISUN
ro.product.board=
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=ISUN
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=
# ro.build.product is obsolete; use ro.product.device
ro.build.product=ISUN
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=sm112_otd_w_ba_r-user 4.2.2 JDQ39 eng.pengyinhua.1402318234 test-keys
ro.build.fingerprint=ISUN/sm112_otd_w_ba_r/sm112_otd_w_ba_r:4.2.2/JDQ39/1402318234:user/test-keys
ro.build.flavor=
ro.build.characteristics=default
# end build properties

# begin mediatek build properties
ro.mediatek.version.release=ALPS.JB3.MP.V1
ro.mediatek.platform=MT6572
ro.mediatek.chip_ver=S01
ro.mediatek.version.branch=ALPS.JB3.MP
ro.mediatek.version.sdk=1
# end mediatek build properties
#
# system.prop for generic sdk
#

rild.libpath=/system/lib/mtk-ril.so
rild.libargs=-d /dev/ttyC0


# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }

# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}

# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}


#
wifi.tethering.interface=ap0
#

ro.opengles.version=131072

wifi.direct.interface=p2p0
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=128m

# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0

# Power off opt in IPO
sys.ipo.pwrdncap=2

ro.sys.usb.storage.type=mtp,mass_storage

# USB BICR function
ro.sys.usb.bicr=yes

# USB Charge only function
ro.sys.usb.charging.only=yes

# audio
ro.camera.sound.forced=0
ro.audio.silent=0

ro.zygote.preload.enable=0

# temporary enables NAV bar (soft keys)
# qemu.hw.mainkeys=0

ro.kernel.zio=38,108,105,16
ro.operator.optr=CUST

persist.sys.timezone=Asia/Calcutta

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=4.0_r7
persist.gemini.sim_num=2
ro.gemini.smart_sim_switch=false
ril.specific.sm_cause=0
bgw.current3gband=0
ril.external.md=0
ro.sf.hwrotation=0
ril.current.share_modem=2
curlockscreen=1
ro.mediatek.gemini_support=true
persist.radio.fd.counter=15
persist.radio.fd.off.counter=5
persist.radio.fd.r8.counter=15
persist.radio.fd.off.r8.counter=5
persist.mtk.wcn.combo.chipid=-1
drm.service.enabled=true
fmradio.driver.enable=1
ril.first.md=1
ril.flightmode.poweroffMD=1
ril.telephony.mode=1
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
mediatek.wlan.chip=mediatek.wlan.module.postfix=_
ril.radiooff.poweroffMD=0
ro.config.notification_sound=Proxima.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.ringtone=Backroad.ogg
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
mot.proximity.delay=0
ro.lge.proximity.delay=25
ro.telephony.call_ring.delay=0
ring.delay=0




How to create a new user in Android TV 5.1?


Just got the update to Android TV 5.1 and there is a new option to create an account. When I hit that option, I get to a blank page. So is it finally possible to create a new user or did Google just forget to disable that option for Android TV?





Reboot does not run at all


I followed this piece of command copied from this site


http://ift.tt/1E909qZ



importing the certificates on your Android device

Copy the files to the /sdcard folder, either with any file manager or with adb push.

Go into adb shell (adb shell from commandline), or open the 'terminal'-application on your android device. You will get a command prompt similar like shell@android:/ $
Gain superuser/root rights, neccessary to perform privileged actions:
su
Make the /system folder writable (will return to read-only upon reboot):
mount -o remount,rw /system
Copy the new certificate files to the correct folder on your Android device:
cp /sdcard/5ed36f99.0 /system/etc/security/cacerts/
cp /sdcard/e5662767.0 /system/etc/security/cacerts/
Correct the file permissions to u=rw, g=r, o=r:
cd /system/etc/security/cacerts/
chmod 644 5ed36f99.0
chmod 644 e5662767.0
Check if the files are ok:
ls -al -Z
Omit '-Z' if you are using a version of Android without SElinux, it just shows some extra security settings which might be useful if you run into trouble. Amongst the other default android certificate files, you will see the two new files: -rw-r–r– root root u:object_r:system_file:s0 5ed36f99.0 and -rw-r–r– root root u:object_r:system_file:s0 e5662767.0
The certificates will be loaded upon the next boot of your device, so reboot your device:

reboot


The moment i hit the command reboot. My android emulator from my android studio emulator hangs. Nothing seems to happen with reboot and the files that i placed in the system folder is also missing.


Does reboot take a very long time as i only waited about 2mins.


Basically what happened is that after i ran remount. I ran adb devices and it shows me that emulator - 5554 is offline. why is this so when my emulator is running perfectly well