text:
Message Memory Full in Samsung Galaxy Young Duos & Screenshot transferring
I have a Samsung Galaxy Young Duos. I got it for Christmas in 2012 and recently it has begun to tell me i have insufficient storage etc. Today it told me " Cannot receive message, Device to full..."
It's really annoying, what can I do?
I've been deleting messages but it's not helping D:
Thanks !

wbogacz just added the 'insufficient-memory' tag to your question. I strongly suggest you take a lokk at its tag-wiki, which gives you not only "first aid" but also links to further information sources. Btw: our tag-wikis often do things like that :)

@psb please don't use edits to add a comment or answer to a question

[by psb] The phone memory can be corrupt or there are errors in the software. So to reset remove the battery and the memory card from the phone. Using your PC , scan the memory card for any corrupt files or media files with virus- it is possible when they are downloaded from unsafe sites. If so remove or format the card. Now replace the card and battery and switch on the phone. If the phone hangs up then it is confirmed that the software is corrupt and will need a reinstallation. Seeking help from the authorized service /support centre is most ideal. Take estimate and decide. (fixya.com)


text:
Is it possible to pull data using Android Debug Bridge on an N7 while soft bricked
I've tried countless fixes for my N7 being softbricked (No idea how it was done). I've resorted to using Android Debug Bridge, however I cannot get access to the device (device not recognized from CMD using "adb pull").
The last time the device was used it wasn't set to USB debugging mode and now that it is always stuck on the nexus loading screen I can't change the options. Right now I'm stuck on what to do from here is there anyone out there with the time to help.
The only reason why I'm so eager to not just send back the device is because I have photos on the device I cannot afford to lose. Both Google and Asus, have stated they would not recover any of the files for me and that I have to do it myself if I want them.
Alternatively Could I Wipe/factory reset then use a photo recovery software on the nexus to get the images back. Just to state, my Nexus is stock nothing modified in anyway.
Any advice would help me greatly thanks
Anya~

That's one of the reasons I would never buy a device not offering support for "external" sdcards... Have you tried to boot it into recovery? It might be accessible via ADB then. Fastboot mode (keeping vol-down pressed while switching it on) might also be worth a try (though fastboot does not give you the option to pull some files, you could e.g. (re-)flash an image in the hope to revive the device).

It's catch 22 for me because I want to do these kind of fixes for the device however the USB debugging mode isn't enabled and was never enabled before the device took a turn for the worst. If I could enable USB debugging mode from the recovery menu or somewhere then I can move onto fixing this problem.

I'm not sure whether fastboot actually requires that (never tried). You might be correct, however, that it might be needed for ADB even in recovery mode -- but even that might depend on the device and its ROM implementation...

For using fastboot debug mode is not required. You can download stock image from google and unzip the file ,after that just flash boot.img after entering to fastboot mode. Fastboot flash Command is fastboot flash boot boot.img. But i am not 100% sure this would help your case. But just worth a try.

It's alright I found a more simple method. I just wiped/factory reset the tablet that made the nexus boot up to the welcome screen again. Then I used an image recovery software program to retrieve the photos so now I have a fixed nexus and memories back, good times. The recovery program is called Recuva.

It's alright I found a more simple method. I just wiped/factory reset the tablet that made the nexus boot up to the welcome screen again. Then I used an image recovery software program to retrieve the photos so now I have a fixed nexus and memories back, good times. The recovery program is called Recuva. –

Could you share how you did it?

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
How can I root my HTC Legend without erasing my data?
I want to root my HTC Legend but I don't want to lose my data on it. I have seen the unrevoked method for rooting HTC devices but it does not have a version specifically for HTC Legend. Would the HTC Wildfire version work or do I need to look elsewhere?

I finally worked out how to do this. I used Z4Root to gain root access and it worked perfectly. I was able to get the data I needed without any problems at all.

You may want to select your answer as the correct one.

I'm not allowed to until tomorrow.

With rooting there is no guarantee that you won' lose your data, but in general it is safe. For rooting the HTC Legend it looks like the following is the best method:

Register with HTC Dev and unlock you bootloader
Get the ACS HTC Super Tools and drivers from here
Install the drivers
UnRAR the Super Tools
Ensure your phone has USB Debugging enabled
Plug phone into computer and run SuperTool.exe
Do options 1 and 3 (in that order) to root your phone
Download the S-Off file from here
Move that file to the htcsupertoolv3\root\ folder where adb and fastboot are
Open a command prompt and navigate to the root folder where you put the S-Off image from above
Run the following commands:
 adb reboot bootloader
 fastboot flash recovery recovery-clockwork-5.0.2.0-legend.img
You are now rooted with a custom recovery.

Note: I don't have an HTC Legend and this is just a synthesis of research that I have done.

I have already gone through all of the HTCdev bootloader unlock preocedures and it will factory reset my phone.

Sorry about that. As far as I can tell you need to unlock the bootloader to root.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
Saving a photo attached in text message
I have a Galaxy S2, running Android 4.0.3
I can open a photo attached to a text message. How can I save the photo (not the message)?

Have you tried a long-press?

When in the message window, "long press" the image (hold your finger down on the image for a second or two) and a menu should pop up giving you the option to download or save the attachment.
When you go to your gallery you'll usually see attachments you've downloaded in a folder called "Downloads" or "Messaging."

On my android 4.4.2 tablet running the app "messaging 4.40.150" do a long hold on the message body not the photo.  It opens a dialogue which allows saving the attachment.  It was easy after that.

I have a Galaxy S4 running Android 4.2.2

In Messaging in the Message I have been sent a photo.. underneath it says MMS
I tap the photo and it goes fullscreen
I tap the (anachronistic floppy disk) save icon
I can rename it
I hit OK and it responds with: Attachment copied to device storage
It is now saved to:

Internal Storage/Download

I use Dropbox to grab it from there
It does not appear in my Gallery :(

If I accidentally long-press I choose Save Attachment for the same thing

Long press the message (not the image or video)
A pop-up window will appear, select save attachments
Files are saved to my Downloads directory

Steps taken from a Droid Turbo

On my phone, running CyanogenMod 12.1, I wasn't asked where to put the file or what to name it. It automatically went to the Downloads folder. In there, it had a cryptic file name: cid:262. I just renamed it to whatever I wanted + .jpg.


text:
Silencing a Whatsapp group
I would like to stop receiving new message notifications from a certain Whatsapp group. Is it possible?
Clarifications:

I don't want to leave the group.
I don't want to turn off all Whatsapp notifications. There are other groups from which I still want to get notifications.
I don't want to just mute the notification sound. What I want is to get rid of the group's notifications entirely.

Sounds like something tasker might be able to do.

Since WhatsApp version 2.11.399 and above for Android you can disable notifications when group is muted.
Follow this:

Open your group which you wanna mute.
Now go in 'Options' > 'Mute'.
A dialog box will pop up and as of WhatsApp version 2.11.399 select the max period available to mute your group which is '1 Year'.
Untick the 'Show Notifications' checkbox. Then click 'OK'.

You won't receive any notifications now from this group on your status bar.
(Click image to enlarge)

Great, except it doesn't work for me.

I can confirm that this works. Make sure you are on the correct version.

This does not work. I do have the option and I can uncheck the box, and maybe it disables the popup from the group but still shows notifications in the notification bar. Which is what I do not want.

The only thing you can do is to go into the Whatsapp group you want to mute. Then select Menu > Mute > 1 Year and uncheck Show notifications.

Thanks, but I'm looking for a solution which eliminates the notifications, not just their sound. Eliminating the notifications themselves is crucial for me.

@snakile I figured, but that won't be possible. It's possible to hide all the notifications of an app. But when you want to hide certain notifications of that app, that has to be an option in the app itself. And Whatsapp just doesn't have that...

Since WhatsApp version 2.11.238, its now possible to avoid notification for any respective group when it is muted. For more detail info please refer my answer.

Unfortunately there is no solution where you disable notifications from one group and not the other.
However, if your question was "I want to get notifications only for individual messages and not group messages" (which was my situation that drove me to this page), here is an answer that may be helpful for other people browsing this page:

Disable all WhatsApp notifications from Settings->Apps->WhatsApp.
Open WhatsApp and enable popup notifications for message
notifications (not group notifications).

Now, messages from individuals will appear as popup messages on your phone, so you sure won't miss them. Other than this, WhatsApp won't bug you for anything else, including notifications of group messages.

In iPhone, you can solve the problem. Open group conversation. Click on group icon, then custom notification change for custom notification on. Change to sound silent and no vibration.
In Android, you can't solve the problem; only by turn off all notifications.

In essence you're asking about how to accomplish something with a specific piece of software that isn't a part of the native functions in that piece of software. It's like asking "how do I log into ICQ with Skype" -- well, it's not going to happen unless you can modify Skype to begin with. Unless Whatsapp is open source and you can hire a developer to write the function you need for you, or there is other software available for accessing the Whatsapp network where this functionality exists or can be added, you're not going to solve this no matter how high of a bounty you set on it.
The most pragmatic and realistic approach is to bug the Whatsapp developers about this until they add the function you want to the software (or stop forcing notifications).

You're right of course. I haven't expected that a huge bounty will magically solve my problem by adding a non-existing feature to whatsapp. What I'm hoping to get here is a workaround. I couldn't think of any but maybe someone else have. Even if a workaround doesn't exist, when this feature will be available on whatsapp, there's going to be an answer here which mentions it.

In the Group Info page, go to "Custom Notification", then change it to disable sound, and disable Alert.
maybe that will help?

I can't find any "Custom Notification" option in the Group Info page. Could you provide a screenshot please?

It's only available on iOS as of now.


text:
rooting android phone
Hi guys. I am new to Android. I wanted to know, when I root my phone, will I be receiving pure android os, and get constant update whenever Google releases new OS? Also, will I be able to revert back to the original UI of the manufacturer?

Rooting your phone doesn't change what OS it runs. It just means you have root access to the existing OS. Changing the OS (i.e. flashing a custom-rom) is a separate thing.
See also the answers to What does "to root a phone" mean? and I've rooted my phone.  Now what?  What do I gain from rooting?

...and follow up to the root tag-wiki as well as rooting tag-wiki for details :)


