问:
android boot with forceencrypt take a long time
I am building cm-13.0 for oneplus bacon here. I want the ROM to encrypt on first boot, so I changed the flag in Android fstab file (device/oneplus/bacon/rootdir/etc) from encryptable to forceencrypt.

Before:

```<code>/dev/block/platform/msm_sdcc.1/by-name/userdata     /data           ext4    noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve4
/dev/block/platform/msm_sdcc.1/by-name/userdata     /data           f2fs    noatime,nosuid,nodev,rw,inline_xattr                            wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve4
</code>```

after:

```<code>/dev/block/platform/msm_sdcc.1/by-name/userdata     /data           ext4    noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable,forceencrypt=/dev/block/platform/msm_sdcc.1/by-name/reserve4
/dev/block/platform/msm_sdcc.1/by-name/userdata     /data           f2fs    noatime,nosuid,nodev,rw,inline_xattr                           wait,check,formattable,**forceencrypt**=/dev/block/platform/msm_sdcc.1/by-name/reserve4
</code>```

and it worked, but the first boot took more than 2 hours. And I read on android development site (https://source.android.com/security/encryption/index.html)

What we’ve added for Android 5.0 Created fast encryption, which only
encrypts used blocks on the data partition to avoid first
boot taking a long time. Only ext4 and f2fs filesystems
currently support fast encryption. Added the forceencrypt flag to
encrypt on first boot.

How can I avoid this long boot time?

Note: if I keep the flag "encryptable" and boot the device then go to Settings -> security -> encryption and click encrypt, it will take less than 7 minutes for the process to finish. Why is it so long?

ContentLicense: CC BY-SA 4.0


问:
How to get to know via command-line/adb where boot process hangs?

Question:

(How) is it possible to get to know via adb where exactly a booting-up android device is hanging?

My problem/ background information:

I recently did changes on the automatic display brightness threshold settings, and while doing the device just did "reset" itself (rebootet), and is stuck with showing the boot animation.

I see that the automatic display brightness works.

I can connect with adb via USB and have full shell access.

Logcat also spits out a lot of things.

When I try to start trebuchet manually with am start -a android.intent.action.MAIN -c android.intent.category.HOME com.cyanogenmod.trebuchet, I get

```<code>Error type 2
android.util.AndroidException: Can't connect to activity manager; is the system running?
        at com.android.commands.am.Am.run(Am.java:100)
        at com.android.commands.am.Am.main(Am.java:81)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
        at dalvik.system.NativeStart.main(Native Method)
</code>```

Can't connect to activity manager; is the system running? also appears when I try to play around with am in other ways.

So I deduce the device did not finish booting up and hangs somewhere. For fixing it, I first need to find out where. Then there might be a follow-up question how to understand and fix it, depending what the problem is.

I wiped dalvik cache and cache-partition from ClockWorkMod, after that it does the usual "optimizing apps", but when finished still does not complete booting and showing the boot animation.

I am not familiar with the Android boot process, is there any good information on it suitable for people familiar with the internals Unix boot process (Linux, sysvinit, openrc, in my case)? Is there a way to do a verbosely logged boot process?

Device information:

It's a Sony sk17i (marketing name "Xperia mini pro"), running Cyanogenmod 10.1-extended which is based on Android 4.1.2 and nAa kernel 2.6.32.60.

getprop and uname outputs:

getprop ro.build.version.release: 4.1.2

getprop ro.build.version.sdk: 16

getprop ro.product.model: Xperia Mini Pro

uname -r: 2.6.32.60-nAa-01

getprop:

```<code>[BUILD_UTC_DATE]: [0]
[com.qc.hardware]: [true]
[com.qc.hdmi_out]: [false]
[dalvik.vm.dexopt-flags]: [m=y]
[dalvik.vm.heapgrowthlimit]: [48m]
[dalvik.vm.heapsize]: [128m]
[dalvik.vm.heapstartsize]: [5m]
[dalvik.vm.lockprof.threshold]: [500]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[debug.camcorder.disablemeta]: [1]
[debug.composition.type]: [gpu]
[debug.mdpcomp.logs]: [0]
[debug.sf.hw]: [1]
[gsm.current.phone-type]: [1]
[gsm.sim.operator.alpha]: []
[gsm.sim.operator.iso-country]: []
[gsm.sim.operator.numeric]: []
[gsm.version.ril-impl]: [Qualcomm RIL 1.0]
[hwui.disable_vsync]: [true]
[hwui.render_dirty_regions]: [false]
[init.svc.adbd]: [running]
[init.svc.akmd8975]: [running]
[init.svc.bootanim]: [running]
[init.svc.compcache]: [stopped]
[init.svc.console]: [running]
[init.svc.dbus]: [running]
[init.svc.debuggerd]: [running]
[init.svc.drm]: [running]
[init.svc.hw_config]: [stopped]
[init.svc.installd]: [running]
[init.svc.keystore]: [running]
[init.svc.media]: [running]
[init.svc.netd]: [running]
[init.svc.netmgrd]: [running]
[init.svc.qmuxd]: [running]
[init.svc.ril-daemon]: [running]
[init.svc.servicemanager]: [running]
[init.svc.surfaceflinger]: [running]
[init.svc.ueventd]: [running]
[init.svc.vold]: [running]
[init.svc.zygote]: [running]
[keyguard.no_require_sim]: [true]
[net.bt.name]: [Android]
[net.change]: [net.qtaguid_enabled]
[net.hostname]: [sk17i-netzclub]
[net.qtaguid_enabled]: [1]
[net.tcp.buffersize.default]: [4096,87380,704512,4096,16384,110208]
[net.tcp.buffersize.edge]: [4096,26280,35040,4096,16384,35040]
[net.tcp.buffersize.evdo]: [4096,87380,563200,4096,16384,262144]
[net.tcp.buffersize.evdo_b]: [4096,87380,704512,4096,16384,262144]
[net.tcp.buffersize.gprs]: [4096,8760,11680,4096,8760,11680]
[net.tcp.buffersize.hsdpa]: [4096,87380,704512,4096,16384,262144]
[net.tcp.buffersize.hspa]: [4096,87380,704512,4096,16384,110208]
[net.tcp.buffersize.hspap]: [4096,87380,1220608,4096,16384,393216]
[net.tcp.buffersize.hsupa]: [4096,87380,704512,4096,16384,262144]
[net.tcp.buffersize.lte]: [4096,87380,1220608,4096,16384,563200]
[net.tcp.buffersize.umts]: [4096,87380,563200,4096,16384,110208]
[net.tcp.buffersize.wifi]: [524288,1048576,2097152,262144,524288,1048576]
[persist.chargemon.active]: [1]
[persist.radio.adb_log_on]: [0]
[persist.radio.net_pref_0]: [0]
[persist.radio.nitz_lons_0_0]: [<CENSORED>]
[persist.radio.nitz_plmn_0]: [<CENSORED>]
[persist.radio.nitz_sons_0_0]: [<CENSORED>]
[persist.radio.sma_voice_3gpp]: [0]
[persist.ro.ril.sms_sync_sending]: [1]
[persist.service.zram]: [18]
[persist.sys.country]: [DE]
[persist.sys.hdcp_checking]: [never]
[persist.sys.language]: [de]
[persist.sys.localevar]: []
[persist.sys.profiler_ms]: [0]
[persist.sys.purgeable_assets]: [1]
[persist.sys.root_access]: [3]
[persist.sys.strictmode.visual]: []
[persist.sys.timezone]: [Europe/Berlin]
[persist.sys.usb.config]: [mass_storage,adb]
[persist.sys.use_dithering]: [0]
[ril.ecclist]: [112,911,112]
[rild.libargs]: [-d/dev/smd0]
[rild.libpath]: [/system/lib/libril-qc-1.so]
[ro.allow.mock.location]: [0]
[ro.baseband]: [unknown]
[ro.board.platform]: [msm7x30]
[ro.boot.emmc]: [0]
[ro.boot.hardware]: [semc]
[ro.boot.serialno]: [BX902GVWR3]
[ro.bootloader]: [unknown]
[ro.bootmode]: [unknown]
[ro.build.characteristics]: [default]
[ro.build.date.utc]: [1370165795]
[ro.build.date]: [Sun Jun  2 02:36:35 MST 2013]
[ro.build.description]: [SK17i-user 4.0.4 4.1.B.0.587 tL1_3w test-keys]
[ro.build.display.id]: [cm_mango-userdebug 4.1.2 JZO54K eng.M66B.20130602.023102 test-keys]
[ro.build.fingerprint]: [SEMC/SK17i_1254-2184/SK17i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys]
[ro.build.host]: [iof303]
[ro.build.id]: [JZO54K]
[ro.build.product]: [mango]
[ro.build.tags]: [test-keys]
[ro.build.type]: [userdebug]
[ro.build.user]: [M66B]
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [eng.M66B.20130602.023102]
[ro.build.version.release]: [4.1.2]
[ro.build.version.sdk]: [16]
[ro.carrier]: [unknown]
[ro.cm.device]: [mango]
[ro.cm.version]: [10-20130602-UNOFFICIAL-mango]
[ro.com.android.dataroaming]: [false]
[ro.com.android.dateformat]: [MM-dd-yyyy]
[ro.com.android.wifi-watchlist]: [GoogleGuest]
[ro.com.google.clientidbase]: [android-google]
[ro.com.google.locationfeatures]: [1]
[ro.config.alarm_alert]: [Hassium.ogg]
[ro.config.notification_sound]: [Deneb.ogg]
[ro.config.ringtone]: [Orion.ogg]
[ro.debuggable]: [1]
[ro.emmc]: [0]
[ro.factorytest]: [0]
[ro.goo.developerid]: [M66B]
[ro.goo.rom]: [Xtended]
[ro.goo.version]: [1370165462]
[ro.hardware]: [semc]
[ro.hsdpa_cat]: [8]
[ro.modversion]: [10-20130602-UNOFFICIAL-mango]
[ro.opengles.version]: [131072]
[ro.product.board]: [mogami]
[ro.product.brand]: [SEMC]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.device]: [mango]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.product.manufacturer]: [SEMC]
[ro.product.model]: [Xperia Mini Pro]
[ro.product.name]: [SK17i]
[ro.revision]: [0]
[ro.ril.def.agps.feature]: [1]
[ro.ril.def.agps.mode]: [2]
[ro.ril.gprsclass]: [10]
[ro.ril.hsxpa]: [1]
[ro.rommanager.developerid]: [cyanogenmod]
[ro.secure]: [1]
[ro.serialno]: [<CENSORED>]
[ro.setupwizard.enterprise_mode]: [1]
[ro.sf.lcd_density]: [160]
[ro.telephony.call_ring.multiple]: [false]
[ro.telephony.default_network]: [0]
[ro.telephony.ril_class]: [SemcRIL]
[ro.tethering.kb_disconnect]: [1]
[ro.url.legal.android_privacy]: [http://www.google.com/intl/%s/mobile/android/basic/privacy.html]
[ro.url.legal]: [http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html]
[ro.use_data_netmgrd]: [true]
[ro.wifi.channels]: []
[service.bootanim.exit]: [0]
[sys.mem.max_hidden_apps]: [10]
[sys.usb.config]: [mass_storage,adb]
[sys.usb.state]: [mass_storage,adb]
[system_init.startsurfaceflinger]: [0]
[vold.post_fs_data_done]: [1]
[wifi.interface]: [wlan0]
[wifi.softap.interface]: [wlan0]
[wifi.softapconcurrent.interface]: [wlan0]
</code>```

Update:

Now operating for over an hour (for copying files off the device via adb), the boot animation finished and the "log in"-screen (i.e, with the clock and the lock to wipe to the side to get access) appears, shortly for about a second, then disappers, black screen, after two seconds appears again, stays looping like that. Found out that it is the process /system/bin/bootanimation which stopped after a while. Same behaviour if killed by hand.

Update 2:

There are a lot of files /data/system/dropbox/system_server_crash@1460671235961.txt (the numbers are timestamps and differ from file to file), a few per minute, all with the content

```<code>    Process: system_server
    Build: SEMC/SK17i_1254-2184/SK17i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys

    java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
            at com.android.server.PowerManagerService$10.run(PowerManagerService.java:2839)
            at android.os.Handler.handleCallback(Handler.java:615)
            at android.os.Handler.dispatchMessage(Handler.java:92)
            at android.os.Looper.loop(Looper.java:137)
            at android.os.HandlerThread.run(HandlerThread.java:60)
</code>```

ContentLicense: CC BY-SA 3.0


问:
LG G Pro E980 stuck loop on TWRP openrecovery script
My LG G Pro E980 is rooted. It was working fine. Today I did factory reset to reset phone and delete data. But after restarting it has got stuck on TWRP openrecovery script, showing errors and keeps restarting.
This is the screenshot of the problem:

Anyone please help!


问:
Applications not working
Device: Samsung Galaxy Note 2 - GT-N7100 - Android Kitkat 4.4.2

This problem has been going on for some time. I factory reset the phone and reinstalled all apps. But the problem is recurring. "Unfortunately, Clock has stopped working".

Application Manager error (click image for larger variant)

This is how the apps show in the Application manager. This happens over time with all the apps.

Sometimes, the phone suddenly stops working and restarts itself. During this time, it also wipes out all cache information from all apps.

Any help will greatly appreciated.

Title: Applications not working


问:
How do I bring custom app (activity) atop of lock screen?
Some applications (for example, MortPlayer Music and other music players, Camera app, etc.) can work atop of lock screen, without requiring to enter PIN.

How do I force existing app to show an activity even if screen is locked?

For example, I have some custom Calculator app and I think it is secure enough to be callable without unlocking the device. I can already start it without unlocking (method of doing so is out of scope for this question), but it's window gets visible only after closing lockscreen.

To do this I suppose one should "inject" android.permission.SYSTEM_ALERT_WINDOW permission and WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED and WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD window flags.

Is this already done by somebody? Maybe there is some XPosed module for this?


问:
Which Android version first featured auto-upgrade?
Modern Android versions enable auto-upgrading installed apps.

Which Android (or play store / market app) version first featured this?


问:
mount in shell as user or root with different output
I have a rooted Android Phone and a native service which detects if the system partition is mounted read-write or read-only.

If I run the mount command in the user shell, the partition is mounted read-only.

```<code>mount | grep /system
</code>```

I can open a different shell, login as root and run the command

```<code>mount -o remount,rw /system
</code>```

In the root shell, the system is mounted read-write, but in the previous opened user shell, the system partition is still mounted as read-only. Even if I switch back in the rooted shell with Ctrl+D to the normal user shell, the system partition is mounted read-only. It is only read-writeable in the root shell.

So it is not possible to detect as non root, if the partition was remounted in a different context. Why is that? As it is of my knowledge, in Linux mount points are handled globally.

Update: Android 5.0.2, Samsung SM-A300FU and SM-A300M


问:
Why can't use the external SD card with my voice recorder app?
I'm the owner of an Honor 5x.

The external SD card inside the phone works fine with the photos/video application, and I can write/read from ES file manager but the apps for voice recording that I tried (Total Recall, Voice Recorder, RecForge) don't let me save the file on the external SD.

Can anyone help me and/or explain what's happening?


问:
ADB-client stops working when root is turned on
Very strange - I've Cyanogenmod rooted device and cannot use the adb-client from computer when rooting is turned on. In other words  i have to go to developer settings, turn off rooting - then I can access the device from the computer.

The problem i need to be able to connect computer with the device in rooted mood cince i've an nandroid there to push back to clockworkmod on the device.

What could the reason be adb from computer no longer work when root is turned on?
I dont get it!

And another question - whats the alternatives if I want to copy a rom-image from computer back to the device?

thanks in advance


问:
Android error - No SIM card/Emergency calls only
The problem: phone doesn't want to register in network.

Android device shows No SIM card.

After playing with menu *#*#4636#*#* it starts showing Emergency calls only.

Phone displays available networks, but don't want register in it - says Your SIM card doesn't allow a connection to this network (this means gsm module works well, but complains on sim card).

This SIM card works well in another phone (this means there is no issue with SIM).

Any other SIM doesn't work in this phone (in both slots: micro and nano).

On inserting SIM-card phone asks sim's pin code and accepts it. (this means that phone is communicating with sim well)

In radio logs the following (collected lines from long output, don't know how relevant is this):

```
> E/SubscriptionController( 7326): getSubState: invalid subId = 2147483644 D/SubscriptionManager( 6723): [getPhoneId]- fail
> D/RilRequest( 7326): [4032] SET_NETWORK_SELECTION_MANUAL error: com.android.internal.telephony.CommandException: ILLEGAL_SIM_OR_ME ret=
> D/RilRequest( 7326): [4173] E/GSM     ( 7326): Unrecognized RIL errno 7
> D/TelephonyManager(  495): No /proc/cmdline  exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
> E/TelephonyManager( 1078): hasMatchedTetherApnSetting NPE
> E/TelephonyManager( 1078): java.lang.NullPointerException: Attempt to invoke interface method 'int com.android.internal.telephony.ITelephony.getTetherApnRequired()' on a null object reference
```

Full radio log (after ejecting/inserting SIM) http://paste.evervolv.com/view/d00213a4

More details I've posted on http://en.miui.com/thread-264222-1-1.html
(in two words: phone Xiaomi Mi Note Pro, never locked, worked before 6 month).

I think this is wide spreaded Android bug - exists many complains on this issue.

Any suggestions?

UPD1: The SIM is factory micro-sim, not hand cutted one.

UPD2: I am not sure that logs are represents root cause of the bug.

UPD3: The root cause of failure was found in logs:

```
E/RILQ    (  964): (1/964): RIL[1][main] qcril_qmi_init_core_client_handles: qcril_qmi_presence_init returned failure(-3)
E/RILQ    (  964): (1/964): RIL[1][main] qcril_qmi_client_send_msg_sync: Failed to send sync qmi msg 0x03 w/(-2) QMI_SERVICE_ERR
```

This is error of QMI protocol communicating with GSM module. So this is chipset (Snapdragon 810 in this case) hardware error...

It was very loud to say 'android bug'... Android mistake was in hiding so much kind of errors behind common message 'No SIM card'.

Closed.


问:
What are the different ways to initiate an android phone erase
This morning I woke up without my alarm.

My alarm hadn't gone off because my phone wasn't working.

On the screen I had a message "Erasing...".

The screen looked similar to this (source: AndroidPIT)

After a while my phone booted up, without any user data.

I've had a restless night with a baby that needed frequent changing, and spent a lot of time checking the time on my phone.

It is wholly possible that I did something / held some buttons down.

My question is, what could I have done?

How did I possibly start the erasing procedure?


问:
i have a samsung alpha. where the memory is full and storage space running out.. but it gets complicated
I have a Samsung Alpha.35gb – and I'm not the most mobile savvy person.

Recently I keep getting 2 messages, one saying 'device memory full' (unable to receive sms/mms messages) and the other tells me storage space running out. When I check where most of the full memory is coming from, it points to the APP INFO.contact storage version 4.4.4 says I have over 12GB!!? When I open contact space I have over 400 contacts that have no name?

What is this and how can I get rid of these? I try deleting and they don't delete! As a result my phone is not reacting.


问:
How to make the smartphone work as a PC monitor?
I am have a pc and recently my dell monitor stopped working so i had called up the customer careband they said that they will get it replaced within a week. So till that time i can't use the pc so is there any way to use my rooted android phone (running 4.3, jelly bean) as a temporary monitor as my pc is working perfect but i have no display. Note that i can't install any softwares on the pc as i don't have a display. I only have a phone, wifi network and usb option. Is there any way that i can achieve this without installing any software on the pc just using the phone and installing some app on the phone? I hope for a good response</p>


问:
Excessive data and battery usage with Samsung S7 on Android 6.0.1
Recently I bought a Samsung Galaxy S7. I had an S6 Edge, and no problems with Android OS data usage/battery drain.

The big problem is, I don't know why, but Android OS is eating my mobile data and wi-fi data, and my battery too!!!

I have the same apps of my S6 edge on the S7, I'm reading all topics on the internet, but no success. Please see the screenshots! Thanks!

I restricted almost everything from backgroung, installed Doze, installed Greenify, I'm trying everything, but this ANDROID OS keeps eating everything!

Sorry about my english, I'm from another country.

Screenshots (click images for larger variants)

Please ignore the Google Play Store usage in the second screenshot (it is already set to auto-update on WiFi only; that usage was done on purpose one day that my Wi-Fi was offline, and I wanted to test my 4G). The big problem is my battery drain about android OS and data usage. Play Store is fine, no more usage.


问:
How to root ZTE Maven?
I have a ZTE Maven phone, and I want to root it.

There doesn't seem to be any applications that can successfully do that.

How to root ZTE Maven? Just in case it's relevant, the model number is Z812.

Title: How to root ZTE Maven?


问:
Still gpsd drains battery on galaxy
There are a lot of questions about gpsd drains the battery on Samsung Galaxy noteIII. Most of them, including the official gpsd page, says that it is actually another application which uses gpsd and that is the problem not gpsd itself...

Now the question, how can I find which application uses gps daemon? I know the famous ones are maps, camera. However, I am looking for other applications.

As discussed here, Spare Parts+ should do such thing, but it doesn't work on galaxy (see its related comment with reputations). I also tried Gsam. All it shows is that/system/bin/gpsd is being in used!!

It is really annoying... How can I find who is using /system/bin/gpsd

????!!!!!

Title: Still gpsd drains battery on galaxy


问:
Disable turn on when charging finishes
When my Android phone is charging, the moment it becomes fully charged, it 'wakes up'
from standby mode. This is  annoying, because
I often let it charge at night in my room, and it wakes me up. Is there a way to prevent this from happening without powering off my Android phone? Thank you!</p>

Title: Disable turn on when charging finishes


问:
Android devices not allowed to connect to WiFi
I am a college student and they provide us free WiFi here . When trying to connect to the WiFi all devices connect to it instantly except Android devices. When Android 6.0 was launched the devices having Android 6.0 could connect to the WiFi , devices like iPhone , windows phone and blackberry connect easily . I have a rooted Android Phone (not Android 6.0) so i changed my MAC Address but still couldn't connect.

How does the router segment devices based on their OS ?

How can I make my Android device connect to the WiFi?


问:
Swapping functions of Back and Menu hardware buttons on Samsung Galaxy S4
Samsung reverses the position of Android's Back and Menu (aka Options) buttons, when compared to almost every other device.

How does one swap the functionality of these hardware buttons, specifically on the Samsung Galaxy S4?

Fortunately, the hardware buttons have no visual indication of the pre-programmed functionality if the user turns off the LED lights for those buttons.  Thus, swapping them so the Back button is on the left should be transparent to the user.

Root and Xposed solutions are fine, if required.


问:
How to Install system app with SE Linux enforced on Galaxy s7 Android 6.0.1
first, sorry for my english :)

i try to install a user app (installed in /data/app/) as system app on my new galaxy s7 :
- Android 6.0.1
- Rooted
- factory ROM

I follow many tutorials :

http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/
http://www.androidauthority.com/install-user-app-as-system-app-how-to-93522/

After reboot, my application is in the the folder /system/app but i can't launch it: it crash when i launch apk directly, even if permission are correctly set.

With another smartphone (samsung s4 rooted with cyanogenmod and SE Permisive), the copy paste technique work well.

Someone knows why i can't launch it ?

Thanks a lot


问:
Can I DISABLE the lock screen bypass for incoming calls?
I use a pattern lock on my phone to prevent bumdialing. Recently I got a call when the phone was in my pocket, which I was only aware of when I later on took out my phone to look at it. I had accidentally rejected the call while it was in my pocket, before even the first ring.

When receiving a call, I get no lock screen first - it bypasses straight to the phone app. I don't want this. I want to have to enter the pattern and THEN answer the phone. That way, I'm not going to accidentally answer or reject calls with the phone in my pocket.

I can find lots and lots of questions on how to bypass the lock screen on incoming call, but nothing trying to disable bypassing that's already there. Any ideas?

I'm using Cyanogenmod 12.1-20151117 (Android 5.1.1).


问:
How to connect a USB Device to Bluestack
I have drone( DJI Phantom 3), and in order to fly it correctly DJI provides an App for IOS and Android("DJI Go"). The thing is that I have a Kolina k100 android phone(a cheap chineese one), and I can install the app perfectly, and it runs quite well with an only exception. When I put the Drone on video-recording mode, I loose the live-video and I can not see what my drone sees. Obviously DJI has told me that he doesn't support my chinese phone so they do nothing. So I was thinking that maybe is a problem of how powerful my phone is.

So I wanted to check if the App works well in my laptop so I downloaded the app in Bluestacks, but I realised that to make the app work I have to connect the drone's RC controller by USB (as I do with my phone). But when I connect the controller to the  laptop, Windows recognizes it. But Bluestack doesn't care so the app doesnt work. How can I make Bluestack recognize the USB connection of the controller?

Thanks in advance, any help will be appreciated.


问:
Need superuser permission for TMS
for some cloud syncing purposes I want to give TMS (Titanium Media Sync) superuser privilege over my rooted device even if it doesn't asks for it.

I use SuperSU.

Title: Need superuser permission for TMS


问:
Can anybody identify this device?
I am trying to fix an Android tablet. As far as I know, it's stock, but that's about it. There is no inclination of the manufacturer.

Here are the pics:

Back and front (click images for larger variants)

I cannot simply go to check in Settings › About device as the device is trapped in a bootloop, and the stock recovery asks foe non-existant buttons (it wants a home button. There is none. The power button has no effect in recovery for some reason. The device has a power button, volume and mysterious silver button-like dot, but it doesnt do anything.

-EDIT-
Got it into recovery mode, though I cannot select ANY items, just navigate:

Navigating via Vol+/Vol- works, but I cannot confirm any entry: the power button yields no action. And though the second line in the screenshot reads "vol up/vol down, home, enter", there are no home or enter keys available. Pressing both volume rockers simultaneously only switches the screen off (can be turned on again by pressing the Vol- button).

-EDIT 2-
A blue light appears when I try to turn it on via LED

-EDIT 3-
Since its in a boot loop, I tried every button combo:

Power on its own - normal boot loop

Power +  up - recovery.

All buttons (not counting silver dot, I cant press it in.) - Recovery mode.

Power + down - normal boot loop

No combination brought me to safe-mode, so I cannot check Settings › About device there either.

Title: Can anybody identify this device?


问:
How to set FV-5 as my default camera on XtreStoLite 3.1.1
I just installed XtreStoLite 3.1.1 on my G-920T (Galaxy S6 with T-Mobile) and then installed Camera FV-5. How do I make that my default camera? In other words, when I double-press the home button, how do I make FV-5 the camera that opens instead of the default camera?</p>


问:
Mounting encrypted partition from PC - is there anything I can do?
Okay, so basically I have the same problem identified here, except instead of a broken screen, I accidentally broke the UI with this bug.

And all I want to do is mount the encrypted partition so I can get some photos from it before I factory reset.

Unfortunately, I never enabled usb debugging, I don't have a custom recovery, I don't have an unlocked bootloader, and I don't have a backup app installed either! (lesson learned)

My device is a Motorola XT1254 and I have Ubuntu on my PC (although I also have other PCs with OSX and windows if that helps at all).

What I've tried so far is fastboot to twrp (found a version for my device here), like so:

```<code>sudo fastboot boot twrp-3.0.2.0-quark.img
</code>```

That didn't work, and displayed this in the terminal:

```<code>OKAY [ 0.390s]
booting...
FAILED (remote failure)
finished. total time: 0.392s
</code>```

So yeah I presume that's because of the locked bootloader. And according to the motorola site, you must erase the internal storage to unlock the bootloader. Is my device rejecting the fastboot because of the locked bootloader, or should I just try a different version of twrp or something else?

Any other ideas? The default recovery for my device has an option to sideload updates from adb which is my only other idea. It sounds like sideload from adb can run a script in the zip file to automatically update specific files on reboot... maybe there's a way to revert the "force RTL" developer setting with it? Is it even possible to do adb sideload if my device is encrypted? Could I use it in some other way to access my encrypted partition?

Also forgive any ignorance on my part, note that this is literally the first time I've done anything technical with android! But I have a pretty decent understand of linux in general.

P.S. my device has no external SD card slot (which seems idiotic but whatever) so anything involving that is out of the question.


问:
HTC One M7 Volume fail
Like others, the microphone on my HTC One M7 is patchy. I can hear people fine, but they say I'm echoey, far away, quiet. It seems to have become worse too. I believe it might be to do with the noise cancelling mic as mentioned here although I don't know why it would be deteriorating if that's the case.

I don't have root access or I could try this fix.

Apart from the root fix or the old toothbrush fix, is there anything else I can try?

Keen to keep my nice old HTC. Currently running 5.0.2.

Title: HTC One M7 Volume fail


问:
Strange sound from an unknown application
From yesterday my Samsung Galaxy S3 (Android 4.4.2) is playing strange music (midi) from time to time and very often. Sometimes it goes as it comes, with no obvious reason. It looks like an alarm. There is no notification. I checked everything a have remember can cause this. The only way to stop music intentionally is to open task manager and clear RAM.

I also have tried to stop services and running applications from Settings -> Application manager, but that didn't seem to make change.

Can I detect somehow which process started this music? Because I can use Android Eclipse, is there any log that can help me to trace origin. In logcat I can see that the music player is running.


问:
How do you recover a hard-bricked Nexus 7 2012?
I had a lollipop rom Nexus 7(2012), and I wanted to change it to Android Kitkat, as a personal like for it. I did as told in Google Developers page for Android Firmware for Nexus devices. When the process was halfway through, suddenly my computer shut down due to power failure(UPS Problem). And I cannot get it to go into fastboot, bootloader, recovery, download mode or whatever mode it is. Even charging symbol does not appear when I plug it in.

But it gets detected by the PC when I connect it. See the below picture:

Does this have any way to un-brick it? If not by software, should we change the hardware like motherboard so that it could be fixed?


问:
Suspicious Text Message Received
I received an html text message from a Leah_Condello where I could not click MORE except to delete it, but I don't know anyone with that name and the code made me wonder if this is a new virus attempt, especially since I can't see the details of where's it's from (like an email address, phone, or any other information).  Plus, how is it possible that the person was able to send a text message with their name when this name isn't in my contacts at all?

This person was able to send information without details and have their name added to my contacts.  How is this possible, or is this something dangerous, and what should I do?

Title: Suspicious Text Message Received


问:
Monitoring data transmission in my Wifi hotspot
If I switched on my mobile wifi hotspot secured with a password and then if some intruder tried many passwords to connect to my hotspot.Is there any way I could know the list of incorrect passwords he tried to connect to my hotspot.I would prefer much if some android app is used in getting this.Hope I get an answer.</p>


问:
Battery life in Samsung Galaxy 3
I recently updated my Samsung Galaxy 3 to Android 2.2 . After the update my fully charged battery dies in just 3 hours(without any use) and around 1 hour if I use it (talking,browsing etc). I am using the phone for the past one year. This is too annoying because I am not able to use it anywhere outside. The battery quickly dies.

When I used Android 2.1 , the battery used to come for 1 full day

Is this battery problem because of the updated from 2.1 to 2.2 ?

Are there any work arounds for this ?

Title: Battery life in Samsung Galaxy 3


问:
Nexus 5 on recovery mode but power button isn't working
I have a Nexus 5 phone with a bad power button (completely not working). The phone was off for a while, and when I powered it on (using fastboot) it asked for cyanogenmod update - downloaded and restarted.

When the update finished the phone booted into the root screen saying "Root access possibly lost. Fix?" with "Yes", "No" options. However, since the power button isn't working - I can't select anything...
(I can, however, go into rainbow mode! Weird, but cool)

Is there a way to simulate a button press from adb or something? Is there another way of getting over this screen?


问:
System sounds but no other sounds when use headphones
I plugged in my headphones this morning,  which were working fine yesterday,  and went to try and watch a video only for there to be no sound.

But all notifications and click events seem to be making sound as usual. And only certain apps seem to be not making sound.

Thinking it was possibly a bug in YouTube, I tried running other apps:

Spotify: no sound

Google calendar notification :full sound

Hearthstone, a game : no sound

Analogue Synthesiser emulator: full sound

ZType,  a game: full sound

Shadowrun returns, a game: no sound

BBC iPlayer: no sound

Sony Xperia Podcast app: no sound

Pointless,  a game: no sound.

I've yet to test with other headphones. But have tried a restart and tried double checking the volume control advanced settings.

Any idea what the reason is?

If it was all sounds or only loud sounds it would be simple,  but it's not,  which is what confuses me.

further testing

After I got to a desktop PC did some further tests:

tested same sources with a different set of headphones,  same result.

tested the original set on the desktop PC,  produce sound from all sources no problem.

Set phone to safe mode to see if it would be an app which has a damaging bug after update (as I've set my phone to update when on wifi and charging, so it is plausible) the behaviour was the same.


问:
Can I use an existing Wifi Network as source for internet connectivity and still enable WiFi tethering?

Possible Duplicate:

  Can we use an Android phone as a Wi-Fi repeater?

It is possible to use android as WiFi access point using 3G - but, is there a way to use an existing wifi connection and not 3g as the source?

Here where I am there is a wifi connection but it works only with openvpn, so I can use it with a laptop or rooted Android but I also have an iPad which can't use openvpn, so I thought I will use my android device as a private access point for my iPad. Is it possible?


问:
Wifi won't connect to internet
I have a oneplus two that was running android 5. Nothing was wrong until recently when I started noticing the exclamation mark on the WiFi icon. The phone successfully connects to WiFi networks but it cannot access internet. I have to use my 4G for that (yes 4G is still working). I don't recall installing any new app and this was not due to a system upgrade. I know the problem is with the phone becuase this happens at home, at work, and I even tried it at my friend's house. So it cannot be the router's fault. Plus all other devices work. I have tried several solutions that can be found online:

Forgetting all networks and connecting to networks from scratch

Turning WiFi OFF then ON again

Turning airplane mood ON and OFF

Restarting the router

Restarting the Phone

Wiping cache

using apps like this one: FXR WiFi fix and rescue (was not very happy to use it but I had to try)

I even upgraded to the beta Oxygen 3.0 (Marshmellow 6.0)

[did not try this one] Some people on the internet suggests using static ip address. I am sorry but this is not a solution. Especially not at work.

I have seen a similar question: How to reset Wi-Fi settings? but I couldn't really implement the same solution on my phone (maybe I am doing it wrong). Also the symptoms seems slightly different.

I am think that since it was working before, then it must be a software problem. Some file is corrupted or some hidden setting is messed up. So my very last resort is to wipe clean the phone and start fresh.

I do have programming background but unfortunately I am not as fluent in Linux as many posts assume (mainly why the solution in How to reset Wi-Fi settings? didn't work). Please if the answer involves adb or fastboot, do explain the steps for me. I think I have unlocked the phone already (because this is the first thing I usually do when I get a new phone) but I might not have rooted it yet. Is there a way to fix this problem without rooting or wiping the phone?

Title: Wifi won't connect to internet


问:
Debug InputDevices process / xbox360 wired controller

Wired xbox 360 controller - works fine on PC

USB otg cable - my mouse works fine on the rooted phone (funny to have a mouse on a phone btw)

Connecting controller to phone or tablet - nothing happens (on tablet I have USB plug notifications)

Xbox 360 layout file is there (Vendor_045e_Product_028e.kl)

here:

```<code>#
# XBox 360 USB Controller
#

key 304   BUTTON_A
key 305   BUTTON_B
key 307   BUTTON_X
key 308   BUTTON_Y
key 310   BUTTON_L1
key 311   BUTTON_R1
key 314   BACK
key 315   BUTTON_START
key 316   HOME
key 317   BUTTON_THUMBL
key 318   BUTTON_THUMBR

# Left and right stick.
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
# This confuses applications that rely on the flat value because the joystick actually
# settles in a flat range of +/- 4096 or so.
axis 0x00 X flat 4096
axis 0x01 Y flat 4096
axis 0x03 Z flat 4096
axis 0x04 RZ flat 4096

# Triggers.
axis 0x02 LTRIGGER
axis 0x05 RTRIGGER

# Hat.
axis 0x10 HAT_X
axis 0x11 HAT_Y
</code>```

The logcat provides me only this log when I plug the controller :

04-20 00:06:35.792: W/ContextImpl(2292): Calling a method in the
  system process without a qualified user:
  android.app.ContextImpl.sendBroadcast:1187
  com.android.server.usb.UsbSettingsManager.deviceAttached:621
  com.android.server.usb.UsbHostManager.usbDeviceAdded:156
  com.android.server.usb.UsbHostManager.monitorUsbHostBus:-2
  com.android.server.usb.UsbHostManager.access$000:38

Which links me to this code source page : https://android.googlesource.com/platform/frameworks/base.git/+/android-4.3_r2.1/services/java/com/android/server/usb/UsbSettingsManager.java

& this SO post which underlines somethings was not properly coded in the OS since it seems to raise a warning for everyone : https://stackoverflow.com/questions/16013787/using-sendbroadcast-in-a-system-app

I will go pick up a keyboard and try to check the cable one more time, and I should probably try to find another controller pad.

Edit : New physical keyboard connects just fine, was able to type into the android, so the cable is not the issue at all.

Still I want to understand why it is not working as intended. any ideas on how to go down in the OS inner workings and see what is (not) happening?


问:
2013 nexus 7 usb help
My Nexus 7 all of a sudden stopped sending data through usb OTG and i tried to erase cache through TRWP but ended up deleting the OS. Now I am stuck with a device with no OS. I cannot mount the USB for my computer to recognise it so that I can restore it. I tried ADB sideload but it doesnt load and gets stuck on starting...

If I click on Mount, I cannot click on the USB-OTG box. My computer does have the correct drivers for the USB as it used to work on it before but since the OTG stopped responding to data I am now stuck and cannot push a restore image to the device.  I tried different OTG cables, different computers. None of the computers even detect a device as plugged in. Whether I boot into bootloader or recovery I just cannot get the PC to even acknowledge the fact that something is plugged in. As a result I am just not able to flash it at all. I tried NRT with the soft-brick option but that fails too because it says no adb connectivity.

Any help would really be appreciated.

I found this issue and have the same problem is there anyone that can help?

Title: 2013 nexus 7 usb help


问:
How to turn an old phone into a Chromecast Audio?
I've been using my old Nexus 4 with cracked screen to play music from iTunes (shudder) to speakers. I'd like to be able to cast from my phone with Google Play Music to the Nexus instead.

I've tried CheapCast but it doesn't seem to work.

Anything else I could try or do I have to shell out €40 for a ChromeCast?


问:
YouTube car media output not working on bluetooth
Since the latest update on my Samsung Galaxy S6 (Android 6.0.1) I'm not able to play any kind of sound from the YouTube app true my car bluetooth media output.

When I play something from my music player app it all works fine. Calling (making and receiving) also works fine.

Here are some things I noticed:

Music player app gives me output because I've noticed it send the music to my car by bluetooth

YouTube app doesn't give me output because I noticed it goes true streaming services (something YouTube it self has integrated when connection to an external device)

My connection to my car automatically dismisses when I play a YouTube video. And automatically reconnects when I want to play it with the music player app.


问:
Missing widgets bar/docker
It seems I have missed the option for adding widgets on Android 5.1 (this is on a chinese branded phone), maybe I touched on the wrong place. Now, when I long tap over home screen I get nothing but a white rectangle that allows me to move the clock and the bottom icons but nothing about adding widgets. I remember I had the widgets option but I somehow missed it. Device has installed a few apps (firefox and rss reader) and uses the stock launcher3 (I already tried to clear data and cache with not avail). Thanks for any hint you can give me!</p>

Title: Missing widgets bar/docker


问:
Get SMS and NOTES from DEAD android 4.4 (Qmobile x30)

Description

I guess my android OS has crashed. It is a Qmobile x30 with Android 4.4.

Current Condition:

I opened Messaging app, it showed black screen for 4-5 seconds and then back to menu. I restarted it and then never able to see the Home... (I thought it as crashed). I don't know much about it.

Now it's stuck on boot logo "Noir". Touch screen isn't working and the OS is not loading.
The problem is as shown:

Click image for larger version

What do I want?

I just want to get my all the SMS and notes from the default NOTES app.

How can I get this?

What I've already tried

Booting to recovery mode. The recover-mode is showing big pink "Q" and text label "No Commands". There only options to Tests the device are available, nothing else.

I used ADB, It's not connecting the devices when i check with adb devices command. it's showing empty list.


问:
Powersave governor VS Marshmallow Doze
After searching on Google and XDA for an answer (which I didn't find), I decided to pose this as a question here.

So, I guess that the majority of us know about the so-called big difference between Android Marshmallow and its predecessors: the Doze feature. We do know that it manages wakelocks and the such in a clever way, apparently granting longer autonomy to a device. I had the occasion to test it on my device, and at least for me, it is true.

Now, due to some issues (including general unsatisfying changes implemented in Marshmallow, as well as random reboots), I decided to fall back to Lollipop. Still, even if I find it to be more reliable than Marshmallow (probably because of the fair long time destined to its development), I noticed the difference in my device's battery autonomy: despite it being in standby for the same amount of time, the battery discharges faster than it did when I used Marshmallow.

So, here's my question: is it possible, with a powersave governor in a Lollipop Android, to achieve the same, if not least, battery consumption that one could notice with Doze in a Marshmallow Android?

I prefer not to take advantage of Play Store apps, since mine is a question whose solution has not to be found with any auxiliary third-party software, and please support your answer with actual facts or appropriate research.

Title: Powersave governor VS Marshmallow Doze


问:
External deivce control and data I/O with the Nexus 5X
I'm trying to understand how I might go about controlling an external LED array and then move image data off using an android device. I have identified two tasks, the first is very simple, I have a boost converter circuit which just needs to be triggered by a square pulse, all the timing thereafter is handled in hardware. I figured I could do this with the mic jack. The second task is perhaps more complicated. I would like to send images over the USB to another system for post processing.

Are there any resources or tutorials available for this type of problem? I am more than anything just looking for a place to start.


问:
Where are Ethernet Settings stored?
There is a good post about where Android Settings are stored.
The following screenshot shows where Wi-Fi settings are stored.

Where are Ethernet Settings stored?

Title: Where are Ethernet Settings stored?


问:
Can I get texts that I didn't receive due to no storage space
My one plus said I couldn't receive texts until I made space on my phone. I have now freed space but I need to get the textsI didn't receive while my storage was full.
Ive had people rsvping me for my sons birthday party and haven't received the texts and now have no idea who's coming and alot of people thinking I'm rude.

Please help.


问:
The images saved in the DCIM folder in the SD card and the internal memory disappear after a while. Please help!
I am using LG G4.  This all started after my phone came back from the service center earlier this month with a brand new motherboard. I clicked a few pictures while on a trip and while playing around with the camera, I selected Manual setting and accidentally selected RAW jpg.  I switched back and continued clicking away.  After I came back, one fine day all the pictures were gone from the camera folder.

I tried software like recuva which are able to see that there over 3000 files but no software is able to retrieve the images.  All the images in other folders are fine. So this was in my SD card so I just figured that was the problem.

I was wrong, I stopped using the SD card and changed the storage to phone memory and it still continues.  It's like images disappear(unreadable) after a week I think.

I used ES file explorer to show the hidden files named .nomedia and delete them (currently in recycle bin).  I still cannot see the images.

I also read something about a jpg decoder library missing can be a reason.  All that fancy coding just scared me a little.

I am here to see if there is a solution.

My potential alternates are:

Install a different camera app so the images are saved in a different
folder

Move the images everyday after they are clicked to a new folder.

Reinstall the stock camera app somehow

Factory reset

Please tell me if there is another way, I am desperate.  :( :(


问:
Unable to update the Android system updates after installing Despair on Nexus 5
I installed Despair kernel in Nexus 5 by following this guide. Then I installed Clockworkmod Recovery 6.0.4.5. I'm trying to update the system, but when I try to install, it brings me to Recovery and an error "Unable to verify signature" shown during install. The update does not get applied.

How do I resolve this update issue?

More information:

Android OS: 6.0

Android security patch level: 1 October 2015

Baseband version: M8974A-2.0.50.2.27

Kernel version: 3.4.0~Despair.M.HH.R1.9

Build Number: MRA58K


问:
Nexus 4 Red Notification light with full battery
I have a problem with my Nexus 4.

About once in a week it goes in the "deep hibernation mode" and shows this behavior: Red notification light on Nexus 4, won't power on, device unresponsive

My problem is, that this seems not to be a battery problem. Because this happens with 100% of battery, sometimes even when it is plugged to the power supply.

It is very annoying for me, because when this happens I always have to do this procedure to "solve" it:

Unplug the phone from the charger)

Press and hold the volume DOWN button plus POWER Button for 15 seconds

Plug it into the wall-charger (while still holding both Buttons) -> the red light should start to blink.

After 4-5 blinks release the buttons

Wait some seconds and then press the Power Button and it should boot

After that procedure it works without any problems for a week or so, and after the reboot I often have 70-100% battery.

Because the battery works then for a week I don't think it happens because of battery drain. Now has anyone another idea, why this is happening?


问:
Sound stops in mid-call (incoming sound only, outgoing sound is fine)
I have a bizarre problem and I don't know whether it's my phone (Samsung Galaxy S4), my Bluetooth headset (Plantronics Voyager Legend), my carrier (T-mobile) or our corporate conference call system (AT&T).

In the middle of a conference call, the sound I hear on my end will just stop. The call is still active, however, and other people on the phone call can still hear me. This has happened four or five times now. It has never happened with any of the personal phone calls on the same setup.

When it happens, if I turn off my headset and go to use the phone itself, the problem still occurs. So it makes me think that it's not related to the headset.

No one else on the conference call seems to have this problem, so maybe it's my phone rather than the conference call system. Update 4/29/2016: Just confirmed it's not the conference call system, it happened on a long call (90 minutes) direct from another phone, without involving AT&T conference calling.

I don't know what to search for on the internet. Has anyone heard of something like this happening, either to Android or to Samsung phones?


问:
Spell check without auto-correct?
I find more often than not auto correct makes incorrect suggestions.

Is it possible to get a spell check similar to that on desktop where it underlines mistakes in red?

Title: Spell check without auto-correct?


问:
Why Do I Have .APK Files in Every App Folder?
I have noticed .APK files in /Apps/[app name]/ directories and while I thought it supposed to be in /System/Apps/[app name]/ directory would it cause errors if I delete .APK files?

I am also wondering if Android no longer unpacks apps and reads straight from .APK files. According to screenshot below and comparing WeChat's .APK size with size shown in properties it seems like to be the case:


问:
How can I use phone speaker while headphones in
How can I output the audio through the normal phone speaker while plugging my headphones?

I'd searched a lot, but seems to find nothing except this answer and it didn't work on Nexus 6 nor Note 3.

Actually I need to use my headphone as mic pnly and the normal phone speaker to output sound.


问:
.com.google.chrome files in my Downloads
I have a bunch of files in my "Downloads" folder with names that start with ".com.google.chrome".
What are these files?  Is it possible that they are failed downloads?</p>


问:
Nexus 7 2012 Not waking from sleep
Often, when I try to wake my nexus, the screen stays completely blank and the tablet refuses to do anything. To get my device working again I have to hold the power button for about 10 seconds, which hard resets the device. I unlocked my bootloader and installed cyanogenmod to see if that helped, but it didn't. This is extremely annoying as well as time wasting, driving me to the point where I just don't use my tablet anymore.

I have tried:

Factory resetting the device

Installing a new rom (A bunch of different cyanogenmod nightlies and snapshots)

Waiting for the device to become responsive again

A quick Google search shows I'm definitely not the only person with this issue. I'll be happy to provide more information if need be.

Title: Nexus 7 2012 Not waking from sleep


问:
cannot restrict telephone background data specifically for google playstore without restricting all other apps as well
Lately I noticed in data settings that google playstore is transfering a ton of data in the background while I am connected to telephone network. This costs me money. If I go to playstore's settings there is an option to restrict background data but then it says I must set a data limit to let it work. The problem is that the data limit limits all apps I don't want to limit all apps. I just want to turn off background data only for playstore.</p>


问:
Windows 10 PC cannot play MP3 files from android LG G3 with 0 bytes
I was trying to edit one of my sound files on my phone in audacity eariler today, when I discovered that the files held "0 bytes" and were inaccessible by any players on hand.

Info:

LG G3 does not charge using stock charger

Windows 10's windows media player fails to play MP3s

MP3s are playable using stock android player

Windows explorer shows problem files as "0 bytes"

MP3s are stored on SD Card

Attempted fixes:

Restarting phone/PC

Replacing USB cable

Cable from Amazon Fire tablet opens on windows but no consistent MP3 file access

Switching PCs

Cleaning Parts

Removing and reinserting SD card

Using VLC to play files

Using Audacity to play files

Moving/Copying files to desktop

Uninstalling/Reinstalling Android driver

Enabling USB Debugging

EDIT 4/29/2016: Tried using Windows 8.1 and a Chromebook, but former came up as zero and no Internal/SD card detected on the latter.

EDIT 5/2/2016: Just realized that the problem MP3s are also listed as "Size: Unknown" in the default android music app. However, they still play normally.


问:
Block 4g when WiFi is available, and limit access to programs
What's the best way to config it? If WiFi is available, 4g remains locked.

When WiFi isn't available, use 4g, but only for Watsupp and no video.


问:
Android logcat which app spams logcat
On my Oneplus Two android phone I recently updated to android 6.0. Since then my battery life has decreased drastically. Plugged into my computer I saw that a app is spamming the logcat even when the screen is tured off and the device should sleep.

```<code>04-23 22:49:48.278 666-666/? W/ipacm: type=1400 audit(0.0:19622): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0
</code>```

This message is spamed four times every ~5 seconds. Now my question is: How can I figure out which app is responsible for that message?

UPDATE:

I have done a factory reset and the waring still appears. So I guess it's a system app / service.
Note: The waring only appears while being connected to a wifi network. It could also be the case that the warning only appears while charging.

Title: Android logcat which app spams logcat


问:
Why does clearing cache fix Snapdragon 820 overheating issues?
I was researching whether Snapdragon 820 has overheating issues like 810, and found numerous advice on both LG G5 and Samsung Galaxy S7 that says "yes, overheating can happen, and to fix it, clear the cache, possibly followed by factory reset".

Example, example.

However, none of the articles had any explanation on how clearing the cache would help.

Is there a reason it would help fix overheating? How?


问:
"system_server" - BluetoothPhoneService Causes High CPU Usage
I am using Android 5.1 on Nexus 4 and noticed battery drain faster than usual a few months ago. Thinking I need to update Android to newer version I decided to check CPU usage first and found that process "system_server" - BluetoothPhoneService causes high CPU usage:

Researched on other forums and other have same issue but I have not found solution. Anyone is familiar with this issue and thinks updating to Android 5.1.1 would fix it?


问:
CyanogenMod 13 Cellular Data Problem
I have problem with anything working through HTTP/HTTP (i guess) when I'm connected to cellular data (it's ok on WiFi), like apps like Instagram, Google Play, Shazam, i can't surf the web too.
But apps like Telegram and Spotify which is working through socket (i guess) is working well.
I thought that problem is from DNS settings and tried an DNS Changer app but it didn't solve the problem.

Problem appeared after few weeks since installing CyanogenMod 13 on my phone (Nexus 5x in this case) and after it i've tried different ROMs/SIM Cards/Kernels/Tweaks to fix it it was not effective.

I had the same problem on my S4 Mini since installing CyanogenMod 13, and it still has.

Title: CyanogenMod 13 Cellular Data Problem


问:
GPS is not working in Samsung SM-J320F device
I have tested with 3-4 GPS location apps in my Samsung SM-J320F device but still not getting location by using GPS. It's working fine to get Network based location. But i don't understand why it's failed with GPS? My device running with Android 5.1.1

Apps i tested with

GPS Logger

GPS Status & Toolbox

GPS Essentials

Is there any setting that i missed? Is the issue in GPS Hardware chip?


问:
Help! Lg v10 OS update erased entire calendar
All past events, all scheduled events, gone. Also, google calendar is not available in list of calendars to sync/enable. It's not that I just failed to check a box, it's that it isn't even listed as an option to choose.

Searched for hours for reports of similar problems with solutions, found nothing. Well, I found lots of other people who also lost entire calendars, but none with solutions that worked.

Absolutely nothing I have tried has helped: reboots, resets, adding/deleting accounts, etc.
Really, what good is a "smart" phone that won't keep a basic calendar? How many people absolutely REQUIRE an adequate appointment/schedule app on their devices?

I hated my iphone, but I'll tell ya - it never deleted a single calendar event without me expressly telling it to do so... For that matter, neither did my ancient blackberry...
Not sure whether this is an Android issue or an Lg v10 issue, but outrageously expensive phones should not be this much hassle.


问:
Icon packs on stock Huawei Launcher
Is there any way to use icon packs on the stock launcher in the same way they can be used on third-party launchers? I have a Huawei P8; it is rooted so I'm guessing there is a way but my searches have come up empty so far.</p>

Title: Icon packs on stock Huawei Launcher


问:
Potential Android virus removal and best practices
I was browsing the web and I ended up on a site with one of those pop ups that plagued my browser window with "Your device is infected, please go to insert dodgy link to remove malware" type messages. It also downloaded a file called "download"....I didn't find the file type. At the same time, avast! flagged it as containing malware. I immediately deleted the file and scanned my device with several antivirus scanners, which all came back clean.

Is there any chance there is anything nasty lingering on my phone? I didn't click the downloaded file, deleted immediately and my virus scans came back clean. I also don't allow installation from unknown sources.

Finally, can anyone recommend me a comprehensive antivirus program?


问:
How to check when the phone was turned on? (4.4 kitkat)
I turned my phone on today and there's something weird there. I would like to check if someone turned it on recently. Like, computer booting log. How can I do it?</p>


问:
What installed "DU quick charge" on my phone?
I started seeing something new on my lock screen, before even swiping the lock screen. It was a large battery charging-status display with advertisements below that. At the upper left corner was a gear for setup. Touching that displayed "DU Quick Charge" with a little slider to turn it off. I turned it off and the display has never appeared again. But I want to know where this came from. A Google search gave me one article describing my issue exactly, except it involves different software than I have. The image provided is the same. Obviously "DU quick charge" is a library someone is selling. How do I find what software did this on my phone? It seems to have already disappeared from the recently updated list at the play store.

Link to article

Link to image


问:
Android 2.2 security in 2016
I have an old Samsung Dart t499 that I would like to give to my son for simple texting and phone calls.

Assuming that (1) we don't install any apps and just use the ones that came by default on the device; (2) we turn off MMS autoretrieval; (3) we don't browse the web, open sms or respond to sms messages from unknown people and (4) we use a Google account created just for this device and not linked to any other information or accounts that we have.

Are there any security concerns/risks that we need to be aware of?

Title: Android 2.2 security in 2016


问:
Why does it say that my phone isn't rooted properly?

Question:

Why does it say that my phone isn't rooted properly? Also, can it get bricked?

Full story:

I got some malware, which my antivirus couldn't detect, so I installed an app called "Stubborn Trojan Killer" from the google play store. It told me that in order to stop the malware I had to root my phone and gave me instructions.

In the instructions it included two root programs, one is "KingRoot" and the second one is "KingoRoot". I tried the second one first, but it didn't work, so then I tried the first one and it did, but the other antivirus programs I installed kept labeling it as a virus, plus I read somewhere that the program itself is shady, so I decided to uninstall it.

So getting to the point, I read somewhere that rooting your device can get it "bricked" (would be great if someone can explain how you ACTUALLY brick your phone), so I got paranoid and downloaded an app called "Root Checker" It checked if I had root access, but it didn't give me a clear yes or no, it just said that it isn't installed properly and now I'm paranoid that it could get bricked or something.

How do I fix this? I'm really new to rooting and all of that so I would appreciate some help.

My phone's name is Allview Soul Style, and it runs Android 5.1.


问:
Strange fstab file
I have extracted and unpacked the recovery file of my android device.

The /ect/fstab file contains line that is strange for me.

I have uploaded the file at pastebin

The line that mounts the /mnt/external_sd, it's correct? the "mnt_flags and options" column is correct? The value "/dev/block/mmcblk0" is a valid value?

```<code># Android fstab file.
#<src>                                       <mnt_point>         <type>        <mnt_flags and options>       <fs_mgr_flags>
/dev/block/mmcblk0p1                         /mnt/external_sd     vfat       /dev/block/mmcblk0        defaults
</code>```

EDIT:

I have replaced the value "/dev/block/mmcblk0" to "defaults" and have fixed my problems with the recovery (I'm porting CWM for my device)

What means the value "/dev/block/mmcblk0"? What are the impications to change this value? I can't find documentation about the proper format of fstab for CWM.

Title: Strange fstab file


问:
Why does Google Play Games keep auto-updating, even though I have disabled auto-updates?
Ever since the Lollipop update for my Moto E, storage space on the phone has been very tight. To make the phone more usable for the things I use it for, I've uninstalled the updates for all of the system apps I don't use. And of course, because now I have to keep a close eye on what gets installed, I've disabled auto-updates entirely in my Google Play Store settings.

Unfortunately, for some reason the Google Play Games app continues to update automatically. This is the only app for which it happens. All of the other system apps remain un-updated, and of course for the apps I do use, I have to manually update them when an update is available, just as expected.

I checked the settings for the Google Play Games app and did not see anything there that would affect auto-updating.

Why is the Google Play Games app continuing to update itself automatically, even though I have configured the Google Play Store to not do any automatic updates? How can I prevent this from happening, so that I can uninstall the updates for Google Play Games and have them stay uninstalled?

Note: I am looking for a solution that works on a stock, not-rooted phone.


问:
Installing Android on a ARM tablet

Possible Duplicate:

  Can I install Android on my non-Android device?

I have a Toshiba Journ.e Touch (ARM processor) with Win CE on it.

I want to replace it with Android, but I faced a lot of problems.

First of all, I'm totally new to the Android world, so I'm not even sure it is possible to do something like this.

Second I came across a lot of distributions, mod's and other stuff, that I'm not sure which is the best choice.

Can someone point me to the right direction?

Title: Installing Android on a ARM tablet


问:
unable to launch Google calendar ics file attachment
I received an gmail from my sons baseball coach with a Google calendar ics   attachment file for the seasons schedule. When I click on the attachment in the email while on my Alcatel onetouch FierceXL it says unable to launch event.  Then when I went to gmail on my huawei union,opened the email, & clicked on the attachment it downloaded and worked. My alcatel onetouch FierceXL is my main phone I don't understand why it won't work on it? I'm not very electronically minded and am lost when it comes to trying to navigate phones & computers or understand what the meaning of things are. Is there something I need to do to  be able to open the attachment and work on my alcatel? </p>


问:
alcatel onetouch FierceXL battery is draining too fast
I've only had my onetouch for 3 weeks now and all of a sudden the battery started draining rapidly, even when I plug it into the charger, and charging very slowly. If i use the phone at all when its plugged in it'll say it's charging for a few minutes, then start to drain rapidly(full charge gone in 30 minutes or less) even though the charge light is on and it says it's charging. If I don't use the phone at all while plugged into charger it charges very slowly(after being plugged in all night it was only at 29%). If I use the phone when its not plugged in it still drains faster than it used to, though not as fast as it does if I use the phone while plugged in. This started happening 3 days ago. like right now I've been plugged in for almost 2 hours and it's still only at 1% and has died 2 times while trying to send this question.</p>


问:
How can Google Photos back up Google Keep notes with images?
Google Keep has the feature to directly take a photo and create a note with that photo.

How can I add these taken photos to the automatic back-up procedure of Google Photos?


问:
How to recover application data after deleting it from the settings menu?
I wanted to cancel a download, which I did until now by long-tapping on it, then "App Info" button and killing the download manager and deleting its data.

However, this time, the "App Info" button opened up the app settings for Chrome and not for the download manager, which I only noticed after I deleted all the data!

Is there a way to undo that or at least somehow extract my bookmarks from the (Huawei Y3300 mobile phone's) internal storage device?

Note: By "app settings" I mean the page where you can "Stop Now" "Uninstall" "Disable" "Delete All Data" "Clear Cache" "Reset Default Associations" for given app.

Note: I suspect the cause for this mistake is that for "normal" downloads the download manager opens up if tapping on "App Info" but this was a "Save Video" download, for which apparently Chrome is still responsible.


问:
Question about removing Gapps (Lollipop)
I have some questions about removing Gapps.

I have Huawei P8 Lite with Android 5.0.1. I want to put CM or AOSP on it, but it seems that there are no custom ROMs available as of yet. I decided the least I can do then is root the phone and remove Gapps (due to privacy concerns).

Now, what would be the best way to do this? Is there a method of removing Gapps that applies to all Android phones or does it depend on Android version or even phone model itself? I am asking this because I've found some script to remove Gapps, but it's for Android 4.1 and I'm not sure if that would work for 5.0.1.

My other question is how does stock ROM behave when you remove Gapps since it's designed with Gapps in mind and they're part of the design? For example, if I remove Gapps, what happens to entries in settings that concern Google (such as keyboard, voice, search, etc.)? Will they disappear or remain? If I click them, will they cause a crash?

Thank you in advance for help.


问:
Reasons for full disk encryption differences between Nexus & Samsung
I have Nexus 7 and Samsung Note 4. I'm guessing that they are representative of Nexus and Samsung Android devices, respectively. Regarding full disk encryption,

Nexus full disk encryption is irreversible (unless of course you do a factory reset), but Samsung has an option for decryption.

After encryption, Nexus can be unlocked by any option (including a simple screen swipe without password), but Samsung requires either password or fingerprint. Is there that much use to encryption without password or fingerprint to unlock?

What are the reasons for these strange differences?

OwnerDisplayName: CarlGammaSagan


问:
Upgrading android on device with small memory
Hi I have an android Core Prime with 8GB internal storage and a 16GB sd card
Currently it has andriod 4.4.4 installed
It has downloaded an upgrade to 5.1.1

It says it requires 3gb of space for the install of which I currently only have 718MB.

Currently the storage is not unified and I have moved as much to the SD card as I can.

I am guessing that to update I will have to do something like

backup with kies

uninstall as many apps as I can

do upgrade

reinstall apps

restore backup

and hope I don't lose too much.

Will any data on the sdcard be corrupted erased?

Should I move applications back to the internal storage before I start?

Is there a better way?

Thanks

OwnerDisplayName: BevynQ


问:
Google voice having trouble recognising some of what I say
I'm English with a thick southern accent, and while Google voice does quite well about a 3rd of the time, it struggles with words such as slack (thinks I'm saying slap, flac, etc), medium (thinks I'm saying museum), slap (thinks I'm saying map), etc. I have repeated these words over and over, hundreds of times and it's not getting any better. I've tried speaking slower, louder, really enunciating my words, but nothing is helping.

I wanted to use Google voice as a way to quickly record my thoughts during the first stage of writing articles but it looks like that's not happening any time soon as I've tried saying whole sentences and short paragraphs over and over, but again, it struggles with that. It gets it right maybe 1 or 2 times out of 10.

Is there a knack to this? Is there a way to spell out words it struggles to understand so that it "remembers" these words for future use?

I'm using Marshmallow if that makes any difference, and the language is set to UK English.

Any tips?


问:
Download Management
Hi I'm not sure if this question already exists but I couldn't find anything on it.

I need to find out if there is anyway of automatically deleting downloads either within a certain time frame ( say they had been in the storage for a month) or once downloads have reached a certain limit (say 30 downloads) it would delete them from storage.

The issue we have is that we provide the tablets for the guys that work on site or in the field who will need to view maps (pdf) and need some automated storage management for the downloads so we wouldnt have to a) manually keep deleting them to save storage or b) giving them a tutorial on how to do this.

Also (but not as importantly) is there a way of view the pdfs (from office 365 sharepoint (sites)) of viewing the pdfs with out downloading them?

The roll out is pretty soon so any help is most appreciated!

Thank you

Title: Download Management


问:
Nexus 4 Crash after Google logo, now red flashing light
I got a really confusing problem at hand with my Nexus 4 right now.

When I woke up in the morning, I looked at my phones screen. Everything was looking fine (and I had about three quarters of my battery left). When I tried locking it, it didn't go black, instead it gave me the option to turn it off, as if I had pressed the button for a little longer. I thought a reboot would fix this so I turned it off.

When I tried to restart my phone, it showed the Google logo for about one or two seconds, then the screen went off again. Waited for a couple of seconds, then tried turning it on again several times, always with the same result.

I started looking the problem up online and found this (http://forums.androidcentral.com/google-nexus-4/312151-solved-nexus-4-won-t-turn-charge.html) thread. Even though it was different from my problem, I thought I could try the steps mentioned there. When I did, my screen just turned black and a red LED started flashing.

Online, I found several sources saying that a flashing red LED simply means that the battery is drained lower than 0% and it would fix itself if I let my phone charge for a couple of minutes. So far, this has showed no results. Also, I don't think that my battery is empty, since it had roughly 75% before I turned my phone off. My Nexus had some strange battery issues before (rebooting with up to 60% less battery than when it turned off), but that never happened frequently and most of the time it came from crashes from the good old camera bug or when it froze during video playback.

I'm using a Nexus 4 16GB with no root access or any other modifications. I run the latest firmware update (though I'm not sure which version number that is).


问:
How to know I am interacting with a fragment?
How do I identify that I'm interacting with a fragment? My understanding about fragments is not quite clear and I presume that they are about UI, always requires an Activity to be shown with it and are supposed to be modular in nature. They do not come with their own View unlike a full blown Activity.

Anyhow, here's the problem: the app My Android Tools offers UI that appears to be multi-pane and multi-window. For example: if I launch the app and choose Database, the activity remains the same i.e. cn.wq.myandroidtools/.MainActivity but the view on the UI changes. If I choose SharedPreferences the Activity still remains the same yet the view on the UI changes.

(Click an image to enlarge it)

Here's what I've tried:

I've closely monitored logcat and it didn't reveal anything useful.

I've tried dumpsys activity window windows and other than the same activity I didn't find anything of use to me.

I've tried dumpsys activity activities and dumpsys activity -p cn.wq.myandroidtools. Former didn't yield anything significant and the latter provided output which multiple mentions of the term fragments, yet I couldn't understand what I was dealing with.

I've already checked the manifest and there is no Activity that points to the entry Database would cause to open.

Assuming a fragment may be misinterpretation but then how would I verify I'm wrong?

There's more: this is not an XY problem. Yes, I can look for an app that offers the same feature which the said app provides under Database entry. I already found two alternatives and I don't want to use them.

Why? Because I want to learn since fragments are not limited to the said app but are used heavily by Settings app and many other apps out in the wild. If only I get to understand what particular fragment I'm dealing with, I may be able to use this answer to always have the said app show the UI meant for Database entry, whenever launched from app drawer.

In short

I'm looking for a way to realize that I'm interacting with a fragment;

What about that fragment do I need to use in this answer to show it?

If it is of importance: I'm using Nexus 6 with stock and rooted Android 6.0.1. It would be fine if you provide answers tested on stock Android 5.0.x or 5.1.x.


问:
Galaxy S5 (SM-G900H) unknown baseband
Background Story :
The S5 belongs to my friend. One day, he was no longer able to make or receive calls and he came to me for help.

As you can see above, the baseband version of the phone is "unknown". When I checked the IMEI, it says null.

So I searched forums for the solution. It turned out that the EFS partition was either corrupted or deleted ( source :
http://techbeasts.com/how-to-restore-and-back-up-efs-data-on-samsung-galaxy-devices/ ).

According to the site, I need to get my phone rooted to use the EFS recovery software.

However, I encountered another problem there. I used the latest version of CF-AutoRoot to get the phone rooted. Despite Odin showing success, the phone enters a boot loop. I manage to get out of it ( by wiping cache, etc ) only to find the phone not rooted.

Long story short : is there a way to recover EFS without rooting? Or is there a way to root the S5

Note : Other people on the internet managed to root their S5 ( same model ) but their build was different (XXU). Is there a possibility that the build of this S5 (XXS) is causing the error.

Title: Galaxy S5 (SM-G900H) unknown baseband


问:
Site timeout for Android device on LAN, but ok on mobile network
My two Android devices (LG G3 on KitKat; Nexus 7 with custom JB rom) cannot access 4 of my 5 Wordpress sites over my WLAN, but have no problem via my mobile network. The other devices on the WLAN (iPhone, Mac, PC) access the sites successfully. The problem has existed for a long time (years), and I am finally trying to solve it.

To test, I just created a completely new Wordpress installation, with no plugins active. The same problem is observed. http://testing.dunques.id.au

The successful request via mobile network shows this in the server logs:

```<code>49.183.x.x - - [30/Apr/2016:01:24:28 -0400] \
"GET /instructions/making-a-test-recording/ HTTP/1.1" 200 61814 "-" \
"Mozilla/5.0 (Linux; Android 4.4.2; LG-x Build/KOT49I.x) \
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.103 Mobile Safari/537.36"
</code>```

The logs show no entries for the timed-out request from the Android devices via WLAN, made immediately beforehand. I assume that means there is a problem between the devices and the router (FritzBox 7390), or something happening when the request reaches the host server (Namecheap). All sites (including the one that is always accessible) are on the same server.

There are no white/blacklist entries in the router.

I've not been able to identify other Wordpress sites that have the same problem, but there have historically been a few sites which have timed out... though causes may have been unrelated.

Posting this question because I don't know what more to do to diagnose this.

UPDATE:
Using FritzBox logging, the traffic to the site looks like this. Currently, the sites are sometimes accessible, but often with a long delay (perhaps the precursor to the timeout I observed frequently previously).

```<code>//start of request//
22:25.8 118.209.x.x 199.188.x.x TCP 92  52268  >  80 [SYN] Seq=0 Win=14600 Len=0 MSS=1452 SACK_PERM=1 TSval=1263984 TSecr=0 WS=64
22:25.8 118.209.x.x 199.188.x.x TCP 92  52269  >  80 [SYN] Seq=0 Win=14600 Len=0 MSS=1452 SACK_PERM=1 TSval=1263984 TSecr=0 WS=64
22:25.8 118.209.x.x 199.188.x.x TCP 92  52270  >  80 [SYN] Seq=0 Win=14600 Len=0 MSS=1452 SACK_PERM=1 TSval=1263984 TSecr=0 WS=64
22:26.0 118.209.x.x 199.188.x.x TCP 92  52271  >  80 [SYN] Seq=0 Win=14600 Len=0 MSS=1452 SACK_PERM=1 TSval=1264008 TSecr=0 WS=64

22:26.8 118.209.x.x 199.188.x.x TCP 92  [TCP Retransmission] 52268  >  80 [SYN] Seq=0 Win=14600 Len=0 MSS=1452 SACK_PERM=1 TSval=1264084 TSecr=0 WS=64
// 18 requests like this in 31 seconds //**

22:57.1 199.188.x.x 118.209.x.x TCP 92  80  >  52268 [SYN, ACK] Seq=0 Ack=1 Win=14480 Len=0 MSS=1420 SACK_PERM=1 TSval=2355200105 TSecr=1267092 WS=512
22:57.1 199.188.x.x 118.209.x.x TCP 92  80  >  52269 [SYN, ACK] Seq=0 Ack=1 Win=14480 Len=0 MSS=1420 SACK_PERM=1 TSval=2355200106 TSecr=1267092 WS=512
22:57.1 199.188.x.x 118.209.x.x TCP 92  80  >  52270 [SYN, ACK] Seq=0 Ack=1 Win=14480 Len=0 MSS=1420 SACK_PERM=1 TSval=2355200108 TSecr=1267092 WS=512
22:57.1 118.209.40.221  199.188.x.x TCP 92  [TCP Retransmission] 52271  >  80 [SYN] Seq=0 Win=14600 Len=0 MSS=1452 SACK_PERM=1 TSval=1267116 TSecr=0 WS=64
22:57.1 118.209.40.221  199.188.x.x TCP 84  52268  >  80 [ACK] Seq=1 Ack=1 Win=14656 Len=0 TSval=1267117 TSecr=2355200105
22:57.1 118.209.40.221  199.188.x.x HTTP    552 GET / HTTP/1.1
// remaining requests seem OK, site rendered //
</code>```


问:
Dropping packets on tethering on Nexus 5X
During tethering on my "Nexus 5X" phone seems like lot of packets being dropped:

```<code>Request timeout for icmp_seq 40
Request timeout for icmp_seq 41
64 bytes from 213.180.204.3: icmp_seq=42 ttl=51 time=114.997 ms
64 bytes from 213.180.204.3: icmp_seq=43 ttl=51 time=109.585 ms
Request timeout for icmp_seq 44
Request timeout for icmp_seq 45
Request timeout for icmp_seq 46
Request timeout for icmp_seq 47
Request timeout for icmp_seq 48
Request timeout for icmp_seq 49
64 bytes from 213.180.204.3: icmp_seq=50 ttl=51 time=53.464 ms
Request timeout for icmp_seq 51
64 bytes from 213.180.204.3: icmp_seq=52 ttl=51 time=87.195 ms
Request timeout for icmp_seq 53
Request timeout for icmp_seq 54
Request timeout for icmp_seq 55
64 bytes from 213.180.204.3: icmp_seq=56 ttl=51 time=86.520 ms
Request timeout for icmp_seq 57
</code>```

I used "Nexus 5" before with exactly the same sim card and the same mobile operator and the same laptop before and did not have (rather, did not notice) any similar issues.

Android version "6.0.1". I use Mac Pro with OS X El Capitan 10.11.2


问:
How can I stop problems with the screen when I change the font size to "Large"?
When I change my phone font to "Large", the screen layout is messed up. The screenshots how that the right margin is increased. The left screenshot shows the normal margins. The right screenshot shows how the Google Now field, the camera and the Settings icon are bumped to the left. (I drew the blue arrows in a paint program.)

If I change the font to "Normal", then back to "Large", the increased margin does not appear right away. But, when I have the font setting on "Large" and then exit a phone call or message or an app, the margin gets increased.

Phone/app details:

Phone: Moto E 2nd generation with 4G LTE
Android version 5.1

Added Apps:

iNaturalist,
Audubon Birds,
Clipboard History,
eBird,
Excel,
GPS Coordinates,
Overdrive,
Simplenote,
Yahoo Mail,
Zinio

Along with the ones that came with the phone:
Google Calendar, Camera, Chrome, etc.

No alternate launcher.
Multiple windows is not enabled.


问:
How does NFC unlock work?
I am not asking for instructions on how to set it up. I can't find any page or diagram detailing Android's scheme for using NFC modules to unlock devices. What algorithms are used? How about the steps in the scheme? How is the NFC module used if encryption is enabled? Are digital signatures used? Do the tags get programmed when they are set up with a device?</p>

Title: How does NFC unlock work?


问:
I deactivated Android System Webview. What can go wrong?
I'm a day 1 Firefox user. I recently faced lots of changes in Google's apps like News or Google (Now) that forced me to use Chrome from within the app, against my will.

I read that I could deactivate Chrome to have taps on Google's apps open links in my Firefox as they used to. So I did and it worked. But sometimes there's that video that Firefox can't read but Chrome can so the solution was only half good.

Today I learned about Android System WebView. It's the component that allows Chrome to run in other apps, amongst other things I think. I decided to deactivate this one instead and everything seems as I want again.

But what are the consequences of this action in the long term? Are there side effects I should fear?


问:
sent emails getting cut off
every so often i send an email to someone from my androids email app and the message gets cut off somewhere in the middle
example:

hi buddy

it was great talking to you yesterday, would you come tomor

i cant find any rhyme or reason to when this happens, it can be ok for a few weeks, then one day happen to one email or more then go away, seems entirely random

its causing terrible miscommunications...

i only found one similar question online about it, but with no answer. here: https://productforums.google.com/forum/#!topic/gmail/hte02K16JxM

Addl Info

the messages are clipped also in my sent items folder (viewed in standard gmail on desktop browser), and also by the recipient in his inbox

im using the standard email app. not the one form gmail.

im not using any template as far as i know of

please advise

UPDATE

i now find so.ething very odd

the email is not getting cut off necessarly towards the end, but raher per what was added later in time! i.e.

i write an email

hi. how are you?

and then i wait a few seconds and then i edit it like this

hi BUDDY! how are you?

then i press send, the recipient gets the 1st version, not the edited one! this is sooooo odd. as if theres some internal caching going on

btw,if it makes any difference, my macine is attached to a AirWatch policy system.

any ideas guys?

Title: sent emails getting cut off


问:
My cellular networks slower than USB tethering, what shoud i do?
In the first glance to my title, it doesn't really make sense because the hotspot itself should equal/faster than the client who borrow/tether the network, but due to unknown reason, it always slower, and not a bit slower.

I'm not the only one have this problem.

My phone model is Oukitel K4000(non-root). Originally i'm not even can access the https website, such as https://www.google.com:

But USB/wifi tethering works fine even though slow which take 1 minute to load mobile(spoof with mobile user agent) https://www.google.com.

Then i found it's because of Oukitel misplaced MMS proxy and port in normal proxy and port field, the https works after i remove this fields:

And it's faster, USB/tethering which take 1 minute to load https://www.google.com now only require 30 seconds.

But still, there's something wrong because cellular network is ALWAYS slower than USB tethering.

Speedtest app in my phone:

In average, downland speed is 3 times slower than my laptop who tethering:

I also test with chrome remote debugging, http://android.blogspot.my/ (no https), spends 25 seconds:

And the result of laptop chrome(mobile user agent) who use USB tethering(wifi tethering is slower but still faster than mobile), spends 1.5 seconds:

I perform a lot of testing, so i can conclude that my phone is abnormally slower than USB tethering. I also test my phone to connect wifi, it spends only 1.25 second to load http://android.blogspot.my/, so i can conclude that the problem only exist on cellular networks.

I tried to use DNS changer app but i think the app doesn't works because even i set custom DNS to invalid ip like 10.3.6.8, my phone still able to load web pages.

I failed to root my phone too.

I wonder it might because the app in my phone use ipv6 as first priority(which always fail if i request ipv6 in USB tethering), i'm not really sure.

I get lost, what should i do ?


问:
How to remember/cache a client certificate
I support a web-application that requires an https connection with client certificates as part of the authentication scheme. On most browsers (Desktop clients, iOS Safari, etc) if you are prompted for a client certificate and select a valid one the browser remembers this selection for future connections attempts.

Unfortunately, this isn't the default behavior of Android's Chrome. Every time the Chrome instance leaves memory (or maybe after some timeout) it shows the certificate selection dialog again.

This isn't something our users like and I would like to be able to tell Chrome how to remember the selected certificate for a given domain.

I've noticed this question asked every once and a while across the Internet, even here on the Android Stack Exchange site. Unfortunately, I've yet to see an answer to this problem, but I suspect someone out there has solved this already.

I'm looking for any effective solutions. Some things I've seen and tried to research:

Adding a policy -- such as the Automatically Select Client Certificate for These Sites which sounds promising but doesn't explain how to actually set this. There doesn't seem to be an analog to this if you visit chrome://policy in Android

I believe the above website is aimed at MDM / remote device management, but that isn't something that we can access here. Instead, I want to be able to set a one-off policy with for a phone that I have been given access to.

There are even posts about setting this policy on StackOverflow but they deal with desktop versions and I cannot seem to find someone whose done this for Android.

I'm also open to any solutions that involve wrapping a WebView or Chrome instance in an Android app that then programatically handles supplying the certificate.

The problem with this is that it seems as if WebView disables all JavaScript interaction and is a bit more "read-only" which isn't acceptable

I haven't seen an example of someone creating an app that starts a Chrome instance and is able to intercept anything like client certificate management for Chrome.

Thanks for any help.

EDIT: I thought that WebView doesn't allow Javascript (because Google states that in their docs. But they say by default and proceed to explain how you can write something for WebView that does in fact enable Javascript:

```<code>webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setDatabaseEnabled(true);
webView.setWebChromeClient(new WebChromeClient());
webView.setWebViewClient(new WebViewClient() {
    @Override
    public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
        handler.proceed();
    }

    @Override
    public void onReceivedClientCertRequest(WebView view, ClientCertRequest request) {
        // TODO: Supply the client certificate
        request.onProceed(privateKey, certificates)
    }
        });
webView.loadUrl("https://some.app.url");
</code>```


问:
Password not working / changes after update from COS 12.1 to Cyanogen OS 13
I've encrypted my OnePlus One a long time ago. Now I want to perform the update with the new released Cyanogen OS 13. The problem is that the phone don't want to validate the password from the previous version. The pin or pattern works perfectly in TWRP (v2.8.x). By booting with COS 13 it isn't working anymore. After a flashing the old COS version the password or pattern is working fine. I've changed the pin several times and also tried to use the lock pattern but there is no difference. Has someone a clue how to fix this problem. I don't want to set up the whole OS again. Thanks!</p>


问:
Some apps change the sound profile when showing notifications
Some apps such as WhatsApp and Gmail cause my sound profile to change from Vibrate to Normal automatically without asking me when I get a notification from them. This only happens when notification sounds are enabled in the app, but they really should be respecting the system settings instead of changing them! Also, they should not be enabling my ringer!

I want notification sounds to work if I changed the sound profile to Normal, and only vibration in the Vibrate profile.

Of those two apps, only WhatsApp has permission to change audio settings.

HTC Desire 816 dual sim, Android 6


问:
How do I copy images in Firefox for Android/Fennec?
I'm using Firefox for Android (also called Fennec) v.46 on Android Kit-Kat 4.4.2.

When I tap-and-hold on images in a browser in Android, I get a context-sensitive menu, as expected.

However, the menu in Fennec doesn't include an option to just copy the image to the Android clipboard (or do whatever it would normally do behind the scenes, such as producing a URI for the image). This is what I see:

The options available are:

Share Image

Copy Image Location

Save Image

Set Image As

I'm not interested in possible work-arounds in this particular case i.e. saving the image then importing it into another app is not a workflow I want to deal with.

I have two questions, then:

Is there something I'm missing that will enable me to copy images in Fennec?

If not, did Fennec ever support the copying of images, having removed it later due to bugs/instability/security issues?


问:
Using Remix OS(Android-x86) terminal shell to turn off the touchscreen
I have recently installed Remix OS on my PC, and now it's like a craze. Nothing worked. I always think it was the problem with the touchscreen, because EVERY operating system I used on my PC, the mouse jumped everywhere. But on Remix OS, it isn't like that. The mouse didn't jumped. But I have a more serious problem. It won't accept any input that uses mouse, and I have to use the keyboard all the time. I found on the system the terminal, which I think can be used to turn off the touchscreen. Is there any way I can turn off the touchscreen using adb or echo?</p>


问:
Skype doesn't receive calls unless the app is open and in the foreground
This is on a Moto E running Android 4.4.4.
Skype doesn't seem to receive calls or messages unless the app is open. If the app is not open, then no notification happens.  </p>


问:
OTG USB 3.0 not working in Moto G3
I recently bought a 32 GB capacity USB 3.0 OTG SanDisk pen drive model number  SDDD2-032G-G46.

When connected I was able to view the files in the pen drive and even copy some files, however when I copy relatively bigger files the drive gets ejected.

I tested the same pen drive with Lenovo K3 Note and the original Moto X, in both the devices it worked perfectly fine and fast.

Does this mean my mobile has a problem with handling USB 3.0 devices? Because when connecting the same drive through OTG cable this didn't happen.

Title: OTG USB 3.0 not working in Moto G3


问:
CyanogenMod bug report tracking
When I submit a bug report from my phone running CyanogenMod, can I track it on the web? If so, how and where?
I tried jira.cyanogenmod.org but was unable to find my report.</p>

Title: CyanogenMod bug report tracking


问:
Remove specific application from Data usage
I'm using Marshmallow and I'm rooted.

After looking in alot of places and search in google I didn't find any answer.

My question is, is possible to remove specific information in Data Usage in android?
For exemple I have 1Gb of net to use monthly but my carrier don't count if I am using Instagram. Can I remove Instagram for data usage?

Thanks


问:
SDHC memory card only readable while booting my phone
I have a 32GB SDHC memory card. It cannot be mounted normally, it says Blank SD card , SD card is blank or has unsupported file system. I have tried chkdsk on it with windows 10 which results in "RAW Drive" crap. But When I reboot my Samsung E007h in recovery mode and select "apply update from external storage" or similar option, it shows the contents(Folders) That I had created before. So why it cannot be mounted/formatted on Android and Windows? I can see all the folders from bootloader means that data is safe in there but I just can't access it, what should I do to mount it OR format it someHow to make it usable? Is there a way on windows to format it from bootMenu?
I can observe Manufacturer and all other details with sd insight android app.
I just want to be able to use my card normally weather I have to loose all the data or not. Doesn't matter. I can even have root access for that.


问:
iPhone security and Android MTP support
I'm trying to import photos from my iPhone to my Nexus 10 device (Android 5.1.1) using USB-OTG. The iPhone connects as a MTP device and will initially connect as a empty device until I press "Trust this device" on the dialog that appears on the iPhone as soon as I connect it. After pressing that button the phone will give access the photos.

The problem here is that the Camera Importer tool on the Nexus 10 scans for images as soon as I connect the phone, and because the iPhone connects as a empty device  won't find anything. As I press the "Trust this device" button on the iPhone the Camera Importer tool doesn't rescan the device for the now accessable photos, and I can't find a way to force a rescan manually. The only way for it to rescan is to reboot the tablet or reconnect the phone, but that also resets the "Trust" cycle on the iPhone, therefore making it show a empty device again.

I checked with Apple and there is no way to turn off this device trust feature on the iPhone (at least not without jailbreaking)
Is there any way the Camera Importer tool can re-scan a MTP device while its connected? (Official documentation is a non-help on this one)
If not, is there another good photo importer tool with MTP support?

Title: iPhone security and Android MTP support