date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2015/06/02 | 1,769 | 7,146 | <issue_start>username_0: On my GPE S4 (Android 5.0.1), if I change from Firefox or Google Sheets or ezPDFreader to another application for more than 1 or 2 minutes, and come back, the data is loaded again. It is not only bad for my data plan, but is also time consuming. I monitor data usage, it is not just re-rendering.
On my Nexus 4 (Android 5.0), applications in the background keep content for an hour or more. It is quite strange, as they have the same amount of memory, 2GB.
Is there a setting for this? How can I avoid unnecessary reloads?<issue_comment>username_1: The short answer is NO. Unless you try to go over default brightness (which could potentially burn the LED), your screen leds are desgined for changing brightness and colors.
Leds work differently than most lightbulbs and flicker has much smaller effect on them.
---
**Longer version of explanation**
First of all, leds do not "flicker" the way fluorescent light bulbs do when they glow. LEDs glow by steadily releasing energy (photons) from electrons whereas most other light bulbs rely on heat to release light.
* Incandecent - These bulbs are literally a wire that's being heated and the light from that same wire.
* Fluorescent tubes - A bit too complex to explain in once answer, but in short, they rely on electricity to heat (basically) a wire that heats gas which in turn activates phosphor emitting the light.
A point to note here that both lamps heavily rely on **heat** to shine and in turn, breaking current could result in heating elements getting damaged
* LEDs light is emitted a little differently. Diode (the glowing bit of LED) consists of positive charged and a negative charged plates. When affected by electricity the charges are forced to mix, which causes electrons to release energy (light).
**Flicker on most heating light bulbs damages their components**
Now the reason I say LEDs don't flicker the way other light bulbs do is because other light bulbs mostly heat-up and cool rapidly during each flash. In addition to that additional heat may be inflicted on the heating component during a short reverse of phase occasionally happens on power breaks. To summarize, flickering causes the heating component to crack or burn out on standard light bulbs.
LED light emission doesn't rely on heat, also, if current is reversed (like it unusually gets on power cuts or breaking current) on LED it doesn't simply shine the way most other lights do - as in fact it pulls the positive/negative charge away from each other preventing a glow.
**Flicker on LEDs**
As far as i know LEDs can only flicker when electric current is too low to maintain constant mix of charges between the 2 semiconductors, which would result in burst exchanges every time diode is "charged" with enough electricity.
Flickering as well as dimming by itself is known to reduce the lifespan of an standard (room-lighting and small) LEDs by 30-60% (according to various sources).
Anyways, phone screens are designed to last while being dimmed and under changing current, so even if your screen suffers it will probably outlast the phone.
---
**Summary**
With that in mind an led with lower current might glow dimmer or change color, but the light-stream should remain steady - at least on screens.
If they DO flicker (I could not produce the flicker on 3 of my android devices), they are technically getting their lifespan reduced, but still not enough to matter.
LED screens (with everything they contain) are designed to be dimmable and most apps you see on the market are most likely just exploiting device settings.
**Side Notes**
If you can perceive a flicker it will reflect on your health more than it will on the phone. Be wary of **unusual** headaches or dry/tired eyes.
Easiest way I found to detect display changes on screen is filming the screen as you're changing the settings. If flickering DOES occur you should see it quite clearly in the video.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Please note that screen dimming apps apply a filter over the phone's screen. It's an overlay, so I don't think it will cause any damage the screen. But it will decrease the brightness just by applying a filter over your LED brightness (just like applying sun protection in a car window). Some screen dimming apps provide different colors while applying filters like blue, black, yellow etc.
On a side note, do remember that these [filter apps does not allow installation](https://android.stackexchange.com/questions/69981/why-cant-i-press-the-install-button-when-installing-applications-from-unknown-s) of `.apk` files. So you have to disable the screen dimmer app and then install the app.
Upvotes: 2 <issue_comment>username_3: Perhaps, they can. My sister ran a f.lux like app (Twilight) for a while, now her screen flickers green, shows scan lines, and shuts off randomly while dimming the screen.
However my friend ran it for over a year and had no issue. Proceed with caution.
I have chosen to use twilight most nights, as my eyes are worth more than my phone screen.
Edit: I wrote this in 2015 -- it's now 2017 and I chose to use screen dimming apps every day since. Well, still no problem, phone runs fine. Not sure why my sister's phone had issues. Out of caution I did delete twilight and started using the built in android blue-light filter.
EditEdit: It's now 2019 and screen dimming apps are ubiquitous on all OS's and platforms, I think it's safe to say they do not damage screens. My sisters phone must have been anomalous.
Upvotes: -1 <issue_comment>username_4: As developer of a popular non-profit Bluelight Filter app, we can assure you that you can safely use screen dimming and filter apps without any worries that it will affect your LCD/LED display.
Screen dimming apps work in two ways. One, they allow you to change the screen brightness, just as in your display settings. Brighter screens do burn your screen more, but it should not be a problem as the LCD/LED displays generally far outlive the phone. A bigger concern would be that bright light is not good for your eyes or that brighter screens drain your battery faster.
The second way is to apply a semi-transparent color layer on top of your screen. This has no effect on the LCD display. The reason is that, the video display processor calculates the effective pixel color before setting each pixels color. So if you have multiple semi-transparent layers, it just mathematically works out the color and brightness to be applied to the pixel on screen before passing it on to the hardware pixels. So there is absolutely no extra flicker associated with the screen filter other than what would be associated with the normal refresh cycle of the display.
Upvotes: 2 <issue_comment>username_5: The answer is **YES** but this happens only with some phones.
I have a Samsung S5 I used twilight App for a while, and after I uninstalled it I got my screen damaged, a random rectangulars with random colors appears in the screen when I reduce the brightness to the minimum.
The same happened to the phone of my friend after using the same App.
Upvotes: 0 |
2015/06/02 | 1,009 | 3,530 | <issue_start>username_0: I'm trying to set a .png file I had prepared myself as the wallpaper, but the thing apparently (as in EVIDENTLY) gets converted to a .jpg.
It strikes me odd google.com has nothing on this issue, that's why I've come here.
**Is there a way to set a .png wallpaper without it being converted to .jpg?** A workaround app maybe?

This is a png screenshot, scaled x2. Note the artifacts by the edge of the shape.
**EDIT: 6 JUNE 2015**
Conclusions from my investigation (and answers below) so far:
* Android stores the wallpaper file in a png
* This means the fault lies within the piece of code doing the cropping and saving the new file
* In my context (samsung a3 original firmware) I have yet to find a resolution which would bypass the cropping tool, allowing me to set the file as is
THERE ARE MEANS of achieving the effect though:
* Muzei app is quite easy to set up, streaming whatever source you like to your wallpaper (including unconverted image files -- or a single file)
* Surprisingly, Moonshine's wallpaper setter does its job the right way too, although it only handles the few graphics that are bundled with it (however lovely they are).<issue_comment>username_1: If you're looking for a workaround, you could try [Muzei](https://play.google.com/store/apps/details?id=net.nurik.roman.muzei): it is a live wallpaper, which you can set your own wallpaper to.
Upvotes: 1 <issue_comment>username_2: Apparently if you set an image as wallpaper and if you have to crop it to fit as wallpaper then it gets saved as JPG as a result of image processing.
Please try this once...Find out the target devices' resolution and then create a wallpaper in the exact dimension. This way you just set a wallpaper without any image processing.
But interestingly, the [Android developer page](http://developer.android.com/reference/android/app/WallpaperManager.html) says the images for wallpaper are saved as PNG.
Upvotes: 1 <issue_comment>username_3: I would recommend trying [ES File Explorer](https://play.google.com/store/apps/details?id=com.estrongs.android.pop). Along with its many features it allows you to set wallpapers from both within the app or from selecting from a list when choosing what wallpaper app to use.
Hopefully ES File Explorer will use the file as selected.
---
### Steps:
(Use this method if you want to select the whole image, because if you set the background from within the app it wont be able to select the whole image.)
1. Download and install [ES File Explorer](https://play.google.com/store/apps/details?id=com.estrongs.android.pop)
2. Long press on your home screen until you get to select your wallpaper
[](https://i.stack.imgur.com/mLprJ.jpg)
3. Chose ES File Explorer
4. Navigate to where your image is and select it
[](https://i.stack.imgur.com/tQeZu.jpg)
[](https://i.stack.imgur.com/5fnrA.jpg)
5. Re-size to fit the whole image
[](https://i.stack.imgur.com/n4qVF.jpg)
---
**Side-note:** I don't know if this will convert your image, but from the best of my knowledge it just uses the file as is. This will allow you to select the image as a full image so hopefully it won't get '[jaggies](http://www.webopedia.com/TERM/J/jaggies.html)' as shown above.
Upvotes: 0 |
2015/06/02 | 581 | 2,163 | <issue_start>username_0: My screen got broken and I've been using my phone with a VNC Server installed on it, but this morning i'd the stupid idea of enable hotspot just to see if I can use my mobile data plan on my laptop, but when I did this, the wi-fi got disconnected from my router and now i only have access to my phone using adb shell.
I need to disable hotspot from ADB, already searched on google but didn't find anything, i also tried disable and enabling wi-fi, doesn't works.<issue_comment>username_1: ```
adb shell input keyevent 3 # home
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings
adb shell input keyevent 20 # down
adb shell input keyevent 20 # down
adb shell input keyevent 20 # down
adb shell input keyevent 66 # enter
adb shell input keyevent 20 # down
adb shell input keyevent 20 # down
adb shell input keyevent 66 # enter
adb shell input keyevent 20 # down
adb shell input keyevent 66 # enter
```
Upvotes: 3 <issue_comment>username_2: A cleaner way to do it is by calling "service call" command.
For example on my phone I could call
```
# Start Wifi tethering
adb shell service call connectivity 24 i32 0
# Stop Wifi tethering
adb shell service call connectivity 25 i32 0
```
`Service call` will call the function number `24` in connectivity service (which happened to be the function that turn on tethering) and pass it `0` as argument (`0` would be wi-fi tethering, 1 would be usb tethering and `2` would be bluetooth).
Sadly service functions code change from one android version to another. This stackoverflow reply explain how to get the right function code for your current android version.
<https://stackoverflow.com/questions/20227326/where-to-find-info-on-androids-service-call-shell-command>
Also this is the functions list for connectivity service for the android version I am using (Nougat)
<https://android.googlesource.com/platform/frameworks/base/+/android-7.1.2_r1/core/java/android/net/IConnectivityManager.aidl>
Upvotes: 2 [selected_answer] |
2015/06/03 | 580 | 2,136 | <issue_start>username_0: I read the other questions I could find. This is completely different. My question is **NOT about finding the file**.
**The file is on my phone**. It is the correct size. It shows as an mp4 with the right icon on windows. It has an mp4 suffix. It's 22+MB so it's there. It will not play in MS Media Player or with VLC player. It doesn't show up on the phone itself in the gallery, but it's there when I connect the phone to my laptop.
I was recording the video, my battery died, the phone shut off while I was recording.
There are many programs on the internet that claim to fix video files, but I'm afraid to download any of them because I do not want to get a virus.
My phone is an HTC EVO 3D. My carrier is Sprint. My laptop is a Samsung running Windows 7. I recorded it regular mode not in 3D mode.
How do I **play** this file? How do I **fix it**? What should I do? If there's a piece of software I should download to my laptop to fix it, what is a good reputable site where I won't get malware/virus?<issue_comment>username_1: I had the same promblem. A solution which worked for me was an app "[MP4Fix](https://play.google.com/store/apps/details?id=com.smamolot.mp4fix)", which you can get in google play for free. It repaired my video in a few sec and placed it in different folder (it kept corrupted video in the same place and also created new repaired one).
I know this info might be too late for you but it might help some others.
Upvotes: 3 <issue_comment>username_2: To expand on username_1's answer, yes you can use MP4Fix. However it is very strict what the video is made with.
I found I needed to set the recording settings in order for the mp4 video to be in a supported format and not get error 'Not Supported'
Video Encoder H264
Recorder Format MPEG\_4
File Format MP4
Audio Encoder AAC
Additionally I set video resolution, framerate, and bitrate.
I was then able to recover video.
FYI: The Recording App is SVR but others are named the same.
Found using: secret video recorder (free) tristan
<https://play.google.com/store/apps/details?id=com.tristan.enhanced_camera>
Upvotes: 2 |
2015/06/03 | 946 | 3,557 | <issue_start>username_0: I have a Samsung Galaxy S4 with Android upgraded to 5.0.1. There is a GMail account added that I've linked in order to install a specific application (Google Domain Policy) and now I want to remove that account in order to pass the phone to my co-worker.
I've gone to `Settings` -> `Accounts` and the account is listed there (as a Google account). I can tap that and get to privacy and sync settings but I can't see any option to delete the account. I've tried tapping, tapping and holding, double-tapping, swiping and everything else that happened to cross my mind but to no avail.
How on earth do I remove that account from the system if there's no delete option visible?
[](https://i.stack.imgur.com/3Xi8J.png)
[](https://i.stack.imgur.com/RAkt6.png)
Click image(s) for larger versions<issue_comment>username_1: In order to remove an user account you need to perform:
1. Go to device **settings** (As shown in the question).
2. click on **accounts** Tab (3rd in the option list).
3. Click on **Google** Account (select the account which you wish to Remove).
4. First you need to **Stop Sync** (As done in question "synchr. wylaczonaa").
5. On Samsung devices these options are shown by pressing and holding the **Left** soft key beside home Button.(shown using red mark in image below).
6. Click on **Remove Account**.
[](https://i.stack.imgur.com/C65j7.jpg)
I would suggest read the above steps and you are good to go.
<https://www.youtube.com/watch?v=fLLwoZhqFVg>
Upvotes: 5 <issue_comment>username_2: I have spent weeks looking for a solution to this and finally this post helped me! It was so far from obvious and it felt like Google wanted me to keep the account by force lol.
Anyway, what I did was go to *Settings > Accounts > Google,* clicked the account I wanted to delete, the *Sync* menu option opened and this is where I always got stuck. Through this, I realized I had to press and hold the menu button on the bottom left side of my S4 to get another menu pop-up with the options of canceling sync or deleting the account.
Finally! Hope this helped.
Upvotes: 7 [selected_answer]<issue_comment>username_3: I tried all of the above but nothing works, my phone doesnt have the menu button on the bottom so there was nothing to click on, but here is how i did it.
Settings > Accounts > Tap on Google > Search > Accounts and Privacy > Sign Out
very very cumbersome but finally figured it out! should have been easier than this.
Upvotes: -1 <issue_comment>username_4: Setttings- Accounts-Google- Tap the account you want to remove- it will open sync settings for that account- tap the bottom left touch button of your phone (out of three touch button in the bottom, the right one which resembles 3 horizontal parallal bars)- a menu will be appear (sync now and Remove account)- tap remove account.
Upvotes: 2 <issue_comment>username_5: This might help. You need touch on menu icon i.e in lower left corner to see sync now an remove account.
<https://m.youtube.com/watch?v=A5P67EFz92s>
Upvotes: 0 <issue_comment>username_6: I just tried several times and finally found the solution with my s4 to remove the GMAIL account.
Settings --->
Accounts---->
Google------>
select the account need to be removed
it will be redirected to sync settings
click menu touch on bottom of the phone
select----> remove account
Upvotes: 1 |
2015/06/03 | 353 | 1,064 | <issue_start>username_0: I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app.
Now when I try to install the new version, I got:
```
bash-3.2$ adb install BetterBatteryStats_xdaedition_2.1.0.0_B4.apk
3925 KB/s (3671858 bytes in 0.913s)
pkg: /data/local/tmp/BetterBatteryStats_xdaedition_2.1.0.0_B4.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
```
And when I try to uninstall it, I got:
```
bash-3.2$ adb uninstall com.asksven.betterbatterystats_xdaedition
Failure [DELETE_FAILED_INTERNAL_ERROR]
```
Can anyone point out how can I resolve this issue? I just want BBS 2.1 Beta. I am using a Nexus 4 running stock 5.1.1 (rooted).<issue_comment>username_1: Type the following:
```
adb shell //open adb shell
su //get root permissions
pm uninstall your.package.name //uninstall the app
```
Hope my answer helps!
Upvotes: 1 <issue_comment>username_2: Try `Adb shell uninstall -k --user 0 packagename`
Upvotes: -1 |
2015/06/03 | 375 | 1,532 | <issue_start>username_0: So, my Galaxy S4 turned off randomly today during charge. I attempted turning it back on via the power button but it would not respond.
Then I tried taking out the battery and replacing it, the device vibrates with the Galaxy S4 logo showing up for about a couple seconds, then the screen goes blank again.
I even tried placing a battery from a different S4 - still doesn't work.
Anybody know what's wrong with my device?
**Edit**: Flat Surface trick doesn't work. It vibrates sometimes but then it turns off.<issue_comment>username_1: Try booting into recovery mode and seeing if it turns of there
if it doesn't that means your software is corrupt and a factory reset/format cache from recovery mode might fix it
to access recovery mode hold power button+ volume up + home button at the same time while the device is off
Upvotes: 0 <issue_comment>username_2: It could be a app or setting that Is causing the system to not function or conflicting with it. no harm in trying , worth a try if nothing else works.
Upvotes: 0 <issue_comment>username_3: I had the same problem. Most likely it's the power button problem, where it's always stucked inside, or depressed in. That makes your phone turns on then turns off by itself. I had the same problem. I found this great video on how to fixes it.
<https://www.youtube.com/watch?v=2l_6fwzuIwA>
Upvotes: -1 <issue_comment>username_4: Try hitting it on a table on the power button or using n air compressor the power button is most likely stuck
Upvotes: 0 |
2015/06/03 | 474 | 1,833 | <issue_start>username_0: How can Chrome (or some other browser) be configured to tell websites its resolution is the native resolution of the phone and not a reduced resolution that's adjusted for being high DPI? "Request desktop site" works for some sites, but not all, and ones that detect the resolution of the phone will show the mobile "responsive" layout. For example, if I Google "what is my screen resolution" and visit the first site, it reports 360x640 even though my phone is 1440x2560. I'm running Lollipop if that matters.<issue_comment>username_1: Try using [Opera for Mobile](https://play.google.com/store/apps/details?id=com.opera.browser&hl=en) and setup the `Desktop mode` in Settings and Turn off the `Opera Turbo` mode. Now you'll be able to view sites like Facebook, Stackoverflow etc like the same way it is loaded in Desktop web browsers. Some websites redirect to theire mobile website even if you set to Desktop mode.
Upvotes: 1 <issue_comment>username_2: It turns out you can use Firefox for Android to do this:
1. In the address bar go to about:config and then search for pixels.
2. Select layout.css.devPixelsPerPx and change the value from -1.0 (default) to 1 if you
want sites to think the resolution of your browser is the true
native resolution of the screen rather than a DPI-adjusted value.
3. If you have a super high resolution screen like a QHD (1440x2560),
you may want to set this to 2 rather than 1, and then if you use the
phone in landscape mode, your resolution will be 1280x720 which
won't make things as small by default as setting it to 1 would.
Using the above in conjunction with "Request desktop site" should do a great job at always showing the desktop site for not only user-agent-detection-based sites but also for responsive media-query-based sites.
Upvotes: 5 [selected_answer] |
2015/06/03 | 517 | 1,912 | <issue_start>username_0: I wrongly saved one of my friend's name. Later renamed it with original name but when I searched contacts in WhatsApp I saw his name is still old one. I can't find a way to change name. I tried to edit via mobile contacts, but edit button in WhatsApp contact is disable. How to change WhatsApp contact that name in Samsung Galaxy S3 Neo?
[](https://i.stack.imgur.com/HU9pp.jpg) [](https://i.stack.imgur.com/LDloG.jpg)
Screenshots (click images for larger variants)<issue_comment>username_1: This may work :
1. Save your friend's number (copy & paste into a note taking app or write it on paper or just remember it).
2. Delete your friend's number.
3. Add new contact with the name you want and enter your friends number.
Upvotes: 1 <issue_comment>username_2: WhatsApp seems to create a **read-only version of the contact on many phones**, so if simply changing the contact's name in your contacts app doesn't work, you might have to:
1. Delete the contact
2. Create a new one with the updated name.
Upvotes: 1 <issue_comment>username_3: Can't it be done by synchronisation of contact over whatsapp contact..
I mean editing contact in phone or sim card and sync to whatsapp then whatsapp replace the old contact and shows the new one.
Upvotes: 1 <issue_comment>username_4: You can follow these steps:
* Rename the contact in your phone book and save.
* Go to `Settings > Account > whatsapp > sync now` (or any similar option)
Most likely, your contact is not synced after you renamed!
Upvotes: 2 [selected_answer]<issue_comment>username_5: It is to be done from inside Whatsapp and is simple.
1. Open Whatsapp
2. Tap Add Contact icon at the right bottom
3. Select New Contact
4. Select the choice of phone or SIM
5. Enter the Name
6. Enter the phone number
7. Save.
Upvotes: 0 |
2015/06/03 | 958 | 3,905 | <issue_start>username_0: I play Game of War Fire Age and wondering if I can get cheaper packs on it, I'm from the UK and it costs me £79.99 to buy a pack but my Brazilian friend only pays $60 for the same pack, is there anyway for me to be able to change my region to Brazil and get the same deal, but then the only problem is my billing address, let me know if there is a way.<issue_comment>username_1: >
> is there anyway for me to be able to change my region to Brazil
>
>
>
Yes. But it may not be that easy.
I've done it twice, and each time was hit-and-miss. The first time, it only changed once I made a purchase with my new billing details. The second time it didn't work and I ended up deleting all my payment details, wiping my phone, and setting up the phone and payments, with a SIM card from my target country.
Also note that if you change your country to Brazil, the play store will show up in Portuguese and you will only be able to see/buy services (such as Newsstand, Video, Music, etc) that are available in Brazil (which may be less than what the UK has).
Google changes the country your billing is associated with according to your Google Play billing method. These are the instructions I followed from Google -
>
> We use the billing address of your default payment instrument in Google Wallet >to help determine your home country for accessing the Play Store. Our collection of content can vary by country, so your view of the Play Store may differ from what others are seeing when you travel outside of the country listed on your default payment method's billing address.
>
>
> Please note that you must have a valid payment method with a billing address located inside a country in order to access that country's Play Store.
>
>
> If you're having issues viewing your intended country's Play Store and would like to change your default payment method or update an existing billing address in Google Wallet, please use the following steps:
>
>
> 1) Sign into your Google Wallet account to manage your payment methods <https://wallet.google.com/manage/paymentMethods>
>
>
> 2) Add a new card or change your default payment instrument to one with a billing address located inside your desired country
>
>
> 3) Open the Play Store and navigate to any item available for download
>
>
> 4) Click to begin a download until you reach the "Accept and buy" screen (no need to complete the purchase)
>
>
> 5) Close the Play Store and clear data for the Google Play Store application (Settings > Apps > Google Play Store > Clear Data) or clear your browser cache
>
>
> 6) Re-open the Play Store. You should now see the Play Store that matches your default payment instrument's billing country.
>
>
> If you haven't yet added a payment method to your account for the first time, please add a card directly from the Play Store with a billing address that matches your intended country location. Then, follow steps 3 through 6 to show your intended country's Play Store.
>
>
> If you believe that you're experiencing a different location-related issue, please first verify if the country of your primary payment method matches your intended country. If the countries match, please provide any screenshots and additional details that might help me resolve your issue.
>
>
>
Upvotes: 3 <issue_comment>username_2: You can get Google Play Store credits from Google by answering polls through the [*Google Opinion Rewards* app](https://play.google.com/store/apps/details?id=com.google.android.apps.paidtasks). Depending on where in the world you are, you can get a couple of dollars every month by spending 5–15 minutes answering a few questions.
The credits you earn can be used towards in-app purchases and other purchases through the Google Play Store. This way, you would indeed get cheaper in-app purchases but you’d have to work a little to get it.
Upvotes: 1 |
2015/06/03 | 302 | 1,261 | <issue_start>username_0: I have Google Photos app enabled to automatically backup all my photos and videos to my [Google Photos](https://photos.google.com/). My question is, once they are on the drive how can I delete the original from the phone without having it deleted on the Photos?<issue_comment>username_1: After the photos have been backed up, in the Google Photos app you can delete the photos by selecting the photos you want to delete and then pressing the three dots in the top right corner and selecting "**Delete device copy**".
This will delete the copy on the phone, but leave the copy stored online safe.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Adding to [username_1](https://android.stackexchange.com/a/111394/143497)'s excellent answer for deleting photo by photo, there are two other ways.
1. You can delete photos from the "Gallery" app and that will delete photos from your device only (though I am unsure of the effect if you set up Photos to display cloud photos in Gallery)
2. You can use the "Free up device storage" option under the Settings in Photos - this will go through and delete all synced photos that it can. I believe this is a new option, as I had to update the Photos app to make this available.
Upvotes: 2 |
2015/06/04 | 393 | 1,610 | <issue_start>username_0: Consider I am using a WiFi hotspot (authenticated with password) for internet on my mobile. Is it possible to tether the connection to another device via any WiFi, USB, or Bluetooth?
Let me be clear for example I have a **WiFi** modem through which I **can access the internet** on my phone, now my question is now whether I can tether my mobile **WiFi/USB/Bluetooth** so that I can provide **connection to another people**. (here internet source is WiFi modem)

Is there an option? Also, whenever I enable WiFi portability, the current connection gets disconnected.<issue_comment>username_1: After the photos have been backed up, in the Google Photos app you can delete the photos by selecting the photos you want to delete and then pressing the three dots in the top right corner and selecting "**Delete device copy**".
This will delete the copy on the phone, but leave the copy stored online safe.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Adding to [username_1](https://android.stackexchange.com/a/111394/143497)'s excellent answer for deleting photo by photo, there are two other ways.
1. You can delete photos from the "Gallery" app and that will delete photos from your device only (though I am unsure of the effect if you set up Photos to display cloud photos in Gallery)
2. You can use the "Free up device storage" option under the Settings in Photos - this will go through and delete all synced photos that it can. I believe this is a new option, as I had to update the Photos app to make this available.
Upvotes: 2 |
2015/06/04 | 504 | 1,707 | <issue_start>username_0: I've recently noticed loads of cool Telegram stickers making their way around. How are people getting these cool things? How can I add more stickers? How can I be cooler than them?
[](https://i.stack.imgur.com/28Hn2.png)<issue_comment>username_1: [It's quite straightforward actually](https://telegram.org/blog):
Sending a Sticker
=================
Pick an emoji, then in the message field, tap on it again
[](https://i.stack.imgur.com/rV1fc.png)
Screenshot - Click to enlarge
Alternatively, you can access the stickers menu in the emoji keyboard
[](https://i.stack.imgur.com/aNN3v.jpg)
Screenshot - Click to enlarge
Getting More Stickers
=====================
>
> Sending a link isn‘t the only way to share a sticker set. When you receive a sticker from a set you do not currently have installed, simply tap on it and choose ’Add to Stickers‘ to preview and add the whole set.
>
>
>
If someone sends you a cool sticker you like, simply tap and hold on the sticker and select *Add To Stickers* in the dialog box that appears.
[](https://i.stack.imgur.com/eW7Ci.jpg)
Screenshot - Click to enlarge
You can then manage your stickers in the Stickers menu in Settings.
Upvotes: 3 [selected_answer]<issue_comment>username_2: To add any stickers to your collection, tap on a sticker and click on 'Add to Stickers'.
You can look at different places to see new stickers. Try chatting with @ratestickerbot that will ask you for ratings of new stickers.
Upvotes: 0 |
2015/06/04 | 530 | 1,897 | <issue_start>username_0: I was just testing out Android Device Manager and I tested the lock feature. I entered a password, as requested, and the phone was locked. I was told that since I already had a lock screen on my phone, the password wouldn't be needed. I went back to Android Device Manager and there is only a "lock" option, not an "unlock" option.
Now I can't access my phone since it won't allow me to enter the password on the phone, or unlock it from Android Device Manager.<issue_comment>username_1: [It's quite straightforward actually](https://telegram.org/blog):
Sending a Sticker
=================
Pick an emoji, then in the message field, tap on it again
[](https://i.stack.imgur.com/rV1fc.png)
Screenshot - Click to enlarge
Alternatively, you can access the stickers menu in the emoji keyboard
[](https://i.stack.imgur.com/aNN3v.jpg)
Screenshot - Click to enlarge
Getting More Stickers
=====================
>
> Sending a link isn‘t the only way to share a sticker set. When you receive a sticker from a set you do not currently have installed, simply tap on it and choose ’Add to Stickers‘ to preview and add the whole set.
>
>
>
If someone sends you a cool sticker you like, simply tap and hold on the sticker and select *Add To Stickers* in the dialog box that appears.
[](https://i.stack.imgur.com/eW7Ci.jpg)
Screenshot - Click to enlarge
You can then manage your stickers in the Stickers menu in Settings.
Upvotes: 3 [selected_answer]<issue_comment>username_2: To add any stickers to your collection, tap on a sticker and click on 'Add to Stickers'.
You can look at different places to see new stickers. Try chatting with @ratestickerbot that will ask you for ratings of new stickers.
Upvotes: 0 |
2015/06/04 | 380 | 1,456 | <issue_start>username_0: This might be a replica, I have searched and not found a similar question.
I currently have the HTC One M8 and am planing on getting a 1GiB Data pack, knowing me who uses internet over the top I would like my internet to get cut at lets per say at the peak of 1GiB. So as soon as I reach it, it gets cut off fully.
1. I have tried the Android Data limiter and it always fails me.
2. I have not found any reliable applications (I will pay if worthy)
3. Location is Ontario and my provider is Fido<issue_comment>username_1: I use AVG antivirus security which has an option to limit the used mobile data(not wifi data).
I fill information about data pack i.e amount and validity then give the option when to turn the mobile data off (as used in my case it is 90%)
then it ask if I want to further use the data..
Hope it helps you..
Upvotes: 3 [selected_answer]<issue_comment>username_2: Post-ICS Android devices have in-built Data Limiter. Do this from `Settings` ~> `Data Usage` (can vary based on Android version).
Upvotes: 0 <issue_comment>username_3: Your phone has an option to limit data built in. Go to Settings -> Data Usage and you can set Data Limits as well as a warning for when you have reached a certain amount. If you don't like this there are also third party apps like [Onavo Count](https://play.google.com/store/apps/details?id=com.onavo.android.onavoid) that let you measure and limit your data usage
Upvotes: 0 |
2015/06/04 | 337 | 1,219 | <issue_start>username_0: I want to find a way in which I can continuously send the Android camera feed to my PC via USB. The reason for specifying USB, is because of performance requirements, I want it to be as fast as possible, hence preferring USB over Wifi. I need the app to be running in the background (will be a service I believe).
I tried some existing apps, but they do not meet my requirements.
Is there any way I can do this?<issue_comment>username_1: [IP Webcam](https://play.google.com/store/apps/details?id=com.pas.webcam&hl=en)(see [revisions](https://android.stackexchange.com/posts/111443/revisions)) does allow the access on USB but it will not show you the option to access in its help section. All you've to do is activate USB-tethering on your device, start server on the said app,and access the server by entering `192.168.42.129:8080` in a browser on PC.
I tested this app on my device running Android 4.2.1.
Upvotes: 2 [selected_answer]<issue_comment>username_2: IP Webcam has severe lag even when USB tethered.
Because internet protocol is still used in this setup.
Dial down the video settings and disable audio capture from phone
This made the lag 'tolerable' for me.
Thanks.
Upvotes: 0 |
2015/06/04 | 694 | 2,786 | <issue_start>username_0: I'm fairly new to android development, but am I long time android user. Phones used to have a "hardware" menu button, which I have since seen is emulated in software, but only when I'm running an 'old' app on my phone ("three dots stacked on top of each other that appears to the right of all the other buttons)
Why is writing apps that make use of the button discouraged?
Is it not supported by most phones?
Is it a bad user experience? ('swipe down from top to access soft buttons', etc..)<issue_comment>username_1: Because it's less congnitive effort to press an icon that is somewhere in your vision (on the screen), than remembering that the option is hidden under the menu button.From the design perspective, you want as less options hidden in some menu somewhere, and more options that are more intuitively-placed.
Android 4.0 introduced multitasking button to its navigation, so, if the menu button was kept there, there would be four navigation buttons, and that would be confusing. Menu button was replaced by options in the Action Bar, and Action Overflow button (shown below).

Basically every manufacturer switched to multitask button instead of menu button (even Samsung, who lingered with the menu button for a while), so you could say that, now, in 2015, phones with this legacy button are becoming more scarce, so the development of the software that takes advantage of the legacy button is discouraged.
Upvotes: 2 [selected_answer]<issue_comment>username_2: Back in 2012 [google basically told developers that the Menu button was going away](http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html). Although it's not an official Android "rule" (not that I could find, at least), it's a strong Android guideline that phones no longer have menu buttons. It's a very recent development, and we should be seeing the majority of menu-button phones leaving the wild this year (my personal Galaxy Note 3 has a physical menu button but I'm due to upgrade in November).
As for why, I honestly don't know. [It's the subject of some debate](http://androidforums.com/threads/why-did-google-remove-the-menu-and-search-buttons-from-their-phones.870931/ "It's the subject of some debate"), but nobody seems to be able to site an official Google source as to why they did it. Maybe it's so the bottom OS navigation bar on touch-screen only phones (like the Nexus 5 and 6, and the Moto X) could disappear without hiding app-relevant actions. Maybe Google wanted fewer buttons on phones with physical/soft button. Maybe Google just felt like it. I couldn't find any source that gave a specific reason as to why it was done.
Upvotes: 2 |
2015/06/04 | 298 | 1,073 | <issue_start>username_0: I have an Android device which does not have place to insert a SIM card, can I tether this device to PC through USB (I want it to be fast, hence preferring USB over Wifi) in some way?<issue_comment>username_1: There is an app whose minimum requirement is Android 4.0.3 . This app doesn't even require root access.
Install this application which will help you achieve USB tethering.
<https://play.google.com/store/apps/details?id=eu.chainfire.hotspotcontrol&hl=en>
Upvotes: 0 <issue_comment>username_2: If your device does not have tethering built in (Many devices do), you can get an app from the Play Store that allows you to tether your phone. There are several great applications that allow you to tether via USB or WiFi.
A good app that solves this purpose is one called USB Tether
<https://play.google.com/store/apps/details?id=com.mkdev.usbtethering2>
Its simple and functional.
Upvotes: 1 <issue_comment>username_3: We used [FoxFi](https://play.google.com/store/apps/details?id=com.foxfi) and got it to work.
Upvotes: -1 [selected_answer] |
2015/06/04 | 404 | 1,613 | <issue_start>username_0: sorry if this is slightly off topic but please could you give your thoughts to this
recently, I had my s4 in my front pocket and while sitting down in a chair i could feel that I was slightly sitting on the phone
it had a back hardshell case and it was the screen facing down in the pocket
when I took it out everything was fine, can't see any scratches/ cracks
my worry is that because there was some pressure put on it, could there be some damage not visible now that could cause some problems in the future? should I be worried?<issue_comment>username_1: **No** , you don't need to worry at all. As mentioned if there are no scratches/ cracks on your device it proves how tough these devices are in reality.
Here is an example which shows how much of actual force is required to damage any device. Taking the case of a pencil:

Think about how tough your device is ? Galaxy S4 can handle pressure of **more than 130 lbs** whereas this pencil was just at 80 lbs.
So, no worries your device should be absolutely fine. In this case you also had extra protection with additional hardshell case to it.
Upvotes: 1 <issue_comment>username_2: No you don't have to worry at all. These devices are designed to withstand huge impractical amounts of pressure that would never occur in a typical day to day life situation. Especially since you said you have a hardshell your device is fine. The only reason you should be worried is if the screen is garbled or if your battery heats up but those are unlikely.
Upvotes: 0 |
2015/06/04 | 315 | 1,358 | <issue_start>username_0: I am using `Android 5` and, on rare occasions, my keyboard disappears or becomes unavailable when I enter editable fields in different apps (browser, FB, etc). Once that happens, what can I do, other than rebooting, to get the keyboard to reappear once I am in editable fields?<issue_comment>username_1: I have seen this on rare occasion. Often simply backing out of the app, and optionally removing it from the list of recently-used apps (which quits an app a bit more calmly than an End/End All), will restore functionality once the app is relaunched.
Sometimes a web page or web-based app, like Facebook, will refresh itself in the background, and that can disconnect the keyboard from the field being edited. Sometimes it's a slowdown elsewhere in the phone.
Upvotes: 1 <issue_comment>username_2: Usually changing focus away from the text element then refocusing by tapping on it should work but if it doesnt then you can open the app again by removing it from recents and relaunching it.
Upvotes: 0 <issue_comment>username_3: I have the keyboard disappearance problem and temporarily fixed it by going into Settings -> Apps -> (All Apps) -> Google Keyboard and clicking on "Uninstall Updates". But it keeps automatically updating the keyboard and the problem comes back. So I did not get at the root of the problem.
Upvotes: 0 |
2015/06/04 | 409 | 1,675 | <issue_start>username_0: On my SMS messaging app (Go SMS Pro)I can lock individual messages within a thread/conversation so that if I want to delete the majority of my messages from a sender I can still save important ones and prevent them from being deleted. With WhatsApp it seems I can only delete an entire message thread and there is no way of saving individual messages within a thread. Is this correct or have I missed something?
Many thanks<issue_comment>username_1: This is correct
===============
There is **no way** currently to *lock* individual messages to prevent them from being deleted according to [WhatsApp Support](http://www.whatsapp.com/faq/).
You can, however, select several messages to be exported:
>
> Click on Options > Settings > Chat History > Send chat history.
>
>
>
You will then be able to send your chat history via email or through some other application.
Upvotes: 1 <issue_comment>username_2: As far as I understand there is no option to lock individual messages in WhatsApp. But I do it in a different way.
You can create a Whatsapp group by adding anybody, then remove that person. Now, the group includes one member only; that is you.
Any important messages you can forward to this GROUP so that they will remain there as long as you want. However, it can not be locked with a password. But you can clear other group chats if you want.
Upvotes: 0 <issue_comment>username_3: Though there is no official way, there's still a work around.
1. Star the messages you want to keep.
2. Then go to chat>Options>Clear chat
3. It will prompt you with three options.
4. Go with "Clear except Starred"
And you're good to go.
Upvotes: 2 |
2015/06/05 | 1,388 | 5,009 | <issue_start>username_0: These terms still confuse me: operating system (Android), firmware and ROM.
From [CyanogenMod's website](http://wiki.cyanogenmod.org/w/About#What.27s_a_.22firmware.22.2C_anyway.3F):
>
> Whether you call CyanogenMod a "ROM" or a "firmware" or an "operating
> system" or a "distribution", it all means in this case the same thing.
>
>
>
Does that mean you can't upgrade your firmware without simultaneously upgrading the ROM and operating system? For example my device has CM but says it's Android 5.02 and I was wondering if it's possible to update the OS without losing CM? Also, the firmware is out of date, so should I be searching for the update to the firmware or CM (since the above quote claims it's the same thing)?<issue_comment>username_1: What is Android?
----------------
Android is an Operating system, like Windows or Ubuntu are Operating systems. It has multiple version release like 1.x, 2.x, 3.x, 4.x, 5.x, and so on, just like Win XP, Vista, 7, 8, 10, or Ubuntu 10.04, 12.04, 14.04, and more.
What is a ROM?
--------------
A ROM is a pack of files that are meant to run a device. These files are taken from Android Open Source Project (AOSP), modified to suit a particular Hardware, and then packed into something which is referred to as a ROM. When you flash a ROM, you're flashing an Android release specific to your device.
How does CyanogenMod fit in?
----------------------------
CM is a ROM which is a direct fork of Android Open Source Project (AOSP). In essence, it took what was offered by the AOSP, added its own tweaks, packaged it and named it CM. It's still inherently Android, just a derivative version. The different versions of CM correspond to the Android versions it's forked from. CM11 is based on Kitkat (4.4). CM12 is based on Lollipop (5.0).
What about Firmware?
--------------------
Talking about firmware, the link you mentioned already says that it is an age old term being misused and is very ambiguous nowadays. Mostly, people use the term firmware to refer to areas in your device which a normal user isn't supposed to reach/touch/edit. They are those areas which your Android OS requires to boot and function normally and satisfactorily. (E.g. If you mess up Modem/EFS partition, you won't have Basesband/IMEI and you won't be able call or use internet).
They are meant to be read-only (not literally though). Modem, EFS (IMEI), aboot, and so on, are just few names that people consider to be firmware because they aren't usually touched when you flash a typical ROM.
It is to be noted that many OEMs consider the warranty void if you flash firmware. Do check your OEM's policy before considering flashing.
---
>
> Is that to say you can't upgrade your firmware with simultaneously upgrading the ROM and operating system?
>
>
>
See the list [here](https://forums.oneplus.net/threads/info-partition-info.11960/) as an example. You can upgrade or downgrade those firmware partitions as long as the device allows it (I've heard that devices like [Yureka](https://android.stackexchange.com/questions/106546/downgrading-from-lollipop-64-bit-to-kitkat-32-bit-hard-bricked-micromax-yureka-d) doesn't allow flashing some parts, as it will result in hardbrick). You can flash the firmware with or without the ROM `.zip`, in the same manner you would flash a typical ROM. At least this is how it works in my OPO.
[This file](https://www.androidfilehost.com/?fid=96042739161892230) (fastboot `.zip`) is a ROM which can be used to flash your device's current ROM as well as the firmware. On the other hand, [this file](http://vanir-exodus.net/exodus-5.1/bacon/exodus-5.1-20150602-NIGHTLY-bacon.zip) (flashable `.zip`) is a typical ROM which can only be used to replace your current ROM. (**This is only an analogy. You should only flash the ROMs meant for your device.**)
>
> Also the firmware is out of date, so should I be searching for the update to the firmware or CM?
>
>
>
Firmware is usually provided by the OEMs because they interact directly with the Hardware and OEMs know it better than any other party. Unless a ROM demands a firmware upgrade (like Exodus ROM) you shouldn't worry about upgrading it. It could be real problematic if something goes wrong during flashing them. Be ready for wild adventure (aka hardbrick) if you intend to flash firmware. :)
Upvotes: 2 <issue_comment>username_2: Try this:
1. Inside your phone, go to "Settings"
2. Scroll all the way down to the very bottom
3. Select "About Phone"
4. Select "CyanogenMod updates"
5. Look at the very top of the screen where it says "Updates"
6. Select the circular arrow button to the right of "Updates"
7. Cyanogenmod updates will be displayed below "Available updates"
8. Select the downward-facing arrow to the right of the newest update
9. Back up your phone or any important files while the update downloads
10. When the download finishes, select "Update"
11. Wait while your phone auto-updates itself to the newest version.
Upvotes: 0 |
2015/06/05 | 406 | 1,482 | <issue_start>username_0: When switching custom ROMs (in ART), is it necessary to wipe the Dalvik Cache?
Wiping the Cache is necessary, but should wiping Dalvik (which doesn't exist in Android Lollipop and afterward) be necessary?
What impact will it cause if we wipe Dalvik (something not present)?
In ART, what does the Dalvik cache contains? (is it an empty folder?)<issue_comment>username_1: No, you don't need to wipe it. It is probably still in recoveries because you could need it at some point, or developers just didn't remove it yet.
For me, dalvik cache folder is empty.
Upvotes: 2 <issue_comment>username_2: The Dalvik Cache is still in use under ART, it is the location where the .oat files (they contain the compiled application, compiled during installation ) are stored, they just didn't change the name. Source: [1](http://bofh.nikhef.nl/events/HitB/hitb-2014-amsterdam/praatjes/D1T2-State-of-the-Art-Exploring-the-New-Android-KitKat-Runtime.pdf "Exploring the new Runtime")
So Wiping may be necessary if ART related files were updated. Because it does no harm other than compiling all applications again, I suggest just doing it to be safe.
Upvotes: 3 [selected_answer]<issue_comment>username_3: It's probably best that you wipe it because it is still where the compiled oat files are stored and either way all it does is make the system recompile all the apps. You still have to wait a long time while it does the compiling (Android is Upgrading)
Upvotes: 1 |
2015/06/05 | 424 | 1,634 | <issue_start>username_0: I use an e-mail service that uses an Exchange connection. I have an Exchange account in my accounts list on the phone. I receive mail properly for this account. However when I add a contact and choose to add it to the Exchange account, it doesn't show up in the general Android Contacts app. When I open the phone app, the contact is saved, so I see the name of the contact.
**How can I get these contacts to show up in the Contacts app?**
If another app solves this problem, that's OK as well.<issue_comment>username_1: No, you don't need to wipe it. It is probably still in recoveries because you could need it at some point, or developers just didn't remove it yet.
For me, dalvik cache folder is empty.
Upvotes: 2 <issue_comment>username_2: The Dalvik Cache is still in use under ART, it is the location where the .oat files (they contain the compiled application, compiled during installation ) are stored, they just didn't change the name. Source: [1](http://bofh.nikhef.nl/events/HitB/hitb-2014-amsterdam/praatjes/D1T2-State-of-the-Art-Exploring-the-New-Android-KitKat-Runtime.pdf "Exploring the new Runtime")
So Wiping may be necessary if ART related files were updated. Because it does no harm other than compiling all applications again, I suggest just doing it to be safe.
Upvotes: 3 [selected_answer]<issue_comment>username_3: It's probably best that you wipe it because it is still where the compiled oat files are stored and either way all it does is make the system recompile all the apps. You still have to wait a long time while it does the compiling (Android is Upgrading)
Upvotes: 1 |
2015/06/05 | 641 | 2,052 | <issue_start>username_0: My Note 4 running 5.0.1 will often connect to 4G rather than 4G LTE when both are available. When this happens I can turn airplane mode on and off it will then reconnect to 4G LTE, sometimes with 5 bars.
How can I either make it:
* Only connect to 4G LTE
* Never connect to 4G
* Only connect to 4G LTE when both are available
* Strongly prefer the 4g LTE connection over the 4G even when LTE has less bars
One or any combination of the above points would be great. I have an unlimited data plan and I think AT&T likes to slow me down because of it. Any ideas?<issue_comment>username_1: It seems that [this answer](https://android.stackexchange.com/a/28557/109933) (by [Void](https://android.stackexchange.com/users/18638/void)) worked well for OP. You can setup your device to connect to "4G LTE" only by using the following steps:
1. In dialer, press `*#*#4636#*#*`
2. Go to **Phone Information**
3. Scroll down to **Set preferred network type:** and tap the entry below it.
4. Choose **LTE only**.
5. Optionally: Tap **Turn off radio** → **Turn on radio**
Or,
If you cannot access that menu using the code in dialer, then install and launch [Elixir 2](https://play.google.com/store/apps/details?id=com.bartat.android.elixir&hl=en) → **information**
→ tap **Telephony** → **Turn WiMAX (4G) on** → repeat aforesaid **steps 3-5**.
### An important note by OP
>
> This disabled my incoming calls and they were going straight to voicemail. Not sure if this is a [New York City (high volume - stressed network)] thing or if voice just generally never goes over LTE but [I] had to switch it back.
>
>
>
Upvotes: 3 <issue_comment>username_2: You can use [Force 4G LTE Switch](https://play.google.com/store/apps/details?id=com.mmmdevelopers.forcenetwork) app.
It allows to force 4G/3G/2G and also provides "network operators" search shortcut.
Upvotes: 0 <issue_comment>username_3: Simply use the app "4g lte only switch- speed test" app
<https://play.google.com/store/apps/details?id=com.simplistic.forcelte>
Upvotes: 0 |
2015/06/05 | 544 | 1,645 | <issue_start>username_0: I'm trying to change my phone's (CM 12, Stock 4.2, both rooted) preferred network mode from "GSM/WCDMA" (0) to "WCDMA only" (2) and vice versa (there can be other modes too), using command-line only. Based on this [answer](https://android.stackexchange.com/a/111513/109933) I can make relevant changes into `Settings.db` using the commands:
```
adb shell
su
settings put global preferred_network_mode 2
```
However, I can't figure out from the logcat which or how many broadcasts do I have to send and with what extra key values. It is because of it I have to reboot my device to have the changes take effect.
**Ultimately, how do I change the network mode without the reboot using command-line only?**
**Edit**: Using aforesaid command in combination with [airplane mode](https://android.stackexchange.com/a/111513/109933) isn't working either.<issue_comment>username_1: There are some couple of ifs and buts. I have not tried this, but this is just an idea that comes to my mind which is an extension of my previous [answer](https://android.stackexchange.com/questions/44347/simple-way-to-toggle-between-2g-and-3g-connection/82379#82379).
Through [this](http://xgouchet.fr/android/index.php?article42/launch-intents-using-adb) post, I learn that intents can be invoked through adb command prompt.
So, if the device is rooted and has Xposed framework, the above can be done.
Upvotes: 2 <issue_comment>username_2: You can refer to [this post](http://www.josemauricio.net/?p=486)
KitKat:
```
echo "AT^SYSCONFIG=13,1,1,2\r" > /dev/smd0
```
Lollipop:
```
echo "AT+WS46=12\r" > /dev/umts_at0
```
Upvotes: 0 |
2015/06/05 | 343 | 1,264 | <issue_start>username_0: What is leanest android mod out there?
I do not particularly like new Android or Cyanogenmod 12. Too much flashy animations and too much bloatware with tasks running in background.
Or if not specific mod, what are ways of achieving this?<issue_comment>username_1: I guess one way of achieving this is by installing ROM with pico gapps package. And then install fdroid instead of google play.
Upvotes: 0 <issue_comment>username_2: You can disable animations from **Developer Options** and can uninstall bloatware using [System App Uninstaller](https://play.google.com/store/apps/details?id=com.ljmobile.system.app) or [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackupPro).
The background tasks you mentioned are usually services that can be disabled using [Servicely](https://play.google.com/store/apps/details?id=com.franco.servicely). I've heard that [Amplify](https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce) is also good.
**Note**: All of the aforesaid apps require root access.
Upvotes: 2 [selected_answer]<issue_comment>username_3: Uninstall bloteware using root apps
disable animations in developer options
remove colors using themes (cyanogenmod)
Upvotes: 0 |
2015/06/06 | 345 | 1,274 | <issue_start>username_0: I have a Samsung Galaxy S4 Zoom and my current Android version is Jelly Bean 4.2.2. I kept on trying to update the version but it kept on saying that my phone has installed the newest update. How can I change my Android version to the Lollipop one?<issue_comment>username_1: I guess one way of achieving this is by installing ROM with pico gapps package. And then install fdroid instead of google play.
Upvotes: 0 <issue_comment>username_2: You can disable animations from **Developer Options** and can uninstall bloatware using [System App Uninstaller](https://play.google.com/store/apps/details?id=com.ljmobile.system.app) or [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackupPro).
The background tasks you mentioned are usually services that can be disabled using [Servicely](https://play.google.com/store/apps/details?id=com.franco.servicely). I've heard that [Amplify](https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce) is also good.
**Note**: All of the aforesaid apps require root access.
Upvotes: 2 [selected_answer]<issue_comment>username_3: Uninstall bloteware using root apps
disable animations in developer options
remove colors using themes (cyanogenmod)
Upvotes: 0 |
2015/06/06 | 320 | 1,156 | <issue_start>username_0: Is it ok for me to charge my galaxy tab 3 using a samsung phone charger?(only the cable is from the phone, the jack is of the tab)<issue_comment>username_1: I guess one way of achieving this is by installing ROM with pico gapps package. And then install fdroid instead of google play.
Upvotes: 0 <issue_comment>username_2: You can disable animations from **Developer Options** and can uninstall bloatware using [System App Uninstaller](https://play.google.com/store/apps/details?id=com.ljmobile.system.app) or [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackupPro).
The background tasks you mentioned are usually services that can be disabled using [Servicely](https://play.google.com/store/apps/details?id=com.franco.servicely). I've heard that [Amplify](https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce) is also good.
**Note**: All of the aforesaid apps require root access.
Upvotes: 2 [selected_answer]<issue_comment>username_3: Uninstall bloteware using root apps
disable animations in developer options
remove colors using themes (cyanogenmod)
Upvotes: 0 |
2015/06/06 | 680 | 2,586 | <issue_start>username_0: I want to completely disable the three on-screen buttons (Back, Home, Recents) and any other hardware button. I am aware that I cannot do this from the application since that would be a major security flaw. How would I do this to a device assuming that I have the device on hand? Gain root access and then how would this go?
Ps: What I am trying to do is to have the app run on my tablet on a kiosk and I do not want the users to pressing any buttons.<issue_comment>username_1: [Full!screen](https://play.google.com/store/apps/details?id=de.tsorn.FullScreen&hl=en) has a (paid-for) feature where you can automatically hide system bars in certain apps and unhide them in other apps, but there is a free version without the automation.
Alternatively, you can hide them completely over ADB ([source](https://stackoverflow.com/questions/16713845/permanently-hide-navigation-bar-on-activity)) with:
```
adb shell
su
pm disable com.android.systemui
```
Or (if you're writing your own app) you can use this code ([source](https://stackoverflow.com/questions/16713845/permanently-hide-navigation-bar-on-activity)):
```
private void hideNavigationBar(){
try {
Process process = Runtime.getRuntime().exec("su");
DataOutputStream os = new DataOutputStream(process.getOutputStream());
os.writeBytes("pm disable com.android.systemui\n");
os.flush();
os.writeBytes("exit\n");
os.flush();
process.waitFor();
//////////////////////////////////////
} catch (InterruptedException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
```
[Kiosk Browser Lockdown](http://www.android-kiosk.com/) also has a feature where you can disable all system dialogs (volume, long-press power etc.)
Upvotes: 3 [selected_answer]<issue_comment>username_2: Using the [Xposed Framework](http://repo.xposed.info/module/de.robv.android.xposed.installer) and [Xposed Additions](http://repo.xposed.info/module/com.spazedog.xposed.additionsgb) you can remap any button to any action, and in your case the 'No action'.
Combining this to disable all your hardware buttons with [this answer](https://android.stackexchange.com/a/111625/96277), and you would achieve what you want.
Open the app and follow these steps:
1. Click on **Buttons**
2. Click **Add new Key**
3. Press the key you want to disable
4. Press **OK**
5. Click the key in the list and for every condition assign the **Disabled** action
Upvotes: 1 |
2015/06/06 | 1,306 | 4,970 | <issue_start>username_0: Recently, Google has changed the Google Photos app so that everyone has free and unlimited access to store 16 megapixel files.
The camera on my phone is under 16 megapixels. When I downloaded the app, it asked me whether I wanted to keep the photos in original or high quality.
I would like to take advantage of the free storage so my question is if the photos are originally less than 16 megapixels, is high quality going to be the same as original or would Google compress it more?
Also, what happens to the existing photos on my Google Drive that are less than 16 megapixels? Are they automatically not counted toward my quota or do I need to somehow migrate them to Google Photos? Just that, the majority of the files on my Drive are photos (which are less than 16 megapixels) and since I've downloaded Photos, the space available has not changed.<issue_comment>username_1: Google in I/O have said that the photos which are **less than 16MP will not be compressed** and the ones above the 16MP are the only ones which if chosen to be stored under the "unlimited storage" space will be compressed.
---
Also from my experience I've not seen any change in my drive storage after the new "unlimited storage" option. So it should only mean that the **present ones would stay the same**.
Upvotes: -1 <issue_comment>username_2: Photos less than 16MP will actually be compressed. Just try it.
Upvotes: 1 <issue_comment>username_3: I just took a picture with my phone (8MP) after configuring auto backup with both Google Photos (with "high quality" option enabled) and Dropbox.
I compared both images and I can't see a difference between them, although the file sizes differ (the image in Google Photos has 1.3 MB and the one in Dropbox has 2.2 MB). I made the same comparison with an older image (when I had the "original" option enabled in Google Photos), and the files are exactly the same.
Seems like Google is really compressing the file, although keeping the image quality.
Upvotes: 4 <issue_comment>username_4: Google openly said in its announcement as well as in its help pages that the free unlimited High Quality option will compress photos 16 MP and under - but will still keep the same resolution and "almost" the same indistinguishable quality.
Upvotes: 3 <issue_comment>username_5: Basically, the question can be answered by the two customer plans Google offers as of 2015.
* **Free**: Allow Google to process the photos, alter Exif information and be subjected to changes and new features that may or may not affect your photo's metadata and quality
* **Paid**: Upload and retain a byte-original file by using your Google Drive's storage, which is fully integrated with Google Photos as per 2015. Every user has a 15 GB storage for free, of which you will likely already have consumed some of its storage-quota if you have been using Google Drive for a while.
Links:
* <https://support.google.com/picasa/answer/6558>
* <http://en.wikipedia.org/wiki/Google_Photos>
Upvotes: 0 <issue_comment>username_6: Pictures uploaded using Google applications with enabled free option will be recompressed even if they are less than 16Mpix.
Pictures uploaded using 3rd-party software will be as-is regardless option and *will use quota* if their size is bigger than 2048px by longest dimension *even* if they are less than 16MP, even if options is set to free.
Upvotes: 3 <issue_comment>username_7: No, High Quality won't be the same as Original as Google will compress it again using a similar method to JPEGMini. See [this](http://petapixel.com/2015/05/30/jpeg-compression-test-google-photos-vs-jpegmini/) and [this](http://blog.jpegmini.com/google-photos-unlimited-storage-limited-colors/) comparison tests for more information.
Your space available hasn't changed because Photos might be accessing your photos on Google Drive. You don't need to migrate them, just make them available to Photos.
Upvotes: 3 <issue_comment>username_8: The compression does not apply only for photos, but for videos too.
When you choose the "High Quality" option even with a camera of 8MP, you won't be able to upload a video of more than 1Gb. On the other plan (i.e. "Original Size") you can.
Upvotes: 1 <issue_comment>username_9: There is [at least one review of that feature](https://www.phonearena.com/news/Google-Photos-High-quality-vs-Original-Whats-the-difference-and-should-you-care_id93938) where the testers found that for one of their test pictures, Google Photos reproducably reduced the resolution even though the original picture didn't exceed 16MP.
>
> Original image (3024 x 4032 = 12.19 MP; 7 MB)
>
>
> Google Photos 'High quality' (2268 x 3024 = 6.86 MP; 2.68 MB)
>
>
>
However, they don't write how many images they tested in total, just that all others did not exhibit this behaviour.
This is enough for me to avoid Google Photos's recompression, which otherwise seems to use very sensible settings and methods.
Upvotes: 1 |
2015/06/06 | 4,025 | 14,738 | <issue_start>username_0: One of my pet hates about Android is the back button. It is fairly unpredictable what it will do.
Depending on where you are, it can do one of three things:
1. take the user up a page in the same app
2. take the user back to a previous app
3. take the user back to the home screen
Normally, I think the 1st and 2nd scenarios generally work pretty well. Even through I'm not sure where it's going to go, 90% of the time, it'll take me to where I want to go.
The last scenario is very frustrating and happens exclusively when I didn't realise that I was already on the first page of my app. It just dumps me on the home screen and I have to figure out how to open the app again. As far as I'm concerned I can't see any good reason for ever taking the user to the home screen when they hit the back screen - especially since there is a home button right next to the back button for that purpose.
Anyway, I want a solution to this. So is there some sort of app or some sort way I can program Tasker or another automation app to either
1. override and cancel the Back button action if it'll take me to the Home screen. Either have it do nothing or display a message
2. just disable the back button altogether if clicking it will take me to the home page.
I'm on Lollipop and unrooted.
However, although I want an actual solution for myself, I'd be interested in hearing of any solutions that are rooted or on other versions too.<issue_comment>username_1: The third scenario is the case where you hit the back button when you are the main screen of an app. Some app or games confirms the exit of the app with yes or no option..some do not have that..it will bring you back to the menu drawer or the home screen if you have launched it from the home screen or notification bar. So thats normal. If you are in the main activity screen of an app I would expect to show the home screen if i press the back button. Thats seems intuitive for me. And if back button exits an app without any confirmation you can still find it in the recents tab.
However in Lollipop you have Screen Pinning option available under Settings-> Security which allows you to stay in that particular app and back button will be disabled until you unpin the application. And you wont be able to come back to the home screen on pressing the back button from that application. But you can't switch from one application to another application without unpinning the current app.
If you feel you dont require the default back button actions anymore, Here is a related app in PlayStore. [Back Button(No Root)](https://play.google.com/store/apps/details?id=com.appspot.app58us.backkey&hl=en). You can turn off/disable the virtual or navigation bar back button completely if you want to using this app. The floating bar back button work fine in Lollipop but I was not able to enable the Navigation bar since it doesnot work on android versions 4.4.4 or later.
[](https://i.stack.imgur.com/E20bK.png) [](https://i.stack.imgur.com/DNGZi.png) [](https://i.stack.imgur.com/ts0Ce.png)
Screenshot (Click to enlarge)
Upvotes: -1 <issue_comment>username_2: Well, this is still (after investing so many hours) a half-baked (aka partial) solution. You want a message, you'll get a message. :) **We need root access for the solution**.
**Note**: Tested the solution on Android 4.2.1 but works on 5.0 as well.
---
At this point of time, the message will be received as a Toast and it has no effect on Back key.
For the purpose of example I'm using [ES File Explorer](https://play.google.com/store/apps/details?id=com.estrongs.android.pop) and [BetterBatteryStats](https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats) to display a message on their default screen.
1. Fire up [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) and enable it.
2. Go to **VARS** and create a variable as `+`→ `%Catch` (you can use a different name but keep the first letter capital (global variable)). Similarly, create another one with name `%Any`.
3. Create a profile with application context and select **ES File Explorer**.
4. Create a task under the above profile and then an action inside this task as `+`→ **Code→ Run Shell** and enter these details:
* **Command**: `dumpsys activity | grep mFocusedActivity | cut -d ' ' -f 6 | cut -d '}' -f 1` -- this command will output the focused activity (current app launched with its activity).
* Check **Use Root**.
* **Store Output In**: `%Catch`.
* Save this action.
5. Create another profile with application context inverse of **ES File Explorer**.
6. Create a task under the above profile and then an action inside this task as `+` → **Variables → Variable Set**, and enter these details:
* **Name**: `%Catch`
* **To**: `The` (you can put any word)This step will make sure that the variable `%Catch` doesn't hold the value (provided in during execution of step 4) after the profile in step 3 becomes inactive.
7. Create a last profile under **Event → New Window** and choose `Full Screen` under **Window Type** -- I earlier had Toasts even for dialogs on Main activity. Full Screen option will avoid it.
8. Create a task under the above profile and then an action inside this task as `+`→ **Code→ Run Shell**, and enter these details:
* **Command**: `dumpsys activity | grep mFocusedActivity | cut -d ' ' -f 6 | cut -d '}' -f 1` -- this command will output the focused activity (current app launched with its activity).
* Check **Use Root**.
* **Store Output In**: `%Any`.
* Save this action.
9. Create another action in the same task as `+` → **Alert → Flash**, and enter these details:
* **Text**: `Don't back Disk :/` -- this is the message that will be displayed in the Toast. Choose wisely!
* Tap `+` corresponding to **If** and enter `%Any` `eq` `%Catch` -- we're comparing the main activity name for our selected app with any window Android will open. If it matches, you'll see the Toast. Now you can see why we needed an extra "inverse app context" profile in step 5.
10. Save everything and enable all three profiles.
11. Note that I had to shift my [Superuser](https://play.google.com/store/apps/details?id=com.koushikdutta.superuser&hl=en) app's root access Notifications from Toasts into Status bar notifications because the third profile will need root access every time Android will launch a window. Make sure you either disable your Superuser client's Toasts or change them into Status bar notifications. It was an invasive stream for me!
12. Anyhow, launch **ES File Explorer** and see the magic. The default screen of this app will show a Toast to you. You open any other activity and it won't bother you. Come back to main screen of it and see the Toast again.
13. You can have this behavior for multiple apps. Just choose your app in the profile we made in step 3 and 5. They are supposed to be added in **OR** context like `ES File Explorer or BetterBettaryStats` and `Not BetterBatteryStats or ES File Explorer`.
Some screenshots:
-----------------
(Click any image for its larger variant)
[](https://i.stack.imgur.com/mkM2o.png) → [](https://i.stack.imgur.com/ax8gZ.png) →
(No toast for any other app) (Default screen for BetterBatteryStats)
[](https://i.stack.imgur.com/m3yNA.png) → [](https://i.stack.imgur.com/W9vu3.png) →
(No toast on dialog on same screen) (Dialog closed and toast came back on main screen)
[](https://i.stack.imgur.com/NtKbc.png) → [](https://i.stack.imgur.com/UQqyZ.png) →
(Toast on Default screen of ES File Explorer) (No toast on dialog of the same screen)
[](https://i.stack.imgur.com/9Wp6f.png)
(Toast came back as soon as dialog disappeared)
---
Commentary
----------
* The aforesaid solution didn't work on my device satisfactorily if the app remained in recent list (but OP is not concerned with it) and you happen to open it again.
* You can get rid of app (and inverse) context based profiles if you use a string in step 9 in place of `%Catch` like `com.estrongs.android.pop/.view.FileExplorerActivity` (Main activity of **ES File Explorer**). The solution will be reduced to two steps. :D
However, I would like things to be automated here, so why bother especially when you want to select multiple apps for the toast!
### What else?
* Every device more or less has a keylayout under `/system/usr/keylayout`. In my device the generic layout is named as `Generic.kl`. The relevant key is mentioned at
```
key 158 BACK WAKE_DROPPED
```
If you put `#` in front of it and restart the device then the back key would be disabled. To remain at safe side, I swapped it with Meny key (`key 139`).
This swapping can be very beneficial in Tasker. Unfortuntaley, the changes take effect only at next reboot which is very counterproductive for our goal. Let me know if it can be done without a reboot!
* [Xposed Additions](https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb)(requires Xposed Framework) can remap or disable the Back key *et al*, but it has no explicitly callable activities (relevant to the goal) which can be utilized by other apps. Also, it doesn't even seem to store a database or a preference file. So I couldn't use it with Tasker to achieve the goal.
* [Secure Settings](https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en) (another Xposed module) has an option named **Kill back button** but it seems to be available for Custom ROMs and so, I couldn't test it. Some folks say it does work and I too saw the plugin useful for the goal. Check it out if you've a custom ROM.
**I'm open to Ideas here!**
Upvotes: 3 [selected_answer]<issue_comment>username_2: I could not figure out the way to find out when an app would dump you to home screen if you press the Back key unless you launched the app from App Launcher. But, I can make sure that the Back key gets disabled if only your app is showing its main/first page. We need [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) and [AutoInput](https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput) to do the job. The latter gives 7 day trial (full access).
**Note: Root access is required for the following method**.
First, we need to find out the name of main activity of your app. You can try an app like [QuickShortcutMaker](https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut) to show the main activity of an app.
(Click image to enlarge)
[](https://i.stack.imgur.com/j8NOv.png)
The format is `/` like `com.android.chrome/com.google.android.apps.chrome.MAIN`
Alternatively, you can use [adb](/questions/tagged/adb "show questions tagged 'adb'") to do the job ([Busybox](https://play.google.com/store/search?q=busybox) required) provided that you [know the package name (PKG\_NAME) of the app](https://i.stack.imgur.com/uYXnZ.png),
```
adb shell
dumpsys package PKG_NAME | grep -A1 "android.intent.action.MAIN:" | awk '{print $2}' | tail -n 1 | tr -d '/'
```
Now that we've got the main activity let's proceed towards Tasker.
Instructions for Tasker and AutoInput
-------------------------------------
1. Enable Accessibility service for both apps from **Setings → Accessibility**.
2. Go to Tasker → **Tasks** and create a task named `Disable Back Key`.
3. Create following actions inside it:
1. **Code → Run Shell**,
1. **Command**: `dumpsys window | grep "mCurrentFocus" | rev | cut -d '/' -f 1 | tr -d '}' | rev`
2. Check **Use Root**
3. **Store Output in**: `%CurrentFocus`We are simply storing the activity currently in focus.
2. **Task → If**,
* `%CurrentFocus` `eq` `MAIN_ACTIVITY_NAME`Change `MAIN_ACTIVITY_NAME` with the activity name you noted earlier.
3. **Plugin → AutoInput → Modes**,
1. **Configuration**:
1. **Key Suppress**: Enable
2. **Keys**: Back
2. **Timeout (Seconds)**: None
4. **Task → Else** → repeat last step but change **Key Suppress: Disable**.
4. Create an event based profile from **Event → UI → New Window**,
1. **Window Type**: Full Screen
2. **Priority**: Highest
5. Link the task `Disable Back Key` in it.
6. Rename the profile to `AutoInput disable Back Key`.
7. Create a separate new task named `Enable Profile`.
8. Create action 3 of step 3.
9. Create another action from **Tasker → Profile Status**:
* **Name**: choose `AutoInput disable Back Key`
* **Set**: On
10. Create one more task named `Disable Profile`.
11. Repeat step 9 but change **Set: Off**.
12. Create action 3 of step 3 but change **Key Suppress: Disable**.
13. Create an application based profile from **Application** → YOUR\_APP,
1. Add **Enable Profile** as **Enter Task**
2. Add **Disable Profile** as **Exit Task**
14. Deactivate **AutoInput disable Back Key** profile because we don't want to use CPU all the time in processing this profile on every new window formation by Android.
This is it. Launch the app you selected earlier and you would find that the Back key doesn't work when the main activity of your app is opened. Go to any other activity of the app like preferences or settings and Back key would come back to normal usage.
---
There is somewhat good news and bad news for owners of non-rooted Lollipop devices.
*Good news*: The said method can work without root access as well. [adb](/questions/tagged/adb "show questions tagged 'adb'") running in wireless mode and connected in loopback can do the job.
*Bad news*: There are too many booby traps in using it and I cannot (read: don't have time) work on to take care of them.
Do post an answer if you get rid of issues with [adb](/questions/tagged/adb "show questions tagged 'adb'").
Upvotes: 1 |
2015/06/06 | 334 | 1,347 | <issue_start>username_0: The screen on my Samsung Galaxy S3 has bitten the dust, and is now remains completely black. The phone otherwise seems to be working, however (sounds play, the notification lights light, the touch screen seems to respond, etc.)
I think I'll give it away to anyone who wants it for parts. But first I want to wipe my data off it. Unfortunately, since I can't see the screen, instructions such as "Scroll down to 'Factory reset'" won't work.
Can anyone tell me the exact sequence of button presses to do a factory reset from the bootloader, without seeing the screen?
(Unfortunately, the phone isn't set up with Android Device Manager.)<issue_comment>username_1: You could use recovery mode and guess the controls from resources available online or you could use adb if u had developer options enabled and type:
```
adb shell
--wipe_data
```
**EDIT:** I read the comments on your question and it looks like if u wanted to reset it you can go into recovery (Home+VolumeUp+Power) and then press volume down twice and then press power and then press volume down 6 times and then press power again.
Upvotes: 3 [selected_answer]<issue_comment>username_2: This link shows the exact clicks for factory reset without a screen:
<http://visihow.com/Is_there_a_way_to_reset_a_Samsung_Galaxy_Note_3_without_the_screen>
Upvotes: 1 |
2015/06/06 | 568 | 1,803 | <issue_start>username_0: Is there a way to connect my Android phone to my computer in the way a USB connection works without actually using USB?
I mean that it at least registers as an external drive and hopefully I'm also able to install programs when developing via Eclipse.<issue_comment>username_1: If you have WiFi, there are possibilities:
* you can use ADB over TCP (also called "wireless ADB"), see e.g. my list of [ADB solutions](http://android.izzysoft.de/applists/category/named/network_admin_adb)
* you can use [WebDAV](http://android.izzysoft.de/applists/category/named/network_server_file#group_410) or [Samba](http://android.izzysoft.de/applists/category/named/network_server_file#group_411) to share your "drives from the device" to your computer (note, however, that with Windows that would require your Android device to be rooted, as Windows cannot deal with Samba shares on "unusual ports")
Upvotes: 2 <issue_comment>username_2: I don't about Samba but I had to follow many steps to setup WebDAV on my Windows 7. To avoid it, I propose using an [FTP server](https://play.google.com/store/search?q=ftp&c=apps&docType=1&sp=CAFiBQoDZnRwegIYAIoBAggB:S:ANO1ljJ3KMc) on Android and [mount it](http://lifehacker.com/300997/mount-remote-file-systems-with-netdrive) on Windows using [NetDrive](http://www.netdrive.net/) (also has an Android app [here](https://play.google.com/store/apps/details?id=com.bdrive.airdrive)) as an external drive. This works flawlessly and easily in my system.
You can also host an [SSH server](https://play.google.com/store/search?q=ssh+server&c=apps&docType=1&sp=CAFiDAoKc3NoIHNlcnZlcnoCGACKAQIIAQ%3D%3D:S:ANO1ljKZyrM) on Android and mount it using [win-sshfs](https://code.google.com/p/win-sshfs/).
I still favor the first solution for easy job.
Upvotes: 1 |
2015/06/06 | 426 | 1,781 | <issue_start>username_0: When an Android device locks up, and does not respond to holding down the power button, is there anything you can do to reboot the device besides removing the battery?
What do you do if the battery is not removable?
Although it does not always work, Windows has the three finger salute (Ctrl+Alt+Delete) which helps get around this situation. Is there anything similar in Android?
I did find [this question](https://android.stackexchange.com/questions/36329/how-to-reboot-an-android-device-without-using-power-button), but it does not refer to a device that is frozen.<issue_comment>username_1: Try holding Power + Volume up button.. might help
Upvotes: -1 <issue_comment>username_2: Different Android devices may have different force-reboot methods, so you should refer to your device’s documentation. To reboot frozen device you should usually press and hold the Power button + Volume Down button (or Volume Up button - it depends on device) for at least 7~10 seconds and stop holding those buttons once it’s started the reboot process. You could try to press and hold just the Power button itself for at least 30~45 seconds.
Upvotes: 1 <issue_comment>username_3: If you want to reboot your system without using the power button (the power button hold down trick doesn't work on some devices) then you can use Alt + Print Screen and type REISUB on a USB keyboard (connected with OTG cable / converter) since Android uses the Linux kernel. This should work if you Android has not kernel panicked
Connect USB keyboard via OTG (I could not test a Bluetooth keyboard)
Press down the ALT and Print Screen keys on the keyboard
Type `REISUB`. Your phone / tablet should reboot
Tested on Nexus 9 running Marshmallow (should work on phones too)
Upvotes: 1 |
2015/06/07 | 288 | 1,121 | <issue_start>username_0: I am using Galaxy A7 . My downloading speed is very worse 2kbbs it takes several weeks for a movie download.I am fed up really. Now a movie with 0/101 peers and seed 5/8 is downloading in 2 kbbs with my wify which has the capacity of max 60kbbs around. Please I need a solution for this ..<issue_comment>username_1: The torrent lacks peers (and even seeds are too low). Find yourself another alternative torrent.
On side note, you can try some other torrent application, since sometimes that has greatly worked for me. For example, using [aTorrent](https://play.google.com/store/apps/details?id=com.mobilityflow.torrent) I was able to download a movie trailer with just 2 seeds with significant speeds.
Upvotes: 0 <issue_comment>username_2: Your download speed is quite slow and the number of seeders are few.This is the main reason that it takes lot of time for you to download. Check the ratio, seeder should seed until at least 1.000 Ratio.
Along with those see whether this can help. Go to
Preferences --> Bandwidth --> "Disable the "Apply rate limit to uTP connections" option.
Upvotes: 1 |
2015/06/07 | 941 | 3,616 | <issue_start>username_0: According to what I've read, a 'File Transfer' window should open. Mine just says, 'slow charging'.<issue_comment>username_1: Pick Down taskbar and tap phone charge and in new window select mtp or flash option
Upvotes: -1 <issue_comment>username_2: Make sure your wire supports both charging and data. If it does then on the phone go to Settings->Storage->->3 Dots-> USB Computer Connection-> Change the mode from Charging Only to MTP or USB Mass Storage. If neither of these work then make sure you have drivers installed for your device on your computer.
Upvotes: 2 <issue_comment>username_3: Try removing your SIM card(s). I had a similar issue and it worked fine again after restarting without them. I have checked now and it **does** work/transfer-files again, also with the SIMs in too.
Upvotes: -1 <issue_comment>username_4: Generally, whenever you connect the USB the phone is in USB charging mode by default.
To change to any other mode (file transfer mode in your case), go to the notification pane where a notification would tell you that usb is connected and charging. Tap on it and select the MTP or file transfer mode.
Upvotes: 1 <issue_comment>username_5: 1. first check your usb cable
-----------------------------
### a. your cable could be a "charging only" cable (i.e. only has wires to carry power and no data wires)
This cable could be a [`charging-only`](https://www.quora.com/What-is-the-difference-between-a-USB-charging-cable-and-a-data-cable) cable, which doesn't include the `D+` & `D-` cable streams. If you're unsure on the type of cable, try using a different cable that you're sure works.
### b. if you are using usb-3, it could be "bad"
USB-2 minimum cable requirements were easier to manufacture because of the lower data rate requirements. [Ever since USB-3 lots of USB-3 cables don't meet "spec" and therefore can not work or damage your phone](https://www.businessinsider.com/google-engineer-benson-leung-reviewing-bad-usb-cables-on-amazon-until-he-forced-the-site-to-ban-them-2016-3). Make sure you have a brand that you know is good.
2. After checking the cable, you need to check your phone's settings. make sure it is in "file transfer" mode and NOT "charging only".
--------------------------------------------------------------------------------------------------------------------------------------
From [`Android 6.0`](/questions/tagged/6.0-marshmallow) onwards `File transfer` is disabled by default when a cable is connected to the device, mainly due to [malicious USB hubs](https://android.stackexchange.com/questions/158009/how-to-detect-a-malicious-usb-charger) which pretend to be normal charging ports, but instead copy data from your device whilst charging.
### To enable File Transfer Mode
1. Turn on your device and connect it to your computer (using a cable which supports data transfer)
2. Unlock your device and open the notification labelled `USB charging this device` - you may need to swipe down from the notification bar
3. Select `Transfer Files` from the menu that appears.
4. You should be able to access your device on your computer.
][3](https://i.stack.imgur.com/vgq26m.png)
3. try a different USB port on the PC
-------------------------------------
I tried a bunch of cables on one USB port but nothing was working. So I tried a differnt USB port and it all worked again!
4. lastly. Try... restarting the phone... restarting the computer.
------------------------------------------------------------------
Some might say this is the first thing to try.
Upvotes: 4 |
2015/06/08 | 1,107 | 4,307 | <issue_start>username_0: I have a new phone. The old one died. I want to install all application that I had on old phone. I am 100% I miss one application in google play-my apps.
I may be uninstall it on the old phone due to the lack of space but I want to find it back.
I do not remember name and I am not able to find it on the google play (may be it was removed).
It was application for training brain, there was a few categories of games: at least 3 version of memory matrix, some games to match previous, 2 version of the of the follow number sequence. (All brain training application are really similar.) For some unknow reasons I have it associated with cat (It must be in name or there was a cat icon on main screen or something like that).
Please give me a tip how I can find this missing application.<issue_comment>username_1: Pick Down taskbar and tap phone charge and in new window select mtp or flash option
Upvotes: -1 <issue_comment>username_2: Make sure your wire supports both charging and data. If it does then on the phone go to Settings->Storage->->3 Dots-> USB Computer Connection-> Change the mode from Charging Only to MTP or USB Mass Storage. If neither of these work then make sure you have drivers installed for your device on your computer.
Upvotes: 2 <issue_comment>username_3: Try removing your SIM card(s). I had a similar issue and it worked fine again after restarting without them. I have checked now and it **does** work/transfer-files again, also with the SIMs in too.
Upvotes: -1 <issue_comment>username_4: Generally, whenever you connect the USB the phone is in USB charging mode by default.
To change to any other mode (file transfer mode in your case), go to the notification pane where a notification would tell you that usb is connected and charging. Tap on it and select the MTP or file transfer mode.
Upvotes: 1 <issue_comment>username_5: 1. first check your usb cable
-----------------------------
### a. your cable could be a "charging only" cable (i.e. only has wires to carry power and no data wires)
This cable could be a [`charging-only`](https://www.quora.com/What-is-the-difference-between-a-USB-charging-cable-and-a-data-cable) cable, which doesn't include the `D+` & `D-` cable streams. If you're unsure on the type of cable, try using a different cable that you're sure works.
### b. if you are using usb-3, it could be "bad"
USB-2 minimum cable requirements were easier to manufacture because of the lower data rate requirements. [Ever since USB-3 lots of USB-3 cables don't meet "spec" and therefore can not work or damage your phone](https://www.businessinsider.com/google-engineer-benson-leung-reviewing-bad-usb-cables-on-amazon-until-he-forced-the-site-to-ban-them-2016-3). Make sure you have a brand that you know is good.
2. After checking the cable, you need to check your phone's settings. make sure it is in "file transfer" mode and NOT "charging only".
--------------------------------------------------------------------------------------------------------------------------------------
From [`Android 6.0`](/questions/tagged/6.0-marshmallow) onwards `File transfer` is disabled by default when a cable is connected to the device, mainly due to [malicious USB hubs](https://android.stackexchange.com/questions/158009/how-to-detect-a-malicious-usb-charger) which pretend to be normal charging ports, but instead copy data from your device whilst charging.
### To enable File Transfer Mode
1. Turn on your device and connect it to your computer (using a cable which supports data transfer)
2. Unlock your device and open the notification labelled `USB charging this device` - you may need to swipe down from the notification bar
3. Select `Transfer Files` from the menu that appears.
4. You should be able to access your device on your computer.
][3](https://i.stack.imgur.com/vgq26m.png)
3. try a different USB port on the PC
-------------------------------------
I tried a bunch of cables on one USB port but nothing was working. So I tried a differnt USB port and it all worked again!
4. lastly. Try... restarting the phone... restarting the computer.
------------------------------------------------------------------
Some might say this is the first thing to try.
Upvotes: 4 |
2015/06/08 | 1,096 | 3,720 | <issue_start>username_0: The new Google email application, [Inbox](http://www.google.com/inbox/) has just been released so I decided to try it.
I wanted to delete all my spam messages but I can't find a button to select all of them without clicking on each one.
Is it possible to select all messages at once?<issue_comment>username_1: The "Select All" feature is not available as of now in [Inbox by Gmail](https://play.google.com/store/apps/details?id=com.google.android.apps.inbox) app. Nor this feature of multiple selecting of spam emails at once available in the [web version of Inbox by Gmail](http://inbox.google.com). Only [Gmail](https://play.google.com/store/apps/details?id=com.google.android.gm) app has the `Empty Spam` option but not select all. You can also swipe to delete in the new version of Inbox app. But that won't make a big difference if you have hundreds of emails spammed to you.
[](https://i.stack.imgur.com/GdOuP.jpg)
Take a look at the [Features not implemented yet](http://gmail-miscellany.blogspot.in/2014/10/inbox-by-gmail-101.html#features) blog post section.
>
> Gmail or Inbox by Gmail?
>
>
> So, which one should you use? Most of the above can be reduced to just
> a couple key points for each product. But remember that: `Inbox` is not simply a user-interface change
> to Gmail, it as an entirely new product.
>
>
>
Gmail
* Customizable - multiple inbox formats and message organization options -
* Flexible - many message attributes to manage e-mail
Inbox by Gmail
* Simple - easy to learn and use
* Consistent - the same user-interface on all platforms
>
> Of course there's no reason you can't use both. You could use Inbox on
> a day-to-day basis, or on mobile devices, and then use Standard Gmail
> for more complex activity like creating non-labeling filters, multiple
> message selection, emptying Trash and Spam, etc. Gmail and Inbox by
> Gmail are just tools and you should use whatever helps you manage your
> e-mail the best.
>
>
> So feel free to continue to use Gmail, switch to Inbox, use both as
> appropriate, or use neither if you prefer your installed e-mail
> client. The choice is totally yours.[[Ref.](http://gmail-tips.blogspot.in/2014/10/inbox-by-gmail.html)]
>
>
>
**UPDATE** : This functionality is now available in Inbox by GMail as of 10th Sep 2015. Google has added an option to delete all spam messages in single click via the ["Empty Trash Now"](https://inbox.google.com/spam?cid=imp&pli=1) button. [Read here](https://plus.google.com/u/0/+InboxbyGmail/posts/T7ucEQgpxTn).
As posted on Google Plus,
>
> Small update: You can now empty Trash and Spam in Inbox. Thanks to
> everyone for your feedback requesting this feature.
>
>
> [](https://i.stack.imgur.com/7TwK0.png)
>
>
>
You can also do this in the webversion of [Inbox by Gmail's](https://inbox.google.com/spam) spam page. Clicking on the "Empty Spam now" clears up the spam folder. Note that spam left undeleted for more than 30 days are deleted automatically.
Upvotes: 4 [selected_answer]<issue_comment>username_2: You can now do a "shift select" style selection to select all the messages between two.
For example, if I have 6 messages in a row that I would like to delete (because they have been filtered or searched, etc), as below:
Message 1
Message 2
Message 3
Message 4
Message 5
Message 6
Then you can first, select Message 1 by clicking its checkbox. Then hold shift and select Message 6 by clicking its checkbox. All the messages between 1 and 6 should then also be selected.
Upvotes: 1 |
2015/06/08 | 1,177 | 4,177 | <issue_start>username_0: On my phone the app **Bluetooth Share** crashes randomly. With [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) I want to be able to detect that crash, and then force close **Bluetooth Share** and finally launch **Bluetooth Share** again. (Or turn on Bluetooth again)
>
> **PS:** I already have tasker and I am rooted on CM12.1.
>
>
>
Any help is appreciated. Thanks!<issue_comment>username_1: * Profile context App: Bluetooth Share
* Enter Task
+ A1: Stop
* Exit Task
+ A1: Bluetooth Share
Is this what you want?
Upvotes: 0 <issue_comment>username_2: Unfortunately, it's quite not possible. Tasker cannot detect an app crash.
However, we can still do something about it.
Let's first make a profile that does the killing job. It will be executed when the bluetooth goes off.
* Profile (name): BTrern
+ State (Context): BlueTooth Status [ Status:Off ] (Profile triggers when BT goes off)
+ Task: (You can give task a name)
- A1: Kill App [ App:Bluetooth Share Use Root:On ] (Click the + to add these actions)
- A2: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ] (Wait for 5 seconds)
- A3 (optional): [X] Launch App [ App:Bluetooth Share] (If you need to launch it)
- A4: Bluetooth [ Set:On ] (Turns ON blutooth)`
**Note:** If killing even with root is not working (there could be some problem with your Tasker or root), you can try the following shell command:
```
am force-stop packagename
```
E.g.:
```
am force-stop com.google.android.apps.maps
```
Or if that doesn't work:
* ```
pm disable
```
* Wait 3 seconds
* ```
pm enable
```
Now, the next question is how to turn off Bluetooth without executing the instructions noted above?
It's quite simple. Make another task.
* Profile Status: BTrern → Off
* Wait 5 seconds
* Bluetooth → Off
Name this task (like BTOFF) and make a shortcut to your home screen.
Now whenever you want to turn off your BT use this shortcut.
Let's make another task that turns on BT as well as the BTrern
* Bluetooth → ON
* Wait 5 sec
* Profile Status → BTrern : ON
Again, use the above two task shortcuts to turn BT ON or OFF.
You can also use a scene or a widget to make it even easier once you have acquired enough knowledge with Tasker..
---
OLD
---
I do not quite understand what you mean by Bluetooth share, but I would presume you mean the activity opened by Share → Bluetooth. May be a pic or two would help.
Instead of finding a way around, first try fixing it by:
* Using a Log tool like [catlog](https://play.google.com/store/apps/details?id=com.nolanlawson.logcat). (Open catlog → set it on Error, let the crash occur and then open catlog again and save the log.)
* Searching for it. You haven't provided any info about your Android model so you might have to do it yourself.
In case those doesn't work, we can use Tasker. I believe the crash will occur within few seconds of opening the activity. We can use this to our advantage.
* TRIGGER ON: (When Bluetooth Share activity opens)
+ If (Bluetooth Share activity close) AND (qtime < 5 sec)
- start (Bluetooth Share activity)
+ else (goto 1)`
Here, qtime is a local variable which stores for how many seconds the task is running. You can find that in Help section of Tasker.
Also you can use Tasker Process Running (KC) for the required process.
Second Method:
Instead of that, it's much more easier to make a **Scene** instead of that.
* Just make a small box with one button in it which will execute the activity. Keep it non - intrusive.
* Scene1:
+ Kill Bluetooth Share process
+ Start Bluetooth Share process
* TRIGGER ON: (When Bluetooth Share activity opens)
+ Create Scene1
- If (Bluetooth Share activity close)
* wait 5 seconds
* destroy scene1
With this, there will be a small overlay when you open Bluetooth Share. If it crashes you can easily execute your kill and start command. And if it doesn't crash, the scene will get automatically destroyed after 5 seconds.
May be [Bluetooth File transfer](https://play.google.com/store/apps/details?id=it.medieval.blueftp) can help.
Upvotes: 3 [selected_answer] |
2015/06/08 | 1,276 | 4,643 | <issue_start>username_0: Can I have Location services turn itself off automatically after a certain time is reached (let's say 10 minutes)? I normally leave it off save for some applications (Maps, etc) but sometimes I forget to turn it off, and it's a big battery drain.<issue_comment>username_1: That might be solved using one of the many [automation](/questions/tagged/automation "show questions tagged 'automation'") apps. I myself prefer [tasker](/questions/tagged/tasker "show questions tagged 'tasker'") here, but YMMV (and *Tasker* doesn't come for free) – [llama](/questions/tagged/llama "show questions tagged 'llama'") might be capable of the same.
What I do here is creating a profile like this:
* **Condition:** App (select the apps you want to use GPS with)
* **Task:** GPS On
* optional exit task: GPS Off
That way GPS by default is off, but automatically gets turned on whenever you launch one of the selected apps *and have them running in foreground*. It would automatically be turned off once you exit that app, or have any other app running in foreground. The "exit task" is optional as *Tasker* restores the conditions from *before* the profile became active.
For other alternative automation apps, you're also welcome to take a look at [my list here](http://android.izzysoft.de/applists/category/named/tools_automation).
Upvotes: 5 [selected_answer]<issue_comment>username_2: As username_1 said in the [answer](https://android.stackexchange.com/a/111841/96277), Tasker is a great choice but it's not free for anyone. I tried [AutomateIt](https://play.google.com/store/apps/details?id=AutomateIt.mainPackage)(Free) and it gets the job done.
**Edit:** This answer is successfully tested on Android 4.2.1, without giving root access to AutomateIt. However, on Android 4.4.2, COS12 (Android 5.0.2) and CM12.1 (Android 5.1.1, build: YOG7DAO1K6), the relevant options were not visible **until I restarted the app with root access.** This fact came to my notice through [this comment](https://android.stackexchange.com/questions/111836/any-way-to-have-location-services-turn-itself-off-after-a-time-limit/122911?noredirect=1#comment172612_122911) by jonatr.
1. Install and launch AutomateIt.
2. Go to **My Rules** → **All**, and see if you need any predefined rules. If you don't then either disable or delete by tapping each entry once and selecting the desired option.
3. Tap `+` corresponding to **My Rules** tab → **Application Status Trigger** → tap lens icon and choose your app (**Maps** here) → check **Application Activated**→ **Next** → **Enable/Disable GPS Action** → **Enable GPS** → **Next** → choose **Default** or **No** (to show or not, a toast whenever automation will be triggered) → tap floppy icon at the top to save everything.
4. Repeat steps 2-4 except that uncheck **Application activated** in step 3 this time.
Now you can open the Maps and Location will be enabled. You close the Maps and Location will be disabled. You can do more with it if you certainly want to disable Location (say 10 minutes) after minimizing the Maps.
Honestly, I'll prefer Tasker because I need fewer steps and I know it doesn't hog my battery. Check it out if AutomateIt eats the battery quite a lot.
Upvotes: 3 <issue_comment>username_3: As said, most automation apps can perform this task, [Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate) is another free alternative. Here's some user-made automations for toggling the GPS when viewing Google Maps:
<http://llamalab.com/automate/community/?q=gps+maps>
A rooted device is required, but it may be possible to workaround using UI automation.
Upvotes: 2 <issue_comment>username_2: [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid)'s free version can do it.
**Edit:** This answer is successfully tested on Android 4.2.1, without giving root access to MacroDroid. However, on Android 4.4.2, COS12 (Android 5.0.2) and CM12.1 (Android 5.1.1, build: YOG7DAO1K6), MacroDroid failed to complete the job without root access. This fact came to my notice through [this comment](https://android.stackexchange.com/users/149697/jonatr) by jonatr.
1. When creating a macro choose the trigger **Application Launched/Closed → Application Launch** → select your app.
2. Under **Add Actions**, tap **GPS Enable/Disable → GPS On**. It may say so but it doesn't need root access. See edit above.
3. Create another macro but make it for **Application Closed** and set **GPS Off** as the action.
That's it. Launch that selected app and GPS would activate automatically, close the app and GPS would deactivate.
Upvotes: 1 |
2015/06/09 | 877 | 3,226 | <issue_start>username_0: Is it possible to connect a **USB soundcard** to an Android phone, with an USB OTG cable?
[](https://i.stack.imgur.com/DG3h4.jpg)
... and then use this USB soundcards's stereo input as audio when making a video with the phone?<issue_comment>username_1: No. Android doesn't support drivers for these types of devices. Its support for external devices is pretty limited to simple input devices, such as keyboards and mice, and storage devices, along with occasional special peripherals that your individual app would be designed to use. A PC sound card is way outside of its functionality.
Upvotes: -1 <issue_comment>username_2: Android DOES support USB sound cards over android 5.0, or, if you have a sony, the Z series (Z2 and up), they support it since 4.4. I use my phone with a cheap chinese device, but tried a Xonar U3, and a creative Play!.
However I never tried the audio recording through these cards.
Upvotes: 2 <issue_comment>username_3: I haven't tried it yet but extreamsd's [USB Audio Recorder PRO](http://www.extreamsd.com/index.php/products/usb-audio-recorder-pro) seems to do what you want. There is a demo version.
Upvotes: 1 <issue_comment>username_4: I use a Cambridge Audio DAC Magic XS with my Nexus 5 running Marshmallow and it works fine. I have also tried a Behringer 8 channel desk that has usb audio interface, and it seems to work as well.
Upvotes: 2 <issue_comment>username_5: Yes it is possible.
I'm doing this with several devices for amateur radio and video production with KineMaster Pro.
For amateur radio, I use the DigiMaster MiniProSC connected via OTG cable to a Nexus 9 via OTG cable. I also do this with SignaLink usb connected the same way. Both of these devices have internal usb sound cards with audio in, audio out, and usb connection between android tablet and the radio.
For YouTube videos, I use KineMaster Pro with Zoom H2 and H4 as external microphone or line in. Both connected via USB to the Nexus 9, and both work perfectly!
I know this is an old thread, but when I saw the answer from the guy who says it doesn't work, I wanted to correct this out-of-date information, letting everyone who makes there way here via Google search of the correct answer!
Btw, it also works on Samsung galaxy s4 i9506. I've tested on Android 5, 6 and 7 successfully.
Thanks
Upvotes: 4 <issue_comment>username_6: working with zoom h6 + samsung A6 + opencamera app .
im getting some micro click from time to time though. gonna try with with other app and power the zoom externally.
Upvotes: 0 <issue_comment>username_7: Yes, it is (mostly) possible.
1. You need to be **connected via USB OTG** (which you are) that your phone acts as a host and not as a peripheral device
2. The **audio interface** / sound card **must be [*class compliant*](https://en.m.wikipedia.org/wiki/Class_driver)** (see also [here](https://m-audio.com/kb/article/1706))
Many (including **some** interfaces from RME, Focusrite, Behringer, M-Audio, ...) but not all audio interfaces are class compliant.
Many phones nowadays don't come with a headphone jack. Those USB adapters or USB headphones are in turn a small sound card.
Upvotes: 2 |
2015/06/09 | 641 | 2,353 | <issue_start>username_0: Can I ssh into a `linux Server` from my android device.?<issue_comment>username_1: Yes, you can. There are plenty solutions, just look for SSH client on app market or on [F-Droid](http://f-droid.org).
Upvotes: 0 <issue_comment>username_2: Yes, you can access a Linux server using SSH protocol from your Android device. You'll need an app or SSH binary to do this. My Lollipop seems to have in-built SSH so I can always use it using ADB or through [Terminal Emulator](https://play.google.com/store/apps/details?id=jackpal.androidterm). The default usage parameters are same as in the desktop. You can see more parameters by typing `ssh` if your device has the binary.
If you don't seem to have one, then no worries. You can use an app like [JuiceSSH](https://play.google.com/store/apps/details?id=com.sonelli.juicessh) or [Serverauditor](https://play.google.com/store/apps/details?id=com.server.auditor.ssh.client) or [Terminal IDE](https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside). I've covered first two apps in [this answer](https://android.stackexchange.com/a/111109/96277) and the interface makes it straightforward to use (if you're aware of SSH on Linux). Good Luck!
Upvotes: 1 <issue_comment>username_3: Yes you can, the simplest option is to get a 3rd party app and use that.
However if you want to do it from a terminal-type interface "natively" then it is not always quite so simple.
You will first need an app like Terminal Emulator. Some custom ROMs include the ssh binaries so you can just type `ssh youruser@yourserver` and all will be fine. If your ROM does not have ssh then it is a lot more complex, and you will need a rooted device.
You might be able to find a `dropbear-ssh` compiled binary for your device or a similar device - however the dropbear binary I found seemed to be lacking certain newer encryption protocols and I could not log into some ssh servers without changing server-side settings. SSH-keygen was also not provided as far as I could tell.
The next alternative is to find compiled binaries for your android version and then copy the binaries (`ssh` and `ssh-keygen`) into `/system/xbin` and the library file (`libssh.so`) into `/system/lib` and change the permissions.
In my case I managed to find and use a 4.3 compiled binary in a 4.4.4 device.
Upvotes: 0 |
2015/06/09 | 749 | 2,523 | <issue_start>username_0: Under my normal daily use, my phone would have around 50~40% battery power left before I go to sleep. I don't want to keep my phone plugged in to charge over night, but I do want it to be at 100% when I wake up. Is there a way to disable charging while it is plugged in, and re-enable at a scheduled time? i.e. one hour prior to I wake up.
Nexus 6 32GB rooted currently running CHROMA, using Motorola Turbo Charger.<issue_comment>username_1: Why don't you want to keep the phone plugged in overnight? Per [Is it better to detach a charger when my Android device gets fully charged?](https://android.stackexchange.com/a/51408/112477), it sounds like sitting at 100% on the charger for ~6 hours is not considered harmful to the lithium-ion battery in your device.
That said, you can purchase a [light timer](https://www.google.com/?gws_rd=ssl#safe=off&tbs=vw:l,mr:1,price:1,ppr_max:20&tbm=shop&q=light+timer) for under $20, set it to only turn on for an hour or two in the morning, and plug your charger into it at night.
But actually, if your phone drains by over 50% during the day, this is probably not the ideal solution, because allowing the battery to drain further overnight until the timer kicks on means that it will discharge even more deeply than it currently does, which will wear down the battery's capacity far more quickly over time than being at 100% charge for 6 hours per day will.
So an optimum cycle might be to charge it to 100% in the afternoon, when it's only down to, say, 70% charge, instead of waiting for bedtime; and *then* put it on the timer as described above when you go to bed. Just be sure to give it a full discharge occasionally (once every 2-4 weeks sounds about right based on your usage).
Upvotes: 3 [selected_answer]<issue_comment>username_2: Try downloading some smart charging apps mentioned below:
* [DU Battery Saver丨Power Doctor](http://www.9apps.com/android-apps/dianxinos-dxbs/)
* [CM Battery](https://play.google.com/store/apps/details?id=com.cleanmaster.battery)
* [Battery Doctor (Battery Saver)](https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en)
If you want to know what smart charging is, please visit [this website](http://www.batterystuff.com/blog/3-stages-of-smart-chargers.html).
Why should I download these apps?
Well basically the trickle charging is the most important part of these apps, when you wake up your phone would still be going from 99-100%, 99-100% without overheating your phone.
Upvotes: 0 |
2015/06/09 | 857 | 2,952 | <issue_start>username_0: I was on Android 4.4.4 KitKat and I made a nandroid backup. Now I'm on 5.0 Lollipop and I'm wondering, do I have to reinstall everything and go through the setup process again, or can I just use my 4.4.4 nandroid on my current 5.0 OS to get all my apps and stuff back?
I'm already rooted. I still have my recovery. I just need to know if I can restore an older backup to a newer OS or will it just revert me entirely back to 4.4.4.<issue_comment>username_1: As usually warned during the nandroid backup process, you can only be sure of a successful restore of a nandroid backup to an IDENTICAL system, straight down to exact ROM version, as that's exactly what you're restoring: the entire ROM. Anything else ranges from ill-advised, because it will wipe out whatever ROM you're on, to guaranteed failure if the partition sizes differ (which, if I'm not mistaken, they do between 4.4 and 5.0). The normally-recommended process for hopping through ROMs is to use something like Titanium Backup to backup each of your apps that you care about individually, then restore them when you're on the new system. Still, FireLord's answer provides a more complete path using alternate methods.
Upvotes: -1 <issue_comment>username_2: >
> [Can I just use my 4.4.4 Nandroid on my current 5.0 OS to get all my apps and stuff back?]
>
>
>
Take a look at [Nandroid Browser](https://play.google.com/store/apps/details?id=com.h3r3t1c.bkrestore):
>
> With Nandroid Manager you can **restore data** from your nandroid **such as apps+data, text messages, call logs**, and much more.
>
>
> ...
>
>
> Nandroid Manager currently **supports nandroid backups created by TWRP and Clockworkmod (v5.xx and v6.xx) based recoveries.**
>
>
>
If your backup meets the above criteria then go ahead (irrespective of 5.0 or 4.4) and use it to extract relevant data.
>
> I just need to know if I can restore an older backup to a newer [OS] or will it just revert me entirely back to 4.4.4[?]
>
>
>
It depends upon what content you want to restore. If you choose to restore only `Data` then there could be some minor issues of app crashing or related stuff, but your OS won't revert back to 4.4.x. You still need to restore `System`, `Boot`, (possibly some other partitions too) to revert back to previous state.
Honestly, if the goal is to get the data, then I'll prefer **Nandroid Browser**. Else, I'll first take complete backup of my 5.0, then restore the `Data` of 4.4 on 5.0 to see whether everything runs smoothly.
Remember, do it in steps, if you choose to. It is possible that your Nandroid backup has some partitions whose size were changed during 5.0 update. Reverting haphazardly to 4.4 may lead to severe consequences. (e.g.: [Yureka device hard-bricked when downgrading to Kitkat.](https://android.stackexchange.com/questions/106546/downgrading-from-lollipop-64-bit-to-kitkat-32-bit-hard-bricked-micromax-yureka-d))
Upvotes: 2 |
2015/06/10 | 585 | 2,194 | <issue_start>username_0: Using Micromax Unite 2 A106, updated to latest version of lollipop, after finalization and restarting my phone is not able to detect any SIM/network. Also no display of selection of Mobile network is displayed in the Settings.
If I try to dial any number the msg "Please close the airplane mode" is displayed. I tried reverting back to old version, removing the battery for 5-10 min, replaced another SIM network, but no change in the problem<issue_comment>username_1: If the Plane symbol(**✈**) is displayed in you notification you have your airplane mode turned on. This wont allow outgoing/incoming calls and displays a message to first turn off the airplane mode to make calls.
Goto `Settings -> More -> Airplane Mode -> Toggle off`.
Or Simply open your notification by swiping from the top of the phone screen and tap the Airplane mode and now you will be able to make calls.
[](https://i.stack.imgur.com/NONvW.jpg)
Also if you have any auto-airplane mode apps installed please disable it. If nothing works atlast you need to [flash stock ROM firmware your Micromax Unite A106](http://www.androidrootguide.com/2015/04/how-to-flash-stock-rom-firmware-on-micromax-unite-2-a106.html) or claim warranty and replace your device. [Related](https://code.google.com/p/android/issues/detail?id=79807#c3)
Upvotes: 0 <issue_comment>username_2: me and my sis using this phone for almost 10 months...
First my sis upgraded her phone by downloading the official fota upgrade file from her phone and installed it. She also got same network issue.
Then I went to nearest service center and ask them about that issue and they had told me not to install by your own because it will delete the IMEI registration.
Then i had upgraded mine and my sister's phone to lollipop 5.0 in nearest service center.
Hope your problem will be resolved soon...
Upvotes: 1 <issue_comment>username_3: This happens because your IMEI number got wiped. There are many tools online that can help you restore your original IMEI number.
As this phone has a Mediatek chipset, it shouldn't be hard to do that by your own.
Upvotes: 0 |
2015/06/10 | 200 | 841 | <issue_start>username_0: I've been using Samsung Tab and the USB cable is not usable. I've been seeing answers like backing up my messages to my SD card from my old phone and insert it to my new phone, but the problem is my new phone ( Samsung Alpha ) doesn't have the SD card slot. So is there any other way to transfer my Whatsapp messages without the use of USB cable and SD card?<issue_comment>username_1: You should upload the `Whatsapp` folder (to google drive, etc.) on your old device and download it again on your new device. Then copy the directory to `/sdcard`.
Hope I helped you!
Upvotes: 1 <issue_comment>username_2: You can upload Your messages and media to GOOGLE DRIVE via the backup option in the Whatsapp application. You can download all those messages once logged in to google and whatsapp in your new phone.
Upvotes: 0 |
2015/06/10 | 191 | 782 | <issue_start>username_0: I have just tried [this adblocker](https://adblockplus.org/android-install) app for Android, and it does seem to be working quite effectively, I tried it with some popular apps like Angry Birds and Cut the Rope.
Does anyone know how it works? I tought Android processes can't mess with one another?<issue_comment>username_1: You should upload the `Whatsapp` folder (to google drive, etc.) on your old device and download it again on your new device. Then copy the directory to `/sdcard`.
Hope I helped you!
Upvotes: 1 <issue_comment>username_2: You can upload Your messages and media to GOOGLE DRIVE via the backup option in the Whatsapp application. You can download all those messages once logged in to google and whatsapp in your new phone.
Upvotes: 0 |
2015/06/10 | 1,341 | 4,811 | <issue_start>username_0: I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android.
How do I turn on USB Debugging through Recovery mode, or Fastboot?<issue_comment>username_1: Details for that can be found in our [usb-debugging tag-wiki](https://android.stackexchange.com/tags/usb-debugging/info) (where I've just added them):
>
> By default, *USB debugging* is disabled with stock ROMs (some custom ROMs however have it enabled by default). To toggle it on or off, you can find the corresponding switch in *Settings › Development* – a section originally hidden with Android 4.2 and up. You can make this section visible by going to *Settings › About device* and "hammering" the entry telling your ROM's build version until a toast-message congratulates you for having become a developer.
>
>
>
If your issue is however that you cannot boot up your device normally, and thus cannot reach the settings section described above, please take a look at the following questions:
* [How to backup broken screen phone when USB debugging IS NOT enabled?](https://android.stackexchange.com/q/67352/16575)
* [Broken screen while debug mode was disabled. How can I re-enable adb?](https://android.stackexchange.com/q/12834/16575)
Upvotes: 4 [selected_answer]<issue_comment>username_2: Based on OP's clarification done in the comments below username_1's [answer](https://android.stackexchange.com/a/112054/96277), I propose the following solution if one's device is locked out and ADB is not enabled under **Settings**.
**Note** that this method is tested on Stock Android 4.2.1 and Stock CM 12.0 (Android 5.0) , both devices having custom Recovery (ADB always enabled as default) . If your Stock Recovery allows ADB shell access then you may also consider this solution.
Instructions
------------
1. You should try your pattern-cracking software (or whatsoever the genre it has) from inside the Stock Recovery to see whether it works with the former's environment (ADB shell available there or not).
2. Since I would never try **step 1.**, I would do the following:
### For Jellybean 4.2.1:
1. Boot into Recovery and mount **Data** partition.
2. Open a shell on PC and type:
```
adb pull /data/property/persist.sys.usb.config ~/
```
Repace `~/` with home directory of your OS.
3. Open that file in a text editor and you would possibly see `mtp` written there. Change it to `mtp,adb`.
Note that sometimes Android doesn't understand the text file changes if the line terminator is "DOS Terminators" which Notepad would probably do on Windows (mine is Linux so no issue here).
In that case, I would suggest not using `adb pull` but doing:
```
adb shell
echo 'mtp,adb' > /data/property/persist.sys.usb.config
```
You may verify that the `echo` command overwrote the file by using:
```
adb pull /data/property/persist.sys.usb.config ~/
```
and seeing the file's content in some text editor.
4. Unmount `Data` and reboot into Android OS. USB Debugging would probably be enabled.### For Lollipop 5.0:
JB 4.2.1 users can also follow this method if the previous one didn't work for them.
1. Boot into Recovery and mount **Data** partition.
2. Repeat **step 2** and **3** used in JB 4.2.1 method.
3. We need to tweak some parameters in `settings.db`. Type:
```
adb pull /data/data/com.android.providers.settings/databases/settings.db ~/
```
4. Back it up at some other location too, and open the file in an SQLITE editor. I'm running Linux and [DB Browser for SQLite](http://sqlitebrowser.org/) works well. It's also available for Windows OS/OSX.
5. In the `global` table, change the value for:
* `adb_enabled` to `1`
* `development_settings_enabled` to `1`
6. Check that `verifier_verify_adb_installs` is set to `1` in the `global` table.
7. Check that as default, in the `secure` table:
* `adb_notify` is `1`
* `adb_port` is `-1`These checks in **step 6** and **7** are not necessary but should be done so that troubleshooting becomes rather easy if the solution doesn't work for you.
8. Save the changes in `settings.db` and copy it back into Android by typing:
```
adb shell
rm /data/data/com.android.providers.settings/databases/settings.db
exit
adb push ~/settings.db /data/data/com.android.providers.settings/databases/
```
That delete (`rm`) command is not necessary since `adb push` should overwrite the file, but I executed it for my peace of mind.
9. Unmount `Data` and reboot into Android OS. ADB probably would be enabled.
This is how it actually worked out when tested on my devices.
**Source:** Not really a source but got a hint from a comment under this [answer](https://stackoverflow.com/a/13332721).
Upvotes: 3 |
2015/06/10 | 613 | 2,273 | <issue_start>username_0: I have 3 Android devices at home: Nexus 4 Android 5.1.1, Nexus 5 Android 5.1.1 and Lenovo Yoga 2 Android 4.4.2, all connected to my WiFi. The Nexus devices simply cannot receive Push Notifications (Gmail, Hangouts...GCM?) while the Yoga tablet can. On mobile data both Nexus devices can receive push notifications. If I connect them to my workplace WiFi everything is fine.
All devices have all the apps up to date. I've tried resetting the Nexus 5 to the factory defaults but it doesn't help. I've tried restarting the phones a couple of times but still no luck. The router is an ASUS AC68U, latest Merlin, on a 1Gbps internet connection. The only things that changed in my environment in the past 2 weeks are: 5.1.1 update and I moved to 1Gbps internet.
Is this related to the new Play Services Update? Or Android 5.1.1? Can I somehow look deeper into this? Logcat? Any help is appreciated.<issue_comment>username_1: It looks like GCM Push Notifications don't work with IPv6. I disabled IPv6 entirely in my router and now everything is fine. Though IPv6 was enabled for the past two years and I didn't have any kind of issue. Let's hope a Play Services update fixes it.
Upvotes: 4 [selected_answer]<issue_comment>username_2: The problem seems to be Android Lollipop, at least on 5.1 and later. I have 3 phones, a Moto X Google Play Edition (GPE), a Galaxy S2 and a Moto G 2nd Gen.
Moto X GPE and S2 run on Android 5.1.1 (the latter thanks to CyanogenMod) and suffer from the problem you describe. The Moto G on the other hand runs Android 5.0.1 and doesn't have that issue.
All the Push-Fixer apps on the Play Store don't do the trick for 5.1 devices that suffer from that. I'll try disabling IPv6 as suggested, but unfortunately the ISP-provided router doesn't let me turn off IPv6.
Upvotes: 1 <issue_comment>username_3: I was able to fix my issues at home by letting the router choose the channel automatically to avoid congestion. Almost immediately things began to ring and chime. I was previously getting the described scenario of dozens of notifications as soon as I left the proximity of my apartment.
Upvotes: 0 <issue_comment>username_4: Open port 5228 on your router. It's Googles like outbound wifi port. Worked for me.
Upvotes: 1 |
2015/06/10 | 534 | 1,842 | <issue_start>username_0: I was trying to install [NightOwl cm12.1 Android 5.1.1 Beta 5 build for my Galaxy Note 1 N7000](http://forum.xda-developers.com/galaxy-note/development/rom-t2938649). I followed all the installation instruction on that ROM's thread. [I flashed philz CWM 5.15.0](http://forum.xda-developers.com/showpost.php?p=61030901&postcount=4086). And now I'm stuck at step 4 after flashing the new kernel (6.48.4) to get updated CWM recovery. Now, my phone is unbootable stuck in the n7000 screen. If I wait just a little longer, the phone would just turned off. The installation guide says that I could still enter recovery mode by pressing "home" and "volume+" and "power" buttons. But unfortunately, my hardware home button is broken.
I read somewhere that we could still enter recovery/download mode via ADB. I've tried it with no luck. It can't find the device (since it won't turned on). Is there any other way for me to at least enter download mode to reflash it back to the original stock rom via odin?<issue_comment>username_1: Samsung devices can usually be forced into download mode using a [JIG](http://www.xda-developers.com/android/need-a-samsung-usb-jig-build-your-own/). They are pretty simple and cheap to make. If your device has been soft-bricked this will almost always work.
<http://www.xda-developers.com/need-a-samsung-usb-jig-build-your-own/>
Upvotes: 3 [selected_answer]<issue_comment>username_2: Jig or ADB. Not sure if ADB would work though, if you can't hardly turn on the device. I would consider trying it first, because it's easy and you have nothing but some time to lose, but I'll bet you'll end up using a jig (can be made or bought).
Upvotes: 1 <issue_comment>username_3: Use ADB, there is a command on there to reboot your phone to Odin/download mode, it's `adb reboot download`.
Upvotes: 2 |
2015/06/10 | 554 | 2,330 | <issue_start>username_0: I have not found anywhere in Google Photos to "**hide**" and album, collection, or specific photo from view under any given context. *Is there a setting or workaround that will allow a user to select specific photos or albums from being in the main view when viewing photos in either the album view or timeline view?*
**Use case**: If one backs up every photo taken to Google Photos, it would be helpful to have "hidden" folders or photos that are only visible when selecting to view those photos or collections/albums, or various contextual "profiles" to view photos as, such as "Personal," "Business," or "Show All." That way, depending on the context of why the user is viewing the photos, one could see all photos that apply to that given context.
There was a lot of emphasis on "contextual learning" at Google I/O 2015, and this is one obvious way that it would seem Google Photos would work under that philosophy, so it may be that I just haven't found the setting yet.<issue_comment>username_1: I have seen no indication anywhere, from every setting within the site or app to deep searches, that indicates any such feature exists. The last mention of it I see dates back to Picasa. It seems the feature died there.
I personally have entirely separate Google accounts for different needs, and I keep my photos in those locations that don't belong in my general collection. Not optimal, but the only solution I've found.
Upvotes: 1 <issue_comment>username_2: 2 options using the android app X-plore File Manager (amazing file manager)
1. You have to put the files in a zip file
Select everything you want hidden and tap and hold > pop up menu > "create zip"
You can still browse what is in the zip like its a folder in X-plore File Manager
You can then add new photos or video to the zip by simply copying to the zip
2. Make the folder your media is in "Hidden"
* The names of videos might show up but the will not be playable
Add a dot to your folder name. example "Media" become ".Media"
Add a text file name ".nomedia" (no extension)
In X-plore File Manager top right click the three dots > Configuration > Show Hidden Files
Upvotes: 0 <issue_comment>username_3: No, you could however use a Photo Vault app from the Play Store to hide images, using a password of your choice.
Upvotes: 0 |
2015/06/11 | 254 | 963 | <issue_start>username_0: I need to download offline map packages that users download from OsmAnd Map application.
Where can I find those packages on phone? or how can I download it online on PC? Similar to how it was answered for Maps.me application here: [Download MAPS.ME (MapsWithMe) offline map from PC?](https://android.stackexchange.com/questions/81692/download-maps-me-offline-map-from-pc).<issue_comment>username_1: Yes absolutely possible. It took me sometime to figure this out though. I found the page about how-to add maps manually to OsmAnd maps on Google Docs. There is some tutorial about this thing. Just head over to [OsmAnd Maps Download via PC](https://code.google.com/p/osmand/wiki/HowToDownloadData).
Upvotes: 1 <issue_comment>username_2: Country maps can be downloaded [here](http://download.osmand.net/rawindexes/), and Overlay maps of antique/historical cities can be downloaded [here](http://www.geotiek.nl).
Upvotes: 3 [selected_answer] |
2015/06/11 | 267 | 967 | <issue_start>username_0: In Cyanogenmod 12, how do you unlock based on your face? I went to "smart lock" and trained facial recognition. Now I go back to the Screen lock and there is still no option to unlock with the face.
[](https://i.stack.imgur.com/j0nRp.png)
Screenshot - No face unlock option(Click to enlarge image)<issue_comment>username_1: Yes absolutely possible. It took me sometime to figure this out though. I found the page about how-to add maps manually to OsmAnd maps on Google Docs. There is some tutorial about this thing. Just head over to [OsmAnd Maps Download via PC](https://code.google.com/p/osmand/wiki/HowToDownloadData).
Upvotes: 1 <issue_comment>username_2: Country maps can be downloaded [here](http://download.osmand.net/rawindexes/), and Overlay maps of antique/historical cities can be downloaded [here](http://www.geotiek.nl).
Upvotes: 3 [selected_answer] |
2015/06/11 | 507 | 1,714 | <issue_start>username_0: I had cm-11-20150517-NIGHTLY working, then upgraded to cm-11-20150607-NIGHTLY. Now I get the error "No service" and have basically no GSM functionality whatsoever.
If I attempt to select a network operator, I get the error: "Error while searching for networks."
I installed this using TWRP, there were no issues with the install. Automatic upgrade failed, I believe this is due to an encrypted file system, something which TWRP does not handle.
What I have tried:
Rebooting by itself.
Removing the USB cable and rebooting (apparently this was a known issue before).
Reverting to cm-11-20150517-NIGHTLY, this does nothing, same problem.
Resetting APNs to default.
Device: GT-N7100,
CyanogenMod version: 11-20150517-NIGHTLY-n7100,
Android version: 4.4.4<issue_comment>username_1: Solution was to restore a backup of /efs and write a backup of the modem firmware to /dev/block/mmcblk0p10, this device file may be different on a different deivce though. But on my N7100 it worked.
Upvotes: 1 <issue_comment>username_2: I finally got a solution to "no service " after installing cyanogenmod 7 on HTC incredible 2. the ans is simple and est and does not have anything to do with flashing radios, reinstalling rom. simply turn the phone of and remove ye battery to take out yr sim card and switch it bak on without the sim. in it. after it has finished rebooting,
make sure the network bars are appearing even without any signal. I e, an x sign on the bars and dat. also airplane mode is off. now go to mobile network settings and choose cdma/GSM (auto) and not the preferred one. now of phone and put bak. sim in and tadaaa, yr. phone will have de most amazing. connection!
Upvotes: -1 |
2015/06/11 | 760 | 3,279 | <issue_start>username_0: I have a Moto X 2nd Gen running Android 5.0. All of sudden, my contacts have become very screwed up. Here are the symptoms I'm seeing
* names of my contacts seem to have been randomly swapped. Person A and Person B swapped names so the contact details don't match
* in addition to swapping names, I have a contact which contains information from 3 ppl (!!!) and none of them belong to the name.
I signed out of my Google account and back in and it seemed to have fixed it for some contacts, but the rest are still screwed up. On `contacts.google.com`, my contacts still look fine. What's wrong and how can I fix this?<issue_comment>username_1: First go the <https://contacts.google.com> and remove duplicates under the option Find duplicates. This will remove any duplicates and you can merge them to make it
Since Google contacts preview(`contacts.google.com`) doesn't support export feature as of now, you have to visit <https://www.google.com/contacts> and take a .vcf export to your computer and transfer it to you mobile and import it in you Contacts app and select the exported .vcf file.
Haven't tried myself but since you said its fine in the contacts.google.com it should hopefully work.
Upvotes: 1 <issue_comment>username_2: The same thing happened to me over a year ago. My contacts are still messed up because I noticed the problem only over a month after it had happened and I had also done enough changes on both my phone and Google web that I didn't dare trying a roll back to a backup that I had taken myself. So, I've just lived with it and cleaned up the contacts as I've run into messy ones sometimes manually looking at my manual Google Contacts exports.
I would suggest to simply wipe out your phone contacts and have pull the contacts from Google online since you are saying that they look fine there. You can wipe out your phone/device contacts e.g. via Android **Settings → Application Manager**.
Then it depends a bit on your Android version but on my phone (Galaxy S5) I need to go over to **All** (applications) tab and then find **Contacts, Contacts Storage** and **Google Contacts Sync** and if I wanted to clear my contacts I would clear both data (by tapping **Clear data**) and cache (by tapping **Clear cache**) of all of the above-noted three applications.
As said, the apps that store your contacts data and information about sync status depend on your device so just clear all contacts related data and then re-sync the Google account in question via **Settings → Accounts**.
Now, even if the changes have been pushed over to Google by now you can roll back your online contacts with the rather powerful rollback feature of Google Contacts. It should be noted that the rollback is available for any moment in time within the past 30 days (and no longer!). So, if you spot the issue within a month of when it happened you can roll back easily.
You can find / do this through <https://contacts.google.com/> → Left side menu bar → Undo changes
If you need to roll back what I would do is first disable the contacts sync from Android **Settings → Accounts** (for the Google account in question). Then roll back the Google online contacts and then re-enable the account causing the sync to happen.
Upvotes: 3 |
2015/06/12 | 1,364 | 4,571 | <issue_start>username_0: My phone doesn't support removable SD card.
* When I open [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup&hl=en) app on my rooted Oneplus One (CM12), I see (at the bottom) in the **Overview** few specs including **System ROM** usage and **Internal+Media** which says `58.9GB (10.7 GB free)`.
* In [ES File Explorer](https://play.google.com/store/apps/details?id=com.estrongs.android.pop) I see similar free space.
* In [DiskInfo](https://play.google.com/store/apps/details?id=me.kuder.diskinfo), I see under **Data**:
+ `Used: 45.8 GB`,
+ `Free: 10 GB`,
+ `Mount point: /data`,
+ `Filesystem: ext4`,
+ `Partition name: userdata`,
+ `Partition nickname: Data`, among other things
* [Diskusage](https://play.google.com/store/apps/details?id=com.google.android.diskusage) went further and showed under **Storage card**:
+ `Media: 42966 MiB`
+ `Apps: 3001 MiB`
+ `Free space: 10262 MiB`
* **Settings -> Storage** says that total space is `54.92GB` and Available is `10.02GB`.
All of the above info makes me conclude that my apps and app data, and other personal files are all stored in one single partition named **Data** at `/data`.
But `mount` says that:
```
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noatime,nodiratime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
```
I also saw this `emulated` term under `/storage` and it seems related.
**Question**: I mentioned all of the said info because I don't understand, if my Media (personal files) is under `/data` then why Recovery doesn't wipes it as default unless I explicitly choose `/data/media` to do so. In case of fastboot, I can delete all apps+media using `fastboot erase userdata`, but why Recovery and Android treats it as different?
More so, how does Recovery even wipes it then?
Also, what was `/dev/fuse` in `mount`'s output and if they all are one single partition then why I cannot go up level beyond what is shown as home directory or Internal SD card or `0`.<issue_comment>username_1: Answer to your question "More so, how does Recovery even wipes it then?"
/data/media is just a link
Wiping /data is for if you install a new rom etc and if you would also wipe /data/media, there might be rom install zip-s, so it's either because of link or security
Upvotes: 0 <issue_comment>username_2: Well this sdcard thingy is kind of tricky for the OPO. For me it seems like the device does not have an sdcard at all(not even an internal). Which would mean that the free space you see is actually an emulated internal sdcard taken from your device flash memory.
For emulating an sdcard a FUSE daemon is used where also your /dev/fuse device comes into play. This is probably the raw presentation of your flash memory made accessable via your kernel. Which is then mounted to /mnt/shell/emulated.
Additional Info about FUSE: <http://en.wikipedia.org/wiki/Filesystem_in_Userspace#Virtual_file_system>.
To back my assumptions about the emulated internal storage see the storage configuration file for the OPO:
<https://github.com/evolve-bacon/android_device_oneplus_bacon/blob/lollipop-5.1/overlay/frameworks/base/core/res/res/xml/storage_list.xml>
Now to your question why your /data/media directory is not wiped while doing a factory reset:
This is just a nice feature when there is no physical external sdcard(or even internal) present. So that you don't loose your important userdata like downloads pictures etc with a data wipe.
What Cyanogenmod did here was declaring an external sdcard on your emulated internal sdcard which resides in /data/media.
For full understanding see: <https://github.com/TheOldUnas/Bacon-Lollipop-Boot/blob/master/boot/ramdisk/init.bacon.rc>
Especially the declaration of: `export EXTERNAL_STORAGE /storage/emulated/legacy` and the FUSE daemon for /data/media: `service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated`
For final understanding compare on youe device the output between `ls -l /data/media/0` and `ls -l /storage/emulated/legacy` and finally `ls -l /sdcard`. It is all the same as it is your from emulation, emulated external sdcard :D
For your comparsion between fastboot erase and data wipe through android/recovery. Fastboot is part of the bootloader and does not know about all this emulation mess so it will completely wipe data.
Upvotes: 2 [selected_answer] |
2015/06/12 | 828 | 2,953 | <issue_start>username_0: I've googled a lot on the issue and came up with many dead ends.
Basically a few hours ago my phone hit 0% and died, and when I got home and plugged it in it throws me a 'storage space running out' message and is EXTREMELY laggy for the first few minutes after booting.
I've tried deleting /data/log as one post suggested, however that folder does not exist.
Here are screenshots of my storage + the error.
<https://goo.gl/VPeMn7>
Any ideas/advice/suggestions?
My device is a LG G3 (AT&T)
Running Android 5.1.1,
Paranoid Android 5.1
777 Kernal<issue_comment>username_1: Answer to your question "More so, how does Recovery even wipes it then?"
/data/media is just a link
Wiping /data is for if you install a new rom etc and if you would also wipe /data/media, there might be rom install zip-s, so it's either because of link or security
Upvotes: 0 <issue_comment>username_2: Well this sdcard thingy is kind of tricky for the OPO. For me it seems like the device does not have an sdcard at all(not even an internal). Which would mean that the free space you see is actually an emulated internal sdcard taken from your device flash memory.
For emulating an sdcard a FUSE daemon is used where also your /dev/fuse device comes into play. This is probably the raw presentation of your flash memory made accessable via your kernel. Which is then mounted to /mnt/shell/emulated.
Additional Info about FUSE: <http://en.wikipedia.org/wiki/Filesystem_in_Userspace#Virtual_file_system>.
To back my assumptions about the emulated internal storage see the storage configuration file for the OPO:
<https://github.com/evolve-bacon/android_device_oneplus_bacon/blob/lollipop-5.1/overlay/frameworks/base/core/res/res/xml/storage_list.xml>
Now to your question why your /data/media directory is not wiped while doing a factory reset:
This is just a nice feature when there is no physical external sdcard(or even internal) present. So that you don't loose your important userdata like downloads pictures etc with a data wipe.
What Cyanogenmod did here was declaring an external sdcard on your emulated internal sdcard which resides in /data/media.
For full understanding see: <https://github.com/TheOldUnas/Bacon-Lollipop-Boot/blob/master/boot/ramdisk/init.bacon.rc>
Especially the declaration of: `export EXTERNAL_STORAGE /storage/emulated/legacy` and the FUSE daemon for /data/media: `service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated`
For final understanding compare on youe device the output between `ls -l /data/media/0` and `ls -l /storage/emulated/legacy` and finally `ls -l /sdcard`. It is all the same as it is your from emulation, emulated external sdcard :D
For your comparsion between fastboot erase and data wipe through android/recovery. Fastboot is part of the bootloader and does not know about all this emulation mess so it will completely wipe data.
Upvotes: 2 [selected_answer] |
2015/06/12 | 483 | 1,924 | <issue_start>username_0: When I open play games it says "this app requires the latest version of Google play games app" but I already updated it's latest version.I cleared data,uninstalled to it's factory version and again updated it but nothing is happening.still facing this problem, I need it's solutions real fast.I can't safe my game progress.so please make a solution for it.<issue_comment>username_1: I think that the problem is Google Play Services it's not on the lastest version. Search it on Google Play, install it, and open again Google Play Games. If not, restart your phone after installing Google Play Services
Upvotes: 0 <issue_comment>username_2: Your Google Play Service App might be outdated.. You just need to update your app..
Goto google play or play store
Search for google play service
And click on update..
And you are done
Good luck
Upvotes: 1 <issue_comment>username_3: What you can do is go to the `Google Play Store` >> `My apps` tab and see if there are any updates available manually. You can also do so by typing in the specific app and seeing if there's an `Update` option along side `Uninstall`. As I see, the last update was made on June 11, 2015, which was yesterday, if you're in New York like me. You should try updating again if you didn't since June 11.
If you check and you are updated, you probably have to update [Google Play Services](https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en) here, which was updated on the 4th of June, 2015.
If neither of these methods work, it means Google needs to release another fixed update.
Upvotes: 2 <issue_comment>username_4: This is the best solution!
GO to settings --> APPS--> GOOGLE PLAY SERVICES --> UNINSTALL UPDATE
You will be prompt with error on maps etc...click on that or go to play store and look for GOOGLE PLAY SERVICES and click update..
Thats it! I think google should hire me...
Upvotes: 0 |
2015/06/12 | 582 | 2,233 | <issue_start>username_0: I just got a new Samsung Galaxy S5 and had it activated on my carrier. I opened the Play Store and entered my gmail and password. Next it says:
>
> 2-Step Verification
>
>
> Verifying your phone automatically via text message
>
>
> This may take a few minutes...
>
>
> Having trouble?
>
>
>
Within seconds I received the 2-step verification SMS text message, but the app does not seem to be responding to it. A simple bar animation shows that it's still waiting.
I tried following the "Having trouble?" link but the only option there is to resend the message. I've tried that a few times and received the verification code again, but it still would not continue.
The 2-step verification process worked fine on my previous phone (S3), but I used to enter the code manually.
The phone is running Android 5.0. This problem occurs whether I'm on WiFi or Network.
Any advice would be much appreciated!<issue_comment>username_1: I found a partial solution to my question:
I was unable to use the 2-step verification using SMS message. I went to my google account settings and changed to Voice Call instead of SMS
Instructions:
1. Go to <https://myaccount.google.com/> (make sure it's logged in to your desired account)
2. Select "Sign-in and security"
3. Edit the 2-Step Verification (pencil symbol)
4. Click on "Text message" in "Codes sent via: Text message"
5. Change to "Voice Call"
6. Save
Then try signing in to the app again. This time it'll ask for you to enter the code manually which should arrive after a few seconds (or minutes) via a phone call. You can then change the settings back to "Text message (SMS)" if you like.
Hope this helps others.
Upvotes: 2 <issue_comment>username_2: I had the same issue on my Galaxy S5. I had a different messaging app as my default. When I reverted my default back to the stock messaging app, it was able to automatically verify via text.
Upvotes: 1 <issue_comment>username_3: You could try using the [Google Authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2) app for two-factor authentication. It can't be "detected" like a text message, meaning you have to manually input the code.
Upvotes: 0 |
2015/06/12 | 739 | 2,388 | <issue_start>username_0: I have a Lenovo a6000 which I recently flashed and when it rebooted I cant even see the logo and if I press the power button it just vibrates again and again in a few intervals,I tried to boot into recovery by pressing volume up and power button but that was also no use what can I do to get into recovery<issue_comment>username_1: To get into Recovery you need to keep both VOLUME `+` and `-` keys pressed down and hold .. Also press the POWER button till you see the Lenovo logo. Then let go of the POWER button but keep the VOLUME Buttons (both `+` and `-`) pressed down until you get to RECOVERY mode.
Hope you have backed up the Stock ROM before you did the Port ROM install.
Another way to get to Recovery is to flash a new Copy of RECOVERY (CWM).
<http://techolaty.net/how-to-install-cwm-root-lenovo-a6000-smartphone/>
If your phone is not booting then, keep the Volume Down button pressed down with the POWER Button, then release the Power button on seeing the Lenovo Logo, also release the Volume button.
This screen looks almost the same as the Lenovo Boot Screen however if you look closer, to the bottom you will see
>
> Powered BY
>
> android
>
>
> Powerkey long press can reboot phone
>
>
>
BINGO!! You are in Fast boot mode
Now follow the link above and start off with
STEP 3:
Open the `C:\Program Files (x86)\Minimal ADB and Fastboot` directory and press and hold the `shift` key and right click anywhere inside the folder at the empty space and choose "open command window here".
Now type:
```
adb devices
```
This will not show any authorised devices. Basically it will not show anything.
Now type:
```
fastboot boot recovery.img
```
Upvotes: 1 <issue_comment>username_2: The best solution for your problem is to flash the stock firmware for your phone using the official tool from Lenovo, after getting your phone working again, you can then flash any custom rom if you want (i don't!), to flash your phone with the stock firmware follow the guide from [here](http://lenovo-forums.ru/topic/12627-%D0%B8%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%86%D0%B8%D1%8F-%D0%BF%D0%BE-%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B5-lenovo-a6000/) (it's in russian but with pics - also google is your friend), and for the firmware itself you can download it from [here](https://cloud.mail.ru/public/9GUn/tDJNaqUz3).
Upvotes: 0 |
2015/06/12 | 742 | 2,326 | <issue_start>username_0: How can I install the **Android ADB** drivers on a **Windows 8.x** **PC**/**Laptop**?
I followed tutorials on the internet but nothing worked for me.
>
> **PS:** The adb driver should be compatible with any **Android** smartphone.
>
>
><issue_comment>username_1: To get into Recovery you need to keep both VOLUME `+` and `-` keys pressed down and hold .. Also press the POWER button till you see the Lenovo logo. Then let go of the POWER button but keep the VOLUME Buttons (both `+` and `-`) pressed down until you get to RECOVERY mode.
Hope you have backed up the Stock ROM before you did the Port ROM install.
Another way to get to Recovery is to flash a new Copy of RECOVERY (CWM).
<http://techolaty.net/how-to-install-cwm-root-lenovo-a6000-smartphone/>
If your phone is not booting then, keep the Volume Down button pressed down with the POWER Button, then release the Power button on seeing the Lenovo Logo, also release the Volume button.
This screen looks almost the same as the Lenovo Boot Screen however if you look closer, to the bottom you will see
>
> Powered BY
>
> android
>
>
> Powerkey long press can reboot phone
>
>
>
BINGO!! You are in Fast boot mode
Now follow the link above and start off with
STEP 3:
Open the `C:\Program Files (x86)\Minimal ADB and Fastboot` directory and press and hold the `shift` key and right click anywhere inside the folder at the empty space and choose "open command window here".
Now type:
```
adb devices
```
This will not show any authorised devices. Basically it will not show anything.
Now type:
```
fastboot boot recovery.img
```
Upvotes: 1 <issue_comment>username_2: The best solution for your problem is to flash the stock firmware for your phone using the official tool from Lenovo, after getting your phone working again, you can then flash any custom rom if you want (i don't!), to flash your phone with the stock firmware follow the guide from [here](http://lenovo-forums.ru/topic/12627-%D0%B8%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%86%D0%B8%D1%8F-%D0%BF%D0%BE-%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B5-lenovo-a6000/) (it's in russian but with pics - also google is your friend), and for the firmware itself you can download it from [here](https://cloud.mail.ru/public/9GUn/tDJNaqUz3).
Upvotes: 0 |
2015/06/12 | 1,735 | 6,474 | <issue_start>username_0: Device: OnePlus One (OPO); running CM12, is rooted, and has Xposed Framework installed.
---
I need to enable **On-screen navigation** (it disables Hardware (HW) keys and shows soft keys at the screen; like [this](https://i.stack.imgur.com/GCNdP.png)) in OPO. I'm able to do it via **Settings** but my objective requires a command-line solution through shell.
(Note that this is not a development/programming question, simply an Android question.)
* **Objective**: To disable Back(HW) key when main activity of an app (random) is in foreground, but without a reboot.
* I found On-screen nav. to be a good choice which doesn't require a reboot. I'll use an automation app to trigger the disabling action.
* There are manual ways to disable HW keys (by editing `.kl` files) and enabling Soft keys (by editing `build.prop`), or using tools like Xposed modules to disable or swap HW keys. **But they all require reboot (soft/hard) at least once** which I cannot afford.
* I experimented and found that when On-screen nav. is enabled, the value for `dev_force_show_navbar` changes to `1` from `0`. Similarly. `button_brightness` changes to `0` from `255`. Both names are under `Settings.db` (Table:`secure`)
* Also, there is no special activity assigned for **Settings → Buttons**(it enables On-screen nav). I used `dumpsys activity | grep mFocusedActivity` to see activity related to **Buttons**. The result was:
```
com.android.settings/.SubSettings
```
* `dumpsys activity activities` or `dumpsys activity recents` also has nothing more to tell here.
* I logged my actions using `logcat` when enabling On-screen nav. and [here](http://www46.zippyshare.com/v/03ctwJXK/file.html) is the log file.
So, **how do I enable On-screen nav. through command line, irrespective of whether it requires superuser access or not?**
**Edit**: Is there any *other* way using which I can achieve the objective precisely?
---
Only thing that comes to my mind is to use `input` but that's counterproductive to me. The other way is to trigger an Xposed module like **Xposed Additions** but I'm unable to use it with shell.<issue_comment>username_1: What I can suggest is - Install [Gravity Box](http://repo.xposed.info/module/com.ceco.lollipop.gravitybox) and enable the Navigation Bar from there.
Upvotes: -1 <issue_comment>username_2: There isn't a solution for your question. All the ways to do it will require a reboot except the `Settings` app for Cyanogenmod. I took a look at the [source code of Cyanogenmod](https://github.com/CyanogenMod/android_packages_apps_Settings/blob/cm-12.0/src/com/android/settings/ButtonSettings.java) how they managed to get it working, and I found this:
This is the method that does enable/disable the navigationbar:
(Sorry if this is off-topic, wanted to add this in case others are interested)
```
private static void writeDisableNavkeysOption(Context context, boolean enabled) {
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
final int defaultBrightness = context.getResources().getInteger(
com.android.internal.R.integer.config_buttonBrightnessSettingDefault);
Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.DEV_FORCE_SHOW_NAVBAR, enabled ? 1 : 0);
CmHardwareManager cmHardwareManager = (CmHardwareManager) context.getSystemService(Context.CMHW_SERVICE);
cmHardwareManager.set(CmHardwareManager.FEATURE_KEY_DISABLE, enabled);
/* Save/restore button timeouts to disable them in softkey mode */
SharedPreferences.Editor editor = prefs.edit();
if (enabled) {
int currentBrightness = Settings.Secure.getInt(context.getContentResolver(),
Settings.Secure.BUTTON_BRIGHTNESS, defaultBrightness);
if (!prefs.contains("pre_navbar_button_backlight")) {
editor.putInt("pre_navbar_button_backlight", currentBrightness);
}
Settings.Secure.putInt(context.getContentResolver(),
Settings.Secure.BUTTON_BRIGHTNESS, 0);
} else {
int oldBright = prefs.getInt("pre_navbar_button_backlight", -1);
if (oldBright != -1) {
Settings.Secure.putInt(context.getContentResolver(),
Settings.Secure.BUTTON_BRIGHTNESS, oldBright);
editor.remove("pre_navbar_button_backlight");
}
}
editor.commit();
}
```
As you can see it uses `android.hardware.CmHardwareManager` and the stuff is hard coded into the ROM and it's not possible to make it yourself.
**Edit:** There is a solution for the question. Look at the accepted answer. I already had it in my answer:
```
Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.DEV_FORCE_SHOW_NAVBAR, enabled ? 1 : 0);
```
Upvotes: 0 <issue_comment>username_3: >
> I experimented and found that when On-screen nav. is enabled, the value for `dev_force_show_navbar` changes to `1` from `0`... Both names are under `Settings.db` (Table:`secure`).
>
>
>
You actually mentioned the key to the answer but somehow (I suppose) didn't know how to use it. Many thanks to [Andrew T.](https://android.stackexchange.com/users/44325/andrew-t) and [DavisNT](https://stackoverflow.com/users/927592/davisnt) for [this answer](https://android.stackexchange.com/a/111513/109933) since it would lead to a solution for your problem.
I myself is a owner of OnePlus One running stock CM12 so you may now expect a working answer.
From the shell, be it `adb`, or a [Terminal app](https://play.google.com/store/search?q=terminal&c=apps), or [Tasker's](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) "Run Shell" action, enter the following command with root privileges:
```
settings put secure dev_force_show_navbar 1
```
You would now see that On-screen navigation bar is enabled just like in your pic posted [here](https://i.stack.imgur.com/GCNdP.png).
Don't worry about `button_brightness` since the changes in its value would be reflected automatically by the above command.
I tested that command in Tasker by manual execution of action "Code -> Run Shell -> *command*" with "Use Root", and its working good.
The changes are exactly same as doing it from "Settings -> Buttons" so nothing to worry, i.e. **only Soft-keys are visible and Hard keys are disabled**. Coolest part -- **no reboot needed.**
You can revert back by using `0` in place of `1` in the aforesaid command.
Upvotes: 3 [selected_answer] |
2015/06/13 | 390 | 1,594 | <issue_start>username_0: Is there any permission or method to prevent an app from being uninstalled even after factory reset like system app that does not get uninstalled?<issue_comment>username_1: You will have to root your device and move the app using any application to the system folder. This will enable your app to be on device even after you have formatted your device.
Here is the link of application which provides this administrative feature:
[/system/app mover ★ ROOT ★](https://play.google.com/store/apps/details?id=de.j4velin.systemappmover&hl=en)
This app moves apps from and to the `/system/app` folder, making them a system app or a user app. System apps can get more priviledges, so some apps get more functionality when installed as a system app.
On the other hand, system apps can not be uninstalled. So this app can also be used to convert system apps to normal user apps by moving them from the `/system/app` directory to `/data/app` directory.
**WARNING:** Uninstalling important system apps might result in a unusable device! Use this function at your own risk and only if you know what you're doing! Make a NANDroid backup first! I won't give any kind of support if something goes wrong - don't install this app if you're not okay with that.
Upvotes: 2 <issue_comment>username_2: Another method is to make a file from the app **immutable** via elevated (SU) shell command
`chattr -i`
This prevents the file from being moved or deleted, thus, preventing the uninstallation of the APK.
This method is more useful to prevent the app from being updated.
Upvotes: 0 |
2015/06/13 | 573 | 2,068 | <issue_start>username_0: I've just transferred over 800 songs onto my Galaxy S6, all of which have album art. I used [peggo.co](http://peggo.co/) to download the songs from YouTube/SoundCloud (peggo automatically attaches the album art to the song).
However, all of my songs show the wrong album art, and more so, it's the one same album art from one album for all 800+ songs.
I tried deleting the offending album/songs and cleared the thumbnails using this suggested method, but now all the other songs use the same album art from a different song:

I've tried following the answers to a similar question [here](https://android.stackexchange.com/questions/63650/how-do-i-change-incorrect-album-art-on-the-default-music-player-of-the-samsung-g), but none of the solutions worked for me.
What should I do?
---
**Edit:** I think I know the issue, but I'm not sure how to fix it. All of the songs I downloaded using peggo.co set the Album Title to "Unknown" (or simply nothing), which would explain why all 800+ songs have the same album art. How can I fix this though?<issue_comment>username_1: I found the solution to this. As I said in my question, the problem is that all my songs had their Album Title set to "Unknown" or simply not set.
To fix this, you have to change the Album Title to something unique. Here's what I did to fix this (automatically, for all of my songs in a single click):
1. Download [mp3tag](http://www.mp3tag.de/en/).
2. Drag all of your songs into the program.
3. In the navigation bar, click Actions > Actions.
4. Create a new action with the following settings:
* **Name**: Name it anything.
* Create a new step.
* **Action type**: Format value
* **Field**: ALBUM
* **Format string**: `%artist% - %title%`
5. Select all of your songs in the program.
6. In the navigation bar, click Actions and then click your newly created action.
That should fix it.
Upvotes: 1 <issue_comment>username_2: Use musixmatch player to rectify the track details along with album art
Upvotes: -1 |
2015/06/13 | 1,611 | 5,654 | <issue_start>username_0: Most questions I can find related to this are dated 2011 and thereabouts, so perhaps it's not too surprising that things have changed since. I've tried a whole bunch of things, with no results whatsoever.
There are some scripts in `/system/etc/init.d` (which also appears under `/etc/init.d` on my device). In particular, there is a `00banner` script which is supposed to log a welcome message. The welcome message never appears in logcat.
I've placed my own script here, which was eventually reduced to nothing but this:
```
#!/system/bin/sh
log -t mytest Testing
```
Nothing. Never appears in logcat unless run manually via terminal. Then it works.
There is also a `90userinit` file here, which invokes `/data/local/userinit.sh` if it exists. I've created it with the same contents as above. Again, nothing ever appears in logcat. Which is not surprising, really, since if `00banner` won't run then this wouldn't either.
I searched for anything named "init.rc" but nothing like that exists anywhere on my device.
All of my scripts have 755 permissions.
What else can I try? (other than apps that run scripts for me)<issue_comment>username_1: Edit: I saw end off post, This one way, I will try to add without apps ASAP (not home, publishing using mobile), but you can use this, if anything other does not work.
You can try using app called [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en).
It costs 3.29$ and require root access but it can run Shell scripts. Also, it have Trial version so you can try before buying.
First create Task. Go to Task tab, tap + sign, enter task name. Now go again + sign, and type `shell` in filter. You will find option `Run Shell`, select it, and configure it per your needs.
After that go back to first tab - Profiles, tap + sign to create new. Select Event as type, go System and select Device Boot. Go back and you will be asked to select task. Now select previusly created task and you are ready to go!
Upvotes: 2 <issue_comment>username_2: This requires you to flash a zip but then you can put your scripts in /system/etc/startup and then they should automatically start up with the phone.
<http://forum.xda-developers.com/showthread.php?t=2664645>
Also from my comment under the question. I tried looking in my history but I couldn't find the link where people were claiming that CM had their own way of running scripts on boot.
Edit. After some more digging it isnt CM, per say, that does its own thing for scripts. Its the kernel. Not all kernels support init.d for android. If you post what device you are using. I can look around for a kernel that supports custom scripts on boot for ya.
Upvotes: 1 <issue_comment>username_3: there is a simple method to add init.d support to any rooted android for versions 4.0 and above ,google made a script that runs at boot as superuser the script is `install-recovery.sh`it is used to reflash stock recovery at every boot they thought it was a good security to prevent custom recoveries but it opened a new hole that can be exploited by users to fake init.d feature.
**Dependencies** : in order to this method to work you need the following
1. Busy box installed with the `run-parts`symlinked to your path like `/system/xbin`
2. Obviously you gonna need a rooted phone with the `/system` able to mount as `rw`
3. kernel version doesn't matter.
**Method I : (The easiest way !)**
1. Download this [APK](https://www.androidfilehost.com/?fid=9390248398092764054) (free to use,don't mirror, thanks @Ryuinferno from XDA).
2. Install the apk like any normal app.
3. Launch the app.
4. click on Activate ! that's it you're all setinit.d is now supported you can click the test button or reboot your phone to see if your init.d scripts are exited
5. you can uninstall the application it wil not affect the init.d support
**Method II : (difficulty: medium)**
1. Download this [zip](http://forum.xda-developers.com/attachment.php?attachmentid=3164670&d=1423891912) unzip it and put init.sh on your sdcard (in this exmple it's gonna be `/sdcard` it can change from device to other.
2. now open a terminal ,or use `adb shell` from computer and run the script.
`su`
`cp /sdcard/init.sh /data/tmp/init.sh`
`chmod 777 /data/tmp/init.sh`
`/data/tmp/init.sh`
the script will run and ask you to reboot twice ,that's it you have officially init.d support :D
**Reference:** [[MOD][APK+SCRIPT+ZIP] Enable Init.d for Any Phones w/o Need of Custom Kernels!!!](http://forum.xda-developers.com/showthread.php?t=1933849)
Upvotes: 4 [selected_answer]<issue_comment>username_4: Following Steps to run scripts at boot time.
(Required adb)
1. adb root
2. adb remount
3. adb pull /init.rc
4. edit init.rc add line for execute script like sh test.sh
5. adb push init.rc /
6. adb shell
7. chmod 755 init.rc
8. adb reboot
it work for me. i hope this help you.
Upvotes: -1 <issue_comment>username_5: I also have the same problem executing script file in terminal in CM12.1. The solution is by copying the script to `/data` folder and execute it. So I think, CM 12 only allow script executable from certain location.
Upvotes: 0 <issue_comment>username_6: Simple way (working):
1. Prepare your post boot commands in a script, say /system/xbin/post-boot (set exec perm)
2. Add the above custom script path at the end of /system/etc/init.qcom.post\_boot.sh
Eg:
echo /system/xbin/post-boot >> /system/etc/init.qcom.post\_boot.sh
==================================================================
Done!
(If you can't find the qcom post\_boot (Qualcomm devices), look for any post\_boot scripts)
Upvotes: 0 |
2015/06/14 | 316 | 1,274 | <issue_start>username_0: So I just wanted to try out the new Android M developer preview on my HTC One M8, but the only build available is for Nexus devices.
If I flashed it on my HTC with MultiRom, and it bricked, could I easily just remove it with MultiRom? Or would it mess up my main stock 5.0 ROM also?
In that case, should I make a Nandroid backup with TWRP?<issue_comment>username_1: It would mess up your phone way too badly lol! Better stick with the ROM you're using and wait for the devs to bring up the M preview for your device.
Upvotes: -1 <issue_comment>username_2: The M Preview images are for nexuses only so it wont work on any other device, although if you really wanted to try out Android M there is a possibility that a developer somewhere takes interest in developing one for your phone as soon as source code is released but you will have to wait though. You should be able to remove the ROM from MultiROM but its always advisable to take a backup when changing ROMs.
Upvotes: 2 [selected_answer]<issue_comment>username_3: The best thing when you want to try out dev builds is to find the forum for your phone on XDA and see if some one ported/built a version for your phone. Just do a quick google search for XDA phoneinfohere Android M
Upvotes: 0 |
2015/06/14 | 278 | 1,081 | <issue_start>username_0: Does anyone of you knows why my apps disappeared on my home screen and my app manager? At first, I was just communicating with my friend via the messenger app then it suddenly crashed and my phone turned off. It, thankfully, switched on but the thing is my apps were gone. I tried rebooting my phone many times but they didn't come back. Then I tried installing the apps from my backup (first) then from the playstore but it says "app not installed". What should I do?<issue_comment>username_1: Better wipe off your data and system partition and reflash the ROM you're using.
Upvotes: -1 <issue_comment>username_2: I can't tell why your apps disappeared, but I think you're not able to reinstall them because of leftover data files. I used [SD Maid](https://play.google.com/store/apps/details?id=eu.thedarken.sdm) to delete data corpses, in order to be able to reinstall some apps after flashing a rom.
Once installed, go to **CorpseFinder**, scan and then delete the corpses you find. You should then be able to reinstall your missing apps.
Upvotes: 0 |
2015/06/14 | 560 | 2,240 | <issue_start>username_0: How accuate is location data using gps?
My partner went to visit his young daughter at her mother's house, he says he stayed there for 30-40 mins. However, his gps location showed him going to the house, staying there for less than 10 minutes, and then leaving. By pressing the locate button on the device manager I could see the gps recorded location moving in real time. (With his permission to do this btw, his daughter's mother is still in love with him and has no respect for our relationship or our family.)
This matters to me because she wanted him to take her somewhere, but he said he is just going to see his daughter and not running around after her taking her where she wants to go.
So how likely is it that he stayed at her house for 30-40 mins when gps location shows him going up the road, being at the house for around 5 mins and then going back down the road.
I know it can be a bit out because when we are home, it shows a small, dark circle and our house is not within that circle but across the street.
Edit: no its a different issue because he definately was at the location (her house).
The issue is that he says he stayed at the location for 30-40 mins before going on to his next destination and the gps data says otherwise. It says he was there for 4-5 mins and then went to his next destination, which is about 30 minutes away from her house and all the time the location was quite specific, only a couple of cars length and width. So if he really stayed at her house for 30-40 mins then the gps was tracking him going to his next destination when he was still at her house which seems unlikely.<issue_comment>username_1: Better wipe off your data and system partition and reflash the ROM you're using.
Upvotes: -1 <issue_comment>username_2: I can't tell why your apps disappeared, but I think you're not able to reinstall them because of leftover data files. I used [SD Maid](https://play.google.com/store/apps/details?id=eu.thedarken.sdm) to delete data corpses, in order to be able to reinstall some apps after flashing a rom.
Once installed, go to **CorpseFinder**, scan and then delete the corpses you find. You should then be able to reinstall your missing apps.
Upvotes: 0 |
2015/06/14 | 281 | 1,009 | <issue_start>username_0: A few days ago, an icon appeared on the status bar of my Nexus 5 (Lollipop 5.1.1). I couldn't understand why it was there and what it tried to indicate. After some time of not touching my phone, the icon disappeared by itself.
The icon in question is the one between the signal strength and the BT icons (2nd from the right).
<issue_comment>username_1: Better wipe off your data and system partition and reflash the ROM you're using.
Upvotes: -1 <issue_comment>username_2: I can't tell why your apps disappeared, but I think you're not able to reinstall them because of leftover data files. I used [SD Maid](https://play.google.com/store/apps/details?id=eu.thedarken.sdm) to delete data corpses, in order to be able to reinstall some apps after flashing a rom.
Once installed, go to **CorpseFinder**, scan and then delete the corpses you find. You should then be able to reinstall your missing apps.
Upvotes: 0 |
2015/06/14 | 207 | 930 | <issue_start>username_0: I have turned on Hotspot and the data is being used on other Android device but when there is an incoming call the Hotspot gets disabled automatically and gets enabled after the call ,During which I am unable to share the data.
Why is this happening and how to avoid the Hotspot getting disabled automatically on an incoming/outgoing call.<issue_comment>username_1: Unfortunately a limitation in 3g is that data cannot be used whilst a voice call is happening. Android turns off the hotspot because data isn't available during the call, so unfortunately there is no fix available until networks start to implement voice over LTE.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can use whats'up or some voip application like skype or CS-IP app with voip provider credential. In the last case You can have a fixed phone number, , Just ask people to call You ate the virtual number.
Upvotes: -1 |
2015/06/14 | 356 | 1,220 | <issue_start>username_0: I recently installed CM12.1 on my Moto G 2013 XT1033. After installing WhatsApp and rebooting, the data usage meter isn't showing. The same goes for the battery usage details.
[](https://i.stack.imgur.com/9wc4X.png)
[](https://i.stack.imgur.com/7bkfo.png)
[](https://i.stack.imgur.com/ra2TU.png)
Click image(s) for larger versions

data usage showing up weird data cycles.<issue_comment>username_1: Unfortunately a limitation in 3g is that data cannot be used whilst a voice call is happening. Android turns off the hotspot because data isn't available during the call, so unfortunately there is no fix available until networks start to implement voice over LTE.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can use whats'up or some voip application like skype or CS-IP app with voip provider credential. In the last case You can have a fixed phone number, , Just ask people to call You ate the virtual number.
Upvotes: -1 |
2015/06/14 | 175 | 768 | <issue_start>username_0: I have an application, which uses MENU button for navigation purposes. Some devices doesn't have this button.
I have tried long pressing app switch button, but it is not working.<issue_comment>username_1: Unfortunately a limitation in 3g is that data cannot be used whilst a voice call is happening. Android turns off the hotspot because data isn't available during the call, so unfortunately there is no fix available until networks start to implement voice over LTE.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can use whats'up or some voip application like skype or CS-IP app with voip provider credential. In the last case You can have a fixed phone number, , Just ask people to call You ate the virtual number.
Upvotes: -1 |
2015/06/15 | 202 | 821 | <issue_start>username_0: Someone told me that you shouldn't charge your tablet with your phone charger,it will ruin it. Is this true? They're both Samsung.<issue_comment>username_1: Yes, you can charge but you will face some problem like slow charging , less battery backup, and also other battery related problem in future or heating of device
Upvotes: -1 <issue_comment>username_2: It should be fine, just slower (depending on the rating of the two chargers).
It's possible for the tablet to draw more power than can be provided by a weaker charger, so for it to charge well you should ideally have it powered off or at least idle.
Upvotes: 2 <issue_comment>username_3: Yes you can and it's normal to understand that it's not a original charger for your device.
So it must be take extra time for charging.
Upvotes: 0 |
2015/06/13 | 426 | 1,637 | <issue_start>username_0: Is there a way to bookmark all tabs in Chrome for Android? (i.e. right click and `Ctrl` functions are not available)
If it helps, I'm using Android *tablet*.<issue_comment>username_1: I came across this question while looking for a way to do this as well, and it appears that Chrome for Android does not currently have this option.
The following proved useful to me as a workaround:
* Open Chrome on your desktop (logged into the same account as on your
tablet).
* In a new window, either hit (Ctrl + H) or go to 'Settings > History &
recent tabs > History'.
* From there, it should show your History/Tabs sorted by device.
* Next to the name of your tablet, there should be a small box with a
arrow pointing down. Clicking on this will give you the options to
either 'Collapse List' or 'Open All'.
* Select 'Open All', and all of your tabs from your tablet should open.
* Now you can either hit (Ctrl+Shift+D), or right-click on one of the
tabs and select 'Bookmark all tabs...'.
* Select a folder for your bookmarks, and you should be set.
Granted, a bit more leg-work than simply hitting a button, but it is the only real option I've found for when you have 100+ tabs on your tablet that need bookmarking.
Upvotes: 4 <issue_comment>username_2: Maybe some day Google Chrome for Android will support extensions, for now [Yandex Browser for Android](https://browser.yandex.ru) support [Extensions](https://addons.opera.com/en/search/?query=copy+url) from Opera.
Yandex Browser and Opera both based on [Blink web engine](https://en.wikipedia.org/wiki/Blink_(web_engine)), same as Google Chrome.
Upvotes: 0 |
2015/06/15 | 1,935 | 6,942 | <issue_start>username_0: I'm sure this would have been asked before. But I couldn't find out yet.
I recently updated to Lollipop in my Sony Xperia Z phone. The notification bar and pull down settings are great.
But on lock screen, I don't want to turn on/off any WiFi, Bluetooth or any settings. Simply pull down settings should not be allowed on lock screen. How can I do that? Is there any option?
I have pattern lock already.<issue_comment>username_1: There is no way to disable the quick settings on the lockscreen.
However, it may be possible by flashing a custom ROM on your phone. I know you can rearrange/remove tiles in CyanogenMod.
>
> **Note:** by flashing a custom ROM your **data will be wiped** and your **warranty is void**.
>
>
>
**Edit:** On XDA-Developers I found this:
>
> The Quick settings menu can be edited - when the phone is unlocked open quick settings panel and tap and hold any of its icons, you will be allowed to remove or add some functionalities. Just remove airplane mode and mobile data. This way when the phone is locked no one can disable its connectivity.
> The drawback is that you can't switch the airplane mode easily even when the phone is unlocked.
>
>
>
Source: <http://forum.xda-developers.com/showpost.php?p=60243490&postcount=13>
Upvotes: 1 <issue_comment>username_2: I'm using CyanogenOS 12 (derived from CM12), so the following solution may not work on an stock Lollipop, but regardless, it is a very useful solution.
---
The tiles that you can toggle in the Quick Settings are assigned particular names like Bluetooth → `bt`, Wi-Fi -> `wifi`, Landscape/Portrait → `rotation`, and many others, and these names are stored as a value for the key `sysui_qs_tiles` under the table `secure` of `settings.db` (Settings Storage).
While those tiles can be removed/re-arranged from the Settings UI, the command line can also be considered to achieve the task.
The relevant command is `settings` and its usage is mentioned as:
```
usage: settings [--user NUM] get namespace key
settings [--user NUM] put namespace key value
settings [--user NUM] delete namespace key
'namespace' is one of {system, secure, global}, case-insensitive
If '--user NUM' is not given, the operations are performed on the owner user.
```
You would need [ADB](https://android.stackexchange.com/questions/42474/is-there-a-minimal-installation-of-adb) setup in your machine before you proceed any further. Alternatively, if the device is rooted, you can use a terminal app like [Terminal Emulator for Android](https://play.google.com/store/apps/details?id=jackpal.androidterm).
**Note:** ADB in wireless mode *may* prove dangerous if the device doesn't support authenticating a client before giving access. Proceed at your own risk!
We first have to find out the value stored in the key `sysui_qs_tiles`, and to do that, enter in a terminal the command:
```
adb shell settings get secure sysui_qs_tiles
```
For rooted devices using terminal app:
```
su
settings get secure sysui_qs_tiles
```
The output would be like:
```
wifi,bt,cell,rotation,flashlight,hotspot,location,airplane
```
Now, if I want to remove **Airplane Mode** from the Quick Settings or want **Wi-Fi** tile to be shown after **Hotspot**, then the commands in a respective order would be:
```
adb shell settings put secure sysui_qs_tiles wifi,bt,cell,rotation,flashlight,hotspot,location
adb shell settings put secure sysui_qs_tiles bt,cell,rotation,flashlight,hotspot,wifi,location
```
For rooted devices using terminal app:
```
su
settings put secure sysui_qs_tiles wifi,bt,cell,rotation,flashlight,hotspot,location
settings put secure sysui_qs_tiles bt,cell,rotation,flashlight,hotspot,wifi,location
```
Now, coming back to the requirement, that is, "*hide quick settings on Lock screen*". You can use an [automation](/questions/tagged/automation "show questions tagged 'automation'") tool like [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) to remove the tiles from Quick Settings when the screen is locked, and add them back when the screen is unlocked.
Before we proceed with **Tasker's** usage, I should mention that `settings` command can only be used with ADB in non-rooted devices because of higher privileges required than what is granted to an ordinary user, and hence, for automation in **Tasker** the device would have to have ADB running in wireless mode. To do so, see:
* [How can I connect to Android with ADB over TCP?](https://stackoverflow.com/q/2604727), or
* [Android ADB connect to device with broken USB and no root](https://android.stackexchange.com/a/116023/96277)
### Instructions for Tasker
1. Create a task named "Tiles s-unlocked".
2. Add an action as **Code → Run Shell**, and add these details:
**Command**: `adb connect localhost:; adb shell settings put secure sysui\_qs\_tiles wifi,bt,cell,rotation,flashlight,hotspot,location`
For rooted devices, the details would be:
* **Command**: `settings put secure sysui_qs_tiles wifi,bt,cell,rotation,flashlight,hotspot,location`
* Check **Use Root**For cases where it matters:
1. Use as the port number on which ADB wireless is running like `5555`
2. In place of `wifi,bt,cell,rotation,flashlight,hotspot,location` use the names of the tiles you want or have in Quick Settings
3. Create an another task named "Tiles s-locked".
4. **Note**: If you configured settings such that the screen doesn't lock right after the device gets to sleep, but after XY seconds (like `30` seconds), then create an action as **Task → Wait** and set those XY **Seconds**. Alternatively, `sleep XY` can be used in the next step under the **Command**. [Arielle suggested the idea](http://chat.stackexchange.com/transcript/message/23014746#23014746).
5. Add an another action as **Code → Run Shell**, and add these details:
**Command**: `adb connect localhost:; adb shell settings put secure sysui\_qs\_tiles ' '`
For rooted devices, the details would be:
* **Command**: `settings put secure sysui_qs_tiles ' '`
* Check **Use Root**
6. Create a profile named "S-unlocked" under **Event → Display → Display Unlocked**, choose `Highest` **Priority**, and link the task "Tiles s-unlocked".
7. Create an another profile named "S-locked" under **Event → Display → Display Off**, choose `Highest` **Priority**, and link the task "Tiles s-locked".
8. Have the **Tasker** enabled, and behold the desired action by locking/unlocking the screen.
(Click image to enlarge)
Order of images as "No tiles when screen is locked" → "Tiles when screen is unlocked"
(Click image to enlarge)
[](https://i.stack.imgur.com/jA3HO.jpg)
[](https://i.stack.imgur.com/zyykH.png)
Let me know if my solution works in a device running Stock Lollipop.
Upvotes: 4 |
2015/06/15 | 403 | 1,739 | <issue_start>username_0: Lots of Android games have some "achievement" features that give you badges for completing some task in the game. This sounds like fun and I'd like to try it.
Apparently, those features are only available once you are signed in to Google Play Games. I don't mind that. I do mind, however, that trying to register to Google Play Games asks me to create a Google+ profile, which I definitely do not want (I don't want another social networking account, and I particularly don't want a potentially public social networking account associated with my personal gaming activities).
Is there are way to use Google Play Games features without a Google+ account?<issue_comment>username_1: No, it is not possible to use Google Play Games without a Google+ account because much of Google Play Games is social and so it makes sense for it to integrate it with Google+. But if you don't want to use the social side of Google+ but still use Google Play Games, you could create a Google+ account and disable all the social features, make every aspect of your profile private and also disable all social options in Google Play Games too.
Upvotes: 2 <issue_comment>username_2: It **is possible** now. As mentioned [here](http://android-developers.blogspot.com/2016/01/play-games-permissions-are-changing-in.html)
* Players are prompted to sign-in once per account, rather than once per game
* Players no longer need their account upgraded to Google+ to use Play Games services
* Once players have signed-in for the first time, they will no longer need to sign in to any future games; they will be automatically signed in
Note: Players can turn off auto-sign-in through the Play Games App’s settings
Upvotes: 3 [selected_answer] |
2015/06/15 | 301 | 1,271 | <issue_start>username_0: In an accident I got my Samsung Galaxy S3 broken. Mobile is turn on but screen is not working. I want some very important data from internal storage. Is there anyway to recover that data?<issue_comment>username_1: No, it is not possible to use Google Play Games without a Google+ account because much of Google Play Games is social and so it makes sense for it to integrate it with Google+. But if you don't want to use the social side of Google+ but still use Google Play Games, you could create a Google+ account and disable all the social features, make every aspect of your profile private and also disable all social options in Google Play Games too.
Upvotes: 2 <issue_comment>username_2: It **is possible** now. As mentioned [here](http://android-developers.blogspot.com/2016/01/play-games-permissions-are-changing-in.html)
* Players are prompted to sign-in once per account, rather than once per game
* Players no longer need their account upgraded to Google+ to use Play Games services
* Once players have signed-in for the first time, they will no longer need to sign in to any future games; they will be automatically signed in
Note: Players can turn off auto-sign-in through the Play Games App’s settings
Upvotes: 3 [selected_answer] |
2015/06/15 | 593 | 2,333 | <issue_start>username_0: I have a Lenovo S850 (non-rooted so far, although I've read some guides and may try it when I find the time). Is there a way to use it as a USB speaker for my PC at work, which doesn't have any speakers. I don't have a wireless network there so that is not an option.
I just want to convert my phone to a speaker with as little work as possible, i. e. plug in USB cable, turn on an app and possibly install something on my PC. Is that possible?
**Edit:** This could be relevant: <http://www.phonearena.com/news/Android-5.0-Lollipop-supports-USB-DAC-audio-devices-we-go-ears-on_id66399>
Also there are lots of USB speakers out there. So with my limited knowledge I guess something like this could be done with only the help of an app.<issue_comment>username_1: I'm not sure if a USB option is possible but someone please correct me if I'm wrong! This uses the headphone jack so it isn't USB but it is still a wired connection. The following **should** work but may be a bit flaky. Plug a headset jack adapter to split the microphone and audio input into the headphone jack of your phone. Then wire a standard audio cable into the microphone jack of your phone from the audio output of your computer. Last, download [an application](https://play.google.com/store/apps/details?id=net.bitplane.android.microphone) that routes the microphone input to the speaker and turn that on. When you now play audio on your computer, it should be sounded from your phone.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Even though I marked this as answered I feel I need to add that I've managed to do exactly what I wanted with SoundWire and the default internet sharing on my phone as follows:
1. Install and configure SoundWire on PC and phone.
2. Share phone's internet connection via USB.
3. Assuming you already had internet on your PC, you now have 2 network adapters. You need to make sure you are using your old adapter for internet access. As far as I could find to do this you need to change the metric of your default adapter to 1 so that it is the preferred adapter by Windows (Windows 7 in my case).
4. You can check the server IP by typing ipconfig in the command prompt.
5. Connect from the SoundWire app on your phone. You get a message that WiFi is disabled, but it still works fine.
Upvotes: 2 |
2015/06/15 | 435 | 1,832 | <issue_start>username_0: I cannot, for the life of me, figure out how to turn off the notification sounds. I found the option in settings for the notification sounds, but none of the options are to turn it off or silence it, without silencing the whole phone!<issue_comment>username_1: I'm not sure if a USB option is possible but someone please correct me if I'm wrong! This uses the headphone jack so it isn't USB but it is still a wired connection. The following **should** work but may be a bit flaky. Plug a headset jack adapter to split the microphone and audio input into the headphone jack of your phone. Then wire a standard audio cable into the microphone jack of your phone from the audio output of your computer. Last, download [an application](https://play.google.com/store/apps/details?id=net.bitplane.android.microphone) that routes the microphone input to the speaker and turn that on. When you now play audio on your computer, it should be sounded from your phone.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Even though I marked this as answered I feel I need to add that I've managed to do exactly what I wanted with SoundWire and the default internet sharing on my phone as follows:
1. Install and configure SoundWire on PC and phone.
2. Share phone's internet connection via USB.
3. Assuming you already had internet on your PC, you now have 2 network adapters. You need to make sure you are using your old adapter for internet access. As far as I could find to do this you need to change the metric of your default adapter to 1 so that it is the preferred adapter by Windows (Windows 7 in my case).
4. You can check the server IP by typing ipconfig in the command prompt.
5. Connect from the SoundWire app on your phone. You get a message that WiFi is disabled, but it still works fine.
Upvotes: 2 |
2015/06/15 | 541 | 2,133 | <issue_start>username_0: I have a Moto X 1st gen. The model is XT1060 (60 means Verizon US version).
**I want to flash the XT1053 version of the phone (the US Retail version without bloatware) on it with RSD Lite.** Basically, the ROM is the same, only the carrier which is made for differs.
Am I doing right? How else can I transform my XT1060 ROM in XT1053?
*Thank you in advance and sorry for my lack of knowledge to explain this. I have looked for days all over the internet and asked forums and people. Nobody seems to want to answer or doesn't know.*<issue_comment>username_1: I'm not sure if a USB option is possible but someone please correct me if I'm wrong! This uses the headphone jack so it isn't USB but it is still a wired connection. The following **should** work but may be a bit flaky. Plug a headset jack adapter to split the microphone and audio input into the headphone jack of your phone. Then wire a standard audio cable into the microphone jack of your phone from the audio output of your computer. Last, download [an application](https://play.google.com/store/apps/details?id=net.bitplane.android.microphone) that routes the microphone input to the speaker and turn that on. When you now play audio on your computer, it should be sounded from your phone.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Even though I marked this as answered I feel I need to add that I've managed to do exactly what I wanted with SoundWire and the default internet sharing on my phone as follows:
1. Install and configure SoundWire on PC and phone.
2. Share phone's internet connection via USB.
3. Assuming you already had internet on your PC, you now have 2 network adapters. You need to make sure you are using your old adapter for internet access. As far as I could find to do this you need to change the metric of your default adapter to 1 so that it is the preferred adapter by Windows (Windows 7 in my case).
4. You can check the server IP by typing ipconfig in the command prompt.
5. Connect from the SoundWire app on your phone. You get a message that WiFi is disabled, but it still works fine.
Upvotes: 2 |
2015/06/16 | 579 | 2,142 | <issue_start>username_0: How does one determine what firmware they are using? I've looked in settings -> about phone and can't find it. I know I'm using Android 5.1.1 and have CM.<issue_comment>username_1: It depends and differs by the mobile manufactures.
For Sony, Samsung and Motorola devices you can find in `Settings > About phone > Build Number`.
If you have a Samsung device you can also check the version of firmware you currently have by dialing `*#1234#`.
In HTC devices it will be under `Settings > About Device > Software Information > Software Version`. (eg. 3.16.401.9)
The firmware number consists of several elements, all of which are essential for the functioning of the phone:
```
- PDA: Android operating system and your customizations.
- Phone: the actual identifier of your device.
- CSC (Country Exit Code): the languages and country-specific parameters.
- Bootloader: the boot loader program that runs at startup to all unit processes.
```
[](https://i.stack.imgur.com/C0r63.jpg) [](https://i.stack.imgur.com/FV8h3.jpg)
Screenshot - Click to enlarge image(Source - [Ref](https://www.androidpit.com/what-is-my-firmware-number))
Upvotes: 2 <issue_comment>username_2: While this is an old thread, others may find it by a search as I just did. On my Chinese tablet I have not found a way to relate the displayed build number of the firmware (V1.0.0\_V7 - but V7 is the hardware version) with a downloadable version. However, Aida64 tells me that there is a file */system/build.prop* described as Build Properties; examining that file, which is text, I find a great mass of information, thought not a build number as such. In my case I have a build *date*, which solves my problem: it is earlier than the date of the firmware I can download. I suppose the details are likely to vary from one device to another, but the general approach may be the best if there is no clear information. Some of the information displayed by "About" is not that useful; apparently my serial number is 0123456789ABCDEF
Upvotes: 0 |
2015/06/16 | 666 | 2,413 | <issue_start>username_0: For some reason I am producing some html files from Terminal IDE.
However I can't seem to open any of them located in the working directory. Say we have /data/data/com.spartacusrex.spartacuside/files/index.html
Firefox shows nothing after I enter the url file:///data/data/com.spartacusrex.spartacuside/files/index.html
And Chrome complains 'Access denied'.
I don't want to root the device. Any walkaround?
Thanks,
Jeff<issue_comment>username_1: It depends and differs by the mobile manufactures.
For Sony, Samsung and Motorola devices you can find in `Settings > About phone > Build Number`.
If you have a Samsung device you can also check the version of firmware you currently have by dialing `*#1234#`.
In HTC devices it will be under `Settings > About Device > Software Information > Software Version`. (eg. 3.16.401.9)
The firmware number consists of several elements, all of which are essential for the functioning of the phone:
```
- PDA: Android operating system and your customizations.
- Phone: the actual identifier of your device.
- CSC (Country Exit Code): the languages and country-specific parameters.
- Bootloader: the boot loader program that runs at startup to all unit processes.
```
[](https://i.stack.imgur.com/C0r63.jpg) [](https://i.stack.imgur.com/FV8h3.jpg)
Screenshot - Click to enlarge image(Source - [Ref](https://www.androidpit.com/what-is-my-firmware-number))
Upvotes: 2 <issue_comment>username_2: While this is an old thread, others may find it by a search as I just did. On my Chinese tablet I have not found a way to relate the displayed build number of the firmware (V1.0.0\_V7 - but V7 is the hardware version) with a downloadable version. However, Aida64 tells me that there is a file */system/build.prop* described as Build Properties; examining that file, which is text, I find a great mass of information, thought not a build number as such. In my case I have a build *date*, which solves my problem: it is earlier than the date of the firmware I can download. I suppose the details are likely to vary from one device to another, but the general approach may be the best if there is no clear information. Some of the information displayed by "About" is not that useful; apparently my serial number is 0123456789ABCDEF
Upvotes: 0 |
2015/06/16 | 1,458 | 5,580 | <issue_start>username_0: Is there a way to shutdown my Mate7 from fastboot? Long pressing the power button makes the phone restart again. I need to shut it down so I can recharge it then restore to stock.<issue_comment>username_1: There is no Fastboot Command that does this.
However you could try holding the power button down until the screen goes blank and then letting go off the power button before the device starts to boot (before the vibrate). This is the only viable way... The list of available Fastboot commands are:
```
usage: fastboot [ ]
commands:
update reflash device from update.zip
flashall flash boot + recovery + system
flash [ ] write a file to a flash partition
erase erase a flash partition
format format a flash partition
getvar display a bootloader variable
boot [ ] download and boot kernel
flash:raw boot [ ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s specify device serial number
or path to device port
-l with "devices", lists device paths
-p specify product name
-c override kernel commandline
-i specify a custom USB vendor id
-b specify a custom kernel base address
-n specify the nand page size. default:
2048
-S [K|M|G] automatically sparse files greater th
an
```
Upvotes: 3 <issue_comment>username_2: ok i got it .. also problem fixed and phone working now .. all i had to do is to put phone in SD Update Mode where it says "Battery Level is Low" then i connected charger and left it for 2 hours then Update process started.
Upvotes: 1 <issue_comment>username_3: If you are planning to charge your phone enough so that you can flash again, try this
```
@echo off
:start
fastboot getvar battery-voltage
fastboot reboot-bootloader
ping /n 6 localhost >nul
goto start
```
save it as a batch file and place it in adb and run it.
This will basically make your phone to reboot the bootloader continuously until you reach a safe battery level for flashing.
Upvotes: 2 <issue_comment>username_4: You can do:
*fastboot reboot-bootloader*
At which point you can use the bootloader menu to shut it down. I believe in pretty much all, if not all, Android bootloaders you can select to power down by either pressing volume down 3 times or volume up 1 time. Pressing the power button should then select to power down. I'm not sure this will work for username_2's original scenario, but it's what I had to do recently to shut down a Droid Turbo that was stuck in continual boot with a broken screen.
Upvotes: 0 <issue_comment>username_5: Had an issue with Motorola X4 where power button was not working.
Have started phone into recovery mode by pressing volume down button and plugging in the USB cable.
After entering `fastboot devices` my device was listed.
Using commands `fastboot reboot` or `fastboot continue` I've got next error:
```
ERROR: could not clear output pipe; result e00002ed, ignoring....
Resuming boot
```
To accept `fastboot continue` command I've needed to disconnect USB cable, enter command, confirm it, and plug in USB cable back into the phone, and it booted.
Steps:
1. Boot phone into recovery mode (Press volume down button and plug in USB cable connected to charger or PC)
2. Disconnect phone from PC
3. Enter `fastboot continue` press enter
4. Connect phone to PC
Upvotes: 0 <issue_comment>username_6: try this
```
fastboot oem poweroff
```
Upvotes: 1 <issue_comment>username_7: Not all recovery have a poweroff.
Good time to install TWRP.
Some phones will overwrite once started, but should give you a chance to install it.
You don't need to write anything else but that new recovery (different partition than System) to phone and TWRP alone will not root your phone or remove your data (but be sure to write to recovery part of phone and use correct version, consult forums esp. on xda-developer and twrp.me).
It have a nice interface and should allow you to turn phone off among other stuff.
( --
My Xiaomi started asking to activate and then failing doing it, so close to bricked.
Planning to go away from stock ROM and root the phone, but missing paperclip and phone have decided to encrypt the SD-card, so looking for a shutdown too which broght me here :P.
Until I can go to a local store to exchange the card with a card I just written various stuff to.
\*\*\*\* Xiaomi :P .. It overwrites TWRP, encrypt, require verification and generally takes a long step towards bugging me.
Screen also got a crack from very little (was protected with a overlay and casing.
--)
Upvotes: 0 |
2015/06/16 | 1,571 | 5,968 | <issue_start>username_0: What's the best way to move apps on my SD card? Do I have to root? Because It's getting really out of hand with storage. I only have 8GB on my phone.
The only apps that I have installed myself is Portal, WinRar, Spotify, Textra, Tumblr, Facebook, Messenger, and Twitter. If I try to download anything else, it says I have insufficient space. It's really annoying to be limited to that many apps. I use them very frequently, but it's so annoying how I can't even get a little game to play on my breaks because of this limitation.
Running XT1064 5.0.2 w/ 16gb SD Card<issue_comment>username_1: There is no Fastboot Command that does this.
However you could try holding the power button down until the screen goes blank and then letting go off the power button before the device starts to boot (before the vibrate). This is the only viable way... The list of available Fastboot commands are:
```
usage: fastboot [ ]
commands:
update reflash device from update.zip
flashall flash boot + recovery + system
flash [ ] write a file to a flash partition
erase erase a flash partition
format format a flash partition
getvar display a bootloader variable
boot [ ] download and boot kernel
flash:raw boot [ ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s specify device serial number
or path to device port
-l with "devices", lists device paths
-p specify product name
-c override kernel commandline
-i specify a custom USB vendor id
-b specify a custom kernel base address
-n specify the nand page size. default:
2048
-S [K|M|G] automatically sparse files greater th
an
```
Upvotes: 3 <issue_comment>username_2: ok i got it .. also problem fixed and phone working now .. all i had to do is to put phone in SD Update Mode where it says "Battery Level is Low" then i connected charger and left it for 2 hours then Update process started.
Upvotes: 1 <issue_comment>username_3: If you are planning to charge your phone enough so that you can flash again, try this
```
@echo off
:start
fastboot getvar battery-voltage
fastboot reboot-bootloader
ping /n 6 localhost >nul
goto start
```
save it as a batch file and place it in adb and run it.
This will basically make your phone to reboot the bootloader continuously until you reach a safe battery level for flashing.
Upvotes: 2 <issue_comment>username_4: You can do:
*fastboot reboot-bootloader*
At which point you can use the bootloader menu to shut it down. I believe in pretty much all, if not all, Android bootloaders you can select to power down by either pressing volume down 3 times or volume up 1 time. Pressing the power button should then select to power down. I'm not sure this will work for username_2's original scenario, but it's what I had to do recently to shut down a Droid Turbo that was stuck in continual boot with a broken screen.
Upvotes: 0 <issue_comment>username_5: Had an issue with Motorola X4 where power button was not working.
Have started phone into recovery mode by pressing volume down button and plugging in the USB cable.
After entering `fastboot devices` my device was listed.
Using commands `fastboot reboot` or `fastboot continue` I've got next error:
```
ERROR: could not clear output pipe; result e00002ed, ignoring....
Resuming boot
```
To accept `fastboot continue` command I've needed to disconnect USB cable, enter command, confirm it, and plug in USB cable back into the phone, and it booted.
Steps:
1. Boot phone into recovery mode (Press volume down button and plug in USB cable connected to charger or PC)
2. Disconnect phone from PC
3. Enter `fastboot continue` press enter
4. Connect phone to PC
Upvotes: 0 <issue_comment>username_6: try this
```
fastboot oem poweroff
```
Upvotes: 1 <issue_comment>username_7: Not all recovery have a poweroff.
Good time to install TWRP.
Some phones will overwrite once started, but should give you a chance to install it.
You don't need to write anything else but that new recovery (different partition than System) to phone and TWRP alone will not root your phone or remove your data (but be sure to write to recovery part of phone and use correct version, consult forums esp. on xda-developer and twrp.me).
It have a nice interface and should allow you to turn phone off among other stuff.
( --
My Xiaomi started asking to activate and then failing doing it, so close to bricked.
Planning to go away from stock ROM and root the phone, but missing paperclip and phone have decided to encrypt the SD-card, so looking for a shutdown too which broght me here :P.
Until I can go to a local store to exchange the card with a card I just written various stuff to.
\*\*\*\* Xiaomi :P .. It overwrites TWRP, encrypt, require verification and generally takes a long step towards bugging me.
Screen also got a crack from very little (was protected with a overlay and casing.
--)
Upvotes: 0 |
2015/06/16 | 849 | 3,349 | <issue_start>username_0: I read the tag wiki and about 10 pages deep of questions tagged [data-recovery](/questions/tagged/data-recovery "show questions tagged 'data-recovery'"), but it only depressed me.
I deleted a folder of photos off of my phone by accident and need to retrieve them. I haven't done anything on the phone that could potentially overwrite the internal memory where the photos were stored, except for downloading and trying an app recovery tool ("photo recovery"), which of course didn't work.
The phone is an HTC Desire 510 running 4.4.2 (**unrooted**). My computer is running Ubuntu GNOME 14.04
From what I could find googling, PhotoRec seems to be a good free option. Unfortunately, PhotoRec is not detecting my phone. Apparently it's due to the MTP protocol. I cannot find any way to opt for USB mass storage.
What should I do? I cannot find a single helpful resource online and the longer I wait the worse my chances are (in my mind at least).
I found one thing that gives me hope: <https://github.com/IzzySoft/Adebar>. Does anyone know if this could be what I need?<issue_comment>username_1: The only way to recover your photos is that you will need to root your phone. There is really no other way to restore the data you already deleted. First you will need to root your device and then you can recover your files. Rooting your device will void your warranty. Next time before you accidentally delete your photos, use an online backup tool like Google Plus/Photos, dropbox etc.
This app will restore the photos for you: [DiskDigger [ROOT]](https://play.google.com/store/apps/details?id=com.defianttech.diskdigger).
Hope my answer helps
Upvotes: 1 <issue_comment>username_2: Root is not needed necessarily, only custom recovery with adb enabled.
I'm on my phone now so this will be short.
What you need is to dump the partition image to a computer and then run photorec (or other tool) on that image. This can be achieved via adb with root access that can be gained without actually rooting the phone (but you may need to unlock the boot loader).
Do NOT install anything on the phone itself, preferably don't even start it.
Flash custom recovery, boot to it and then go adb shell from a computer. Use some pipe/fifo/netcat magic to dump the image to the computer, then photorec it.
I know this answer is far from ideal but it should at least give you some idea what to do. I'll edit it and add more info after I get to an actual computer.
Upvotes: 0 <issue_comment>username_3: *[Adebar](https://github.com/username_3Soft/Adebar)* can assist you here, yes. It can help you identify your device's partitions, and get a copy of them to your computer – which you can use there with e.g. *PhotoRec* or rather its pendant *TestDisk.*
But in order to do so, it requires root access on your device (otherwise no low-level access to create images of your partitions). This can be done either by rooting your device, or by installing a custom recovery.
Another important note: Each minute your device is "continue running" lowers your chance of data retrieval, as the "freed space" might be re-used. Additional details can be found in our [data-recovery tag-wiki](https://android.stackexchange.com/tags/data-recovery/info).
Disclosure: I'm the dev of [Adebar](https://github.com/username_3Soft/Adebar).
Upvotes: 1 |
2015/06/17 | 657 | 2,569 | <issue_start>username_0: I have a LG Unify, which has a pathetic 1.2 gigs of internal storage and I put in a 16 gig SD Card which is showing up, but all the apps pile on to the internal one and there is no Move App to SD Card option either. I have rooted it and installed numerous app2SD apps, with no luck. Any help?<issue_comment>username_1: The only way to recover your photos is that you will need to root your phone. There is really no other way to restore the data you already deleted. First you will need to root your device and then you can recover your files. Rooting your device will void your warranty. Next time before you accidentally delete your photos, use an online backup tool like Google Plus/Photos, dropbox etc.
This app will restore the photos for you: [DiskDigger [ROOT]](https://play.google.com/store/apps/details?id=com.defianttech.diskdigger).
Hope my answer helps
Upvotes: 1 <issue_comment>username_2: Root is not needed necessarily, only custom recovery with adb enabled.
I'm on my phone now so this will be short.
What you need is to dump the partition image to a computer and then run photorec (or other tool) on that image. This can be achieved via adb with root access that can be gained without actually rooting the phone (but you may need to unlock the boot loader).
Do NOT install anything on the phone itself, preferably don't even start it.
Flash custom recovery, boot to it and then go adb shell from a computer. Use some pipe/fifo/netcat magic to dump the image to the computer, then photorec it.
I know this answer is far from ideal but it should at least give you some idea what to do. I'll edit it and add more info after I get to an actual computer.
Upvotes: 0 <issue_comment>username_3: *[Adebar](https://github.com/username_3Soft/Adebar)* can assist you here, yes. It can help you identify your device's partitions, and get a copy of them to your computer – which you can use there with e.g. *PhotoRec* or rather its pendant *TestDisk.*
But in order to do so, it requires root access on your device (otherwise no low-level access to create images of your partitions). This can be done either by rooting your device, or by installing a custom recovery.
Another important note: Each minute your device is "continue running" lowers your chance of data retrieval, as the "freed space" might be re-used. Additional details can be found in our [data-recovery tag-wiki](https://android.stackexchange.com/tags/data-recovery/info).
Disclosure: I'm the dev of [Adebar](https://github.com/username_3Soft/Adebar).
Upvotes: 1 |
2015/06/17 | 125 | 500 | <issue_start>username_0: I don't think the edge screen is useful.
Often, its just causing unexpected things to trigger and run.
Can it be turned off?<issue_comment>username_1: **No**, you can't turn it off.But you can set timeout for it as low as possible to turn it offf quickly.
Settings > Edge Screen > Edge Screen Timeout
Upvotes: 1 <issue_comment>username_2: You can't exactly turn it off but b you can turn off all the edge screen features individually if you no longer need them
Upvotes: -1 |
2015/06/17 | 375 | 1,606 | <issue_start>username_0: After upgrading my Galaxy S5 to Android 5.0, the sliding bar on the graph which allows you to show data usage for a prescribed date range is no longer there. For example, in the older Android I was able to slide the bar to show data usage for the last 24 hours, or for whatever range of days I wanted- it was so easy and fast. I understand that there is an option to change the date range in the options, but this is more time consuming and you need to change it every time you want to show a different range- the slider was so much easier and faster. Is there any way to bring this back or perhaps an app that has this feature? I don't understand why several useful features have been removed in the new update, as I mention in my other question here.<issue_comment>username_1: I'm not sure if it'll work, but disable wi-fi, enable mobile data and resart your phone, try if it works
Upvotes: -1 <issue_comment>username_2: Samsung probably removed this ability in their recent update, as LG handsets are also missing this feature from previous Android versions. The best course of action to monitor your data usage in detail is to run a search on the Play Store for data monitoring apps. [A quick search I ran returns a plethora of results.](https://play.google.com/store/search?q=data%20monitoring&c=apps)
Upvotes: 0 <issue_comment>username_3: Thing is mine disappeared but I still got the notification that I reach my limit. From that notification I could use the data slider but if I come out from it I won't be able to get it unless the notification comes up again.
Upvotes: 0 |
2015/06/17 | 280 | 1,177 | <issue_start>username_0: I use ColorNote quite a bit and I sometimes write personal things. Does ColorNote secretly spy on me, like send those notes somewhere over the Internet without my permission? I don't have any particular reason to suspect it, I am just asking. Is there a way to be sure or are we at the mercy of the app developers?
Thanks.<issue_comment>username_1: I'm not sure if it'll work, but disable wi-fi, enable mobile data and resart your phone, try if it works
Upvotes: -1 <issue_comment>username_2: Samsung probably removed this ability in their recent update, as LG handsets are also missing this feature from previous Android versions. The best course of action to monitor your data usage in detail is to run a search on the Play Store for data monitoring apps. [A quick search I ran returns a plethora of results.](https://play.google.com/store/search?q=data%20monitoring&c=apps)
Upvotes: 0 <issue_comment>username_3: Thing is mine disappeared but I still got the notification that I reach my limit. From that notification I could use the data slider but if I come out from it I won't be able to get it unless the notification comes up again.
Upvotes: 0 |
2015/06/17 | 1,154 | 4,038 | <issue_start>username_0: I'm still learning how to use the terminal. I know the dangers of fiddling with it. But I want to use the terminal emulator app to navigate my phone(messaging, camera, launch applications, etc) from the command line. What are the commands and where should I start<issue_comment>username_1: My first suggestion would be to take a [Nandroid backup](https://android.stackexchange.com/q/48833/96277) (requires a [custom Recovery](http://wiki.cyanogenmod.org/w/All_About_Recovery_Images)) first if you've had an unpleasing incident on some other OS, or want to recover from one after fiddling with terminal on Android.
>
> I want to use the terminal emulator app to navigate my phone(messaging, camera, launch applications, [and so on).]
>
>
>
Messaging and Camera (UI not HW) are also apps in Android and are accessed in the manner similar to other apps (they have their `.apk` in `/system/app`). The most common way to access an app is to call its component or activity using `am` command. Consider [this](https://android.stackexchange.com/a/110812/96277) as an example to use `am`. See more examples on [Stack Overflow](https://stackoverflow.com/) like:
* [How to start an Android application from the command line?](https://stackoverflow.com/questions/6613889/how-to-start-an-android-application-from-the-command-line)
* [How to run a specific Android app using Terminal?](https://stackoverflow.com/questions/5494764/how-to-run-a-specific-android-app-using-terminal)
* [How to start an application using android ADB tools?](https://stackoverflow.com/questions/4567904/how-to-start-an-application-using-android-adb-tools)
`am` will only launch a part of the app and possibly would need root access if called without ADB(has higher privilege then a normal user). So how would you interact with the app from command line?
For that, I prefer to use Android keyevent or Pointer location (under **Developer options**) combined with the `input` command. See:
* [ADB Shell Input Events](https://stackoverflow.com/questions/7789826/adb-shell-input-events)
* [How to use ADB to send touch events to device using sendevent command?](https://stackoverflow.com/questions/3437686/how-to-use-adb-to-send-touch-events-to-device-using-sendevent-command)
You would now be able to launch an app with UI and can use the app rather easily from command-line.
>
> What are the commands?
>
>
>
I'm not aware of all the commands but you can take a look at `/system/bin` and `/systen/xbin` (like `/bin` and `/sbin` in GNU/Linux). You'll need root access to use some of them. (See [Busybox](https://play.google.com/store/apps/details?id=stericson.busybox) too.)
>
> Where should I start?
>
>
>
Well, I'm unaware of a crash-course and I would advise to work on an issue or a possibility to learn the *know-how* of terminal rather easily. Try [this answer](https://android.stackexchange.com/a/111228/109933) for a start.
Good Luck!
Upvotes: 1 <issue_comment>username_2: You can try your hand on [Qpython](http://qpython.com/)
Basically QPython is a script engine which runs Python programs on android devices.
It includes libraries like [SL4A](https://github.com/damonkohler/sl4a) and [Android Helper](https://code.google.com/p/python-for-android/downloads/detail?name=androidhelper.py) which can do all the things you mentioned via its terminal.
You can also install only SL4A
[HERE](http://www.pythoncentral.io/python-for-android-the-scripting-layer-sl4a/) is information about it.
An excerpt from site on installation
>
> SL4A is really easy to install. The application is distributed as an APK, the standard format for Android apps, so it can be installed in the same way. However, before installing apps from 'unknown sources', you need to allow that on your device. If you haven't already, open your device's main Settings menu, open the Security menu, then "allow installation of non-Market apps" by checking the Unknown Sources option. Now you're ready to install the Scripting Layer.
>
>
>
Upvotes: 0 |
2015/06/17 | 1,154 | 4,043 | <issue_start>username_0: As much as I know, most apps won't ever start, unless you launch them at least once (even if they have a background service).
But what about those, that for example, have the Receive Intent Boot Successfull in their Manifest? Will that be enough to launch their code?<issue_comment>username_1: My first suggestion would be to take a [Nandroid backup](https://android.stackexchange.com/q/48833/96277) (requires a [custom Recovery](http://wiki.cyanogenmod.org/w/All_About_Recovery_Images)) first if you've had an unpleasing incident on some other OS, or want to recover from one after fiddling with terminal on Android.
>
> I want to use the terminal emulator app to navigate my phone(messaging, camera, launch applications, [and so on).]
>
>
>
Messaging and Camera (UI not HW) are also apps in Android and are accessed in the manner similar to other apps (they have their `.apk` in `/system/app`). The most common way to access an app is to call its component or activity using `am` command. Consider [this](https://android.stackexchange.com/a/110812/96277) as an example to use `am`. See more examples on [Stack Overflow](https://stackoverflow.com/) like:
* [How to start an Android application from the command line?](https://stackoverflow.com/questions/6613889/how-to-start-an-android-application-from-the-command-line)
* [How to run a specific Android app using Terminal?](https://stackoverflow.com/questions/5494764/how-to-run-a-specific-android-app-using-terminal)
* [How to start an application using android ADB tools?](https://stackoverflow.com/questions/4567904/how-to-start-an-application-using-android-adb-tools)
`am` will only launch a part of the app and possibly would need root access if called without ADB(has higher privilege then a normal user). So how would you interact with the app from command line?
For that, I prefer to use Android keyevent or Pointer location (under **Developer options**) combined with the `input` command. See:
* [ADB Shell Input Events](https://stackoverflow.com/questions/7789826/adb-shell-input-events)
* [How to use ADB to send touch events to device using sendevent command?](https://stackoverflow.com/questions/3437686/how-to-use-adb-to-send-touch-events-to-device-using-sendevent-command)
You would now be able to launch an app with UI and can use the app rather easily from command-line.
>
> What are the commands?
>
>
>
I'm not aware of all the commands but you can take a look at `/system/bin` and `/systen/xbin` (like `/bin` and `/sbin` in GNU/Linux). You'll need root access to use some of them. (See [Busybox](https://play.google.com/store/apps/details?id=stericson.busybox) too.)
>
> Where should I start?
>
>
>
Well, I'm unaware of a crash-course and I would advise to work on an issue or a possibility to learn the *know-how* of terminal rather easily. Try [this answer](https://android.stackexchange.com/a/111228/109933) for a start.
Good Luck!
Upvotes: 1 <issue_comment>username_2: You can try your hand on [Qpython](http://qpython.com/)
Basically QPython is a script engine which runs Python programs on android devices.
It includes libraries like [SL4A](https://github.com/damonkohler/sl4a) and [Android Helper](https://code.google.com/p/python-for-android/downloads/detail?name=androidhelper.py) which can do all the things you mentioned via its terminal.
You can also install only SL4A
[HERE](http://www.pythoncentral.io/python-for-android-the-scripting-layer-sl4a/) is information about it.
An excerpt from site on installation
>
> SL4A is really easy to install. The application is distributed as an APK, the standard format for Android apps, so it can be installed in the same way. However, before installing apps from 'unknown sources', you need to allow that on your device. If you haven't already, open your device's main Settings menu, open the Security menu, then "allow installation of non-Market apps" by checking the Unknown Sources option. Now you're ready to install the Scripting Layer.
>
>
>
Upvotes: 0 |
2015/06/18 | 828 | 3,228 | <issue_start>username_0: With reference to my question here:
[IM-A870L Radio Interface Layer broke down](https://android.stackexchange.com/questions/111422/im-a870l-radio-interface-layer-broke-down)
**Summary:**
My android phone broadband chip is dead. For some reason, its not working anymore. Now I can use the phone for other purposes but the problem is that the phone goes to look for broadband every now and then. Which not only drains battery but also hangs the phone. For e.g. if I press the power button to turn off the screen, I cannot put the screen back on immediately, it takes a couple of minutes before the phone gets back to normal.
My research resulted in this theory that every phone has two operating systems, one is your main operating system (i.e. Android, iOS, etc) and another parallel os is running with the broadband/gsm chip. Now the cells main OS tries to communicate with the gsm os to keep track of calls/sms. This communication is done through RIL (Radio Interface Layer), but if your gsm chip is dead, RILD is dead and thus the main os will not be able to connect to the RILD (RIL Daemon) through the socket associated for it.
Now the solution for this situation would be to tell your main os that it does not have to connect or keep on trying to connect to the RILD because it is not there anymore.
I am sure this can be done, because tablets that do not have any gsm also work with the same OS, which means in case of tablets, the OS is aware that there is no GSM to look for and thus there is no RILD connection attempts.
My question is that how can we tell our device that it does not have to attempt RILD calls? Is there a global setting or flag that tells the device that there is no GSM in this device??
My device is rooted and I can run any shell command or script.
Any help will be highly appreciated...<issue_comment>username_1: When you turn on your device, start `adb shell` and enter `stop service rild`. This would stop the RILD service and you can then use your phone for other purposes. However, on restart, the service would start again. For that, you need to edit your `init.rc` file. Just delete the lines that are starting the RILD service and then the RIL would not be a part of the OS anymore. Consequently, there will be no more attempts to the GSM modem.
Hope things are clear now.
Upvotes: 1 <issue_comment>username_2: Finally I got this solved!
The issue was with Android KitKat, it was having some sort of bad piece of code that was hanging my phone and draining all the battery.
I installed the Lollipop version offered by Resurrection Remix on this forum:
<http://forum.cyanogenmod.org/topic/103422-android-51-for-vega-iron-im-870slk-stable/>
My phone is working fine now, no hanging, no battery drainage.
Although I still have the Baseband unknown and my GSM does not work, which implies that it could be hardware issue all along (there is still a chance that I can update my IMEI and it could work, but I can live with out it ;). But the phone works fine and does not hang eventhough radio layer is broken, which means this issue is handled smartly in the 5.1 while the 4.x is not liked for many more reasons by Android users.
Upvotes: 1 [selected_answer] |
2015/06/18 | 753 | 2,761 | <issue_start>username_0: I want to add a shortcut to the tethering/mobile hotspot setting, but I can't find the settings widget. Does this not exists? Is there a way to add it to the quick settings (swipe down from top)?<issue_comment>username_1: **Note: Root access is required**.
Follow the instructions:
1. Install [SQLite Editor](https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor).
2. Open the app and look for "Setting Storage" entry
3. Select "Setting Storage" and then select `settings.db`
4. Next select "system". This would be the last item on the list
5. Tap on the search icon and search for "notification" and select "OK"
6. Tap on the Plus sign "+" to add new parameter
7. Under `name`, type the following: "notification\_panel\_default\_active\_app\_list"
8. In the Value field, type all the toggle you want in there. I usually do a copy and past from a text file to avoid any mistake
9. Hit the same button
10. Select "notification\_panel\_active\_app\_list" and paste/type the same value as in step 8. above and save it.
11. You could do the same for "notification\_panel\_default\_active\_app\_list\_for\_res t"
Additionally, you could increase the number of scrollable toggles from 10 to any value you want. I usually have it at 20. The parameter you need is the "notification\_panel\_active\_number\_of\_apps"
You can also add SFinder and QuickConnect to the toggle list and you can then get rid of those two in the drop down to have more space in the notification area.
I have provided a list of the toggle I commonly use as a text. Please note that some toggles might not be relevant to the ROM you're using and might not work or do anything when toggled. E.g. Don't expect touch to work if it hasn't been implemented in your ROM version, and so on.
You can never loose any toggle again and you can add more as needed.
```
Wifi; MobileData; Location; Bluetooth; AutoRotate; Torc hLight; MultiWindow; SilentMode; Ebook; NetworkBooster ; SideKey; WiFiHotspot; AllShareCast; SBeam; Sync; Toddl erMode; SmartStay; SmartPause; SmartScroll; SmartNetwo rk; Nfc; PowerSaving; UltraPowerSaving; AirplaneMode; A irView; AirGesture; Toolbox; CarMode; QuickConnect; SFi nder;NetworkBooster;TouchSensitivity; DoNotDisturb; DormantMode; Brightness; PersonalMode;
```
Upvotes: -1 <issue_comment>username_2: The best solution I could come up with was to install [Power Toggles](https://play.google.com/store/apps/details?id=com.painless.pc), and add a shortcut to my homescreen. From unlocked, this is 1 tap. And if locked, because I use fingerprint unlock, it's hardly more than 1 tap anyway.
I can't use root because this is a work-supplied phone, and some required software won't work if the phone is rooted.
Upvotes: 1 |
2015/06/18 | 784 | 2,932 | <issue_start>username_0: I want to create a file association between my local HTML pages and Google Chrome, the reason being that I am beginning to develop HTML pages and I need to be able to access the URL address as I use this to pass parameters between HTML pages. I am hoping that when opening the HTML page in Chrome I will be able to do this, as it appears that 'HTML viewer' does not.<issue_comment>username_1: **Note: Root access is required**.
Follow the instructions:
1. Install [SQLite Editor](https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor).
2. Open the app and look for "Setting Storage" entry
3. Select "Setting Storage" and then select `settings.db`
4. Next select "system". This would be the last item on the list
5. Tap on the search icon and search for "notification" and select "OK"
6. Tap on the Plus sign "+" to add new parameter
7. Under `name`, type the following: "notification\_panel\_default\_active\_app\_list"
8. In the Value field, type all the toggle you want in there. I usually do a copy and past from a text file to avoid any mistake
9. Hit the same button
10. Select "notification\_panel\_active\_app\_list" and paste/type the same value as in step 8. above and save it.
11. You could do the same for "notification\_panel\_default\_active\_app\_list\_for\_res t"
Additionally, you could increase the number of scrollable toggles from 10 to any value you want. I usually have it at 20. The parameter you need is the "notification\_panel\_active\_number\_of\_apps"
You can also add SFinder and QuickConnect to the toggle list and you can then get rid of those two in the drop down to have more space in the notification area.
I have provided a list of the toggle I commonly use as a text. Please note that some toggles might not be relevant to the ROM you're using and might not work or do anything when toggled. E.g. Don't expect touch to work if it hasn't been implemented in your ROM version, and so on.
You can never loose any toggle again and you can add more as needed.
```
Wifi; MobileData; Location; Bluetooth; AutoRotate; Torc hLight; MultiWindow; SilentMode; Ebook; NetworkBooster ; SideKey; WiFiHotspot; AllShareCast; SBeam; Sync; Toddl erMode; SmartStay; SmartPause; SmartScroll; SmartNetwo rk; Nfc; PowerSaving; UltraPowerSaving; AirplaneMode; A irView; AirGesture; Toolbox; CarMode; QuickConnect; SFi nder;NetworkBooster;TouchSensitivity; DoNotDisturb; DormantMode; Brightness; PersonalMode;
```
Upvotes: -1 <issue_comment>username_2: The best solution I could come up with was to install [Power Toggles](https://play.google.com/store/apps/details?id=com.painless.pc), and add a shortcut to my homescreen. From unlocked, this is 1 tap. And if locked, because I use fingerprint unlock, it's hardly more than 1 tap anyway.
I can't use root because this is a work-supplied phone, and some required software won't work if the phone is rooted.
Upvotes: 1 |
2015/06/18 | 693 | 2,881 | <issue_start>username_0: I have tracks saved offline in Spotify. I also have individual MP3 audio tracks that I have manually added to my music folder in my phone (Galaxy S6). However, if I want to shuffle everything then I have to jump between Music app and Spotify app manually. Which is a pain, and a bit dangerous if I'm driving.
What I'd like to do is be able to 'merge' all these tracks together. Whether this is a single playlist of everything, or a way of moving my local music into Spotify app, something like that.
One option i had was to just re-download the local tracks in Spotify itself, but not all the music I have is found there.
How can I merge all my music from my device into one usable playlist?<issue_comment>username_1: It is not possible to merge them to one playlist. However you can sync local files to one playlist. To do that follow the steps below:
>
> **Note:** This will require that spotify is installed on one of your computers and that your Android device is on the same WI-FI network as your computer.
>
>
>
Steps
=====
1. On your pc open Spotify, and go to `Edit -> Preferences`.
2. In preferences, look for `Local Files` and check the sources you want to show the local music from. You can directly add sources like **Windows Media Player** and **iTunes library** by simply checking the respective options. Or you can also add a folder with some music when you click on `Add Source...`.
3. All the files you import to **Spotify** can be viewed and played from Local Files section under Collection in the sidebar. If you have to musch music in your local repository, creating playlists from local files would be a great idea for you.
4. Make sure your Android phone is connected to the same WI-FI network and is signed in with the same **Spotify** account as your PC. (Off-topic: for an IPod connect it with a USB cable)
5. If not already done so: Download Spotify for Android: [Spotify Music for Android](https://play.google.com/store/apps/details?id=com.spotify.music)
6. Once the desktop application identifies the connected device, it will show you a pop-up asking whether you would like to sync the device with Spotify. Click on the button to open the sync window.
7. Now the app on your phone will sync all the music playlist you created on your computer to your mobile device.
>
> **Note:** It may take some time till it is finished syncing the music to your device.
>
>
>
Conclusion
==========
If you followed the steps above correctly, then you now should be able to listen to local files stored on your pc.
I hope this will answer your question. For any questions, just leave a comment below.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can add the local files to your Spotify app then you can listen to Music which you have downloaded as offline tracks and your local tracks on one app.
Upvotes: -1 |
2015/06/18 | 640 | 2,583 | <issue_start>username_0: I recently came across some apps in playstore and I want to install those apps. Since I don't have sufficient internal memory I can't install them. It says
>
> Error downloading app "xyz app". There is insufficient space on the
> device.
>
>
>
So I want to save those apps to my wishlist and install it later until I free up my phone's internal memory. But once I got the error message that I mentioned above the `Wishlist` icon in the Playstore app and `Add to wishlist` button in <http://play.google.com> are not visible for the apps that I tried to install.
Weird this is when I haven't installed the app, the web version of playstore is showing "Installed" and my mobile PlayStore app is Showing "Install" button. And the app is not listed in "My Apps" section.
*Hint:* I guess the problem will be solved once I turn the "Installed" button to "Install" button in the playstore website which in turn will bring back the "Add to wishlist" button. But how can I do that?<issue_comment>username_1: When you mentioned the "app is not listed in 'My Apps' section", do you mean the 'Installed', 'My Apps' section or the 'All' 'My Apps' section?
I think they should be listed in the 'All' section, and therefore, you won't be able to add them to your wishlist because you already have them, even if they aren't installed.
If you go to the 'All' section in your Moto G and find the apps, if they are there, and then press the 'cross' icon for each one, the apps should be removed from your 'My Apps' and you will be able to add them to your wishlist. This will only work if the apps are free because trying to remove paid apps from 'My Apps' means they don't display in 'My Apps' but are essentially still there because you have paid for the apps and Google doesn't want you to discard them.
If the apps are paid, you can refund them (either using the 'Refund' button which will display near the apps for a limited time after purchase or, I assume, contacting Google). The apps will then be removed from the 'My Apps' section and you will be able to add them to your wishlist.
If the apps don't display in the 'All' or 'My Apps' section, try clearing the data and cache of the Play Store and then signing back in your phone and see if the situation changes and if it doesn't, I would ring Google support because they have the power to sort out stuff on the server-side.
Upvotes: 3 [selected_answer]<issue_comment>username_2: -go to settings
- tap "clear local search history"
- search the app again ang wishlist option will appear
Upvotes: -1 |
2015/06/18 | 373 | 1,619 | <issue_start>username_0: which files in the phone are changed when a phone is rooted. Is any app is installed during this? Can we manually change apps in phone to have root permissions?<issue_comment>username_1: Basically just exploiting the system to allow arbitrary code execution, or code not from the developers.
Check out this article: [Android Rooting: A Developer's Guide](http://seasonofcode.com/posts/android-rooting-a-developer-s-guide.html)
Upvotes: -1 <issue_comment>username_2: "Can we change apps in phone to have root permission?" If the app was built to use root permissions, you need them to run the app. Unless said app is open source, you cannot modify it to use root permissions. I also do not believe an app can root a device. You must have an in depth knowledge of the OS to make an app to root a phone. Which files are changed?
I dont know. I do know that you sound like someone who wants to root ur phone. The process is probably more complicated than changing a few lines of code in some remote, hard to find file in your device. I suggest learning more on the topic and on already-available solutions if this is you. If not, well, ignore this last paragraph :)
Upvotes: 0 <issue_comment>username_3: To answer your main question. Normally rooting installs an app to control the allocation of the root permission to apps that request it and also adds the root (or super user) binaries to the device therefore enabling it. You cannot change an app to request root but you need to change it at the source to do so. Which is a question for [stack overflow](http://stackoverflow.com).
Upvotes: 0 |
2015/06/18 | 433 | 1,809 | <issue_start>username_0: When I plugged in my edge it made a couple of funny noices as if the charger doesn't make proper contact, then it just freezed on a blue screen with a down arrow, underneath it says "Downloading Do not run off target". No matter what I do it is stuck on that screen. I took a photo of the screen -
<issue_comment>username_1: Basically just exploiting the system to allow arbitrary code execution, or code not from the developers.
Check out this article: [Android Rooting: A Developer's Guide](http://seasonofcode.com/posts/android-rooting-a-developer-s-guide.html)
Upvotes: -1 <issue_comment>username_2: "Can we change apps in phone to have root permission?" If the app was built to use root permissions, you need them to run the app. Unless said app is open source, you cannot modify it to use root permissions. I also do not believe an app can root a device. You must have an in depth knowledge of the OS to make an app to root a phone. Which files are changed?
I dont know. I do know that you sound like someone who wants to root ur phone. The process is probably more complicated than changing a few lines of code in some remote, hard to find file in your device. I suggest learning more on the topic and on already-available solutions if this is you. If not, well, ignore this last paragraph :)
Upvotes: 0 <issue_comment>username_3: To answer your main question. Normally rooting installs an app to control the allocation of the root permission to apps that request it and also adds the root (or super user) binaries to the device therefore enabling it. You cannot change an app to request root but you need to change it at the source to do so. Which is a question for [stack overflow](http://stackoverflow.com).
Upvotes: 0 |
2015/06/19 | 785 | 2,957 | <issue_start>username_0: When I got my most recent phone, a Samsung Galaxy S5, it came with all sorts of apps that I never touch. "Kids Mode", "Samsung Health", "Samsung Remote", and a host of other apps that I haven't used and will never use.
I understand why these come preinstalled. It's offering the option to use them, and I'm sure some users will find it convenient to have suggested uses for their phone.
What I don't understand is why I can't get rid of them. What is the value for anyone in forcing me to keep applications I will never use?
Bonus question: Can I get rid of them? My phone is rooted.<issue_comment>username_1: Just navigate to system/app and delete any bloatware you want. Be careful that you don't delete anything that is crucial to the functioning of the system.
Upvotes: 2 <issue_comment>username_2: >
> Can I get rid of them?
>
>
>
Sure! If you wanna go straight ahead then try an app like [System app uninstaller](https://play.google.com/store/apps/details?id=com.ljmobile.system.app&hl=en) to remove system apps including the bloatware. Remember to remove with utmost caution since a critical file once removed may render the Android unusable at best.
See [Titanium Backup](http://www.titaniumtrack.com/kb/titanium-backup-kb) too which can take backup and remove junk from Android.
To counter the above issue of unusable system, I advise installing a custom Recovery and then taking a Nandroid Backup (save it to external storage) to be at safe side if things go south.
>
> Why do phone makers not let me uninstall their pre-bundled apps?
>
>
>
I don't think you'll ever hear an official announcement as a reason but my guess is they want business, and their apps (bloatware for us) helps in doing that by maintaining a user base through restricting the freedom to tweak the system.
>
> What is the value for anyone in forcing me to keep applications I will never use?
>
>
>
This anyone is your OEM which harness lot of things from these forced apps, as you said *"I'm sure some users will find it convenient to have suggested uses for their phone."*
Note that some OEMs allow you to root your device without voiding the warranty, so technically, they are not forcing but just trying different techniques to maintain their business.
>
> Why I can't get rid of them[?]
>
>
>
Most of the time, you can get rid of them by having root access but it may result in dire consequences. One such is, your warranty may be void by rooting your device if your OEM has such policy.
**Edit:** As per [this article](https://fsfe.org/freesoftware/legal/flashingdevices.en.html) suggested by [Bowdzone](https://android.stackexchange.com/users/113385/bowdzone), rooting your device won't void the warranty of a consumer from EU, since the consumer is protected by **statutory warranty** (irrespective of your OEM's policies).
Over and all, except the first and last part the rest is plain opinion.
Upvotes: 2 |