text:
copying music, pictures and movies from a galaxy s 4g to the pc
My daughter would like to copy (not transfer) her songs, pictures and a movie she has on her Galaxy S 4 G cell phone over to our PC.  How can she do this?

It would be really helpful if you mention which operating system your PC is running.
On Windows 7 and above, you simply need to connect the phone to your PC using a USB-MiniUSB cable. You should then be able to access the files on the phone via Windows Explorer. You can then use Windows Explorer to copy files to and from your PC.
On Windows XP and below, you will need to either:
a) download and install Samsung KIES
b) download and install the Samsung Mobile Device USB Drivers
Once the drivers/software are installed, follow the same steps as for a Windows 7+ PC.

Regardless of the operating system, your daughter could simply use a remote management app like AirDroid. The advantage is: This app is installed on the device, and on the "remote" (here: PC) no special software is required but a web browser. Connection is either done via a shared WiFi network (both devices on the same network), or via the Aridroid server (if there is no shared network, and you have no problems routing your data via alien servers).
Airdroid uses a nice interface, which gives you desktop feeling inside of your browser:

Airdroid (source: Google Play; click image for larger variant)
Not only can you simply drag-and-drop files to transfer, but you can also manage other aspects of your device: accessing its contacts, writing SMS, viewing pictures, and a lot of other things.
And when your daughter is visiting her girlfriend, and wants to share some files with her: No hazzle with drivers or thinking about what OS might be in use. Simply fire up Airdroid, enter the displayed URL in her girlfriend's browser, put the password in the browser, and there she goes.
"Unwanted access"? Sure, if she let's her device lying around unlocked, so someone could fire up Airdroid and make the connection. But honestly, without Airdroid in the same situation the same person simply needed a cable to connect, and could do the same. And as not letting the device lying around unlocked should be a common-sense pre-caution, all stays as safe as before :)


text:
can I transfer a game app from galaxy s3 to galaxy tab 2
just got a galaxy tab 2 today and I would like to transfer the fashion story game my daughter plays on my galaxy s3 phone to it so she doesn't have to start from scratch... she's 8 and found it sooo long to get where she is at

Is the game developed by TeamLava Games?

What Android versions are running on the devices? While Sparx answer looks good to me, it would require both devices to be rooted. You didn't mention whether they are?

Use Titanium Backup to backup the game + data and then transfer the backup to your new device where you can use Titanium Backup on the new device to restore the app+data again.
However, please check whether the app is compatible with your new device.

Try this app
https://play.google.com/store/apps/details?id=com.traber.blueappsender
Using this app you can send the app to another phone or tab.
If you also need the data  simply copy the game data folder (mostly in android>data)


text:
Disable calendar to sync events to exchange server
I've added an event to my calendar locally on a phone. It was a meeting in the evening after my working hours. How am I surprised to realize that my stupid phone sync this event to exchange server and let this information publicly available to everyone on my work. How to disable such an updates? Local calendar should be local. I like how my phone download an information about ongoing events on my work and inform me but not vice versa.

Which version of Android are you using? And which phone? Have you tried explicitly adding it to your gmail calendar? A Google calendar shouldn't sync with the exchange server unless you have it setup to do that.

It's an android version 4. I've just selected "calendar" from a list where to place the event. I do not want to add it into google calendar either. There is no such thing like local and private calendar on android?

There are phone local calendars on Android. But the usual approach would be to mark your event as private so that everybody else just sees the event but no the name or any other information. This way, you don't have to maintain two calendars, plus you are able to coordinate you personal events with your businesses ones.

Your "local and private" Android calendar is your Google calendar. When you've created that personal event it defaulted to your Exchange calendar. In order to avoid this is the future make sure that you create events in the calendar you want  to. Usually it defaults to the last calendar you've created an event in.

Google calendar is not private and is not local.


text:
Does Huawei Honor support silent camera mode in Ice Cream Sandwich?
I use the app Camera Zoom FX for taking photos. On Gingerbread, I was able to mute its sounds via the settings. After updating to Ice Cream Sandwich, I always hear a sound when taking a photo.
Since I updated the app too, I was wondering: Is this a bug in Camera Zoom FX or doesn't ICS for Huawei Honor allow to mute its camera?

Is your phone rooted?

@Penguinolog Nope, it is running standard, unrooted Huawei Honor ICS 4.0.3.

No, your phone needs to be rooted ( as confirmed by the developers ). You may want to try Camera ICS + however which has as many features but remains silent.

Where was this confirmed? Can you link the source?


text:
HTML5 geolocation does not work with GPS in stock browser
I am using a Motorola XOOM2 ME with Android 3.2.2.
Location settings are: no Wifi as source, but GPS as source enabled. Browser is allowed to access location.
If I go to maps.google.com in the Android stock browser, Google Maps cannot get a location. If I go to maps.google.com in Opera Mobile, Google Maps can get a precise location.
If I enable Wifi as a location source, Google Maps can get a location in the stock browser but it is very imprecise.
Using GPS status the GPS itself seems to operate fine.
What could be going on here? I am really out of ideas. TIA.


