date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2015/07/29
333
1,385
<issue_start>username_0: I'm currently running the official nightly of cm12.1 on my LG G3 AT&T (model d850) with the Xposed Framework installed. However, every time I manual update Cyanogenmod (as I don't have a compatible recovery for automatic installation), the Xposed Framework gets removed/disabled, forcing me to locate the downloaded framework zip file (xposed manual installation because of reasons). This is not really a big issue for me and doesn't greatly affect myself or my phone in anyway but it will be glad if someone has found a 'possible' solution for this minor bug<issue_comment>username_1: Ok so this isn't a bug but in the updater script of the xposed framework, a function called **install\_overwrite** is called upon several occasion and, hence the name overwrite, will replace pre-existing file in the /system folder. So in order to install the xposed framework, it's necessary to reinstall it with each update. Upvotes: 2 <issue_comment>username_2: This script will automatically reinstall Xposed after dirty-flashing a ROM (i.e. flashing it without wiping userdata). The linked post includes instructions to download and how to install it, and describes how it works. <https://www.reddit.com/r/xposed/comments/3u2xw9/release_xposed_addond_backup_scripts_it_keeps/> Try to search "xposed script after updating cyanogenmod" with your search engine Upvotes: 1
2015/07/29
2,891
8,706
<issue_start>username_0: Is there any way to tell when an app was being used in an Android phone? I am specifically interested in the camera and gallery functions. I believe my roommate went through my photos without asking, and I've tried to view the cache for the Gallery app but can't seem to figure out how to do it. Is this even on the right track? He had it for a twenty minute interval, and I want to see if the Gallery was accessed during that period of time.<issue_comment>username_1: Android allows usage stats to be seen from GUI. Here's how you can see it. ([Source](https://www.nowsecure.com/blog/2011/05/23/usagestats/), by <NAME>) 1. In your default dialer, type `*#*#4636#*#*`. It would open a window named **Testing** which is a sub-setting of **Settings** app. 2. Go to **Usage Statistics**. [![IMG: ](https://i.stack.imgur.com/2pI7rl.png)](https://i.stack.imgur.com/2pI7r.png) **For Lollipop**: * Sort the time in **Sort by:** based on **Usage time** or **Last time used** or **App name**. * The order of entries are **App**, **Last time used**, and **Usage time**. (Click image to enlarge) [![IMG: ](https://i.stack.imgur.com/YIE8Cl.png)](https://i.stack.imgur.com/YIE8C.png) [![IMG: ](https://i.stack.imgur.com/LL8Oyl.png)](https://i.stack.imgur.com/LL8Oy.png) [![IMG: ](https://i.stack.imgur.com/cc7evl.png)](https://i.stack.imgur.com/cc7ev.png) **For Jelly Bean 4.2.1 to Kitkat 4.4.2**: + Sort the time in **Sort by:** based on **Usage time** or **Launch count** or **App name**. + The order of entries are **App**, **Count**, and **Usage time**.(Click image to enlarge) [![IMG: ](https://i.stack.imgur.com/22DNtl.png)](https://i.stack.imgur.com/22DNt.png) [![IMG: ](https://i.stack.imgur.com/Bvunkl.png)](https://i.stack.imgur.com/Bvunk.png) [![IMG: ](https://i.stack.imgur.com/Kn1DYl.png)](https://i.stack.imgur.com/Kn1DY.png) The usage time in these Android versions is shown in milliseconds (ms). You may do calculation on your own, or try a conversion tool like [this](http://www.unitconversion.org/time/milliseconds-to-minutes-conversion.html) to instantly convert them into minutes. Don't forget ADB ---------------- Alternatively, you can directly jump into the **Usage Statistics** window using [adb](/questions/tagged/adb "show questions tagged 'adb'"). Enter this command: For Android Lollipop: ``` adb shell am start -n com.android.settings/.UsageStatsActivity ``` For Android 4.2.1 to 4.4.2: ``` adb shell am start -n com.android.settings/.UsageStats ``` See [this answer](https://stackoverflow.com/a/5494891) if you're interested in knowing the role of parameters in those commands. You can also do `adb shell dumpsys usagestats` ([Source](http://jhshi.me/2014/04/02/get-package-usage-statistics-in-android/), by <NAME>) which for Android 4.2.1 and 4.4.2 didn't give anything more useful than already covered in screenshots posted above for them. Lollipop shows more end-user comprehensible output in comparison to its predecessors, ``` In-memory daily stats timeRange="8/29/2015, 8:34 AM â 8/30/2015, 1:41 AM" packages package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM" package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM" package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM" ... ... events time="8/30/2015, 1:34 AM" type=MOVE_TO_BACKGROUND package=com.android.deskclock class=com.android.deskclock.DeskClock time="8/30/2015, 1:34 AM" type=MOVE_TO_FOREGROUND package=com.android.dialer class=com.android.incallui.InCallActivity time="8/30/2015, 1:34 AM" type=MOVE_TO_FOREGROUND package=com.android.dialer class=com.android.dialer.DialtactsActivity ... ... In-memory weekly stats timeRange="8/27/2015, 5:30 AM â 8/30/2015, 1:41 AM" packages package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM" package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM" package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM" ... ... In-memory monthly stats timeRange="8/9/2015, 8:34 AM â 8/30/2015, 1:41 AM" packages package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM" package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM" package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM" ... ... In-memory yearly stats timeRange="12/21/2014, 5:30 AM â 8/30/2015, 1:41 AM" packages package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM" package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM" package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM" ``` Now you can browse the list to find Camera and Gallery app, and see their "last time used" value, for Lollipop, that is. Unfortunately, the info in this section wouldn't help the devices running predecessor of Lollipop, unless the device is rooted, or you find an app that can give you package statistics. Also, in your particular case, all of this info would be helpful only if you've had not launched the Camera, Gallery, or a particular app of your interest after your friend was done using the phone, since the time-stamp for that app gets updated to the new "Last time used", for all Android versions I mentioned. --- **The following section would work if the device is rooted.** --- For Jelly Bean (4.2.1) to Kitkat (4.4.2) ---------------------------------------- Android keeps a log of when an app (it's component) was last used. You can head down to `/data/system/usagestats/` using a [file explorer with root access](https://play.google.com/store/search?q=file+explorer+root "List of file explorer featuring root access"), or using [adb](/questions/tagged/adb "show questions tagged 'adb'"). There would be a file named `usage-history.xml` and some other files with naming convention as `usage-YYMMDD` where: * YYYY - Year * MM - Month * DD - Date E.g. `usage-20150729` is the file created on July 29, 2015. That `.xml` is a plain XML file, so you should be able to view it in a text editor. Those `usage-YYMMDD` are `data` files (`charset=binary`) and my text editor [Kate](http://kate-editor.org/) couldn't open them in human-readable form. However, `cat` command does the job, so as the Android app [QuickEdit](https://play.google.com/store/apps/details?id=com.rhmsoft.edit), not completely I should add. The basic template of entries in that `.xml` file is: ``` ... ``` E.g. These are the following entries for the [AFWall+](https://play.google.com/store/apps/details?id=dev.ukanth.ufirewall) app: ``` ... ``` The `lrt` against every component (`comp`) is the [Unix time](https://en.wikipedia.org/wiki/Unix_time). To make it human readable, use [Epoch Converter](http://www.epochconverter.com/) or anything that can convert Unix time into human readable time. E.g. `1438134244890` is the Unix time when I accessed the AFWall+'s main activity (it's default view) and the converted time is `Wed, 29 Jul 2015 01:44:04 GMT`, which is correct. As for the content in `usage-YYMMDD`, you'll see activities of the apps you visited on that day. There is no time-stamp there. For Lollipop ------------ Lollipop has considerable changes in regard to usage statistics collection of an app. See official note by Google [here](https://developer.android.com/about/versions/android-5.0.html#System). The concept of `usage-history.xml` and `usage-YYMMDD` doesn't apply here. Instead, you get directories named `daily`, `monthly`, `weekly`, `yearly`. All of them has files which you guessed it right, having numeral names, nothing but Unix Time like `1440374400000`. A typical file under `daily` has the content: ``` xml version='1.0' encoding='utf-8' standalone='yes' ? ... ... ``` Now this is actually the same thing that we saw in `usagestat`'s output but the timing is in its raw form. I've no idea how to understand the time here let alone convert it into human-readable form. [Developers should be able to do it](https://stackoverflow.com/questions/26431795/how-to-use-usagestatsmanager). If you what it is and how to convert (*as an end-user*) then please let me know it or post an answer here. --- Upvotes: 4 <issue_comment>username_2: If your phone is last used or if you want to find out apps which runs/connected on internet like(Browsers, Clash of Clans etc) the last used activity is recorded under the my activity in your google account. You can find that out by visiting <https://myactivity.google.com> and click on Android. Upvotes: 2
2015/07/29
302
1,112
<issue_start>username_0: * What is the difference between WhatsApp audio and WhatsApp voice notes? * If I record a voice conversation, where is it going to be stored? Is it in WhatsApp audio folder or in WhatsApp voice notes? * In which folder all of my received voice notes get saved?<issue_comment>username_1: The folder `WhatsApp/Media/WhatsApp Audio/` contains the downloaded audio files that you received as an attachement from a contact. The file names usually start with `AUD-`. The folder `WhatsApp/Media/WhatsApp Voice Notes/` contains the voice files that you recorded using your Whatsapp. They usually start with filenames containing `PTT-` and stored under corresponding folders with date of the recording. Upvotes: 2 <issue_comment>username_2: With reference to [Whatsapp](https://faq.whatsapp.com/en/android/23112542/?category=5245251) Document ***Choose Audio to*** record a message or send an existing audio from your phone. **But** **WhatsApp voice notes** - To send a voice message. **Folder** `WhatsApp/Media/WhatsApp Voice Notes/` **Folder** `WhatsApp/Media/WhatsApp Audio/` Upvotes: 0
2015/07/29
344
1,318
<issue_start>username_0: I had my Gmail account linked to Samsung S3, all my contacts were added to this account. I removed this account and re-added it, and found that all my contacts were lost. When I checked the Settings it seems the Sync service is not working, and when I checked my contacts' page on Gmail I found only the very old contacts. It means that the Sync service wasn't working since a long time ago. Is there any possibility to retrieve my contacts from Samsung S3 itself?<issue_comment>username_1: The folder `WhatsApp/Media/WhatsApp Audio/` contains the downloaded audio files that you received as an attachement from a contact. The file names usually start with `AUD-`. The folder `WhatsApp/Media/WhatsApp Voice Notes/` contains the voice files that you recorded using your Whatsapp. They usually start with filenames containing `PTT-` and stored under corresponding folders with date of the recording. Upvotes: 2 <issue_comment>username_2: With reference to [Whatsapp](https://faq.whatsapp.com/en/android/23112542/?category=5245251) Document ***Choose Audio to*** record a message or send an existing audio from your phone. **But** **WhatsApp voice notes** - To send a voice message. **Folder** `WhatsApp/Media/WhatsApp Voice Notes/` **Folder** `WhatsApp/Media/WhatsApp Audio/` Upvotes: 0
2015/07/29
462
1,810
<issue_start>username_0: I'm using a Samsung Galaxy Tab S running Lollipop stock update (8.6 Wi-fi only). I need to be able to visually reference what is being stored for the clipboard for a variety of reasons. My Galaxy Tab 7.0 Plus had an "advanced clipboard" (I think that's what it was called). It gave the user the ability to edit, delete or use several separate entries with multiple formats (.txt, .jpg). I found it too be the most useful of Samsung's bloatware! Is there anyway or anything I could do or add to gain similar functionality? I don't like not being able to access, edit, or delete the contents of the clipboard without turning cartwheels, metaphorically of course.<issue_comment>username_1: I rooted my phone and installed Xposed Framework. Then I installed the module, [Native Clipboard](http://repo.xposed.info/module/com.dhm47.nativeclipboard). Here is the screenshot when it's in use: (Click image to enlarge) [![native clipboard](https://i.stack.imgur.com/OImzT.jpg)](https://i.stack.imgur.com/OImzT.jpg) Upvotes: 1 <issue_comment>username_2: native clipboard which used to use Xposed to seamlessly integrate into the system (it was accessed by either the system's paste button or the selection menu). However it was now updated and uploaded to play store, the major update is that it no longer requires Xposed nor root, but it's still seamlessly integrated into the system. By simply double tapping a text filed the clipboard will open,so no notification or distracting floating buttons. Also the selected text from the clipboard gets automatically pasted. <https://play.google.com/store/apps/details?id=com.dhm47.nativeclipboard> ^^The app only Got published last week to the store . I think it's a breakthrough in the clipboards for Android Upvotes: 3 [selected_answer]
2015/07/29
345
1,310
<issue_start>username_0: Some people on whatsapp have a short profile message like "Hi, I am using Whatsapp". Other people have a long profile message like "An apple a day keeps the doctor away so that the bad things don't come out and play". But it only shows part of their long message. How do I view the whole of it?<issue_comment>username_1: As per [FAQ](http://www.whatsapp.com/faq/en/general/23740821): > > The status message is a real time indicator of what you are doing, so > that you can keep up to date with your contacts. You can view status > messages by opening WhatsApp and going to the Favorites / Select > contact screen. Your friend's status message will be displayed > directly below their name. > > > It may take some time for your newly updated status message to display > on your friends' phones. If your friends refresh their Favorites / > Select contact list, they will see the status update much more > quickly. > > > Upvotes: 0 <issue_comment>username_2: In the contacts list, tap the photo of the contact in question. This pops up a larger version of the photo, with three icons at the bottom: a message, a telephone, and an information 'i'. Tapping the 'i' takes you to a contact information screen, which includes the full status message. Upvotes: 3 [selected_answer]
2015/07/29
379
1,450
<issue_start>username_0: I have LG G3. I want to disable all notifications from whatsapp, when I mute a group the only thing left is the notification badge (red number) on the app. Browsing for "android turn off badge notification lgg3" only gives me hits regarding Samsung TouchWiz and iPhone, and I so far haven't been able to locate anything in the menu of the app either. How can I turn off the display of unread messages on the icon of the Whatsapp app?<issue_comment>username_1: As per [FAQ](http://www.whatsapp.com/faq/en/general/23740821): > > The status message is a real time indicator of what you are doing, so > that you can keep up to date with your contacts. You can view status > messages by opening WhatsApp and going to the Favorites / Select > contact screen. Your friend's status message will be displayed > directly below their name. > > > It may take some time for your newly updated status message to display > on your friends' phones. If your friends refresh their Favorites / > Select contact list, they will see the status update much more > quickly. > > > Upvotes: 0 <issue_comment>username_2: In the contacts list, tap the photo of the contact in question. This pops up a larger version of the photo, with three icons at the bottom: a message, a telephone, and an information 'i'. Tapping the 'i' takes you to a contact information screen, which includes the full status message. Upvotes: 3 [selected_answer]
2015/07/30
619
2,016
<issue_start>username_0: The things I did to update firmware from Android 4.4.4 to 5.0.2: 1. Installed latest `Samsung usb drivers for mobiles` 2. Installed latest `Samsung kies` and through that I installed `device drivers.` 3. Downloaded Odin `v3.10.6`. 4. Put my phone in `odin mode`. 5. Connected my phone to my pc via original usb cable. 6. ODIN -> `AP` -> lollipop firmware (`G360FXXU1BOD9_G360FOXA1BOD9_G360FXXU1BOD9_HOME.tar.md5`) -> start. After that this happened; [![enter image description here](https://i.stack.imgur.com/2fJch.png)](https://i.stack.imgur.com/2fJch.png) [![enter image description here](https://i.stack.imgur.com/yVaqc.png)](https://i.stack.imgur.com/yVaqc.png) And my device showed this error in red color : `SECURE CHECK FAIL : aboot`. Any suggestions, how can I get 5.0.2 lollipop on my `core prime`? **Edit** : I recently put phone to format, then removed micro SD, and then did everything from step 4 but no luck. It's a new Samsung Galaxy Core Prime SM-G360F (nearly 5 days old).<issue_comment>username_1: I have an imperfect solution! If you can still get into your recovery module (TWRP in my case), then you can use a micro-sd card to flash a rom onto the device. In my case, I used CM 12 because I knew it would work, and I was freaking out, panicking that i had bricked it completely. My experience was with a Galaxy Note 4 on T-Mobile. Hope this helps. However, I am by no means an expert, so there is likely a better way. Upvotes: 1 <issue_comment>username_2: If you are sure that your download file is complete, remove `.md5` by renaming it. Try flashing afterwards, it wont calculate the checksum then. Upvotes: 1 <issue_comment>username_3: I used to get the same message. Then I removed an option called "sécurité Verr. de réactivation" in french. Translation may be "Reactivation Lock Security". Uncheck it and restart root procedure. Upvotes: 2 <issue_comment>username_4: This indicates that you are using the wrong file for your phone model. Upvotes: 2
2015/07/30
1,859
6,990
<issue_start>username_0: My phone -------- I own a phone with gigabytes of built-in flash memory. My phone also includes a physical MicroSD card slot. I don't own a MicroSD card to put in the slot, and have never bothered buying one, but am not opposed to the idea of buying one. I perhaps make heavier use of my phone's flash memory than most people. * I run [a freeware sleep tracker app](http://en.wikipedia.org/wiki/SleepBot) most nights, all night long. It has many features. Its most storage-intensive feature? It records sound for at least part of every night. * I have Debian Linux installed on my phone as well (even though the phone is not rooted). I launch Debian when desired using an app named [GNURoot Debian](http://play.google.com/store/apps/details?id=com.gnuroot.debian). Debian Linux is normally stored on an SSD designed to handle an enormous number of write cycles, or on a hard drive which can also handle numerous write cycles — not on a smartphone flash memory chip. * I have perhaps a hundred apps installed, and the Google Play store automatically updates some of them from time to time. * I make heavy use of a game which was designed for use on Windows and Linux, but has been ported to Android. Every time I move between floors of the game world, the game saves some information to disk. I suspect that, in practice, it rewrites at least part of the game's save file. The problem ----------- <NAME> has more than 10,000 reputation points on Electrical Engineering Stack Exchange. In [one post there](https://electronics.stackexchange.com/questions/17552/the-precise-reason-why-dram-is-slower-to-write-than-to-read#26202), Mr. Cary writes: > > Flash memory has relatively quick read times but much longer write times. For example, with a Numonyx M25P80-VMW6G 75MHz 8 Mbit serial flash, reading a sector of data (at 75 MHz) requires 7 milliseconds, while erasing and writing new data to a sector is typically 0.6 seconds (max 3 seconds). > > > In other words, writing this flash memory typically takes 85 times as long as reading, and in the worst case writing a sector takes over 400 times as long as reading. (That's not even taken into account the inefficiencies of partial-sector updating). > > > In my experience, the time it takes to erase and rewrite a particular sector of flash continues to increase with each erase/rewrite cycle, but read times stay constant. > > > I don't know that much about hardware, but let's assume that Mr. Cary's experience will be true for my phone too. My question ----------- I don't like spending money unnecessarily, and it sometimes takes me great effort to choose a phone to buy. When I buy a phone, I like to treat it well and to keep on using it for five to ten years or more — unless it breaks so badly that this becomes absolutely impossible. Certain operations on my phone are annoyingly slow, such as Debian Linux automatic software update checks (`apt-get update`) and others. I don't know whether or not they're slow because of the time it takes to write to flash or because of other reasons. Anyway, assuming that the issue which Mr. Cary has raised above is a real issue, should I worry about it? Should I change my behavior because of it — for example, by moving GNURoot Debian from the phone's built-in flash memory to a MicroSD card inserted into the correct slot? Note ---- I have left this question mostly device-agnostic. This is because I'd like to apply what I learn both to the device which I own and any other Android devices which I may buy in the future. Related ------- * ["Does Android suffer from the same 'over a period of time' performance degradation that OSes like Windows do?"](https://android.stackexchange.com/questions/24955/does-android-suffer-from-the-same-over-a-period-of-time-performance-degradatio) * Also see the final section of a [long answer by Izzy](https://android.stackexchange.com/questions/35367/my-device-is-getting-slow-apps-start-misbehaving-crashing-what-can-i-do#35368), where he discusses `fstrim`.<issue_comment>username_1: As a user, and not a developer, this is not an effect you should concern yourself with. For operations like disk defragmentation or use of flash memory as virtual memory, the sustained high disk write rates can wear out flash memory quickly. But "normal" usage by a human will not produce enough writes to create a wear issue. Let's take the sleep app as an example and estimate how many writes this will cause on a wear-leveled disk. Suppose the app collects 128 kilobit / second audio to store uncompressed and runs and collects audio at all times for 5 years. (128 kilobits / second) \* (128 bytes / kilobit) \* (5 years) \* (365 days / year) \* (24 hours / day) \* (60 minutes / hour) \* (60 seconds / minute) ~= 5.17 \* 10^11 bytes. On a wear leveled disk of 1 GB ~= 10^9 bytes, this will be (5.17 \* 10^11) / (10^9) ~= 517 cycles over the 5 years, which is well below the expected 100,000 cycles for current flash memory. Also, note that almost all SSDs are currently built from flash memory, so there is no significant difference between the storage for your Android phone and that in a consumer SSD for a laptop/desktop in terms of expected aging issues. --- **EDIT** If you are really worried about this, I would benchmark your storage performance. I don't think it is a good assumption that erase/write operations take 0.6 seconds; your flash memory is not the same as that used in the example figures. This [empirical evaluation of flash memory](http://www.sigops.org/sosp/sosp09/papers/hotstorage_10_desnoyers.pdf) gives actual figures for degradation. The magnitude of the effect is not that large for cycles in the low thousands. Upvotes: 3 [selected_answer]<issue_comment>username_2: I would say it depends on your hardware. For example, some Samsung devices (e.g. Note 4) are known to have eMMC flash chip that is prone to fail if too much data is written during the lifetime of the phone. I had to replace eMMC (the motherboard in practice) of my Samsung S4 Mini LTE due it failed after being written too much over time. However, most phone hardware has too slow SD card writer for your use case, even if you get the best A1 class cards (for more information about A1 vs A2 cards for Android usage, see [Should I get A1 or A2 spec'd Micro SD card for my phone?](https://android.stackexchange.com/q/214545/5738)). The major problem you have is the usage of `apt` within the Debian installation. The `apt` usage is problematic because `apt` tries really hard to keep your system fully functional even in case of power loss during any update. As a result, it is really really `sync` happy and will wait for permanent storage to confirm all writes every so often before continuing. If you can accept the possibility of losing your Debian environment due out of battery situation, you can mount your debian partition `noatime,async,nobarrier` and your performance should improve. Upvotes: 0
2015/07/30
841
3,159
<issue_start>username_0: I just upgraded my Galaxy S4 to Lollipop. It is not to my liking. I'm considering options to buy a non Android phone just so I don't have to look at it. Is there anything I can do about this?<issue_comment>username_1: As a user, and not a developer, this is not an effect you should concern yourself with. For operations like disk defragmentation or use of flash memory as virtual memory, the sustained high disk write rates can wear out flash memory quickly. But "normal" usage by a human will not produce enough writes to create a wear issue. Let's take the sleep app as an example and estimate how many writes this will cause on a wear-leveled disk. Suppose the app collects 128 kilobit / second audio to store uncompressed and runs and collects audio at all times for 5 years. (128 kilobits / second) \* (128 bytes / kilobit) \* (5 years) \* (365 days / year) \* (24 hours / day) \* (60 minutes / hour) \* (60 seconds / minute) ~= 5.17 \* 10^11 bytes. On a wear leveled disk of 1 GB ~= 10^9 bytes, this will be (5.17 \* 10^11) / (10^9) ~= 517 cycles over the 5 years, which is well below the expected 100,000 cycles for current flash memory. Also, note that almost all SSDs are currently built from flash memory, so there is no significant difference between the storage for your Android phone and that in a consumer SSD for a laptop/desktop in terms of expected aging issues. --- **EDIT** If you are really worried about this, I would benchmark your storage performance. I don't think it is a good assumption that erase/write operations take 0.6 seconds; your flash memory is not the same as that used in the example figures. This [empirical evaluation of flash memory](http://www.sigops.org/sosp/sosp09/papers/hotstorage_10_desnoyers.pdf) gives actual figures for degradation. The magnitude of the effect is not that large for cycles in the low thousands. Upvotes: 3 [selected_answer]<issue_comment>username_2: I would say it depends on your hardware. For example, some Samsung devices (e.g. Note 4) are known to have eMMC flash chip that is prone to fail if too much data is written during the lifetime of the phone. I had to replace eMMC (the motherboard in practice) of my Samsung S4 Mini LTE due it failed after being written too much over time. However, most phone hardware has too slow SD card writer for your use case, even if you get the best A1 class cards (for more information about A1 vs A2 cards for Android usage, see [Should I get A1 or A2 spec'd Micro SD card for my phone?](https://android.stackexchange.com/q/214545/5738)). The major problem you have is the usage of `apt` within the Debian installation. The `apt` usage is problematic because `apt` tries really hard to keep your system fully functional even in case of power loss during any update. As a result, it is really really `sync` happy and will wait for permanent storage to confirm all writes every so often before continuing. If you can accept the possibility of losing your Debian environment due out of battery situation, you can mount your debian partition `noatime,async,nobarrier` and your performance should improve. Upvotes: 0
2015/07/30
1,155
4,473
<issue_start>username_0: I have been reading a bunch of articles on ways to fix this "red light" issue. My issue seems a bit different from most articles as the red light does not show up when I plug in my charger. Articles I have read seems like most "red light" appears when they have the charger plugged, but my issue is that the red light only shows up when I have my charger plugged AND holding down the power button for several seconds. Without holding down the power/power+volume down button, the red light doesn't blink at all. What I have tried: * Unscrewing the two screws for the battery, as some article has stated it was a design flaw where the screws tighten causes the battery connector to not work. * Replaced battery with a new one, nothing different, still unresponsive phone. * Left charger plugged into phone for 24 hours, phone does not get warm/hot so I doubt the charger is even charging the phone. (no red light) * Used Qi wireless charger, phone got really warm but still nothing. If anyone had this issue and solved it, please inform me on how you did so. I'm not sure if it is a battery issue or some other component but would like to get to the bottom of this. Before this happened, my phone was being charged using a car charger and I noticed the charger was loose so the charging indicator kept blinking on and off rapidly. I believe that may have drained the battery to 0% but I did replace the battery with a new one and issue was not fixed. Hope the seller didn't send me a dead battery as well.<issue_comment>username_1: As a user, and not a developer, this is not an effect you should concern yourself with. For operations like disk defragmentation or use of flash memory as virtual memory, the sustained high disk write rates can wear out flash memory quickly. But "normal" usage by a human will not produce enough writes to create a wear issue. Let's take the sleep app as an example and estimate how many writes this will cause on a wear-leveled disk. Suppose the app collects 128 kilobit / second audio to store uncompressed and runs and collects audio at all times for 5 years. (128 kilobits / second) \* (128 bytes / kilobit) \* (5 years) \* (365 days / year) \* (24 hours / day) \* (60 minutes / hour) \* (60 seconds / minute) ~= 5.17 \* 10^11 bytes. On a wear leveled disk of 1 GB ~= 10^9 bytes, this will be (5.17 \* 10^11) / (10^9) ~= 517 cycles over the 5 years, which is well below the expected 100,000 cycles for current flash memory. Also, note that almost all SSDs are currently built from flash memory, so there is no significant difference between the storage for your Android phone and that in a consumer SSD for a laptop/desktop in terms of expected aging issues. --- **EDIT** If you are really worried about this, I would benchmark your storage performance. I don't think it is a good assumption that erase/write operations take 0.6 seconds; your flash memory is not the same as that used in the example figures. This [empirical evaluation of flash memory](http://www.sigops.org/sosp/sosp09/papers/hotstorage_10_desnoyers.pdf) gives actual figures for degradation. The magnitude of the effect is not that large for cycles in the low thousands. Upvotes: 3 [selected_answer]<issue_comment>username_2: I would say it depends on your hardware. For example, some Samsung devices (e.g. Note 4) are known to have eMMC flash chip that is prone to fail if too much data is written during the lifetime of the phone. I had to replace eMMC (the motherboard in practice) of my Samsung S4 Mini LTE due it failed after being written too much over time. However, most phone hardware has too slow SD card writer for your use case, even if you get the best A1 class cards (for more information about A1 vs A2 cards for Android usage, see [Should I get A1 or A2 spec'd Micro SD card for my phone?](https://android.stackexchange.com/q/214545/5738)). The major problem you have is the usage of `apt` within the Debian installation. The `apt` usage is problematic because `apt` tries really hard to keep your system fully functional even in case of power loss during any update. As a result, it is really really `sync` happy and will wait for permanent storage to confirm all writes every so often before continuing. If you can accept the possibility of losing your Debian environment due out of battery situation, you can mount your debian partition `noatime,async,nobarrier` and your performance should improve. Upvotes: 0
2015/07/31
357
1,253
<issue_start>username_0: I have an Asus Zenfone 5 running Android 4.3. Most of the Wi-Fi I try to connect to gets connected to the device, but when I try to connect it to my office's Wi-Fi it get stuck at obtaining IP address. How should I resolve this issue?<issue_comment>username_1: In my case, it can be happen if your office use static ip. You must obtain ip address from office network admin, and then apply that ip on your zenfone 5. You can setup it on Wifi -> Advanced options -> IP Settings set to static and then input all the things like ip, gateway, and DNS. I hope this answer help you. Upvotes: 0 <issue_comment>username_2: These steps fixed the obtaining ip adress error for me: Go to Wi-Fi settings and choose the network that's causing this error. Follow these steps 1. Choose “modify network” 2. Enable- Show advanced options 3. Change IP Settings (which is DHCP by default)to “Static” 4. Now you should see a bunch of advanced options 5. Assign a new IP address >> Tap "Save" You can check out my detailed post about this error here: [valuestuffz.blogspot.com/2015/05/how-to-fix-stuck-at-obtaining-ip-android-device.html](http://valuestuffz.blogspot.com/2015/05/how-to-fix-stuck-at-obtaining-ip-android-device.html) Upvotes: 1
2015/07/31
525
1,976
<issue_start>username_0: Just last night I was moving apps to my SD card and the phone (Sony Xperia Z1) randomly restarted. When it came back up, all the apps on my SD card no longer worked. Their icons became generic with a tiny SD card in the bottom corner. When I tap an app, I get the message "Application not found". I've tried un-mounting and removing the SD card, restarting, clearing cache, but nothing works. When I go to the App Store, the apps show up as if they need to be installed but when I look at the SD card via my PC, all the files are there still. The pictures and videos are still accessible from the phone however. Before that, I had problems moving a game to the SD card. I kept getting a "Not enough memory" error, even though all the other movable apps moved and I deleted apps to make space. I tried options I found on the forums and other websites but to no avail, and the only thing I haven't done yet is to root my phone, which I am trying to avoid.<issue_comment>username_1: In my case, it can be happen if your office use static ip. You must obtain ip address from office network admin, and then apply that ip on your zenfone 5. You can setup it on Wifi -> Advanced options -> IP Settings set to static and then input all the things like ip, gateway, and DNS. I hope this answer help you. Upvotes: 0 <issue_comment>username_2: These steps fixed the obtaining ip adress error for me: Go to Wi-Fi settings and choose the network that's causing this error. Follow these steps 1. Choose “modify network” 2. Enable- Show advanced options 3. Change IP Settings (which is DHCP by default)to “Static” 4. Now you should see a bunch of advanced options 5. Assign a new IP address >> Tap "Save" You can check out my detailed post about this error here: [valuestuffz.blogspot.com/2015/05/how-to-fix-stuck-at-obtaining-ip-android-device.html](http://valuestuffz.blogspot.com/2015/05/how-to-fix-stuck-at-obtaining-ip-android-device.html) Upvotes: 1
2015/08/01
487
1,735
<issue_start>username_0: Clicking and dragging something from a webpage is easy from a PC. For example, the bar in the screenshot below can be dragged by holding the left mouse button and moving the mouse simultaneously: ![Screenshot](https://i.stack.imgur.com/Vn4i8.png) My attempts for doing the same in chrome in android: * I tried to move it by dragging but the page moves when I do it. * When I hold over it for some time, a nearby text gets selected and I'm presented with the options to copy, cut , paste etc the selected text. * Tried to attempt both ways from the stock android browser to see if was a problem in chrome, but failed again. So, How do I do it in chrome in android? I'm using chrome 44.0.2403.128 with android 4.4.2<issue_comment>username_1: In my case, it can be happen if your office use static ip. You must obtain ip address from office network admin, and then apply that ip on your zenfone 5. You can setup it on Wifi -> Advanced options -> IP Settings set to static and then input all the things like ip, gateway, and DNS. I hope this answer help you. Upvotes: 0 <issue_comment>username_2: These steps fixed the obtaining ip adress error for me: Go to Wi-Fi settings and choose the network that's causing this error. Follow these steps 1. Choose “modify network” 2. Enable- Show advanced options 3. Change IP Settings (which is DHCP by default)to “Static” 4. Now you should see a bunch of advanced options 5. Assign a new IP address >> Tap "Save" You can check out my detailed post about this error here: [valuestuffz.blogspot.com/2015/05/how-to-fix-stuck-at-obtaining-ip-android-device.html](http://valuestuffz.blogspot.com/2015/05/how-to-fix-stuck-at-obtaining-ip-android-device.html) Upvotes: 1
2015/08/01
3,372
11,918
<issue_start>username_0: I have very good reasons *not* to want the shutter sound when taking photos. I have two camera apps that both have it, one came with the system and is called **Camera**. I deleted the other one, so I will call it **xCamera** from now on. I therefore downloaded **Silent Camera**, which I found out about in an answer to some question over here. Its naming scheme simply makes no sense. Now **Camera** used to name photos by a `yyyy-mm-dd-hh-mm-ss.jpg` scheme, where: * `yyyy` is 4 digits representing the year the photo was taken, * `mm` is 2 digits for the months, * `dd` for the day, * `hh` for hour (24h clock IIRC), * `mm` for minute, and * `ss` for second. xCamera had mostly the same scheme, without the dashes. Silent Camera has names like `1438263708113.jpg`, which really seems just like a random sequence of numbers. Now I sometimes need the date and, especially, the time a photo was taken for my own good reasons. You will probably say, "Well the computer can tell you that, it remembers the `Date Modified` and similar info, right?". Yes. Trouble is, [Android File Transfer](https://android.stackexchange.com/questions/89332/android-file-transfer-not-working) is somewhat buggy, and sometimes (in a pretty erratic manner) suddenly stops letting me drag-and-drop files to the Finder, i.e. as I drag the files, the AFT window *comes along*, which of course prevents copying. Also, moving files between directories of the phone is almost always impossible. That is another story, but the first point - problems copying - leads me to **AirDroid**. Unfortunately, this leads to losing the date-and-time info, which is sometimes pretty valuable to me. So I either lose that info or rename all photos to include the name **Camera** would give the photo, were it to take that photo. Bottom line is: is there a way to change the naming scheme of **Silent Camera**? And if so, what is it? **Note**: I really don't want to root my phone<issue_comment>username_1: To sum up @username_2's comments: 1. The naming scheme is not random numbers, but rather the [Unix time](https://en.wikipedia.org/wiki/Unix_time) the photo was taken. It is easy to convert this to human time: one has but to paste the number sequence into [epochconverter](http://www.epochconverter.com/) and convert it. That outputs GMT and your timezone. From the conversions, it seems the number sequence is even more accurate than the other apps' naming schemes, in that it gives *millisecond* precision. 2. username_2 suggested **ES File Explorer**, but I downloaded [one of three apps](https://android.stackexchange.com/questions/116936/how-do-i-change-the-naming-scheme-of-silent-camera-to-human-readable-form?noredirect=1#comment145769_116936) with a similar names and [it gives false information](https://android.stackexchange.com/questions/116936/how-do-i-change-the-naming-scheme-of-silent-camera-to-human-readable-form?noredirect=1#comment145773_116936). 3. It is apparently possible to make a script to rename the photos, but I do not know how, and username_2 [seems not to know either](https://android.stackexchange.com/questions/116936/how-do-i-change-the-naming-scheme-of-silent-camera-to-human-readable-form?noredirect=1#comment145775_116936). **Update:** he did some research and [came up with a way](https://android.stackexchange.com/a/117078/82308). 4. His suggestion is then to choose between point 3 and another silent camera app. I found another app, **[High Quality] silent camera**, which gives names like `20150801_235032.jpg`, reminding me of **xCamera**. Point 4 is thus my choice. The only annoying thing is that the app created its own saving folder. So I found a way to change its path. It's easy: tap the gear on the bottom-left corner for Settings, tap `Save to`, find your favorite directory and hit OK. NOte that the app won't let you create a new folder, so for that you will have to use another app. I personally used **ES File Explorer**, but I wouldn't install it just for that. Unless it's the only option (besides installing another app just for that which is equivalent :P). **Update:** Following username_2's comment to this answer, [this app](https://play.google.com/store/apps/details?id=com.oss.mcam&hl=en) seems to be the one I downloaded. I found it on Play Store by looking for `silent camera`, and it was the first result given. More precisely: (Click image to enlarge) [![](https://i.stack.imgur.com/Sfs4s.jpg)](https://i.stack.imgur.com/Sfs4s.jpg) **Update 2:** It also seems [there is a way](https://android.stackexchange.com/a/116969/82308) of silencing any Camera. username_2 managed it. I won't try it because I chose point 3, and because it seems to involve some programming at which I am a complete noob -- unless it's LaTeX programming, where I know quite a bit :). Upvotes: 2 <issue_comment>username_2: This solution is independent of any Camera app, and is tested on CM12 (Lollipop 5.0.2) and should work on other Lollipop ROMs as well. While it seems that the question is about changing the naming scheme of Silent Camera app, the actual goal is to use an app that is free from shutter sounds. OP seems to have found an another app (see [this answer](https://android.stackexchange.com/a/116958/96277)) to suit the needs. But I would like to give a solution which would enable you to use any choice of Camera app(s), irrespective of whether it silences shutter sound! **Needed**: A rooted device, and [Tasker](https://play.google.com/store-/apps/details?id=net.dinglisch.android.taskerm). Scroll to bottom for non-rooted devices. All I'm going to do is activate Zen mode aka Do not Disturb mode which would kill Notification volume, and Ring volume. Don't worry! This mode would automatically switch to user defined sound settings as soon as you switch from Camera app to any other app (including your Launcher app). Instructions ------------ 1. Create a task in **Tasker** named `Camera`. 2. Create an action in it as **Code → Run Shell**, and fill these details: * **Command**: `settings get global zen_mode` * Check **Use Root** * **Store Output In**: `%Zen_mode`We're storing the current value of Zen Mode (be it `None` or `Priority` or `All`) in a variable named `%Zen_mode` so that we can recall our sound settings when we close the Camera app. 3. Create an another action in it as **Code → Run Shell**, and fill these details: * **Command**: `settings put global zen_mode 2` * Check **Use Root**This would change Zen Mode from the current setting to `None` i.e. no Ring or Notification sound, or vibration would disturb. 4. Create an another task named `No_Camera`. 5. Create an action in it as **Code → Run Shell**, and fill these details: * **Command**: `settings put global zen_mode $(echo "%Zen_mode")` * Check **Use Root**This would enable the sound settings you had before launching the Camera app. 6. Create a profile with **Application** context, and choose your Camera app. 7. Select the task `Camera` in it. 8. Create an another profile with **Application** context, choose the Camera app you chose in *step 6*, and tap **Invert** at the bottom. 9. Select the task `No_Camera` in it. 10. Enable **Tasker** if disabled. Now, launch your Camera app that you chose in the aforesaid *step 6*, and you would find that it is not making shutter sounds at all. Close the app, and you would see that your sound settings returned back immediately. I've successfully tested this solution on default **Camera** app, [Google Camera](https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera), and [Camera FV-5](https://play.google.com/store/apps/details?id=com.flavionet.android.camera.pro). All tested individually as well as in group. --- ### For Non-rooted devices You can bypass the need of root permissions (if you barely reboot your device) by running loop-back [adb](/questions/tagged/adb "show questions tagged 'adb'") in wireless mode. See *step 2 in Instructions* [here](https://android.stackexchange.com/a/116319/96277) to understand the loop-back ADB usage, and then use it with the aforementioned steps. Upvotes: 2 <issue_comment>username_2: **Note:** *This is a partial answer, and might get completed in future.* --- This answer directly focuses upon changing the name of the images created by Silent Camera app. For an alternative approach to the question, see [this answer](https://android.stackexchange.com/a/116969/96277). We know that the name of the images is not a random number but Unix Time (as mentioned [here](https://android.stackexchange.com/a/116958/96277)). All we have to do is create and run a script to convert those names into date-time-stamp. I've written a very basic script to do that. (Partial credit goes to many Q/A on SO, Unix.SE, and various sites on the web.) ``` #!/bin/sh `for img in $(ls /sdcard/airdroid/Testing/); do new=$(echo ${img:0:10} | awk '{print strftime("%c",$1)}'); new=$(echo ${new//:/-}); yy=$(echo $new | rev | cut -d ' ' -f 1| rev); new=$(echo ${new/$yy/} | cut -c 5-); new=$(echo $yy' '$new'.jpg'); new=${new// /_}; img_dir="/sdcard/airdroid/Testing/"; mv $img_dir$img $img_dir$new; done`; ``` (**Readers**: `backticks` are important in the pre-formatted text, so please don't edit them out.) 1. All I'm doing with that script is picking up every image in a directory (`Testing`); 2. Choosing only the first 10 characters from the name which would be used for conversion; 3. Using `awk` to convert those characters into date-time-stamp; 4. Removing, substituting, and adding words/characters to make the stamp look more lucid, 5. Finally, moving the original files into new files with new names. (I'm comfortable with `mv` so I used it, but you can use `rename` command as well.) If the device is rooted, you can install [Busybox](https://play.google.com/store/apps/details?id=stericson.busybox) and be at peace. If it is not, then install [Busybox Install (No Root)](https://play.google.com/store/apps/details?id=burrows.apps.busybox). * Unrooted devices are restricted to Terminal apps only. I recommend [Terminal Emulator](https://play.google.com/store/apps/details?id=jackpal.androidterm) because it can create a shortcut which can execute a script. * For rooted devices, use the Terminal app I mentioned above, or try [tasker](/questions/tagged/tasker "show questions tagged 'tasker'") to execute the script automatically. Instructions ------------ 1. Create a `.sh` file like `Change_name.sh`, and paste the aforesaid script into it. Change the entry of the directory from `Testing` to the one needed. Save the file. 2. Make it executable. On my Android 4.2.1, I need root permissions to do so. As a workaround, I change permission of the script on my Linux machine, and then move the file into the device. 3. See [this answer](https://android.stackexchange.com/a/113982/96277) if you want to create a Terminal shortcut on home screen for the script. 4. Execute the script and it would create output files with names like: ``` 2015_Aug_1_21-53-40.jpg 2015_Aug_1_21-53-42.jpg ``` You can of course change the name into the one you want. The time it shows is in GMT while in my Linux machine, the script shows the local time! The reason I said this is a partial answer is because: 1. Silent Camera app sometimes creates files with name not resembling Unix Time, so my script would fail against those files. 2. As the time progresses and the directory is filled with images having non-Unix-Time name, the script would fail since it assumes that all files have name based on Unix-Time, and tries to convert each one of them. The solution is easy: 1. For first issue, you can detect such files based on length, and numeric only type. Try adding `1438` before the file name, and then run the script. 2. For second issue, make an if-else condition based on length, and numeric only type. That's it for now! Upvotes: 1
2015/08/01
413
1,584
<issue_start>username_0: **Problem:** One day my mobile was dead because of empty battery. I recharged the battery and turned on the mobile. Mobile showed a message "Android is upgrading" while turning on. After that Speaker and Mic are not working. There is no any type of sound coming out of mobile and I cant input my voice through mic. Sometimes Phone app acts very slow. **Configurations:** * MotoG 1st Generation * Android 5.0.2 (Lollipop) * Build No. LXB22.46-28 * Dual Sim * Internal Memory 16 GB **What I have tried:** * Restarted my mobile many times *(No Result)* * Restarted my mobile with Safe Mode *(No Result)* * Factory Reset *(No Result)* * Clear Cache Partition *(No Result)* * Once I restarted with QCom option from power options ***(Speaker and Mic started working . I restarted again with normal mode and still speaker and mic was working but after some minutes speaker and mic were dead again)*** Any suggestions?<issue_comment>username_1: I was facing similar problem in my moto g 1st generation with **Mic only**. I have also tried some option as you said. See my efforts at [Moto G Microphone is not working](http://shareprogrammingtips.com/moto-g-microphone-volume-issue-fixed/) After update also it was not working. But after cleaning MIC hole in my mobile now its working fine. Upvotes: 0 <issue_comment>username_2: Surprisingly I was able to fix this issue in my phone by changing following wi-fi settings: Go to advanced wi-fi setting. You will find a toggle option "Scanning always available". Disable this option. Worked for me. Upvotes: 2
2015/08/02
372
1,377
<issue_start>username_0: I recently downloaded [Vrse](https://play.google.com/store/apps/details?id=com.shakingearthdigital.vrsecardboard) for messing around with VR stuff. To function, the app needs to download 360 degree video "scenes". The files are relatively large; generally a few hundred MBs. I'm extremely low on space, and it won't let me keep more than one scene at a time. Is there anyway to force the app to store data on the SD card? Alternatively, could I transfer the existing app data to the SD card, so that it could download the new data on internal memory? Will the app know where to find it if I do that? EDIT: Device is a 2014 Moto G (XT1064) running whatever came stock (I believe it's 5.1). Thanks! Evamvid<issue_comment>username_1: I was facing similar problem in my moto g 1st generation with **Mic only**. I have also tried some option as you said. See my efforts at [Moto G Microphone is not working](http://shareprogrammingtips.com/moto-g-microphone-volume-issue-fixed/) After update also it was not working. But after cleaning MIC hole in my mobile now its working fine. Upvotes: 0 <issue_comment>username_2: Surprisingly I was able to fix this issue in my phone by changing following wi-fi settings: Go to advanced wi-fi setting. You will find a toggle option "Scanning always available". Disable this option. Worked for me. Upvotes: 2
2015/08/02
507
2,337
<issue_start>username_0: I want to be able to install my favorite apps without installing Google play services. Apart from apps that actually depend on these services (such as paying method), why apps developed don't publish their apk on their home page? This is particularly relevant when installing custom ROMs (without gapps).<issue_comment>username_1: Publishing the APK on their home page has the following downsides I can think of: Difficulty in Tracking ---------------------- It'll be more difficult to collect detailed statistics on the audience for their apps because they won't be able to benefit from the Play Store's statistics for app downloads. Whilst developers could conceivably write in data collection functions that send data to their own databases, this is extra work that's completely unnecessary if they distribute their apps on the Play Store. No Updates ---------- Play Store distribution allows developers to push out updates to their apps with new features or bug fixes easily. Self-distribution of APKs locks users in with a static version of the app. Again, notifications prompting users to download an update are workable but are extra work and unjustifiable especially for individual developers and small teams. Targeted Distribution --------------------- The Play Store allows developers to exclude certain groups of users based on geographical regions or device types that are not compatible with their app. This makes for a superior user experience and prevents plenty of frustration on the user's side since they won't even be able to view apps that won't work on their device. This also allows developers to adhere to local legislation on app distribution. Upvotes: 3 [selected_answer]<issue_comment>username_2: Also if you download Apps from other than Google play store, Installation of the apps are blocked by default by Android. Upvotes: 0 <issue_comment>username_3: As an addendum to username_2's answer, although it is disabled by default, you can easily allow installation of outside packages. [Here is a tutorial](http://gs5.wonderhowto.com/how-to/enable-unknown-sources-so-you-can-download-third-party-apps-your-galaxy-s5-0154581/) for the Galaxy series. In essence, go to Security in your Settings, and check the box next to the option for installing from unknown sources. Upvotes: 0
2015/08/02
1,714
6,264
<issue_start>username_0: *To avoid this question being flagged as a duplicate, I have included a list of similar questions at the end of this post with an explanation about why my question is different. Please read these reasons before you flag this question as a duplicate!* --- I'm trying to work out how to get my Nexus 5, in portrait mode, to display on an external monitor, in portrait mode (connected via SlimPort/HDMI). In landscape mode everything is fine: [![Landscape mode, monitor on left, phone on right](https://i.stack.imgur.com/c3rgq.png)](https://i.stack.imgur.com/c3rgq.png) However in portrait mode, the signal is still output as if it is meant to be displayed on a landscape screen, which doesn't work at all if the screen is in portrait mode: [![Portait mode, monitors left and middle, phone on right](https://i.stack.imgur.com/r1Blf.png)](https://i.stack.imgur.com/r1Blf.png) You can see here that in both landscape and portrait mode the phone is outputting the same 1920x1080 signal, except in portrait mode the screen content is being rotated by the phone's GPU and displayed as a 607x1080 image in the middle of the 1920x1080 screen. (It is not, as some people have suggested, outputting a 1080x1920 signal that the monitor is centering. You can verify this because changing the phone between landscape and portrait shows a nice rotation animation and the monitor does not lose sync as it would if the resolution changed.) Since the phone, when in portrait mode, is rotating the picture sent to the external display, I want to disable this, so it is just output as-is with no rotation. This will of course appear wrong on a landscape monitor, but when you rotate that monitor into portrait mode it will be fine: [![enter image description here](https://i.stack.imgur.com/ie8ZC.png)](https://i.stack.imgur.com/ie8ZC.png) Is there any way to disable this rotation, so that an external display in portrait mode can display the phone's content when it too is in portrait mode? --- *Similar questions have been asked before, but none are after the same solution:* * [35402 - Show Fullscreen Portrait Layout with Miracast](https://android.stackexchange.com/questions/35402/show-fullscreen-portrait-layout-with-miracast) is very similar, except the question is about using Miracast wireless display whereas this question is about wired displays, in this case via SlimPort. * [37887 - HDMI output mirroring in Portrait mode](https://android.stackexchange.com/questions/37887/hdmi-output-mirroring-in-portrait-mode) is asking how to prevent apps from being forced into landscape mode when an external display is connected - my question is about apps that do not get forced into landscape mode * [67648 - How to change Android default-natural orientation?](https://android.stackexchange.com/questions/67648/how-to-change-android-default-natural-orientation) asks how to change the default rotation of an app, it has nothing to do with the image sent to an external monitor * [100196 - Is there are way to change Android's default screen orientation?](https://android.stackexchange.com/questions/100196/is-there-are-way-to-change-androids-default-screen-orientation) asks how to make apps default to landscape, as the external screen is landscape (in my question the external screen is in portrait) * [101305 - Force portrait mode on device](https://android.stackexchange.com/questions/101305/force-portrait-mode-on-device) is about forcing a specific app into portrait mode, and is not about adjusting the picture sent to an external display<issue_comment>username_1: Try these instructions, using a computer with adb installed and your phone connected: Android Jelly Bean (4.2) locks HDMI rotation by default. You can unlock by the instruction of this commit. > > 1. Add special mirroring modes for demonstration purposes. > 2. Assume rotation of HDMI display is portrait. > > > > ``` > adb shell setprop persist.demo.hdmirotation portrait > > ``` > 3. Don't lock rotation while HDMI is plugged in. > > > > ``` > adb shell setprop persist.demo.hdmirotationlock false > > ``` > 4. Hide secondary displays from apps but continue mirroring to them. > > > > ``` > adb shell setprop persist.demo.singledisplay true > > ``` > > > Source: https://community.freescale.com/docs/DOC-97740 *(note: link broken as of 2022 January)* Upvotes: 4 [selected_answer]<issue_comment>username_2: I know this is an old post but I was just dealing with a similar issue but trying to cast the screen of a Pixel 2 device to a portrait screen and was running into a lot of issues. The main problem seems to be that Pixel 2 and 3 do not seem to support HDMI output so these properties do not solve the issue. However, I was able to figure this out by following the link Malvineous posted in a comment above. Just below the code dealing with setting `persist.demo.hdmirotation` there is another setting called `persist.demo.remoterotation` as well as one called `persist.demo.rotationlock`. These were the key to getting a phone to cast in portrait mode to the screen. These settings seem to exist in both 8.0 and 9.0 versions of Android, though I downgraded my Pixel 2 to 8.0 in the process of trying to figure this out and have not tested on 9.0 yet. To get to this point took several steps which are outlined below. 1. You need to unlock and root your phone (I used MagiskManager to help root and I found [this guide](https://android.gadgethacks.com/how-to/root-pixel-2-pixel-2-xl-install-magisk-0181117/) very useful as it explains a little more in detail exactly what to do for those like me who had not done this before). 2. Using adb tool start the adb shell on your connected and rooted device `adb shell` 3. Activate superuser by entering `su` in shell (for me this had the additional step of going into MagiskManager and allowing SuperUser access to the shell). 4. Enter the following lines into the shell to create and set these properites: ``` setprop persist.demo.remoterotation portrait setprop persist.demo.rotationlock false ``` Once that was set, I cast my Pixel 2's screen to a chromecast device and it was in the desired portrait orientation. I hope this helps anyone in the future trying to figure this out. Upvotes: 2
2015/08/02
561
2,217
<issue_start>username_0: I have Samsung Galaxy A5, SM-A500H running Android 5.0.2, downloaded from [here](http://www.sammobile.com/firmwares/download/51317/A500HXXU1BOG4_A500HODD1BOG4_BNG/). I want to root it. The only root available right now AFAIK, is CF-Auto-Root, as described [here](http://androidxda.com/root-samsung-galaxy-a5-sm-a500h) for example. But this root breaks everything. All the apps stop running when you reboot the phone and you have reinstalled the firmware, it doesn't work. Is there another way to root my device?<issue_comment>username_1: The short answer would be: no, this is currently the only *practical* way to go. It fully supports the current Android firmware and future firmwares as well since it is not firmware dependent. What exactly do you mean by the apps *stop running*? Apps stop running every time you restart your phone. So maybe you meant that they stop *working*? CF-Auto-Root is the safest and easiest method and **no data should be lost**. You should **not have to reinstall firmware.** If you used the method correctly, your apps should be working as before. Please note that the tutorial that you have linked is only for **Android 4.4.4 with a specific built ID**. Since your device is not running on the same Android Version and built ID, then you need to download and flash the firmware to match the one from the tutorial *before* rooting it. Or check other tutorials to use this method with your specific Android version and build ID. Upvotes: 0 <issue_comment>username_2: I've recently used Kingroot, installed without computer assistance (downloaded the .apk with the device browser via wifi and installed from the device's internal storage), to root a device so obscure I haven't seen a single reference to any fixes, custom ROM, or even version upgrades: the Visual Land Prestige Elite 10Q tablet. Kingroot took about ten minutes to run, including rebooting the device, and the only thing I don't like is that I have to hold the tablet in portrait orientation whenever I use any Kingroot function, because it doesn't recognize screen rotation. Obviously, I haven't tried this software with a Galaxy A5, but it should be fine. Upvotes: 2 [selected_answer]
2015/08/02
505
2,256
<issue_start>username_0: I know that i sound kind of a noob but i had this question from the day i started tweaking my phone .I know that without kernel sources it is very hard to get drivers for the phone for the sake of custom ROM support but my question is why can't i just download the drivers from the manufacturer website as i download for my pc .i can install the desired android version i want and if the driver is available for the respective Android version i could simply install it as an application as i would do it in my PC.what exactly the kernel sources contain.<issue_comment>username_1: The short answer would be: no, this is currently the only *practical* way to go. It fully supports the current Android firmware and future firmwares as well since it is not firmware dependent. What exactly do you mean by the apps *stop running*? Apps stop running every time you restart your phone. So maybe you meant that they stop *working*? CF-Auto-Root is the safest and easiest method and **no data should be lost**. You should **not have to reinstall firmware.** If you used the method correctly, your apps should be working as before. Please note that the tutorial that you have linked is only for **Android 4.4.4 with a specific built ID**. Since your device is not running on the same Android Version and built ID, then you need to download and flash the firmware to match the one from the tutorial *before* rooting it. Or check other tutorials to use this method with your specific Android version and build ID. Upvotes: 0 <issue_comment>username_2: I've recently used Kingroot, installed without computer assistance (downloaded the .apk with the device browser via wifi and installed from the device's internal storage), to root a device so obscure I haven't seen a single reference to any fixes, custom ROM, or even version upgrades: the Visual Land Prestige Elite 10Q tablet. Kingroot took about ten minutes to run, including rebooting the device, and the only thing I don't like is that I have to hold the tablet in portrait orientation whenever I use any Kingroot function, because it doesn't recognize screen rotation. Obviously, I haven't tried this software with a Galaxy A5, but it should be fine. Upvotes: 2 [selected_answer]
2015/08/02
960
3,936
<issue_start>username_0: My Nexus 6 is unable to start the camera. The google camera app hangs when it starts and nothing shows up. Earlier the camera used to open but it lagged a bit when HDR was on. Now the camera isn't opening anymore. The other apps like Instagram that use the camera are also not able to open it. The app opens up and hangs, nothing shows up just black screen and sometimes the message "**Can't connect to Camera**" appears. This issue came after 5.1 and I also had buzz launcher installed once but then I removed it. The phone is less than 7 months old. What I've tried: 1. Forced stop the app (Google Camera) 2. Cleared cache of the app 3. Booted in recovery mode and wiped cache partition 4. Factory reset the device Nothing worked for me, I tried these steps one by one and then tested the camera but it is still not working. Please help me with this, I paid a lot of money for this phone on my own and it feels really bad and annoying that the camera isn't functional anymore. Thanks in advance. **Update**: after no solution was found and no help from Motorola, Google or flipkart, I have sent the phone for repair to the service center.<issue_comment>username_1: This is a common issue with some Android devices, but each of them have different reasons for acting up, of course. When I had my Nexus 5 about two years ago, this happened to me. I brought it for a diagnosis to my repair guy. He immediately knew that it was a hardware problem, opened the phone and did his thing and re-wired. It may be a literal wire connection problem with the camera to the phone. I'm not sure of the literal technical terms, I don't repair phones. I suggest using your warranty or try getting a diagnosis and get it repaired, whatever you'd prefer. Upvotes: 0 <issue_comment>username_2: Go to Settings – Developer options — find “Use NuPlayer” and uncheck . (If you can’t find the Developer options, go to Settings — About phone — Touch “Build number” 7 times to enable the Developer option) Upvotes: 0 <issue_comment>username_3: The phone is back from the service center and it works fine again. They told me that they had to replace the camera unit. It took them more than 2 weeks to get this done though. The people there were not aware of the actual reason for the issue to occur, neither were they concerned. But I'm happy that it works now. Upvotes: 2 [selected_answer]<issue_comment>username_4: My nexus 4 did same thing, I found these instructions on the internet and they worked perfectly, I emailed them to myself so I could see them on my laptop and followed them on the Nexus 4 and they worked perfectly, you might want to try them: I wish I had saved the name of the originator so I could give them credit, but have lost the site: WIPING THE CACHE PARTITION If your phone is on, turn it off.Press & hold the Volume Down and then press & hold the Power button simultaneously until the phone turns on. You'll see the word "Start" with an arrow drawn around it.Press the Volume Down button twice to highlight Recovery mode.Press the Power button to start Recovery mode. You'll see an image of an Android robot with a red exclamation mark.While holding the Power button, TAP the Volume Up button until a menu appears. 6.Use the volume buttons to scroll to "wipe cache partition" and press the Power button to select it. Note: This process can take up to 10+ minutes to complete. permalinkembedparent [–][deleted] 2 points 8 months ago It worked: THANK YOU! Upvotes: -1 <issue_comment>username_5: I am nto sure why or how this worked: I had the same issues described here - cannot connect to camera. at one point i just gave up. then a different issue started: my battery was draining fast. the blame was on the media service (something like that). so i went to apps, found Media Storage, Stop, clean cache, reboot. battery issue fixed. suddenly i noticed, camera issue fixed as well! Upvotes: 1
2015/08/02
1,095
3,303
<issue_start>username_0: (My phone is rooted and runs Android 5.1) How can one change the DNS addresses of mobile data (and persistently, if possible) without the requirement of an app?<issue_comment>username_1: That's not possible without an app, it has to be with an app. Second, you need root access in able to change 1G/2G/3G/4G DNS. Upvotes: 1 <issue_comment>username_2: This info is from 2014. But it might still work. I am not in the position to test it at the moment, but since you are rooted. You could try adding the dns settings to the build.prop file and see if it sticks. Adding the following to the build.prop file should add google as your DNS server. > > > ``` > net.rmnet0.dns1=8.8.8.8 > net.rmnet0.dns2=8.8.4.4 > net.dns1=8.8.8.8 > net.dns2=8.8.4.4 > > ``` > > Taken from this post on the Nexus 5 forums over on XDA. That post can be found [here.](http://forum.xda-developers.com/google-nexus-5/general/build-prop-tweaks-t2781369) Item number 21 is the DNS settings. Upvotes: 2 <issue_comment>username_3: I did not find a way to reliably do it without an app. I often use [OpenDNS Family Shield](https://www.opendns.com/home-internet-security/parental-controls/opendns-familyshield/), but sometimes it blocks me to visit some particular hacking site and then I need to quickly and easily change the DNS servers. I used to use [Set DNS](https://play.google.com/store/apps/details?id=uk.co.mytechie.setDNS) but it stopped to work in Android 4.3 and further, so I created [Override DNS](https://play.google.com/store/apps/details?id=net.mx17.overridedns), a new app which mimics Set DNS' behaviour, but it's updated to work even in Lollipop. It has some other nice feature like a PIN protection ad a Wi-Fi SSID filter, too. The only way I can see to do it **without an app** is something like an `iptables` rule to redirect any traffic going to udp/53 to some other ip. A similar procedure is shown in a [XDA thread](http://forum.xda-developers.com/showpost.php?p=53605182&postcount=7). I paste here the `iptables` rules for completeness (I did not tested them) ``` $IPTABLES -t nat -D OUTPUT -p tcp --dport 53 -j DNAT --to-destination 208.67.222.222:53 || true $IPTABLES -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 208.67.222.222:53 || true $IPTABLES -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 208.67.222.222:53 $IPTABLES -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 208.67.222.222:53 ``` Everything directed from the Android device to any IP, port UDP and TCP 53 is redirected to `208.67.222.222` which is one of OpenDNS' DNS server. These commands should be placed in a script which is run at every device boot. That functionality depends on your specific ROM. I don't know if something similar can be done in a stock ROM without using an app. [Override DNS](https://play.google.com/store/apps/details?id=net.mx17.overridedns) solves this problem, too. Upvotes: 5 [selected_answer]<issue_comment>username_4: Starting with [Android 9 Pie](https://android-developers.googleblog.com/2018/04/dns-over-tls-support-in-android-p.html) it is possible to change DNS globally, provided they [support TLS](https://en.wikipedia.org/wiki/DNS_over_TLS). Just go in `Settings → Network & internet → Advanced → Private DNS` Upvotes: 3
2015/08/03
527
2,018
<issue_start>username_0: Is it possible to export the S-Health data from a Samsung S6 into a usable data format? For example, to CSV or similar, so I can import into Excel<issue_comment>username_1: There are few ways that you can export it. it won't work on Settings>About Device and confirm you have an SM-G900? 1:Go to developer.samsung.com/health and download the Samsung Digital Health SDK Extract the files and read the ProgrammingGuide\_SHealthService.pdf to find out how to put S Health into "Developer Mode" From the Health Data / tools install the DataViewer-1.2.0.apk to get the data viewing app which can export to CSV. Once its all set up reboot the phone and all exports fine. 2:You need to install dataviewer.apk to your phone and not your computer. Make sure your turn on the developer mode in S Heath. Go to S Health-more settings-about S health. Right above "check for updates" tap 10 times on the version. If it works then it will turn to developer mode. Go to your web browser on your phone and go to developer samsung com/health and download. You will need to extract the zip file once downloaded find the dataviewer.apk and install it. Reboot your phone. Read the programming guide because your need to turn on the permission to sync the data between the dataviewer and S Health for each item you want to view. To Export the data, go to the main screen of dataviewer and on more is where you export the data. Once you export the data, you need to use a file manager like file commander to find the file and email it to yourself. It should be under the health data folder. It is located under storage/emulated/oN health/com.samsung.health.blood pressure.201601310420.csv for example link to actual [site.](http://forums.androidcentral.com/samsung-galaxy-note-5/606733-there-way-export-save-s-health-data-file.html) Upvotes: 2 <issue_comment>username_2: Latest release of S-Health has got export as a build-in feature but only for GPS data and only as a GPX file. Upvotes: 3 [selected_answer]
2015/08/03
722
2,767
<issue_start>username_0: This is a similar question to [How do I avoid the server-specified security policies for my work e-mail?](https://android.stackexchange.com/questions/26885/how-do-i-avoid-the-server-specified-security-policies-for-my-work-e-mail) but whereas they are trying to use an Exchange email account without accepting the server's stringent security policies, I'm trying to **cancel** setup of the account. The problem is, I can't open my Mail app without accepting these security policies. I get a dialog: > > [Server] requires that you update your security settings > > > ...with two options - accept the security policies, or cancel, which simply closes the app. How can I remove this half-complete Exchange account from my Mail app, when the Mail app won't open without accepting the policies and completing the setup of the account I no longer want to set up? I'm on Android 5.0.2, non-root.<issue_comment>username_1: There are few ways that you can export it. it won't work on Settings>About Device and confirm you have an SM-G900? 1:Go to developer.samsung.com/health and download the Samsung Digital Health SDK Extract the files and read the ProgrammingGuide\_SHealthService.pdf to find out how to put S Health into "Developer Mode" From the Health Data / tools install the DataViewer-1.2.0.apk to get the data viewing app which can export to CSV. Once its all set up reboot the phone and all exports fine. 2:You need to install dataviewer.apk to your phone and not your computer. Make sure your turn on the developer mode in S Heath. Go to S Health-more settings-about S health. Right above "check for updates" tap 10 times on the version. If it works then it will turn to developer mode. Go to your web browser on your phone and go to developer samsung com/health and download. You will need to extract the zip file once downloaded find the dataviewer.apk and install it. Reboot your phone. Read the programming guide because your need to turn on the permission to sync the data between the dataviewer and S Health for each item you want to view. To Export the data, go to the main screen of dataviewer and on more is where you export the data. Once you export the data, you need to use a file manager like file commander to find the file and email it to yourself. It should be under the health data folder. It is located under storage/emulated/oN health/com.samsung.health.blood pressure.201601310420.csv for example link to actual [site.](http://forums.androidcentral.com/samsung-galaxy-note-5/606733-there-way-export-save-s-health-data-file.html) Upvotes: 2 <issue_comment>username_2: Latest release of S-Health has got export as a build-in feature but only for GPS data and only as a GPX file. Upvotes: 3 [selected_answer]
2015/08/03
1,144
3,543
<issue_start>username_0: For hardware reasons (My menu key doesn't work) I can not add an APN via settings. I read [here](https://groups.google.com/forum/#!topic/android-platform/yMvPJr6Aoq4) about using sqlite and [here](https://stackoverflow.com/a/7869387/2711378) about using code. But I need a more convenient way to do it. I need to do it using adb.<issue_comment>username_1: You Should ========== * **1. Be Root** * **2. Know APN fileds such as MCC and MNC of your service provider [e.g EthioTelecom is mcc=636 mnc=01]** Steps ===== * Open adb shell ``` $ adb shell $ su ``` 1. Check if your carrier is listed in the default list of carriers. [] means optional ``` # content query --uri content://telephony/carriers [--where "name=''"] ``` 2. If your carrier is not listed, you have to add it to the list, Add other fields as required. **NOTE** the following is for Internet, for MMS, change the fileds to what is required ``` # content insert --uri content://telephony/carriers --bind name:s:"" --bind numeric:s:"" --bind type:s:"default,sulp" --bind mcc:i: --bind mnc:s:--bind apn:s: --bind user:s:" --bind password:s:"" ``` 3. Then check the listing again like Step 1 4. Note the \_id, replace insert by update if this is not the first time you are setting the prefered apn ``` # content insert --uri content://telephony/carriers/preferapn --bind apn_id:i:<_id> ``` 5. Try disabling and enabling your internet connection, if no change, restart your phone. if it is still not working, Keep Going 6. Change permission of settings file ``` # chmod 666 /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml # exit $ exit ``` 7. After you exit adb shell, in your terminal/comand prompt ``` $ adb pull /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml ~/ ``` 8. Add The following line before the last line that says 9. then save it and run ``` $ adb push ~/com.android.settings_preferences.xml /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml ``` Hopefully, You should now see your apn in the access points screen in settings, and it should also work. Upvotes: 4 [selected_answer]<issue_comment>username_2: On a terminal (e.g. CMD prompt on Windows), type the following lines: 1. ``` adb shell su content query --uri content://telephony/carriers --where "name='mtnirancell'" ``` 2. ``` content insert --uri content://telephony/carriers --bind name:s:"name" --bind numeric:s:"" --bind type:s:"default,sulp" --bind mcc:i: --bind mnc:s: --bind apn:s:" ``` * Sample: ``` content insert --uri content://telephony/carriers --bind name:s:"mtnirancell" --bind numeric:s:"43211" --bind type:s:"default,sulp" --bind mcc:i:432 --bind mnc:s:11 --bind apn:s:mtnirancell" ``` 3. ``` content insert --uri content://telephony/carriers/preferapn --bind apn_id:i:<_id> ``` * Sample: ``` content insert --uri content://telephony/carriers/preferapn --bind apn_id:i:1500 ``` 4. ``` chmod 666 /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml exit # for exit su exit # for exit shell ``` 5. ``` adb pull /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml ~\com.android.settings_preferences.xml ``` 6. Add the following line before the last line that says , then save the file ``` ``` 7. ``` adb push ~\com.android.settings_preferences.xml /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml ``` Upvotes: 1
2015/08/03
612
2,189
<issue_start>username_0: I was trying to install the OTA upgrade on my Nexus 10 running Lollipop 5.0.1. Got the "no command" problem. I tried the steps below from [this link](https://support.google.com/nexus/forum/AAAANseOu18WF6iOz7-XQY). > > I suggest you try the following: > > > Press and hold Power button until your device powers off (it could take 30 seconds). > > > 1. Press and hold Power and Volume Down buttons simultaneously until you see something other than Google on the screen. > 2. You should see a large arrow at the top of the screen. > 3. Tap Volume Down repeatedly until you see Recovery in the arrow. Then tap the Power button > 4. You should see an android on his back, chest open with a red triangle and exclamation mark. > 5. While holding Power button tap Volume Up once then release Power. > 6. You should now see a list of items at top of screen. > 7. Tap Power Down until the item to erase or wipe the cache partition is highlighted. Then tap Power button to initiate. > 8. Status messages will appear at ths bottom of the screen. Be patient - it can take 10-15 minutes to complete. When done restart the Nexus. > > > Wiping the cache partition does not impact any of your data, but it may take a while before your apps repopulate their cache values. During this time some may appear a bit slower than previously. > > > * I can't get past step 1, as when I do that, it keeps saying, "download in progress. do not close target ( or similar)". * I tried the Power + Volume up + Volume down buttons, and get the menu, but don't see as below. * I also tried Nexus Root Toolkit flash + restock, and that also shows "finished", but reboot goes back to "no command". What to do?<issue_comment>username_1: Problem solved. Called google support. Had to press Power + volume UP to get to second level menu, then select clear cache option. Re-booted and 5.0.1 upgrade continued. Upvotes: 1 <issue_comment>username_2: Was using Nexus 10 and stuck at "No command.." message. Had to use "Power+ volume down" buttons simultaneously to Stock Recovery mode. > > Power + Volume-up = Downloading mode > > Power + Volume-down = Recovery mode > > > Upvotes: 0
2015/08/03
2,540
8,507
<issue_start>username_0: Based on this [cyanogenmod forum thread](http://forum.cyanogenmod.org/topic/107760-freezing-apps-sluggish-behavior/), I tried to address the delay in running applications and switching between applications on my Galaxy Nexus running cyanogenmod with Android 4.4.4 by running fstrim manually. ``` root@maguro:/ # fstrim -v /data /data: 11649122304 bytes trimmed root@maguro:/ # fstrim -v /cache /cache: 436121600 bytes trimmed root@maguro:/ # fstrim -v /system /system: 80490496 bytes trimmed root@maguro:/ # exit ``` This has largely fixed the delay issues. The delay to return to the home screen, for example, has reduced from about 4 seconds to less than 1 second. Based on this performance boost, I expect the delay was caused by the filesystem running inefficiently. Isn't the Android OS supposed to run fstrim on its own? When is this supposed to happen?<issue_comment>username_1: Unforgettableid's comment included an [AnandTech article](http://www.anandtech.com/show/7185/android-43-update-brings-trim-to-all-nexus-devices) that describes the conditions under which fstrim is supposed to run: > > I’ve learned a bit more on the conditions underlying when Android 4.3 will TRIM filesystems, as it wasn’t completely clear before. The Android framework will send out a “start idle maintenance window” event that the MountService listens for, and then invokes vold to fstrim filesystems when a few conditions have been met – the device hasn’t been touched for over an hour, no idle maintenance window event has been sent in 24 hours, and the device is either off-charger with 80% battery or on-charger with 30% battery. The goal is to have fstrim run roughly once every 24 hours if you’re in the habit of plugging the device in to charge every night. > > > Upvotes: 3 [selected_answer]<issue_comment>username_2: Answer by username_1 indicates conditions under which, `fstrim` should run. I am not aware if the behaviour has changed in subsequent Android versions, but I came across an app that does `fstrim` **on demand as also on reboot** . Root needed. Sharing this information as it may be useful to those who are not Linux savvy ( like me :) **[SSD Boost](https://play.google.com/store/apps/details?id=com.puandr.boost)** > > Android 4.3+ supports trim natively, it means that operating system after deleting a file will sends a trim command to nand controller notifying witch blocks the file used, the controller will erase them when idle so it can write fast without erasing next time. > > > But users have no control over this process and Android doesn't trim the storage for a very long time. > > > 'SSD Boost' helps you to run trim on your device manually if you feel it has become laggy and anyway it does trim for you on every reboot. > > > I know this directly doesn't answer the question, but felt this was the best question on site to share this Upvotes: 1 <issue_comment>username_3: The [article](https://www.anandtech.com/show/7185/android-43-update-brings-trim-to-all-nexus-devices) referenced in @[username_1](https://android.stackexchange.com/users/100457/username_1)'s answer is a bit outdated. `IdleMaintenanceService` was removed in Lollipop, things have changed. On Pie, scheduled `fstrim` is triggered from `StorageManagerService` ([1](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/StorageManagerService.java#739)) to `MountService` ([2](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/MountServiceIdler.java#98)): > > if the device is alive at ***midnight + idle***, fstrim gets run at the next available ***charging + idle*** time > > > \* ([3](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/pm/PackageManagerService.java#535)) Mount service calls `StorageManager` which in turn calls `Vold` to do `fstrim`. If the schedule is being missed because the conditions don't meet and `fstrim` has not run for last `3 days` ([4](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/core/java/android/provider/Settings.java#9213)), it will be forced during device startup if the device is restarted. `SystemServer` ([5](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/java/com/android/server/SystemServer.java#1027)), `PackageManager` ([6](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/pm/PackageManagerService.java#8929)), `StorageManager` ([7](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/StorageManagerService.java#953)) and `Vold` ([8](https://android.googlesource.com/platform/system/vold/+/refs/tags/android-9.0.0_r42/VoldNativeService.cpp#470)) are involved. In each case, the file `/data/system/last-fstrim` ([9](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/StorageManagerService.java#541)) (since Lollipop) gets updated ([10](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r42/services/core/java/com/android/server/StorageManagerService.java#581)), so you can check its timestamp (**requires root**) to find out when `fstrim` was last run. If you want to do `TRIM` manually, use Android's commandline tool **`sm fstrim` (requires root or `adb shell`**). Previously this was `vdc fstrim dotrim` but added to Storage Manager in Oreo ([11](https://android.googlesource.com/platform/frameworks/base/+/31d0b7043d9077ad8a0ebfbd6ff2f98621e6f413%5E%21/#F0)) and removed from `vold` in Pie ([12](https://android.googlesource.com/platform/system/vold/+/11c2d380a786d9e304416be98881b90b74ff666d)). In order to send `FITRIM ioctl` to selected filesystem(s) only, use `fstrim` tool (**requires root**); a busybox applet. --- ***What if you don't have root?*** And you suspect that the scheduled `fstrim` is being missed for 3+ days, restart device, `fstrim` will be forced (since Lollipop 5.1 ([13](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-5.1.0_r1/services/core/java/com/android/server/pm/PackageManagerService.java#286))). Simple. Apps can't TRIM without root; see [this answer](https://android.stackexchange.com/a/213987/218526). --- **HOW OFTEN TRIM SHOULD BE RUN?** Flash memory (including SSDs, eMMCs, SD Cards, USB sticks etc.) has limited number of Program/Erase cycles before it dies. But unlike HDDs, data can't be just overwritten on flash memory, it has to be Erased first, which is achieved through `Garbage Collection`. Now if we do too much `fstrim`, this will cause frequent GC in background consuming precious `P/E` cycles and hence reducing life. If we don't do `fstrim` at all, there could be unnecessary GC (of already deleted data), plus the write operations will get too slow with time because `Erase` will have to be performed before overwriting data, which has very higher latency as compared to `Program` operation. So we need a balance between both. Also there are other factors e.g. whether eMMC controller supports `over provisioning`, how effective it is in background GC scheduling, wear-leveling and managing write amplification etc. So unless you have the data sheet of your phone's eMMC and you are sure what you are doing, better is to leave the `fstrim` to OS. On PCs' ([14](http://man7.org/linux/man-pages/man8/fstrim.8.html)): > > Running fstrim frequently, or even using `mount -o discard`, might negatively affect the lifetime of poor-quality SSD devices. For most desktop and server systems a sufficient trimming frequency is ***once a week***. > > > But this may vary with situations. **RELATED:** * [Coding for SSDs](http://codecapsule.com/2014/02/12/coding-for-ssds-part-3-pages-blocks-and-the-flash-translation-layer/) * [Why is TRIM not supported on encrypted “/data” partition?](https://android.stackexchange.com/a/214209/218526) Upvotes: 3
2015/08/03
334
892
<issue_start>username_0: [![enter image description here](https://i.stack.imgur.com/4PFdW.jpg)](https://i.stack.imgur.com/4PFdW.jpg) What do these symbols represent?<issue_comment>username_1: *Partial Answer* --- First one is [Podcast Addict](https://play.google.com/store/apps/details?id=com.bambuna.podcastaddict). [![](https://i.stack.imgur.com/c2gvi.png)](https://i.stack.imgur.com/c2gvi.png) Upvotes: 3 <issue_comment>username_2: Thanks to @vanogrid for the heads up on the second one. It is [Todoist](https://play.google.com/store/apps/details?id=com.todoist), and I found the icon with the plus/+ [here](https://d3m2wiud0f58gj.cloudfront.net/f8aae9cea2055a055772476aa07c58f8/as/TODOIST_-_Icon_I_don%27t_want_removed.png). It's a persistent notification that allows you to add a task. [![Icon](https://i.stack.imgur.com/iQQh1.png)](https://i.stack.imgur.com/iQQh1.png) Upvotes: 3
2015/08/03
185
731
<issue_start>username_0: When starting Chrome on my Samsung Galaxy Ace 3, I just get the following error message, and no error code. > > Chrome failed during startup with an unexpected error. > > > Googling the above phrase gives me one result. I have no idea how to approach this. I have cleared all application data, restarted my phone multiple times, and no luck. Any insight and fix for this?<issue_comment>username_1: Go to Manage Apps -> Chrome -> Clear cache, and also Move it to phone memory, in case it is on the SD card. Upvotes: 0 <issue_comment>username_2: please try clearing you profile, local state, and flags? Android Settings > Apps > All Apps > Chrome > Clear app data @This way worked for me@ Upvotes: -1
2015/08/04
284
1,021
<issue_start>username_0: Forget Android Screen Lock Pin for samsung galaxy s7262 tried many times not even asking for forget pin or google account details.<issue_comment>username_1: Try entering the lock pin for several times, the Google password recovery will popup and will ask you for recovery options. **If the above recovery fails, nothing else will work.** Just go and reset you phone. Here is a good tutorial for hard resetting your device. [Tutorial for hard reset a Samsung device](http://www.hardreset.info/devices/samsung/samsung-s7262-galaxy-star-pro/) Upvotes: 0 <issue_comment>username_2: Follow these instructions: 1. [Root your mobile](http://androidxda.com/root-samsung-galaxy-star-pro-duos-gt-s7262) 2. Using ADB delete the file under `/data/system/gesture.key` for Gesture or `/data/system/passwd.key` for Password/PIN. 3. Reboot your mobile 4. If you were using a PIN ,it won't ask anything. You can directly start using your mobile. Don't worry about your data as it won't be lost. Upvotes: 1
2015/08/04
408
1,488
<issue_start>username_0: Can I encode an NFC tag to send HTTP POST data? Or can I only use HTTP GET? I have Googled extensively, but can't seem to find an answer (which, I suppose, implies that it is HTTP GET only, but I would like someone to say so). --- [Update - 6 years later] This project was abandoned, but it was basically advertising, embedding NFC tokens in posters. As such, it should work on any Android, out of the box, with no helper apps being necessary (my bad; maybe I ought to have made that clearer). The extra step to install an app would drastically lower the number of people who scanned the tag.<issue_comment>username_1: Try entering the lock pin for several times, the Google password recovery will popup and will ask you for recovery options. **If the above recovery fails, nothing else will work.** Just go and reset you phone. Here is a good tutorial for hard resetting your device. [Tutorial for hard reset a Samsung device](http://www.hardreset.info/devices/samsung/samsung-s7262-galaxy-star-pro/) Upvotes: 0 <issue_comment>username_2: Follow these instructions: 1. [Root your mobile](http://androidxda.com/root-samsung-galaxy-star-pro-duos-gt-s7262) 2. Using ADB delete the file under `/data/system/gesture.key` for Gesture or `/data/system/passwd.key` for Password/PIN. 3. Reboot your mobile 4. If you were using a PIN ,it won't ask anything. You can directly start using your mobile. Don't worry about your data as it won't be lost. Upvotes: 1
2015/08/04
500
1,849
<issue_start>username_0: I am using Huawei Honor 3C running v4.4.2, and is rooted for like 1 year without any issue. All of a sudden I am receiving this error: "Check your connection and try again" on Play Store. Every time I connect to internet it gives me "Unfortunately, Google Play Services has stopped" error 1-2 times and then it goes away. Possible solutions I already tried: 1. Changing time to/from Automatic/Manual 2. Removing 'hosts' file 3. Airplane mode On/Off 4. Force stopping and clearing data/cache of Play Store and Google Play Services app 5. Uninstalling updates 6. Removing and adding the Google account again 7. Changing DNS to Google's or Open DNS' DNS in WIFI setting 8. Setting 'No Proxy' in Wi-Fi setting 9. Changing IP Address (incrementing) 10. Resetting all apps settings to default On Device: * Hangout and other apps are working fine * Using latest version of Google Play Store and Google Play Services * I am unable to find Service Framework app<issue_comment>username_1: Try entering the lock pin for several times, the Google password recovery will popup and will ask you for recovery options. **If the above recovery fails, nothing else will work.** Just go and reset you phone. Here is a good tutorial for hard resetting your device. [Tutorial for hard reset a Samsung device](http://www.hardreset.info/devices/samsung/samsung-s7262-galaxy-star-pro/) Upvotes: 0 <issue_comment>username_2: Follow these instructions: 1. [Root your mobile](http://androidxda.com/root-samsung-galaxy-star-pro-duos-gt-s7262) 2. Using ADB delete the file under `/data/system/gesture.key` for Gesture or `/data/system/passwd.key` for Password/PIN. 3. Reboot your mobile 4. If you were using a PIN ,it won't ask anything. You can directly start using your mobile. Don't worry about your data as it won't be lost. Upvotes: 1
2015/08/04
900
3,452
<issue_start>username_0: Alright. Let's see if something revolutionary works :) In theory, Is it possible to store app data on the cloud I.e a Dropbox account, and withdraw data from it as required? I have an amazing idea, but naturally I want to know if it could work. If so, how? I have an idea with something about using a file manager to grab an apps files, putting them on a Web cloud that does not need a pass code (so a private cloud) and having files in the original data folder to link the data In the cloud, and use that? I have root, BTW.<issue_comment>username_1: > > Is it possible to store app data on the cloud I.e a Dropbox account > > > Yes, it is possible to backup app data to the cloud (Dropbox, Google Drive, Box, OneDrive, etc.). The device will need to be rooted or you would have to use [adb backup](http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351). There are plenty of apps on the Play Store that backup and restore both APK and app data. > > and withdraw data from it as required? > > > No, this is not possible. Apps depend on local files. Upvotes: 0 <issue_comment>username_2: First, as [Jared already pointed out](https://android.stackexchange.com/a/117244/16575), this is not possible without a "local copy" – i.e. without the data being present in the device's file system. Second, it won't work without root access on the device – as the directory in question (`/data/data`) is not accessible for a "normal user" (which includes apps: each app can only access its own sub-directory here). Let's assume you're having root access on your device, this would still not be easy. Theoretical approaches: * using an app like [FolderSync](http://play.google.com/store/apps/details?id=dk.tacit.android.foldersync.lite) to synchronize your local `/data/data` with a counterpart in your "personal cloud". *Might* work somehow. * copying the entire `/data/data` to your personal cloud and remote-mounting it (e.g. using SSHFS with [SSHFSAndroid](http://play.google.com/store/apps/details?id=com.chaos9k.sshfsandroid) or some [other remote mounting](http://android.izzysoft.de/applists/category/named/network_admin_mount)). Again, *might* work – but if your network connection drops, apps might crash, plus you may risk data inconsistencies and data loss. Apart from the risks named, there are more concerns: * privacy and data security. Might not be a concern if you're just doing that within your own (home) network, but it at least introduces another attack vector. * you might be tempted using such a "network share" with multiple devices simultaneously. Don't. That would be the best way to corrupt your data, have your apps crashing, and more. * performance: if all your app data have to be read from/written to the network each time you access them, it would slow down things noticeable. And I mean, *real* noticeable here – not just some digits somewhere after the decimal point. * file permissions and ownership must be maintained, which might prove tricky (depending on the remote storage). If it were such an easy thing to do, it would have been done already – especially considering Google wants us to put all our data into their cloud. There are good reasons speaking against that (and I'm pretty sure this answer is far from covering them all). So while this might be *technically possible*, it's definitely *not recommendable*. Upvotes: 3 [selected_answer]
2015/08/04
504
1,910
<issue_start>username_0: Google cardboard comes with 3D glasses. Does that mean that we will be able to watch 3D videos using a smartphone like the Moto-G (1st edition) which is not 3D enabled?<issue_comment>username_1: I'm able to use the YouTube VR 3D app to view 3D YouTube videos on my Samsung Galaxy 4S. I can also view Cardboard specific content with the Cardboard app on this same phone; as I understand it, Cardboard is designed to work with ordinary smart phones. Upvotes: 3 [selected_answer]<issue_comment>username_2: No, not required. Instead you need applications made for Google Cardboard. It is a simple and an innovative idea from google. I have not tried it but had read and understood it in detail. You can find many applications from the below link. Also this works by splitting the screen of your normal phone, and presenting different views to each eye for creating 3D view. [Apps](https://play.google.com/store/apps/collection/promotion_3001527_cardboard_apps) [Google cardboard](https://en.wikipedia.org/wiki/Google_Cardboard) Upvotes: -1 <issue_comment>username_3: Google Cardboard is a Virtual Reality product which uses two images, one in each of your eye. Cardboard uses magnifying lenses in order to create a fake 3D image, your phone only splits as a display to both eyes. You need high resolution for VR, because the horizontal display is cut in half for each eye. I wouldn't use a Moto 1 at 720p, go for a Moto G3 with 1440p if you want decent results. Any Samsung models past the 4th generation (S4, Note 3) work good too. Upvotes: 1 <issue_comment>username_4: To be fully Google Cardboard compliant, your phone needs to have gyroscope. If the gyroscope is not present, Google Play will report the phone as not compatible. If it is for watching side-by-side format 3d videos, we have a tiny ad-free utility app called iPlay SBS Player which does not need gyroscope. Upvotes: 0
2015/08/04
440
1,770
<issue_start>username_0: I just switched from an iPhone, and I want my android to have the same behavior as iOS where you hold the home button, and siri starts listening. With my android, I have to wake up and unlock the device, then hold the home button to get to the google now screen, then I have to either say "okay google", or hit the microphone button. This process takes way longer and makes voice commands in the car unsafe, which is primarily what I used siri for Please any help would be appreciated<issue_comment>username_1: In Android, by default, you can't have access to Google Now when the phone is locked (maybe for security reasons), but there could be a lock screen widget for that. You can search for that. Upvotes: 2 <issue_comment>username_2: In Google Now, click the menu icon on the left of the search bar (it looks like a hamburger). Then choose Settings -> Voice -> "OK Google" Detection. (Click image to enlarge) [!['OK Google' Detection screen](https://i.stack.imgur.com/QPliM.jpg)](https://i.stack.imgur.com/QPliM.jpg) Flip the three switches on. When you switch on the second one, the app will ask you to say "Okay Google" three times to train the voice model. Flipping the third switch on will prompt you for the password to your phone. Now, when you say "Okay Google", the screen will be unlocked. Upvotes: 2 <issue_comment>username_3: On my Samsung S6 this is how I did it: settings > personal > lock screen and security > info and app shortcuts > app shortcuts > left shortcut > voice search Now from the lock screen I can drag up from the bottom left and google starts listening. note: Unfortunately if you have a password lock, you have to unlock the phone before it will answer your question. Upvotes: 1 [selected_answer]
2015/08/04
1,772
6,048
<issue_start>username_0: Given some permission `tld.developer.app.permission.PERMISSION` how can I use adb/root shell to find all the installed packages that define/depend on it? The permissions are defined in the manifest files and it is possible to transfer each apk over from `/data/app`, `/system/app`, `/system/priv-app`, etc., unpackage, and check, but is there a better way?<issue_comment>username_1: The first section is ideally supposed to be OS (on PC) independent. The solution heavily depends upon the output of *package* service. It has been successfully tested on Android 4.2.1, 5.0.2 and 5.1.1 - all these versions are not heavily modified from stock Android. Dependencies ------------ * Requires [adb](/questions/tagged/adb "show questions tagged 'adb'") to be setup in PC. * Requires *busybox* binary. If the device is rooted, install [Busybox](https://play.google.com/store/apps/details?id=stericson.busybox) app. Else, download busybox binary from [official source](https://busybox.net/downloads/binaries/latest/), rename the binary to *busybox*, set Linux compatible [executable permission](http://linuxcommand.org/lts0070.php) on that binary for everyone and move it into device using ``` adb push LOCAL_FILE /data/local/tmp/ # LOCAL_FILE is the file path where busybox binary is located in PC ``` * Requires *aapt* binary. If you're running a CM or its derivative ROM then ignore this requirement. Otherwise, for Android 4.x, you can consider downloading the binary from [here](http://android.izzysoft.de/downloads "A site maintained by our top user Izzy"), rename the binary to *aapt*, set Linux compatible [executable permission](http://linuxcommand.org/lts0070.php) on that binary for everyone and move it into device using ``` adb push LOCAL_FILE /data/local/tmp/ # LOCAL_FILE is the file path where busybox binary is located in PC . ``` Android 5.x users: ask Google for assistance. Here's my little script: ``` #!/system/bin/sh # Check if the busybox binary exists under /data/local/tmp/ or /system/xbin. Set the detected binary's path into the variable busybox or exit if file doesn't exist or executable permission is not set [[ -x /data/local/tmp/busybox ]] && busybox=/data/local/tmp/busybox || { [[ -x /system/xbin/busybox ]] && busybox=/system/xbin/busybox || { date +'busybox binary not found or executable permission is not set. Exiting' && exit; }; } # Check if the aapt binary exists under /data/local/tmp or /system/bin or /system/xbin. Set the detected binary's path into the variable aapt or exit if file doesn't exist or executable permission is not set [[ -x /data/local/tmp/aapt ]] && aapt=/data/local/tmp/aapt || { [[ -x /system/bin/aapt ]] && aapt=/system/bin/aapt || { [[ -x /system/xbin/aapt ]] && aapt=/system/xbin/aapt || { date +'aapt binary not found or executable permission is not set. Exiting' && exit; }; }; } # Validate input ! [[ "$1" == +([0-9a-zA-Z._]) ]] && { $busybox printf 'Permission field should not be empty or contain anything beyond these characters: a-zA-Z0-9._' && exit; } || perm=$1; # List package name of all the installed apps and save them in the file packages.txt under /sdcard pm list packages | $busybox sed 's/^package://g' | $busybox sort -o /sdcard/packages.txt $busybox printf "List of apps defining and/or depending on the permission $perm:\n\n"; # Take each line (a package name) from the file packages.txt. In the output of package service for that package name, see if the permission is granted or defined and set appropriate variable state. For different states, we're either dumping the label of the app using aapt, printing the status of define/granted permissions for package or simply moving on. while read line; do [[ `dumpsys package $line | grep -Eo "^[ ]+$perm"` ]] && granted=1 || granted=0; [[ `dumpsys package $line | grep -Eo "^[ ]+Permission[ ]+\[$perm\][ ]+\([a-zA-Z0-9]+\):"` ]] && defined=1 || defined=0; [[ $granted == 1 || $defined == 1 ]] && path=$(pm path $line | $busybox sed 's/^package://g') && label=$($aapt d badging $path 2>&1 | $busybox sed -ne '/application: label=/p' | $busybox cut -d "'" -f2); [[ $granted == 1 && $defined == 1 ]] && $busybox printf "$label ($line)\nDefined: Yes\nGranted: Yes\n\n"; [[ $granted == 1 && $defined != 1 ]] && $busybox printf "$label ($line)\nDefined: No\nGranted: Yes\n\n"; [[ $granted != 1 && $defined == 1 ]] && $busybox printf "$label ($line)\nDefined: Yes\nGranted: No\n\n"; done < /sdcard/packages.txt ``` Save the script in PC into a file named `perm_script.sh` and move it into /sdcard using ``` adb push LOCAL_FILE /sdcard/ # LOCAL_FILE is the path where you saved that file into PC ``` Run that file ``` adb shell sh /sdcard/perm_script.sh PERMISSION # replace PERMISSION with the android permission for which apps are to be shown ``` Demo output: ``` List of apps defining and/or depending on the permission android.permission.FLASHLIGHT: Android System (android) Defined: Yes Granted: No Automagic Premium (ch.gridvision.ppam.androidautomagic) Defined: No Granted: Yes MacroDroid (com.arlosoft.macrodroid) Defined: No Granted: Yes Google+ (com.google.android.apps.plus) Defined: No Granted: Yes ... Bluetooth (com.mediatek.bluetooth) Defined: No Granted: Yes DS Battery Saver Pro (com.rootuninstaller.batrsaverpro) Defined: No Granted: Yes Webkey (com.webkey) Defined: No Granted: Yes ``` Do note that all those apps and their permissions among other things can also be found in the file `/data/system/packages.xml`. --- (To get app's label using its package name, use GAThrawn's [answer](https://android.stackexchange.com/a/19866/96277) - works if only the app is available in Play Store; use Izzy's [answer](https://android.stackexchange.com/a/115664/96277) - works for any installed app.) Upvotes: 4 [selected_answer]<issue_comment>username_2: This worked for me (Android 8): ``` cmd appops query-op RUN_IN_BACKGROUND allow | sort ``` It shows which packages have `RUN_IN_BACKGROUND` mode enabled. Upvotes: 2
2015/08/05
1,805
6,198
<issue_start>username_0: My Samsung Galaxy S4 auto restarts. * I removed Battery , SIM card , SD Card for over 1-2 hour, and replaced but the device still auto restart. * I tried " Home"+ "Volume Down" + "Power" and saw the message "Warning! Critical Problem". I had to choose "Continue Or Cancel". However, choosing Continue or Cancel has no effect. Any idea why this auto restart is happening? Can any software format the device using computer? I can't open my phone now, because when I plug the battery the device auto restart.<issue_comment>username_1: The first section is ideally supposed to be OS (on PC) independent. The solution heavily depends upon the output of *package* service. It has been successfully tested on Android 4.2.1, 5.0.2 and 5.1.1 - all these versions are not heavily modified from stock Android. Dependencies ------------ * Requires [adb](/questions/tagged/adb "show questions tagged 'adb'") to be setup in PC. * Requires *busybox* binary. If the device is rooted, install [Busybox](https://play.google.com/store/apps/details?id=stericson.busybox) app. Else, download busybox binary from [official source](https://busybox.net/downloads/binaries/latest/), rename the binary to *busybox*, set Linux compatible [executable permission](http://linuxcommand.org/lts0070.php) on that binary for everyone and move it into device using ``` adb push LOCAL_FILE /data/local/tmp/ # LOCAL_FILE is the file path where busybox binary is located in PC ``` * Requires *aapt* binary. If you're running a CM or its derivative ROM then ignore this requirement. Otherwise, for Android 4.x, you can consider downloading the binary from [here](http://android.izzysoft.de/downloads "A site maintained by our top user Izzy"), rename the binary to *aapt*, set Linux compatible [executable permission](http://linuxcommand.org/lts0070.php) on that binary for everyone and move it into device using ``` adb push LOCAL_FILE /data/local/tmp/ # LOCAL_FILE is the file path where busybox binary is located in PC . ``` Android 5.x users: ask Google for assistance. Here's my little script: ``` #!/system/bin/sh # Check if the busybox binary exists under /data/local/tmp/ or /system/xbin. Set the detected binary's path into the variable busybox or exit if file doesn't exist or executable permission is not set [[ -x /data/local/tmp/busybox ]] && busybox=/data/local/tmp/busybox || { [[ -x /system/xbin/busybox ]] && busybox=/system/xbin/busybox || { date +'busybox binary not found or executable permission is not set. Exiting' && exit; }; } # Check if the aapt binary exists under /data/local/tmp or /system/bin or /system/xbin. Set the detected binary's path into the variable aapt or exit if file doesn't exist or executable permission is not set [[ -x /data/local/tmp/aapt ]] && aapt=/data/local/tmp/aapt || { [[ -x /system/bin/aapt ]] && aapt=/system/bin/aapt || { [[ -x /system/xbin/aapt ]] && aapt=/system/xbin/aapt || { date +'aapt binary not found or executable permission is not set. Exiting' && exit; }; }; } # Validate input ! [[ "$1" == +([0-9a-zA-Z._]) ]] && { $busybox printf 'Permission field should not be empty or contain anything beyond these characters: a-zA-Z0-9._' && exit; } || perm=$1; # List package name of all the installed apps and save them in the file packages.txt under /sdcard pm list packages | $busybox sed 's/^package://g' | $busybox sort -o /sdcard/packages.txt $busybox printf "List of apps defining and/or depending on the permission $perm:\n\n"; # Take each line (a package name) from the file packages.txt. In the output of package service for that package name, see if the permission is granted or defined and set appropriate variable state. For different states, we're either dumping the label of the app using aapt, printing the status of define/granted permissions for package or simply moving on. while read line; do [[ `dumpsys package $line | grep -Eo "^[ ]+$perm"` ]] && granted=1 || granted=0; [[ `dumpsys package $line | grep -Eo "^[ ]+Permission[ ]+\[$perm\][ ]+\([a-zA-Z0-9]+\):"` ]] && defined=1 || defined=0; [[ $granted == 1 || $defined == 1 ]] && path=$(pm path $line | $busybox sed 's/^package://g') && label=$($aapt d badging $path 2>&1 | $busybox sed -ne '/application: label=/p' | $busybox cut -d "'" -f2); [[ $granted == 1 && $defined == 1 ]] && $busybox printf "$label ($line)\nDefined: Yes\nGranted: Yes\n\n"; [[ $granted == 1 && $defined != 1 ]] && $busybox printf "$label ($line)\nDefined: No\nGranted: Yes\n\n"; [[ $granted != 1 && $defined == 1 ]] && $busybox printf "$label ($line)\nDefined: Yes\nGranted: No\n\n"; done < /sdcard/packages.txt ``` Save the script in PC into a file named `perm_script.sh` and move it into /sdcard using ``` adb push LOCAL_FILE /sdcard/ # LOCAL_FILE is the path where you saved that file into PC ``` Run that file ``` adb shell sh /sdcard/perm_script.sh PERMISSION # replace PERMISSION with the android permission for which apps are to be shown ``` Demo output: ``` List of apps defining and/or depending on the permission android.permission.FLASHLIGHT: Android System (android) Defined: Yes Granted: No Automagic Premium (ch.gridvision.ppam.androidautomagic) Defined: No Granted: Yes MacroDroid (com.arlosoft.macrodroid) Defined: No Granted: Yes Google+ (com.google.android.apps.plus) Defined: No Granted: Yes ... Bluetooth (com.mediatek.bluetooth) Defined: No Granted: Yes DS Battery Saver Pro (com.rootuninstaller.batrsaverpro) Defined: No Granted: Yes Webkey (com.webkey) Defined: No Granted: Yes ``` Do note that all those apps and their permissions among other things can also be found in the file `/data/system/packages.xml`. --- (To get app's label using its package name, use GAThrawn's [answer](https://android.stackexchange.com/a/19866/96277) - works if only the app is available in Play Store; use Izzy's [answer](https://android.stackexchange.com/a/115664/96277) - works for any installed app.) Upvotes: 4 [selected_answer]<issue_comment>username_2: This worked for me (Android 8): ``` cmd appops query-op RUN_IN_BACKGROUND allow | sort ``` It shows which packages have `RUN_IN_BACKGROUND` mode enabled. Upvotes: 2
2015/08/05
1,897
6,553
<issue_start>username_0: My Samsung Tab keeps on resetting itself upon powering on, it goes to home screen and after a while (about 10 seconds) restarts itself. This keeps on and on until i shutdown the Tab. My Tablet has been drained of battery charge due to excessive playing of games of my nephews. So I Charged my Tablet for a while and left to get something in the kitchen. I Didn't see that one of my nephews immediately turned it on upon Minutes after I plugged it on the charger and this is what happened next, my other nephew accidentally unplugged the charger of my tablet. I saw what happened as I was returning in the living room. I heard 3 beeps and the tablet shut itself down immediately after. I tried to charge it again and tried to open and this is what happened it keeps on restarting and restarting. I have not taken my tablet to a technician yet. What should I do?<issue_comment>username_1: The first section is ideally supposed to be OS (on PC) independent. The solution heavily depends upon the output of *package* service. It has been successfully tested on Android 4.2.1, 5.0.2 and 5.1.1 - all these versions are not heavily modified from stock Android. Dependencies ------------ * Requires [adb](/questions/tagged/adb "show questions tagged 'adb'") to be setup in PC. * Requires *busybox* binary. If the device is rooted, install [Busybox](https://play.google.com/store/apps/details?id=stericson.busybox) app. Else, download busybox binary from [official source](https://busybox.net/downloads/binaries/latest/), rename the binary to *busybox*, set Linux compatible [executable permission](http://linuxcommand.org/lts0070.php) on that binary for everyone and move it into device using ``` adb push LOCAL_FILE /data/local/tmp/ # LOCAL_FILE is the file path where busybox binary is located in PC ``` * Requires *aapt* binary. If you're running a CM or its derivative ROM then ignore this requirement. Otherwise, for Android 4.x, you can consider downloading the binary from [here](http://android.izzysoft.de/downloads "A site maintained by our top user Izzy"), rename the binary to *aapt*, set Linux compatible [executable permission](http://linuxcommand.org/lts0070.php) on that binary for everyone and move it into device using ``` adb push LOCAL_FILE /data/local/tmp/ # LOCAL_FILE is the file path where busybox binary is located in PC . ``` Android 5.x users: ask Google for assistance. Here's my little script: ``` #!/system/bin/sh # Check if the busybox binary exists under /data/local/tmp/ or /system/xbin. Set the detected binary's path into the variable busybox or exit if file doesn't exist or executable permission is not set [[ -x /data/local/tmp/busybox ]] && busybox=/data/local/tmp/busybox || { [[ -x /system/xbin/busybox ]] && busybox=/system/xbin/busybox || { date +'busybox binary not found or executable permission is not set. Exiting' && exit; }; } # Check if the aapt binary exists under /data/local/tmp or /system/bin or /system/xbin. Set the detected binary's path into the variable aapt or exit if file doesn't exist or executable permission is not set [[ -x /data/local/tmp/aapt ]] && aapt=/data/local/tmp/aapt || { [[ -x /system/bin/aapt ]] && aapt=/system/bin/aapt || { [[ -x /system/xbin/aapt ]] && aapt=/system/xbin/aapt || { date +'aapt binary not found or executable permission is not set. Exiting' && exit; }; }; } # Validate input ! [[ "$1" == +([0-9a-zA-Z._]) ]] && { $busybox printf 'Permission field should not be empty or contain anything beyond these characters: a-zA-Z0-9._' && exit; } || perm=$1; # List package name of all the installed apps and save them in the file packages.txt under /sdcard pm list packages | $busybox sed 's/^package://g' | $busybox sort -o /sdcard/packages.txt $busybox printf "List of apps defining and/or depending on the permission $perm:\n\n"; # Take each line (a package name) from the file packages.txt. In the output of package service for that package name, see if the permission is granted or defined and set appropriate variable state. For different states, we're either dumping the label of the app using aapt, printing the status of define/granted permissions for package or simply moving on. while read line; do [[ `dumpsys package $line | grep -Eo "^[ ]+$perm"` ]] && granted=1 || granted=0; [[ `dumpsys package $line | grep -Eo "^[ ]+Permission[ ]+\[$perm\][ ]+\([a-zA-Z0-9]+\):"` ]] && defined=1 || defined=0; [[ $granted == 1 || $defined == 1 ]] && path=$(pm path $line | $busybox sed 's/^package://g') && label=$($aapt d badging $path 2>&1 | $busybox sed -ne '/application: label=/p' | $busybox cut -d "'" -f2); [[ $granted == 1 && $defined == 1 ]] && $busybox printf "$label ($line)\nDefined: Yes\nGranted: Yes\n\n"; [[ $granted == 1 && $defined != 1 ]] && $busybox printf "$label ($line)\nDefined: No\nGranted: Yes\n\n"; [[ $granted != 1 && $defined == 1 ]] && $busybox printf "$label ($line)\nDefined: Yes\nGranted: No\n\n"; done < /sdcard/packages.txt ``` Save the script in PC into a file named `perm_script.sh` and move it into /sdcard using ``` adb push LOCAL_FILE /sdcard/ # LOCAL_FILE is the path where you saved that file into PC ``` Run that file ``` adb shell sh /sdcard/perm_script.sh PERMISSION # replace PERMISSION with the android permission for which apps are to be shown ``` Demo output: ``` List of apps defining and/or depending on the permission android.permission.FLASHLIGHT: Android System (android) Defined: Yes Granted: No Automagic Premium (ch.gridvision.ppam.androidautomagic) Defined: No Granted: Yes MacroDroid (com.arlosoft.macrodroid) Defined: No Granted: Yes Google+ (com.google.android.apps.plus) Defined: No Granted: Yes ... Bluetooth (com.mediatek.bluetooth) Defined: No Granted: Yes DS Battery Saver Pro (com.rootuninstaller.batrsaverpro) Defined: No Granted: Yes Webkey (com.webkey) Defined: No Granted: Yes ``` Do note that all those apps and their permissions among other things can also be found in the file `/data/system/packages.xml`. --- (To get app's label using its package name, use GAThrawn's [answer](https://android.stackexchange.com/a/19866/96277) - works if only the app is available in Play Store; use Izzy's [answer](https://android.stackexchange.com/a/115664/96277) - works for any installed app.) Upvotes: 4 [selected_answer]<issue_comment>username_2: This worked for me (Android 8): ``` cmd appops query-op RUN_IN_BACKGROUND allow | sort ``` It shows which packages have `RUN_IN_BACKGROUND` mode enabled. Upvotes: 2
2015/08/05
2,252
8,308
<issue_start>username_0: I have a Nexus 5 and I have to use [Android File Transfert](https://www.android.com/filetransfer/) to copy/check my files. It's working but it's not enough for me. For example, if I want to see my picture, there is only a list view, **no thumbnail**. Also, if I want to upload a picture on a website, my phone doesn't shows up in Finder so, first I have to copy my file to my SSD then I can see it. Maybe it's possible to use Samba or anything else to make my Android device shows up directly in Finder ?<issue_comment>username_1: I was looking to accomplish the same thing - mounting some part of my S4's filesystem on my Mac - and was looking at the range of SMB servers available for Android. The one I've been using that checks off the most "just works" boxes is [SAMBADroid](https://play.google.com/store/apps/details?id=berserker.android.apps.sambadroid), which runs an SMB server on my local LAN over WiFi. The free version shares the external SD card by default, but I'll be checking the capabilities of the paid version to see if there are more export options. The only criticism I would have is that it's kind of slow, but from the standpoint of simplicity it's the best of the lot I tried. Upvotes: 0 <issue_comment>username_2: On Android 6, the following worked for me: Enable developer options (settings > about phone > keep tapping on 'build number') Settings > Developer options > Networking > Select USB Configuration > MTP (if it's already on MTP, switch to something else, then switch back to MTP). Upvotes: 0 <issue_comment>username_3: LG G4 Verizon, running Android 5.1: had the phone a year, and still unable to connect to 2008 Mac running Lion. Verizon, LG and Apple technicians have all failed. I finally "fixed" the problem by getting a USB card reader and mounting the SD card on the mac. For quick transfers, I got a Verbatum convertible thumb drive. But I miss the convenience I had with my Droid2. It worked. Upvotes: 0 <issue_comment>username_4: That is how Android File Transfer works for Mac, since Apple doesn't support MTP mode by default. The only way for this is to mount your device in USB Mass Storage Mode (because by default, Mac supports FAT32 and vFAT file systems). This mode was available in Android till Jelly Bean. Since KitKat (4.4+), USB Mass Storage (UMS) mode is removed. To enable UMS in Android 4.4+, there are a few apps that you can try, which needs root access, like: a) **[USB Sharer](https://market.android.com/details?id=os.devwom.usbsharer)** (This is a paid app, but really works. There's a evaluation version of that app which is free for 7 days; you can try that before buying) b) **[USB Mass Storage Enabler](http://forum.xda-developers.com/android/apps-games/app-universal-mass-storage-enabler-beta-t3240097)** (This is an app that can mount the memory card in UMS mode, created by me) Upvotes: 3 <issue_comment>username_5: There is an application called [SyncMate](https://mac.eltima.com/sync-mac-android.html) that claim: > > SyncMate can easily sync personal data, media files, folders and lots more between your Mac and Android device. **Mounting Android device as Mac disk** or managing phone’s SMS on Mac - SyncMate has it all handled perfectly. > > > But you have to pay to obtain this application. Another solution is to use [jmtpfs](https://github.com/JasonFerrara/jmtpfs): > > jmtpfs is a FUSE and libmtp based filesystem for accessing MTP (Media Transfer > Protocol) devices. It was **specifically designed for exchaning files between > Linux (and Mac OS X) systems and newer Android devices that support MTP but not USB Mass Storage**. > > > The goal is to create a well behaved filesystem, allowing tools like find and > rsync to work as expected. MTP file types are set automatically based on file > type detection using libmagic. Setting the file appears to be necessary for > some Android apps, like Gallery, to be able to find and use the files. > > > It's free but less user friendly. Upvotes: 2 <issue_comment>username_6: Recently I've been using HandShaker. It's a *little bit tricky* to install because I had it from a Chinese forum but maybe this is not the only place where to find it. What is good is that it is wireless (WiFi), and fast. A little bit like AirDroid but without limitation. I just found a nice and [easy to follow tutorial](http://www.teamandroid.com/2017/03/19/handshaker-android-files-transfer-mac/). It is a little bit off topic because this doesn't resolve the initial issue of USB but it's worth a look. Upvotes: 1 <issue_comment>username_7: It is possible to use the "Android Debug Bridge" command line tool. It is intended to test and install apps, however it enables developers to run commands like `adb ls` to list all files, and `adb pull` . See more here <https://developer.android.com/studio/command-line/adb.html> Upvotes: 2 <issue_comment>username_8: Transferring files between macOS and Android or any other MTP devices has always been a nightmare. I have tried a lot of apps and was disappointed with the poor support for Android phones on macOS. Either they were too slow, bug-ridden or too expensive. Finally, all these made me sit and write a macOS MTP app for myself. Well, then I thought to give it to the community. **OpenMTP | Advanced Android File Transfer Application for macOS** is safe, transparent, open-source and shall be free for a lifetime! Download latest version of OpenMTP from <https://ganeshrvel.github.io/openmtp> GitHub repo: <https://github.com/ganeshrvel/openmtp> Upvotes: 5 <issue_comment>username_9: Try using **sshfs**. See the answer for this question: <https://askubuntu.com/questions/893090/how-do-i-mount-my-androids-filesystem-over-the-network-with-sshfs> Upvotes: 1 <issue_comment>username_10: ADB (android debug bridge) -------------------------- The fastest and officially supported method to transfer files to/from an android device is via [**`adb`**](https://developer.android.com/studio/command-line/adb) (Android Debug Bridge) which will be installed automatically if you install [Android Studio](https://developer.android.com/studio). Once you activate Developer Options on on your phone and enable [Android Debugging](https://developer.android.com/studio/debug/dev-options) in settings, and connected to your android device via adb, in Android Studio you can 'mount' the device via **View** > **Tool Windows** > **Device File Explorer**. For details see <https://developer.android.com/studio/debug/device-file-explorer> Mounting an android device in Finder via ssh -------------------------------------------- There are no ootb ways to do it, but as mentioned in other answers you can achieve it by starting an ssh server on android and then mounting the android file system on your computer with something like [**`sshfs`**](http://wiki.archlinux.org/index.php/SSHFS). *The steps below are approximate and might need tweaking and adjusting for your specific case.* 1. On your android install <https://play.google.com/store/apps/details?id=com.termux> and then start `sshd` as described at <https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server>. You'll need to configure either password or rsa-key based authentication. As an alternative you might also want to check out other [SSH servers for android](https://play.google.com/store/search?q=ssh%20server&c=apps). 2. On your computer install `sshfs` — for debial-like linuces: `apt install sshfs`; for mac `brew install sshfs`. 3. Note down the IP address of your android device, the termux user name (type `whoami` to see it), and the port of the ssh server (on most androids the IP can be seen by viewing the details of the wifi connection under Settings > Wifi). Also set a termux user password by typing `passwd`. 4. Mount the android filesystem on your computer with a command similar to (replace with the correct ssh server user and IP): ``` sshfs -p 8022 PUT_TERMUX_USER_NAME_HERE@192.168.1.123:/ ~/some_existing_folder -oauto_cache,reconnect,defer_permissions,noappledouble,negative_vncache,volname=myandroid ``` (the flags are specific for macos, for linux you'll need to adjust them). For mac you'll also need to install [osxfuse](https://github.com/osxfuse/osxfuse/wiki/SSHFS). Upvotes: 0
2015/08/05
861
3,775
<issue_start>username_0: I would like to purchase a Samsung Galaxy S6. One of the main reasons for the choice of device is the (apparently) good fingerprint sensor. I would like to / have to encrypt my phone (my employer requires this but, honstly, I would do it anyway) and I am very tired of typing my PIN every single time I want to unlock my phone. Hence a fingerprint sensor is a must-have on my next phone. Here are my questions Google could not answer for me: 1. Is it possible to use the "unlock with fingerprint" feature with an encrypted phone, or is this authentication method considered too weak? Strangely there is no information about that. 2. I would like the phone to behave in the following way (like an iPhone 6): After booting the device I am asked for my (potentially complicated) passphrase. After that I am allowed to use my fingerprints to unlock. After some time (configurable, maybe some hours?) I would be asked for the passphrase again. Benefit: Convenience through the fingerprint unlock, increased security because if somebody tried to force me to put my finger on the sensor (or had a rubber copy of my finger) it would still be no good on a freshly rebooted phone or after some hours. Basically this means having two unlock schemes configured at the same time, fingerprints and passphrase/PIN. Former would be used for convenience, latter for security. Putting in the passpharse a few times per day would be perfectly acceptable to me. Is this possible with a Samsung Galaxy S6 with stock ROM?<issue_comment>username_1: I found myself an answer to part one of the question: Yes, on the Galaxy S6 you can apparently use the fingerprint sensor to unlock the device after encrytion. Infomation found here: <http://forum.xda-developers.com/galaxy-s6/help/fingerprint-unlock-device-encryption-t3081102> Has somebody something to say for part two? :-) Edit 2015-10-06: I got my S6 last week. Here is the story: * Encrypting the device and using fingerprint unlock does indeed work. :-) * When configuring fingerprints you have to set a backup password. * The backup password is used to encrypt the device's encryption key. --> Whenever you reboot the phone you must enter it. You cannot boot the phone using fingerprints alone. * After a few unsuccessful attempts to unlock the device using the fingerprint sensor the device forces you to enter the backup password. * I could not find some kind of timer to configure. If you want to force the input of the password you have to power down the device or use an unconfigured finger a few times in a row. This is a near-perfect solution for me (except for the timer issue, but I can live without...). Hope this information helps somebody! Upvotes: 2 <issue_comment>username_2: The answer is it depends on the security policy settings deployed by your corporate IT. If you are giving corporate admin control over your device then their own security policies may require you to use a four digit pin or more complicated alphanumerical passcode and prevent you from using the fingerprint reader as a means for logging on the device (from a secreenlock). If they also require full phone storage encryption you will have a separate password to use when booting the phone. You can not use fingerprints to authenticate on boot since the system hasn't booted at that point. However, if your IT allows fingerprints to be used for lock screen authentication, then you will be able to use the fingerprint scanner to unlock the phone between uses. If the phone is turned off and back on, you would be prompted for the password that was set during the full storage encryption setup process and would then use your fingerprint for the lock screen until the phone is turned off and back on. Upvotes: 0
2015/08/05
408
1,811
<issue_start>username_0: I have an HTC desire 820s running on Kitkat 4.4.4. I have set phone storage as my default write disk in Settings. However, when I open ES file explorer, I always find that many folders named like *ucbrowser*, *whatsapp*, *blackmart* etc., have been created in my external card. Even when I delete them all and check after sometime, I find that they have been recreated. Can you tell me how to stop these folders from getting created? I want them to be created in my internal SD card, not in external SD card.<issue_comment>username_1: Application storage location setting (internal or external SD card) in Android system settings involves location of application's private files such as databases or preferences. These files cannot be accessed by user unless the user has root privileges. Application may create additional folders on it's own on your external SD card and nothing can be done about that from the perspective of the system. This is your case. The only thing is to check settings inside the app itself that could offer to disable saving of additional data. I'm not 100% percent sure what you mean by "i have set phone storage as my default write disk" since as far as I know there is no system wide setting for default application storage location. If you edit your question I may provide additional info in my answer. Upvotes: 0 <issue_comment>username_2: In KitKat by default, non-system apps (for example Es file manager) cannot make changes to the external SD card outside of their data directory due to security policies. To get around this issue, you can use your device's built in file manager to manage the external SD card. If your device doesn't have a system file manager, you'll have to root the device to give Es full access to your storage. Upvotes: 1
2015/08/05
336
1,075
<issue_start>username_0: I have a Xiaomi Redmi Note 4G, and for few days my battery drains as hell. I checked the running processes, and found that the cause is `mdnsd`. Is there a way to find which app calls this process to run? (Click image to enlarge) [![IMG: ](https://i.stack.imgur.com/UBXkh.png)](https://i.stack.imgur.com/UBXkh.png) [![IMG: ](https://i.stack.imgur.com/9faVs.png)](https://i.stack.imgur.com/9faVs.png)<issue_comment>username_1: În my case it was Xiaomi's Uniplay Service, which I've frozen, rebooted and the simptom went away. You have to be rooted to be able to disable or uninstall Xiaomi apps and services. Upvotes: 0 <issue_comment>username_2: Not permament solution, but so far the best solution. On rooted phone : 1. use ES File Explorer (or any File Explorer with Root access) 2. go to device/system/bin 3. select the mdnsd file 4. open properties 5. open permissions 6. uncheck the execute permissions [![enter image description here](https://i.stack.imgur.com/04Bic.png)](https://i.stack.imgur.com/04Bic.png) Upvotes: 3 [selected_answer]
2015/08/05
1,628
6,021
<issue_start>username_0: In Android, it's possible to search for a specific setting by clicking the magnifying glass in the top right corner of the Settings app and typing. However, I haven't found a way to remove earlier search queries. I have recently misspelled a word, and it always pops up when I search for something else. Is there a way to clear the search history, or, better, to remove a specific search?<issue_comment>username_1: You can try to clear cache or data of Settings application. Do this by opening the Settings application and opening Apps. Scroll sideways to the All tab and find the Settings application. There press the Clear cache button. If this does not help try pressing the Clear data button and confirming the action. Upvotes: 0 <issue_comment>username_2: Clearing the Settings App data will **not** reset any of your settings to their original state, but should clear the search history. --- In the settings, navigate to your apps and find **Settings** and tap on **Clear Data**. The app should close and when opened back up, the search history should be cleared. Upvotes: 2 <issue_comment>username_3: On Android Lollipop, ``` Settings > Apps > ALL > Settings > Clear Data ``` A confirmation dialog asking "Delete app data?" will open and on pressing `OK` the Settings app menu closes by itself and your previous searches won't be displayed. *Note: This will not change/affect your Phone Settings anyway but only clears the Setting's App Data.* Upvotes: -1 <issue_comment>username_4: **Note**: I've tested this solution on CM12. --- Three answers saying the same thing but are rather extreme in their approach. I want to remove one query out of dozens I made. Why should I remove everything just to remove one? Not fair! First things first: > > In Android, it's possible to search for a specific setting by clicking the magnifying glass in the top right corner of the settings app and typing. > > > I don't think that's true for any stock ROM. This seems to be a CM specific feature, and based on the tags, the ROM is CM12.1. It is an assumption that if you're using Cyanogenmod then the device would be rooted. Considering it to be the case, install [SQLite Editor](https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor). The queries that you make using the lens icon are saved in a table `saved_queries` with time-stamp, under the database `search_index.db`, located in the data directory of **Settings** (`/data/data/com.android.settings/databases/search_index.db`). ### Instructions 1. Launch **SQLite Editor** 2. Under **Apps** tap **Settings (`com.android.settings`)** 3. Tap **search\_index.db**, or do a **Full Scan** if you don't see the entry 4. Go to **saved\_queries** 5. Choose the search query you don't want to see in **Settings**, and select the trash icon at the top Changes would take place immediately. If not, force-close the Settings app from **Settings → Apps → All → Settings**, and then proceed with aforesaid instructions. You may optionally reboot as well. --- I heard that you like fancy stuff --------------------------------- You can use [adb](/questions/tagged/adb "show questions tagged 'adb'") to achieve the goal. The commands would be: 1. This command would give you the schema of `saved_queries` table: ``` adb shell su -c 'sqlite3 /data/data/com.android.settings/databases/search_index.db ".schema saved_queries"' ``` Output would be: ``` CREATE TABLE saved_queries(query VARCHAR(64) NOT NULL, timestamp INTEGER); ``` The columns are `query` and `timestamp`. Use [this resource](http://www.tutorialspoint.com/sqlite/sqlite_select_query.htm) to know the details about sqlite commands. 2. List all the entries in the table `saved_queries`: ``` adb shell su -c 'sqlite3 /data/data/com.android.settings/databases/search_index.db "SELECT * from saved_queries"' ``` Output would be like: ``` pin|1437892238443 berserk|1438802356524 manga|1438802367295 ``` The output is in the order of schema you saw in the last command. 3. Select and delete your search query from the table: ``` adb shell su -c 'sqlite3 /data/data/com.android.settings/databases/search_index.db "DELETE from saved_queries where query=\"pin\""' ``` You can confirm from the last command that your query is gone for good from the table, and so as from the search entries listed under lens icon of **Settings** app. 4. As said in first part, you can force-close the **Settings** app if needed. Do: ``` adb shell su -c 'am force-stop com.android.settings' ``` You can use a terminal app like [Terminal Emulator](https://play.google.com/store/apps/details?id=jackpal.androidterm) to achieve the goal as well. Simply do `su`, and then follow the `sqlite3` commands (i.e. remove `adb shell su -c ''` from the commands). --- Screenshots before and after tweaks: ------------------------------------ (Click image to enlarge; hover to see detail) [![IMG: Notice 'rofl'](https://i.stack.imgur.com/HgHYn.png)](https://i.stack.imgur.com/HgHYn.png "Notice 'rofl'") [![IMG: Notice that 'rofl' is now gone](https://i.stack.imgur.com/NLKfa.png)](https://i.stack.imgur.com/NLKfa.png "Notice that 'rofl' is now gone") --- For Non-rooted devices ---------------------- No salvation other than doing **Settings → Apps → All → Settings → Force Stop → Clear data**, as suggested in other answers. (Don't bother about this step because your custom settings are saved in **Settings Storage** app (`com.android.providers.settings`)). You can't access the data directory of **Settings** app since you don't meet the privileges to access it. Furthermore, you can't do tinkering with backup taken using `adb backup` either as [`android:allowBackup="false"`](https://developer.android.com/guide/topics/manifest/application-element.html#allowbackup) is declared in Manifest file of **Settings**, which means no backup is allowed at all. ![](https://i.stack.imgur.com/BSumi.png "See the entry under curve") We're good to go now! Upvotes: 2
2015/08/05
360
1,304
<issue_start>username_0: [OL Chiki](https://en.wikipedia.org/wiki/Ol_Chiki_alphabet) characters are not displaying on Android phone whose Unicode range is [1C50-1C7F] . I know of only two processes to display such characters: * By installing OL Chiki Unicode font. But my Android phone does not support font installation. * By rooting the phone for installing fonts. But I do not want to root. So, how can I install these Unicode, or how to read or display these Unicode characters on my phone?<issue_comment>username_1: Not all android mobile handsets support Ol Chiki, may I know which brand & model phone you are using, and whether you want to see the menu in Ol Chiki or just want to write in Ol Chiki. If you just want to see the menu, try out [this video link](https://www.youtube.com/watch?v=Q-BmCpiZ_lk) & if you want to type in Ol Chiki, visit [this site](http://olchikidr.blogspot.in/2015/07/android-re-olchiki-typing.html) for fonts download search on google. Note : By implementing these steps not all locations may show Ol Chiki as some are system driven & which cannot be override by these methods. Upvotes: 0 <issue_comment>username_2: If your device is rooted, you can install [Santali Ol-Chiki Font](https://sourceforge.net/projects/santaliolchiki/) (a Unicode font). Upvotes: -1
2015/08/05
474
1,820
<issue_start>username_0: I tried running a script that I [got online](http://smartphoneclinics.com/one-click-script-to-root-lg-escape-2-h443). I downloaded the whole file which included the `.bat` file. I tried running the `.bat` file while forgetting that I needed to download the drivers (from the same website). I canceled the script, got the drivers and tried running the script again - all the while messing around in developer mode (I hadn't known of the feature). It ran successfully, but since it was running on my old family PC with Windows 7 running, it froze in the middle of installing the drivers, and I had to install them a second time. This time, the installation finished, but a notification popped up saying that the drivers were not successfully installed. Since then, my phone will not move past the black start up screen, and I have to take the battery out in order to turn it off. I would like to return the device in any condition, whether it be data free or not. Thank you for your time.<issue_comment>username_1: Not all android mobile handsets support Ol Chiki, may I know which brand & model phone you are using, and whether you want to see the menu in Ol Chiki or just want to write in Ol Chiki. If you just want to see the menu, try out [this video link](https://www.youtube.com/watch?v=Q-BmCpiZ_lk) & if you want to type in Ol Chiki, visit [this site](http://olchikidr.blogspot.in/2015/07/android-re-olchiki-typing.html) for fonts download search on google. Note : By implementing these steps not all locations may show Ol Chiki as some are system driven & which cannot be override by these methods. Upvotes: 0 <issue_comment>username_2: If your device is rooted, you can install [Santali Ol-Chiki Font](https://sourceforge.net/projects/santaliolchiki/) (a Unicode font). Upvotes: -1
2015/08/05
3,336
12,831
<issue_start>username_0: If you thought that disabling incognito mode was enough to protect your children, you're probably mistaken. Let me explain. Dear readers: Disabling incognito mode may be completely insufficient. ====================================================================== Please remember that, even if you disable Google Chrome's incognito mode, there are other ways for device users to browse the Web without leaving any tracks. Even technologically-illiterate kids **can ask Google or their friends what to do**. So it's wise to also install a good filter. I haven't researched the set of available filters very recently. As of a few years ago: Free options include Qustodio and [Google Family Link](https://families.google.com/familylink/). The free version of Norton Family is perhaps not as good. If you're willing to pay, I've read that [Netspark](https://www.netsparkmobile.com/) or GenTech are better than the free products. In general, Android filtering software is not as good as desktop filtering software. You may also want to collect up your spouse's and kids' new and old Android devices, and to lock them all in your bedroom every night. Dear readers: Some thoughts about night time. ============================================= "When kids have their own devices, they are tempted to be in touch constantly — and maybe even feel obligated to be in touch when they don't want to." If your kid gets a Facebook message at 1 a.m., it might be rude for her to [ignore it](https://fortune.com/2018/09/06/20-minutes-respond-to-text-rude-google-research/) until the morning, and so she might reluctantly end up in a long conversation. (Based on [this source](https://ifstudies.org/blog/a-smartphone-will-change-your-child-in-ways-you-might-not-expect-or-want).) The solution to the late-night messaging problem is this: Late at night, there are ways to prevent your kid from using her phone, tablet, and laptop. You can keep them locked in your own bedroom to charge. Or, for Android devices, you can use Google Family Link to set a bedtime: please see [here](https://www.salon.com/2019/04/28/how-to-turn-kids-phones-off-at-night-or-anytime-really_partner/) or [here](https://support.google.com/families/answer/7103340). This will also make it harder for your kid to **secretly spend hours** on addictive pursuits: YouTube, Facebook, pornography, and games. Dear readers: Please test your filter immediately after installation, and again at least yearly. ================================================================================================ Once you install a filter, I suggest: Immediately test to make sure that it works well. Go to a few adult websites and make sure they're blocked. If you have monitoring enabled, check to see that it does what it's supposed to. If you've set a bedtime, then check yearly to make sure that the phone actually locks itself at bedtime. Even if a filter's control panel claims that it's working, **the filter might not actually be working at all**. It's wise to test it yourself. If you'd like to test the filter even further, try to visit one or two wikiHow [articles](https://www.wikihow.life/Turn-On-Your-Girlfriend) with [mature](https://www.wikihow.com/Have-Sex-During-Your-Period) [content](https://www.wikihow.com/Have-Phone-Sex). If the filter is really good, it might block them. I don't have high hopes. Test your filter again periodically. At least once a year; preferably more often. Retest after major operating-system or browser upgrades, and again whenever a supplemental browser (e.g. Firefox) is installed. Filters are not foolproof. Many kids can bypass the filters without the parents knowing. But a filter may still be better than no filter. Background to my question ========================= Google Chrome for Android includes a feature called [incognito mode](http://en.wikipedia.org/wiki/Privacy_mode). This feature, when I activate it, is designed to help prevent Chrome from automatically remembering and storing information about which websites I've visited in the past. To help [protect myself](https://android.stackexchange.com/questions/117299/when-you-lock-down-a-lollipop-device-to-disable-chromes-incognito-mode-this-cr), I've installed the free version of [Qustodio](https://play.google.com/store/apps/details?id=com.qustodio.qustodioapp&hl=en) (a Web filtering/monitoring app) on my Android device. Unfortunately, as soon as the user enters incognito mode, Qustodio for Android stops working. What are my options? Well: * I could try upgrading to Android 6 or higher, or to CyanogenMod 13 or higher, or could buy a device that ships with one of these OSes preinstalled. A support knowledge base article on the Qustodio website claims that, on these operating systems, Qustodio works fine even when incognito mode is active. But I suspect that this claim may be inaccurate. I don't know for sure. Please leave a comment below. * I could do the following procedure: 1. Install [the free version of NetAddictSoft](https://netaddictsoft.com/UK/PAGE_Liste_des_produits_du_controle_parental_NetAddictFree.php) plus the [Brehm browser](https://play.google.com/store/apps/details?id=com.netaddictfree.nafbrowser). Mr. Brehm's claims aren't all correct; in truth, there's an easy way to clear the Brehm browser's history. But the free version of NetAddictSoft claims to be able to monitor all use of the Brehm browser and email out weekly usage reports. (Note that, on most devices, NetAddictSoft can only monitor usage of the Brehm browser, and [cannot](https://netaddictsoft.com/UK/FAQ071.php) monitor usage of Chrome or Firefox or any other browser.) 2. Configure [Smart App Lock](http://play.google.com/store/apps/details?id=com.sp.protector.free) or similar to prevent the use of other browsers. (Note: Smart App Lock isn't perfect, and it's possible to defeat it.) I might do the above procedure, but: My device has an old Android version installed. For me to upgrade to a newer Android version, I'd have to switch to a third-party ROM, and this would be a hassle. * I could spend money on a more-powerful filter, such as NetSpark or GenTech. But I'd rather not spend any money. * I could [contact Qustodio's support team](https://www.qustodio.com/en/help/) and send in a bug report. But I hear they can't really help. The feature is experimental. [(Source.)](https://www.qustodio.com/en/help/article/1796566/) And it's been experimental for years now. It's not really fully supported. * I could uninstall Qustodio, could install Norton Family, and could try Norton Family's incognito-detection feature. But I don't want to bother doing that either. * I could look into why Qustodio doesn't work when incognito mode is active, then file a feature request with Google to ask them to fix the problem. * I could sell my phone and buy an iPhone or iPad. They include built-in Web filtering. I don't know whether or not it's any good. * I could sell my phone and switch to a phone without built-in Wi-Fi. Perhaps a Palm Treo or Centro or an old BlackBerry. But I don't want to choose any of the above options. My question =========== On desktop OSes, I already know that it's possible to disable Google Chrome's incognito mode. But I also use Android. How can I disable Google Chrome's incognito mode on my Android device? Please assume the following: * I always run the latest version of Android. * My device is owned and controlled by me. It is **not** administered by a Google Apps domain administrator at my workplace or my school. And so I cannot [use the Google Apps admin console to disable incognito mode](https://support.google.com/chrome/a/answer/2657289?hl=en). (I also don't want to pay a fee in order to sign up for Google Apps for Work.) * I am willing to root my device. I thank Android.SE user [Lucky](https://android.stackexchange.com/users/27149/lucky) for inspiring this question.<issue_comment>username_1: If you have rooted your phone, you can build and push a system [ChromeCustomizations app](https://github.com/scheib/chromium/tree/master/chrome/android/examples/partner_browser_customizations_provider). This installs a content provider which, among other things, allows disabling Incognito mode in Chrome. This uses the officially-supported way that device manufacturers use in order to control the starting page and default bookmarks of Chrome on their devices. Upvotes: 2 <issue_comment>username_2: You could try [Incoquito](https://play.google.com/store/apps/details?id=com.leminolabs.paid.incoquito) - it's a paid app and allows you to either automatically close all incognito tabs when the screen turns off or to disable incognito browsing altogether by preventing incognito tabs from being opened at all. It includes a monitoring mode as well as logging of events/activities related to incognito browsing in Chrome as well as the ability to hide the app from the launcher. It also includes the following experimental features (as requested by several parents): * Log videos played within the YouTube app * Uninstall detection & prevention * Android settings guard * Block access to YouTube app Disclosure: I am the developer of Incoquito. Upvotes: 2 <issue_comment>username_3: I have just released a new app which blocks incognito tabs from Chrome, [Incognito Away](https://play.google.com/store/apps/details?id=com.smajenterprise.incognitoaway). The Chrome tabs are blocked instantly, as soon as some tries to open it. You can also have a pop-up message appear when some does try and open an incognito tab, to serve as a helpful reminder or warning. It also has Scheduled Blocking, meaning that you can choose to if you want, to have incognito tabs only blocked from 6PM to 9AM every day for example. Additionally, there is an inbuilt feature to hide the app’s icon from the launcher, so that it’s harder for someone to remember or find that the app is installed. Pairing Incognito Away, with those steps above, and a Web Filter like Qustodio would make it pretty rock solid in preventing one from browsing privately. Note: I am the developer of Incognito Away. If you have any questions, feel free to get in touch :) PS: I know there is already another accepted answer, but this app has some additional features which may be of benefit (as discussed above) :) Upvotes: 0 <issue_comment>username_4: As explained by tealhill you can install NetAddictsoft and the NetAddict browser without incognito mode. In NetAddictSoft, you can block any App and there is an option to forbid all the browsers excepted NetAddict Browser. Disclosure: I am the developer of NetAddictSoft. <http://netaddictsoft.com> Upvotes: 1 <issue_comment>username_5: Google Family Link ================== If you set Google Family Link to protect an Android device, it will automatically disable Google Chrome's incognito mode on that device. (Google says so in [this article](https://support.google.com/families/answer/7087030). I myself have tried Family Link and verified that the article is correct.) Family Link can also do Web filtering, screen-time monitoring, and device-location tracking. But these features are optional; you may disable them if you wish. The usual Family Link setup is as follows: One device (a computer or mobile device) is the "parent" device, and a second device is the "child" device. Incognito mode will only be disabled on the "child" device. If you'd like to get started, you may [set up a "parent" account now](https://families.google.com/familylink/). It has quirks ============= Google Family Link has some quirks. I've described the biggest quirk I've noticed, and its workaround, in [another thread](https://android.stackexchange.com/questions/204438/what-to-do-when-you-tell-google-family-link-to-stop-supervising-a-device-but-it). I hope that Google will work on eliminating the quirks in the future. Despite its quirks, Family Link works reasonably well already, and I think it's a good way to disable incognito mode. It may be easy to defeat ======================== I'm not sure whether or not Family Link is easy for crafty children to defeat. But, in general, there are ways to defeat most parental-control software tools. It's wise to buy your kids a flip phone with no data plan, and a non-portable computer which is permanently stored in a public room such as the living room. It's also wise to store all of your personal cellphones, laptops, and tablets in your bedroom at night, so that your kids can't secretly use them. Upvotes: 2 [selected_answer]<issue_comment>username_6: You could install [Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate) from Play Store and create a flow that looks for Incognito mode notification and automatically clicks it to close all Incognito tabs. Upvotes: 0
2015/08/05
5,422
14,863
<issue_start>username_0: CyanogenMod 12 and 12.1 ['Encrypt phone' setting is broken](https://jira.cyanogenmod.org/browse/CYAN-6670), and has been for quite a while. Is there any way to encrypt the phone in some other fashion? Can CM be sideloaded onto a phone with an encrypted /data directory? Are there any other ways to keep your data safe and sound? The device I'm working on is a Verizon LG G3.<issue_comment>username_1: There are low(er)-level commands that can be used in a shell to encrypt your user data partition. Disclaimer/Warning: the following instructions **will wipe your data**, ensure that you make a backup if needed. Following these steps, you *should* be able to wipe your data partition and have it encrypted afterwards (similar to a factory reset): 1. Boot your phone normally (either recovery does not work anymore, or I ran into a different issue). 2. Ensure that *USB debugging mode* (adb) and *Root access* for ADB is enabled. 3. Enter a root shell with `adb root` followed by `adb shell`. 4. Optional: watch logs by invoking `adb logcat` in another shell. 5. Enter this command, type your password and press Enter. This will actually set your password. This command reads one line of input (`head -1`), strips the trailing newline from Enter (`tr -d '\n'`) and converts it to a hexadecimal representation (`hexdump ...`). If it looks scary or if you are not sure what this command does, see below. ``` vdc cryptfs enablecrypto wipe password $(head -1 | tr -d '\n' | hexdump -ve '1/1 "%.2x"') ``` 6. If everything goes okay, your device will set keys and reboot to complete the encryption. The above `vdc` command ("Volume Daemon Client") communicated with `vold` (Volume Daemon) has some subcommands like `cryptfs` for encryption. The `enablecrypto` subcommand has two modes: `wipe` (clear `/data` completely) and `inplace` (supposedly applying encryption while copying your original `/data` inside the container). Then, four options are available starting with Android 5.0, one of them is `password` which accepts a single hexadecimal sequence as key. Thus if your password is `foo`, then the hexadecimal representation is `<PASSWORD>` (`f` is `66` in hex, `o` is `6f`, see <http://www.asciitable.com/>). The command for this is: ``` vdc cryptfs enablecrypto wipe password <PASSWORD> ``` This was tested on a Nexus 5 (code name hammerhead, running cm-12.1-20150814) which has a separate partition for storing metadata. It is **important** that the userdata partition has the `encryptable` flag set followed by either the path to a partition or the special string `footer`. An (abbreviated) line from my `/fstab.hammerhead` file: > > /dev/block/platform/msm\_sdcc.1/by-name/userdata **/data** ext4 ...,check,**encryptable**=**/dev/block/platform/msm\_sdcc.1/by-name/metadata** > > > When the special string `footer` (`encryptable=footer`) is present, then 16 KiB at the end of the data partition is used to store encryption metadata. For further reading, see: * <https://source.android.com/devices/tech/security/encryption/> --- Appendix: logcat excerpt from the moment I executed the encryption command until it finishes and reboots (omitting unrelated graphics messages at the end). Note that this Nexus 5 has hardware-accelerated crypto (QSEECom). ``` --------- beginning of main 08-16 12:57:15.459 W/DrmManagerClientImpl(Native)( 2108): DrmManager server died! 08-16 12:57:15.459 I/ServiceManager( 184): service 'drm.drmManager' died 08-16 12:57:15.467 D/Cryptfs ( 186): Just asked init to shut down class main 08-16 12:57:15.470 D/Cryptfs ( 186): unmounting /mnt/shell/emulated succeeded 08-16 12:57:15.599 I/ServiceManager( 184): service 'media.audio_flinger' died 08-16 12:57:15.599 I/ServiceManager( 184): service 'media.player' died 08-16 12:57:15.599 I/ServiceManager( 184): service 'media.camera' died ... 08-16 12:57:16.695 D/Cryptfs ( 186): unmounting /data succeeded 08-16 12:57:16.695 D/QSEECOMAPI: ( 186): QSEECom_get_handle sb_length = 0x2000 08-16 12:57:16.696 D/QSEECOMAPI: ( 186): App is already loaded QSEE and app id = 2 08-16 12:57:16.697 I/Cryptfs ( 186): keymaster version is 3 08-16 12:57:16.697 D/QSEECOMAPI: ( 186): QSEECom_dealloc_memory 08-16 12:57:16.697 D/QSEECOMAPI: ( 186): QSEECom_shutdown_app, app_id = 2 08-16 12:57:16.697 D/QSEECOMAPI: ( 186): QSEECom_get_handle sb_length = 0x2000 08-16 12:57:16.697 D/QSEECOMAPI: ( 186): App is already loaded QSEE and app id = 2 08-16 12:57:18.058 D/QSEECOMAPI: ( 186): QSEECom_dealloc_memory 08-16 12:57:18.058 D/QSEECOMAPI: ( 186): QSEECom_shutdown_app, app_id = 2 08-16 12:57:18.058 I/Cryptfs ( 186): Using scrypt with keymaster for cryptfs KDF 08-16 12:57:18.208 D/BootAnimation( 2683): Use save memory method, maybe small fps in actual. 08-16 12:57:18.208 E/QCOM PowerHAL( 2683): Failed to acquire lock. 08-16 12:57:18.691 D/QSEECOMAPI: ( 186): QSEECom_get_handle sb_length = 0x2000 08-16 12:57:18.691 D/QSEECOMAPI: ( 186): App is already loaded QSEE and app id = 2 08-16 12:57:18.692 I/Cryptfs ( 186): Signing safely-padded object 08-16 12:57:18.797 D/QSEECOMAPI: ( 186): QSEECom_dealloc_memory 08-16 12:57:18.797 D/QSEECOMAPI: ( 186): QSEECom_shutdown_app, app_id = 2 08-16 12:57:20.056 I/Cryptfs ( 186): Using scrypt with keymaster for cryptfs KDF 08-16 12:57:20.690 D/QSEECOMAPI: ( 186): QSEECom_get_handle sb_length = 0x2000 08-16 12:57:20.691 D/QSEECOMAPI: ( 186): App is already loaded QSEE and app id = 2 08-16 12:57:20.691 I/Cryptfs ( 186): Signing safely-padded object 08-16 12:57:20.796 D/QSEECOMAPI: ( 186): QSEECom_dealloc_memory 08-16 12:57:20.796 D/QSEECOMAPI: ( 186): QSEECom_shutdown_app, app_id = 2 08-16 12:57:21.429 I/Cryptfs ( 186): Enabling support for allow_discards in dmcrypt. 08-16 12:57:21.429 I/Cryptfs ( 186): load_crypto_mapping_table: target_type = crypt 08-16 12:57:21.429 I/Cryptfs ( 186): load_crypto_mapping_table: real_blk_name = /dev/block/platform/msm_sdcc.1/by-name/userdata, extra_params = 1 allow_discards 08-16 12:57:21.431 I/Cryptfs ( 186): Making empty filesystem with command /system/bin/make_ext4fs -a /data -l 13725837312 /dev/block/dm-0 08-16 12:57:21.447 I/make_ext4fs( 186): SELinux: Loaded file_contexts from /file_contexts 08-16 12:57:21.447 I/make_ext4fs( 186): Creating filesystem with parameters: 08-16 12:57:21.447 I/make_ext4fs( 186): Size: 13725835264 08-16 12:57:21.448 I/make_ext4fs( 186): Block size: 4096 08-16 12:57:21.448 I/make_ext4fs( 186): Blocks per group: 32768 08-16 12:57:21.448 I/make_ext4fs( 186): Inodes per group: 8144 08-16 12:57:21.448 I/make_ext4fs( 186): Inode size: 256 08-16 12:57:21.448 I/make_ext4fs( 186): Journal blocks: 32768 08-16 12:57:21.449 I/make_ext4fs( 186): Label: 08-16 12:57:21.449 I/make_ext4fs( 186): Transparent compression: none 08-16 12:57:21.449 I/make_ext4fs( 186): Blocks: 3351034 08-16 12:57:21.449 I/make_ext4fs( 186): Block groups: 103 08-16 12:57:21.459 I/make_ext4fs( 186): Reserved block group size: 823 08-16 12:57:21.465 I/make_ext4fs( 186): Created filesystem with 11/838832 inodes and 93654/3351034 blocks 08-16 12:57:21.465 I/make_ext4fs( 186): Total files: 0 08-16 12:57:21.465 I/make_ext4fs( 186): Total bytes: 0 08-16 12:57:42.926 D/Cryptfs ( 186): Successfully created filesystem on /dev/block/dm-0 ``` Upvotes: 3 <issue_comment>username_2: As of *CM12.1 2015-10-15* the [answer](https://android.stackexchange.com/a/119455/96277) by username_1 no longer works. Apparently the *mkfs.f2fs* which is needed to create the file system, has been moved from `/system/bin/` to `/sbin/` Also we have to contend with SELINUX. This means that we need to do several additional steps: 1. ``` adb root ``` 2. ``` adb shell ``` 3. ``` setenforce 0 ``` 4. ``` mount -oremount,rw /system ``` 5. ``` ln -s /sbin/mkfs.f2fs /system/bin/mkfs.f2fs ``` 6. ``` vdc cryptfs enablecrypto wipe password <PASSWORD> ``` Upvotes: 2 <issue_comment>username_3: For me, the [original answer](https://android.stackexchange.com/a/119455/48616) did not work as expected. It looked like it encrypted successfully, but the UI came back very quickly and the "Encryption" setting did not show that the devices was encrypted. I then applied the commands given in [the update](https://android.stackexchange.com/a/126074/48616), but it still didn't work. I then [reduced the size of the data partition](http://forum.cyanogenmod.org/topic/116348-cyanogen-121-encryption-setup-does-not-finish/) and it encrypted successfully. I.e. `mount | grep data` to find the actual block device of the data partition. Let's assume it is `/dev/block/mmcblk0p26`. `umount /data` for the ext-tools to work. `e2fsck -f -p /dev/block/mmcblk0p26` to not run into trouble for the upcoming resizing. `tune2fs -l /dev/block/mmcblk0p26` to obtain the Block count. Let's assume it is `3057395`. `resize2fs /dev/block/mmcblk0p26 3057375`, i.e. substract a sufficient amount like 20 from the original block count. `e2fsck -f -p /dev/block/mmcblk0p26` found a wrongly placed inode for me. I also needed to mount the `/system` partition in order to get hold of `resize2fs`. On my system, that binary was linked against a 64bit version of libc, but the TWRP I was used did not seem to provide that. So I needed to prefix the commands with `env LD_LIBRARY_PATH=/system/lib64`. Upvotes: 3 <issue_comment>username_4: Another update- *CM13 Jan 9, 2016* build, using Nubia Z7 Max, NX505J phone This command (`ln -s /sbin/mkfs.f2fs /system/bin/mkfs.f2fs`) is no longer needed as the file lives here again. There is no need to create a symbolic link. This command no longer needs to be in HEX and if you enter hex your PW will be hex. `cryptfs enablecrypto wipe password <PASSWORD>` - This literally created a password for me of `<PASSWORD>` not `foo` I am still researching this issue because I got past the extra blocks needed for the meta data. I now need to get past the fact the GUI and the manual commands to encrypt both result in encryption that is viable only through one boot cycle. I will report back when I have a successful encryption. Right now I encrypt and it works fine and I boot the first time and it says the phone is encrypted. Using TWRP I can confirm /data is encrypted but the HEX and ASCI passwords I try in TWRP both do not work. On the next reboot the Android OS cannot fully boot CM13. It confirms I have the correct encryption password and then I only get 1 encrypted boot. After the first successful encrypted startup it locks on the animation stage of boot cycle thereafter. Security best practices now recommends AES256 phone encryption. Upvotes: 2 <issue_comment>username_5: Having a Moto X 2013 running Cyanogenmod 12.1 I also was not able to get it encrypted. Finally, I succeeded with these steps: 1. Enable root in Developer Settings on the phone and open a shell (Terminal app, can also be enabled in Developer Settings) 2. Enter `su`, and confirm root access 3. Enter `setenforce 0` 4. Now open *Settings*, go to *Security* and select *Encrypt Phone*. Android will then reboot and start encrypting the phone. I came to this solution by combining [Art's answer](https://android.stackexchange.com/a/126074/7551) and [this forum thread](http://forum.cyanogenmod.org/topic/114181-device-encryption-fails-on-cm-121/). Upvotes: 2 <issue_comment>username_6: After 6 hours of mental pain and sweat I might have stumbled on a solution what worked for me. And it was an accident too. I did this for the Samsung S4 Mini with CyanogenMod 13.0 and Android 6.0.1. Important key factor here is, that I started it off from a clean phone (fresh firmware and unrooted), because when the phone was previously rooted, then the phone didn't want to work at all. I used the Firelord's and username_1's solution to the problem, but I managed to to forget one line from the commands. Here is how I did it: 1. I turned on the *Android debugging* and *Root access* to *ADB only* in the *Developer Options*. 2. In the ADB Command Prompt I used the `adb root` and `adb shell` command. After that I opened another ADB Command Prompt and used the `adb logcat` command. 3. In the first ADB shell, I went forward with `setenforce 0` and after that `vdc cryptfs enablecrypto wipe password YOUR-PASSWORD`. ***IMPORTANT NOTICE:** The password command might vary from the Android version what you are using. If you are using **Android 5.X**, you **must** use the **[hexadecimal](http://www.asciitable.com)** system (In the Chr line is the symbol in your password the hexadecimal value is on the Hx line). If you are using **Android 6.X**, then the YOUR-PASSWORD will be the password what you entered there.* As you notice then I forgot to use the `mount -oremount,rw /system` command. After that I the screen will go black. When I saw, that the ADB shell with the log stopped and finished, then I rebooted the phone. But as for everyone, the problem is, that CyanogenMod wont load. And I managed to fix it quite easily: 1. Hold **Vol Up & Home & Power** down till the TWRP boots up. It will ask you for your encryption password. 2. Do the [CyanogenMod install](https://wiki.cyanogenmod.org/w/Install_CM_for_serranoltexx) part with the additional Google Apps (The second part of the guide). 3. After it is done, then reboot the device. When it boots up, then it will take a while. First it will start up the phone, then it will ask the encryption password and then it will take a while till it boots up. There you go, it should work. At first, when the phone set up comes up, then let it be for a minute. There might be a little crash for the Setup Wizard if you rush it too quickly, but it will automatically restart when it crashes. In my very small knowledge of how the CyanogenMod and the Android Encryption works, I think during the format it deletes some important Cyanogen or Android files, what stop it from booting. Upvotes: 1 <issue_comment>username_7: Encrypting didn't work on my phone (SGS5; CM13, TWRP 3.0.2-2) - I always got a black screen. I didn't want to use shell commands, so I found another way : I had SuperSU installed, I uninstalled it in the App and then flashed the [SU-Remover](https://forum.xda-developers.com/showpost.php?p=63615067&postcount=2459). After that, I was able to use the encryption from the menu. **Warning:** * Encryption deleted all of my Data & Apps (including Files on internal SD), **so make a backup first**! * After Encryption, i only had 2 GB internal Space left (normally 11 GB) - I had to do a full wipe (also removing Cyanogenmod itself), reinstall Cyanogenmod and another encryption attempt to get my Space back. * You also have to reactivate root, i used [BETA-SuperSU-v2.68-20160228150503](http://forum.xda-developers.com/attachment.php?attachmentid=3663709&stc=1&d=1456685710) for that (flash with twrp). Upvotes: 1
2015/08/05
301
1,336
<issue_start>username_0: I'm using Samsung Galaxy Mini S3. When one of my contacts calls me I see "unknown" on the screen. How do I change it to show who is calling me? It used to be something that has changed.<issue_comment>username_1: Normally, it is the person calling you that chooses to call as unknown. Even if it is someone you know and that person is in your contacts, if they have their caller ID turned off, they will appear as unknown on your device. However, if this happens for every single one of your contacts calling you, I doubt that it is them having their caller ID turned off. If their number appears, but not their name, then caller ID **is turned on** and it is your phone that is causing problems. Check if your accounts are synced and your contacts have their names set to the correct phone numbers. If no number appears, no caller ID is coming through. I've heard about this problem before, and probably the problem is not your phone, but your service provider. Try contacting customer support and explain your problem to them. They should be able to help you further by enabling caller ID from their side. Upvotes: 2 <issue_comment>username_2: you may have the contact linked to an "unknown" contact. You'll need to unlink the two contacts and it should populate with the name on your contacts. Upvotes: 1
2015/08/05
373
1,325
<issue_start>username_0: I used `adb push lol.png /storage/sdcard0/` to push a test file to my Galaxy S6, and the file was transferred successfully while failed to show up in my Android File Transfer. This is probably due to the fact that S6 doesn't have sdcard0 directory. I like to remove the file I transferred (and the sdcard0 directory I accidentally created. But I don't know how to list remote directory via ADB. Is that possible? And How?<issue_comment>username_1: Easy to do – as in any Linux system: 1. Connect your device as usual 2. log into it using `adb shell` 3. use the `ls` command to list files in the current directory, and the `cd` command to change directories (i.e. walk the tree / navigate through directories) For details on the commands, check for the corresponding Linux man pages – e.g. [man ls](http://linux.die.net/man/1/ls) and [man cd](http://pwet.fr/man/linux/commandes/posix/cd). **Edit:** If you're "afraid" of the command line, you can also use an ADB file manager (see [here](http://android.izzysoft.de/applists/category/named/network_admin_adb#group_947) for examples). Upvotes: 6 [selected_answer]<issue_comment>username_2: For rooted device (having the `su` binary): ``` adb shell su -c ls -R * ``` This will list all folders with their contents and their subfolders. Upvotes: 2
2015/08/06
253
954
<issue_start>username_0: I am working on a game an I decided to change name of it. Now I can't uninstall or install my game. When I try to install it says it is already installed and when I try to uninstall it shows something like this (My game is at the bottom of the list): [![Not Installed ](https://i.stack.imgur.com/nzp9Xm.jpg)](https://i.stack.imgur.com/nzp9X.jpg) Click image for larger version<issue_comment>username_1: This may be a simple glitch! Try some troubleshooting... 1. Turn off developer settings. 2. Install ES file explorer. Go to App manager in the Es file explorer. 3. Try to uninstall the app from that app manager. IF u still cant do that? 4. Delete the app directory(your own app) & restart the phone. Upvotes: 1 <issue_comment>username_2: I have solved my problem with turning to guest mod which is new on Xperia with lollipop update, then I uninstalled it from guest user. It solved my problem. Upvotes: 1 [selected_answer]
2015/08/06
1,070
2,973
<issue_start>username_0: I have a MiPad which works only with WiFi. How do I use it as a GPS device? Google map isn't able to access my location and my MiPad doesn't support tethering.<issue_comment>username_1: I found the solution on MIUI website [here](http://en.miui.com/thread-33725-1-1.html): (Click image to enlarge) > > **Prerequisites:** > > > 1. Have a device that has **GPS built-in** and **tethering/hotspot**. In my case, I'm using the Xiaomi Mi 3. > 2. Download and **install TetherGPS** Lite on both the Xiaomi Mi 3 and Xiaomi Mi Pad. > > > **How it works:** > > > 1. In the Xiaomi Mi Pad, **enable** Settings-Developer Options-**Allow mock locations**. > > > [![IMG: ](https://i.stack.imgur.com/AbDdA.png)](https://i.stack.imgur.com/AbDdA.png) > 2. **GPS location** must be **enabled** on both devices. > > > [![IMG: ](https://i.stack.imgur.com/xhmsX.png)](https://i.stack.imgur.com/xhmsX.png) [![IMG: ](https://i.stack.imgur.com/q7qRA.png)](https://i.stack.imgur.com/q7qRA.png) > 3. On the **Xiaomi Mi 3**, enable Settings-Wireless & networks-Tethering & portable hotspot-**Portable hotspot**. > > > [![IMG: ](https://i.stack.imgur.com/JnzOx.png)](https://i.stack.imgur.com/JnzOx.png) > 4. On the **Xiaomi Mi Pad**, enable Settings-WLAN and I **connect to my Xiaomi Mi 3 hotspot**. > > > [![IMG: ](https://i.stack.imgur.com/3WzgY.jpg)](https://i.stack.imgur.com/3WzgY.jpg) > 5. **Start TetherGPS** on both devices. > > > [![IMG: ](https://i.stack.imgur.com/G2l86.png)](https://i.stack.imgur.com/G2l86.png) > 6. On the **Xiaomi Mi 3**, click on **Start Server**. > 7. On the **Notifications bar**, you will see the **IP of the TetherGPS Server**. Note it down. > > > [![IMG: ](https://i.stack.imgur.com/SleYo.jpg)](https://i.stack.imgur.com/SleYo.jpg) > 8. You will also see that your device will be searching for the location until it is found. > 9. On your **Xiaomi Mi Pad**, click on **Start Client**. > > > [![IMG: ](https://i.stack.imgur.com/eUo2R.jpg)](https://i.stack.imgur.com/eUo2R.jpg) > 10. Under the **Notifications bar**, if you find that **TetherGPS Client is not working**, go into the TetherGPS app. **Uncheck "Automatic Broadcast IP" and key in the IP** you noted down earlier. Click on **"Stop Client"** and on **"Start Client"** again. > > > [![IMG: ](https://i.stack.imgur.com/0aJzK.png)](https://i.stack.imgur.com/0aJzK.png) > 11. If the setup is working, you will notice that both **Notifications** bar will **show the connection time of TetherGPS**. > 12. Start your **Google Maps** or any **other navigation apps** and enjoy **driving from point A to point B** using your **big 7.9"** screen. > > > Upvotes: 1 <issue_comment>username_2: The solution for one of your problem is here . You can enable hotspot on your MI Pad <https://m.youtube.com/watch?v=w0DLbEnHspw> Yes you can do it. Ie is what you want if you use xender, interconnected games or shareit. Have a happy time from here after Upvotes: 0
2015/08/06
426
1,665
<issue_start>username_0: I had a personal folder created in the root directory in Android (when you connect Android to windows, the directory that opens up). I copied a bunch of files and folders. It all went well. Then I disconnected the phone and I could access this folder from it. However, later whenever I re-connected my phone to Windows, that particular folder did not show up in Windows explorer. I can still see it in File Manager. So it's definitely present. It contains some images and i can view those too. It's not hidden or system file. Yet it doesn't show up in Windows. Pretty weird right? Any ideas what to do about this?<issue_comment>username_1: 1. Connect your phone to the computer. 2. In the status bar, You will get USB symbol. 3. Tap on that and change the settings from 'camera' to 'MTP' This will help you to solve the problem. If the problem still exist, Copy your personal folder to DCIM folder. Now u can access that in Windows. Upvotes: 0 <issue_comment>username_2: This also happened to me. This is because of a [code issue](https://stackoverflow.com/questions/13507789/folder-added-in-android-not-visible-via-usb) in Android itself, no matter what version you are running it up to until Marshmallow 6.0.1, not with Windows. The workaround is to move or copy the file/folder you want to see in Windows using a File Manager on Android. 1. On Android, go to the File Manager. 2. Move the File/Folder on a different location. 3. On Windows, go to the location where you moved/copied the file/folder. 4. Voila! The file/folder is now there. EDIT: Go to your Apps and clear Media Storage cache then reboot. Worked on mine. Upvotes: 2
2015/08/06
396
1,443
<issue_start>username_0: I believe this app is called S Voice. How can I remove it completely? [![enter image description here](https://i.stack.imgur.com/Do1TV.png)](https://i.stack.imgur.com/Do1TV.png) Sometimes it pops up when I unlock the tablet without me trying to open it. And even if it didn't I would want to remove it anyway because I don't need the functionality it provides (I don't even know what it is.)<issue_comment>username_1: 1. Connect your phone to the computer. 2. In the status bar, You will get USB symbol. 3. Tap on that and change the settings from 'camera' to 'MTP' This will help you to solve the problem. If the problem still exist, Copy your personal folder to DCIM folder. Now u can access that in Windows. Upvotes: 0 <issue_comment>username_2: This also happened to me. This is because of a [code issue](https://stackoverflow.com/questions/13507789/folder-added-in-android-not-visible-via-usb) in Android itself, no matter what version you are running it up to until Marshmallow 6.0.1, not with Windows. The workaround is to move or copy the file/folder you want to see in Windows using a File Manager on Android. 1. On Android, go to the File Manager. 2. Move the File/Folder on a different location. 3. On Windows, go to the location where you moved/copied the file/folder. 4. Voila! The file/folder is now there. EDIT: Go to your Apps and clear Media Storage cache then reboot. Worked on mine. Upvotes: 2
2015/08/06
1,661
5,869
<issue_start>username_0: I don't like having my searches and web history hanging around forever. Therefore, I wonder: Is it possible to automatically clear browsing data on exit in Google Chrome? If it cannot be done with Chrome, do you know of any other good web browsers with this capability? P.S. I am not willing to root my device just for this purpose. Therefore, I'm looking for a solution which does not require root access.<issue_comment>username_1: I don't think it is possible because Chrome doesn't have lots of personalization. Instead, try [Maxthon Web Browser](https://play.google.com/store/apps/details?id=com.mx.browser) that allows you to surf the Internet without saving the chronology. Upvotes: 0 <issue_comment>username_2: It's not possible with Chrome on a non-rooted device unless an app has access to Chrome's data directory, which could be the case if that app is owned by Google, or it's a Chrome plugin. Both type of apps doesn't exist as of now. So the short answer i.e. without root access, would be NO, you can't automatically clear browsing data on exit in Chrome for Android. --- That said, somebody owning a rooted device may come looking for an answer in future. Here we go with a solution! **Note** that this solution is reached by *Trial and error*. I experimented something and it seemed to work *perfectly* on my devices running Android 4.2.1, 4.4.2 and 5.0.2, and using Chrome v43.0.2357.93, which means I don't claim any knowledge of what the files (mentioned below) actually do or are used for. About Chrome's data directory ----------------------------- * Location of Chrome's data directory is `/data/data/com.android.chrome`. * Most of the browsing data (e.g. History, Top sites, Web Data, Cookies, Log in Data) is under `/data/data/com.android.chrome/app_chrome/Default`, which is the profile path. * Opened tabs are under `/data/data/com.android.chrome/app_tabs/0/`. `0` is the UID of primary user. All we're going to do is delete the files responsible for resuming the previous browsing data when Chrome is loaded again. We'll simply use a script to delete those files and the deletion will be automated by [tasker](/questions/tagged/tasker "show questions tagged 'tasker'"). Script ------ ``` #!/bin/sh data_dir='/data/data/com.android.chrome'; data_ac_dir=$data_dir/app_chrome/Default; rm -f $data_ac_dir/History* $data_ac_dir/Web\ Data* $data_ac_dir/Cookies* $data_ac_dir/Visited\ Links $data_ac_dir/Favicons* $data_ac_dir/Top\ Sites* $data_ac_dir/Login\ Data* $data_dir/app_tabs/0/* $data_dir/app_chrome/Local\ State; ``` The script is very simple. 1. First line is a [shebang](https://unix.stackexchange.com/q/87560/105083 "Does the shebang determine the shell which runs the script?"). 2. Lines starting with `data` are creating variable and feeding directory location as the value. 3. `rm -f` is to remove forcefully the files *viz.* History, Web Data, Cookies, Web Links, Favicons, Top Sites, Login Data, app tabs, Local State. `*` is a [wildcard](http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm "GNU/Linux Command-Line Tools Summary -- Wildcards"). **Note that this solution would not affect the Bookmarks or Preferences.** However, if you want even Bookmarks and Preferences to be cleared, simply add the following command in a new line at the bottom of the script: ``` rm -f $data_ac_dir/Preferences $data_ac_dir/Bookmarks*; ``` Save the file as `Del_chrome_data.sh` (`.sh` is important), push it into the root directory (`/sdcard`) of internal SD card and make it executable using [adb](/questions/tagged/adb "show questions tagged 'adb'")as: ``` adb shell su -c 'chmod 667 /sdcard/Del_chrome_data.sh' ``` If you use a terminal app, do: ``` su chmod 667 /sdcard/Del_chrome_data.sh ``` Check [`chmod`](https://en.wikipedia.org/wiki/Chmod) to know about its usage. Also, I do not change my script permissions in the manner noted above. I simply make them executable in my Linux machine and then push them into my Android device. Instructions for Tasker ----------------------- 1. Install and launch [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm). Its accessibility service needs to be turned on for application based profile. Go to **Settings → Accessibility → Tasker →On→OK**. 2. Under **Tasks** create a task named `Del_chrome_data`. 3. Create an action in it through `+` → **Code → Run Shell**, and fill these details: * **Command**: `sh /sdcard/Del_chrome_data.sh` * Check **use Root** * **Store Errors in**: `%Catch` 4. Under **Profiles** create an application based profile through `+` → **Application** → choose **All**, and **Invert** at the bottom → select **Chrome**. 5. Link the task `Del_chrome_data` in it. ([Here](http://pastebin.com/bingqRCc) is the [exported profile](http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q "How can I import/export individual profiles, tasks or scenes ?"), in case you run into trouble.) Now, you may simply launch Chrome, do your browsing, open other apps, come back to Chrome, and nothing would seem to be affected. Remove the Chrome from recent tasks list, launch Chrome, and *voila!* you would notice that the previous browsing data has been purged automatically. You can also configure **Tasker** to run the task based on time, if you desire time based removal of browsing data. **Note**: It took around 2-5 seconds on my devices to purge the files. Perhaps, those devices are slow. We're good to go! Upvotes: 3 <issue_comment>username_3: I would use firefox. It has an option to clear on exit. You do have to go to the menu (which you can access by tapping the menu icon) and hit quit every time, but seeming as there is no way I know of in chrome, It's better than nothing. Firefox does take some getting used to though, so switch with caution. Upvotes: 3
2015/08/06
1,172
4,725
<issue_start>username_0: Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No devices connected". I've tried a couple of things such as: 1. Updating my Samsung S6 edge drivers through device manager, which were updated now. 2. Have debugging mode turned on and USB debugging mode on. 3. Ran `adb devices` command to list devices but none show up. 4. Downloaded new universal ADB drivers. 5. Toggled between MTP and PTP modes. 6. Restarted computer/phone/Android Studio/ADB tens of times. 7. Deleted phones drivers from device manager and installed again. 8. Re-installed Android Studio. I'm at a loss as of now. How do I fix this issue?<issue_comment>username_1: On my Nexus, the USB mode has to be in Camera in order for ADB to work. I am not sure why. In that mode, I cannot copy files, but the ADB connection works just fine. Upvotes: -1 <issue_comment>username_2: Some things to consider: * Try installing "Kies", for some old phones I remember that was the solution, and maybe still is. * Also try another computer, maybe a Mac, and see what it does there. The USB ports have more power. * Or try a high-power external USB hub, Anker, or similar. * What cable are you using? Crappy ones are often not working. Try a new short (!) USB 3.0 cable. * Does your PC have USB 3.0? Sometimes there are only a few ports upgraded (blue sockets). * Did the phone ask you to trust the PC? Can you delete all data about trusted PCs? Not sure what it is called. * Do you have another S6 that works? * Get a real Nexus device from Google for development, they usually work. All the trouble we have in development is the knock-off stuff from Samsung with their own classes that miss functionality, and ignore parameters, ... Keep a Samsung device around to test if the app breaks, but don't spend too much time making it perfect. You're paying with your time because they saved a lot of money on development. I don't know how much time we spent on bugs just to end up on a post saying oh yeah, that's a bug in Samsung with 4.2.2, here's a workaround that will waste the rest of your day. When getting user reports, make sure to ask first if it is about a Samsung device, then decline to help ... or start googling for known bugs. :-) Seriously, they have a big market share, so make the stuff work, but for Android, it would be better if it moved towards a standard and manufacturers cared for it. Reads maybe like a rant, but as a rule of thumb: When there is a problem and a Samsung is involved, the problem is never in your code. Upvotes: 0 <issue_comment>username_3: Samsung always make things difficult. When I had my Note 4(Now Nexus 6) and was trying to do things via ADB. I did pretty much everything you did. It wasn't until I uninstalled the universal drivers and installed the Samsung ones that can be found [here.](http://developer.samsung.com/technical-doc/view.do?v=T000000117) I assume you downloaded the universal ones from Google as well. Those have never worked for any Samsung device I have owned. Hope this helps. =) Upvotes: 0 <issue_comment>username_4: Windows 7 doesn't always detect the android device connected as an interface for adb. If your Samsung drivers is not detecting the phone you have a few choices: * Try reinstalling the Samsung android drivers. Might be a good idea to remove the universal android drivers but I don't have that problem with my Windows 7 machine. * You can mod the inf of the universal driver with your device's VID and PID by adding it if it's missing (which it possibly is missing since it's not a nexus/google device). Then use Device Manager and point your device to that driver to use and install. * Remove the Samsung android driver and the universal driver. Then install Samsung's Smart Switch app, which will install the latest Samsung android driver. If you are committed to using the universal android driver, then you need to make sure you have the latest updates with the Android SDK Manager. If your tools are out of date or not the latest your tools may be out of sync with the platform it's trying to connect to. Upvotes: 1 <issue_comment>username_5: I just installed this tool <https://forum.xda-developers.com/showthread.php?t=2588979> and it fixed my problem. I suspect it was because the tool installs the right driver. I downloaded it from the "Google" URL on that page To add more info - it only fixed things for my Google tablet. Which identifies as Asus Nexus 7. So far this method didnt help me connect to my LG Android phone. Perhaps I should select a different drive from that web page. Upvotes: 0
2015/08/06
748
2,911
<issue_start>username_0: I have been looking for a download for a long time, and couldn't find one. I know this is a pretty little known phone, but I still want it. Are there any devs willing to port CM12 on to this phone? I am willing to flash a custom kernel, and do pretty much whatever it takes, aside from hardware mods.<issue_comment>username_1: At this very moment there is no cyanogenmod 12 available for your device. One developer tried to port it but it didn't boot up. The project seems to be dead. **What you can do and what has already been done a few times:** Visit the xda forum for your specific device and create a thread where you can ask devs for building cyanogenmod. Find other users and create a bounty. Make the device interesting for a developer and someone might pick it up and create cyanogenmod. But keep in mind that you would have to donate a small amount of money to the developer. If you can find enough people then that will be no problem. Sorry that there is nothing much you can do. Upvotes: 2 [selected_answer]<issue_comment>username_2: Google's `site:` & `similar:` searches will help you in finding this; took me less than an hour to find [CM12 un-official](http://forum.xda-developers.com/desire-610/development/ported-cm-12-htc-desire-610-t3128170) port and [Android 4.4.4 slim ROM](http://forum.xda-developers.com/desire-610/development/rom-slim-a3ul-4-4-4-build-9-0-t3149308) just by searching your titled question (minus the at&t part) like so `CM12 for Htc desire 610 site:forum.xda-developers.com` In fact it took me longer to writw this than to find the above links and others that I read though and didn't think worth sharing. If you check CM's wiki you'll find instructions on how to compile CM7 for your device as well as auto-generated instructions on how to port other versions of CM to a device. By using the search tips above on the parts of compiling process that you've question on you'll be able to try it yourself. For example if you don't know how to compile a kernal then try `how to compile kernel for similar:wiki.cyanogenmod.org/` and you'll find others that have tried and the steps they took. I'd advise that you first try compiling the most stable version of CM for your device. Then once you know you can repeat the steps required for a working version start investigation of how it differs from the version you want ported and the unstable version already available. Looking at your devices' specs I see no emediat reason why you couln't have a better version it just hasn't been done yet because no one hasn't taken the steps required. By taking your device and education into your own hands and under your own control you may find that it is very rewarding to solve things yourself. Lastly don't get to fixated on CM's ROMs there are ways to combine working bits and pieces from other ROMs into something that is your own. Upvotes: 0
2015/08/07
433
1,580
<issue_start>username_0: I have my sister's Blu Dash JR K at the moment. She forgot her lock screen pattern, and there is not an option to recover via Gmail. Phone comes with stock recovery. when I go there and try to apply factory wipe/data, all I get are a bunch of: ``` -- no -- -- no -- -- no -- -- no -- ``` **There is no yes option.** Second attempt, I tried to reset the phone using ADB, as I don't have the phone with debugging mode active. when I type `adb devices`, no device is detected. Phone is not rooted so I'm not sure if I can install any custom recovery. What should I do now? **EDIT** I'm not able to use "official" recovery modes (Gmail Based) since she never synced with a Google account.<issue_comment>username_1: If your sister has access to Google account, she can try the [Android Device Manager](https://www.google.com/android/devicemanager) and do a "Lock and Erase". You may need to enable Lock and Erase first. <https://support.google.com/accounts/answer/6160500> Upvotes: 1 <issue_comment>username_2: I'll share the solution that worked for me in case anyone else runs on the same issue since the documentation for this phone is marginal. First you need to download the Original ROM, not so hard to find it I don't have the current links else I'll share them. Then download [SP flash-tool](http://androidxda.com/smart-phone-flash-tool) Simply Flash the phone using the tool, I followed this instructions [Instructions](http://androidxda.com/flash-stock-rom-using-smart-phone-flash-tool) Fixed. Upvotes: 1 [selected_answer]
2015/08/07
277
1,048
<issue_start>username_0: Please how do I recover phone numbers previously saved on my Gmail account from my broken android phone into the new one I got. I tried syncing already, but nothing came up.<issue_comment>username_1: If your sister has access to Google account, she can try the [Android Device Manager](https://www.google.com/android/devicemanager) and do a "Lock and Erase". You may need to enable Lock and Erase first. <https://support.google.com/accounts/answer/6160500> Upvotes: 1 <issue_comment>username_2: I'll share the solution that worked for me in case anyone else runs on the same issue since the documentation for this phone is marginal. First you need to download the Original ROM, not so hard to find it I don't have the current links else I'll share them. Then download [SP flash-tool](http://androidxda.com/smart-phone-flash-tool) Simply Flash the phone using the tool, I followed this instructions [Instructions](http://androidxda.com/flash-stock-rom-using-smart-phone-flash-tool) Fixed. Upvotes: 1 [selected_answer]
2015/08/07
262
1,019
<issue_start>username_0: I have a Chromebook with an ARM processor. I have installed Ubuntu on that Chromebook. However, since there is no Skype-binary for ARM Linux, is it possible to use the version of Skype of the android APK, and run that on my ARM Linux ? Is there some kind of Dalvik enviroment or converter for ARM Ubuntu ? What would be the minimal emulation environment, if I wanted to emulate android ?<issue_comment>username_1: To answer my own question: Yes, it's possible. Microsoft has release a web-app for skype at <https://web.skype.com> Upvotes: 0 <issue_comment>username_2: One way to install Linux apps on Ubuntu is through Anbox. It's very resource efficient, using your Ubuntu kernel to run Android apps without emulating the Android kernel or running Android in a VM. However, it's still in alpha, so getting it set up takes a while and apps might crash or not work at all. Also, you'll need to find the APK somewhere (e.g. APKMirror), as the Play store isn't included. Upvotes: 1
2015/08/07
913
3,974
<issue_start>username_0: I have just bought an android phone and I want to get the latest OS. However, I must root and unlock bootloader and recovery. I understand that to root something you gain administrative privileges. However, I've seen some drawbacks of doing this. Can one of you explain what all of this does to my phone and point me in the right direction? I am new to this, so it would be much appreciated if you guys could help me on this.<issue_comment>username_1: Bootloader ---------- The low level implementation of a system which can be used to flash software onto your phone's partitions. Often used to flash root privileges or Stock Roms. Recovery -------- The recovery is another system used to manage/wipe/reformat your partitions. [TWRP](https://en.wikipedia.org/wiki/TWRP) refers to a custom Recovery which allows you to install custom roms in a zip format. The recovery follows the directions which are contained in the rom zip file. Rooting ------- Rooting describes the process of getting administrative privileges on your android phone. You need those priviliges to mount your system partition as read and write so you can modify the files and settings. Most of the time you will have to boot your phone into the bootloader and then flash a root file (like the one from ChainFire) from your computer but there are also apps which can enable the root access by a simple click for certain devices. If you have further questions to a specific device then you can head to the xda forum for your device and **read**. It's the most important thing to do before attempting to mess with your phone's software. Upvotes: 3 <issue_comment>username_2: Ahh, since you have no knowledge regarding rooting and all I'll just explain in the simplest form. Imagine that you have bought a laptop from HP which Congress preloaded with a windows installation and some pre-stuff, I assume that a normal person would't be bothered by it and the extra useless stuff they install on your laptop. They prevent you from uninstalling them, blocks access to C directory and pretty much other things that some medium user would need. So what he does is install a new os, any os I mean windows 10 or 8 or linux. And so he removes all the bloats and gets acces to many things. Now getting to the point, that to install a new os, or rom, in android's case, you first need to unlock it's bootloader. Now the bootloader does what it says and manages your boot preferences, just like the bootloader and bootmanager in laptops. As it doesn't need to be done in a computer or laptop, it is neccesary to unlock it to install a custom recovery for your phone. Twrp is a custom recovery like cwm, and benefits of having a custom recovery are many, just like your windows recovery menu which let you reset your laptop or factory default it which just refreshes the window as it was just installed. So a recovery in a phone is just like the PC one, but having a custom recovery is necessary, as it provides a lot more features. Now as got my meaning of bootloader and recovery, and if you still don't get something, you can just ask. And now comes rooting as unlocking bootloader and installing a custom recovery doesn't need rooting your phone. Rooting your phone allows you to get admin privileges, just like in windows, and now you can even tamper with the internal files. You can root your phone with the android you got installed with your phone and don't need to install a custom recovery and all. As I previously said that these things needn't be done for a laptop, but a phone needs it to be done in order to install a custom rom, or rather saying an unofficial update, or an official update which isn't available by some reasons. So that's why you need to do these things. And by the way, could you tell us which phone are you trying to update, as then we can check and tell you if you can update without going through all this hassle. Upvotes: 4 [selected_answer]
2015/08/07
539
1,885
<issue_start>username_0: I've got an issue setting up the AVD in my Android Studio as Intel HAXM is not working with my Windows 10. So, I am trying to debug and run my projects with my Android device. However, after trying to download the Google USB driver and replacing it with the standard driver that comes with Windows, I find I am not able to: [![The issue I am facing](https://i.stack.imgur.com/C4NFj.png)](https://i.stack.imgur.com/C4NFj.png) By the way, I am trying to replace this driver with the Google driver or the driver offered by Samsung - both turned up with this error. But when I check the Android Device Monitor, my phone is not listed as it did in the tutorial I watched. (My device is a Samsung W GT-I8150 - Android 2.3.5 Gingerbread) Any help or advice will be most appreciated. Raihaan<issue_comment>username_1: According to the last [post on this forum](http://www.tenforums.com/drivers-hardware/3339-samsung-usb-driver-mobile-phones-kies-post386365.html?s=5b7ce5f415292243fe898ac931819add#post386365), Samsung simply doesn't have a windows 10 driver. I am stunned that Samsung did not anticipate the Windows 10 release. Upvotes: 0 <issue_comment>username_2: In Win10 use this: 1. Uninstall previous Samsung USB drivers from “Programs And Features” and “Device Manager”. 2. Power off your Samsung phone. Switch your Samsung phone into download mode (power it on with Power + Vol UP + Home pressed simultanously). 3. Connect it to your computer via USB cable. Your phone should become discovered by Windows as some device. In my case, Windows has found my phone as a “SAMSUNG Android ADB Interface” device. 4. Restart your phone. Now it all. Phone driver work perfectly. Upvotes: 2 [selected_answer]<issue_comment>username_3: All I did was go to the Applications->USB Settings and cleared cache. It stopped working on the last W10 update. Upvotes: -1
2015/08/08
608
2,092
<issue_start>username_0: Okay, here's the story: I have a **Samsung Galaxy Tab S 8.4"**. The OS doesn't matter, because it's gone. I had lollipop 5.0.2, decided to root it. OK, rooted it fine. Then decided to get CyanogenMod on it. Welp, when I was wiping it, I accidentally deleted the CM install zip with the rest. I was using TWRP to install the thing, but then I couldn't access it. So, I got Odin and tried to install that and the Clockwork mod. No help, and now Odin throws the "nand write start" error, which, from what I can tell from Google, mean my partitions are screwed up. (**Edit**: I re-flashed TWRP, and there was no error, but there is this error when getting ClockworkMod. Probably a messed up tar.) **Long story short**, all I can do is use the Samsung Download mode, I have Odin, and I may have messed up my partitions. I **do** have an adb backup, which means if I can get adb to recognize me device, I can roll it back. adb seems like the best way to go, which is why I titled the post as it is.<issue_comment>username_1: According to the last [post on this forum](http://www.tenforums.com/drivers-hardware/3339-samsung-usb-driver-mobile-phones-kies-post386365.html?s=5b7ce5f415292243fe898ac931819add#post386365), Samsung simply doesn't have a windows 10 driver. I am stunned that Samsung did not anticipate the Windows 10 release. Upvotes: 0 <issue_comment>username_2: In Win10 use this: 1. Uninstall previous Samsung USB drivers from “Programs And Features” and “Device Manager”. 2. Power off your Samsung phone. Switch your Samsung phone into download mode (power it on with Power + Vol UP + Home pressed simultanously). 3. Connect it to your computer via USB cable. Your phone should become discovered by Windows as some device. In my case, Windows has found my phone as a “SAMSUNG Android ADB Interface” device. 4. Restart your phone. Now it all. Phone driver work perfectly. Upvotes: 2 [selected_answer]<issue_comment>username_3: All I did was go to the Applications->USB Settings and cleared cache. It stopped working on the last W10 update. Upvotes: -1
2015/08/08
428
1,657
<issue_start>username_0: [![Battery History](https://i.stack.imgur.com/Im2JF.jpg)](https://i.stack.imgur.com/Im2JF.jpg) Here is a screenshot of my battery drain. Is it normal , or should I go to service center ? My previous phone had much less sloppier curve . When I bought the phone I charged it upto 100% and then started using it , though at the shop they told me to charge for 3 hours. Should I go to service center? The problem is battery(2500mA) is fixed in this device , so I can't even remove it.<issue_comment>username_1: By looking at your screenshot I think you should wait a few days to see if your new device settles down a bit on battery usage. Why do I say that? Even though your battery is draining fast when your screen is off, there are **not many wakelocks**. Give your phone a little bit off time to settle down ( syncing data between all accounts etc.) and it should be fine. If you're still observing heavy battery drain after 2-3 days, then you should go to the service center. Upvotes: 2 <issue_comment>username_2: It was happening to me to 'till yesterday. My battery was draining really quick and I went to "notifications administrator" and turn off almost every notification. The fact is that battery is not drainin' so fast. Only 15% since yesterday, so for me it worked! Upvotes: 0 <issue_comment>username_3: I turned off "Scanning always available" and "network notification" and my issue got fixed. Upvotes: 0 <issue_comment>username_4: I have also similar problem on this set, it is solved during 15 minutes at service center and its now 4 month working fine. So I suggest you to visit Service center Sudat Upvotes: 0
2015/08/08
859
3,158
<issue_start>username_0: I installed Android Studio, but when I try to run, the emulator is not working. When I googled, I find some instructions in which the > > 1. Open SDK Manager and Download Intel x86 Emulator Accelerator (HAXM installer) if you haven't. > 2. Now go to your SDK directory (C:\users\username\AppData\Local\Android\sdk, generally). In this directory Go to extra > intel > Hardware\_Accelerated\_Execution\_Manager and run the file named "intelhaxm-android.exe". > > > In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. > 3. Restart Android Studio and then try to start the AVD again. > > > but I don't know where is BIOS setting of my computer. I have HP desktop CPU and try to find the BIOS from start, F10 as well as from change PC setting in Windows, but all in vain.<issue_comment>username_1: When you switch on your device, it starts to boot as your preferences (HDD, Removable drive, Optical drive etc.) set in the BIOS. Before the OS boot starts, if you press a particular key,your device will show a window with options like `Boot menu`, `BIOS settings` etc. You can find the buttons beside each option, by pressing which you can enter those options. For example, Acer - `F2` Asus - `Del` DELL - `F2` HP - `F10` These keys may be changed. After you enter the BIOS set up goto the `Advanced` tab and enable the `Intel virtualization technology`, which may be aliased/called as `Intel VT-x` or `AMD-V`. Hope this will help. Upvotes: 0 <issue_comment>username_2: I faced a similar problem recently on my windows 10 laptop and found out that the Intel virtualization technology (vt-x) was disabled from BIOS. In case you are using a new laptop which comes per-installed with Windows 8/8.1/10 then chances are that you cannot enter the BIOS manually while booting. Reason being they have changed BIOS to UEFI which is no longer accessible through boot but instead you need to do the following steps: Go to Windows > Settings > Update and Security > Recovery. Then under Advanced startup, click Restart now. The system will restart and show the Windows 10 boot menu. Select Troubleshoot > Advanced options > UEFI Firmware Settings. Click Restart to restart the system and enter UEFI (BIOS). from here you can access the UEFI menu (which is similar to BIOS) Search for the VT-x setting (It may be named as Intel VT or Vanderpool or Virtualization Extensions or something similar depending on your OEM and BIOS.) Please refer to this link for screenshots on how to access the UEFI from windows 10: <http://www.howtogeek.com/213795/how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/> Upvotes: 2 <issue_comment>username_3: If your new Mac M1 is having this problem, as of Android Studio Arctic Fox patch 4, I resolved the issue by adding a new virtual device (for the simulator) which was for ARM architecture. Here are details with screenshots about the steps on [ConfessionsOfAnAgileCoach](https://confessionsofanagilecoach.blogspot.com/2021/12/androidstudio-development-with-m1-mac.html). Upvotes: 1
2015/08/08
743
2,745
<issue_start>username_0: As the title says, I've noticed that the download progress in the notification bar and the progress in the Play Store shows different progresses. Screenshot: [![screenshot](https://i.stack.imgur.com/u4hhs.png)](https://i.stack.imgur.com/u4hhs.png) My question is **why does this happen?** Is this a bug? Also, when the download progress in the notification bar reaches 100%, the progress in the Play Store jumps to 100% and the app I'm updating gets updated.<issue_comment>username_1: When you switch on your device, it starts to boot as your preferences (HDD, Removable drive, Optical drive etc.) set in the BIOS. Before the OS boot starts, if you press a particular key,your device will show a window with options like `Boot menu`, `BIOS settings` etc. You can find the buttons beside each option, by pressing which you can enter those options. For example, Acer - `F2` Asus - `Del` DELL - `F2` HP - `F10` These keys may be changed. After you enter the BIOS set up goto the `Advanced` tab and enable the `Intel virtualization technology`, which may be aliased/called as `Intel VT-x` or `AMD-V`. Hope this will help. Upvotes: 0 <issue_comment>username_2: I faced a similar problem recently on my windows 10 laptop and found out that the Intel virtualization technology (vt-x) was disabled from BIOS. In case you are using a new laptop which comes per-installed with Windows 8/8.1/10 then chances are that you cannot enter the BIOS manually while booting. Reason being they have changed BIOS to UEFI which is no longer accessible through boot but instead you need to do the following steps: Go to Windows > Settings > Update and Security > Recovery. Then under Advanced startup, click Restart now. The system will restart and show the Windows 10 boot menu. Select Troubleshoot > Advanced options > UEFI Firmware Settings. Click Restart to restart the system and enter UEFI (BIOS). from here you can access the UEFI menu (which is similar to BIOS) Search for the VT-x setting (It may be named as Intel VT or Vanderpool or Virtualization Extensions or something similar depending on your OEM and BIOS.) Please refer to this link for screenshots on how to access the UEFI from windows 10: <http://www.howtogeek.com/213795/how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/> Upvotes: 2 <issue_comment>username_3: If your new Mac M1 is having this problem, as of Android Studio Arctic Fox patch 4, I resolved the issue by adding a new virtual device (for the simulator) which was for ARM architecture. Here are details with screenshots about the steps on [ConfessionsOfAnAgileCoach](https://confessionsofanagilecoach.blogspot.com/2021/12/androidstudio-development-with-m1-mac.html). Upvotes: 1
2015/08/08
234
971
<issue_start>username_0: I recently bought a used Samsung Galaxy S4. The problem is that the previous owner did not factory reset is and even after putting in the memory and SIM-card from my old phone, I can’t get past the pin-code screen. I have tried factory resetting it myself, but it isn’t working. What do I do?<issue_comment>username_1: Try to go to the emergency call menu and dial ∗ # ∗ #SERVICE# ∗# ∗ there should be a list item where you can reset the phone to factory settings. On my sony it is Customisation Settings > Reset Customisation. Upvotes: 0 <issue_comment>username_2: So you have resetted the device? Or was the resetting to factory defaults not working? Boot into the recovery ( **volume UP + power button** - press both until the screen turns on and release the power button then) and then perform a **factory reset from there**. This should delete all user data and your phone should restart to the initial startup configuration. Upvotes: 2
2015/08/08
1,028
4,255
<issue_start>username_0: Disclaimer: The question is **not** meant like these: * How do I root my device? – Take tool X/Y/Z! * Where do I find tool X/Y/Z for rooting? – Link, Link, Link! * What is "root"? – Full permissions on Linux, UID 0! The question I have is this: When a new device with a customized Android gets released, what exactly do the "root release crews" do? And why does it differ for each device? Aren't all "Androids" across the different devices with the same x.y version identical? Yeah, OK, most have custom brand programs (because everyone wants user data these days, or for device-specific sensors and so on), but all have the same kernel and core tools (which handle the permission system). Let's say I buy a new device and want "to root" it fully myself (without ready-made tools/images from others), where would I start? Do a full dump of the flash memory and change some bits?<issue_comment>username_1: Sorry to give you an un-understandable answer, my bad, and though I completely messed it and gave wrong guidelines. Sorry but it is as most of the users here [How does rooting work?](https://android.stackexchange.com/q/22884) it is indeed installing su bianaries and then supersu.apk and giving them each certain privileges. Also that su binaries does all the work itself. You would just need a windows and linux, most probably linux as you can use adb on linux too, as it's a part of it. So here guys is the ultimate rooting guide, which will walk you through rooting your phone, and as the android kernel is made up of linux, you need a linux installation to root your phone, just one step for this linux command. Here's the link: <http://forum.xda-developers.com/showthread.php?t=2684210> Also su binaries contain all the data and you don't need to know anything else as su is same for all devices. Please sorry for my previous utterly idiotic answer. It's just about su binaries and supersu.apk which is to root. Yeah and su binaries do get updated, so don't forget to download the latest binaries. Upvotes: 1 <issue_comment>username_2: A rooted system is a system that has a working `su` binary, that is, one that allows the user and/or processes to attain full root rights. So, in order to root a device, you "just" need to get that binary in place, and you're done. (In practice, it's not as simple; most superuser applications ship with a daemon that is actually responsible for giving apps root privileges, and they might also apply patches to the SELinux policy so processes can get root rights). How you root device depends on the model of the device. There are devices that can be "unlocked". That usually means that it will disable the checks the system has in place to ensure that the device only boots an operating system supplied by your manufacturer. So, with the checks disabled, the easiest option to root your device is flashing a custom recovery (which is basically a stripped down OS, used to update the actual Android OS and for other tasks like backups). This recovery will then run with root rights, so it can also place a `su` binary on the device. If your device cannot be unlocked, the process is much more complicated. In this case, the developers try to find exploits in the software that can be used to attain (temporary) root privileges, which can then be used to install a `su` binary. Obviously, since this process involves finding flaws in the device's security, it may take a long time for it to happen, or it might not happen at all. This process of finding exploits is different for different devices, but you may find that some root exploits work for similar devices. Not all devices run the same operating system, or the same hardware. Device X might ship with a modified version of software component Y, which is vulnerable, while device Z doesn't ship with it, so you'll have to find another exploit. Upvotes: 3 <issue_comment>username_3: You just have to add the `su` binary and superuser app to manage root so *how to do this?* This can be achieved by exploiting some vulnerability in the system, so you can execute the script that adds `su` binary to `/system` and the superuser app to the desired place. ***That's how all the rooting tools and apps work*** Upvotes: 1
2015/08/09
466
1,788
<issue_start>username_0: In my town I have to do a lot of shopping in a lot of different places. Sometimes I find myself wanting to remember to buy some things when I'm passing by a certain place. Is there some easy and free way to achieve this with an Android phone?<issue_comment>username_1: [Google Keep](https://play.google.com/store/apps/details?id=com.google.android.keep) is a free application that allows you to take notes, and create location or temporal reminders that will trigger the notes. Upvotes: 6 [selected_answer]<issue_comment>username_2: [Shifu](https://play.google.com/store/apps/details?id=com.thesignals) is a free android application available on Google Play Store that lets you create reminders in most flexible ways. Apart from location based reminders that you require, you can also set reminders on Calls, Wi-Fi connectivity etc. It has other interesting features too, check it out. Upvotes: 3 <issue_comment>username_3: You can do this via Google Now or even via browser. Just say "Remind me to buy ice cream the next time I am at Fry's" and the next time you're at Fry's, it will remind you to get ice cream. Most of the Google Now features are available via any browser as well. Just search Google for that same statement and it will offer to "Set a reminder" above real results. Real handy and should be available on any phone running Jelly Bean (4.1) or higher, so likely most phones released in the last 3 years or so. Upvotes: 4 <issue_comment>username_4: [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) was designed for this type of thing, but I'm not sure I'd call it simple. I use it to prevent the phone ringing (auto hangup) when maps and USB power is on the phone... when I'm driving. Upvotes: 2
2015/08/09
1,245
4,415
<issue_start>username_0: I unrooted and re-installed stock recovery from CWM on my Nvidia Shield Tablet. But when I tried to install an OTA, I got However when I tried to install the update, I got a red triangle error. After checking the log I got an error saying "Package expects build fingerprint of ... or ..., this device has ...." I can't remember what the fingerprints were, but the first one was something that began with "nvidia/", had a bunch of numbers in the middle followed by an underscore, then it ended with "/release-keys". However the device's current build fingerprint was exactly the same as the first, ***except that it cut off halfway through***, right after the numbers and the underscore. Resetting the cache didn't work. How was this error caused, and how can I fix this without wiping my data?<issue_comment>username_1: I've faced the same issue when trying to update OTA from Android 4.4.4 to Android 5.1 and now from Android 5.1 to a new version. I'm assuming your phone is rooted and you have a custom recovery installed. 1. Find out your build fingerprint. =================================== * Install [CID Getter](https://play.google.com/store/apps/details?id=org.tritonsoft.cidgetter&hl=en) and check the `ro.build.fingerprint` entry. > > (In my case, its value is `motorola/peregrine_retbr/peregrine:5.1/LPB23.13-35.5/5:user/release-keys`) > > > Check your value again. ----------------------- Double-check it, and triple-check it, it's **very, very, VERY** important to get it right to the last bit. ---------------------------------------------------------------------------------------------------------- 2. Obtain the zip file for your OTA update ========================================== Start the OTA update process (settings -> phone -> check updates). It will download a file and place it on your internal memory, for instance for me it's `/cache/Blur.zip`. Obtain that file and place it on your computer (I have used my custom TeamWin recovery to do that). 3. Check the updater script =========================== Inside this zip file, there will be a file called `/META-INF/com/google/android/updater-script`. There will be a line similar to the one below: ``` getprop("ro.build.fingerprint") == "motorola/peregrine_retbr/peregrine:5.1/LPB23.13-35.5/5:user/release-keys" || getprop("ro.build.fingerprint") == "motorola/peregrine_retbr/peregrine:5.1/LPBS23.13-35.5-1/1:user/release-keys" || abort("Package expects build fingerprint of motorola/peregrine_retbr/peregrine:5.1/LPB23.13-35.5/5:user/release-keys or motorola/peregrine_retbr/peregrine:5.1/LPBS23.13-35.5-1/1:user/release-keys; this device has " + getprop("ro.build.fingerprint") + "."); ``` What's it doing in this case? This line checks for the build fingerprint and aborts the process if it's not *exactly* either `motorola/peregrine_retbr/peregrine:5.1/LPB23.13-35.5/5:user/release-keys` or `motorola/peregrine_retbr/peregrine:5.1/LPBS23.13-35.5-1/1:user/release-keys`. 4. Compare your build and the updater script. ============================================= Seriously. Check it again. 5. Edit the updater script ========================== Delete this line. Place the edited file on the zip file. 6. Patch and be happy! ====================== Use your custom recovery to apply the patch without signature verification. OBS: ---- If you have flashed anything that modifies system files -- including, but not limited to, SuperSU and the Xposed framework -- you might need to revert those files to their original state, since the OTA update will perform a check on many system files. In order to revert those files, consult the documentation from whatever you flashed. Upvotes: 1 <issue_comment>username_2: This answer isn't immediately applicable to OP's Nvidia tablet, but I'll leave it here in case it's useful to others. <https://mirrors.lolinet.com/> hosts many Motorola stock ROMs. I don't know if the site is trustworthy or not, but I'm using it now. After you download a stock zip, use <https://github.com/dlenski/motoflash2sh> to generate a flashing shell script which doesn't depend on the existence of an existing unmodified stock ROM. The resulting script will have `fastboot erase userdata || exit 1`. Remove or comment-out this line if you don't want to clear all data on the phone. I don't know if you can install those zip files through TWRP. Upvotes: 0
2015/08/09
668
2,467
<issue_start>username_0: The "mute" option allows you to stop receiving notifications. However, I can still see the number of unread messages for a group that has been previously muted. In addition, this group keeps coming at the top of the list of groups every time a new message is sent to it. Is there a way to disable this without having to leave a group? [![enter image description here](https://i.stack.imgur.com/ZlyxK.png)](https://i.stack.imgur.com/ZlyxK.png)<issue_comment>username_1: > > You can mute a group for a specified period of time. You will still > receive the messages sent to the group, but your phone will not > vibrate or make noise you when they are received. To mute a group: > > > Go to the group in WhatsApp. > Tap Menu Button > Mute Group. > Select how long you would like notifications to be muted. > Optionally, uncheck Show notifications to stop notifications from being shown in your notification slider. > > > From [whatsapp.com](http://www.whatsapp.com/faq/en/android/23776567#mute) Your group will go on top because it has the newest message. That's how it works. Upvotes: 0 <issue_comment>username_2: This issue has been plaguing Whatsapp since its inception. I have had long email conversations with their support team on multiple occasions. Even uploaded a detailed video explaining the bug: Check it out here: <https://www.youtube.com/watch?v=-bldIuA-OjU> This was their reply after about about 20 emails explaining the issue.[![enter image description here](https://i.stack.imgur.com/AoLw0.jpg)](https://i.stack.imgur.com/AoLw0.jpg) I gave up after that. To anyone reading this, please see the video to understand the problem. If someone influential can publicise it, maybe the will fix it then. Upvotes: 4 <issue_comment>username_3: ShutApp ------- ShutApp is an Android app I developed for **rooted devices** that will automatically mark your muted WhatsApp chats as read and prevent them from jumping to the top of the chat list, so that you don't have to leave those annoying groups. You do need a **rooted** android device to use the app, though. That's because the app needs to be able to modify WhatsApp's internal database which is not accessible to other apps without granting root access. ShutApp is completely free and open source, and if your phone isn't rooted yet, I think it's definitely worth rooting in order to use this app! <https://github.com/eladnava/shutapp-android> Upvotes: 3
2015/08/09
859
3,181
<issue_start>username_0: I have an Onda v919 4G that I messed with and broke. I changed a line in the /system/etc/parameters file. I wanted the system to use my SD card (256 Gb) as the primary storage device for my apps and data. That change caused my droid to refuse to boot up. If I could mount the file system and just edit that file things would be just fine. But no....... I can't just mount the file system and edit the file. Now I have to burn the blood of a virgin or something so that I can fix this thing. I tried using fastboot but apparently my tablet doesn't support flashing from fastboot which begs the question 'what the hell is fastboot for?' I've got no clue. Can I mount the file system at all? I'm using an ubuntu 14 laptop as my primary work machine. Unfortunately I've looked everywhere on the net I can think. But I haven't found anything useful/understandable. Anyone able to teach a fool how to recover from his mess up? My tablet runs on an MTK8572 chip if that helps matters. An 'lsusb' command in terminal identifies my tablet as HTC (High Tech Computer Corp.) Dream / ADP1 / G1 / Magic / Tattoo. Again, I hope this is helpful. Peace to you and yours.<issue_comment>username_1: > > You can mute a group for a specified period of time. You will still > receive the messages sent to the group, but your phone will not > vibrate or make noise you when they are received. To mute a group: > > > Go to the group in WhatsApp. > Tap Menu Button > Mute Group. > Select how long you would like notifications to be muted. > Optionally, uncheck Show notifications to stop notifications from being shown in your notification slider. > > > From [whatsapp.com](http://www.whatsapp.com/faq/en/android/23776567#mute) Your group will go on top because it has the newest message. That's how it works. Upvotes: 0 <issue_comment>username_2: This issue has been plaguing Whatsapp since its inception. I have had long email conversations with their support team on multiple occasions. Even uploaded a detailed video explaining the bug: Check it out here: <https://www.youtube.com/watch?v=-bldIuA-OjU> This was their reply after about about 20 emails explaining the issue.[![enter image description here](https://i.stack.imgur.com/AoLw0.jpg)](https://i.stack.imgur.com/AoLw0.jpg) I gave up after that. To anyone reading this, please see the video to understand the problem. If someone influential can publicise it, maybe the will fix it then. Upvotes: 4 <issue_comment>username_3: ShutApp ------- ShutApp is an Android app I developed for **rooted devices** that will automatically mark your muted WhatsApp chats as read and prevent them from jumping to the top of the chat list, so that you don't have to leave those annoying groups. You do need a **rooted** android device to use the app, though. That's because the app needs to be able to modify WhatsApp's internal database which is not accessible to other apps without granting root access. ShutApp is completely free and open source, and if your phone isn't rooted yet, I think it's definitely worth rooting in order to use this app! <https://github.com/eladnava/shutapp-android> Upvotes: 3
2015/08/10
818
3,157
<issue_start>username_0: Weird behavior of offline videos. I had downloaded a lot videos from office for offline viewing at home. But when i went home they were showing **expired** and when i clicked on them it showed **connect to internet to update**. So i went online but even then it was showing connect to update, but after long hours of searching over the internet **i couldn't find any solutions**. So i first **removed them from offline and re-downloaded them**. That was okay, but the same thing happened today hence i am frustrated. My questions are like this: 1)Why are they getting expired 2)Solution for the above question. Screenshot: [![Screen showing expired videos](https://i.stack.imgur.com/0qI0Jm.png)](https://i.stack.imgur.com/0qI0J.png) Screenshot - (click to enlarge)<issue_comment>username_1: Apparently YouTube videos downloaded for offline viewing get expired after a certain amount of time. I haven't heard anything official about though. The downloaded videos are stored in the internal storage but they are saved as .exo file format which only the YouTube app can open (you can't play them with any other media player app) The best advice I can give you is to use a YouTube downloader like *Tube mate* to download the videos. Upvotes: 3 <issue_comment>username_2: It seems that YouTube Offline feature is expected to work that way, in specific regions/countries. In **India**, those offline videos are not removed at all(unless YOU remove them or uninstall updates of YouTube app or if you connect the device to internet even once during the 48-hour window, the YouTube app will be able to verify the status and will refresh the 48-hour deadline.) Read more at: Here is the [link](http://indiatoday.intoday.in/technology/story/surprise-offline-youtube-videos-dont-vanish-after-48-hours/1/407062.html) which confirm this. But in some specific regions/countries videos are removed after 48-hr expiry time. Below is the relevant quote from article in <http://www.engadget.com/> > > Anything you save will be accessible for 48 hours in the offline > section on the left-hand sliding menu. > > > Check this [link](http://www.engadget.com/2014/12/11/youtube-android-offline-playback-asia/) for more details: Hence, it is not a bug or issue but the Business model of YouTube. You may or may not agree with it but that is the present situation. Upvotes: 2 <issue_comment>username_3: Just change the date of your device and disconnec it frm internet . Change date to the one when downloaded Upvotes: 0 <issue_comment>username_4: Offline videos expires when you clear the *cache* of YouTube app. If you dont clear, then all videos will not expire Upvotes: -1 <issue_comment>username_5: Here I Cameroon it is 29 days. But I've got to connect only to a wifi network to get it refreshed. Clearing cache never cause the videos to expired. Rather what I realize is that during download if you forcestop YouTube app or you have a shut down, you tube won't care whether you were downloading a 4GB video and you were at 99%..... Trust me.. You may have to start all over again.... That's how it works with me Upvotes: 0
2015/08/10
1,230
4,703
<issue_start>username_0: **Problem:** Install ADB drivers (google\_usb\_drivers) on a Windows 10 client in order to enable debugging for my OnePlus One (OPO). **What I have tried:** After some Googling I found several guides telling me to add the devices hardware id to googles driver "android\_winusb.inf" under `[Google.NTx86]` and `[Google.NTamd64]`. ``` ;OnePlus One %SingleAdbInterface% = USB_Install, USB\VID_05C6&PID_6765 %CompositeAdbInterface% = USB_Install, USB\VID_05C6&PID_6765&MI_01 ``` After manually selecting this file as the driver using Device Manager, I get this error message: `The hash for the file is not present in the specified catalog(...)` [![Device Manager Error](https://i.stack.imgur.com/TFej3.png)](https://i.stack.imgur.com/TFej3.png) Googling this error, I found many references to similar problems with Windows 8.1. They all suggested to (scarily I might add) turn off signature checks on drivers using the command: `bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS` This however, seems to have no effect - I get the same error as before. Have this feature been disabled or changed since Windows 8.1 maybe? **Question:** Does anyone know how to get ADB up and running on a Windows 10 machine? If so which steps did you take? Am I completely off with what I've tried so far?<issue_comment>username_1: Try the [15-seconds ADB/drivers all-in-one](http://forum.xda-developers.com/showthread.php?t=2588979) installer. You could also install the Samsung drivers rather than conventional OnePlus drivers. I installed these drivers and I've had mine working since the upgrade. You could also try following [this guide](https://forums.oneplus.net/threads/full-guide-setting-drivers-up-unlocking-bootloader-flashing-recovery-roms-kernels-rooting.291274/) on how to set it up. Upvotes: 5 [selected_answer]<issue_comment>username_2: I had similar problems, adb devices didn't list any devices once I'd upgraded to Windows 10. I happened to have an Intel-powered Android phone connected over USB. I ended up removing the Intel-specific Android Driver (downloaded yesterday, version 1.9 which doesn't explicitly support Windows 10) and then used the universal Android USB driver <https://github.com/koush/UniversalAdbDriver> following the steps described in the following article (using Device Manager and removing the previous driver). For good measure I disconnected and reconnected the USB cable after removing the previous driver and before selecting the replacement driver. <http://www.makeuseof.com/tag/android-wont-connect-windows-adb-fix-it-three-steps/> My computer has several possible matches in Device Manager when I selected choose the driver manually. I checked each one until I found what seemed to be the relevant one i.e. the Universal Driver, then from the list I picked the Android USB Driver. As you have a different device, you may need to pick a different device driver from the list. Upvotes: 1 <issue_comment>username_3: I couldn't update the ADB driver on Windows 10. When I tried installing the generic Google ADB driver by clicking on "Browse my computer for driver software" and choosing the driver folder, Windows ignored the drivers, saying there were no drivers found. I finally found the solution in this article, [Manually installing Android ADB USB Driver](http://visualgdb.com/KB/usbdebug-manual/). The missing step is to continue guiding Windows after clicking on "Browse my computer for driver software". When selecting the folder with the driver, click on the "Let me pick from a list of device drivers on my computer". Select "Show all devices", then "Have Disk". This defaults to drive `A:` --- navigate to the folder with the extracted USB drivers, probably named `usb_driver`. You'll then be able to choose "Android ADB Interface" and install the driver. This allowed me to connect OnePlus One to Windows 10 for debugging. I could navigate in Chrome to `chrome://inspect/#devices` and see my device. Upvotes: 2 <issue_comment>username_4: Google's adb driver works fine with any Android phone. It's Microsoft policy to forbid class drivers so each vendor is required to provide same driver with different hardware ID and to pay money for Windows Logo® program and signing process. As it is in Linux )) To temporary disable integrity/signing enforcement, run as Administrator: ``` bcdedit /set testsigning off ``` reboot, install driver and then: ``` bcdedit /set testsigning on ``` and make final reboot (can be done later). You can follow my blog post on subject [Connect to Android via USB by adb in Windows](http://blog.defun.work/post-f56b41cb-6e3a-4da9-a52f-21bfab785c90.html) Upvotes: 0
2015/08/10
360
1,334
<issue_start>username_0: My current cellular plan does not include free SMS, so I'm trying to find an alternative way to send SMS for free from my Android phone. In particular, I'm trying to use the [Magic service](https://getmagicnow.com/), which interacts via an SMS short code. I have attempted to use: * Google Hangouts/Voice - but I do not get a response from the Magic short code * TextPlus - but it does not recognize short codes as valid numbers * XFinity Voice - but it does not recognize short codes as valid numbers Any ideas on how to get free SMS's to Magic?<issue_comment>username_1: I emailed Magic, and got a response that it is possible to use a regular phone number instead of the shortcode: `+1 (408) 707-3077` Magic can then be used with the methods outlined in the original question (e.g. Google Hangouts/Voice, TextPlus, XFinity, etc.). Upvotes: 1 <issue_comment>username_2: Every Android phones include [Hangouts](https://play.google.com/store/apps/details?id=com.google.android.talk). When you ask people their phone number, you can also ask them their email address to send them messages via Hangouts. However, if some people hate Hangouts, you can use [Google Allo](https://play.google.com/store/apps/details?id=com.google.android.apps.fireball) to send messages that will be received as SMS. Upvotes: -1
2015/08/10
785
3,220
<issue_start>username_0: I need some help or clarification on if I can change my Gamertag in the few games that I play on my Android Device. For example, my First Name last Initial shows up along with my Picture in all the games when I log in. However, I would like it to show the picture but have a gamertag or use a different name other then my own. Real Racing 3 is a prime example. There are a ton of users using Gamertags/Avatars, however, you can only login using Facebook, some chinese website and Google +. There is no where in there to change your name. I have looked everywhere. Also if you look at your trophies I would like it to show my NEW USERNAME. Does anyone have an answer or suggestion? Can I create a second Google+ account and not lose all the points I have acquired? I have searched everywhere for months actually as the answers to most questions are usually found with a simple search.<issue_comment>username_1: If you want to change your name for Google Play Games and it's related leaderboards you will have to change your [Google+ name](https://plus.google.com/me/about). There is no way to transfer your Google Play history and points to a different Google account. Upvotes: 1 <issue_comment>username_2: **For all games:** You can either change your Facebook or Google+ name based on the login for the specific game you play. Some games allow you to have a custom name(For ex. Bike Race). Most of the games in Play Store use Google+ signin SDK to get your profile info which includes the Profile name and Avatar. To [change your Google plus name](https://support.google.com/plus/answer/1228271), > > 1. Open the Google+ app > touch the menu icon in the upper left corner. > 2. Touch your name at the top of the screen. > 3. Touch the gear icon in the upper right corner > Edit name. > 4. Enter your preferred name > touch Save in the upper right corner. > > > You can logout and login with the same google plus account to see the updated name. **For Real Racing 3 game:** * Backup the app data/game progress using the cloud save option under the Settings menu found at the bottom-left corner of the Real racing Home screen. * Click the "Backup to Cloud" and once your data is saved to cloud it will show "Last Uploaded seconds ago message". * Sign out of the previous account and in Settings> Cloud Save > Restore to Device. This will restore the game data back to your device from the cloud. * Now that you have all your game data, you can login with an new Facebook or Google plus id with the desired name of yours already set so that the current game progress will also be saved to your new account. Upvotes: 1 <issue_comment>username_3: To change your **Google play games username** follow the steps below - * Open Google play store and search for "google play games". * It should be already installed so you have to just open it. * Now click on your avatar and you will see a pencil icon at the top right corner. * Now you can edit your **Google play games username** by clicking that pencil icon. Following the above steps will change your username across all of your games. But it **will not** change your **Google Plus profile name** (the social network). Upvotes: 0
2015/08/10
816
3,415
<issue_start>username_0: I have heard many sites saying that rooting makes phone faster but in technical detail it just increase process and more process = slow phone so why people say it Example : we have phone *A* and phone *B* *A* is rooted and *B* is not but *A* runs without any root apps so which will be fast (*according to sites A will be fast*)<issue_comment>username_1: Rooting your device does not make it "faster". It allows you to remove pre-installed "bloatware" that is pushed by manufacturers and their partners. Adittionally rooting permits you to remove, deactivate non-essential process and functions that free up ram as well. Rooting also allows you to tweak your device performance through init.d scripts custom kernels and dumping and modifying your boot.img to "kill" even more unecessary process and manufacturer impositions. You should absolutely do the research on your specific device to be sure of what you can get rid of, or you will end up soft bricking or hard bricking your device. Rooting your device enables you to make your device "faster" . Upvotes: 2 <issue_comment>username_2: There are several ways that having root *may* improve performance. But just rooting won't make a phone faster. * One common thing to do with a rooted phone is to remove "bloat" apps. These are apps that are installed by default. In recent versions of android, you can "freeze" or "Turn Off" more built-in apps, making root less of a requirement for de-bloating. [Here's a guide for those without without root](http://forums.androidcentral.com/ambassador-guides-tips-how-s/325138-guide-how-disable-apps.html "Guide to disabling apps"). With root, your best bet is to find a guide in the specific forum for your phone on [XDA Developers](http://xda-developers.com) or a similar site. These will include other users' experience about what is safe to remove or disable. * There used to be a lot of types of apps that could tune the memory management with the goal of improved performance or longer battery life, but I haven't seen them recently. Modern phones often have a lot more ram (2 or more GB) than they used to. * Another thing that a rooted phone with a specific kernel can do is overclock the processor. This is complex and potentially dangerous (could crash or cause physical damage to the phone by overheating), but may be useful for older phones with slower processors. * Installing a custom ROM may also make the phone run faster, depending on a lot of factors about the specific phone and the specific ROM. * There are also many specific fixes for individual phones that can improve performance. * Ad blockers can speed up web browsing (as well as make the phone more secure). Most of these require root as they install `hosts` redirects, although there are some that appear as a VPN and should work without root. Upvotes: 4 [selected_answer]<issue_comment>username_3: Simply rooting your phone won't make it run faster. You can use root access to tweak your phone to run faster. Here I'll make a short list of how tos 1. By removing bloatwares 2. Changing and customizing CPU governors and I/O scheduler 3. Flashing custom roms or kernels 4. Editing System configuration files such as build.prop etc. You can find many more ways to tweak your phone to make it run faster, just use Google. A rooted phone can run faster than an unrooted one only if you tweak it properly. Upvotes: 1
2015/08/10
886
3,587
<issue_start>username_0: My phone is Xperia SP, it's on CM 12.1, unofficial build (because the official one is buggy due to bad kernel). It has been bought second-hand, so I'm not sure about its history (the phone was in a good state). So, the problems started gradually, but the symptom is this: when I connect the phone to the charger, the phone goes into it's charging state, the battery icon shows the charging symbol, the LED shines red, but the phone doesn't actually charge, and the battery percent actually actually descends. I would usually just detach the phone, and reconnect it, and it would actually start charging. However, this happened more often as the time passed, to the point where it is completely empty, and it cannot be turned turned on, or charged. When I connect it, the LED goes red (the usual charging behaviour), but then it goes into booting the system, instead of going into "offline charging" mode. It fails to boot the system, because the battery is empty. It then turns off, returns to the red LED state, and from time to time it boots into recovery, which is quite unusual, since by default one has to press volume buttons to enter recovery. While in recovery, usually it would display the battery percentage, but now the place which should show the battery percent is empty. Are these the symptoms of an faulty battery, or a more severe issue? Did anyone experience anything similar?<issue_comment>username_1: I had a similar problem a few years ago with my old HTC EVO 3D which was also running cyanogenmod at this time. I tried flashing different roms and kernels but the problem was persistent. Because my battery was empty as yours is at the moment, I charged it by cutting a USB Cable and applying "+" and "-" to the battery directly. It looked really bad to be honest but it worked and I was able to go back to stock. But that didn't help. The point is - I could make sure that the battery is not defective because I was able to charge it. In the end the problem was the usb port of my phone which had to be replaced. It worked but to make sure my phone does not turn into a torch I also replaced the battery. What you describe could be the usb charging port - there might be a faulty contact which prevents the battery from charging but this is just guessing. Bottomline: Try to charge your phone by a usb cable (please be very careful while doing this) or visit a service center. Upvotes: 3 [selected_answer]<issue_comment>username_2: Battery Check ------------- 1. **Visual Inspection** If the battery of your phone is removable, simply take it out with caution (after turning the phone off, of course) and look for symptoms like bulging, corrosion near the metal terminals, and green or white-ish stains 2. **Spin test** Your battery shouldn't spin like this [![enter image description here](https://i.stack.imgur.com/14cHG.gif)](https://i.stack.imgur.com/14cHG.gif) 3. **Battery diagnostics** Try entering the code `*#*#4636#*#*` in your dialer –this should take you to a service menu where battery details are shown Charger ------- 1. **Right Charger** Charge your phone with Sony provided charger > > If anything is not fine, it is time for battery replacement > > > Upvotes: 2 <issue_comment>username_3: I had the same problem I.e. It physically looked like it was charging but the percentage was going down The solution was to remove the back cover and press the little off button with a pen hold it down until it vibrates and all should be cool and groovy... Hope this helps you.... Primeval Upvotes: 1
2015/08/11
227
996
<issue_start>username_0: What happens if I clear data in download manager? Will it delete all of my downloads?<issue_comment>username_1: Not entirely sure what it does. Never really looked into it. But I just cleared data/cache for my download manager on my Nexus 6 and all my downloaded files are still there. Edit Just to clarify, the downloads are still there if you navigate to the folder with a file manager. However they no longer show up in the "Downloads" app. Device: Nexus 6 Android Version: 5.1.1 Upvotes: 2 <issue_comment>username_2: this is an old question but the answer is no clear data from download manager will not delete any of your downloads Upvotes: -1 <issue_comment>username_3: Clearing data in "Download Manager" is safe and does not have any affect on performance or anything related to android operating system. Clearing data just deletes extra files which were used once while updating your android system. Secondly, it will not delete all your downloads. Upvotes: 0
2015/08/11
522
2,299
<issue_start>username_0: Cannot make this work...Windows 7, have installed DE and Android SDK... I can go to this path using regedit HKEY\_LOCAL\_MACHINE\SOFTWARE\DroidExplorer\InstallPath BUT I see no "sdkpath". I've tried pointing the DE to the Android SDK directory in hopes of finding SDK anything...NOTHING. What am I missing ?<issue_comment>username_1: After you install the Android SDK, you have to run the `studio.exe` or `studio64.exe` before you install DroidExplorer. This might install a bunch of platform updates. [Check this post of Ryan's](https://android.stackexchange.com/questions/95527/unable-to-locate-sdk-when-starting-droid-explorer) for a full explanation of what to do. Upvotes: 1 <issue_comment>username_2: Right. I saw the other page where Ryan explained the procedure in detail. What some of us forget, even people like me who have installed SDK at various times in the past, but don't use it much, is that after downloading SDK, or Android Studio as it is called now, you have to actually run SDK Manager or Android Studio before the tools will actually be downloaded and the paths created for Droid Explorer to use. I should know because I've gone through this before, but having been years since the last install, I had forgotten this detail, which is not really explained anywhere. I notice Ryan's tutorial on this site did show screenshots of SDK Manager, and said you have to actually run it and install some tools, and that's what triggered my memory. It doesn't help that documentation talks about SDK and SDK Manager when these products are no longer available for download, and the Android Studio download site hides the SDK tools only download at the bottom of the page, and then incorrectly states that SDK Manager is included, which it no longer is. So I lost a lot of time looking all over the internet for an old Android SDK download before I realized what Ryan was talking about. After actually running Android Studio and letting it download and install the components, Droid Explorer successfully ran and finished installation. It still doesn't automatically detect the path. I had to manually browse to the SDK folder. Note you have to select the SDK folder itself. Selecting Android alone is not sufficient. droidexplorer ============= Upvotes: 0
2015/08/11
1,933
6,150
<issue_start>username_0: I've been a proud owner of an Android for all of ~6 hours now. I just upgraded from my dumb phone, to a smart phone, for the first time ever, this afternoon. I know, a little later than most... I have a 16GB Samsung Galaxy S5 from Verizon. Phone Name: SAMSUNG-SM-G900V Model Number: SM-G900V Android Version: 5.0 Kernel Version: 3.4.0 etc etc... I put in a 16GB micro SD card, turned it on, configured it, installed a half-dozen apps, took two pictures, moved over all eligible apps to the SD card (via Settings --> Applications --> Application manager --> SD card menu), then I looked at the memory usage. Settings --> Storage shows only 7.13GB free on the internal memory, out of 16GB. This seems pretty shocking to me. The only things that stand out are: Applications, 2.45GB (ok, I suppose I understand that...), and "Miscellaneous Files", 5.47GB. **Of the Misc. Files, 5.46GB is "System memory." What exactly is "System memory?" Is this the Android 5.0 OS? Is it normal to be this large?** (I would have expected the OS to be more like ~2GB, and certainly < 4GB). **Is any of it space I can free up?** With normal usage, installing another couple dozen apps over the next couple yrs, and trying to store all photos externally on the SD card, do any of you foresee me running out of memory really soon? Thanks for any insight. PS. Here is the info exported from the DiskInfo App, per the request in the comments. --- Internal Storage (MMC) ----------------------- * System [mmcblk0p23] (/system) [ext4] Used: 2.5 GB, Free: 455 MB, Total space: 2.9 GB * Cache [mmcblk0p24] (/cache) [ext4] Used: 32.6 MB, Free: 991 MB, Total space: 1 GB * Data (userdata) [mmcblk0p26] (/data) [ext4] Used: 4.6 GB, Free: 5.9 GB, Total space: 10.6 GB SD Card -------- * External SD [mmcblk1p1] (/mnt/media\_rw/extSdCard, /storage/extSdCard) [vfat] Used: 204 MB, Free: 14.5 GB, Total space: 14.7 GB Memory ------- * RAM Used: 1.3 GB, Free: 421 MB, Total space: 1.7 GB * Swap Used: 966 MB, Free: 313 MB, Total space: 1.2 GB<issue_comment>username_1: Looking at my 32gb Nexus 5, it says that I have 26.8gb total space, so about 5gb sounds right. Samsung is also know for having a lot of bloatware on their OS which could be taking up some space. To my knowledge the only ways to free up space from the Samsung apps would require you to root your phone. In terms of running out of memory, it really depends how much you use it. If you keep all your media (music, photos etc.) on your SD card and download a modest amount of apps, 7gb should be plenty. If not I usually find I have a lot of apps on my phone that I never use anyway so you could delete those if it comes to that. Upvotes: 1 <issue_comment>username_2: Firelord gave me the tools to answer my own question, by asking me to post a screenshot of DiskInfo, which I have now added below my question. Corrections (if any) to my answer here are welcome. Looking at my DiskInfo, according to my understanding of Linux, I'll make the following deductions: Android 5.0 (ignoring the SD card) consists of the following 4 partitions: 1. mmcblk0p23, for System, 2.9GB 2. mmcblk0p24, for Cache, 1.0GB 3. mmcblk0p26, for Data (userdata, incl Apps), 10.6GB 4. Swap, 1.2GB (equivalent to the Windows "virtual memory" file, for instance) Partitions 1, 2, and 4 must be what comprise "System Memory," which is what I asked about in my question. Their sum is 2.9 + 1.0 + 1.2 = 5.1GB My "System Memory" however is 5.46GB. Why the 0.36GB difference?\* I'm not exactly sure, but I've answered my question essentially: Android 5.0 is **5.1GB** if you use these "default" partition sizes. \**Answer (thanks to @username_3 below): Android uses true, base-2 memory size, where 1 GB = 1024^3 = 1073741824 bytes, whereas DiskInfo uses the rounded off base-10 memory size, where 1 GB = 1000000000 bytes. The ratio is 1073741824/1000000000 = 1.074. DiskInfo's sum (base 10) is 5.1, so multiply by 1.074 to get the base-2 equivalent, and we have 5.1 GB x 1.074 = ~5.48 GB, which is almost the same as the 5.46GB of "System memory" reported by the Android Storage settings. Now, the minor discrepancy between 5.46GB and 5.48GB must certainly be due to some rounding error in the initial 5.1GB value reported by DiskInfo.* Can it be shrunk? Sure, you could shrink Swap, and and shrink System by <455mB, but it's prob. not worth it. Shrinking Swap could reduce performance, and shrinking System could require expanding it again the first time there's an upgrade. **Update, 13 May 2016:** FYI, I've now run out of internal storage memory for apps, and I *have* cleared all the cache. It turns out the 16GB version of the phone is NOT big enough for my needs. I will now figure out how to get apps to install onto the SD card by default, so I can free up internal space. This will probably require repartitioning the SD card, using gparted on a Linux computer, and/or rooting the phone. We shall see. **Nevertheless, here is a key piece of information for Android 5.0 users: once you get down to <*~600MB* free space on internal storage, you will no longer be able to sync gmail, update apps, or install new apps. You will instead consistently get an error that says, "Insufficient storage available."** Therefore, ~600MB seems to be the magic amount of free internal storage that *must be available* for stable operation of the phone. Note: for some small apps, I was able to get down to 200~300MB free and still update them, but to update my bigger apps, like Facebook, gmail, Google Photos, etc, I had to free up to ~640MB or so before they would update. Upvotes: 3 [selected_answer]<issue_comment>username_3: I know this is a bit old, but I thought I would add my 2 cents on the discrepancy between what DiskInfo says and what Android says (the 0.36 GB) but my guess is that DiskInfo is representing sizes in Base 2 GB notation (1073741824 bytes/GB) and the Android UI is displaying in Base 10 notation (1000000000 bytes/GB) 5.1 \* 1.073741824 ~= 5.476. With rounding errors factored in it should put you right at the 5.46 Android shows Upvotes: 2
2015/08/11
1,724
5,789
<issue_start>username_0: TL;DR: Nexus 6 shuts itself off randomly, seems to be connected to the camera, wifi, and cellular. Internet is full of placebo solutions and "me-too" posts. Logcat output below. --- I've been having this problem for months now, but it wasn't there when the phone was new. Here's what happens. * I will be on a phone call, using a headset, and when I open the camera app, WhatsApp, or - sometimes - when I'm doing nothing at all, the phone will just shut itself off instantly. * Sometimes it'll shut itself off when I leave the house and look for a Car on DriveNow. My house has Edge coverage, my street has LTE. * A few times the phone would shut off again after I've switched it back on. This can happen a few times in a row. Waiting before I do anything after switching it back on *seems* to help. Note: * **I am *nearly* always on a phone call when this happens.** * I think the display is **always** on when it turns itself off. Searching the internet, I have found tons and tons of complains of the same or similar problems, and I've been reading the Google product forums, with hundreds of me-too type posts and placebo solutions. People will claim that uninstalling an app I and the other posters have never heard of fixed the problem for them. Some claim what wiping the phone will help, others say that that doesn't work. The problem occurs very sporadically. It's very hard to find out whether doing anything has fixed it or not. This is what I've tried so far: * I've uninstalled all apps I can live without. Making sure I only use apps that I have been using when the thing was working properly. * I've deleted the cache partition (one of these placebo solutions) I would try a factory reset, but the data inside of WhatsApp is extremely important to me and I don't have a spare phone to load my WhatsApp backup before wiping the Nexus 6 (you need your SIM for WhatsApp to work, so the emulator doesn't help me). I don't want to bring the phone back to the store or send it to Motorola for the same reason. If I can help it at all. For the last two days, I've been keeping my phone connected to my computer with a shell open and watching the output of `logcat`, and a few minutes ago it did indeed shut itself of with the shell connected. Here's [**the logcat output from shortly before the crash**](http://pastebin.com/u0dRqvAT) I wouldn't be posting this Question, I'd just live with it until I get a spare phone and send the Nexus 6 in for repair, except for the fact that I now have the output from logcat, and that might make sense to someone here. * The phone is running Android 5.1.1 (~~LMY47Z~~ LMY48I) * I have a german T-Mobile SIM * Here's a [list of apps I have installed](https://www.notehub.org/2015/8/11/audiblehttpsplaygooglecomstoreappsdetail) ### Update I did a factory reset. It went fine. :) Of course I have no idea whether that fixed it or not. ### Update the second It didn't :-( The problem also happens (just happened) in safe mode. ### Update the third It also happens on the Android M developer preview. I've since bought a Moto E (lovely) and I will send the Nexus 6 in for repair. Hoping I won't get it back with a message saying there's no fault.<issue_comment>username_1: You can do an adb backup or use Titanium Backup to back up your Whatsapp data. Then you should do a factory reset, if that does not help, you should reflash the original firmware. Upvotes: 0 <issue_comment>username_2: This is a partial answer based on the output of logs provided. Okay, after looking at the logcat, my guess would be a buffer overrun error originating/stemming from mm-camera and connected services/processes and ion memory allocation. Snippets, ``` 08-11 17:51:19.504 E/libaprpmem( 1539): Ion allocation success virtaddr : ret=2996989952 fd=48 heapid=33554432 08-11 17:51:19.507 E/libaprpmem( 1539): 08-11 17:51:19.332 E/mm-camera( 1539): mct_stream_destroy_buffers: Exit 08-11 17:51:19.337 E/mm-camera-isp2( 1539): isp_port_check_caps_unreserve:807 ide 3000f port 0xb6749d60 08-11 17:51:19.337 E/mm-camera-isp2( 1539): isp_handler_destroy_stream_param:1616 num_streams 0 ``` Okay so don't be ready to quote me on that but dig this article discussing buffer underrun/overrun <http://www.articlesfactory.com/articles/computers/buffer-underrun-and-overrun-scenarios.html> I can't pin it to a specific specific cause but try setting your camera resolution to as low a setting that you can get it, and if you can, disable your proximity sensor. Either when the camera crashes it takes your phone with it or even though it crashes , seemingly repeatedly, it keeps gobbling up your ram till your phone tanks and shuts off. Hit some development sites and see what devs have to say or are doing with respect to this subject if it's common. It could be "fixed" by a decent/corrected kernel build. Unless you are under contract or tied down by the knox/enterprise-ability thing. You may need to go pirate/commando and break your contract to save your data though. Meaning rooting and ripping all your data off the device. OH! and i forgot this, ``` 08-11 17:49:33.932 W/ResourcesManager(29010): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources. ``` That one is a genuine WTF.run `ls -al /system/framework/` and look for zero length \*.jar files. More- missing lib ``` 08-11 17:51:10.373 E/mm-camera( 1539): Tuning lib open failed: dlopen failed: library "libmmcamera_tuning.so" not found ``` Edit- Rerun your logcat "live" as `logcat |grep F/` as before with phone connected till crash. Upvotes: 3 <issue_comment>username_3: 1. Backup data 2. Flash Original file or another ROM , this will definitely solve your problem. 3. Enjoy. Upvotes: 0
2015/08/11
985
3,066
<issue_start>username_0: I am wondering how music files, downloaded from the Google Play Store, are stored on an Android device. In other forums on this site, I found that they are located in the `/sdcard/Android/data/com.google.android.music/cache/music` directory. However, I am wondering how the files are named, or organized. Are they named based on the song name, so for example, would the song "Style" be named under "style.mp3"? Also, are the files organized in a certain file based on a playlist, etc?<issue_comment>username_1: You can do an adb backup or use Titanium Backup to back up your Whatsapp data. Then you should do a factory reset, if that does not help, you should reflash the original firmware. Upvotes: 0 <issue_comment>username_2: This is a partial answer based on the output of logs provided. Okay, after looking at the logcat, my guess would be a buffer overrun error originating/stemming from mm-camera and connected services/processes and ion memory allocation. Snippets, ``` 08-11 17:51:19.504 E/libaprpmem( 1539): Ion allocation success virtaddr : ret=2996989952 fd=48 heapid=33554432 08-11 17:51:19.507 E/libaprpmem( 1539): 08-11 17:51:19.332 E/mm-camera( 1539): mct_stream_destroy_buffers: Exit 08-11 17:51:19.337 E/mm-camera-isp2( 1539): isp_port_check_caps_unreserve:807 ide 3000f port 0xb6749d60 08-11 17:51:19.337 E/mm-camera-isp2( 1539): isp_handler_destroy_stream_param:1616 num_streams 0 ``` Okay so don't be ready to quote me on that but dig this article discussing buffer underrun/overrun <http://www.articlesfactory.com/articles/computers/buffer-underrun-and-overrun-scenarios.html> I can't pin it to a specific specific cause but try setting your camera resolution to as low a setting that you can get it, and if you can, disable your proximity sensor. Either when the camera crashes it takes your phone with it or even though it crashes , seemingly repeatedly, it keeps gobbling up your ram till your phone tanks and shuts off. Hit some development sites and see what devs have to say or are doing with respect to this subject if it's common. It could be "fixed" by a decent/corrected kernel build. Unless you are under contract or tied down by the knox/enterprise-ability thing. You may need to go pirate/commando and break your contract to save your data though. Meaning rooting and ripping all your data off the device. OH! and i forgot this, ``` 08-11 17:49:33.932 W/ResourcesManager(29010): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources. ``` That one is a genuine WTF.run `ls -al /system/framework/` and look for zero length \*.jar files. More- missing lib ``` 08-11 17:51:10.373 E/mm-camera( 1539): Tuning lib open failed: dlopen failed: library "libmmcamera_tuning.so" not found ``` Edit- Rerun your logcat "live" as `logcat |grep F/` as before with phone connected till crash. Upvotes: 3 <issue_comment>username_3: 1. Backup data 2. Flash Original file or another ROM , this will definitely solve your problem. 3. Enjoy. Upvotes: 0
2015/08/11
739
2,392
<issue_start>username_0: I'm thinking about moving onto a custom ROM, but I don't want to [permanently lose any DRM keys](https://android.stackexchange.com/questions/84561/does-rooting-a-sony-xperia-z2-remove-sony-specific-features). How do I go about fully backing up the contents of the phone before mucking around with it?<issue_comment>username_1: To backup your phone, first you have to root it. Depends on your Android version, root method is different. After you root your device, you can backup your DRM keys in TA partition with this [app](https://github.com/DevShaft/Backup-TA/releases). After you backup your TA partition, you are good to unlock BL. If you want to use your DRM keys again, relock BL and restore TA partition. (Unlocking BL delete ALL data on your device internal storage. Remeber to backup your data first) Upvotes: 0 <issue_comment>username_2: I figured it out eventually. It's not easy, because you need to get root before wiping anything (or unlocking the bootloader, which would wipe everything). * Download a copy of the old firmware, which you can find [at the XDA forums](http://forum.xda-developers.com/showthread.php?t=2759934). You will need to downgrade to this old firmware so that you can take advantage of an old root exploit (vulnerability). I used version [17.1.2.A.0.314 from the UK](https://www.androidfilehost.com/?fid=23622183712460494), but anything from 4.4.2 should work. * Obtain root and install a custom recovery so that we can use it upgrade the firmware. XZDualRecovery is popular. I used [Z2-lockeddualrecovery2.8.21-RELEASE.installer.zip](http://nut.xperia-files.com/?ql=cdf102e45a5d0d8f2b7518c0e932a5166c4a7705). This includes a root exploit so that it can install the recovery. * You can use the custom recovery (TWRP) to create a backup of the TA partition that includes the DRM keys. * Use the recovery to upgrade back to an up-to-date official firmware version. You need a pre-rooted firmware (PRF) zip file. The best place to look for one is on [XDA's Xperia forums](http://forum.xda-developers.com/xperia-z2/general). Here's an example for [version 23.4.A.1.232](http://forum.xda-developers.com/xperia-z2/general/d6503-pre-rooted-23-4-1-200-flashable-t3212227). Don't forget to clear the Dalvik cache. This process does not require you to unlock the bootloader, so the DRM keys are never wiped. Upvotes: 2 [selected_answer]
2015/08/12
573
2,077
<issue_start>username_0: I have Nexus 4 on Android 5.1.1, and I also have an image file with screenshot of my timetable. I'm trying to create a shortcut to it from the home screen. I've tried 4 separate apps that claim to be able to do this, but all of them crashed. Is there any way I can create this shortcut?<issue_comment>username_1: As [commented above by Firelord](https://android.stackexchange.com/questions/119000/access-image-file-from-home-screen#comment147204_119000), the launcher is important. In Apex Launcher, if I add a widget for Gallery app, I can select a single image and the selected will be displayed as a 3x3 widget. Upvotes: 1 <issue_comment>username_2: So I bought a new phone (Nexus 5x) and [Shortcut Image](https://play.google.com/store/apps/details?id=jp.windbellrrr.widget.shortcutimage&hl=en) now works for me. Upvotes: 2 [selected_answer]<issue_comment>username_3: For people who are searching to display all pictures from an images folder, there is also this app : [Nice Simple Photo Widget](https://play.google.com/store/apps/details?id=com.nullium.nicesimplephotowidget) Upvotes: 0 <issue_comment>username_4: If you have a Samsung device, go to files and find the picture. Then long press to select it, click more on the bottom, then click add to home screen. :) Upvotes: 3 <issue_comment>username_5: To add a shortcut of a picture to your home screen, there's no app needed on the Samsung Android: Go to 'My Files' (not Gallery). Find the picture you want to add to your home screen. Long Press on that picture (a checkmark will appear over it). On the top Right of your screen click on the 3 dots icon. Select "Add to Home Screen" This method is similar to that listed in an earlier post, but some minor things have been changed in the OS to create this shortcut (probably due to a software update). This is current as of May 2021 Upvotes: 1 <issue_comment>username_6: * Upload the photo to Google Drive * Open the Drive app and open the photo * Open the triple dots menu in the top right * Scroll down * `Add to Home screen` Upvotes: 3
2015/08/12
310
1,410
<issue_start>username_0: I am using Lenovo A7000. I was facing some problems related to the touch in my phone, so I did a factory reset without backing up the data. But because of this my only launcher also got deleted. I cant access the notification bar as nothing is happening if I pull it down. I can't even turn the USB debugging on. Is there a way to fix this ?<issue_comment>username_1: Hope your device is connected to your google account. if so you can install you can install third-party launcher from play store from any system you have access to. just login on web using same google account and it will display your device when you try to install an app from play store. you may additionally like to install something like quick setting. Upvotes: 1 <issue_comment>username_2: Since your device has been factory reset, you should go through the set up steps which will prompt you to sign in with your Google account. Once you are successfully signed in, you will be able to install a launcher from the Google Play Store from your PC, and this will prompt the application to be installed on your device. If the launcher doesn't get installed for whatever reason, you should be able to access the notification bar now, and get into `Settings` from there (rather than using a launcher) which should allow you to enable ADB or bluetooth and you can push the apk from there. Upvotes: 1 [selected_answer]
2015/08/12
272
1,226
<issue_start>username_0: how can I transfer nokia lumia 8 data to samsung galaxy 3 I tried Transgo the usb cables would not connect to the PC even after I bought good quality cables.<issue_comment>username_1: Hope your device is connected to your google account. if so you can install you can install third-party launcher from play store from any system you have access to. just login on web using same google account and it will display your device when you try to install an app from play store. you may additionally like to install something like quick setting. Upvotes: 1 <issue_comment>username_2: Since your device has been factory reset, you should go through the set up steps which will prompt you to sign in with your Google account. Once you are successfully signed in, you will be able to install a launcher from the Google Play Store from your PC, and this will prompt the application to be installed on your device. If the launcher doesn't get installed for whatever reason, you should be able to access the notification bar now, and get into `Settings` from there (rather than using a launcher) which should allow you to enable ADB or bluetooth and you can push the apk from there. Upvotes: 1 [selected_answer]
2015/08/12
324
1,080
<issue_start>username_0: I've just bought a Samsung Galaxy A7 running on Android 4.4.4. How do I copy and paste calendar event in S-Planner app?<issue_comment>username_1: You can't. Functionality has been removed. Time to use a different app! Upvotes: -1 <issue_comment>username_2: It would be great if this function was added again... sooooo frustrating. It existed before: here's a print screen from my galaxy S2 running android 4.1.2 (Jelly Bean) [![Copy event was possible on Android 4.1.2](https://i.stack.imgur.com/HLzLIm.png)](https://i.stack.imgur.com/HLzLI.png) Now on my galaxy S4 running android 5.0.1 (Lollipop) it isn't available anymore: [![Copy event no longer possible on Android 5.0.1](https://i.stack.imgur.com/rVcxjm.png)](https://i.stack.imgur.com/rVcxj.png) For Kit Kat I don't know... don't have any device using it unfortunately. But if it doesn't appear in the popup menu when keeping finger on the event, it's likely that it has been removed since that version. Hope this helps and that this function will be added again in the future. Upvotes: 0
2015/08/13
820
2,541
<issue_start>username_0: Things I'm using: * PC: MacBook Pro (Late 2013), OS X Yosemite version 10.10.4 * USB: ORICO H7928-U2/U3 USB 3.0 * Smartphones: LG G4, Samsung Galaxy Note 2 * ADB version: 1.0.32 I'm trying to connect multiple devices and run at the same time under Eclipse IDE by using ADB, but when I connect two devices, one device status is offline or not listed. * Connection status: ``` pc right usb port ---------- usb hub ---------------- LG G4 └--------------------- galgaxy note2 ``` * Command line in terminal: ``` nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices adb server is out of date. killing... * daemon started successfully * List of devices attached LGxxxxxxxxxxxxxx device ``` * Output when disconnecting all devices from USB hub and reconnecting them: ``` nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb kill-server nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached Galaxyxxxxxxxxxxx device ``` or ``` nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached LGxxxxxxxxxxxxxx offline Galaxyxxxxxxxxxx offline ``` What is best way to connect to multiple devices simultaneously?<issue_comment>username_1: You can't. Functionality has been removed. Time to use a different app! Upvotes: -1 <issue_comment>username_2: It would be great if this function was added again... sooooo frustrating. It existed before: here's a print screen from my galaxy S2 running android 4.1.2 (Jelly Bean) [![Copy event was possible on Android 4.1.2](https://i.stack.imgur.com/HLzLIm.png)](https://i.stack.imgur.com/HLzLI.png) Now on my galaxy S4 running android 5.0.1 (Lollipop) it isn't available anymore: [![Copy event no longer possible on Android 5.0.1](https://i.stack.imgur.com/rVcxjm.png)](https://i.stack.imgur.com/rVcxj.png) For Kit Kat I don't know... don't have any device using it unfortunately. But if it doesn't appear in the popup menu when keeping finger on the event, it's likely that it has been removed since that version. Hope this helps and that this function will be added again in the future. Upvotes: 0
2015/08/13
907
3,574
<issue_start>username_0: My boy is playing Scribblenauts on an Android 5.0 tablet, under the control of a restricted profile. He's done all the levels, and there is an IAP required to purchase the rest of the levels. Can't do the IAP from within the restricted profile, because no play store access. I've purchased the levels on the parent account, but they don't show up in his restricted profile. How can I get the new levels for him?<issue_comment>username_1: I read on a site that the updates may be higher (e.g. PG) than the rating you have set (e.g. G) in the restricted profile. Try the following: either turn the Parent controls off to allow updates, or adjust the maturity rating (temporarily) so the game can update. Once updated, turn controls back on/or adjust maturity rating back to the previous choice. Upvotes: -1 <issue_comment>username_2: You could try temporarily unrestricting the account. Your phone must be rooted. I haven't tried doing this and have no idea whether or not it'll work. It's just idle speculation. 1. Make a full backup of the entire device, including all priceless user data such as documents, photos, and home videos. Store the backup on your home computer, or on a MicroSD card kept in a safe place. 2. [Root](https://android.stackexchange.com/tags/rooting/info) the device. This carries risks, which I shall not list here. 3. Install SuperSU. 4. Temporarily convert the restricted profile into a non-restricted profile. Right now, I'm too tired to prepare a full set of instructions on how to do this. Instead, for now, you can pay a technician to look at [this post](https://android.stackexchange.com/questions/50223/converting-an-existing-user-to-a-restricted-profile#52669). Upon seeing the post, she'll be able to figure out what to do. 5. Try to make your in-app purchase. 6. Set the profile to be restricted again. I wonder if the in-app purchase would work, though. Would the temporarily-unrestricted profile have a Google account associated with it? If not, could it still make in-app purchases? Maybe you'd have to add a Google account to the temporarily-unrestricted profile then remove it from that profile after making your in-app purchase? Please leave me some comments about whether or not this worked for you. Upvotes: 0 <issue_comment>username_2: You could try creating an almost-restricted account and letting your son use that account. For instructions, follow [this link](https://android.stackexchange.com/questions/92186/creating-restricted-accounts-on-phone-running-lollipop#96141). I haven't tried doing this and have no idea whether or not it'll work for your situation. It's just idle speculation. Please leave me some comments about whether or not this worked out for you. Upvotes: 0 <issue_comment>username_2: Check into which third-party ROMs work on your device. Pick one. Contact fellow users of this ROM. Tell them what you'd like to do. Ask them whether or not the ROM allows it. If the ROM doesn't allow it, contact the ROM developer(s) in their preferred way (maybe through their issue-tracking system) and ask if they could please make it possible. Please leave me some comments about whether or not this worked for you. Upvotes: 0 <issue_comment>username_3: You can create a kids account though Google play and while you setting it up there's an option called ask a parent. Active that and make a password then if your child to the last free level of a game it will pop up on the screen, ask a parent. Then just put your password in and buy more levels. Hope this helps Upvotes: 0
2015/08/13
333
1,342
<issue_start>username_0: I have several Android devices in a local network. (Android Set Top Boxes from Geniatech, running 4.2 Jelly-Bean) If these boxes have problems or need debugging, I simply connect to them via ``` adb connect ip-address ``` there I have full access to the (rooted) devices. Unfortunately everybody in the network has this possibility. I understand that it is the responsibility of the network admin, to protect it against hackers and stuff, but I would like to add additional security. So my question is: **Can I somehow protect the adb-connection to the Android with a password?** (or a Certificate or something) Or does anybody of you know alternatives? ADB must remain open, so I can access the devices from the network, e.g. to directly make apk-updates, or read the logfiles. Best regards<issue_comment>username_1: As suggested by @Izzy I am going for the "firewall-solution": Block all connections for the adb-port (5555), except from my trusted devices. Thanks again! Upvotes: 1 <issue_comment>username_2: although it's open in your lan, it is still adb. it's the same as over usb. you have to acknowledge every device which want to connect once before it can connect. if you think, there is a acknowledged device which should not be there, you could reset that list in developer settings. Upvotes: 0
2015/08/13
289
1,295
<issue_start>username_0: Mostly, android devices get updates through OTA to higher versions. I had upgraded to Kitkat(MIUI6) version, on my Redmi 1S using OTA. I have downloaded complete ROM of Jelly bean(MIUI5). But, I cannot install directly, it shows `error` and failed. That means an upgraded device cannot downgrade by direct installation. What should be done? (Unrooted device)<issue_comment>username_1: It depends on the manufacturer and the android version most likely. When there are new system updates, there are also often new bootloader versions available. Those are automatically updated to run on the newest software and provide support for the new android version. The installation of older software packages is often restricted by the newer bootloader. Some phones can be downgraded to older software versions of android by flashing a zip file via recovery or fastboot. But in the end it depends on which phone you have got and which android version you want to downgrade to. Upvotes: 3 [selected_answer]<issue_comment>username_2: Your bootloader needs to be unlocked for you to install a custom OS. Keep in mind, unlocking bootloader will most-likely void your warrenty. And I think you also will stop receiving any future OS upgrades from your manufactures/carrier. Upvotes: 0
2015/08/13
2,295
6,571
<issue_start>username_0: **Problem description:** I have a WLAN problem with my Samsung Galaxy S3 (GT-I930). I cannot activate WiFi. Logcat shows me that the driver could not be loaded (detailed WiFi logging has been activated via the developer options): ``` D/WifiService( 2240): setWifiEnabled: true pid=3142, uid=1000 E/WifiService( 2240): Invoking mWifiStateMachine.setWifiEnabled E/WifiStateMachine( 2240): InitialState !CMD_START_SUPPLICANT 0 0 E/WifiStateMachine( 2240): Failed to load driver ``` The `netcfg` command does not list any `wlan0` interface: ``` lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00 sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00 ip6tnl0 DOWN 0.0.0/0 0x00000080 00:00:00:00:00:00 rmnet0 DOWN 0.0.0/0 0x00001090 00:00:00:00:00:00 rmnet1 DOWN 0.0.0/0 0x00001090 00:00:00:00:00:00 rmnet2 DOWN 0.0.0/0 0x00001090 00:00:00:00:00:00 ``` In the WLAN advanced settings, there is no MAC address available. The WiFistatus that can be reached via the `**#*#*4636#*#***` service code on the phone number pad lists the following information: Wi-Fi state: Disabled Network state: Supplicant state: UNINITIALIZED RSSI: -127 BSSID: SSID: Hidden SSID: false IPaddr: 0.0.0.0 MAC addr: Network ID: -1 Link speed: -1 Mbps Scan results: **Android version:** The phone is rooted, ClockworkMod Recovery (CWM) is installed. I tried different custom ROMs (see next point "history"). The current Android version is 5.0.2 (ROM: Liquid Smooth Lollipop, Kernel-Version: 3.0.31-CM-gdd7ad6a) **History** At first, I rooted my phone and flashed **Cyanogenmod 10.2 cm-10.2.0-i9300** (Stable Version, Android 4.3)). Everything worked fine (including WiFi) and I was pleased with the smoothness and beauty of the Cyanogenmod. Out of curiosity, I tried a **Cyanogenmod cm-11-20150614-NIGHTLY-i9300** (Android 4.4) and faced the problem the first time. After returning from airplane mode, the WiFi was broken. I assumed the nightly build to be still buggy and reflashed the Cyanogenmod 10.2. However, I was not able to get the WiFi back. After that, I returned to a **stock ROM** but no luck. The WiFi was still dead. I started to consider that it might be a hardware issue and got a **new WLAN antenna as well as a new WLAN-speaker-thingy**. I changed the parts and tried again with Cyanogenmod 10.2. Guess what, the WiFi was working again. But unfortunately not very long. I am not quite sure but I assume the WiFi went away again after returning from airplane mode. Well, I then tried two other custom ROMs: **SlimKat 4.4. Slim-i9300-4.4.4.build.9.0-OFFICIAL-8312** and **Liquid Smooth Lollipop (5.0.2)** which is still on the phone. **On Liquid Smooth, I was able to get the WiFi back a couple of times** (meaning I could see local networks in range and even connect to one of them) but never really long and in the end, it died again forever. I am really confused about the question: Is it a software or a hardware issue? I sent the WLAN speaker module back to the merchant and tried another one but was not able to revive the WLAN since then. **Other things I tried** I tried some WLAN fixer apps (without success): * Wifi Fixer * Blade Wifi Fix * FXR WiFi fix and rescue 1.5.0 I tried some useless stuff with the `wpa_supplicant.conf` file that I have read about in another forum. In addition to that, I also did googling and I think I got through the whole first page of search results for a lot of search terms. **Logcats** I pasted the detailed logcats in Pastebin: * Liquid Smooth boot on the day WLAN was working for a short period of time: <https://pastebin.com/dT9Ucbs5> * Liquid Smooth successful WLAN activating (search for "banana" that is the SSID I connected with): <https://pastebin.com/yQsgkQiV> * Liquid Smooth boot and failed WLAN activation (freshest log): <https://pastebin.com/ikDr9vJi> * The `dmesg` output: <https://pastebin.com/0caXAPAd>. There is a message: "failed to power up DHD generic adapter" **I would really appreciate any kind of help or advice. What can I still try? What could be the cause of the problem? Anything I have overlooked?**<issue_comment>username_1: After looking at your `dmesg`, if I am understanding it right, your WiFi device is identified as `mmc2` and an external card ``` <6>[ 18.525295] c1 mmc2: card inserted. <4>[ 18.525962] c1 wifi_platform_set_power = 1 <4>[ 18.525970] c1 ------------------------------------------------------------------------------------------------ <4>[ 18.525978] c1 brcm_wlan_power Enter: power on <6>[ 18.525983] c1 111brcm_wlan_power Enter: power on <4>[ 18.525988] c1 gpio_table = [2] <7>[ 18.526198] c1 WLAN: GPIO_WLAN_EN = 1 <4>[ 18.730036] c1 wifi_platform_bus_enumerate device present 1 <4>[ 18.730044] c1 gpio_table = [6] ``` And is cycling on and off because it is having the wrong/excessive voltage being pumped into it. ``` <6>[ 16.407671] c1 mmc2: card inserted. <3>[ 16.635241] c0 mmc2: cmd 52 command index error error <3>[ 16.636109] c0 mmc2: cmd 52 command index error error <3>[ 16.641166] c0 mmc2: cmd 8 command crc error <3>[ 16.641729] c0 mmc2: cmd 5 command end bit error <3>[ 16.642015] c0 mmc2: cmd 5 command end bit error <4>[ 16.642068] c0 mmc2: host doesn't support card's voltages <3>[ 16.642080] c0 mmc2: error -22 whilst initialising SDIO card <3>[ 16.643112] c0 mmc2: cmd 55 command end bit error ``` With new hardware, you require a new kernel build with correct device support compiled into the kernel. Whether or not this "cycling" is damaging your new hardware I can't be sure. It wasn't really clear in your question but I am assuming these were internal changes to your phone's hardware? You will likely need to get the specifics of that new hardware and find the driver/kernel-source/support and port it into your current source and compile a new build, modules, and all. Basically, any room you flash on this "new" device is likely going to fail in the WiFi department, and flashing even back to stock via the/an official firmware release is not likely to fix it. Upvotes: 0 <issue_comment>username_2: Renaming the `data\misc\wifi\wap_supplication.conf` file has fixed the problem for some people. The Android system by default will recreate the `wap_supplication.conf` file after renaming or removing it. In my case, either way, it did work but for a short amount of time. Finally, I just relapsed the wireless adapter, so it's likely a hardware problem. Upvotes: -1
2015/08/13
338
1,415
<issue_start>username_0: I have a samsung galaxy prime and have just bought a 64 g memory card as the 8 g was not big enough. According to the youtube video i must insert the new card on top of my sim card. It slots in fine, is recognised on the settings as more memory, but still saying storage space running out. What else must i do please.<issue_comment>username_1: > > but still saying storage space running out > > > this probably refers to the internal memory of your device. Apps are by default stored on the internal memory. What you can do to increase the available space on your internal memory is the following: 1. Move all media files (your photos/ music / videos) to your external SD-Card. You can use a file explorer to do so (cut and paste). 2. -If available- move app data to your SD card - to do this go into your settings, search "applications / application manager" and look for each app if you can move it to the SD card Upvotes: 2 <issue_comment>username_2: The usual basic solutions: clear your cache (and do it frequently), Uninstall unnecessary apps, moving apps to sd card (if available). Apart from these, what I do is manually move some of the App's data folders in internal storage (Android/data and Android/obb), to external SD card (usually huge games that are taking lot of space), and move them internal storage only when I want to play them. Move them back later. Upvotes: 1
2015/08/13
2,081
7,444
<issue_start>username_0: > > Note:- I've found out that to achieve what I want, there is a simpler, > more flexible way than reverse tethering. If you are ever in my > situation, read the answer below. > > > I reverse tether internet from laptop via USB, and wan't to share it further by creating an Hotspot on my rooted android phone. I get internet not just on my browser, but everywhere including Play Store and Whatsapp, when I reverse thether it from my laptop via USB. The only issue is that when I start a WiFi hotspot on my phone so that other devices can share this internet, they don't get internet. How do I fix this? Here is the commands I used to set up my phone to accept internet from my laptop: ``` ifconfig rndis0 10.42.0.2 netmask 255.255.255.0 route add default gw 10.42.0.1 dev rndis0 ifconfig ccmni0 0.0.0.0 ``` Where `ccmni0` is my Mobile Data interface and `rndis0` is the interface from which I get internet. Why I want to do this is irrelevant to the question, but read on if you want to. The reason for doing all this is that me and my room mate has to share a single LAN cable. Both of us run linux and have Broadcom WiFi cards, whose **linux drivers don't allow you to create an AP from the laptop.** I have linux only, while my friend uses linux only at times. When he is on Windows he creates a WiFi AP from his laptop using connectify. But when he is on linux, I want to temporarily create a hotspot via by mobile to share the internet.<issue_comment>username_1: Android phones are designed to manage one WiFi connection at a time. If you have connected your phone to the laptop and want the phone to serve as a hotspot, it would have to manage two WiFi connections (one to the laptop, one as hotspot). This is not possible out-of-the-box. There is, however, an app called FQRouter2 for rooted Android devices which claims to be able to do just that. More information can be found [here](http://www.littlegreenrobot.co.uk/tutorials/turn-your-android-device-into-a-wi-fi-extender/), for example. Update: I have seen your comment. The problem seems to be that the mobile is not able to route the traffic properly from its WiFi connection to the USB connection. This raises the question why you do not use the laptop directly as a hotspot. This feature is available in Ubuntu's network settings. However, problems have been reported with Android mobile devices. They do not recognize Ubuntu's built-in hotspot. Here is how to solve that: At first, install ap-hotspot: ``` sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install ap-hotspot ``` Once ap-hotspot is installed, the further steps should be rather easy. ap-hotspot is controlled via command-line. To start the hotspot (there will be a configuration procedure at very first start) ``` sudo ap-hotspot start ``` To (re-)configure the hotspot: ``` sudo ap-hotspot configure ``` To stop the hotspot: ``` sudo ap-hotspot stop ``` A detailed description of ap-hotspot can be found [here](http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html). It is also very interesting to read through the comments on that page. Kind regards. Upvotes: 0 <issue_comment>username_2: Although this does not specifically answer my question, I solved my problem. What I wanted to do is to share my internet with my friend via WiFi using my android mobile because my Linux powered laptop doesn't have driver support for creating WiFi APs. Broadcom sucks! I use my mobile phone to create a WiFi network(via hotspot), connect my laptop (source of internet) and other devices that require internet to the network. Now I configure my laptop to be a gateway and configure other devices to use my laptop as gateway. [Here](https://wiki.archlinux.org/index.php/Internet_sharing) is the guide I followed. Lucky for me, I run Arch Linux. But this should work even if you are on some other linux distro like Ubuntu. So here it goes: 1. Start hotspot on your mobile and connect the laptop which has internet and the device which needs internet connection. 2. Create a script named start-gateway.sh with the following content. > > > ``` > #!/bin/bash > sysctl net.ipv4.ip_forward=1 > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE > iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT > > ``` > > The script assumes that the interface which has internet is `eth0` and you need to forward packets from `wlan0` (your WiFi interface) to your Ethernet connection. So please confirm if these are the names of the interfaces from `ifconfig` output. 3. Make the script executable and you are done: `chmod u+x start-gateway.sh` Whenever you need to start the gateway, execute the script with root privileges when connected to the WiFi: `sudo ./start-gateway.sh` Now all you have to do to get internet on other devices connected to the WiFi is to set the manually set IP configuration on those devices, giving the gateway as the IP address of your new gateway. Remember that by default the gateway will be the phone which is hosting the WiFi network(which has no internet), and you need to change the gateway to the one you have created. Upvotes: 3 [selected_answer]<issue_comment>username_3: Posting as an answer to @username_2 as I do not have enough reputation to do that under his answer. I also have the following adapter: :~$ lspci -nn -d 14e4: 08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) I was trying to create access point (AP) from my laptop but as the author states: "Broadcom sucks!" My 2 cents of worth in this comment is what it took me a lot of time to do - set the correct DNS and gateway settings. My setup: * Laptop (connected to internet via LAN cable) [Dell Vostro 3560, Ubuntu 16.04 LTS) * Tablet (serving as an access point / hotspot. Both the laptop and the smartphone should be connected to this hotspot) [Samsung Galaxy Note 10.1 GT-N8000, Android 4.4.2] * Smartphone (which should receive the internet access) [Lenovo Vibe P1a42, Android 6.0.1] Now to elaborate on: "Now all you have to do to get internet on other devices connected to the WiFi is to set the manually set IP configuration on those devices, giving the gateway as the IP address of your new gateway. Remember that by default the gateway will be the phone which is hosting the WiFi network(which has no internet), and you need to change the gateway to the one you have created." On my smartphone I connected to the hotspot / Tablet via wi-fi. After you have connected to the hotspot, initially you have no internet. You need to edit the newly created connection's details on the smartphone as following: * "IP Settings" - change from the dropdown from "DHCP" to "Static". * Leave the "IP Address" untouched (we will reuse it) * Change the gateway to the IP address of the laptop's (server) WLAN interface IP. You can find it after you run "ifconfig" in the terminal on the laptop. * For DNS you can use any of the following addresses: "8.8.8.8", "8.8.4.4", "192.168.127.12", "192.168.127.12" (more info on: <https://wiki.archlinux.org/index.php/Resolv.conf>) Just tap on OK and your smartphone now should be using the correct gateway and DNS settings and you should have internet. I hope this will save other people some time :) Upvotes: 1
2015/08/13
632
2,189
<issue_start>username_0: Presently, I am using WhatsApp on my Nokia Xpressmisic 5530. Earlier, I had used it in Xiaomi. I need to transfer chats from Nokia to my android phone. Inside Nokia, it only have two options: 1. Via Bluetooth 2. Upload. My upload function failed. Then, next option is to send through Bluetooth. How can it be send and load inside android device? Is this possible?<issue_comment>username_1: There is no use in copying it: I think it won't work, Nokia xpressmusic is a Symbian phone and XiaoMi is not Symbian. The WhatsApp database will be different for both the phones. So, they may not be compatible. Upvotes: 0 <issue_comment>username_2: You can't restore chat history from one platform to a different platform. Eg:- Window to Android or vice-versa as in your case. Read the below Whatsapp faq, <http://www.whatsapp.com/faq/en/wp/28060005> It tells, > > You cannot restore chat history from any other phone type to Windows > Phone, or from Windows Phone to another phone type. > > > The Whatsapp for Symbian S60 OS creates backup file as `.bak` files and Whatsapp on Android OS creates backup files as `.crypt` files(encrypted). So based on this article from Whatsapp on [How to save and restore chat history backups](http://www.whatsapp.com/faq/en/s60/23245511). The instructions are given only for * transferring backups from S60 to S60 phone * Backup files are saved in a folder called ‘wa’ and are called MsgStore.bak which will not be recognized by the Whatsapp application in your Android phone. * Backup files are saved in a format to be opened with WhatsApp. If you want to read your conversations on your computer you can send them as .txt file from WhatsApp to your email. What you are trying to do is export the chat history. And from this Whatsapp article on [How do I export my chat history?](http://www.whatsapp.com/faq/en/s60/21055276), You can't use this `.txt` file for importing into another phone. So What you do is only for exporting the chat and you can only be able to read it using a text editor. > > it is not possible to restore your chat history from this exported > .txt file. > > > Upvotes: 3 [selected_answer]
2015/08/13
172
739
<issue_start>username_0: I want to add ADDRESS to one of my contacts. I can "add a field" and it works fine. Then I choose another contact, and I can't get that option. Why is that?<issue_comment>username_1: Check where these both contacts are coming from. Some services might support a set of features, some not. For example, in our feature phones, the contacts stored in SIM card could only save one phone number per contact, while the ones stored in phone could store multiple phone numbers along with other details as well. Upvotes: 0 <issue_comment>username_2: Check, where your contact is stored. If it is stored on your SIM, then you can't add any field. To add a field, you must export this contact to your phone first. Upvotes: 2
2015/08/13
249
1,109
<issue_start>username_0: My son received an asus tablet for his birthday last year and has now told me the screen does not work completely (some areas are dead to the touch). I have told him we will send it for repair but he is worried that when it comes back they will have reset it and he will have lost all his apps, videos, photos, programs etc. Can anyone tell me how I back it up so that when it comes back I can just put all the information back on so that it is exactly as it is now. Please can any answers be as easy to understand as possible<issue_comment>username_1: Check where these both contacts are coming from. Some services might support a set of features, some not. For example, in our feature phones, the contacts stored in SIM card could only save one phone number per contact, while the ones stored in phone could store multiple phone numbers along with other details as well. Upvotes: 0 <issue_comment>username_2: Check, where your contact is stored. If it is stored on your SIM, then you can't add any field. To add a field, you must export this contact to your phone first. Upvotes: 2
2015/08/13
491
1,965
<issue_start>username_0: I found an app called "GlanceViewMk" within my notification and sounds settings menu. If I allow it, "GlanceViewMk will be able to read all the notifications you receive, which may include personal information such as contact names and messages sent to yo. It will also be able to dismiss these notifications or select actions related to them." What to I gain by allowing this?<issue_comment>username_1: Seems like you own a **Samsung** device. Go to your **Settings** where you can control the **gesture settings** and look for (I think it's called) "**Quick Check**" - the gesture where you wave your hand over the turned-off screen to see notifications and the clock. May be useful but I didn't use it that much. Upvotes: 0 <issue_comment>username_2: Since Samsung Galaxy S4 GT-I9500 was upgraded to Android Lollipop, got that bug called GlanceViewMk. The only solution I found was to root the device and remove the GlanceViewMk with the app you like better (I used Titanium Backup pro). The battery stop draining and all apps are now visible on the sound notification settings. Upvotes: 2 <issue_comment>username_3: I found it in the sound and notifications in settings, then open Notification access and turn off glanceviewmk access. Upvotes: 0 <issue_comment>username_4: On my Samsung S4 Android 5.0.1 select: Settings → My device → Motions and gesture → Air gestures → enable Quick glance. If you have enabled it, when the screen is off you can wave your hand over the sensor at top of screen and it will show you a status screen. See "Try it" button in *Quick glance* settings. The checkbox under menu "sounds and notification"; "notification access" when selected allows the second row of 9 icons to be displayed (in this example pic), i.e. those normally shown at top of S4 android notification shade. [![example quick glance screen](https://i.stack.imgur.com/yZYDvl.png)](https://i.stack.imgur.com/yZYDvl.png) Upvotes: 0
2015/08/14
178
626
<issue_start>username_0: So in the From and Arriving on my Google now time cards, the values I put in are white. Which makes them unreadable. Is there some way that I can change the text or card color so it is actually visible? Thanks [![enter image description here](https://i.stack.imgur.com/pw2r1.png)](https://i.stack.imgur.com/pw2r1.png)<issue_comment>username_1: Try to uninstall updates of Google Search, and see if it works. Upvotes: -1 <issue_comment>username_2: I had the same issue, but it was fixed with the most recent Google Search update (I'm currently on version: 5.1.17.19.arm) Upvotes: 1 [selected_answer]