text:
How do I diagnose a WiFi Error when the phone just reports "Unknown"?
I have a Motorola Atrix (MB860) running Android 2.3.6.  Just today the Wi-Fi suddenly stopped working; On the Quick Settings display it just shows "Unknown", on the phone's Wi-Fi Settings display it just shows "Error" and Wi-Fi won't turn on.
I've tried turning it off and back on several times, and I've tried pulling the battery twice.  I have installed Log Collector, but looking through the log I can't see anything even remotely relevant.
Talking to AT&T (God love 'em) on a previous Wi-Fi issue several months ago, they just blew me off and said they don't help with Wi-Fi issues, so I am not confident in getting help from that direction. If I have my phone replaced, my company will force me to get an iPhone due to a new Apple-only company policy.  So I am on my own.
How might I go about diagnosing the problem?

Try to search for Google the appropriate Kernel for 2.3.6 (presumably you are running on 4.5.141 firmware). Then flash it. When I say "flash", I mean a flash by CWM. Good luck.

Yes, that is my firmware version. What's "CWM"? I'm not sure about flashing it, it's a company phone.

Well, if that's company gadget, then I suggest you send it over for repair; let them do it for you. However, in case you wish to perform the flash, google "CWM flashing" and follow the tutorials. Good luck.


text:
Samsung Note 3 Phone - Clicking camera button fails to take picture
Frequently, I see x1.0 in the middle of my camera preview screen, to the left of a small white box.  I'd like to know what exactly that means, but it seems like when it is there, I cannot take a picture.  Absolutely nothing happens when I click the camera button.
I have taken lots of photos with the phone, but sometimes I fall into the above scenario, and it seems like the only thing I can do is to back out and restart the default camera app.

I would guess that's a zoom indicator. Does the Note 3's camera app allow you to pinch to zoom? Maybe the app is getting hung up for some reason and misinterpreting your tap as part of a pinch gesture.

I just confirmed with the pinch gesture - and can go from x1.0 to x4.0, and at least this morning, every press of the camera button has taken a picture.   Could it have something to do with auto-focus, or the camera still trying to focus?  Yesterday, I was taking a picture of my driver's license, and I've also had it happen at events where there was a lot of movement.

Could it be because I'm shaking a little bit?  I've seen the box turn green and red too, which apparently means it's in focus.  I was just showing 3 guys at work, and they also seem to be baffled.  It will work fine 90% of the time, but once it goes "bad", I need to figure out what it wants to "be happy" and take the picture.

I knew why you have x1.0 appeared on the screen and can't take photo. I had the same problem and found out the answer. If two fingers touch the mon, it will appear x1.0 in order to zoom, and if there is still one finger on the mon and haven't move away, you can't press the camera button until all the fingers have moved away from the mon, the camera button will function again!


text:
open messages to a contact at bottom of list
When I open my messages list with a contact (I presume this is the same across all androids, and not my htc legend) it has the message history with that contact...if you have just received a message from them, the new message is at the bottom and you always have to scroll to it...is there a way to make it so that the new message is focused? or that newer messages are in view by default or by sorting?
Edit
Seems to be a HTC Sense messages app bug...Anyone with HTC Sense not have this problem?

Default messaging app? I don't see this with default or handcent app on htc incredible.

I have an HTC Incredible and I don't have this problem. I do, however, occasionally have to scroll all the way through the messages, and have not figured out why.

HTC Desire stock Froyo rom. I don't see this behaviour. Default message app shows the last messages by default. If I use the contact app (tab with message conversations) I see the more recent messages at the top.
I can confirm that like Kevin M on rare occasions the messaging app will show the earliest messages instead and I have to scroll to the bottom. That's a bug for sure, I've seen it only a couple of times though...

I'm on 2.1 so maybe it will be resolved once the 2.2 update is provided by my carrier.

HTC provided the Froyo (2.2) update for my phone for my carrier which I've now installed and it is no longer a problem. Furthermore, the messaging app in 2.2 is a lot better than 2.1, so happy user all round here.

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/2.5/


text:
Can I install Skype on my xperia?
I want to install Skype on my xperia x10 but I cannot find it in the market
when I go to Skype.com/m and try to download it, I get the following message:

item not found

A friend of mine who has a Nokia C5 was able to install it.
How can I install it?

Doesn't the C5 run Symbian? Skype could be region-restricting Android phones differently than Symbian ones. Regardless, the Xperia X10 is not listed under their supported Verizon devices, so that's why you can't get it directly from their site.

@elder note that for people outside the US there's a different page, that only has Android 2.1 as a requirement and doesn't care about Verizon or supported handsets http://www.skype.com/intl/en/get-skype/on-your-mobile/download/skype-for-android/

@GAThrawn: Hm, you're right. I think I was confused when the OP said he tried to download it from skype.com because the non-Verizon page just redirects to the Market. The US Verizon one lets you enter your phone number to actually get a download from them. At least I assume it gives you a direct download...I don't have a VZW phone.

@GAThrawn i went to the link u provided.but i got >the item cannot be installed in ur device's country

according to https://www.google.com/support/androidmarket/developer/bin/answer.py?&answer=138294 Morocco doesn't have its own Android Market, I think Skype only targets specific country Markets and doesn't go into the "Rest of the world" Market. Skype's FAQs (see comments in my answer below) say to go to getjar.com if Skype isn''t found in your country's Market

There are regional and phone network restrictions for Skype. They may well be different for Nokia phones than Android phones, and your friend may not be on the same phone network as you.
There (is now) one official Skype app in the Play Store, and one I know of that isn't in Play Store:

Skype on Three- Three UK customers only, follow directions on the linked page to get it
Skype - requires Android 2.1+, works on all phone networks (outside of the US) where your phone network allows it.

The above options for finding Skype in the Play Store only work if your country has its own Play Store, if your country currently uses the "Rest of the World" Store, then you won't be able to find Skype. According to Skype's FAQ, if this is the case then you should go to GetJar.com and download Skype from there.
Assuming you're not in a country/network that's blocking Skype then your problem may be the Android OS version on your phone, I think most Xperia x10's are still running Android 1.6 and the normal Skype app requires that you be running Android 2.1 or newer.
I think most countries have an Eclair (Android 2.1) upgrade for X10's, check what Android version your phone is running, and then find out if an upgrade is available.

thank you..how can i know im not country/network that's blocking Skype? (im in Morocco btw) and i have android 2.2

@astro According to the Skype FAQs https://support.skype.com/en/faq/FA10653/How-can-I-get-Skype-on-my-Android-phone#3  `The Android Market only distributes applications in certain countries, so it’s possible that your location isn’t supported. To find a full list of supported locations, please visit Android Market Developer Help.
If you live in a country that's not listed,  then you can still download Skype for your Android phone from GetJar.com. Simply search for "Skype" and download it for free.`

If it really is an Android Market thing, here's a listing of all countries with their own Android Market, and which one's get the "International, free-apps only" Market https://www.google.com/support/androidmarket/developer/bin/answer.py?&answer=138294

getjar doesnt recognise my phone :(

I live in Australia, and can't download 'Skype for au'. From the app description, I think 'Skype for au' is for a Japanese provider named au, not Australian.

@LieRyan thanks, corrected. That'll teach me to make assumptions without reading carefully enough!


text:
Lost phone storage and external storage after editing vold.fstab file
I have a Micromax Canvas Juice A177. Because it has a very small internal memory, I tried to swap the external SD with internal SD.
What I did
I rooted my phone and then I installed ES File Explorer, then I edited the /etc/vold.fstab file and replaced sdcard0 with sdcard1 and sdcard1 with sdcard0. Then I reboot my phone .
What happened
I checked the storage and my phone storage was changed to SD card but total memory was still 700mb (as it was before). I then edited the vold.fstab file once again.
After that, when I checked the storage it showed as:
  PHONE STORAGE
  ________________

  SD CARD
  ________________
  Mount SD card
  Insert an SD card for mounting

I had my SD card inserted, but it still said "Insert an SD card for mounting". When I opened the File Manager it was showing an empty folder (no phone storage, no SD card). Then I performed a factory reset.
The situation now
Phone Storage is showing the same thing (file manager as well). All the installed apps are deleted ,only the system apps are present with SuperSU. I don't have phone storage (only internal storage) and the external SD card is not working.
When I connected my phone to my PC using a USB cable, it is not showing the phone memory.
As you can see I have probably destroyed my phone, and I may not get any benefit from the warranty because I've rooted it. Is there any possible way to get my phone back to its previous state? I tried some tips from the Internet to connect via USB debugging with the Android SDK but it didn't work.

Come on, don't abuse formatting features like that. It doesn't make your question more readable.

First of all you should download the stock ROM:
XDA Forum - Micromax Canvas Juice A77 [Root, Recovery, Roms, Etc][MTK6572]
After that, if you only changed that file, you can extract it from stock rom and replace it in your phone (check to assign the right permissions), factory reset and your phone should work again.
If it's still not working you can flash the whole ROM.
BTW Factory Reset only resets your /data partition it doesn't change /system because that's not supposed to change at all, so factory reset will never restore files in /system. It's always better to backup the original files before you change anything.

My device is Micromax Canvas Juice A177 not A77.
Will this work ?

Probably not, sorry I didn't read it correctly. Anyway same explanation just download the ROM for your phone www.needrom.com/download/micromax-a177-2/

ok thanx....
Can i simply change the file i edited ?
will that work ?

np, if you only changed that file restoring it and restarting should solve your problem. If not try a factory reset too. If it's still not working there must be something else changed so, unless you know what it is, you'll have to flash stock rom. Remember to check user/group and permissions are correct after you restore the file.

Try this modded vold.fstab. Do not delete the file, instead copy & paste the content with this, then reboot the device.
## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label        - Label for the volume
## mount_point  - Where the volume will be mounted
## part         - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################

## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard1 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard  /mnt/sdcard0  auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2  auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2

## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1


text:
"Google BroadcastListener" running for over 78 hours now
On my Galaxy S3 I have "Google BroadcastListener" running for over 78 hours now... Is it possible my ex is accessing it or something?

Also, is this the reason my "record audio" won't work? It tells me that "Unable to start new recording. Other applications already recording", yet I have nothing else on that I am aware of.

No. This listener has nothing to do with "listening" in the sound sense: it's listening for intent broadcasts, which are a kind of signal that different software components in the device use to notify each other of important events. For more explanation about broadcasts, see What's the difference between a service and a broadcast receiver?
If you want to solve the problem of not being able to record audio, I recommend you post a new question with full details about what steps you took, what happened, and how long this has been happening, along with what phone and OS version you have. Without any further details, my first guess would be that  if the audio recorder app you're using stopped unexpectedly, it failed to properly release the mic for use by other apps. In this case restarting the device would fix the problem.


text:
Can I access the Intenet via WiFi if my phone has no SIM card?
I want to use WhatsApp on Samsung GT S5830 in Japan, but I do not have a SIM card for my phone. Can I use the Internet on my mobile via WiFi?

Yes you can if you still have contacts in your mobile and already registered on Whatsapp with a number.


text:
Is it normal that most or all rooting apps get so many virus warnings?
For example, here are some results from VirusTotal:

TowelRoot
The variants of Framaroot (1, 2, 3)

Why is that? Can anyone point to a clean rooting app?

Yes, it's normal. Think about what a rooting app does. It exploits a vulnerability in the operating system to get elevated privileges, and drops a new binary so that it will continue to have those privileges, completely subverting the security of the system. In a way, a rooting app is a virus. You certainly wouldn't want to install one by accident, so it's correct that your antivirus should warn about it.
If you want a "clean" method of rooting, the only way is to use the official method, by unlocking your bootloader and using the recovery to root.


text:
Android won't sync contacts no matter what
My boss bought an iPhone and asked me to sync his contacts. I went to the iPhone and turned on the contact sync from his Google account and "all" the contacts got there, but when I looked, none of the contacts from his phone were there! Looking at his Android, none of his Gmail contacts were there either, and now I can't get this thing working! I need help!
He has an LG (I don't know which model it is) and Android 4.0.4

First of all, remember that sync works both ways - if you delete contacts on the phone, it will delete them on google.  If this happens, don't despair, as gmail has a nice "way-back" type of restore; you can restore back to any time.  I used this for my wife's iphone when I set it up.
I mainly wanted to post this for the above CYA, as I think it's important.  I don't remember exactly what settings I had to change to get it working, and she's not around now, so I can't look to see.  But knowing about the restore should give you the ability to experiment more.
I may have set up the sync to their icloud, or whatever it's called, but I doubt that this really buys anything.  I believe that once you get it in sync, so to speak, it will work correctly after that.  I think you just need to restore the gmail contacts, and they will then sync to the phone.  It may have tried to sync gmail to the phone before instead of the other way around previously.
Sorry I can't give the exact settings or procedure to use, but I hope it will help.

I managed to make the android sync by going to the contacts, exporting to internal memory and then importing back... then it started to push contacts to cloud... the iphone picked it up by itself...

authors: กะโต่ย กะโต่ยยย


text:
Screen Mirroring with Chromecast
I have two devices - a Samsung Galaxy S3 and a Nexus 7 (2012 version) - that I'm trying to mirror to a Chromecast. It looks like neither device supports screen mirroring on Chromecast with the default app. I also installed EZCast on the Nexus 7 but the EZMirror is not enabled on it.
Is there any way, (third party apps, rooting?) wherein I can cast my screen from any of the above two devices to Chromecast?

The original Nexus 7 does support screen mirroring to Chromecast. This feature was added in Android 4.4, so if you're still using an old Android version on your Nexus 7, you'll need to do a system update. From the Settings app, go to Display then Cast screen. Don't bother with the Chromecast app at all.
The option's in a different place on the S3, and it's designed primarily for Samsung's competitor to the Chromecast, but I expect it would work with both. From the Settings app, at the bottom of the Connections page, click Screen Mirroring. The phone will start looking for devices it can cast to.

It doesn't work as you suggested. they cant identify Chomecast

You should probably ask a new question about your specific problem so that people will see it and be able to answer. Make sure to give full details of the problem.


text:
Editing contacts on Galaxy S5
How do I edit a contact on my Galaxy S5? When I click on the pencil icon for an individual contact it has everything grayed out, so I can't enter anything.

This can happen when the contact isn't one you originally typed into your phone, but it instead was synced using an app, such as from an Exchange address list. In this case, you need to either create a copy of the contact on your phone, and edit the copy, or go to the source that the contact was synced from and edit it there.


text:
Fastboot doesn't recognize moto g 4g on linux
I have a Moto G 4g. ADB recognizes the cell and I can restart it in fastboot mode, but when I check in the terminal with:
fastboot devices

Nothing appears, and if I go on with
fastboot oem get_unlock_data

It gets stuck at
< waiting for device >

I tried as a user and as root on an Archlinux machine with android-udev rules as shown in the Archlinux wiki.

What is the status of Bootloader? Locked or unlocked?

It's locked, according to the ap fastboot flash mode

It must be unlocked for continuing. Visit XDA developers forums for more info.

How did you manage to resolve the waiting for device issue?

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Is my phone destroying my sd card?
Recently, whenever I install an application on my phone, I get a notification: "blank SD card detected", then I will have to repair it using a computer.
I tried using another SD card but the problem persisted. I didn't have this problem before I rooted my phone. Instead, all media files will be deleted.
I tried formatting both the phone and the SD card (using Ubuntu), but the problem persisted. I installed an antivirus but it is useless.
Note: I have installed Link2SD to gain more space and I think it might be the problem: The ext2 partition works fine but the fat32 will always crash. I get:

SD card blank or has unsupported file system.

I can format the SD card so it works but whenever I install anything the error will come back. What is the solution?

Looks like the problem lies in the custom ROM. Can you flash another ROM in to it? (or try resetting the existing ROM again.)

It seems like a very common problem among Android-based smartphones.
I had a Samsung S3 (or GT-i9300 if you prefer) and it burned six microsd cards...
I tried doing a factory reset (since I had a custom rom) but nothing changed. Thought it was the microsd manufacturer, so I began buying expensive and faster cards but, again, nothing changed. Then I returned the phone to Samsung but they told me nothing was wrong.
After nine months of memory cards being broken at a speed unknown by human race, I decided to sell the S3 and move to another company (Google and their various Nexus products): I don't have the chance to expand the memory with an external card, but at least I don't have to spend hundreds of dollars to buy new sds xD
BTW the only reason I can think of is that moving an app to the sd requires the phone to continually read data from the card, causing an over-heating situation that damages it...

Seconded. Reading from a card leads to overheating. Not sure it's Samsung to blame, though.

I think the problem is in partitioning the sd card itself. Some phones/sd cards are not compatible with such change and hence your sd card will be destroyed as long as you keep partitioning it.


text:
Is it safe to update my Samsung Galaxy Neo to KitKat?
The Samsung Galaxy Neo is officially receiving a KitKat update, which is supposed to bring fixes and performance improvements. Will I experience any problems if I update to the latest version, like lag, shutdown problems or battery issues?

These so called updates are meant to fix bugs, errors etc and improve performance of the devices. So if you update the phone you will experience better performance. There is nothing to worry. Also updates includes a lot of security fixes which keeps you away from online attacks.


text:
Can I disable the gallery preview icon in the Galaxy S4's camera app?
The camera on my Galaxy S4 has a box in the top left corner of the screen which shows photos from the Gallery. How do I turn that off? I only want to be looking at the camera screen.

No you can not do that with the stock camera application. Try some third-party applications from Play Store Photography Apps. May be you can find some luck there.
Edit -
Well I found this one for you. Have any luck? Camera Android


text:
Zagg Folio Tab 4 no longer connects to my Galaxy Tab 3
I own a Galaxy Tab 3 10.1, and I just updated it to Android 4.4.2. I have a Zagg Folio Tab 4 10.1, and up until the update, it worked perfectly fine. Now, it connects to my tablet, but input does not work. I've cleared my cache and the Bluetooth cache, but neither have worked. Also, I have tried unpairing and re-pairing it. I also paired it to my Galaxy S4, which worked fine. I then re-paired it to my Tab 3, but that did not work either. What can I do to fix it?


text:
Help On Changing Settings
I updated my voicemail and with out thinking I allowed  apps that are not from google play to access my phones features causing some things to disappear, on my phone How do i change my settings back to where only things from the play store and so on can be installed?

Hard to answer without details. No offense meant, but that's like asking "I broke something, how can I fix this?" We cannot tell which settings you changed, what disappeared, what apps you are referring to and what they might have done. From what you wrote, the only advice would be: factory-reset your device (which will also delete all your data and the apps you've installed), and do not install those apps again.

The primary technique to reject applications other than from Play Store to install is in the Settings for Security. Make sure the setting "Unknown Sources" is unchecked. This setting normally allows 3rd party installation to occur.

Thank you this is exactly what i was looking for. I appreciate it.

This may vary by OS version or modifications your manufacturer may have made, but the setting you're looking for is:
Settings | Security | Unknown sources

You'll want that to be unchecked to prevent apps from being installed from unofficial sources (read: the Google Play Store).
(If that's not what you're looking for, please edit your question to make it more clear what you're asking.)

Ha! Beat me in here by seconds!


text:
Google Talk alert sound
Is it possible to change the alert sound when a new message arrives for Google Talk? My colleague and I both have Galaxy Nexus' running Jelly Bean and when either of us get a Google Talk message its very confusing! :)
I can't see a setting for it in Google Talk and it doesn't seem to use the "Default notification" sound that is set under Settings -> Sound -> System.
Thanks!

In the Google Talk app when I go into Overflow menu | settings | {username}@gmail.com I see a setting for "Notification ringtone" under "Chat Notifications". That's what you want, no?
(I'm still on Ice Cream Sandwich so it's conceivable that things are a little different.)


text:
What encoding is text messaging in?
The reason for the question is that I have a friend with an iPhone who sends emoticons, and I receive them as a single rectangular box.  I wonder if it's an encoding problem.

iPhone emoticons are not character combinations like :-) but they are single UTF-16 character of emoticons called Emoji which are not by default supported in Android.
By using some third party sms apps such as GO SMS PRO and installing its Emoji Plugin you would be able to send and receive such iPhone emoticons to/from your friend.

SMS, generally, uses the 7-bit GSM encoding standard, however a quick cursory glance with google-fu yielded this answer posted on StackOverflow which seems to say that Apple uses UTF-16 (Unicode encoding).
This would explain why you got a rectangular box as the handset is not able to decipher the encoding.
You can find out more here as per the standards document


text:
What Happens when I change processor frequency of my android phone
I have Xolo x900 phone. I have settings to set the processor frequency.
It is defaulted to 600mhz, yet my phone has a maximum of 1.6Ghz.
Can I change to 1.6 GHz? What would be the side effects of increasing the frequency?
Will it overheat, drain my battery?
Also, would like to know what would be the advantages on increased frequency.

Setting frequency to high end may cause problems like.
1.Heating up phone.
2.burn battery.
3.Even you may damage your phone completely.
Over-clocking frequency will speed up your phone's performance.

A faster clock frequency will let your phone go faster, but it comes with some costs.
The power use of the CPU is (roughly) proportional to the square of the clock frequency, so increasing from 600 MHz to 1600 MHz will use 2.5 times as much power. On top of that, that power gets turned into heat, so it'll be producing heat 2.5 times as quickly as well. Your phone will automatically slow the processor down if it gets too hot, so it may be that turning up the max clock speed actually makes the CPU slower overall - because it has to keep "throttling back" to avoid overheating.
Changing the CPU frequency doesn't make anything else faster but the CPU. That is, if you're trying to play a graphics-intensive game, it might not get faster because it's limited by the GPU speed; or if you're doing things on the web, your internet connection won't get any faster.
In this particular case, you're asking about changing the frequency within the design limits. This ought to be safe, but some mods and custom ROMs let you genuinely over-clock the processor faster than it was designed to go, or to change how and when the power management reduces the clock frequency. Using techniques like this can cause serious overheating, enough to permanently damage the phone's hardware. Be very cautious if you should decide to experiment.

And should you decide to test your luck, do NOT try and jump it straight up to 1.6 right off the bat, as that large of a jump is enough to potentially fry the phone.  jump it up a little at a time, let it run for a day or two, to make sure you don't have any side effects (phone rebooting, heating up too much, etc) before pushing up the speed again.


text:
Android connected to Car system
How can connect my android app to car system for example to get "Level fuel" information or any others info!

Can you please tell us more about your car? Does it support digital interfacing? Have you seen similar integration of car with another platform like iOS?

Do you mean something like OBD2 apps, e.g., Torque?

All modern cars have CPU which measures and controls few parameters of its engine.  These CPU(s) will have an interface socket (looks like SCART connector) with which issues are diagnosed at service center.  There is a special hardware which goes into this socket and can transmit engine parameters through Bluetooth.  Google Play Store has an app called Torque which when installed in an Android phone, can receive such parameters and displays on the screen.
I am not too sure whether the OBD device can detect fuel level, but it does sense a lot of other engine related parameters like HP torque etc.

Its possible that the car gives fuel info over HTTP GET, then Tasker might be useful. It's just one example.

According to a review on the app in Play Store, fuel info is displayed.

I make other search about OBD implemntation in Java , and I find an open source project OBD-II Manager ,[link]http://obd.codeplex.com/......but I stil to test it with app android .

You would like to try Fuelio which advertise to give fuel and other info that cost money. I haven't tested it, however.


text:
What to do when the Dalvik cache is full but the operating system does not recognize it?
I have a strange scenario - my dalvik cache is full of dex files - around 150MB of space, but it appears that the operating system does not recognize these files as related to any application.
I installed an App Cleaner and it says my cache is empty.
I went over some applications I use and saw that according to the OS they have no cache, but when I ls the /sd-ext/dalvik-cache directory I see these applications have dex files.
Can I simply run rm /sd-ext/dalivk-cache/* to solve this? Is there any risk?
Tech details:
ROM: MIUI
SD Extension: A2SD+
Rooted: YES

Don't confuse the App-Cache with the Dalvik Cache: App Cleaner refers to the App-Cache (e.g. cached files from the internet, aka "webcache", or from other components of the app), while the Dalvik Cache's .dex files are placed on app installation (they are an optimized version of the app code). So basically you compare apples with oranges.
As for your problem: e.g. Titanium Backup offers to cleanup the Dalvik Cache. There might be other apps available providing this feature (e.g. SystemCleanup), but in all cases this requires root -- unless you want to do a factory reset, which completely cleans the Dalvik Cache, amongst others.

Thanks for the clarification - I tried using Titanium Backup and it also said my dalvik cache is empty - is there any risk in deleting everything there manually?

If you have CWM Recovery installed you can clear the Dalvik cache from there. That said, there shouldn't be an issue removing them manually, but you'll likely need to be root.

Dalvik Cache empty? That's strange for a running system. And no: You can safely purge/wipe it (e.g. from ClockworkMod Recovery). Only consequence is the next boot taking longer, as it automatically re-creates all the required .dex files. This also happens after a factory reset (for the pre-installed apps), by the way.

Thank you all for the clarifications - I now understand the difference between dalvik and application cache and even better - now I understand my problem was not with the size of the cache but with how much data my applications keep (the whole reason for this question was due to lack of space on my phone's internal memory)

I thought so :) For all of those cases (app cache, app temp data and Dalvik cache), the SystemCleanup app seems to be helpful. Did not use it myself, but description and rating look promising. So hopefully you solved your problem -- and I'm glad I was able to enlighten and help you :)

root phone
delete all files in folder dalvik-cache
reboot phone to  regenerate cache
this deletes useles cache


text:
I need an app that transfers SMS to SD and can be moved to SD card itself
I just transferred phones from a Motorola Droid 2 to the Galaxy S III.  I usually use Handcent, but forgot to back up my SMS before the new phone was activated.  Now I have all my old SMS logs on the Droid, which can't back up because I have no data stream.
I've found multiple apps that can save SMS to the SD card and downloaded them to the S3, however I can't move any of those apps to the SD card to transfer the SD card to the Droid and install the SMS to SD backup app there.
I've tried using this Guide but even then, the apps won't move to the SD card. I don't want to root my new phone just to get an app transferred off it.
Can anyone give me suggestions for an app that meets that criteria or another solution?

PS: Moving to the SD card only works on the phone you did the move on (you cannot swap the SD card and hope that the app shows up on the other phone: It's for security reasons tied to the phone you installed it and did the move). And normally, this type of questions are considered a bad fit here as per the FAQ, however this one has a definite and final answer: LifeSaver2 (it's completely FOSS and thus won't go away). See my answer below.

Took me a while to figure out the "app on sd" part. For other readers: No longer having a data connection, one cannot install apps from the playstore. And if I'm not mistaken, the Droid² being CDMA, one cannot even temporarily switch the SIM card...

You're a life saver - literally.  Thank you SO MUCH!

You want the old version of LifeSaver2 available from the free & open source Android app repostitory http://f-droid.org
It's available here or via the FDroid market app itself.
To be able to install it you need to enable unknown sources.
If you have no data connection on your old phone: Put the LifeSaver2_1.0.apk on the SD card using your S3 or transfer it via Bluetooth and then side-load it.

You could also just move everything through your Gmail account, using SMS Backup +.
(I recommend using wifi, as it can take a while on a mobile data connection, if you have a lot of content.)


text:
How disk space is used on Android device?
I have critical low storage level and can't understand what takes much of it and how that's possible that the installed applications can use 7 GB? I only use a few social media clients without any games or soft like Photoshop. Also on the second screenshot it indicates that the apps are using just 1.13 GB and so I can't understand the situation. Also what is the "Other"?

As far as I understood the apps take so much space because of cache files, additional data, backups, photos, videos and etc. Size that shown in App Cleaner is just about the size of .apk files without any other related data and files to those apps. It is all cleanable but could cause the loss of the information and unpredicted behavior of an app.

Originally question was made because I was looking for methods to free
  up some space on my device so here is another way that I found:

After clearing Download Manager's data my disk space on the phone got relief of 3.3GB.
And the interesting thing is that the apps and phone behavior is not affected after this, so much space were used in vain.

Android's filesystem hierarchy is a bit complex and people often find it difficult to grasp. A major reason for confusion is that Android isn't very expressive in explaining these things and it's not very clear which files Android put in which category. Another reason is that mostly devices are not rooted and users don't have access to filesystems to verify the things themselves. We can try to understand it from root.
VIDEOS, PICTURES, AUDIO AND "OTHER":
Android uses file extensions to decide if a file in Public Shared / External Storage (i.e. /sdcard excluding the private directories of apps) is video, picture or audio. This header file defines a mapping between file extensions and categories. Further details can be found in this answer.
Simply put, we can use file extensions to categorize files and calculate their size:
~$ find -H /sdcard/ -type f ! -path '/sdcard/Android*' | grep -iE '\.3g2$|\.3gp$|\.3gpp$|\.3gpp2$|\.asf$|\.asx$|\.avi$|\.dif$|\.dl$|\.dv$|\.fli$|\.lsf$|\.lsx$|\.m4v$|\.mkv$|\.mng$|\.mov$|\.movie$|\.mp4$|\.mpe$|\.mpeg$|\.mpg$|\.mxu$|\.qt$|\.ts$|\.vob$|\.webm$|\.wm$|\.wmv$|\.wmx$|\.wrf$|\.wvx$' | xargs -I {} du -b '{}' | sort -n | awk '{sum += $1} {print} END {print sum}'
...
75696063        /sdcard/DCIM/Camera/VID_20190726_190531.mp4
97849262        /sdcard/DCIM/Camera/VID_20190721_142818.mp4
331238039       /sdcard/TIMELAPSE OF THE FUTURE_ A Journey to the End of Time (4K).mp4
1554180683

So I have 1.55 GB of videos on my /sdcard.
~$ find -H /sdcard/ -type f ! -path '/sdcard/Android*' | grep -iE '\.art$|\.arw$|\.bmp$|\.cr2$|\.dng$|\.gif$|\.jng$|\.jpe$|\.jpeg$|\.jpg$|\.nef$|\.nrw$|\.orf$|\.pbm$|\.pcx$|\.pef$|\.pgm$|\.png$|\.pnm$|\.ppm$|\.psd$|\.ras$|\.rgb$|\.rw2$|\.srw$|\.svg$|\.svgz$|\.tif$|\.tiff$|\.wbmp$|\.webp$|\.xbm$|\.xpm$|\.xwd$' | xargs -I {} du -b '{}' | sort -n | awk '{sum += $1} {print} END {print sum}'
...
31944   /sdcard/.recycle/1565980569828.3/2080952923/Screenshot_20190816-155104_Firefox.png
34099   /sdcard/OLD_sdcard/Download/iptables_overview.jpg
6839118 /sdcard/DCIM/Camera/PANO_20190421_132245.jpg
7726000 /sdcard/DCIM/Camera/IMG_20181123_144811.jpg
669063808

And 669 MB of pictures. Combined with videos it becomes 2.22 GB.
~$ find -H /sdcard/ -type f ! -path '/sdcard/Android*' | grep -iE '\.aac$|\.aif$|\.aifc$|\.aiff$|\.amr$|\.awb$|\.flac$|\.gsm$|\.m3u$|\.m4a$|\.mka$|\.mp2$|\.mp3$|\.mpega$|\.mpga$|\.oga$|\.ogg$|\.pls$|\.ra$|\.ram$|\.rm$|\.sd2$|\.snd$|\.wav$|\.wax$|\.wma$' | xargs -I {} du -b '{}' | sort -n | awk '{sum += $1} {print} END {print sum}'
...
196556  /sdcard/OLD_sdcard/Alarms/Freedom.ogg
451614  /sdcard/OLD_sdcard/CallRecordings/0507189091_190225_191938461.amr
5652322 /sdcard/.recycle/1564398739475.3/710629278/L'Orfeo(preview).mp3
186868393

And 187 MB of audios. Now total space taken by files:
~$ du -bs --exclude=/sdcard/Android /sdcard/
5330784600      /sdcard/

It's 5.3 GB. Subtracting video, pictures and audio, it's 2.89 GB which is the size of "Other"; shown as "Files" on my device:

Non-root part is over here. Next to explore the /data partition you need root access. First to make it clear, throughout the whole life of a device, a common user interacts only with one partition labeled userdata. But it's not very uncommon to have 50+ partitions on Android devices (details can be seen in this thread). So here we are talking about the space usage on userdata partition which is mounted at /data. One of its sub-directory /data/media/0 is the one we see in file explorers or at /sdcard or at /storage/emulated/0. See What is /storage/emulated/0? for details.
TOTAL SPACE USAGE:
Now have a look at space usage reported by Android. It says 16.73 GB out of 32 GB are used. Let's analyze.
~# cat /sys/block/mmcblk0/size
61071360
~# df -B1 --output=size /data
  1B-blocks
25762942976

Note: Don't confuse the units. 61071360 sectors equal 31268536320 bytes, which equal 31.27 Gigabytes (GB) or 29.12 Gibibyte (GiB).
Total available size of eMMC is 31.27 GB (ignoring e.g. RPMB and provisioned space etc.) and size of /data filesystem is 25.76 GB (See! I thought it would be 32.00 GiB). It means that 5.5 GB space was occupied when the device was shipped from the factory. It's mainly taken by the system, vendor and cache partitions, and a small part by other partitions. Partition table takes a few KBs but there are possibly a few MBs left free in between partitions, some space is wasted due to encryption, and so on. Following screenshot shows the complete partition table:

(Click image for enlarged view)
Now coming to the used space:
~# df -B1 --output=used /data
       Used
10407436288
~# du -b -d1 /data | sort -n
...
30932548        /data/system
89343105        /data/user_de
252376438       /data/dalvik-cache
1537995332      /data/app
1817762284      /data/data
5460784600      /data/media
9250761612      /data

Space usage reported by filesystem is 10.4 GB, while the apparent size of files is 9.25 GB. This difference of 1.15 GB could be variable and is used by the filesystem. Details can be found in this answer. May be a part of it is being used by f2fs log structure on my device.
So total used space on device is 15.9 GB (5.5 and 10.4) out of 31.27 GB. Note the difference with the values in screenshot. The difference in total size could be because of rounding-off the sum of /data and /system to the nearest power of 2.
APPS SPACE USAGE:
5.3 GB out of 9.25 GB is used by the public files in /sdcard as explained in the start. Rest of the 3.95 GB space is mainly taken by three categories of files. Keeping things simple, following are the major directories which sum up to total app size (1, 2, 3, 4):
App size    /data/app/<pkg>*
            /data/dalvik-cache/<arch>/<pkg's_dex_odex_vdex_art_oat>
            /storage/emulated/<user_id>/Android/obb/<pkg>
            /data/misc/profiles/ref/<pkg>
Cache       /data/user/<user_id>/<pkg>/*cache
            /data/user_de/<user_id>/<pkg>/*cache
            /storage/emulated/<user_id>/Android/data/<pkg>/*cache
User data   /data/user/<user_id>/<pkg>
            /data/user_de/<user_id>/<pkg>
            /storage/emulated/<user_id>/Android/data/<pkg>
            /storage/emulated/<user_id>/Android/media/<pkg>
            /data/misc/profiles/cur/<user_id>/<pkg>

User data size should exclude Cache size.
For user apps compiled binary files are stored in installation directory (/data/app/<pkg>/oat/<arch>) since Lollipop. But for system apps those are saved to /data/dalvik-cache which is counted for apps size. Actual .apk files of system apps are not counted, except if an app is updated. .odex files for Android's framework apps (.apk/.jar) however might be already stored in /system/framework/ having only symlinks in /data/dalvik-cache/. Things have changed with A/B implementation.
For more details see Where Android apps store data?

Taking sum of all these directories:
~# du -sb /data/app /data/misc/profiles/ /data/dalvik-cache/ /storage/emulated/*/Android/ /data/user/*/ /data/user_de/ |  sort -n | awk '{sum += $1} {printf "%-15s%s\n",$1,$2} END {print sum}'
94152          /storage/emulated/11/Android/
611998         /data/misc/profiles/cur/10/
837897         /storage/emulated/10/Android/
1013850        /data/misc/profiles/cur/0/
1109311        /storage/emulated/0/Android/
1602419        /data/misc/profiles/ref/
3294944        /data/user_de/10/
10283019       /data/user/10/
86048161       /data/user_de/0/
252376438      /data/dalvik-cache/
1537995332     /data/app
1817762284     /data/user/0/
3713029805

It's 3.7 GB, leaving only 250 MB behind, some of which is taken by the /sdcard of other two user profiles (/data/media/<user_id>). The rest is used by system logs and configuration files, particularly in /data/system* and /data/misc* directories.
This system usage is shown as "System" which excludes shared storage size (5, 6). Some figures differ from Android but after all we know how the space is actually used, and where it's being wasted.

RELATED:

Android's Storage Journey

Great answer. Upvoted. Do you know why Android devices may have 50+ partitions?  Shall I post a question to ask just this?

@RockPaperLz-MaskitorCasket because Android is designed this way. Every partition has a purpose. Many of them have a backup partition too, which increases the number. This was one of my initial attempts to understand this.

The right screenshot seems to originate form an app named "Cleaner". Apps on Android can not access app-private data (files in the path /app/data/<apppackagename>/) of other apps, therefore an app can never estimate the data size correctly.
I assume "App uninstall" shown in Cleaner is the pure size of all app APK files (those are visible to all apps). Therefore most of the files crate by apps are invisible to Cleaner.
It can only see the files on the sdcard section.

The fact that you don't use games has no bearing on the amount of storage space other apps use. You mentioned that you use social media apps. Then you should know that many (if not most) of them keep caches of files (mainly pictures, videos) you viewed to present them quickly in case you visit the same pages again. With time, the storage space they occupy grow more than many other apps. Other apps that can also use a lot of space are browsers.
You should check the amount of storage used by individual apps to have better understanding of which among them use a lot of space.

What is the "Other"?

It can be documents and any other files that does not fall under pictures, videos, apps, not found on the system partition. On my phone, Other is defined as:

files downloaded from the internet or Bluetooth, Android files, and so on.

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
What is the location of attachments that I download from the Gmail app?
I can't find where the files are saved after I download them from an email message.
I'd be glad if you could direct me to the location.

That should be /sdcard/Downloads, replace /sdcard with wherever your "data storage" is. You can also access them using the App "Downloads".

Also you need program like ES File explorer to browse /sdcard/Downloads.


text:
How to detect who is downloading apk files in background?
At some point in time my Android phone start downloading some .apk files in background. I assume this is doing some of the free apps what I've installed on my new phone from Google Play (I've installed 30-40 new apps recently). This is very annoying, but I can't get rid of it. I've tried to scan for viruses by antivirus app, but it found nothing.
How can I detect exactly which app is periodically downloading apk files in background?
Update:
In notification bar I can see only usual notification about that .apk file was downloaded successfully. If I click that notification, it opens usual "Downloads" app with list of downloaded files. Here I can see files that I've downloaded by myself and files that was downloaded by some app in background. So, files are downloaded by native browser, I think.
My phone: Sony xPeria Sola, Android OS 2.3.7

I've updated my question

Why is this tagged as [airpush]?

I assume that some app is sending some advertising via Push to my device. Maybe this .apk downloads are some kind of advertising?

Its more than likely Google play has the apps set to auto-update so its doing that...

If it shows up in the download manager, could you add the full file name(s) to your answer? That could be an important clue.

When that happens, try to see the running apps and services in the background. You will most probably things like messaging apps and other running apps, the app that has downloaded that apk file is most probably still running as a service.
It might in fact be the browser (see if that's running). If not, my understanding is that any app can trigger a download in the "Downloads" app, so it might not be related.
You can get a task killer/manager to inspect and kill apps which you suspect are the source of this, but the one that is in the Settings>Applications>Running (or similar) should be enough.
tl;dr Trial and error. Kill the apps you suspect and see if it continues.

@RichardBorcsik It won't stop the download, but it will prevent it from starting...

@RichardBorcsik It is very unlikely all his apps are running, and some task manager apps can prevent the apps from restarting (in case they do, not all apps will restart), so killing let's say 5 suspicious apps one or two at a time shouldn't be that much of a problem. Just by seeing which ones are running (and not expected to be) you would have eliminated half of the possibilities.

@jadkik94, I'm sorry, but I'm looking for some more generic and reliable solution. Maybe some kind of app that can analyze "suspected" apps? Maybe some system log analyzer? Or maybe there is a way to know which app has downloaded exact file?

@Hit You might be able to get something from the logcat , something like "starting intent download.app.whatever.it.is.called", but I'm not sure it will give you the name of the app that started it... But an app that will do that for you (if that's even feasible), it's pretty unlikely you'll ever find one. IMO your best bet might be manually trying to kill each one and see...

I'm still don't know how to answer my question for Android OS 2.x, but for Android OS 4.x there is a nice feature - you can long press any notification in status bar and choose App info popup menu, which will opens "App info" screen of application, what was created this notification. Very nice feature, but I didn't find analogue on OS 2.x

I don't know if it would help anyway because the app that technically started the notification is the "Downloads" app most probably... What you need to know is the app that started that one, which you might be able to find in the logcat.

I rooted my phone and loaded busybox with terminal and just on a whim, iftop was there.
either iftop or tcpdump will tell you everything.
tcpdump -i  -w myDumpFile.pcap
let it run and when you think it happened, stop tcpdump and bring the .pcap into wireshark.
It will tell all.


text:
Got text message with 'download' button, how would I look at the link source or gain further info to see if this is safe? 2.3.6metropcs
In the 'messaging' app that comes standard with metropcs, I received a text message that had 'no subject' and was just a download button. I know the person, so there is no need to mention not to trust unknown downloads, but you never know when the forwarder is unwittingly passing on spam. I am mainly curious how you would safely inspect the link source or content. android 2.3.6 metropcs

You're right, it might have consequences to follow unknown links. However there haven't been browser exploits in the wild for Android that I know of. If you're concerned, use Opera Mini to access it via your phone, search Google for the main site or just ask your friend what he just sent you.

I wouldn't trust an unsolicited link even if it's coming from a trusted person. All too often, these messages comes from malware infected devices, it's not worth your time to investigate. To be sure, ask the sender what that link was about. Even if it's a valid link, if it's not worth their time to describe what it is that are sending, then it's not worth your time to investigate any further.


text:
How do I script my phone?
What I mostly want to do, is quickly alter settings, add alarms etc.
It is perhaps called something else?
This is from a Windows PC.
Language is not important, but I know Python and UNIX scripting.
How would this usually be done?

You said, "script my phone", are you talking about running scripts from your phone or on your Windows PC to interact with your phone?

The idea is to write them on my PC, to run them on my phone.

As you write you know Unix scripting, you might want to take a look at apps like SH Script Runner, Script Manager, Script Kitty, and similar. They all allow you to run shell scripts on your Android device.
Also, you could utilize Tasker: create a task to run a script, and then create a shortcut to that task on your homescreen. So you have easy access to your scripts directly from there.

They seem to be for running scripts, not writing them.

That's right. You wrote, I quote: The idea is to write them on my PC, to run them on my phone.

The scripts I am thinking of needs to interact with the phone, executing scripts should be  quite trivial? Except perhaps getting root privileges?

You could say so. Basic script execution should be easy. But it will get a little tricky when it comes to stuff like alter settings, add alarms. For this you need to know the corresponding APIs (if there are any accessible from the command line), or you will need appropriate "plugins" which make such APIs available. So you will most likely be unable to test them on your PC (unless using them in an emulator).

Maybe your approach ("scripting") is not the best for your goal ("quickly alter settings, etc"). As described above, automation tools like Tasker (and add some plugins to it, like e.g. Secure Settings) would be more suitable. Here you can have your settings automatically adjusted at given conditions (such as turning WiFi on when reaching the office/coming home, silence the phone when in night-dock...). Plus you can create shortcuts to execute tasks manually from your homescreen.

One thing I haven't seen mentioned yet is SL4A, the Scripting Layer for Android. This allows you run various types of scripts on your phone, Python scripts being one of them. Since SL4A isn't directly in the Play store, you may want something like QPython instead (which incorporates SL4A). Tasker, also mentioned by Izzy, has the ability to launch SL4A scripts.

SL4A isn't in the Play Store as the developers are concerned over the amount of permissions it requires, where QPython are not. Installing SL4A is trivial though.

Alright, well you said you are running Windows, which supports Microsoft's "batch" scripting. This is not available on your Android device because the Android operating system runs in a Linux environment. So you will need to learn "shell" scripting.
First, you need to check to see if you can run shell scripts from your phone.
use the ADB(Android Debug Shell) to open the console to your phone.
The program, "sh" should be available to you. Simple test(list files):
sh -c "ls"

Have you ever used the Android Terminal application before?
Take a look: https://play.google.com/store/apps/details?id=jackpal.androidterm
Have you ever written shell scripts before?
Take a look: http://tldp.org/LDP/abs/html/
Once you have written your scripts, you need to run them using "sh". Some applications can run scripts for you or you can do it manually using ADB.
Take a look: https://play.google.com/store/apps/details?id=os.tools.scriptmanager
I hope this is helpful, let me know if you need anymore help.

I guess writing and executing scripts is not difficult.  Say I want to turn on my GPS i would have to figure out the call, check the syntax, transfer it to my phone, run/debug it...

Yeah, but most of the time you would probably want to just use adb to do that. Whats the main reason?

My main reason is to change setting like GPS.

@Olav - What you're looking for was answered by Izzy. Apps like Tasker and On{x} put a GUI over xml to accomplish actions, like turning GPS on and off under specific conditions.

SL4A has an Android API wrapper that makes it easy to do stuff like toggle GPS.

you can install Qpython to code python apps and make what you want: https://play.google.com/store/apps/details?id=com.hipipal.qpyplus
or you can try to tweak with tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm


text:
How can I programmatically backup Android phone's settings?
I was wondering if I could programmatically backup my Android phone's settings. The "PHONE"'s settings and not application settings.

TitaniumBackup allows scheduled jobs that can e.g. save to the cloud, see http://matrixrewriter.com/android/

Just to clarify: what do you mean by the 'Phone' settings. You can back up SMS etc with MyBackup (as mentioned below), you can use Tasker Scripts for others, you can back up third party launcher internally in the launcher. Google will backup your contacts, app data and WiFi passwords. What else are you looking to backup? If you are rooted I recommend paying for Titanium Backup. It is an absolute life saver!

If your phone is an LG, it's easy to do that with LG backup. To backup your phone's settings, go to Settings - LG Backup [in list mode] - Backup. Unselect everything except settings, and click backup.
If not, try Titanium Backup.

BTW you can do this automaticly, but you cant choosewhat to backup

Welcome to Android Enthusiasts Stack Exchange. It seems some of your answers lack detail and might get downvoted or even deleted. Consider [edit]ing and explaining the step on how to do it automatically, including on your other answers. Thanks.

The easiest way availaboe to you is using a third party app. I found My Backup Pro (there is a free version as well) which seemed promising.
You can also search he market for settings backup.
I use an system app provided by the manufacturer which is called backup and restore. I'll give them if the mentioned solution does not work for you. The reason im asking you to go with the first app is that the manufacturer's system app is highly unlikely to work properly ina device other than the one is originally made for.

If you know the location of the settings database, you can use LlamaLab's Automate to copy app data within the application itself, even in the root directory.

I believe this needs root access since app data is located on the internal storage.

Can you tell how to do that exactly? Automate is a multi-feature app and not straightforward to use.


text:
I can't send a picture attachment within a text message - using NET10 (Motorola ATRIX 2)
I can't send a picture attachment within a text message - using NET10 (Motorola ATRIX 2) - have only had the service for a month and this is the first time I've tried sending a picture

Why can't you? What have you tried? What were you missing / were did you get stuck? Is an APN for MMS set up on your device? SMS themselves cannot handle pictures -- they are text-only and limited to 160 chars.

For some reason Net10 is famous for this issue - happened to me too. I ended up using a free third party messaging app (Handcent works for me) and I can send and receive picture messages now with no problems. Download one of these messaging apps, and you will not really tell that it is not the messaging app that came with the phone originally; they work and integrate that well.

I also recommend a third party app, but I'd recommend hello bc in addition to sending photos, it handles group text messages the best, another big issue with android text messaging in my opinion.


text:
Recovering from lengthy rom upgrade on HTC Desire S
I started installing Android 4.0.4 on HTC Desire S from the official website. It had an executable that I just launched and clicked through to start installation. It should have taken about ten minutes but now it is over half an hour later. There's no progress bar on the phone. I can only see "Sending.." (with number of dots growing repeatedly) on my laptop (under Windows 7). Is there a way to recover from this situation? Is my phone doomed to be bricked if I just disconnect usb?

I disconnected the usb and then some sort of debug screen showed up and gave me an option to reboot the phone. To my astonishment I still had Android 2.3.5 installed and working. It looks like installation of new ROM newer really took off.
The second attempt to upgrading rom succeceded.


text:
GPS Accuracy Data for Android phones
I'm try to gather data on the feasibility of my next Android project in which I would like to use GPS indoors.  Knowing that GPS wasn't built to be accurate indoors, I'm trying to decide if the project is worthwhile.
I have a rough estimate of my required accuracy (10 meters).  The location is the middle of a major city.
So I'm wondering if there is any data out there that relates to the GPS systems on Android phones that would help me with this research.
Thanks.
Edit:
Thanks for the answers so far folks.  Good reads.  I realized that there are a lot of factors affecting GPS data.  Even though I may be "shooting for the moon" with my accuracy requirements, I'm hoping that my unique situation might help achieve my goal indoors.
I intended to use GPS + wireless network data (Assisted GPS) and try to get the best accuracy possible.  My user will also be in the middle of a major city, which I would imagine would have many cell towers.  Whether or not I can achieve this with current/up-and-coming Android technology is really what I would like to determine, so my search for actual data representing valid tests of Android devices continues.
If you have any links to data of this sort, please do share.
Thanks again all!

I think it is better if you widen the scope of your technologies. GPS is not necessarily the best tool to satisfy your requirements. And of course, you need to explain your requirement a bit better. Do you really need absolute positioning? or is relative positioning sufficient? is it possible to assume the ability to scout the area for wifi AP/cell tower positions? Is the device intended to be used together with another hardware that have fixed positions?

10 m?  You'd be lucky to get that kind of accuracy outdoors.
I'm the developer of Car Dashboard, which is a car home replacement that includes GPS features like speedometer, etc. I have the default minimum GPS accuracy set to 200 m which seems to work pretty good for most users (I also have it adjustable in the settings in case they have issues).  On average, I'd say indoors near a window will get you about 50-100 m accuracy. Outside with nice conditions should get you below 50 m. Indoors without any visual sight to the sky is going to be a dead zone.  The signal is just simply not going to reach you and if it does, it is going to be highly inaccurate.
This is the resource I use to describe GPS accuracy in my application:

GPS accuracy is affected by a number
  of factors, including satellite
  positions, noise in the radio signal,
  atmospheric conditions, and natural
  barriers to the signal. Noise can
  create an error between 1 to 10 meters
  and results from static or
  interference from something near the
  receiver or something on the same
  frequency. Objects such a mountains or
  buildings between the satellite and
  the receiver can also produce error,
  sometimes up to 30 meters. The most
  accurate determination of position
  occurs when the satellite and receiver
  have a clear view of each other and no
  other objects interfere.

I found this from GPS Tracklog.  It's from 2005 but my guess is that the technology is roughly (if not exactly) the same.

They come through my roof (plywood and
  spanish tiles on top) just fine too,
  and they also make it through typical
  fiberglass boat construction. Most
  materials are not good absorbers of
  microwaves, but anything with a high
  water content (incl. people) or metal
  will block the signals. As a general
  rule, anything that will heat up
  readily in a microwave oven will also
  absorb the GPS signals although the
  frequencies are a little different
  (1.5 GHz for GPS and a little over 2
  GHz for ovens). So as long as the wood
  and shingles on your roof are dry
  they’ll pass the signals ok, but of
  course insulation with a metal foil
  layer would block them. The physical
  reason why things with water absorb
  the signals is that water molecules
  are highly polarized with the oxygen
  end having a negative charge and the
  end with the two hydrogens having a
  positive charge. When the GPS signals
  go through water the oscillating
  electrical field of the microwaves
  cause the water molecules to rotate
  back and forth and this absorbs energy
  from the signals.

Under limited circumstances, it is possible to use the accelerometer, compass, and gyroscope (and of course, Wifi, GPS, and cell tower) to increase the accuracy of GPS, by using dead reckoning/path integration.

Thanks for the link.  My user will be walking so I imagine it might be pretty tough (if at all possible) to implement something like this.

@user1827: Even if the user is walking, it is still possible. David Saachs of InvenSense gave a Google TechTalks on Sensor Fusion (http://www.youtube.com/watch?v=C7JQ7Rpwn2k) back in August, skip to 23:17 to the section about calculating position through acc/comp/gyro, he talks about how to get position, its limitation, the difficulties, and how to circumvent their limitations. In particular, if your user is mostly walking, you can use pedometer algorithm to filter out the drift from the double integration. The technology is said to be on Gingerbread, but I don't have a reliable source for it.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/2.5/


text:
Error while running debian on Arm6 based phone
I have cynogenmod7 on my optimus one phone. I followed this guide to run debian on it. When I give this command:
busybox mount -o loop,noatime $kit/debian.img $mnt

I get a no loop device, file doesn’t exist error. I tried setting up more loop devises like loop1, loop2 so on, even tried loop99 but still I got the same error. Is there any work-around this issue?

Make sure you follow the tutorial exactly unless you know what you're doing (well, unless you know what you're doing, you shouldn't be attempting to install foreign system, like Debian, over Android; the tutorial said it clearly: If you are following this tutorial only because you want to /flex on your friends and you don't know anything about linux, then you really _should_ stop reading this tutorial.).
Make sure that the shell variables $kit and $mnt are defined and have the appropriate values (if you follow the tutorial correctly, then $kit should have the value /system/sd and $mnt should have the value /data/local/mnt).


text:
Is it possible to disable roaming entirely, not just networking during roaming?
When trying to google the solution to this I mostly just find instructions on how to disable data connections during roaming.
To clarify why I'm asking, I have a contract with a small local phone company and they have a roaming contract with a large local provider. When roaming on the large providers network I get calls at the same rate, but no 3G network. My phone seems to quite frequently choose to go roaming even in areas where the home network gets full strength signal.
Is it possible to stop an android phone from connecting to roaming networks?

What happens if you go into Settings -> Wireless & networks -> Mobile networks -> System select and choose "Home only"?

Can you tell us your motivation in doing this?

"System select" is not an option under Settings -> Wireless & networks -> Mobile networks on my phone. The options are "Data enabled", "Data roaming", "Access point names", "Use only 2G networks" and "Network operators". Under "Network operators" there are options to choose a specific network, but the phone eventually goes roaming even if I've chosen the home network there.

Just go to flight mode or remove the SIM card when you are on roaming.

Note that some phones won't let you boot without a SIM card.

Another solution: Shut the phone off :P

@Bruce: yeah true. maybe just use  the flight mode

I expect an app like Tasker or Locale could do this.
There look to be some apps that can do this for you. A quick perusal of the AppBrain market found this:

HTC 911 Roaming Assistant


text:
Launcher disappeared, how do I restore it?
I mistakenly dragged an icon on the home screen (Nexus One) to the bottom area ("Main dock") that contains 3 main icons (phone, launcher, browser).
That icon replaced the launcher and now I can't access any of my other apps.
(My launcher is the ADWLauncher, that comes with CyganogenMod).
What do I do now?
How do I revert this back?
(I tried "Restore ADW settings" but unfortunately there was nothing in the backup location).
Is there a way to "restore it to factory settings"?

You should be able to go to Settings -> Applications -> Manage applications, find the launcher, and Clear Data for it.  Hopefully that will restore it to default.

Thanks! It worked. (I had to switch from the Downloaded to All first)

Great!  You can click the big checkmark to the left to mark this as the accepted answer if that's all you need.

This just happened to me too, and a simple Power off then Power on solved the problem.
(if one could avoid clearing data, this is even better)

You can create a launcher app shortcut on the desktop (long press on the desktop then shortcuts; or something like that, can't remember the exact menu), then drag the launcher to the middle button. I've also often had this as well, accidentally removing the launcher shortcut every time I want to delete the shortcut, it's part of the reason I no longer uses ADW.


text:
A more comprehensive list of Voice Actions keywords?
The formal Voice Actions web page lists a small number of Voice Actions keywords:

send text to
navigate to
call
map of
note to self
listen to
send email to
go to
{anything else} fires Google Search?

But when I use certain applications which use Android's built-in speech recognition, the recognizer won't respond to certain other keywords as well. Instead, it will wait until a second word will be spoken before acknowledging "end of speech" and returning with a result (often the wrong one, because it's always the 1st word plus the 2nd word).
The fact that the returned result always includes the 1st word tells me that Google's recognizer heard it, but decided to ignore it for some reason. So the only explanation I can think of for now is that these must be "reserved keywords".
For example, two common such keywords I found to be exhibiting this behavior are: open and exit .
Have you experienced this too?
If so, with which words?
Update: I just observed that some phones are more prone to this problem than others. What does this mean?


text:
Link2SD fails for application updates
I have rooted my Xperia M and installed Cyanogenmod 11 (Android 4.4.4). Since the internal memory of my device is limited, I am using Link2SD (3.5.2 free) to link apps on my SD card.
The problem I am facing is when linked apps are updated they just disappear from the installed apps list. Shortcuts on my app drawer say "App not installed". However, the data for the updated apps is still on the SD card (Link2SD -> Cleanup 2nd Partition -> Details).
I have enabled Auto Link on Link2SD, yet whenever Android tries to updates any linked app, it ends up deleting it. How can I fix it? If the problem is with Link2SD then what alternative apps are available?


text:
Move Apps from Internal to SD--Android 4.1.2, LGE Optimus F3
For those who don't know, the Optimus F3 has only, like, 2gb of internal space. And because Google's Nexus phones don't have SD card slots for some really weird reason, they decided to just pull the function from Android entirely for a few versions. This includes 4.1.2, the version on my phone.
I have gone through the trouble of rooting my phone and downloading numerous programs to help me hack into this hunk of junk, but I can't for the life of me figure out what to do.
And yes, I have tried App2SD's linking thing, and it doesn't work.
I am 99% sure that you can simply move apps from internal to external storage using the SDK and/or command line or something like that, but I have NO idea how and I've looked all over and found nothing that can really help much.
Could someone PLEASE be so kind as to help this poor guy out and actually be able to use that 8gb SD card I got just for this reason? I have struggled and finally gotten Eclipse working, but have NO idea what to do with it, or if I need it at all. Just please, I'm begging you, HELP!!
EDIT: Before you say "just do it from the Storage options", look at this:

Click for full resolution

If your problem is solved, please post an answer so the question shows up as answered. Adding "fixed" to the title is OK on a forum, but doesn't help on this site.


text:
Setting up an HTTPS proxy
I use proxifier to connect to an HTTPS proxy on the PC, what should I do in order to connect similarly on my Android smartphone?
My Android version is 4.3, Jelly Bean.

Use Drony. You change type in settings from default http to https. Be careful about HTTPS proxy certificate. If it's self signed there is option to trust all certs in settings. But then you can have mitm so it's not very secure.
There is nice blog about setting up whole configuration.
http://blog.habets.pp.se/2014/09/Secure-browser-to-proxy-communication---again
by Drony support

If you are connecting over Wi-Fi, and are concerned only about connections from Chrome and not from other applications, then you don't need any third-party software to redirect HTTP and HTTPS connections to a proxy.  Just go into the Wi-Fi settings, find your network, long-press on it, choose Modify Network, show advanced options, and set the proxy there.
Whether this gets used by non-Chrome applications depends on the application.  You could try it and see if your applications honour it.


text:
Setting ethernet proxy settings without WiFi
I'm playing around with the latest android-x86 (4.4) in virtualbox. The setup can connect to the external network only through a NAT ethernet device that is emulated by virtual box. This gets autoconfigured just fine and i can ping computers on my LAN.
If I export http_proxy=<host>:<port> in a terminal, I can wget web pages. However I am unable to set the proxy settings globally for all apps.
The proxy settings are displayed only after a wifi network is connected, and I lack any wifi devices in the virtual machine.
I have tried the following in the root terminal accesible from alt+f1:
setprop global_http_proxy_host <host>
setprop global_http_proxy_port <port>
setprop net.gprs.http-proxy http://<host>:<port>

But this fails to have any effect. Even new terminals lack the env variable for the proxy. These settings appear to be set when I check it by executing getprop
I found this link to the fragment that seems to display the proxys selector for the wifi.
Is there any way that I can manually set all the settings that are affected by this fragment?

If Android version is 6 or 7, here is the solution: https://android.stackexchange.com/a/186820

This solution worked for me.
Just enter the following command in a terminal (change PROXYIP:PROXYPORT )
iptables -t nat -A OUTPUT -o eth0 -p tcp --dport 80 -j DNAT --to PROXYIP:PROXYPORT

Source: https://groups.google.com/forum/#!topic/android-x86/XfIRyHQ5nmk
I had too tried all your commands without success. I was stuck behind a proxy trying to setup Android x86 with a VirtualBox VM which only had eth0. I was stuck at the activation screen not resolving the needed webpages to continue into the OS. After running the above command, I was able to reach the web and continue. Results may vary per proxy environment.
Edit: This didn't get me too far, but it got me somewhere. The same trick didn't work for 443.

Were you able to get it working for 443?
I can't get ssl connections proxied no matter what I do. Http works fine.

Check SandroProxy has options to foward to proxy to proxy

protoent* getprotobyname(char const*)(3) is not implemented on Android

@Saurabh3321 transparently proxying https requires SSL bump (MITM). You need to add proxy's CA to device/app.


text:
Starting an app when the screen is locked?
Is there any easy way to start an app when you press the button to lock your screen? I've seen custom lock screens before so I know it's possible even if I have to make my own app for it. I have an app that I want to pop up every time the screen is unlocked, but it doesn't do it on it's own. I've seen/used other apps that could do this so if necessary I would code my own app to do this, but I'd prefer an already existing, preferably free option.

There might be multiple solutions to this. One I can think of involves the use of Tasker, the most flexible automation tool for Android. You could create a profile that triggers on "Screen Unlock", and have it start an app.
However: though there's a free 7 day trial available on the projects homepage, after that the app costs about 5 Euro. There are many other automation apps available on the playstore which might be able to achieve the same. As a long-time Tasker user I no longer try the others, so I cannot tell for sure.
Condition: Event → Display → Display Unlocked
Task: App → Load App → (select your app here)

Thanks for that. I ended up getting AutomateIt because it's free and works just as good for my purposes. If you hadn't mentioned tasker I might never have found AutomateIt :D

Glad it helped! There are a lot of automation apps out there, hard to keep all their features and limitations in mind. Luckily there's almost always one fitting the purposes of the questioner :)


text:
Why is the com.android.browser process draining my battery?
I have a Samsung Galaxy Note with stock 4.0.4 ROM. The battery drains very fast and the phone is often warm. Reboot doesn't help. Settings says that com.android.browser (Internet) uses most of the battery. I never use default browser, I only use Chrome.
I suspect that some background process it creating a heavy load and using the internet connection. I think browser is used by other applications, but I'm not able to figure out which application is related. I suspect maybe ad supported applications are the root of the problem.
Is there any solution or app to figure out the origin of the problem?

Have you tried switching to the default browser instead of Chrome? Is there a newer version of Chrome for ICS?

As I wrote, I have no problem with Chrome. The main energy consumer is the default android browser.

I also saw this on an S4 mini with essentially no sync options enabled. It does seem to get stuck in something. Some posts advice clearing the cache and closing tabs. I'm not sure if that helps.

The root of the problem is Internet sync related. The system is not able to sync internet settings.
http://blog.abrah.am/2011/12/sync-is-currently-experiencing-problems.html

While I can't speculate as to the exact reason, you may find the app Better Battery Stats useful in working out where the battery drain is coming from.
The app is able to define kernel wakelocks, partial wakelocks and cpu states etc. Very useful in helping myself pinpointing problematic applications and extending battery life.
The app can be installed as a .apk provided for free by the developer over at xda-dev or supporting the author by purchasing the paid app from the Play store